CN114500244A - Network fault diagnosis method and device, computer equipment and readable medium - Google Patents

Network fault diagnosis method and device, computer equipment and readable medium Download PDF

Info

Publication number
CN114500244A
CN114500244A CN202011268163.XA CN202011268163A CN114500244A CN 114500244 A CN114500244 A CN 114500244A CN 202011268163 A CN202011268163 A CN 202011268163A CN 114500244 A CN114500244 A CN 114500244A
Authority
CN
China
Prior art keywords
information
fault diagnosis
network
diagnosis
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011268163.XA
Other languages
Chinese (zh)
Inventor
夏生剑
关祥雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202011268163.XA priority Critical patent/CN114500244A/en
Priority to PCT/CN2021/130529 priority patent/WO2022100723A1/en
Publication of CN114500244A publication Critical patent/CN114500244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network fault diagnosis method, which comprises the steps of responding to a received first fault diagnosis request, determining a fault diagnosis task carried in the fault diagnosis request, and acquiring task information of the fault diagnosis task; sending a second fault diagnosis request carrying the task information to a network fault diagnosis device; and in response to receiving the diagnosis information sent by the network fault diagnosis device, generating a fault diagnosis topological structure diagram according to the diagnosis information, and displaying the fault diagnosis topological structure diagram, wherein the diagnosis information comprises network topological information and diagnosis result information. According to the embodiment of the invention, by using the fault diagnosis topology structure chart, operation and maintenance personnel can timely and accurately know the network fault position, end-to-end fault location delimitation can be rapidly carried out, accurate location of the network fault is realized, the operation and maintenance personnel do not need to manually troubleshoot fault points one by one, and the efficiency of network fault location delimitation is improved. The disclosure also provides a terminal device, a network fault diagnosis apparatus, a computer device and a readable medium.

Description

Network fault diagnosis method and device, computer equipment and readable medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network fault diagnosis method and apparatus, a computer device, and a readable medium.
Background
The conventional network fault diagnosis mainly comprises three stages: fault detection, fault location and fault confirmation. The difficulty of network fault diagnosis in the conventional network is fault location. With the development of networks, the service type networks are continuously enriched, networking scenes are continuously introduced, so that the service networking scheme is complex, the problems are difficult to locate and troubleshoot when network faults occur, and great complexity is caused to maintenance of operation and maintenance personnel.
SDN (Software Defined Networking ) as a novel network architecture, realizes separation of control and forwarding of network devices, and makes a network become transparent and visible. The SDN opens a software mode of a control layer, has an Application Programming Interface (API), gives programmability and extensibility to the controller, realizes centralized control, manages and configures a network, and makes network management more flexible and intelligent.
According to the traditional SDN network fault diagnosis scheme, operation and maintenance personnel cannot timely and accurately determine fault positions, end-to-end fault location delimitation cannot be rapidly carried out, the fault location range is narrowed, the reasons of faults are analyzed, and the network fault location efficiency is low.
Disclosure of Invention
The disclosure provides a network fault diagnosis method, a network fault diagnosis device, computer equipment and a readable medium.
In a first aspect, an embodiment of the present disclosure provides a network fault diagnosis method, including:
in response to receiving a first fault diagnosis request, determining a fault diagnosis task carried in the fault diagnosis request, and acquiring task information of the fault diagnosis task;
sending a second fault diagnosis request carrying the task information to a network fault diagnosis device;
in response to receiving diagnosis information sent by the network fault diagnosis device, generating a fault diagnosis topological structure diagram according to the diagnosis information, wherein the diagnosis information comprises network topological information and diagnosis result information;
and displaying the fault diagnosis topological structure diagram.
In some embodiments, the diagnosis result information includes fault link information, and the generating a fault diagnosis topology structure diagram according to the diagnosis information includes:
generating a topological structure according to the network topological information;
and rendering the fault link corresponding to the fault link information on the topological structure by using colors to generate a fault diagnosis topological structure chart.
In some embodiments, the diagnostic information further includes network configuration information, the network configuration information includes network configuration information of a node, and after displaying the fault diagnosis topology structure diagram, the method further includes: responding to a received node information acquisition request, determining a corresponding node, and displaying network configuration information of the node at the position of the node in the fault diagnosis topology structure diagram; and/or
The network configuration information includes network configuration information of a link, and after the displaying the fault diagnosis topology structure diagram, the method further includes: and responding to the received link information acquisition request, determining a corresponding link, and displaying the configuration information of the link at the position of the link in the fault diagnosis topological structure diagram.
In some embodiments, the generating the topology structure according to the network topology information includes:
and generating a topological structure according to the relative position among the nodes and the network topology information of the link.
In some embodiments, the network topology information of the node further includes a node type, and the displaying the fault diagnosis topology structure diagram includes:
determining a node icon according to the node type;
and displaying the node icon in the fault diagnosis topological structure diagram.
In some embodiments, the nodes in the fault diagnosis topology structure diagram at least include host nodes, and in the fault diagnosis topology structure diagram, different link paths between the same source host node and the same destination host node belong to the same fault diagnosis task.
In some embodiments, the network fault diagnosis method further comprises: and responding to the received task creating request, and creating a fault diagnosis task according to task information in the task creating request.
In another aspect, an embodiment of the present disclosure provides a network fault diagnosis method, where the method includes:
responding to a second fault diagnosis request sent by the terminal equipment, and acquiring task information carried in the second fault diagnosis request;
determining diagnostic information corresponding to the task information, wherein the diagnostic information comprises network topology information and diagnostic result information;
and sending the diagnosis information to the terminal equipment so that the terminal equipment generates a fault diagnosis topology structure diagram according to the diagnosis information.
In some embodiments, the network topology information includes network topology information of a node and network topology information of a link, the diagnosis result information includes faulty link information, and the determining diagnosis information corresponding to the task information includes:
acquiring network topology information of nodes and network topology information of links according to the task information and pre-stored topology information;
and in response to not acquiring the network topology information of all the links, determining that the network topology information of the links which are not acquired is the fault link information.
In some embodiments, the obtaining network topology information of a node according to the task information and pre-stored topology information includes:
responding to the task information to determine that the task is a two-layer network fault diagnosis task, and acquiring network topology information of the host node and network topology information of the equipment node;
and responding to the task of determining the three-layer network fault diagnosis according to the task information, and acquiring the network topology information of the host node, the network topology information of the equipment node and the network topology information of the gateway node.
In another aspect, an embodiment of the present disclosure further provides a terminal device, including a receiving module, an obtaining module, a sending module, and a processing module, where the receiving module is configured to receive a first fault diagnosis request and receive diagnosis information sent by the network fault diagnosis apparatus;
the acquisition module is used for determining a fault diagnosis task carried in the fault diagnosis request and acquiring task information of the fault diagnosis task;
the sending module is used for sending a second fault diagnosis request carrying the task information to a network fault diagnosis device;
the processing module is used for generating a fault diagnosis topology structure diagram according to the diagnosis information and displaying the fault diagnosis topology structure diagram, wherein the diagnosis information comprises network topology information and diagnosis result information.
In another aspect, an embodiment of the present disclosure further provides a network fault diagnosis apparatus, including a receiving module, an obtaining module, a diagnosis module, and a sending module, where the receiving module is configured to receive a second fault diagnosis request sent by a terminal device;
the acquisition module is used for acquiring the task information carried in the acquisition module;
the diagnosis module is used for determining diagnosis information corresponding to the task information, and the diagnosis information comprises network topology information and diagnosis result information;
the sending module is used for sending the diagnosis information to the terminal equipment so that the terminal equipment can generate a fault diagnosis topology structure chart according to the diagnosis information.
In another aspect, an embodiment of the present disclosure further provides a computer device, including:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the network fault diagnosis method as previously described.
In yet another aspect, the embodiments of the present disclosure further provide a computer readable medium, on which a computer program is stored, wherein the program, when executed, implements the network fault diagnosis method as described above.
The network fault diagnosis method provided by the embodiment of the disclosure determines a fault diagnosis task carried in a fault diagnosis request in response to receiving a first fault diagnosis request, and acquires task information of the fault diagnosis task; sending a second fault diagnosis request carrying the task information to a network fault diagnosis device; and in response to receiving the diagnosis information sent by the network fault diagnosis device, generating a fault diagnosis topological structure diagram according to the diagnosis information, and displaying the fault diagnosis topological structure diagram, wherein the diagnosis information comprises network topological information and diagnosis result information. According to the embodiment of the invention, by using the fault diagnosis topology structure chart, operation and maintenance personnel can timely and accurately know the network fault position, end-to-end fault location delimitation can be rapidly carried out, accurate location of the network fault is realized, the operation and maintenance personnel do not need to manually troubleshoot fault points one by one, and the efficiency of network fault location delimitation is improved.
Drawings
Fig. 1 is a schematic flow chart of a network fault diagnosis method provided in the embodiment of the present disclosure;
2a-2b are schematic diagrams of a fault diagnosis topology structure provided by an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram for generating a fault diagnosis topology structure according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart illustrating the creation of a fault diagnosis task according to an embodiment of the present disclosure;
fig. 5 is a second schematic flow chart of a network fault diagnosis method according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart illustrating the determination of diagnostic information provided by an embodiment of the present disclosure;
fig. 7 is a first schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a network fault diagnosis device according to an embodiment of the present disclosure.
Detailed Description
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising … …, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Embodiments described herein may be described with reference to plan and/or cross-sectional views in light of idealized schematic illustrations of the disclosure. Accordingly, the example illustrations can be modified in accordance with manufacturing techniques and/or tolerances. Accordingly, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on a manufacturing process. Thus, the regions illustrated in the figures have schematic properties, and the shapes of the regions shown in the figures illustrate specific shapes of regions of elements, but are not intended to be limiting.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The embodiment of the present disclosure provides a network fault diagnosis method, as shown in fig. 1, the network fault diagnosis method includes the following steps:
and step 11, responding to the received first fault diagnosis request, determining a fault diagnosis task carried in the fault diagnosis request, and acquiring task information of the fault diagnosis task.
The method comprises the steps that a diagnostic program of the terminal equipment initializes a fault positioning and delimiting topological component, wherein the fault positioning and delimiting topological component comprises a fault diagnosis task creating component, a fault diagnosis task list displaying component, a fault diagnosis task searching box and the like.
In this step, the operation and maintenance personnel can obtain all the currently created diagnosis tasks through a task list in a diagnosis program interface of the terminal equipment, select a certain fault diagnosis task, and click a 'diagnosis' button to submit a first fault diagnosis request. And the terminal equipment acquires the task information of the fault diagnosis task. In some embodiments, the task information may include information such as a source IP (Internet Protocol Address), a source VRF (Virtual Routing Forwarding), a destination IP, and a destination VRF.
And step 12, sending a second fault diagnosis request carrying task information to the network fault diagnosis device.
In this step, the terminal device sends a second fault diagnosis request to the network fault diagnosis device, so that the network fault diagnosis device performs network fault diagnosis for the fault diagnosis task according to the corresponding task information.
And step 13, responding to the received diagnosis information sent by the network fault diagnosis device, and generating a fault diagnosis topology structure diagram according to the diagnosis information, wherein the diagnosis information comprises network topology information and diagnosis result information.
In this step, after the network fault diagnosis device completes network fault diagnosis, the network fault diagnosis device sends diagnosis information including network topology information and diagnosis result information to the terminal device, and the terminal device generates a visual fault diagnosis topology structure diagram according to the diagnosis information.
The network topology information is used for describing the relationship between each node and each link in the network, the diagnosis result information is used for reflecting the positioning and delimiting result of the network fault, the fault diagnosis topology structure chart can display the network fault positioning and delimiting result corresponding to the fault diagnosis task in a network topology chart mode, and the specific structure of the fault diagnosis topology structure chart is described in detail later with reference to fig. 2.
And step 14, displaying the fault diagnosis topological structure diagram.
The hot plug equipment information transmission method provided by the embodiment of the disclosure responds to the received first fault diagnosis request, determines the fault diagnosis task carried in the fault diagnosis request, and acquires the task information of the fault diagnosis task; sending a second fault diagnosis request carrying the task information to a network fault diagnosis device; and in response to receiving the diagnosis information sent by the network fault diagnosis device, generating a fault diagnosis topological structure diagram according to the diagnosis information, and displaying the fault diagnosis topological structure diagram, wherein the diagnosis information comprises network topological information and diagnosis result information. According to the embodiment of the invention, by using the fault diagnosis topology structure chart, operation and maintenance personnel can timely and accurately know the network fault position, end-to-end fault location delimitation can be rapidly carried out, accurate location of the network fault is realized, the operation and maintenance personnel do not need to manually troubleshoot fault points one by one, and the efficiency of network fault location delimitation is improved.
In some embodiments, as shown in fig. 2a and fig. 2b, the fault diagnosis topology structure diagram is composed of nodes and links between the nodes, wherein the nodes at least include a host node (host) and a device node (dev). According to different network structures, the types of nodes contained in the fault diagnosis topology structure chart are different, and if the network is a three-layer network, as shown in fig. 2a, the nodes in the fault diagnosis topology structure chart comprise a host node, a device node and a gateway node (gw); in case of a two-layer network, as shown in fig. 2b, the nodes in the fault diagnosis topology structure diagram include a host node and a device node (dev).
In the fault diagnosis topology structure diagram, nodes related to a fault diagnosis task are arranged from left to right, the leftmost side in the fault diagnosis topology structure diagram is a source host node which represents the topology starting point of the fault diagnosis task, and the source host node points to an equipment node; the middle part of the network sequentially passes through a plurality of equipment nodes and gateway nodes, and the fault diagnosis topology structure chart can reflect the link direction, the passing equipment, the passing port and other related information; the right-most side of the fault diagnosis topology structure diagram is a destination host node, which represents a topology end point of a fault diagnosis task. The fault diagnosis task is presented in the fault diagnosis topological structure chart in a form similar to a singly linked list, and marks a network fault diagnosis path. In the fault diagnosis topology structure diagram, different link paths between the same source host node and the same destination host node belong to the same fault diagnosis task. Taking the topology structure diagram for fault diagnosis shown in fig. 2a as an example, two link paths are provided between the source host node host1 and the destination host node host2, that is, link path 1: host1-dev1-gw1-dev2-host2 and Link Path 2: host1-dev3-gw2-dev4-host2, wherein the link path 1 and the link path 2 belong to the same fault diagnosis task, the equipment node dev1 and the equipment node dev3 are equipment nodes of the same equipment group, and the equipment node dev2 and the equipment node dev4 are equipment nodes of the same equipment group. That is, in the process of generating the fault diagnosis topology structure diagram, when the node is an equipment group, the equipment group is converted into each single equipment node in the equipment group.
In some embodiments, the diagnosis result information includes fault link information, and as shown in fig. 3, the generating the fault diagnosis topology map according to the diagnosis information (i.e. step 13) includes the following steps:
and step 131, generating a topological structure according to the network topology information.
The topological structure can reflect the incidence relation of each node and each link, but does not reflect the network failure.
And step 132, rendering the fault link corresponding to the fault link information on the topological structure by using colors to generate a fault diagnosis topological structure diagram.
In this step, the terminal device identifies the faulty link on the basis of the topology generated in step 131, so as to obtain a fault diagnosis topology structure diagram. For example, when a link (including a link between a device node and a device node or a link between a device node and a gateway node) is normal, the terminal device renders the color of the link in the failure diagnosis topology structure diagram to blue, and when the link fails, the terminal device renders the color of the link in the failure diagnosis topology structure diagram to gray.
And the terminal equipment generates a topological structure according to the network topology information of the nodes and the network topology information of the links and renders the fault links. And the fault link is displayed obviously in a link color rendering mode, so that operation and maintenance personnel can diagnose and position the on-off condition between the network nodes quickly.
In some embodiments, the diagnosis information may further include network configuration information, the network configuration information may include network configuration information of the node, and accordingly, after displaying the fault diagnosis topology structure diagram (i.e., step 14), the network fault diagnosis method may further include the steps of: and responding to the received node information acquisition request, determining a corresponding node, and displaying the network configuration information of the node at the position of the node in the fault diagnosis topological structure diagram. And/or, the network configuration information may include network configuration information of the link, and accordingly, after displaying the fault diagnosis topology structure diagram (i.e., step 14), the network fault diagnosis method may further include the steps of: and responding to the received link information acquisition request, determining a corresponding link, and displaying configuration information of the link at the position of the link in the fault diagnosis topological structure diagram. That is to say, when an operation and maintenance person clicks a certain node in the fault diagnosis topology structure diagram through the terminal device, the network configuration information of the node is displayed in a corresponding pop-up manner at the position of the node (for example, at the right side of the node) in the fault diagnosis topology structure diagram, and the network configuration information of the node may be displayed in a table manner, including: device ID, device name, device type, port information, etc. When an operation and maintenance person clicks a certain link in the fault diagnosis topology structure diagram through the terminal device, the network configuration information of the link is displayed in a corresponding pop-up manner at the position of the link (for example, above the link) in the fault diagnosis topology structure diagram, and the network configuration information of the link can be displayed in a table manner, including: source node, source port, destination node, destination port information, etc. The embodiment of the disclosure can provide specific network configuration information of the nodes and the links for operation and maintenance personnel based on the request of the operation and maintenance personnel, and the operation and maintenance personnel do not need to manually inquire the network configuration, so that the operation and maintenance personnel are more convenient and faster.
In some embodiments, the network topology information includes network topology information of nodes and network topology information of links, the network topology information of the nodes includes relative positions between the nodes, and the generating the topology structure according to the network topology information (i.e. step 131) includes the following steps: and generating a topological structure according to the relative position among the nodes and the network topology information of the link.
In some embodiments, the network topology information of the node may further include a node type, and the displaying the fault diagnosis topology structure diagram (i.e., step 14) includes the following steps: and determining a node icon according to the node type, and displaying the node icon in the fault diagnosis topology structure diagram. For example, when ARP () information can be directly found from IP and VRF, a corresponding host node can be considered as a normal host, and an icon of the host node is displayed as a normal host icon; when the ARP information is indirectly checked through the composite route according to the IP and VRF, the corresponding host node may be considered as a cloud host, and an icon of the host node is displayed as a cloud host icon.
In some embodiments, as shown in fig. 4, the network fault diagnosis method may further include the steps of:
step 21, receiving a task creation request.
The diagnostic program interface of the terminal device is a topological component constructed by an Angular application framework, the topological component supports functions of creating and diagnosing network fault diagnosis tasks, displaying a fault diagnosis topological structure diagram and the like, the diagnostic program interface can comprise a fault diagnosis task list and a fault diagnosis task search box, and the fault diagnosis task search box can be used for screening and inquiring fault diagnosis task information according to keywords. And filling task information such as a source IP, a source VRF, a destination IP, a destination VRF and the like required by the establishment of the network fault diagnosis task in a diagnosis program interface by operation and maintenance personnel, and then clicking a 'establish task' button.
And step 22, creating a fault diagnosis task according to the task information in the task creation request.
And the terminal equipment creates a fault diagnosis task according to the task information, and after the fault diagnosis task is successfully created, the fault diagnosis task list can display the created fault diagnosis task and the task information thereof.
An embodiment of the present disclosure further provides a network fault diagnosis method, as shown in fig. 5, the method includes the following steps:
and step 31, responding to the received second fault diagnosis request sent by the terminal device, and acquiring task information carried in the second fault diagnosis request.
In this step, after receiving the second fault diagnosis request sent by the terminal device, the network fault diagnosis device obtains task information in the second fault diagnosis request, where the task information is task information of a requested network fault diagnosis task, and the task information may include: source IP, source VRF, destination IP, destination VRF, etc.
And step 32, determining diagnosis information corresponding to the task information, wherein the diagnosis information comprises network topology information and diagnosis result information.
The specific implementation manner of the network fault diagnosis device determining the diagnosis information of the network fault diagnosis task is described in detail with reference to fig. 6.
And step 33, sending the diagnosis information to the terminal equipment so that the terminal equipment can generate a fault diagnosis topological structure diagram according to the diagnosis information.
In this step, the network fault diagnosis apparatus encapsulates the diagnosis information, and transmits the encapsulated diagnosis information to the terminal device.
The network fault diagnosis method provided by the embodiment of the disclosure is used for responding to a second fault diagnosis request sent by a terminal device and acquiring task information carried in the second fault diagnosis request; determining diagnostic information corresponding to the task information, wherein the diagnostic information comprises network topology information and diagnostic result information; sending the diagnosis information to the terminal equipment so that the terminal equipment generates a fault diagnosis topological structure diagram according to the diagnosis information; according to the method and the device, the diagnosis information comprising the network topology information and the diagnosis result information is issued to the terminal equipment, the terminal equipment generates the fault diagnosis topology structure diagram based on the diagnosis information, operation and maintenance personnel can timely and accurately know the network fault position, end-to-end fault location delimitation is rapidly carried out, accurate location of the network fault is achieved, the operation and maintenance personnel do not need to manually troubleshoot fault points one by one, and the efficiency of the network fault location delimitation is improved.
In some embodiments, the network topology information includes network topology information of the nodes and network topology information of the links, and the diagnosis result information includes faulty link information. As shown in fig. 6, the determining diagnostic information corresponding to task information (i.e., step 32) includes the steps of:
step 321, acquiring the network topology information of the node and the network topology information of the link according to the task information and the topology information stored in advance.
The network fault diagnosis device is pre-configured with topology information (including node information and link information) of the network, and the topology information can be updated and adjusted according to requirements. In this step, the network failure diagnosis apparatus acquires network topology information (including network topology information of nodes and network topology information of links) corresponding to the failure diagnosis task, based on task information such as the source IP, the source VRF, the destination IP, and the destination VRF and topology information stored in advance. The network topology information of the nodes can be relative positions among the nodes, and the network topology information of the nodes and the network topology information of the links are used for constructing a visual fault diagnosis topology structure diagram. It should be noted that, in the process of acquiring the network topology information of the node, if a device node appears again, the topology node is not added any more, but the device information appearing twice is merged, and the device node appearing twice is regarded as the same device node.
Step 322, in response to that the network topology information of all the links is not acquired, determining that the network topology information of the links that are not acquired is the fault link information.
In this step, if the network fault diagnosis device does not acquire the network topology information of a certain link in the fault diagnosis task, which indicates that the link that is not acquired is a faulty link, it is determined that the network topology information of the link that is not acquired is faulty link information.
In some embodiments, the obtaining network topology information of the node according to the task information and the pre-stored topology information (i.e., step 321) includes the following steps: responding to the task of determining the two-layer network fault diagnosis according to the task information, and acquiring network topology information of the host node and network topology information of the equipment node; and in response to determining that the task is a three-layer network fault diagnosis task according to the task information, acquiring the network topology information of the host node, the network topology information of the equipment node and the network topology information of the gateway node. That is to say, in the process of acquiring the network topology information of the nodes, the network structure is judged first, and the network topology information of which nodes is acquired is determined according to the network structure.
The network fault diagnosis device receives the second fault diagnosis request sent by the terminal device, acquires task information therein, and performs network fault diagnosis (i.e. determines diagnosis information) according to the task information as follows: firstly, the network fault diagnosis device judges the network structure according to the task information, and determines which nodes to obtain the network topology information according to the network structure. If the network is a two-layer network, network topology information of the host node and network topology information of the equipment node are obtained; and if the network is a three-layer network, acquiring the network topology information of the host node, the network topology information of the equipment node and the network topology information of the gateway node. It should be noted that the network failure diagnosis apparatus may further obtain network configuration information of each node. Then, the network fault diagnosis device obtains the network topology information of the link according to the task information, and determines the fault link and the diagnosis result information, wherein the diagnosis result information is the fault link information. And finally, the network fault diagnosis device packages the network topology information, the diagnosis result information and the network configuration information to obtain diagnosis information and sends the packaged diagnosis information to the terminal equipment.
The network fault diagnosis method provided by the embodiment of the disclosure can be applied to fault diagnosis of an SDN network, and a server (namely a network fault diagnosis device) collects statistical information and network topology information of network nodes by using centralized control of the SDN network, and judges the state of network topology, thereby determining a fault link. The terminal equipment can construct a fault diagnosis topology structure chart according to the network topology information, the diagnosis result information and the network configuration information determined by the server side, and visually present network links, so that operation and maintenance personnel do not need to manually inquire network configuration and check network fault points one by one, and the efficiency of the operation and maintenance personnel for positioning and delimiting network faults is improved. The color of the fault link is rendered in the fault diagnosis topology structure chart, and the fault link is displayed obviously, so that operation and maintenance personnel can accurately position the fault link of the network.
It should be noted that the fault diagnosis topology structure diagram can also integrate the function of checking the flow table of the device, so that the operation and maintenance personnel can check the flow table information of the device while checking the fault diagnosis topology structure diagram in the network fault diagnosis. For example, the operation and maintenance personnel can select a certain diagnostic path (i.e., link path) in the fault diagnosis topology structure diagram to track the flow table information of the diagnostic path. The fault diagnosis topological structure diagram can also integrate the function of equipment configuration check, so that operation and maintenance personnel can select certain equipment in the fault diagnosis topological structure diagram to check the audit information of the configuration of the equipment.
Based on the same technical concept, an embodiment of the present disclosure further provides a terminal device, as shown in fig. 7, including a receiving module 101, an obtaining module 102, a sending module 103, and a processing module 104, where the receiving module 101 is configured to receive a first fault diagnosis request and receive diagnosis information sent by a network fault diagnosis apparatus.
The obtaining module 102 is configured to determine a fault diagnosis task carried in the fault diagnosis request, and obtain task information of the fault diagnosis task.
And the sending module is used for sending a second fault diagnosis request carrying the task information to the network fault diagnosis device.
The processing module 104 is configured to generate a fault diagnosis topology structure diagram according to the diagnosis information, and display the fault diagnosis topology structure diagram, where the diagnosis information includes network topology information and diagnosis result information.
In some embodiments, the diagnosis result information includes information about a failed link, and the processing module 104 is configured to generate a topology structure according to network topology information; and rendering the fault link corresponding to the fault link information by using colors on the topological structure so as to generate a fault diagnosis topological structure chart.
In some embodiments, the diagnostic information further includes network configuration information, the network configuration information includes network configuration information of a node and/or network configuration information of a link, and the receiving module 101 is further configured to receive a node information obtaining request and receive a link information obtaining request.
The processing module 104 is further configured to, after the receiving module 101 receives the node information obtaining request, determine a corresponding node, and display network configuration information of the node at a position of the node in the fault diagnosis topology structure diagram; and/or after the receiving module 101 receives the node information acquisition request, determining a corresponding link, and displaying configuration information of the link at the position of the link in the fault diagnosis topology structure diagram.
In some embodiments, the network topology information includes network topology information of nodes and network topology information of links, the network topology information of the nodes includes relative positions between the nodes, and the processing module 104 is configured to generate the topology structure according to the relative positions between the nodes and the network topology information of the links.
In some embodiments, the network topology information of the node further includes a node type, and the processing module 104 is configured to determine a node icon according to the node type, and display the node icon in the fault diagnosis topology structure diagram.
In some embodiments, the nodes in the fault diagnosis topology structure diagram at least include host nodes, and in the fault diagnosis topology structure diagram, different link paths between the same source host node and the same destination host node belong to the same fault diagnosis task.
In some embodiments, as shown in fig. 8, the terminal device may further include a creating module 105, and the receiving module 101 is further configured to receive a task creating request.
The creating module 105 is configured to create a fault diagnosis task according to task information in the task creation request.
Based on the same technical concept, an embodiment of the present disclosure further provides a network fault diagnosis apparatus, as shown in fig. 9, including a receiving module 201, an obtaining module 202, a diagnosis module 203, and a sending module 204, where the receiving module 201 is configured to receive a second fault diagnosis request sent by a terminal device.
The obtaining module 202 is configured to obtain task information carried therein.
The diagnosis module 203 is configured to determine diagnosis information corresponding to the task information, where the diagnosis information includes network topology information and diagnosis result information.
The sending module 204 is configured to send the diagnostic information to the terminal device, so that the terminal device generates a fault diagnosis topology structure diagram according to the diagnostic information.
In some embodiments, the network topology information includes network topology information of a node and network topology information of a link, the diagnosis result information includes fault link information, and the diagnosis module 203 is configured to obtain the network topology information of the node and the network topology information of the link according to the task information and pre-stored topology information; and in response to not acquiring the network topology information of all the links, determining that the network topology information of the links which are not acquired is the fault link information.
In some embodiments, the diagnosis module 203 is configured to, in response to determining that the task is a two-layer network fault diagnosis task according to the task information, obtain network topology information of the host node and network topology information of the device node; and responding to the task of determining the three-layer network fault diagnosis according to the task information, and acquiring the network topology information of the host node, the network topology information of the equipment node and the network topology information of the gateway node.
An embodiment of the present disclosure further provides a computer device, including: one or more processors and storage; the storage device stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the network fault diagnosis method provided in the foregoing embodiments.
The disclosed embodiments also provide a computer readable medium, on which a computer program is stored, wherein the computer program, when executed, implements the network fault diagnosis method provided by the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods disclosed above, functional modules/units in the apparatus, may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. It will, therefore, be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.

Claims (14)

1. A method for network fault diagnosis, the method comprising:
in response to receiving a first fault diagnosis request, determining a fault diagnosis task carried in the fault diagnosis request, and acquiring task information of the fault diagnosis task;
sending a second fault diagnosis request carrying the task information to a network fault diagnosis device;
in response to receiving diagnosis information sent by the network fault diagnosis device, generating a fault diagnosis topological structure diagram according to the diagnosis information, wherein the diagnosis information comprises network topological information and diagnosis result information;
and displaying the fault diagnosis topology structure diagram.
2. The method of claim 1, wherein the diagnostic result information includes fault link information, and wherein generating a fault diagnosis topology structure map based on the diagnostic information comprises:
generating a topological structure according to the network topological information;
and rendering the fault link corresponding to the fault link information on the topological structure by using colors to generate a fault diagnosis topological structure chart.
3. The method of claim 2, wherein the diagnostic information further includes network configuration information including network configuration information of nodes, and wherein after displaying the fault diagnosis topology structure map, further comprising: responding to a received node information acquisition request, determining a corresponding node, and displaying network configuration information of the node at the position of the node in the fault diagnosis topology structure diagram; and/or
The network configuration information includes network configuration information of a link, and after the displaying the fault diagnosis topology structure diagram, the method further includes: and responding to the received link information acquisition request, determining a corresponding link, and displaying the configuration information of the link at the position of the link in the fault diagnosis topological structure diagram.
4. The method of claim 2, wherein the network topology information includes network topology information of nodes and network topology information of links, the network topology information of the nodes includes relative positions between the nodes, and the generating the topology structure according to the network topology information includes:
and generating a topological structure according to the relative position among the nodes and the network topology information of the link.
5. The method of claim 4, wherein the network topology information of the node further includes a node type, and the displaying the fault diagnosis topology structure map includes:
determining a node icon according to the node type;
and displaying the node icon in the fault diagnosis topological structure diagram.
6. The method according to claim 1, wherein the nodes in the fault diagnosis topology structure diagram comprise at least host nodes, and different link paths between the same source host node and the same destination host node in the fault diagnosis topology structure diagram belong to the same fault diagnosis task.
7. The method of any one of claims 1-6, further comprising: and responding to the received task creating request, and creating a fault diagnosis task according to task information in the task creating request.
8. A method for network fault diagnosis, the method comprising:
responding to a second fault diagnosis request sent by the terminal equipment, and acquiring task information carried in the second fault diagnosis request;
determining diagnostic information corresponding to the task information, wherein the diagnostic information comprises network topology information and diagnostic result information;
and sending the diagnosis information to the terminal equipment so that the terminal equipment generates a fault diagnosis topology structure diagram according to the diagnosis information.
9. The method of claim 8, wherein the network topology information includes network topology information of nodes and network topology information of links, the diagnosis result information includes faulty link information, and the determining diagnosis information corresponding to the task information includes:
acquiring network topology information of nodes and network topology information of links according to the task information and pre-stored topology information;
and in response to not acquiring the network topology information of all the links, determining that the network topology information of the links which are not acquired is the fault link information.
10. The method of claim 9, wherein the obtaining network topology information of a node according to the task information and pre-stored topology information comprises:
responding to the task information to determine that the task is a two-layer network fault diagnosis task, and acquiring network topology information of the host node and network topology information of the equipment node;
and responding to the task of determining the three-layer network fault diagnosis according to the task information, and acquiring the network topology information of the host node, the network topology information of the equipment node and the network topology information of the gateway node.
11. The terminal equipment is characterized by comprising a receiving module, an obtaining module, a sending module and a processing module, wherein the receiving module is used for receiving a first fault diagnosis request and receiving diagnosis information sent by the network fault diagnosis device;
the acquisition module is used for determining a fault diagnosis task carried in the fault diagnosis request and acquiring task information of the fault diagnosis task;
the sending module is used for sending a second fault diagnosis request carrying the task information to a network fault diagnosis device;
the processing module is used for generating a fault diagnosis topology structure diagram according to the diagnosis information and displaying the fault diagnosis topology structure diagram, wherein the diagnosis information comprises network topology information and diagnosis result information.
12. The network fault diagnosis device is characterized by comprising a receiving module, an obtaining module, a diagnosis module and a sending module, wherein the receiving module is used for receiving a second fault diagnosis request sent by terminal equipment;
the acquisition module is used for acquiring the task information carried in the acquisition module;
the diagnosis module is used for determining diagnosis information corresponding to the task information, and the diagnosis information comprises network topology information and diagnosis result information;
the sending module is used for sending the diagnosis information to the terminal equipment so that the terminal equipment can generate a fault diagnosis topology structure chart according to the diagnosis information.
13. A computer device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the network fault diagnosis method of any of claims 1-10.
14. A computer-readable medium on which a computer program is stored, wherein the program, when executed, implements the network fault diagnosis method according to any one of claims 1-10.
CN202011268163.XA 2020-11-13 2020-11-13 Network fault diagnosis method and device, computer equipment and readable medium Pending CN114500244A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011268163.XA CN114500244A (en) 2020-11-13 2020-11-13 Network fault diagnosis method and device, computer equipment and readable medium
PCT/CN2021/130529 WO2022100723A1 (en) 2020-11-13 2021-11-15 Network fault diagnosis method and apparatus, and computer device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011268163.XA CN114500244A (en) 2020-11-13 2020-11-13 Network fault diagnosis method and device, computer equipment and readable medium

Publications (1)

Publication Number Publication Date
CN114500244A true CN114500244A (en) 2022-05-13

Family

ID=81490260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011268163.XA Pending CN114500244A (en) 2020-11-13 2020-11-13 Network fault diagnosis method and device, computer equipment and readable medium

Country Status (2)

Country Link
CN (1) CN114500244A (en)
WO (1) WO2022100723A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024037345A1 (en) * 2022-08-18 2024-02-22 中兴通讯股份有限公司 Fault processing method and apparatus, and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116390138B (en) * 2023-04-25 2024-03-08 中南大学 Fault diagnosis method based on digital twin network and related equipment
CN117424791B (en) * 2023-12-18 2024-03-19 国网天津市电力公司信息通信公司 Large-scale power communication network fault diagnosis system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006229421A (en) * 2005-02-16 2006-08-31 Matsushita Electric Ind Co Ltd Network fault diagnostic apparatus
CN101551432A (en) * 2009-05-07 2009-10-07 江苏省电力公司常州供电公司 Power distribution network fault positioning method
CN102611917A (en) * 2011-12-21 2012-07-25 华为技术有限公司 Method and device for preprocessing network television fault
CN110493042A (en) * 2019-08-16 2019-11-22 中国联合网络通信集团有限公司 Method for diagnosing faults, device and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9467330B2 (en) * 2013-10-14 2016-10-11 Hewlett Packard Enterprise Development Lp Diagnosing connectivity in a network
CN104270268B (en) * 2014-09-28 2017-12-05 曙光信息产业股份有限公司 A kind of distributed system network performance evaluation and method for diagnosing faults
CN106452930B (en) * 2016-12-16 2019-07-26 北京邮电大学 A kind of fault diagnosis method and system of the service function chain based on detection
US10116523B1 (en) * 2017-04-12 2018-10-30 Fisher-Rosemount Systems, Inc. Predictive connectivity diagnostics for a wireless mesh network in a process control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006229421A (en) * 2005-02-16 2006-08-31 Matsushita Electric Ind Co Ltd Network fault diagnostic apparatus
CN101551432A (en) * 2009-05-07 2009-10-07 江苏省电力公司常州供电公司 Power distribution network fault positioning method
CN102611917A (en) * 2011-12-21 2012-07-25 华为技术有限公司 Method and device for preprocessing network television fault
CN110493042A (en) * 2019-08-16 2019-11-22 中国联合网络通信集团有限公司 Method for diagnosing faults, device and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024037345A1 (en) * 2022-08-18 2024-02-22 中兴通讯股份有限公司 Fault processing method and apparatus, and storage medium

Also Published As

Publication number Publication date
WO2022100723A1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
CN114500244A (en) Network fault diagnosis method and device, computer equipment and readable medium
CN113169891B (en) Identifying and resolving algorithmic problems in a fabric network through software-defined operation management and maintenance
JP6821800B2 (en) Systems and methods for interactive network analytics platforms
US9787546B2 (en) Network management system generating virtual network map and related methods
US6977900B2 (en) Site-to-site dynamic virtual local area network
CN101877649B (en) System and method for monitoring a network communication at multiple network layers
CN1972217B (en) System and method of tiered communication services in a composite communication service
US11245573B1 (en) Port verification for customer interconnection in a data center
CN115943398A (en) System, method and apparatus for generating and searching resource topologies among multiple cloud computing environments
US20060080413A1 (en) Method and system for establishing a deployment plan for an application
JP2009017032A (en) Packet transfering device
US6651093B1 (en) Dynamic virtual local area network connection process
CN112956158B (en) Structural data plane monitoring
US20090049161A1 (en) Server management program in network system
US8670352B2 (en) Link inference in large networks based on incomplete data
JP2000236347A (en) Automatic electric communication link identification system
CN114270907A (en) Automatic access point placement system and method
CN104270282A (en) IP network end-to-end testing method and device
CN108512811A (en) A kind of virtual network partition method and SDN controllers based on SDN
CN107769964B (en) Special line checking method and system
US20110087991A1 (en) Methods and Apparatus for Reliable Entry and Enhanced Presentation of IPv6 Addresses
CN108616453B (en) Method, device and system for network equipment
Visser et al. HolistIX: a zero-touch approach for IXPs
CN106803848A (en) Battery tester middle-position machine management method and device
JP4969633B2 (en) IP measuring instrument

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination