Network link fault diagnosis method and device, computer equipment and storage medium

By combining configuration database and graph database, rapid location and intelligent diagnosis of network link failures are achieved, the problem of low efficiency and accuracy of fault analysis in the existing technology is solved, and the overall efficiency and level of network operation and maintenance are improved.

CN119652741APending Publication Date: 2025-03-18PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411756993.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The existing network link fault diagnosis technology has problems with low efficiency and accuracy of fault analysis, especially in complex network topology, it is difficult to quickly locate the root cause of faults.

Method used

When the network link failure of the target service is monitored through the network observation center, the configuration database is used to obtain the fault data, and the source equipment and network topology information are obtained in combination with the graph database, path identification is performed to obtain the shortest path information, and fault diagnosis is performed on the link information.

Benefits of technology

It improves the efficiency and accuracy of fault diagnosis, reduces business interruption time, helps network operation and maintenance personnel to quickly locate critical paths, facilitates rapid repair and improves the efficiency and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652741A_ABST
    Figure CN119652741A_ABST
Patent Text Reader

Abstract

The invention relates to the field of data processing, in particular to a network link fault diagnosis method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining fault data corresponding to a target service through a configuration database when a network observation center monitors that a network link of the target service has a fault; obtaining a source device corresponding to the source address from a graph database, and obtaining network topology information corresponding to the source address; querying target equipment corresponding to the target address through a graph database according to the source equipment and the network topology information; performing path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information comprises link information of at least one link in the shortest path; and performing fault diagnosis on all link information to obtain a fault diagnosis result of the network link. According to the invention, fault diagnosis is carried out based on the shortest path information of the source device and the target device, and rapid fault positioning can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a network link fault diagnosis method, device, computer equipment and storage medium applicable to a financial business system. Background Art

[0002] With the rapid development of information technology, network systems have become an indispensable part of the daily operations and lives of enterprises, institutions and individuals. Especially when it comes to business systems involving financial services (for example, insurance systems, banking systems, trading systems, etc.), the stability, reliability and efficiency of the business system network are directly related to business continuity and user experience. However, with the expansion of network scale and the complexity of network structure, network operation and maintenance face many challenges.

[0003] At present, the fault diagnosis and link monitoring tools commonly used in the field of network operation and maintenance mainly include manual troubleshooting, configuration management database (CMDB), relational database and some basic operation and maintenance systems. These technologies and tools have played an important role in long-term network management, but there are still some limitations. For example, in complex network topologies, manual troubleshooting takes a long time, resulting in delayed fault repair and increasing the risk of business interruption. Although CMDB performs well in managing static information of configuration items such as network devices, links, and servers, it lacks the ability to reflect real-time status in a dynamic network environment, making the troubleshooting process time-consuming and inefficient. When dealing with complex network link relationships, traditional relational databases are difficult to adapt to the operation and maintenance needs of multi-dimensional and complex network structures due to their insufficient modeling capabilities and query efficiency. Most of the existing operation and maintenance systems rely on simple network topology diagrams and the experience of operation and maintenance experts for manual analysis, lacking automated and intelligent fault diagnosis tools, resulting in low efficiency and accuracy in root cause analysis. Therefore, there is an urgent need for a network operation and maintenance system based on advanced technology to achieve real-time monitoring of network status, rapid fault location and intelligent diagnosis, thereby improving the overall efficiency and level of network operation and maintenance. Summary of the invention

[0004] Based on this, it is necessary to provide a network link fault diagnosis method, device, computer equipment and storage medium to address the above technical problems, so as to solve the problems of low fault analysis efficiency and accuracy in existing network link fault diagnosis technologies.

[0005] A network link fault diagnosis method, comprising: When the network observation center detects that a network link of a target service fails, the network observation center obtains the failure data corresponding to the target service through the configuration database; the failure data includes the source address and the destination address of the network link of the target service; Acquire source device and network topology information corresponding to the source address from a graph database; According to the source device and the network topology information, querying the target device corresponding to the target address through the graph database; Performing path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path; Fault diagnosis is performed on all the link information to obtain a fault diagnosis result of the network link.

[0006] A network link fault diagnosis device, comprising: A fault data module is used to obtain fault data corresponding to the target service through the configuration database when the network observation center detects that the network link of the target service has a fault; the fault data includes the source address and the target address of the network link of the target service; A source address data module, used to obtain source device and network topology information corresponding to the source address from a graph database; A target device module, configured to query a target device corresponding to the target address through the graph database according to the source device and the network topology information; A shortest path module, used to perform path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path; The fault diagnosis module is used to perform fault diagnosis on all the link information to obtain the fault diagnosis result of the network link.

[0007] A computer device comprises a memory, a processor and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the above-mentioned network link fault diagnosis method when executing the computer-readable instructions.

[0008] One or more readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the network link fault diagnosis method as described above.

[0009] The above-mentioned network link fault diagnosis method, device, computer equipment and storage medium, the method includes: when the network observation center monitors that the network link of the target service has a fault, the fault data corresponding to the target service is obtained through the configuration database; the fault data includes the source address and the target address of the network link of the target service; the source device and network topology information corresponding to the source address are obtained from the graph database; according to the source device and the network topology information, the target device corresponding to the target address is queried through the graph database; the path identification is performed on the source device and the target device to obtain the shortest path information between the source address and the target address; the shortest path information includes the link information of at least one link in the shortest path; all the link information is fault diagnosed to obtain the fault diagnosis result of the network link. The present invention can quickly locate the target device through the source device and network topology information, thereby improving the efficiency and accuracy of fault diagnosis and reducing the service interruption time. Furthermore, fault diagnosis based on the shortest path information of the source device and the target device helps network operation and maintenance personnel to quickly locate the key path in the network, facilitate rapid repair of the network, and use the best path for data transmission after repair, thereby improving the efficiency and reliability of data transmission. In this way, faults can be quickly located and the overall efficiency and level of network operation and maintenance can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] Figure 1 is a schematic diagram of an application environment of a network link fault diagnosis method according to an embodiment of the present invention; Figure 2 is a flow chart of a method for diagnosing a network link fault in one embodiment of the present invention; Figure 3 is a structural diagram of a network link fault diagnosis device in one embodiment of the present invention; Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0013] The network link fault diagnosis method provided in this embodiment can be applied to Figure 1 In an application environment, a client communicates with a server. The client includes but is not limited to various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be implemented with an independent server or a server cluster consisting of multiple servers.

[0014] In one embodiment, if Figure 2 As shown, a network link fault diagnosis method is provided, and the method is applied in Figure 1 The server in the example is used as an example to illustrate the following steps: S10. When the network observation center detects that a network link of a target service fails, the network observation center obtains fault data corresponding to the target service through the configuration database; the fault data includes a source address and a target address of the network link of the target service.

[0015] Understandably, the network observation center provides monitoring functions, responsible for real-time monitoring of the status, performance and events of network resources, and discovering and reporting network failures. The configuration database is responsible for the full life cycle management of static and dynamic information of all network resources, including but not limited to recording static information of network devices and links, and updating dynamic information of network devices in real time. At the same time, the configuration database can provide a full view of network devices, links, servers and other resources.

[0016] The target service refers to the network service within the monitoring scope. The network link refers to the transmission channel connecting the network equipment, which is used for the transmission of network data. Fault data refers to the information related to the network link failure, and the fault data includes but is not limited to the source address and destination address of the network link. Among them, the source address refers to the starting address of the network link failure in the target service, and the destination address refers to the ending address of the network link failure in the target service. When the network observation center detects that the network link of the target service has failed, it will access the configuration database and extract the data related to the failure, including the source address and the destination address.

[0017] Optionally, in step S10, that is, when the network observation center monitors that a network link of a target service fails, acquiring fault data corresponding to the target service through a configuration database includes: S101, when the network observation center detects that a network link of a target service fails, a network link failure diagnosis instruction is generated; S102, acquiring service data corresponding to the target service from a configuration database according to the network link fault diagnosis instruction; S103: parse the business data to obtain the fault data.

[0018] Understandably, a network link fault diagnosis instruction is an instruction generated by a network observation center, which is used to start a fault diagnosis process and instruct to perform a fault diagnosis operation to diagnose a network link fault. Business data refers to data related to network services, including information such as business attributes, network paths, and service level agreement (SLA) requirements. Fault data refers to information related to network link faults parsed from business data, such as source address, destination address, link status, etc. When the network observation center detects a network link fault, the network observation center will generate a fault diagnosis instruction, through which the system will be instructed to access the configuration database and extract business data related to the affected business. After obtaining the business data, the obtained business data will be parsed to extract information directly related to the current network link fault. Data parsing refers to the process of identifying the protocol type of the business data, obtaining the protocol type of the business data, parsing the business data header information according to the protocol type, and obtaining the source address and destination address.

[0019] S20. Obtain source device and network topology information corresponding to the source address from a graph database.

[0020] Understandably, the graph database builds and manages the relationship between each network device based on the configuration data in the configuration database, and realizes dynamic visualization and analysis of network topology information. Among them, the network topology information includes the connection relationship between each network device corresponding to the source address. The source device corresponding to the source address is queried from the graph database, and the network topology information of the source device is retrieved, including but not limited to the physical location of the source device, the connected links, the adjacent devices, etc., which helps to understand the structure of the network and the potential fault propagation path.

[0021] S30. According to the source device and the network topology information, query the target device corresponding to the target address through the graph database.

[0022] Understandably, the target device refers to the network device where the network link failure termination point is located. Based on the source device and the network topology information corresponding to the source device, the target device corresponding to the target address can be queried through the graph database.

[0023] Optionally, in step S30, that is, querying the target device corresponding to the target address through the graph database according to the source device and the network topology information includes: S301, acquiring at least one neighbor address directly connected to the source device from the source device, and determining at least one neighbor device according to the at least one neighbor address; S302, querying a graph database for a neighbor path between the source device and each of the neighbor devices; S303: Determine a target device corresponding to the target address according to all the neighbor addresses, all the neighbor paths and the network topology information.

[0024] Understandably, the neighbor address refers to the IP address of a network device directly connected to the source device. A neighbor device refers to a network device directly connected to the source device, and a neighbor path refers to the network path between the source device and its neighbor device. After determining the neighbor address and neighbor device of the source device, the specific network path between the source device and each neighbor device is queried in the graph database. It should be understood that the graph database stores the topological structure of the target business network resources and can be used to retrieve the connection path between devices. Furthermore, based on all neighbor addresses, neighbor paths, and network topology information, all possible paths from the source device to the target address are determined, and the target device is identified accordingly. In this way, by identifying neighbor devices and neighbor paths in the network, it is helpful to improve the network topology map, and by analyzing neighbor paths and network topology information, the target device can be quickly located, thereby improving the efficiency and accuracy of fault diagnosis and reducing business interruption time.

[0025] S40. Perform path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path.

[0026] It is understandable that a shortest path includes at least one link, and each link includes at least one node. Here, one node corresponds to one network device. The shortest path information refers to the relevant information of the shortest path from the source address to the target address, including the link information of at least one link in the shortest path. Among them, the link information includes information such as the state of the link itself and the state of the network device of each node in the link. It should be understood that in the network topology, the link with the smallest total link length (usually the number of hops) in the set of links from the source device to the target device is determined as the shortest path.

[0027] Optionally, the shortest path information includes the shortest path; Further, in step S40, that is, performing path identification on the source device and the target device to obtain the shortest path information between the source address and the target address includes: S401, acquiring all link information between the source device and the target device from the graph database according to the network topology information; the all link information includes node distance information of all links connecting the source device to the target device; S402: Determine the shortest path from the source device to the target device according to all the node distance information.

[0028] Understandably, node distance information refers to the distance information between two nodes in the network, which is used to indicate the length of the link. All link information refers to all possible path information from the source device to the target device in the network resources, including the nodes on each path and the distances between the nodes. Using the network topology information, all possible links connecting the source device and the target device are retrieved from the graph database, and then the shortest path from the source device to the target device is calculated based on the node distance information. In this way, the best path from the source device to the target device is provided, which helps network operation and maintenance personnel to quickly locate the key path in the network, facilitate rapid repair of the network, and use the best path for data transmission after repair, thereby improving the efficiency and reliability of data transmission.

[0029] S50: Perform fault diagnosis on all the link information to obtain a fault diagnosis result of the network link.

[0030] Understandably, fault diagnosis is performed on the link information in all shortest paths, including link status monitoring, packet loss rate analysis, bandwidth testing, etc. Through fault diagnosis analysis, the specific location and cause of the fault can be determined, and fault diagnosis results can be generated to guide network administrators to perform repair operations.

[0031] In steps S10-S50, when the network observation center detects that the network link of the target service fails, the fault data corresponding to the target service is obtained through the configuration database; the fault data includes the source address and the target address of the network link of the target service; the source device and network topology information corresponding to the source address are obtained from the graph database; according to the source device and the network topology information, the target device corresponding to the target address is queried through the graph database; the path identification is performed on the source device and the target device to obtain the shortest path information between the source address and the target address; the shortest path information includes the link information of at least one link in the shortest path; all the link information is fault diagnosed to obtain the fault diagnosis result of the network link. Through the source device and network topology information, the target device can be quickly located, thereby improving the efficiency and accuracy of fault diagnosis and reducing the service interruption time. Furthermore, fault diagnosis based on the shortest path information of the source device and the target device helps network operation and maintenance personnel to quickly locate the key path in the network, facilitate rapid repair of the network, and after repair, the best path can be used for data transmission, thereby improving the efficiency and reliability of data transmission. In this way, faults can be quickly located and the overall efficiency and level of network operation and maintenance can be improved.

[0032] Optionally, in step S50, that is, performing fault diagnosis on all the link information to obtain the fault diagnosis result of the network link includes: S501, obtaining node information of each link in the link information, and obtaining historical node data corresponding to the node information; S502: Analyze the faulty nodes and fault causes of the network link according to all the node information, all the historical node data and the current state of each link to obtain a fault diagnosis result of the network link.

[0033] Understandably, node information refers to detailed information of network devices, including but not limited to information such as device address, performance and operating status. Historical node data refers to recorded data of the performance and status of network devices in the past period of time, including but not limited to data transmission rate, error rate and fault information. A faulty node refers to a network device that has a fault in a network link. The cause of the fault includes but is not limited to hardware failure of the network device, network configuration error, network attack, etc. In this way, by analyzing historical data and current status, the faulty node and the cause of the fault can be diagnosed more accurately.

[0034] Optionally, after step S50, that is, after performing fault diagnosis on all the link information to obtain the fault diagnosis result of the network link, the following steps are included: S51, determining the faulty node of the network link according to the fault diagnosis result; S52: Obtain the failure frequency of the faulty node and determine the failure level of the network link.

[0035] Understandably, by querying the historical records of the faulty node, the number of faults that occurred within a certain period of time can be determined, and then the fault level can be determined based on the frequency of the faults. The determination of the fault level helps the network operation and maintenance team to allocate resources and prioritize processing based on the urgency and impact of the fault, thereby improving operation and maintenance efficiency.

[0036] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0037] In one embodiment, a network link fault diagnosis device is provided, and the network link fault diagnosis device corresponds one-to-one to the network link fault diagnosis method in the above embodiment. Figure 3 As shown, the network link fault diagnosis device includes a fault data module 10, a source address data module 20, a target device module 30, a shortest path module 40 and a fault diagnosis module 50. Each functional module is described in detail as follows: The fault data module 10 is used to obtain the fault data corresponding to the target service through the configuration database when the network observation center detects that the network link of the target service has a fault; the fault data includes the source address and the target address of the network link of the target service; A source address data module 20, used to obtain source device and network topology information corresponding to the source address from a graph database; A target device module 30 is used to query a target device corresponding to the target address through the graph database according to the source device and the network topology information; The shortest path module 40 is used to perform path identification on the source device and the target device to obtain the shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path; The fault diagnosis module 50 is used to perform fault diagnosis on all the link information to obtain the fault diagnosis result of the network link.

[0038] Optionally, the fault data module 10 includes: A diagnostic instruction unit, used to generate a network link fault diagnostic instruction when the network observation center detects that a network link of a target service has a fault; A service data unit, configured to obtain service data corresponding to the target service from a configuration database according to the network link fault diagnosis instruction; A data analysis unit is used to analyze the business data to obtain the fault data.

[0039] Optionally, the target device module 30 includes: A neighbor device unit, configured to obtain at least one neighbor address directly connected to the source device from the source device, and determine at least one neighbor device according to at least one neighbor address; A neighbor path unit, used to query a graph database for a neighbor path between the source device and each of the neighbor devices; The target device unit is used to determine the target device corresponding to the target address according to all the neighbor addresses, all the neighbor paths and the network topology information.

[0040] Optionally, the shortest path information includes the shortest path; Furthermore, the shortest path module 40 includes: A full link unit, configured to obtain, from the graph database, all link information between the source device and the target device according to the network topology information; the all link information includes node distance information of all links connecting the source device to the target device; The shortest path unit is used to determine the shortest path from the source device to the target device according to all the node distance information.

[0041] Optionally, the fault diagnosis module 50 includes: A node data unit, used to obtain node information of each link in the link information, and obtain historical node data corresponding to the node information; The fault diagnosis result unit is used to analyze the faulty nodes and fault causes of the network link according to all the node information, all the historical node data and the current state of each link to obtain the fault diagnosis result of the network link.

[0042] Optionally, the network link fault diagnosis device further includes: A fault node module, used to determine the fault node of the network link according to the fault diagnosis result; The fault level module is used to obtain the fault frequency of the faulty node and determine the fault level of the network link.

[0043] For the specific definition of the network link fault diagnosis device, please refer to the definition of the network link fault diagnosis method in the above text, which will not be repeated here. Each module in the above-mentioned network link fault diagnosis device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0044] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer-readable instructions and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The database of the computer device is used to store data involved in the network link fault diagnosis method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a network link fault diagnosis method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0045] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the following steps: When the network observation center detects that a network link of a target service fails, the network observation center obtains the failure data corresponding to the target service through the configuration database; the failure data includes the source address and the destination address of the network link of the target service; Acquire source device and network topology information corresponding to the source address from a graph database; According to the source device and the network topology information, querying the target device corresponding to the target address through the graph database; Performing path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path; Fault diagnosis is performed on all the link information to obtain fault diagnosis results of the network links.

[0046] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented: When the network observation center detects that a network link of a target service fails, the network observation center obtains the failure data corresponding to the target service through the configuration database; the failure data includes the source address and the destination address of the network link of the target service; Acquire source device and network topology information corresponding to the source address from a graph database; According to the source device and the network topology information, querying the target device corresponding to the target address through the graph database; Performing path identification on the source device and the target device to obtain shortest path information between the source address and the target address; the shortest path information includes link information of at least one link in the shortest path; Fault diagnosis is performed on all the link information to obtain fault diagnosis results of the network links.

[0047] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0048] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0049] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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, and should all be included in the protection scope of the present invention.

Claims

1. A network link fault diagnosis method, characterized in that: include: When the network observation center detects that a network link of a target service fails, the network observation center obtains the failure data corresponding to the target service through the configuration database; the failure data includes the source address and the destination address of the network link of the target service; Acquire source device and network topology information corresponding to the source address from a graph database; According to the source device and the network topology information, querying the target device corresponding to the target address through the graph database; Performing path identification on the source device and the target device to obtain the shortest path information between the source address and the target address; The shortest path information includes link information of at least one link in the shortest path; Fault diagnosis is performed on all the link information to obtain a fault diagnosis result of the network link.

2. The network link fault diagnosis method according to claim 1, characterized in that: When the network observation center detects that a network link of a target service fails, acquiring fault data corresponding to the target service through a configuration database includes: When the network observation center detects that the network link of the target service is faulty, a network link fault diagnosis instruction is generated; According to the network link fault diagnosis instruction, acquiring service data corresponding to the target service from a configuration database; The business data is parsed to obtain the fault data.

3. The network link fault diagnosis method according to claim 1, characterized in that: The querying, through the graph database, of a target device corresponding to the target address according to the source device and the network topology information includes: Acquire at least one neighbor address directly connected to the source device from the source device, and determine at least one neighbor device according to at least one neighbor address; Querying a graph database for a neighbor path between the source device and each of the neighbor devices; A target device corresponding to the target address is determined according to all the neighbor addresses, all the neighbor paths and the network topology information.

4. The network link fault diagnosis method according to claim 1, characterized in that: The shortest path information includes the shortest path; The performing path identification on the source device and the target device to obtain the shortest path information between the source address and the target address includes: According to the network topology information, all link information between the source device and the target device is obtained from the graph database; the all link information includes node distance information of all links connecting the source device to the target device; The shortest path from the source device to the target device is determined according to all the node distance information.

5. The network link fault diagnosis method according to claim 1, characterized in that: The performing fault diagnosis on all the link information to obtain the fault diagnosis result of the network link includes: Obtaining node information of each link in the link information, and obtaining historical node data corresponding to the node information; According to all the node information, all the historical node data and the current state of each link, the faulty nodes and fault causes of the network link are analyzed to obtain the fault diagnosis result of the network link.

6. The network link fault diagnosis method according to claim 1, characterized in that: After performing fault diagnosis on all the link information to obtain the fault diagnosis result of the network link, the method further comprises: Determine the fault node of the network link according to the fault diagnosis result; The failure frequency of the faulty node is obtained to determine the failure level of the network link.

7. A network link fault diagnosis device, characterized in that: include: A fault data module is used to obtain fault data corresponding to the target service through the configuration database when the network observation center detects that the network link of the target service has a fault; the fault data includes the source address and the target address of the network link of the target service; A source address data module, used to obtain source device and network topology information corresponding to the source address from a graph database; A target device module, configured to query a target device corresponding to the target address through the graph database according to the source device and the network topology information; The shortest path module is used to perform path identification on the source device and the target device to obtain the shortest path information between the source address and the target address; The shortest path information includes link information of at least one link in the shortest path; The fault diagnosis module is used to perform fault diagnosis on all the link information to obtain the fault diagnosis result of the network link.

8. The network link fault diagnosis device according to claim 7, characterized in that: A diagnostic instruction unit, used to generate a network link fault diagnostic instruction when the network observation center detects that a network link of a target service has a fault; A service data unit, configured to obtain service data corresponding to the target service from a configuration database according to the network link fault diagnosis instruction; A data analysis unit is used to analyze the business data to obtain the fault data.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the network link fault diagnosis method according to any one of claims 1 to 6 is implemented.

10. One or more computer-readable storage media storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by one or more processors, the one or more processors execute the network link fault diagnosis method according to any one of claims 1 to 6.