WO2014019402A1 - Method and device for displaying service path in network trouble maintenance - Google Patents

Method and device for displaying service path in network trouble maintenance Download PDF

Info

Publication number
WO2014019402A1
WO2014019402A1 PCT/CN2013/076462 CN2013076462W WO2014019402A1 WO 2014019402 A1 WO2014019402 A1 WO 2014019402A1 CN 2013076462 W CN2013076462 W CN 2013076462W WO 2014019402 A1 WO2014019402 A1 WO 2014019402A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
objects
network element
path
object information
Prior art date
Application number
PCT/CN2013/076462
Other languages
French (fr)
Chinese (zh)
Inventor
李兴
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014019402A1 publication Critical patent/WO2014019402A1/en

Links

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/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Definitions

  • the present invention relates to the field of networks, and in particular, to a method and apparatus for displaying a service path in network fault maintenance. Background technique
  • the display method of the service path in the common network fault maintenance includes: First, the maintenance engineer determines the service and network entry affected by the fault; Second, the maintenance engineer manually uses the command line to The network entry starts to log in to the device hop by hop to find the service path step by step. Third, the maintenance engineer finds the faulty network element or link in the process of finding the service path.
  • the search service path is mainly completed by the maintenance engineer manually using the command line, and the entire process requires the maintenance engineer to master various devices.
  • the common command line in the fault scenario that is, the process of finding the service path mainly by the maintenance engineer's personal skill level, not only finds the service path less efficiently, but also relies heavily on the maintenance engineer's personal skill level. Summary of the invention
  • the embodiment of the invention provides a method and a device for displaying the service path in the network fault maintenance.
  • the technical solution is as follows:
  • a method for displaying a service path in network fault maintenance is provided, where the method package Includes:
  • object information of two objects where the object is a physical network element in the network or a virtual network element including part of object information of the physical network element;
  • the service path is an asynchronous transmission mode service, a time division multiplexing service, or a network element and a link through which the Ethernet service passes.
  • the acquiring the object information of the two objects includes:
  • two virtual network elements including blank object information are provided in advance, and the user sets the object information of the two virtual network elements.
  • the receiving user selects a preset physical network element, where each preset physical network element is stored, where the object information includes a network element name, a network element interface name, a network element interface IP address, and a loopback of the network element. Any of the address and the management IP address of the network element.
  • the searching for the service path between the two objects according to the object information includes:
  • a service type of the two objects Determining, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service;
  • the service path between the two objects is searched according to the first manner
  • the service path between the two objects is searched according to the second manner.
  • the searching for the service path between the two objects according to the first manner includes:
  • the searching for the service path between the two objects according to the second manner includes:
  • the forwarding table includes A combination of any one or more of a routing forwarding table, a MAC address forwarding table, and a label forwarding table; a network element and a link that the service passes through to the sink, and the determined network element and link are used as The business path.
  • the displaying the network element and the link on the service path includes:
  • the predetermined manner includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, in the two objects Undetermined network elements and links are indicated by dashed lines or dynamic dashed lines.
  • the method further includes:
  • the method further includes:
  • the performance parameter of the network element or the link selected by the user is displayed, where the performance parameter includes: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value;
  • the difference display comprising: at least one of a bold display, a different color display, and a dynamic effect display;
  • a second aspect provides a display device for a service path in network fault maintenance, where the device includes:
  • An information acquiring module configured to acquire object information of two objects, where the object is a physical network element in the network or a virtual network element that includes part of the object information of the physical network element;
  • a path finding module configured to search for a service path between the two objects according to the object information, where the service path is an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service corresponding to the two objects Network elements and links;
  • a path display module configured to display network elements and links on the service path between the two objects.
  • the information acquiring module specifically includes: at least one of a first acquiring unit, a second acquiring unit, and a third acquiring unit;
  • the first obtaining unit is configured to receive object information input by the user in the preset text input area
  • the second acquiring unit is configured to provide two virtual network elements including blank object information in advance, and receive the user Setting of object information of virtual network elements
  • the third acquiring unit is configured to receive a user selection of a preset physical network element, and each preset physical entity
  • the object information includes any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
  • the path searching module includes: a type determining unit, a first searching unit, and a second searching unit;
  • the type determining unit is configured to determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service; If it is determined that the service type of the two objects is an asynchronous transfer mode service or a time division multiplexing service, the service path between the two objects is searched according to the first manner;
  • the second searching unit is configured to search for a service path between the two objects according to the second manner if the service type of the two objects is determined to be an Ethernet service.
  • the first searching unit specifically includes:
  • the device search subunit is configured to search for a corresponding pseudowire device according to the object information of the object as the source end;
  • the pseudo-line search sub-unit is configured to query, according to configuration information in the pseudo-line device, a configuration of a corresponding pseudo-line path and/or a pseudo-line type;
  • the working path finding subunit is configured to search for a working path according to the configuration situation and/or a pseudowire type
  • the first path search subunit is configured to search for the passed network element and link according to the working path, and use the determined network element and link as the service path.
  • the second searching unit specifically includes:
  • the address matching sub-unit is configured to perform matching with the longest IP address according to the object information and the object information of the preset physical network element;
  • the forwarding query sub-unit is configured to query a corresponding forwarding table according to the object information of the physical network element that is the source end in the matched physical network element, where the forwarding table includes a routing forwarding table, a MAC address forwarding table, and a label forwarding table. a combination of any one or more;
  • the second path determining sub-unit is configured to determine, according to the forwarding information related to the physical network element as the source end, the network element and the link that the service passes when forwarding the service to the sink end, and determine The subsequent network elements and links serve as the service path.
  • the path display module is specifically configured to display the icons of the two objects at all times. And each time the network element or link on the service path of the two objects is determined, the network element and the link are displayed in a predetermined manner between the two objects,
  • the predetermined manner includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, in the two objects Undetermined network elements and links are indicated by dashed lines or dynamic dashed lines.
  • the display device of the service path in the network fault maintenance further includes: a complete search module
  • the complete search module is configured to search for a complete service path of the corresponding service according to the service path between the two objects;
  • the path display module is further configured to display network elements and links on the complete service path.
  • the display device of the service path in the network fault maintenance further includes: a performance parameter display module
  • the performance parameter display module is configured to display performance parameters of the network element or link selected by the user, where the performance parameters include: an alarm signal, a bandwidth utilization, and a CPU. At least one of occupancy, memory usage, cost value, and maximum transmission unit value;
  • the difference display module is configured to distinguish and display a link selected by a user, where the difference display comprises: at least one of a bold display, a different color display, and a dynamic effect display;
  • the path test module is configured to test a network element or link selected by a user, and the testing includes: executing a TRACE instruction or a PING instruction.
  • the process of finding the service path mainly relies on the maintenance engineer's personal skill level, so that the user can intuitively view the service path, thereby conveniently The effect of locating the location of the fault.
  • FIG. 1 is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention
  • 3A-3E are schematic diagrams showing implementation of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention.
  • FIG. 4 is a block diagram showing the structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention.
  • FIG. 5 is another structural block diagram of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention.
  • FIG. 6 is still another display device of a service path in network fault maintenance according to Embodiment 3 of the present invention.
  • FIG. 7 is a structural block diagram of a first searching unit according to Embodiment 3 of the present invention.
  • FIG. 8 is a structural block diagram of a second search unit according to Embodiment 3 of the present invention.
  • FIG. 9 is a block diagram showing still another structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention.
  • FIG. 10 is a block diagram showing still another structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 1 of the present invention.
  • the method for displaying the service path in the network fault maintenance may be applied to a terminal running a predetermined program, where the method for displaying the service path in the network fault maintenance may include: Step 101: Obtain object information of two objects, where the object is in the network a physical network element or a virtual network element that includes part of the object information of the physical network element;
  • the terminal may first acquire object information of two objects input by the user.
  • the "object” in this document can refer to the physical network element that actually exists in the network. It can also be a virtual network element that does not exist and only uses part of the object information of the physical network element. When you need to find the business path between two objects, you first need to provide the object information of the two objects.
  • the object information may be any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
  • Step 102 Search for a service path between the two objects according to the object information, where the service path is an asynchronous transmission mode service, a time division multiplexing service, or a network element and a link through which the Ethernet service passes.
  • the service path is an asynchronous transmission mode service, a time division multiplexing service, or a network element and a link through which the Ethernet service passes.
  • the terminal After the terminal obtains the object information of the two objects input by the user, the terminal can find the service path between the two objects according to the object information.
  • the service path is the network element and link through which the two-object asynchronous transmission mode service, time division multiplexing service, or Ethernet service passes.
  • the object information is the IP address of the network element interface
  • the terminal can query the corresponding routing forwarding table according to the IP address, and then gradually find the service path corresponding to the Ethernet service between the two objects according to the forwarding information.
  • Step 103 Display network elements and links on the service path between the two objects.
  • the user can be displayed in real time.
  • the display method of the service path in the network fault maintenance provided by the embodiment is to find and visually display the service path according to the object information provided by the user, and the process of finding the service path mainly relies on the personal skill of the maintenance engineer.
  • the level of the problem achieves the effect of allowing the user to view the service path more intuitively, thereby conveniently locating the location of the fault.
  • FIG. 2 it is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention.
  • the display method of the service path in the network fault maintenance may be applied to a terminal running a predetermined program, where the method for displaying the service path in the network fault maintenance may include: Step 201: Obtain object information of two objects, where the object is in the network A physical network element or a virtual network element that contains part of object information of a physical network element.
  • the terminal may first acquire the object information of the two objects input by the user.
  • the object is a physical network element in the network or a virtual network element that contains part of the object information of the physical network element.
  • the terminal acquires the object information of the two objects by using any one of the following three methods:
  • the terminal may provide a text input area to the user in advance, so that the user inputs the object information of the two objects that are to be searched for the service path in the text input area, where the object information includes the network element name, the network element interface name, and the network element interface IP address.
  • the object information includes the network element name, the network element interface name, and the network element interface IP address.
  • the user can input the IP address of the network element interface as the source end as "121.235.251.215" in the text input area 301, and the IP address of the network element interface as the sink end is "180.110.182.226", as shown in FIG. 3A.
  • two virtual network elements including blank object information are provided in advance, and the user sets the object information of the two virtual network elements, where the object information includes the network element name, the network element interface name, the network element interface IP address, and Any of the loopback addresses of the NE.
  • the terminal may also provide two virtual network elements including blank object information in advance.
  • the object information may be set as the object information of the virtual network element.
  • the user may include the preset two blanks.
  • the virtual network element 302 of the object information is dragged from the toolbar 303 to the path topology display area 304, as shown in FIG. 3B.
  • the default names of the two virtual network elements 302 are all V, and then the user sets the object information of the two known objects to the object information of the two virtual network elements 302.
  • the connection is selected in the toolbar 303, and the two virtual network elements 302 are connected by a connection to trigger the terminal to calculate the path information between the two virtual network elements 302.
  • the receiving user selects a preset physical network element, and each preset physical network element stores corresponding object information, and the two preset physical network elements selected by the user are used as two objects.
  • the user when the user does not know the object information, but the two objects that need to be searched for the service path are the two physical NEs that are actually present, the corresponding physical network element can be directly selected from the physical network elements provided by the terminal.
  • the terminal can pre-store object information of each physical network element without user input.
  • the terminal may provide 26 physical network elements including eight, B, C, and, and related topology relationships to the user in the physical topology display area 305, as shown in FIG. 3C.
  • the "C” physical network element and the "J” physical network element can be directly dragged from the function panel area 305 to the path topology display area 304. .
  • the connection line is selected in the toolbar 303, and the "C” physical network element and the "J” physical network element are connected by a connection to trigger the terminal to find the path information between the two physical network elements.
  • the terminal searches for path information between the two physical network elements, it can use the pre-stored "C” physical network element and the object information of the "J” physical network element to search.
  • Step 202 Determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service.
  • the terminal When the terminal finds the service path between two objects, it can judge the service type of the two objects according to the object information of the two objects. Specifically, when the object information received by the terminal is the network element name or the management IP address of the network element, the terminal may query the corresponding physical physical network element according to the network element name or the management IP address of the network element, and further, may query Go to all the NE interface names, NE interface IP addresses, and/or loopback addresses of NEs on the actual physical NE, and then use the queried information to determine the service type of the two objects. Specifically:
  • the service type of the object is determined as an ATM (Asynchronous Transfer Mode) service or a TDM (Time Division Multiplex) service.
  • the service type of the object is determined to be a service type that cannot be searched.
  • the service type of the object is determined to be Ethernet service.
  • Step 203 If it is determined that the service type of the two objects is an asynchronous transfer mode service or a time division multiplexing service, the service path between the two objects is searched according to the first manner.
  • the service path between the two objects is searched according to the first manner. Specifically, when the object information that is received by the terminal and is queried according to the network element name or the management IP address of the network element is the name of the network element interface bound to the PWE3, the service path between the two objects is searched according to the first manner. , can be achieved by the following steps:
  • the terminal can query the corresponding PW (Pseudo-Wire) device according to the object information of the object as the source end (the network element interface name bound to the PWE3).
  • PW Pulseudo-Wire
  • the configuration may include a normal PW, a bypass PW (Chinese: bypass PW), and an active/standby PE.
  • the pseudowire type may include a normal PW, a multi-segment PW, and a redundant PW.
  • the traversed network elements and links are searched according to the working path, and the determined network elements and links are used as service paths.
  • the traversed network element and the link can be searched, and the determined network element and link are used as the service path.
  • the network element that is the source end, the network element that is connected between each PW, and the network element that serves as the sink end can be determined according to the working path.
  • Step 204 If it is determined that the service type of the two objects is an Ethernet service, the service path between the two objects is searched according to the second manner.
  • the service path between the two objects is searched according to the second method, which can be implemented by using the following steps:
  • the longest IP address is matched according to the object information and the object information of the preset physical network element; the terminal matches the IP address in the received object information with the object information of the preset physical network element for the longest IP address.
  • the actual physical network element closest to the IP address in the received object information can be found, so as to be the entry point when searching for the service path.
  • the process of matching the longest IP address may be:
  • the object information of each preset physical network element stored in the terminal is not a specific IP address, but a variable length network prefix.
  • the object information of two physical network elements is "202.168.XX, output port 1, and "202.168.16.X, output port 2" (X means arbitrary), if the IP of the received object information The address is 202.168.16.5. After the longest IP address is matched, the physical NE with the IP address "202.168.16.X" is used as the matching physical NE.
  • the two physical network elements can be matched. For example, if the user inputs two object information through the virtual network element mode, The physical network element and the "V" physical network element are matched to the "F" physical network element; if the object information is input by the user through the preset physical network element, the physical network element can be directly matched to the preset physical network element, for example, the user passes the preset physical network element. In the mode, the "C” physical network element and the "J” physical network element are input, and the "C” physical network element and the "J” physical network element can be directly matched.
  • the corresponding forwarding table is queried according to the object information of the physical network element as the source end in the matched physical network element, and the forwarding table includes any one or a combination of the routing forwarding table, the MAC address forwarding table, and the label forwarding table. ;
  • the terminal can use the object information of the physical network element as the source end to query the corresponding forwarding table on the corresponding network element.
  • the forwarding table can be a routing forwarding table, a MAC address forwarding table, and a label forwarding table. Any combination of one or more. According to the forwarding information, the next station network element and the corresponding forwarding link forwarded when the service from the source end to the sink end is forwarded on the network element can be queried.
  • the terminal when the terminal searches for the service path between the "C” physical network element and the "J” physical network element, the terminal can query the next station network element to be “F” physical network according to the forwarding table on the "C” physical network element. And continue to query the next network element as the "H” physical network element according to the forwarding table on the "F” physical network element, and so on, and gradually determine the network passing through the service path. Meta and link, as shown in Figure 3D.
  • the service is gradually determined according to the forwarding information related to the physical network element as the source end in the forwarding table.
  • the network element and link that are forwarded to the sink end, and the determined network element and link are used as the service path.
  • the terminal can gradually determine the network elements and links that the service passes through when forwarding the service to the sink, and use the determined network element and link as the service path.
  • the terminal when the terminal searches for the service path between the "C” physical network element and the "J” physical network element, the terminal can finally determine the forward traffic path between the "C” physical network element and the "J” physical network element.
  • the network element has CFHDGVMJ, and the network element through which the reverse service path passes has JMZGDHFC.
  • Step 205 The icons of the two objects are always displayed, and each time a network element or link on the service path of the two objects is determined, the network element and the link are displayed in a predetermined manner between the two objects.
  • the terminal can always display two objects on the interface that need to query the service path, such as "C” physical network element and "J" physical network element, and then determine a network element or chain on the service path of the two objects each time.
  • the network element or link is displayed in a predetermined manner between the two objects.
  • the predetermined manner may include: adding an icon between two objects to represent the network element; using a solid line to represent the link between the two objects; and/or, using a dotted line or a dynamic dotted line between the two objects to indicate an undetermined network Meta and link.
  • the icon “F” when searching for the service path between the "C” physical network element and the "J” physical network element, when the "F” physical network element is found, the icon “F” may be added to indicate the found”.
  • F physical network element
  • the solid link between the "C” physical network element and the "F” physical network element can be used to represent the discovered link; in addition, the "H” physical network element and the "J” physical network Undetermined network elements and links may also be represented by dashed lines or dynamic dashed lines.
  • Step 206 Find a complete service path of the corresponding service according to the service path between the two objects; display the network element and the link on the complete service path.
  • the E2E path of the corresponding service may also be referred to as a complete service path.
  • the two objects specified by the user are the "C” physical network element and the "J" physical network element.
  • the terminal can continue to find this.
  • the process of continuing the search is similar to steps 202 through 204.
  • the process of continuing to search can be triggered by the user double-clicking the service path between the "C" physical network element and the "J” physical network element.
  • Step 207 Display or process the operation on the service path according to the user.
  • the user can display or perform subsequent operations on the service path. Specifically: First, the performance parameter of the network element or link selected by the user is displayed, and the performance parameters include: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value.
  • the terminal may receive the user's selection of the network element or the link on the service path, and after receiving the corresponding selection signal, display performance parameters of the network element or link selected by the user, and the performance parameters may be pre-stored in the terminal. Internally, it can also be obtained by the terminal immediately querying the corresponding network element. These performance parameters can be alarm signal, bandwidth utilization, CPU usage, memory usage, cost value (also known as COST value) or MTU (Maximum Transmission Unit) value. Certainly, the terminal may also display object information corresponding to the network element, such as a network element name, a network element interface name, a network element receiving an IP address, and the like.
  • the difference is displayed on the link selected by the user, and the difference display includes: at least one of a bold display, a different color display, and a dynamic effect display.
  • the link in the service path may be of various types, for example, the link may be an IP link, a VPLS (Virtual Private LAN Service) link, or an L3VPN (L3 Virtual Private Network). Tunnel (also known as tunnel) and Ethernet link.
  • the terminal can display the included link type in the service path in the path type display area in Fig. 3E.
  • the link between the H-Ds on the C-J service path is a tunnel link.
  • the links between the H-Ds can be displayed to the user.
  • the manner of distinguishing the display may include: at least one of a bold display, a different color display, and a dynamic effect display.
  • testing the network element or link selected by the user includes: executing a TRACE instruction or a PING instruction.
  • the terminal can test the corresponding network element or link according to the user's selection. Tests can include TRACE (ie, trace) instructions or PING instructions. According to different network elements or link types, the PING command can be divided into TUNNEL PING, combined PING, intelligent PING, and segment-by-segment PING.
  • the service path is enlarged or reduced according to the operation of the user
  • the path CJ that has been found in FIG. 3E can be displayed in a corresponding manner in the physical topology display area 305.
  • the manner of distinguishing the display may include: at least one of bold display, different color display, and dynamic effect display. kind.
  • the display method of the service path in the network fault maintenance provided by the embodiment is to find and visually display the service path according to the object information provided by the user, and the process of finding the service path mainly relies on the personal skill of the maintenance engineer.
  • the level of problems that can be achieved can make the user more straight View the business path and view the effect of the location of the fault.
  • the display method of the service path in the network fault maintenance provided by the embodiment further provides a convenient and intuitive search for the service path by providing a plurality of input manners of object information and multiple visualization modes.
  • FIG. 4 it is a structural block diagram of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention.
  • the display device of the service path in the network fault maintenance may include: an information acquisition module 420, a path search module 440, and a path display module 460.
  • the information acquisition module 420 is configured to acquire object information of two objects.
  • the path finding module 440 is configured to find the service path between the two objects according to the object information acquired by the information obtaining module 420.
  • the path display module 460 is used to display network elements and links on the service path between two objects.
  • the information obtaining module 420 may specifically include: at least one of the first obtaining unit 422, the second obtaining unit 424, and the third obtaining unit 426, as shown in FIG. 5.
  • the first obtaining unit 422 is configured to receive object information input by the user in the preset text input area.
  • the second obtaining unit 424 is configured to provide two virtual network elements including blank object information in advance, and receive the user to the two virtual network elements.
  • the third obtaining unit 426 is configured to receive the user's selection of the preset physical network element, each preset physical network element stores the corresponding object information, and the two physical network elements selected by the user are used as two
  • the object information includes any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
  • the path finding module 440 may specifically include: a type determining unit 442, a first looking unit 444, and a second searching unit 446, as shown in FIG. 6.
  • the type determining unit 442 is configured to determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service.
  • the first searching unit 444 is configured to determine the service type of the two objects. If the service mode is the asynchronous transfer mode service or the time division multiplexing service, the service path between the two objects is searched according to the first manner; the second search unit 446 is configured to determine the service type of the two objects as the Ethernet service, according to the second mode. Find the business path between two objects.
  • the first searching unit 444 may specifically include: a device lookup subunit 444a, a pseudowire lookup subunit 444b, a work path lookup subunit 444c, and a first path determining subunit 444d, as shown in FIG.
  • the device search subunit 444a is configured to search for a corresponding pseudowire device according to the object information of the object as the source end;
  • the pseudowire lookup subunit 444b is configured to use the configuration information according to the pseudowire device.
  • the working path finding subunit 444c is configured to search the working path according to the configuration situation and/or the pseudowire type
  • the first path searching subunit 444d is configured to search for the path according to the working path.
  • the network element and the link, and the determined network element and link are used as the service path.
  • the second searching unit 446 may specifically include: an address matching subunit 446a, a forwarding query subunit 446b, and a second path determining subunit 446c, as shown in FIG.
  • the address matching sub-unit 446a is configured to perform the longest IP address matching according to the object information and the object information of the preset physical network element.
  • the forwarding query sub-unit 446b is configured to use the physical network element as the source end in the matched physical network element.
  • the object information query corresponds to a forwarding table, and the forwarding table includes a combination of any one or more of a routing forwarding table, a MAC address forwarding table, and a label forwarding table.
  • the second path determining sub-unit 446c is configured to use the forwarding table as the source end.
  • the forwarding information related to the physical network element is used to determine the network element and the link through which the service is forwarded to the sink, and the determined network element and link are used as the service path.
  • the path display module 460 is specifically configured to display an icon of two objects at all times, and display the network element between the two objects according to a predetermined manner each time a network element or link on the service path of the two objects is determined.
  • the link, the predetermined manner includes: adding an icon between two objects to represent the network element; using a solid line to represent the link between the two objects; and/or, using a dotted line or a dynamic dotted line between the two objects to indicate undetermined Network elements and links.
  • the display device of the service path in the network fault maintenance may further include: a complete search module 480, as shown in FIG.
  • the complete search module 480 is configured to find a complete service path of the corresponding service according to the service path between the two objects.
  • the path display module 460 is also used to display the network elements and links on the complete service path found by the full lookup module 480.
  • the display device of the service path in the network fault maintenance may further include: at least one of the performance parameter display module 490a, the difference display module 490b or the path test module 490c, as shown in FIG.
  • the performance parameter display module 490a is configured to display performance parameters of the network element or link selected by the user, and the performance parameters include: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value.
  • the performance parameters include: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value.
  • the difference display module 490b is configured to distinguish between the links selected by the user, and the difference display comprises: at least one of thick display, different color display, and dynamic effect display;
  • the path test module 490c is configured to test a network element or link selected by the user, and the test includes: executing a TRACE instruction or a PING instruction.
  • the display device of the service path in the network fault maintenance provided by this embodiment passes through the root According to the object information provided by the user, the service path is searched and visually displayed, and the process of finding the service path mainly relies on the problem of the maintenance engineer's personal skill level, so that the user can intuitively view the service path, thereby conveniently positioning The effect of the location of the fault.
  • the display method of the service path in the network fault maintenance provided by the embodiment further provides a convenient and intuitive search for the service path by providing a plurality of input manners of object information and multiple visualization modes.
  • the display device of the service path in the network fault maintenance is only used to illustrate the division of the foregoing functional modules when the service path is searched.
  • the foregoing functions may be allocated according to requirements.
  • the different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the display device of the service path in the network fault maintenance provided by the foregoing embodiment is the same as the embodiment of the method for displaying the service path in the network fault maintenance. For the specific implementation process, refer to the method embodiment, which is not described herein.

Landscapes

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

Abstract

Disclosed in the present invention are a method and device for displaying a service path in network trouble maintenance, which belong to the technical field of network. The method comprises: acquiring object information of two objects; searching for a service path between said two objects according to the object information; displaying network elements and links of the service path between said two objects. Meanwhile, the device for displaying the service path in network trouble maintenance is provided, and comprises: an information acquiring module, used for acquiring object information of two objects; a path searching module, used for searching for the service path between said two objects according to the object information; a path displaying module, used for displaying network elements and links of the service path between said two objects. By searching for and visually displaying the service path according to the object information provided by a user, the present invention achieves the effect of enabling the user to look over the service path intuitively, thus locating the position of the trouble conveniently.

Description

网络故障维护中业务路径的显示方法及装置 本申请要求于 2012 年 7 月 30 日提交中国专利局、 申请号为 201210268347.5、 发明名称为 "网络故障维护中业务路径的显示方法及装置" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Method and device for displaying service path in network fault maintenance This application claims to be submitted to the Chinese Patent Office on July 30, 2012, the application number is 201210268347.5, and the Chinese patent entitled "Display Method and Device of Business Path in Network Fault Maintenance" Priority of the application, the entire contents of which are incorporated herein by reference. Technical field
本发明涉及网络领域, 特别涉及一种网络故障维护中业务路径的显示方法 及装置。 背景技术  The present invention relates to the field of networks, and in particular, to a method and apparatus for displaying a service path in network fault maintenance. Background technique
随着电信网络全 IP化进程, 如何实现 IP网络的运营和维护是电信运营商 和设备商的共同难题。 比如, 当 IP 网络中发生故障时, 如何快速地对故障进 行定位是当前电信运营商的研究课题之一。  With the full IP process of telecommunication networks, how to realize the operation and maintenance of IP networks is a common problem for telecom operators and equipment vendors. For example, when a fault occurs in an IP network, how to quickly locate the fault is one of the research topics of current telecom operators.
在现有的故障排除过程中, 常用的网络故障维护中业务路径的显示方法包 括: 第一, 由维护工程师确定故障影响的业务和网络入口; 第二, 由维护工程 师手动使用命令行的方式从网络入口开始来逐跳登录设备, 以逐步查找业务路 径; 第三, 由维护工程师在查找业务路径的过程中, 发现故障网元或者链路。  In the existing troubleshooting process, the display method of the service path in the common network fault maintenance includes: First, the maintenance engineer determines the service and network entry affected by the fault; Second, the maintenance engineer manually uses the command line to The network entry starts to log in to the device hop by hop to find the service path step by step. Third, the maintenance engineer finds the faulty network element or link in the process of finding the service path.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 现有技 术中, 查找业务路径主要是通过维护工程师手动使用命令行的方式完成, 整个 过程需要维护工程师熟练掌握各种设备在故障场景下的常用命令行, 也即主要 靠维护工程师的个人技能水平来完成查找业务路径的过程, 不仅查找业务路径 的效率较低, 而且严重依赖维护工程师的个人技能水平。 发明内容  In the process of implementing the present invention, the inventor has found that the prior art has at least the following problems: In the prior art, the search service path is mainly completed by the maintenance engineer manually using the command line, and the entire process requires the maintenance engineer to master various devices. The common command line in the fault scenario, that is, the process of finding the service path mainly by the maintenance engineer's personal skill level, not only finds the service path less efficiently, but also relies heavily on the maintenance engineer's personal skill level. Summary of the invention
为了解决查找业务路径的过程主要依赖维护工程师的个人技能水平的问 题, 本发明实施例提供了一种网络故障维护中业务路径的显示方法及装置。 所 述技术方案如下:  In order to solve the problem that the process of locating the service path mainly depends on the maintenance engineer's skill level, the embodiment of the invention provides a method and a device for displaying the service path in the network fault maintenance. The technical solution is as follows:
第一方面, 提供了一种网络故障维护中业务路径的显示方法, 所述方法包 括: In a first aspect, a method for displaying a service path in network fault maintenance is provided, where the method package Includes:
获取两个对象的对象信息, 所述对象是所述网络中的物理网元或者包含物 理网元的一部分对象信息的虚拟网元;  Obtaining object information of two objects, where the object is a physical network element in the network or a virtual network element including part of object information of the physical network element;
根据所述对象信息来查找所述两个对象之间的业务路径, 所述业务路径是 所述两个对象对应的异步传输模式业务、 时分复用业务或者以太业务所经过的 网元和链路;  Searching for a service path between the two objects according to the object information, where the service path is an asynchronous transmission mode service, a time division multiplexing service, or a network element and a link through which the Ethernet service passes. ;
显示所述两个对象之间的业务路径上的网元和链路。  Display network elements and links on the service path between the two objects.
在第一方面的第一种可能的实现方式中, 所述获取两个对象的对象信息, 具体包括:  In the first possible implementation manner of the first aspect, the acquiring the object information of the two objects includes:
接收用户在预设文本输入区域输入的对象信息;  Receiving object information input by the user in the preset text input area;
或者, 预先提供两个包括空白对象信息的虚拟网元, 接收用户对所述两个 虚拟网元的对象信息的设置;  Alternatively, two virtual network elements including blank object information are provided in advance, and the user sets the object information of the two virtual network elements.
或者, 接收用户对预设物理网元的选择, 每个预设物理网元存储有对应的 其中, 所述对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网元的回环地址和网元的管理 IP地址中的任意一种。  Or, the receiving user selects a preset physical network element, where each preset physical network element is stored, where the object information includes a network element name, a network element interface name, a network element interface IP address, and a loopback of the network element. Any of the address and the management IP address of the network element.
在第一方面的第二种可能的实现方式中, 所述根据所述对象信息来查找所 述两个对象之间的业务路径, 具体包括:  In a second possible implementation manner of the first aspect, the searching for the service path between the two objects according to the object information includes:
根据所述对象信息判断所述两个对象的业务类型, 所述业务类型包括异步 传输模式业务、 时分复用业务或者以太业务;  Determining, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service;
如果判断所述两个对象的业务类型是异步传输模式业务或者时分复用业 务, 则按照第一方式查找所述两个对象之间的业务路径;  If it is determined that the service type of the two objects is an asynchronous transfer mode service or a time division multiplexing service, the service path between the two objects is searched according to the first manner;
如果判断所述两个对象的业务类型是以太业务, 则按照第二方式查找所述 两个对象之间的业务路径。  If it is determined that the service type of the two objects is an Ethernet service, the service path between the two objects is searched according to the second manner.
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述按照第一方式查找所述两个对象之间的业务路径, 具体包括:  With reference to the second possible implementation of the first aspect, in a third possible implementation manner, the searching for the service path between the two objects according to the first manner includes:
根据作为源端的对象的对象信息查找对应的伪线设备;  Finding a corresponding pseudowire device according to object information of the object as the source end;
根据所述伪线设备中的配置信息查询对应伪线路径的配置情况和 /或伪线 类型;  Querying, according to configuration information in the pseudowire device, a configuration of a corresponding pseudowire path and/or a pseudowire type;
根据所述配置情况和 /或伪线类型查找工作路径;  Find a working path according to the configuration situation and/or pseudowire type;
根据所述工作路径查找经过的网元和链路, 并将确定后的网元和链路作为 所述业务路径。 Finding the passed network element and link according to the working path, and using the determined network element and link as The business path.
结合第一方面的第二种可能的实现方式, 在第四种可能的实现方式中, 所 述按照第二方式查找所述两个对象之间的业务路径, 具体包括:  With reference to the second possible implementation of the first aspect, in a fourth possible implementation, the searching for the service path between the two objects according to the second manner includes:
根据所述对象信息与所述预设物理网元的对象信息进行最长 IP地址匹配; 根据匹配到的物理网元中作为源端的物理网元的对象信息查询对应转发 表, 所述转发表包括路由转发表、 MAC地址转发表和标签转发表中的任一种 或者多种的组合; 业务转发至宿端时所经过的网元和链路, 并将确定后的网元和链路作为所述业 务路径。  And performing the matching of the longest IP address according to the object information and the object information of the preset physical network element; and querying the corresponding forwarding table according to the object information of the physical network element that is the source end in the matched physical network element, where the forwarding table includes A combination of any one or more of a routing forwarding table, a MAC address forwarding table, and a label forwarding table; a network element and a link that the service passes through to the sink, and the determined network element and link are used as The business path.
结合第一方面、 第一方面的第一至四种任一可能的实现方式, 在第五种可 能的实现方式中, 所述显示所述业务路径上的网元和链路, 具体包括:  With reference to the first aspect, the first to the fourth possible implementation manners of the first aspect, in the fifth possible implementation, the displaying the network element and the link on the service path includes:
始终显示所述两个对象的图标, 并在每次确定到所述两个对象的业务路径 上的一个网元或链路时, 在所述两个对象之间按照预定方式显示所述网元和链 路,  Displaying the icons of the two objects at all times, and displaying the network elements in a predetermined manner between the two objects each time a network element or link on the service path of the two objects is determined And links,
所述预定方式包括: 在所述两个对象之间添加图标表示所述网元; 在所述 两个对象之间采用实线表示所述链路; 和 /或,在所述两个对象之间采用虚线或 动态虚线表示未确定的网元和链路。  The predetermined manner includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, in the two objects Undetermined network elements and links are indicated by dashed lines or dynamic dashed lines.
在第一方面的第六种可能的实现方式中, 所述显示所述业务路径上的网元 和链路之后, 还包括:  In a sixth possible implementation manner of the foregoing aspect, after the displaying the network element and the link on the service path, the method further includes:
根据所述两个对象之间的业务路径查找对应业务的完整业务路径; 显示所述完整业务路径上的网元和链路。  Finding a complete service path of the corresponding service according to the service path between the two objects; displaying the network element and the link on the complete service path.
结合第一方面、 第一方面的第六种可能的实现方式, 在第七种可能的实现 方式中, 所述显示所述业务路径上的网元和链路之后, 还包括:  With reference to the first aspect, the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner, after the displaying the network element and the link on the service path, the method further includes:
显示被用户选择的网元或链路的性能参数,所述性能参数包括:告警信号、 带宽利用率、 CPU占用率、 内存占用率、 代价值和最大传输单元值中的至少一 种;  The performance parameter of the network element or the link selected by the user is displayed, where the performance parameter includes: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value;
和 /或, 区别显示被用户选择的链路, 所述区别显示包括: 加粗显示、 不同 颜色显示和动态效果显示中的至少一种;  And/or, differently displaying the link selected by the user, the difference display comprising: at least one of a bold display, a different color display, and a dynamic effect display;
和 /或, 测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令 或 PING指令。 第二方面, 提供了一种网络故障维护中业务路径的显示装置, 所述装置包 括: And/or, testing a network element or link selected by the user, the test comprising: executing a TRACE instruction or a PING instruction. A second aspect provides a display device for a service path in network fault maintenance, where the device includes:
信息获取模块, 用于获取两个对象的对象信息, 所述对象是所述网络中的 物理网元或者包含物理网元的一部分对象信息的虚拟网元;  An information acquiring module, configured to acquire object information of two objects, where the object is a physical network element in the network or a virtual network element that includes part of the object information of the physical network element;
路径查找模块, 用于根据所述对象信息来查找所述两个对象之间的业务路 径, 所述业务路径是所述两个对象对应的异步传输模式业务、 时分复用业务或 者以太业务所经过的网元和链路;  a path finding module, configured to search for a service path between the two objects according to the object information, where the service path is an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service corresponding to the two objects Network elements and links;
路径显示模块, 用于显示所述两个对象之间的业务路径上的网元和链路。 在第二方面的第一种可能的实现方式中, 所述信息获取模块, 具体包括: 第一获取单元、 第二获取单元和第三获取单元中的至少一个;  A path display module, configured to display network elements and links on the service path between the two objects. In a first possible implementation manner of the second aspect, the information acquiring module specifically includes: at least one of a first acquiring unit, a second acquiring unit, and a third acquiring unit;
所述第一获取单元, 用于接收用户在预设文本输入区域输入的对象信息; 所述第二获取单元, 用于预先提供两个包括空白对象信息的虚拟网元, 接 收用户对所述两个虚拟网元的对象信息的设置;  The first obtaining unit is configured to receive object information input by the user in the preset text input area, and the second acquiring unit is configured to provide two virtual network elements including blank object information in advance, and receive the user Setting of object information of virtual network elements;
所述第三获取单元, 用于接收用户对预设物理网元的选择, 每个预设物理  The third acquiring unit is configured to receive a user selection of a preset physical network element, and each preset physical entity
其中, 所述对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网元的回环地址和网元的管理 IP地址中的任意一种。 The object information includes any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
在第二方面的第二种可能的实现方式中, 所述路径查找模块, 具体包括: 类型判断单元、 第一查找单元和第二查找单元;  In a second possible implementation manner of the second aspect, the path searching module includes: a type determining unit, a first searching unit, and a second searching unit;
所述类型判断单元, 用于根据所述对象信息判断所述两个对象的业务类 型, 所述业务类型包括异步传输模式业务、 时分复用业务或者以太业务; 所述第一查找单元, 用于如果判断所述两个对象的业务类型是异步传输模 式业务或者时分复用业务, 则按照第一方式查找所述两个对象之间的业务路 径;  The type determining unit is configured to determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service; If it is determined that the service type of the two objects is an asynchronous transfer mode service or a time division multiplexing service, the service path between the two objects is searched according to the first manner;
所述第二查找单元, 用于如果判断所述两个对象的业务类型是以太业务, 则按照第二方式查找所述两个对象之间的业务路径。  The second searching unit is configured to search for a service path between the two objects according to the second manner if the service type of the two objects is determined to be an Ethernet service.
结合第二方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述第一查找单元, 具体包括:  With reference to the second possible implementation of the second aspect, in a third possible implementation, the first searching unit specifically includes:
设备查找子单元、 伪线查找子单元、 工作路径查找子单元和第一路径确定 子单元; 所述设备查找子单元, 用于根据作为源端的对象的对象信息查找对应的伪 线设备; a device lookup subunit, a pseudowire lookup subunit, a workpath lookup subunit, and a first path determining subunit; The device search subunit is configured to search for a corresponding pseudowire device according to the object information of the object as the source end;
所述伪线查找子单元, 用于根据所述伪线设备中的配置信息查询对应伪线 路径的配置情况和 /或伪线类型;  The pseudo-line search sub-unit is configured to query, according to configuration information in the pseudo-line device, a configuration of a corresponding pseudo-line path and/or a pseudo-line type;
所述工作路径查找子单元,用于根据所述配置情况和 /或伪线类型查找工作 路径;  The working path finding subunit is configured to search for a working path according to the configuration situation and/or a pseudowire type;
所述第一路径查找子单元, 用于根据所述工作路径查找经过的网元和链 路, 并将确定后的网元和链路作为所述业务路径。  The first path search subunit is configured to search for the passed network element and link according to the working path, and use the determined network element and link as the service path.
结合第二方面的第二种可能的实现方式, 在第四种可能的实现方式中, 所 述第二查找单元, 具体包括:  With reference to the second possible implementation of the second aspect, in a fourth possible implementation, the second searching unit specifically includes:
地址匹配子单元、 转发查询子单元和第二路径确定子单元;  An address matching subunit, a forwarding query subunit, and a second path determining subunit;
所述地址匹配子单元, 用于根据所述对象信息与所述预设物理网元的对象 信息进行最长 IP地址匹配;  The address matching sub-unit is configured to perform matching with the longest IP address according to the object information and the object information of the preset physical network element;
所述转发查询子单元, 用于根据匹配到的物理网元中作为源端的物理网元 的对象信息查询对应转发表, 所述转发表包括路由转发表、 MAC地址转发表 和标签转发表中的任一种或者多种的组合;  The forwarding query sub-unit is configured to query a corresponding forwarding table according to the object information of the physical network element that is the source end in the matched physical network element, where the forwarding table includes a routing forwarding table, a MAC address forwarding table, and a label forwarding table. a combination of any one or more;
所述第二路径确定子单元, 用于根据所述转发表中与所述作为源端的物理 网元相关的转发信息逐步确定业务转发至宿端时所经过的网元和链路, 并将确 定后的网元和链路作为所述业务路径。  The second path determining sub-unit is configured to determine, according to the forwarding information related to the physical network element as the source end, the network element and the link that the service passes when forwarding the service to the sink end, and determine The subsequent network elements and links serve as the service path.
结合第二方面、 第二方面的第一至四种任一可能的实现方式, 在第五种可 能的实现方式中,所述路径显示模块,具体用于始终显示所述两个对象的图标, 并在每次确定到所述两个对象的业务路径上的一个网元或链路时,在所述两个 对象之间按照预定方式显示所述网元和链路,  With reference to the second aspect, the first to the fourth possible implementation manners of the second aspect, in the fifth possible implementation, the path display module is specifically configured to display the icons of the two objects at all times. And each time the network element or link on the service path of the two objects is determined, the network element and the link are displayed in a predetermined manner between the two objects,
所述预定方式包括: 在所述两个对象之间添加图标表示所述网元; 在所述 两个对象之间采用实线表示所述链路; 和 /或,在所述两个对象之间采用虚线或 动态虚线表示未确定的网元和链路。  The predetermined manner includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, in the two objects Undetermined network elements and links are indicated by dashed lines or dynamic dashed lines.
在第二方面的第六种可能的实现方式中, 所述网络故障维护中业务路径的 显示装置, 还包括: 完整查找模块;  In a sixth possible implementation manner of the second aspect, the display device of the service path in the network fault maintenance further includes: a complete search module;
所述完整查找模块, 用于根据所述两个对象之间的业务路径查找对应业务 的完整业务路径;  The complete search module is configured to search for a complete service path of the corresponding service according to the service path between the two objects;
所述路径显示模块, 还用于显示所述完整业务路径上的网元和链路。 结合第二方面或者第二方面的第六种可能的实现方式, 在第二方面的第七 种可能的实现方式中, 所述网络故障维护中业务路径的显示装置, 还包括: 性能参数显示模块、 区别显示模块或路径测试模块中的至少一个; 所述性能参数显示模块, 用于显示被用户选择的网元或链路的性能参数, 所述性能参数包括: 告警信号、 带宽利用率、 CPU占用率、 内存占用率、 代价 值和最大传输单元值中的至少一种; The path display module is further configured to display network elements and links on the complete service path. With reference to the second aspect, or the sixth possible implementation manner of the second aspect, in the seventh possible implementation manner of the second aspect, the display device of the service path in the network fault maintenance further includes: a performance parameter display module The performance parameter display module is configured to display performance parameters of the network element or link selected by the user, where the performance parameters include: an alarm signal, a bandwidth utilization, and a CPU. At least one of occupancy, memory usage, cost value, and maximum transmission unit value;
所述区别显示模块,用于区别显示被用户选择的链路,所述区别显示包括: 加粗显示、 不同颜色显示和动态效果显示中的至少一种;  The difference display module is configured to distinguish and display a link selected by a user, where the difference display comprises: at least one of a bold display, a different color display, and a dynamic effect display;
所述路径测试模块, 用于测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令或 PING指令。  The path test module is configured to test a network element or link selected by a user, and the testing includes: executing a TRACE instruction or a PING instruction.
本发明实施例提供的技术方案带来的有益效果是:  The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
通过根据用户提供的对象信息来查找并可视化地显示业务路径, 解决了查 找业务路径的过程主要依赖维护工程师的个人技能水平的问题, 达到了可以使 用户较为直观地查看到业务路径, 从而方便地定位故障所在位置的效果。 附图说明  By finding and visually displaying the service path according to the object information provided by the user, the process of finding the service path mainly relies on the maintenance engineer's personal skill level, so that the user can intuitively view the service path, thereby conveniently The effect of locating the location of the fault. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图 1是本发明实施例一提供的网络故障维护中业务路径的显示方法的方法 流程图;  1 is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 1 of the present invention;
图 2是本发明实施例二提供的网络故障维护中业务路径的显示方法的方法 流程图;  2 is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention;
图 3A-图 3E是本发明实施例二提供的网络故障维护中业务路径的显示方 法的实施示意图;  3A-3E are schematic diagrams showing implementation of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention;
图 4是本发明实施例三提供的网络故障维护中业务路径的显示装置的结构 方框图;  4 is a block diagram showing the structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention;
图 5是本发明实施例三提供的网络故障维护中业务路径的显示装置的另一 结构方框图;  5 is another structural block diagram of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention;
图 6是本发明实施例三提供的网络故障维护中业务路径的显示装置的再一 结构方框图; FIG. 6 is still another display device of a service path in network fault maintenance according to Embodiment 3 of the present invention; Structural block diagram
图 7是本发明实施例三提供的第一查找单元的结构方框图;  7 is a structural block diagram of a first searching unit according to Embodiment 3 of the present invention;
图 8是本发明实施例三提供的第二查找单元的结构方框图;  8 is a structural block diagram of a second search unit according to Embodiment 3 of the present invention;
图 9是本发明实施例三提供的网络故障维护中业务路径的显示装置的又一 结构方框图;  9 is a block diagram showing still another structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention;
图 10是本发明实施例三提供的网络故障维护中业务路径的显示装置的还 一结构方框图。 具体实施方式  FIG. 10 is a block diagram showing still another structure of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
实施例一  Embodiment 1
请参考图 1 , 其示出了本发明实施例一提供的网络故障维护中业务路径的 显示方法的方法流程图。 该网络故障维护中业务路径的显示方法可以应用于运 行有预定程序的终端中, 该网络故障维护中业务路径的显示方法可以包括: 步骤 101 , 获取两个对象的对象信息, 对象是网络中的物理网元或者包含 物理网元的一部分对象信息的虚拟网元;  Please refer to FIG. 1 , which is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 1 of the present invention. The method for displaying the service path in the network fault maintenance may be applied to a terminal running a predetermined program, where the method for displaying the service path in the network fault maintenance may include: Step 101: Obtain object information of two objects, where the object is in the network a physical network element or a virtual network element that includes part of the object information of the physical network element;
终端可以首先获取用户输入的两个对象的对象信息。 本文中的 "对象" 可 以是指网络中实际存在的物理网元; 也可以是指实际不存在, 只采用物理网元 的一部分对象信息描述的虚拟网元。 当需要查找两个对象之间的业务路径时, 首先需要用户提供两个对象的对象信息。 对象信息可以是网元名称、 网元接口 名称、 网元接口 IP地址、 网元的回环地址和网元的管理 IP地址中的任意一种。  The terminal may first acquire object information of two objects input by the user. The "object" in this document can refer to the physical network element that actually exists in the network. It can also be a virtual network element that does not exist and only uses part of the object information of the physical network element. When you need to find the business path between two objects, you first need to provide the object information of the two objects. The object information may be any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
步骤 102, 根据对象信息来查找两个对象之间的业务路径, 业务路径是两 个对象对应的异步传输模式业务、 时分复用业务或者以太业务所经过的网元和 链路;  Step 102: Search for a service path between the two objects according to the object information, where the service path is an asynchronous transmission mode service, a time division multiplexing service, or a network element and a link through which the Ethernet service passes.
终端在获取到用户输入的两个对象的对象信息之后, 终端可以根据对象信 息来查找两个对象之间的业务路径。 业务路径是两个对象对应的异步传输模式 业务、 时分复用业务或者以太业务所经过的网元和链路。 比如, 对象信息是网 元接口 IP地址, 则终端可以根据该 IP地址来查询对应的路由转发表, 然后根 据转发信息逐步查找两个对象之间对应的以太业务的业务路径。  After the terminal obtains the object information of the two objects input by the user, the terminal can find the service path between the two objects according to the object information. The service path is the network element and link through which the two-object asynchronous transmission mode service, time division multiplexing service, or Ethernet service passes. For example, if the object information is the IP address of the network element interface, the terminal can query the corresponding routing forwarding table according to the IP address, and then gradually find the service path corresponding to the Ethernet service between the two objects according to the forwarding information.
步骤 103 , 显示两个对象之间的业务路径上的网元和链路。 在终端查找两个对象之间的业务路径的过程中,每查找到该业务路径上的 一个网元或者一段链路时, 都可以实时地显示给用户。 Step 103: Display network elements and links on the service path between the two objects. In the process of the terminal searching for the service path between the two objects, each time a network element or a link on the service path is found, the user can be displayed in real time.
综上所述, 本实施例提供的网络故障维护中业务路径的显示方法, 通过根 据用户提供的对象信息来查找并可视化地显示业务路径,解决了查找业务路径 的过程主要依赖维护工程师的个人技能水平的问题, 达到了可以使用户较为直 观地查看到业务路径, 从而方便地定位故障所在位置的效果。 实施例二  In summary, the display method of the service path in the network fault maintenance provided by the embodiment is to find and visually display the service path according to the object information provided by the user, and the process of finding the service path mainly relies on the personal skill of the maintenance engineer. The level of the problem achieves the effect of allowing the user to view the service path more intuitively, thereby conveniently locating the location of the fault. Embodiment 2
请参考图 2, 其示出了本发明实施例二提供的网络故障维护中业务路径的 显示方法的方法流程图。 该网络故障维护中业务路径的显示方法可以应用于运 行有预定程序的终端中, 该网络故障维护中业务路径的显示方法可以包括: 步骤 201 , 获取两个对象的对象信息, 对象是网络中的物理网元或者包含 物理网元的一部分对象信息的虚拟网元。  Referring to FIG. 2, it is a flowchart of a method for displaying a service path in network fault maintenance according to Embodiment 2 of the present invention. The display method of the service path in the network fault maintenance may be applied to a terminal running a predetermined program, where the method for displaying the service path in the network fault maintenance may include: Step 201: Obtain object information of two objects, where the object is in the network A physical network element or a virtual network element that contains part of object information of a physical network element.
当用户希望查找两个对象的业务路径时, 终端可以首先获取用户输入的两 个对象的对象信息。对象是网络中的物理网元或者包含物理网元的一部分对象 信息的虚拟网元。 具体地讲, 终端获取两个对象的对象信息可以采用如下三种 方式中的任意一种来实现:  When the user wants to find the service path of two objects, the terminal may first acquire the object information of the two objects input by the user. The object is a physical network element in the network or a virtual network element that contains part of the object information of the physical network element. Specifically, the terminal acquires the object information of the two objects by using any one of the following three methods:
第一, 接收用户在预设文本输入区域输入的对象信息;  First, receiving object information input by the user in the preset text input area;
终端可以预先提供文本输入区域给用户, 以便接收用户在文本输入区域中 输入希望查找业务路径两个对象的对象信息, 其中, 对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网元的回环地址和网元的管理 IP地址中的 任意一种。 比如, 用户可以在文本输入区域 301中输入作为源端的网元接口 IP 地址为 " 121.235.251.215 " , 输入作为宿端的网元接口 IP 地址为 "180.110.182.226" , 如图 3A所示。  The terminal may provide a text input area to the user in advance, so that the user inputs the object information of the two objects that are to be searched for the service path in the text input area, where the object information includes the network element name, the network element interface name, and the network element interface IP address. Any one of the loopback address of the NE and the management IP address of the NE. For example, the user can input the IP address of the network element interface as the source end as "121.235.251.215" in the text input area 301, and the IP address of the network element interface as the sink end is "180.110.182.226", as shown in FIG. 3A.
第二, 预先提供两个包括空白对象信息的虚拟网元, 接收用户对两个虚拟 网元的对象信息的设置, 其中, 对象信息包括网元名称、 网元接口名称、 网元 接口 IP地址和网元的回环地址中的任意一种。  Secondly, two virtual network elements including blank object information are provided in advance, and the user sets the object information of the two virtual network elements, where the object information includes the network element name, the network element interface name, the network element interface IP address, and Any of the loopback addresses of the NE.
终端也可以预先提供两个包括空白对象信息的虚拟网元, 当用户已知两个 对象的对象信息,但是无法确定对象信息是否为一个真实存在的物理网元的对 象信息时, 或者无法确定对象信息是哪一个物理网元的对象信息时, 可以将该 对象信息设置为虚拟网元的对象信息, 比如, 用户可以将预设的两个包括空白 对象信息的虚拟网元 302从工具栏 303拖动到路径拓朴显示区域 304,如图 3B 所示。 两个虚拟网元 302的默认名称均为 V, 然后用户分别设置已知的两个对 象的对象信息为两个虚拟网元 302的对象信息。并在设置完成后,在工具栏 303 选择连线,用连线连接两个虚拟网元 302,以触发终端计算这两个虚拟网元 302 之间的路径信息。 The terminal may also provide two virtual network elements including blank object information in advance. When the user knows the object information of two objects, but cannot determine whether the object information is object information of a real physical network element, or the object cannot be determined. When the information of the physical network element is the object information, the object information may be set as the object information of the virtual network element. For example, the user may include the preset two blanks. The virtual network element 302 of the object information is dragged from the toolbar 303 to the path topology display area 304, as shown in FIG. 3B. The default names of the two virtual network elements 302 are all V, and then the user sets the object information of the two known objects to the object information of the two virtual network elements 302. After the setting is completed, the connection is selected in the toolbar 303, and the two virtual network elements 302 are connected by a connection to trigger the terminal to calculate the path information between the two virtual network elements 302.
第三, 接收用户对预设物理网元的选择, 每个预设物理网元存储有对应的 对象信息, 将用户选择的两个预设物理网元作为两个对象。 用户, 当用户不清楚对象信息, 但是已知需要查找业务路径的两个对象是两个 实际存在的物理网元时, 可以直接从终端预先提供的各个物理网元中选择相应 的物理网元, 作为需要查找业务路径的两个对象, 终端可以预先存储各个物理 网元的对象信息,而不需要用户输入。比如,终端可以在物理拓朴显示区域 305 中预先提供包括八、 B、 C、、、 等 26个物理网元及相关拓朴关系给用户, 如图 3C。 当用户需要查找 C和 J两个物理网元之间的业务路径时, 可以直接将 " C" 物理网元和" J"物理网元从功能面板区域 305中拖动至路径拓朴显示区域 304。 并在拖动完成后, 在工具栏 303选择连线, 用连线连接 "C" 物理网元和 "J" 物理网元, 以触发终端查找这两个物理网元之间的路径信息。 在终端查找这两 个物理网元之间的路径信息时, 可以利用预先存储的 "C" 物理网元和 "J" 物 理网元的对象信息来查找。  Third, the receiving user selects a preset physical network element, and each preset physical network element stores corresponding object information, and the two preset physical network elements selected by the user are used as two objects. The user, when the user does not know the object information, but the two objects that need to be searched for the service path are the two physical NEs that are actually present, the corresponding physical network element can be directly selected from the physical network elements provided by the terminal. As two objects that need to find a service path, the terminal can pre-store object information of each physical network element without user input. For example, the terminal may provide 26 physical network elements including eight, B, C, and, and related topology relationships to the user in the physical topology display area 305, as shown in FIG. 3C. When the user needs to find the service path between the two physical network elements C and J, the "C" physical network element and the "J" physical network element can be directly dragged from the function panel area 305 to the path topology display area 304. . After the dragging is completed, the connection line is selected in the toolbar 303, and the "C" physical network element and the "J" physical network element are connected by a connection to trigger the terminal to find the path information between the two physical network elements. When the terminal searches for path information between the two physical network elements, it can use the pre-stored "C" physical network element and the object information of the "J" physical network element to search.
步骤 202, 根据对象信息判断两个对象的业务类型, 业务类型包括异步传 输模式业务、 时分复用业务或者以太业务;  Step 202: Determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service.
终端在查找两个对象之间的业务路径时, 可以根据两个对象的对象信息来 判断两个对象的业务类型。 具体地讲, 当终端接收到的对象信息是网元名称或 者网元的管理 IP地址时, 终端可以根据该网元名称或者网元的管理 IP地址查 询对应的实际物理网元, 进一步, 可以查询到该实际物理网元上所有的网元接 口名称、 网元接口 IP地址和 /或网元的回环地址, 然后再利用查询到的信息判 断两个对象的业务类型。 具体地讲:  When the terminal finds the service path between two objects, it can judge the service type of the two objects according to the object information of the two objects. Specifically, when the object information received by the terminal is the network element name or the management IP address of the network element, the terminal may query the corresponding physical physical network element according to the network element name or the management IP address of the network element, and further, may query Go to all the NE interface names, NE interface IP addresses, and/or loopback addresses of NEs on the actual physical NE, and then use the queried information to determine the service type of the two objects. Specifically:
当终端接收到的、 根据网元名称或者网元的管理 IP地址查询到的对象信 息是绑定 PWE3( Pseudo-Wire Emulation Edge to Edge,边缘到边缘的伪线仿真 ) 的网元接口名称时,确定对象的业务类型为 ATM( Asynchronous Transfer Mode, 异步传输模式)业务或者 TDM ( Time Division Multiplex, 时分复用 )业务。 当终端接收到的、 根据网元名称或者网元的管理 IP地址查询到的对象信 息是不绑定 PWE3的网元接口名称时,确定对象的业务类型为无法查找的业务 类型。 When the object information that is received by the terminal and is queried according to the name of the network element or the management IP address of the network element is the name of the network element interface that is bound to PWE3 (Pseudo-Wire Emulation Edge to Edge). The service type of the object is determined as an ATM (Asynchronous Transfer Mode) service or a TDM (Time Division Multiplex) service. When the object information that is received by the terminal and is queried according to the name of the network element or the management IP address of the network element is the name of the network element interface that is not bound to the PWE3, the service type of the object is determined to be a service type that cannot be searched.
当终端接收到的、 或根据网元名称或者网元的管理 IP地址查询到的对象 信息是网元接口 IP地址或者网元的回环地址时, 确定对象的业务类型为以太 业务。  When the object information that is received by the terminal or that is queried by the network element name or the management IP address of the network element is the IP address of the network element interface or the loopback address of the network element, the service type of the object is determined to be Ethernet service.
步骤 203, 如果判断两个对象的业务类型是异步传输模式业务或者时分复 用业务, 则按照第一方式查找两个对象之间的业务路径;  Step 203: If it is determined that the service type of the two objects is an asynchronous transfer mode service or a time division multiplexing service, the service path between the two objects is searched according to the first manner.
具体地讲, 当终端接收到的、 根据网元名称或者网元的管理 IP地址查询 到的对象信息是绑定 PWE3的网元接口名称时,按照第一方式查找两个对象之 间的业务路径, 可以利用如下步骤实现:  Specifically, when the object information that is received by the terminal and is queried according to the network element name or the management IP address of the network element is the name of the network element interface bound to the PWE3, the service path between the two objects is searched according to the first manner. , can be achieved by the following steps:
根据作为源端的对象的对象信息查找对应的伪线设备;  Finding a corresponding pseudowire device according to object information of the object as the source end;
终端可以根据作为源端的对象的对象信息 (绑定 PWE3的网元接口名称) 查询到对应的 PW ( Pseudo-Wire, 伪线)设备。  The terminal can query the corresponding PW (Pseudo-Wire) device according to the object information of the object as the source end (the network element interface name bound to the PWE3).
根据伪线设备中的配置信息查询对应伪线路径的配置情况和 /或伪线类型; 根据查询到的 PW设备上的配置信息可以查询到对应该网元接口名称的配 置情况和 /或伪线类型。 其中, 配置情况可以包括普通 PW、 Bypass PW (中文: 旁路 PW )和主备 PE; 伪线类型可以包括普通 PW、 多段 PW和冗余 PW。  Query the configuration of the corresponding pseudowire path and/or the pseudowire type according to the configuration information in the pseudowire device. You can query the configuration of the corresponding NE interface name and/or the pseudowire according to the configuration information on the queried PW device. Types of. The configuration may include a normal PW, a bypass PW (Chinese: bypass PW), and an active/standby PE. The pseudowire type may include a normal PW, a multi-segment PW, and a redundant PW.
根据配置情况和 /或伪线类型查找工作路径;  Find the working path according to the configuration and / or pseudowire type;
根据配置情况和 /或伪线类型可以查找工作路径,对于普通 PW可以直接根 据配置情况查找对端的网元。 对于 Bypass PW、 主备 PE、 多段 PW和冗余 PW 由于存在多条或者多段路径, 均需要进一步地确定实际的工作路径。 在确定一 条或者一段工作路径后, 可以异步地查找该工作路径对应的隧道。  You can find the working path based on the configuration and / or the pseudowire type. You can find the NE of the peer directly based on the configuration. For Bypass PW, active and standby PEs, multi-segment PWs, and redundant PWs, there are many or multiple paths, and the actual working path needs to be further determined. After determining a working path or a working path, the tunnel corresponding to the working path can be found asynchronously.
根据工作路径查找经过的网元和链路, 并将确定后的网元和链路作为业务 路径。  The traversed network elements and links are searched according to the working path, and the determined network elements and links are used as service paths.
根据上述工作路径可以查找经过的网元和链路, 并将确定后的网元和链路 作为业务路径。 比如, 对于多段 PW, 可以根据工作路径确定作为源端的网元、 每段 PW之间相连的网元和作为宿端的网元。  According to the above working path, the traversed network element and the link can be searched, and the determined network element and link are used as the service path. For example, for a multi-segment PW, the network element that is the source end, the network element that is connected between each PW, and the network element that serves as the sink end can be determined according to the working path.
步骤 204, 如果判断两个对象的业务类型是以太业务, 则按照第二方式查 找两个对象之间的业务路径。  Step 204: If it is determined that the service type of the two objects is an Ethernet service, the service path between the two objects is searched according to the second manner.
具体地讲, 当终端接收到的、 根据网元名称或者网元的管理 IP地址查询 到两个对象的对象信息是网元接口 IP地址或者网元的回环地址时, 按照第二 方式查找两个对象之间的业务路径, 可以利用如下步骤实现: Specifically, when the terminal receives the query according to the name of the network element or the management IP address of the network element When the object information of the two objects is the IP address of the network element interface or the loopback address of the network element, the service path between the two objects is searched according to the second method, which can be implemented by using the following steps:
第一, 根据对象信息与预设物理网元的对象信息进行最长 IP地址匹配; 终端将接收到的对象信息中的 IP地址与预设物理网元的对象信息进行最 长 IP地址匹配。 经过最长 IP地址匹配可以寻找到与接收到的对象信息中的 IP 地址最接近的实际物理网元, 以便作为查找业务路径时的入口。 举例来讲, 最 长 IP地址匹配的过程可以是: 终端中存放的各个预设物理网元的对象信息不 是一个个具体的 IP地址, 而是可变长度的网络前缀。 例如, 假设两个物理网 元的对象信息分别是 "202.168.X.X, 输出端口 1,,和" 202.168.16.X, 输出端口 2" ( X表示任意), 如果接收到的对象信息中的 IP地址为 202.168.16.5, 那么经 过最长 IP地址匹配, 会将 IP地址为 "202.168.16.X" 的物理网元作为匹配到的 物理网元。  First, the longest IP address is matched according to the object information and the object information of the preset physical network element; the terminal matches the IP address in the received object information with the object information of the preset physical network element for the longest IP address. After the longest IP address is matched, the actual physical network element closest to the IP address in the received object information can be found, so as to be the entry point when searching for the service path. For example, the process of matching the longest IP address may be: The object information of each preset physical network element stored in the terminal is not a specific IP address, but a variable length network prefix. For example, assume that the object information of two physical network elements is "202.168.XX, output port 1, and "202.168.16.X, output port 2" (X means arbitrary), if the IP of the received object information The address is 202.168.16.5. After the longest IP address is matched, the physical NE with the IP address "202.168.16.X" is used as the matching physical NE.
在本步骤中, 如果对象信息是用户通过文本输入区域方式或者虚拟网元方 式输入的, 则可以匹配到两个物理网元, 比如用户通过虚拟网元方式输入了两 个对象信息, 则可能分别匹配到 "F" 物理网元和 "V" 物理网元; 如果对象信 息是用户通过预设物理网元输入的, 则可以直接匹配到该预设物理网元, 比如 用户通过预设物理网元方式输入了 "C" 物理网元和 "J" 物理网元, 则可以直 接匹配到该 "C" 物理网元和 "J" 物理网元。  In this step, if the object information is input by the user through the text input area mode or the virtual network element mode, the two physical network elements can be matched. For example, if the user inputs two object information through the virtual network element mode, The physical network element and the "V" physical network element are matched to the "F" physical network element; if the object information is input by the user through the preset physical network element, the physical network element can be directly matched to the preset physical network element, for example, the user passes the preset physical network element. In the mode, the "C" physical network element and the "J" physical network element are input, and the "C" physical network element and the "J" physical network element can be directly matched.
第二, 据匹配到的物理网元中作为源端的物理网元的对象信息查询对应 转发表, 转发表包括路由转发表、 MAC 地址转发表和标签转发表中的任一种 或者多种的组合;  Second, the corresponding forwarding table is queried according to the object information of the physical network element as the source end in the matched physical network element, and the forwarding table includes any one or a combination of the routing forwarding table, the MAC address forwarding table, and the label forwarding table. ;
终端在匹配到的物理网元之后, 可以利用作为源端的物理网元的对象信息 到相应的网元上查询对应的转发表, 转发表可以是路由转发表、 MAC地址转 发表和标签转发表中的任一种或者多种的组合。根据转发信息可以查询到从源 端至宿端的业务在该网元上转发时所转发到的下一站网元以及相应的转发链 路。  After the matching physical network element, the terminal can use the object information of the physical network element as the source end to query the corresponding forwarding table on the corresponding network element. The forwarding table can be a routing forwarding table, a MAC address forwarding table, and a label forwarding table. Any combination of one or more. According to the forwarding information, the next station network element and the corresponding forwarding link forwarded when the service from the source end to the sink end is forwarded on the network element can be queried.
比如, 终端在查找 "C" 物理网元和 "J" 物理网元之间的业务路径时, 可 以根据 "C" 物理网元上的转发表查询到下一站网元为 "F" 物理网元; 而继续 根据 "F" 物理网元上的转发表可以查询到下一站网元为 "H" 物理网元,、、、, 以此类推, 可以逐步地确定业务路径上所经过的网元和链路, 如图 3D所示。  For example, when the terminal searches for the service path between the "C" physical network element and the "J" physical network element, the terminal can query the next station network element to be "F" physical network according to the forwarding table on the "C" physical network element. And continue to query the next network element as the "H" physical network element according to the forwarding table on the "F" physical network element, and so on, and gradually determine the network passing through the service path. Meta and link, as shown in Figure 3D.
第三,根据转发表中与作为源端的物理网元相关的转发信息逐步确定业务 转发至宿端时所经过的网元和链路, 并将确定后的网元和链路作为业务路径。 终端通过逐个查询和分析每个网元的转发表, 可以逐步确定业务转发至宿 端时所经过的网元和链路, 并将确定后的网元和链路作为业务路径。 Third, the service is gradually determined according to the forwarding information related to the physical network element as the source end in the forwarding table. The network element and link that are forwarded to the sink end, and the determined network element and link are used as the service path. By querying and analyzing the forwarding table of each network element one by one, the terminal can gradually determine the network elements and links that the service passes through when forwarding the service to the sink, and use the determined network element and link as the service path.
比如, 终端在查找 "C" 物理网元和 "J" 物理网元之间的业务路径时, 最 终可以确定 "C" 物理网元和 "J" 物理网元之间的正向业务路径经过的网元有 C-F-H-D-G-V-M-J, 反向业务路径经过的网元有 J-M-Z-G-D-H-F-C。  For example, when the terminal searches for the service path between the "C" physical network element and the "J" physical network element, the terminal can finally determine the forward traffic path between the "C" physical network element and the "J" physical network element. The network element has CFHDGVMJ, and the network element through which the reverse service path passes has JMZGDHFC.
步骤 205, 始终显示两个对象的图标, 并在每次确定到两个对象的业务路 径上的一个网元或链路时, 在两个对象之间按照预定方式显示网元和链路。  Step 205: The icons of the two objects are always displayed, and each time a network element or link on the service path of the two objects is determined, the network element and the link are displayed in a predetermined manner between the two objects.
终端可以在界面上始终显示需要查询业务路径的两个对象, 比如 "C" 物 理网元和 "J" 物理网元, 然后在每次确定到两个对象的业务路径上的一个网 元或者链路时, 在两个对象之间按照预定方式显示网元或链路。 预定方式可以 包括:在两个对象之间添加图标表示网元;在两个对象之间采用实线表示链路; 和 /或, 在两个对象之间采用虚线或动态虚线表示未确定的网元和链路。  The terminal can always display two objects on the interface that need to query the service path, such as "C" physical network element and "J" physical network element, and then determine a network element or chain on the service path of the two objects each time. In the case of a road, the network element or link is displayed in a predetermined manner between the two objects. The predetermined manner may include: adding an icon between two objects to represent the network element; using a solid line to represent the link between the two objects; and/or, using a dotted line or a dynamic dotted line between the two objects to indicate an undetermined network Meta and link.
结合图 3D可知, 在查找 "C" 物理网元和 "J" 物理网元之间的业务路径 时, 可以在查找到 "F" 物理网元时, 添加图标 "F" 来表示查找到的 "F" 物 理网元; 同时还可以在 "C" 物理网元和 "F" 物理网元之间采用实线表示查找 到的链路; 另外, 在 "H" 物理网元和 "J" 物理网元之间也可以采用虚线或动 态虚线表示未确定的网元和链路。  As shown in FIG. 3D, when searching for the service path between the "C" physical network element and the "J" physical network element, when the "F" physical network element is found, the icon "F" may be added to indicate the found". F" physical network element; at the same time, the solid link between the "C" physical network element and the "F" physical network element can be used to represent the discovered link; in addition, the "H" physical network element and the "J" physical network Undetermined network elements and links may also be represented by dashed lines or dynamic dashed lines.
步骤 206, 根据两个对象之间的业务路径查找对应业务的完整业务路径; 显示完整业务路径上的网元和链路。  Step 206: Find a complete service path of the corresponding service according to the service path between the two objects; display the network element and the link on the complete service path.
由于用户指定的两个对象并不一定是对应业务的真正源端和宿端。 所以, 还可以在查找到用户指定的两个对象之间的业务路径之后, 继续查找对应业务 的 E2E路径, 也即端到端路径, 也可以称为完整业务路径。 比如用户指定的两 个对象是 "C"物理网元和 "J" 物理网元, 终端在查找到 "C"物理网元和 "J" 物理网元之间的业务路径之后, 可以继续查找这条业务路径所对应业务的完整 业务路径, 最终查找到的完整业务路径如 r-d, 参考图 3E所示。 继续查找的过 程与步骤 202至步骤 204类似。 继续查找的过程可以由用户双击 "C" 物理网 元和 "J" 物理网元之间的业务路径进行触发。  Since the two objects specified by the user are not necessarily the true source and sink of the corresponding service. Therefore, after finding the service path between the two objects specified by the user, the E2E path of the corresponding service, that is, the end-to-end path, may also be referred to as a complete service path. For example, the two objects specified by the user are the "C" physical network element and the "J" physical network element. After finding the service path between the "C" physical network element and the "J" physical network element, the terminal can continue to find this. The complete service path of the service corresponding to the service path, and the complete service path finally found, such as rd, is shown in Figure 3E. The process of continuing the search is similar to steps 202 through 204. The process of continuing to search can be triggered by the user double-clicking the service path between the "C" physical network element and the "J" physical network element.
步骤 207, 根据用户对业务路径上的操作进行显示或处理。  Step 207: Display or process the operation on the service path according to the user.
在终端查找到两个对象之间的业务路径或者完整业务路径之后, 可以根据 用户对业务路径上的操作进行显示或后续处理。 具体地讲: 第一, 显示被用户选择的网元或链路的性能参数, 性能参数包括: 告警信 号、 带宽利用率、 CPU占用率、 内存占用率、 代价值和最大传输单元值中的至 少一种。 After the terminal finds the service path or the complete service path between the two objects, the user can display or perform subsequent operations on the service path. Specifically: First, the performance parameter of the network element or link selected by the user is displayed, and the performance parameters include: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value.
终端可以接收用户对业务路径上的网元或者链路的选择, 并且在接收到相 应的选择信号之后, 显示被用户选择的网元或链路的性能参数, 这些性能参数 可以是预先存储于终端内部的, 也可以是终端即时向对应网元查询获得的。 这 些性能参数可以是告警信号、 带宽利用率、 CPU占用率、 内存占用率、 代价值 (也即 COST值 )或 MTU ( Maximum Transmission Unit, 最大传输单元 )值。 当然, 终端也可以显示网元对应的对象信息, 比如网元名称、 网元接口名称、 网元接收 IP地址等等。  The terminal may receive the user's selection of the network element or the link on the service path, and after receiving the corresponding selection signal, display performance parameters of the network element or link selected by the user, and the performance parameters may be pre-stored in the terminal. Internally, it can also be obtained by the terminal immediately querying the corresponding network element. These performance parameters can be alarm signal, bandwidth utilization, CPU usage, memory usage, cost value (also known as COST value) or MTU (Maximum Transmission Unit) value. Certainly, the terminal may also display object information corresponding to the network element, such as a network element name, a network element interface name, a network element receiving an IP address, and the like.
第二, 区别显示被用户选择的链路, 区别显示包括: 加粗显示、 不同颜色 显示和动态效果显示中的至少一种。  Second, the difference is displayed on the link selected by the user, and the difference display includes: at least one of a bold display, a different color display, and a dynamic effect display.
由于业务路径中的链路可能存在多种类型,比如链路可以是 IP链路、 VPLS ( Virtual Private Lan Service, 虚拟专用局域网业务)链路、 L3VPN ( L3 Virtual Private Network, L3虚拟专用网络)、 Tunnel (也称隧道 )和以太链路。 终端可 以将业务路径中的包括的链路类型显示在图 3E中的路径类型显示区域。比如, 假设 C-J业务路径上的 H-D之间的链路为 Tunnel链路, 当用户选择 Tunnel链 路时, H-D之间的链路可以区别显示给用户。 区别显示的方式可以包括: 加 粗显示、 不同颜色显示和动态效果显示中的至少一种。  The link in the service path may be of various types, for example, the link may be an IP link, a VPLS (Virtual Private LAN Service) link, or an L3VPN (L3 Virtual Private Network). Tunnel (also known as tunnel) and Ethernet link. The terminal can display the included link type in the service path in the path type display area in Fig. 3E. For example, it is assumed that the link between the H-Ds on the C-J service path is a tunnel link. When the user selects the tunnel link, the links between the H-Ds can be displayed to the user. The manner of distinguishing the display may include: at least one of a bold display, a different color display, and a dynamic effect display.
第三, 测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令 或 PING指令。  Third, testing the network element or link selected by the user, the test includes: executing a TRACE instruction or a PING instruction.
终端可以根据用户的选择测试相应的网元或链路。 测试可以包括 TRACE (也即追踪)指令或 PING指令。 根据不同的网元或者链路类型, PING指令 又可以分为 TUNNEL PING、 组合 PING、 智能 PING和逐段 PING等等。  The terminal can test the corresponding network element or link according to the user's selection. Tests can include TRACE (ie, trace) instructions or PING instructions. According to different network elements or link types, the PING command can be divided into TUNNEL PING, combined PING, intelligent PING, and segment-by-segment PING.
第四, 根据用户的操作放大或者缩小业务路径;  Fourth, the service path is enlarged or reduced according to the operation of the user;
第五,对图 3E中已经发现的路径 C-J, 可以在物理拓朴显示区域 305中对 应地进行区别显示, 区别显示的方式可以包括: 加粗显示、 不同颜色显示和动 态效果显示中的至少一种。  Fifthly, the path CJ that has been found in FIG. 3E can be displayed in a corresponding manner in the physical topology display area 305. The manner of distinguishing the display may include: at least one of bold display, different color display, and dynamic effect display. Kind.
综上所述, 本实施例提供的网络故障维护中业务路径的显示方法, 通过根 据用户提供的对象信息来查找并可视化地显示业务路径,解决了查找业务路径 的过程主要依赖维护工程师的个人技能水平的问题, 达到了可以使用户较为直 观地查看到业务路径, 从而方便地定位故障所在位置的效果。 另外, 本实施例 提供的网络故障维护中业务路径的显示方法,还通过提供多种对象信息的输入 方式, 多种可视化方式来使用户方便、 直观地查找业务路径。 实施例三 In summary, the display method of the service path in the network fault maintenance provided by the embodiment is to find and visually display the service path according to the object information provided by the user, and the process of finding the service path mainly relies on the personal skill of the maintenance engineer. The level of problems that can be achieved can make the user more straight View the business path and view the effect of the location of the fault. In addition, the display method of the service path in the network fault maintenance provided by the embodiment further provides a convenient and intuitive search for the service path by providing a plurality of input manners of object information and multiple visualization modes. Embodiment 3
请参考图 4, 其示出了本发明实施例三提供的网络故障维护中业务路径的 显示装置的结构方框图。 该网络故障维护中业务路径的显示装置可以包括: 信 息获取模块 420、 路径查找模块 440和路径显示模块 460。  Referring to FIG. 4, it is a structural block diagram of a display device for a service path in network fault maintenance according to Embodiment 3 of the present invention. The display device of the service path in the network fault maintenance may include: an information acquisition module 420, a path search module 440, and a path display module 460.
信息获取模块 420用于获取两个对象的对象信息。  The information acquisition module 420 is configured to acquire object information of two objects.
路径查找模块 440用于根据信息获取模块 420获取到的对象信息来查找两 个对象之间的业务路径。  The path finding module 440 is configured to find the service path between the two objects according to the object information acquired by the information obtaining module 420.
路径显示模块 460用于显示两个对象之间的业务路径上的网元和链路。 具体地讲, 信息获取模块 420可以具体包括: 第一获取单元 422、 第二获 取单元 424和第三获取单元 426中的至少一个, 如图 5所示。 其中, 第一获取 单元 422 用于接收用户在预设文本输入区域输入的对象信息; 第二获取单元 424用于预先提供两个包括空白对象信息的虚拟网元, 接收用户对两个虚拟网 元的对象信息的设置;第三获取单元 426用于接收用户对预设物理网元的选择, 每个预设物理网元存储有对应的对象信息,将用户选择的两个物理网元作为两 个对象; 其中, 对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网元的回环地址和网元的管理 IP地址中的任意一种。  The path display module 460 is used to display network elements and links on the service path between two objects. Specifically, the information obtaining module 420 may specifically include: at least one of the first obtaining unit 422, the second obtaining unit 424, and the third obtaining unit 426, as shown in FIG. 5. The first obtaining unit 422 is configured to receive object information input by the user in the preset text input area. The second obtaining unit 424 is configured to provide two virtual network elements including blank object information in advance, and receive the user to the two virtual network elements. Setting the object information; the third obtaining unit 426 is configured to receive the user's selection of the preset physical network element, each preset physical network element stores the corresponding object information, and the two physical network elements selected by the user are used as two The object information includes any one of a network element name, a network element interface name, a network element interface IP address, a loopback address of the network element, and a management IP address of the network element.
具体地讲, 路径查找模块 440可以具体包括: 类型判断单元 442、 第一查 找单元 444和第二查找单元 446, 如图 6所示。 其中, 类型判断单元 442用于 根据对象信息判断两个对象的业务类型, 业务类型包括异步传输模式业务、 时 分复用业务或者以太业务; 第一查找单元 444用于如果判断两个对象的业务类 型是异步传输模式业务或者时分复用业务, 则按照第一方式查找两个对象之间 的业务路径;第二查找单元 446用于如果判断两个对象的业务类型是以太业务, 则按照第二方式查找两个对象之间的业务路径。  Specifically, the path finding module 440 may specifically include: a type determining unit 442, a first looking unit 444, and a second searching unit 446, as shown in FIG. 6. The type determining unit 442 is configured to determine, according to the object information, a service type of the two objects, where the service type includes an asynchronous transmission mode service, a time division multiplexing service, or an Ethernet service. The first searching unit 444 is configured to determine the service type of the two objects. If the service mode is the asynchronous transfer mode service or the time division multiplexing service, the service path between the two objects is searched according to the first manner; the second search unit 446 is configured to determine the service type of the two objects as the Ethernet service, according to the second mode. Find the business path between two objects.
具体地讲, 第一查找单元 444可以具体包括: 设备查找子单元 444a、 伪线 查找子单元 444b、 工作路径查找子单元 444c和第一路径确定子单元 444d, 如 图 7所示。 其中, 设备查找子单元 444a用于根据作为源端的对象的对象信息 查找对应的伪线设备; 伪线查找子单元 444b用于根据伪线设备中的配置信息 查询对应伪线路径的配置情况和 /或伪线类型; 工作路径查找子单元 444c用于 根据配置情况和 /或伪线类型查找工作路径; 第一路径查找子单元 444d用于根 据工作路径查找经过的网元和链路, 并将确定后的网元和链路作为业务路径。 In particular, the first searching unit 444 may specifically include: a device lookup subunit 444a, a pseudowire lookup subunit 444b, a work path lookup subunit 444c, and a first path determining subunit 444d, as shown in FIG. The device search subunit 444a is configured to search for a corresponding pseudowire device according to the object information of the object as the source end; the pseudowire lookup subunit 444b is configured to use the configuration information according to the pseudowire device. Querying the configuration of the corresponding pseudowire path and/or the pseudowire type; the working path finding subunit 444c is configured to search the working path according to the configuration situation and/or the pseudowire type; the first path searching subunit 444d is configured to search for the path according to the working path. The network element and the link, and the determined network element and link are used as the service path.
具体地讲, 第二查找单元 446可以具体包括: 地址匹配子单元 446a、 转发 查询子单元 446b和第二路径确定子单元 446c, 如图 8所示。 其中, 地址匹配 子单元 446a用于根据对象信息与预设物理网元的对象信息进行最长 IP地址匹 配; 转发查询子单元 446b用于根据匹配到的物理网元中作为源端的物理网元 的对象信息查询对应转发表, 转发表包括路由转发表、 MAC地址转发表和标 签转发表中的任一种或者多种的组合; 第二路径确定子单元 446c用于根据转 发表中与作为源端的物理网元相关的转发信息逐步确定业务转发至宿端时所 经过的网元和链路, 并将确定后的网元和链路作为业务路径。  Specifically, the second searching unit 446 may specifically include: an address matching subunit 446a, a forwarding query subunit 446b, and a second path determining subunit 446c, as shown in FIG. The address matching sub-unit 446a is configured to perform the longest IP address matching according to the object information and the object information of the preset physical network element. The forwarding query sub-unit 446b is configured to use the physical network element as the source end in the matched physical network element. The object information query corresponds to a forwarding table, and the forwarding table includes a combination of any one or more of a routing forwarding table, a MAC address forwarding table, and a label forwarding table. The second path determining sub-unit 446c is configured to use the forwarding table as the source end. The forwarding information related to the physical network element is used to determine the network element and the link through which the service is forwarded to the sink, and the determined network element and link are used as the service path.
路径显示模块 460具体用于始终显示两个对象的图标, 并在每次确定到两 个对象的业务路径上的一个网元或链路时,在两个对象之间按照预定方式显示 网元和链路, 预定方式包括: 在两个对象之间添加图标表示网元; 在两个对象 之间采用实线表示链路; 和 /或,在两个对象之间采用虚线或动态虚线表示未确 定的网元和链路。  The path display module 460 is specifically configured to display an icon of two objects at all times, and display the network element between the two objects according to a predetermined manner each time a network element or link on the service path of the two objects is determined. The link, the predetermined manner includes: adding an icon between two objects to represent the network element; using a solid line to represent the link between the two objects; and/or, using a dotted line or a dynamic dotted line between the two objects to indicate undetermined Network elements and links.
进一步地, 网络故障维护中业务路径的显示装置还可以包括: 完整查找模 块 480, 如图 9所示。 其中, 完整查找模块 480用于根据两个对象之间的业务 路径查找对应业务的完整业务路径。路径显示模块 460还用于显示完整查找模 块 480查找到的完整业务路径上的网元和链路。  Further, the display device of the service path in the network fault maintenance may further include: a complete search module 480, as shown in FIG. The complete search module 480 is configured to find a complete service path of the corresponding service according to the service path between the two objects. The path display module 460 is also used to display the network elements and links on the complete service path found by the full lookup module 480.
进一步地, 网络故障维护中业务路径的显示装置还可以包括: 性能参数显 示模块 490a、 区别显示模块 490b或路径测试模块 490c中的至少一个, 如图 10所示。  Further, the display device of the service path in the network fault maintenance may further include: at least one of the performance parameter display module 490a, the difference display module 490b or the path test module 490c, as shown in FIG.
性能参数显示模块 490a用于显示被用户选择的网元或链路的性能参数, 性能参数包括: 告警信号、 带宽利用率、 CPU占用率、 内存占用率、 代价值和 最大传输单元值中的至少一种;  The performance parameter display module 490a is configured to display performance parameters of the network element or link selected by the user, and the performance parameters include: at least one of an alarm signal, a bandwidth utilization rate, a CPU usage rate, a memory occupancy rate, a generation value, and a maximum transmission unit value. One type;
区别显示模块 490b用于区别显示被用户选择的链路, 区别显示包括: 加 粗显示、 不同颜色显示和动态效果显示中的至少一种;  The difference display module 490b is configured to distinguish between the links selected by the user, and the difference display comprises: at least one of thick display, different color display, and dynamic effect display;
路径测试模块 490c用于测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令或 PING指令。  The path test module 490c is configured to test a network element or link selected by the user, and the test includes: executing a TRACE instruction or a PING instruction.
综上所述, 本实施例提供的网络故障维护中业务路径的显示装置, 通过根 据用户提供的对象信息来查找并可视化地显示业务路径,解决了查找业务路径 的过程主要依赖维护工程师的个人技能水平的问题, 达到了可以使用户较为直 观地查看到业务路径, 从而方便地定位故障所在位置的效果。 另外, 本实施例 提供的网络故障维护中业务路径的显示方法,还通过提供多种对象信息的输入 方式, 多种可视化方式来使用户方便、 直观地查找业务路径。 In summary, the display device of the service path in the network fault maintenance provided by this embodiment passes through the root According to the object information provided by the user, the service path is searched and visually displayed, and the process of finding the service path mainly relies on the problem of the maintenance engineer's personal skill level, so that the user can intuitively view the service path, thereby conveniently positioning The effect of the location of the fault. In addition, the display method of the service path in the network fault maintenance provided by the embodiment further provides a convenient and intuitive search for the service path by providing a plurality of input manners of object information and multiple visualization modes.
需要说明的是: 上述实施例提供的网络故障维护中业务路径的显示装置在 查找业务路径时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可 以根据需要而将上述功能分配由不同的功能模块完成, 即将装置的内部结构划 分成不同的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施 例提供的网络故障维护中业务路径的显示装置与网络故障维护中业务路径的 显示方法实施例属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘 述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。  It should be noted that, in the network fault maintenance, the display device of the service path in the network fault maintenance is only used to illustrate the division of the foregoing functional modules when the service path is searched. In actual applications, the foregoing functions may be allocated according to requirements. The different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the display device of the service path in the network fault maintenance provided by the foregoing embodiment is the same as the embodiment of the method for displaying the service path in the network fault maintenance. For the specific implementation process, refer to the method embodiment, which is not described herein. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 claims
1、一种网络故障维护中业务路径的显示方法, 其特征在于, 所述方法包括: 获取两个对象的对象信息, 所述对象是所述网络中的物理网元或者包含物 理网元的一部分对象信息的虚拟网元; 1. A method for displaying service paths in network fault maintenance, characterized in that the method includes: obtaining object information of two objects, where the objects are physical network elements in the network or include a part of physical network elements. Virtual network element of object information;
根据所述对象信息来查找所述两个对象之间的业务路径, 所述业务路径是 所述两个对象对应的异步传输模式业务、 时分复用业务或者以太业务所经过的 网元和链路; Search the service path between the two objects according to the object information. The service path is the network element and link through which the asynchronous transmission mode service, time division multiplexing service or Ethernet service corresponding to the two objects passes. ;
显示所述两个对象之间的业务路径上的网元和链路。 Display the network elements and links on the service path between the two objects.
2、 根据权利要求 1所述的网络故障维护中业务路径的显示方法, 其特征在 于, 所述获取两个对象的对象信息, 具体包括: 2. The method for displaying service paths in network fault maintenance according to claim 1, characterized in that the obtaining the object information of two objects specifically includes:
接收用户在预设文本输入区域输入的对象信息; Receive object information input by the user in the preset text input area;
或者, 预先提供两个包括空白对象信息的虚拟网元, 接收用户对所述两个 虚拟网元的对象信息的设置; Or, provide two virtual network elements including blank object information in advance, and receive the user's settings for the object information of the two virtual network elements;
或者, 接收用户对预设物理网元的选择, 每个预设物理网元存储有对应的 其中, 所述对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网 元的回环地址和网元的管理 IP地址中的任意一种。 Or, receive the user's selection of a preset physical network element, and each preset physical network element stores a corresponding one. The object information includes the network element name, the network element interface name, the network element interface IP address, and the loopback of the network element. Either the address or the management IP address of the network element.
3、 根据权利要求 2所述的网络故障维护中业务路径的显示方法, 其特征在 于, 所述根据所述对象信息来查找所述两个对象之间的业务路径, 具体包括: 根据所述对象信息判断所述两个对象的业务类型, 所述业务类型包括异步 传输模式业务、 时分复用业务或者以太业务; 3. The method for displaying service paths in network fault maintenance according to claim 2, characterized in that: finding the service paths between the two objects according to the object information specifically includes: according to the objects The information determines the service types of the two objects, and the service types include asynchronous transmission mode services, time division multiplexing services or Ethernet services;
如果判断所述两个对象的业务类型是异步传输模式业务或者时分复用业 务, 则按照第一方式查找所述两个对象之间的业务路径; If it is determined that the service types of the two objects are asynchronous transmission mode services or time division multiplexing services, then search for the service path between the two objects according to the first method;
如果判断所述两个对象的业务类型是以太业务, 则按照第二方式查找所述 两个对象之间的业务路径。 If it is determined that the service types of the two objects are Ethernet services, the service path between the two objects is searched according to the second method.
4、 根据权利要求 3所述的网络故障维护中业务路径的显示方法, 其特征在 于, 所述按照第一方式查找所述两个对象之间的业务路径, 具体包括: 根据作为源端的对象的对象信息查找对应的伪线设备; 4. The method for displaying service paths in network fault maintenance according to claim 3, characterized in that: finding the service path between the two objects according to the first method specifically includes: Find the corresponding pseudowire device based on the object information of the source object;
根据所述伪线设备中的配置信息查询对应伪线路径的配置情况和 /或伪线类 型; Query the configuration of the corresponding pseudowire path and/or the pseudowire type according to the configuration information in the pseudowire device;
根据所述配置情况和 /或伪线类型查找工作路径; Find the working path according to the configuration and/or pseudowire type;
根据所述工作路径查找经过的网元和链路, 并将确定后的网元和链路作为 所述业务路径。 The network elements and links passing through are searched according to the working path, and the determined network elements and links are used as the service path.
5、 根据权利要求 3所述的网络故障维护中业务路径的显示方法, 其特征在 于, 所述按照第二方式查找所述两个对象之间的业务路径, 具体包括: 5. The method for displaying service paths in network fault maintenance according to claim 3, characterized in that: finding the service path between the two objects according to the second method specifically includes:
根据所述对象信息与所述预设物理网元的对象信息进行最长 IP地址匹配; 根据匹配到的物理网元中作为源端的物理网元的对象信息查询对应转发 表, 所述转发表包括路由转发表、 MAC地址转发表和标签转发表中的任一种或 者多种的组合; 务转发至宿端时所经过的网元和链路, 并将确定后的网元和链路作为所述业务 路径。 Match the longest IP address according to the object information and the object information of the preset physical network element; Query the corresponding forwarding table according to the object information of the physical network element as the source among the matched physical network elements, and the forwarding table includes Any one or a combination of routing forwarding table, MAC address forwarding table and label forwarding table; the network elements and links through which the service is forwarded to the destination end, and the determined network elements and links are used as all Describe the business path.
6、 根据权利要求 1至 5任一所述的网络故障维护中业务路径的显示方法, 其特征在于, 所述显示所述业务路径上的网元和链路, 具体包括: 6. The method for displaying service paths in network fault maintenance according to any one of claims 1 to 5, characterized in that the display of network elements and links on the service paths specifically includes:
始终显示所述两个对象的图标, 并在每次确定到所述两个对象的业务路径 上的一个网元或链路时, 在所述两个对象之间按照预定方式显示所述网元和链 路, The icons of the two objects are always displayed, and each time a network element or link on the service path to the two objects is determined, the network element is displayed in a predetermined manner between the two objects. and link,
所述预定方式包括: 在所述两个对象之间添加图标表示所述网元; 在所述 两个对象之间采用实线表示所述链路; 和 /或, 在所述两个对象之间采用虚线或 动态虚线表示未确定的网元和链路。 The predetermined method includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, adding a solid line between the two objects. Dotted lines or dynamic dotted lines are used to represent undetermined network elements and links.
7、 根据权利要求 1所述的网络故障维护中业务路径的显示方法, 其特征在 于, 所述显示所述业务路径上的网元和链路之后, 还包括: 7. The method for displaying service paths in network fault maintenance according to claim 1, characterized in that, after displaying the network elements and links on the service paths, it further includes:
根据所述两个对象之间的业务路径查找对应业务的完整业务路径; 显示所述完整业务路径上的网元和链路。 Find the complete service path of the corresponding service according to the service path between the two objects; display the network elements and links on the complete service path.
8、 根据权利要求 1或 7任一所述的网络故障维护中业务路径的显示方法, 其特征在于, 所述显示所述业务路径上的网元和链路之后, 还包括: 8. The method for displaying service paths in network fault maintenance according to claim 1 or 7, characterized in that, after displaying the network elements and links on the service paths, it further includes:
显示被用户选择的网元或链路的性能参数, 所述性能参数包括: 告警信号、 带宽利用率、 CPU 占用率、 内存占用率、 代价值和最大传输单元值中的至少一 种; Display the performance parameters of the network element or link selected by the user. The performance parameters include: at least one of alarm signal, bandwidth utilization, CPU occupancy, memory occupancy, cost value and maximum transmission unit value;
和 /或, 区别显示被用户选择的链路, 所述区别显示包括: 加粗显示、 不同 颜色显示和动态效果显示中的至少一种; and/or, differentiate the link selected by the user, and the differentiated display includes: at least one of bold display, different color display and dynamic effect display;
和 /或, 测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令 或 PING指令。 And/or, test the network element or link selected by the user. The test includes: executing the TRACE command or the PING command.
9、一种网络故障维护中业务路径的显示装置, 其特征在于, 所述装置包括: 信息获取模块, 用于获取两个对象的对象信息, 所述对象是所述网络中的 物理网元或者包含物理网元的一部分对象信息的虚拟网元; 9. A display device for service paths in network fault maintenance, characterized in that the device includes: an information acquisition module, used to acquire object information of two objects, the objects being physical network elements in the network or A virtual network element that contains part of the object information of a physical network element;
路径查找模块, 用于根据所述对象信息来查找所述两个对象之间的业务路 径, 所述业务路径是所述两个对象对应的异步传输模式业务、 时分复用业务或 者以太业务所经过的网元和链路; A path search module, configured to search the service path between the two objects according to the object information. The service path is the asynchronous transmission mode service, time division multiplexing service or Ethernet service corresponding to the two objects. network elements and links;
路径显示模块, 用于显示所述两个对象之间的业务路径上的网元和链路。 A path display module is used to display network elements and links on the service path between the two objects.
10、 根据权利要求 9所述的网络故障维护中业务路径的显示装置, 其特征 在于, 所述信息获取模块, 具体包括: 10. The display device for service paths in network fault maintenance according to claim 9, characterized in that the information acquisition module specifically includes:
第一获取单元、 第二获取单元和第三获取单元中的至少一个; at least one of the first acquisition unit, the second acquisition unit and the third acquisition unit;
所述第一获取单元, 用于接收用户在预设文本输入区域输入的对象信息; 所述第二获取单元, 用于预先提供两个包括空白对象信息的虚拟网元, 接 收用户对所述两个虚拟网元的对象信息的设置; The first acquisition unit is used to receive the object information input by the user in the preset text input area; the second acquisition unit is used to provide two virtual network elements including blank object information in advance, and receive the user's input of the two virtual network elements. Setting of object information of virtual network elements;
所述第三获取单元, 用于接收用户对预设物理网元的选择, 每个预设物理 The third acquisition unit is used to receive the user's selection of preset physical network elements. Each preset physical network element
其中, 所述对象信息包括网元名称、 网元接口名称、 网元接口 IP地址、 网 元的回环地址和网元的管理 IP地址中的任意一种。 The object information includes any one of the network element name, network element interface name, network element interface IP address, network element loopback address, and network element management IP address.
11、 根据权利要求 10所述的网络故障维护中业务路径的显示装置, 其特征 在于, 所述路径查找模块, 具体包括: 11. The display device for service paths in network fault maintenance according to claim 10, characterized by That is, the path search module specifically includes:
类型判断单元、 第一查找单元和第二查找单元; a type judgment unit, a first search unit and a second search unit;
所述类型判断单元, 用于根据所述对象信息判断所述两个对象的业务类型, 所述业务类型包括异步传输模式业务、 时分复用业务或者以太业务; The type judgment unit is used to judge the service types of the two objects according to the object information. The service types include asynchronous transmission mode services, time division multiplexing services or Ethernet services;
所述第一查找单元, 用于如果判断所述两个对象的业务类型是异步传输模 式业务或者时分复用业务, 则按照第一方式查找所述两个对象之间的业务路径; 所述第二查找单元, 用于如果判断所述两个对象的业务类型是以太业务, 则按照第二方式查找所述两个对象之间的业务路径。 The first search unit is configured to search the service path between the two objects according to the first method if it is determined that the service type of the two objects is an asynchronous transmission mode service or a time division multiplexing service; A second search unit, configured to search for a service path between the two objects according to the second method if it is determined that the service types of the two objects are Ethernet services.
12、 根据权利要求 11所述的网络故障维护中业务路径的显示装置, 其特征 在于, 所述第一查找单元, 具体包括: 12. The display device for service paths in network fault maintenance according to claim 11, characterized in that the first search unit specifically includes:
设备查找子单元、 伪线查找子单元、 工作路径查找子单元和第一路径确定 子单元; Device search subunit, pseudo wire search subunit, working path search subunit and first path determination subunit;
所述设备查找子单元, 用于根据作为源端的对象的对象信息查找对应的伪 线设备; The device search subunit is used to search for the corresponding pseudowire device according to the object information as the source object;
所述伪线查找子单元, 用于根据所述伪线设备中的配置信息查询对应伪线 路径的配置情况和 /或伪线类型; The pseudowire search subunit is used to query the configuration of the corresponding pseudowire path and/or the pseudowire type according to the configuration information in the pseudowire device;
所述工作路径查找子单元, 用于根据所述配置情况和 /或伪线类型查找工作 路径; The working path search subunit is used to search for a working path according to the configuration and/or pseudo wire type;
所述第一路径查找子单元, 用于根据所述工作路径查找经过的网元和链路, 并将确定后的网元和链路作为所述业务路径。 The first path search subunit is configured to search for passing network elements and links according to the working path, and use the determined network elements and links as the service path.
13、 根据权利要求 11所述的网络故障维护中业务路径的显示装置, 其特征 在于, 所述第二查找单元, 具体包括: 13. The display device for service paths in network fault maintenance according to claim 11, characterized in that the second search unit specifically includes:
地址匹配子单元、 转发查询子单元和第二路径确定子单元; Address matching subunit, forwarding query subunit and second path determination subunit;
所述地址匹配子单元, 用于根据所述对象信息与所述预设物理网元的对象 信息进行最长 IP地址匹配; The address matching subunit is used to match the longest IP address according to the object information and the object information of the preset physical network element;
所述转发查询子单元, 用于根据匹配到的物理网元中作为源端的物理网元 的对象信息查询对应转发表, 所述转发表包括路由转发表、 MAC地址转发表和 标签转发表中的任一种或者多种的组合; The forwarding query subunit is used to query the corresponding forwarding table according to the object information of the physical network element as the source in the matched physical network element. The forwarding table includes a routing forwarding table, a MAC address forwarding table and a label forwarding table. Any one or a combination of multiple;
所述第二路径确定子单元, 用于根据所述转发表中与所述作为源端的物理 网元相关的转发信息逐步确定业务转发至宿端时所经过的网元和链路, 并将确 定后的网元和链路作为所述业务路径。 The second path determination subunit is used to determine the physical path between the forwarding table and the source terminal. The network element-related forwarding information gradually determines the network elements and links through which the service is forwarded to the sink, and the determined network elements and links are used as the service paths.
14、根据权利要求 9至 13任一所述的网络故障维护中业务路径的显示装置, 其特征在于, 所述路径显示模块, 具体用于始终显示所述两个对象的图标, 并 在每次确定到所述两个对象的业务路径上的一个网元或链路时, 在所述两个对 象之间按照预定方式显示所述网元和链路, 14. The display device for service paths in network fault maintenance according to any one of claims 9 to 13, characterized in that the path display module is specifically configured to always display the icons of the two objects, and each time When a network element or link on the service path to the two objects is determined, the network element and link are displayed between the two objects in a predetermined manner,
所述预定方式包括: 在所述两个对象之间添加图标表示所述网元; 在所述 两个对象之间采用实线表示所述链路; 和 /或, 在所述两个对象之间采用虚线或 动态虚线表示未确定的网元和链路。 The predetermined method includes: adding an icon between the two objects to represent the network element; using a solid line between the two objects to represent the link; and/or, adding a solid line between the two objects. Dotted lines or dynamic dotted lines are used to represent undetermined network elements and links.
15、 根据权利要求 9所述的网络故障维护中业务路径的显示装置, 其特征 在于, 所述网络故障维护中业务路径的显示装置, 还包括: 完整查找模块; 所述完整查找模块, 用于根据所述两个对象之间的业务路径查找对应业务 的完整业务路径; 15. The display device for service paths in network fault maintenance according to claim 9, characterized in that the display device for service paths in network fault maintenance further includes: a complete search module; the complete search module, used for Find the complete service path of the corresponding service according to the service path between the two objects;
所述路径显示模块, 还用于显示所述完整业务路径上的网元和链路。 The path display module is also used to display network elements and links on the complete service path.
16、根据权利要求 9或 15任一所述的网络故障维护中业务路径的显示装置, 其特征在于, 所述网络故障维护中业务路径的显示装置, 还包括: 16. The display device for service paths in network fault maintenance according to any one of claims 9 or 15, characterized in that, the display device for service paths in network fault maintenance further includes:
性能参数显示模块、 区别显示模块或路径测试模块中的至少一个; 所述性能参数显示模块, 用于显示被用户选择的网元或链路的性能参数, 所述性能参数包括: 告警信号、 带宽利用率、 CPU 占用率、 内存占用率、 代价 值和最大传输单元值中的至少一种; At least one of the performance parameter display module, the difference display module or the path test module; the performance parameter display module is used to display the performance parameters of the network element or link selected by the user, the performance parameters include: alarm signal, bandwidth At least one of utilization, CPU occupancy, memory occupancy, cost value and maximum transmission unit value;
所述区别显示模块, 用于区别显示被用户选择的链路, 所述区别显示包括: 加粗显示、 不同颜色显示和动态效果显示中的至少一种; The differential display module is used to differentially display the link selected by the user. The differential display includes: at least one of bold display, different color display and dynamic effect display;
所述路径测试模块, 用于测试被用户选择的网元或链路, 所述测试包括: 执行 TRACE指令或 PING指令。 The path test module is used to test the network element or link selected by the user. The test includes: executing the TRACE command or the PING command.
PCT/CN2013/076462 2012-07-30 2013-05-30 Method and device for displaying service path in network trouble maintenance WO2014019402A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210268347.5 2012-07-30
CN201210268347.5A CN102820987B (en) 2012-07-30 2012-07-30 Method and device for displaying service route in network failure maintaining

Publications (1)

Publication Number Publication Date
WO2014019402A1 true WO2014019402A1 (en) 2014-02-06

Family

ID=47304858

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/076462 WO2014019402A1 (en) 2012-07-30 2013-05-30 Method and device for displaying service path in network trouble maintenance

Country Status (2)

Country Link
CN (1) CN102820987B (en)
WO (1) WO2014019402A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260946A (en) * 2020-09-10 2021-01-22 视联动力信息技术股份有限公司 Link fault processing method and device, terminal equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102820987B (en) * 2012-07-30 2015-03-11 华为技术有限公司 Method and device for displaying service route in network failure maintaining
CN106161235A (en) * 2015-04-10 2016-11-23 中兴通讯股份有限公司 A kind of method and device obtaining multi-segment pseudo-wires routing information
CN107026782A (en) * 2015-06-25 2017-08-08 中兴通讯股份有限公司 Performance information methods of exhibiting and device
CN106656801B (en) * 2015-10-28 2019-11-15 华为技术有限公司 Reorientation method, device and the Business Stream repeater system of the forward-path of Business Stream
CN107566236B (en) * 2016-06-30 2020-07-31 中国电信股份有限公司 Method, device and system for acquiring client private line end-to-end service path
CN111064605B (en) * 2019-12-10 2021-07-09 中盈优创资讯科技有限公司 Visual end-to-end private line automatic opening method and device
CN115632929A (en) * 2022-10-14 2023-01-20 阿里云计算有限公司 Data processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396835B1 (en) * 1998-02-19 2002-05-28 Fujitsu Limited Method and apparatus for displaying transmission route for use in a switched network and method of detecting a failure using such a method and apparatus
CN101640612A (en) * 2009-09-07 2010-02-03 杭州华三通信技术有限公司 Method and device for flow path discovery and fault fast positioning
CN102546254A (en) * 2012-01-06 2012-07-04 烽火通信科技股份有限公司 Method for managing data communication network
CN102594613A (en) * 2012-04-01 2012-07-18 华为技术有限公司 Method and device for failure diagnosis of multi-protocol label switching virtual private network (MPLS VPN)
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining
CN102946349A (en) * 2012-02-23 2013-02-27 Ut斯达康通讯有限公司 OSPF (open shortest path first) protocol-based Ethernet E-Line service link discovery method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6396835B1 (en) * 1998-02-19 2002-05-28 Fujitsu Limited Method and apparatus for displaying transmission route for use in a switched network and method of detecting a failure using such a method and apparatus
CN101640612A (en) * 2009-09-07 2010-02-03 杭州华三通信技术有限公司 Method and device for flow path discovery and fault fast positioning
CN102546254A (en) * 2012-01-06 2012-07-04 烽火通信科技股份有限公司 Method for managing data communication network
CN102946349A (en) * 2012-02-23 2013-02-27 Ut斯达康通讯有限公司 OSPF (open shortest path first) protocol-based Ethernet E-Line service link discovery method and device
CN102594613A (en) * 2012-04-01 2012-07-18 华为技术有限公司 Method and device for failure diagnosis of multi-protocol label switching virtual private network (MPLS VPN)
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260946A (en) * 2020-09-10 2021-01-22 视联动力信息技术股份有限公司 Link fault processing method and device, terminal equipment and storage medium
CN112260946B (en) * 2020-09-10 2024-03-19 视联动力信息技术股份有限公司 Link failure processing method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN102820987B (en) 2015-03-11
CN102820987A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
WO2014019402A1 (en) Method and device for displaying service path in network trouble maintenance
US11876883B2 (en) Packet processing method, network node, and system
CN111510379B (en) EVPN message processing method, device and system
CN108574630B (en) EVPN message processing method, device and system
WO2021258754A1 (en) Message indication method and apparatus, and device and storage medium
US8000265B2 (en) Method and system for determining network topology of a virtual private network in multi protocol label switching (MPLS) based virtual private networks (VPNs)
US9143408B2 (en) Interprovider virtual private network path identification
US20140071834A1 (en) Method and Device for Processing Location Information of Fault Point
US11368357B2 (en) Service fault locating method and apparatus
US11509552B2 (en) Application aware device monitoring correlation and visualization
WO2014032435A1 (en) Method and device for processing location information about fault point
WO2009056034A1 (en) Method, system and equipment to establish bfd detection for lsp tunnel
CN109474495B (en) Tunnel detection method and device
RU2571729C2 (en) Ethernet interface protection method and network side device
US20210119911A1 (en) Message sending and receiving method, apparatus, and system
WO2022083563A1 (en) Link detection method, link detection apparatus, terminal device and storage medium
CN110650041A (en) IPRAN network fault positioning method and device
US11032124B1 (en) Application aware device monitoring
WO2008017223A1 (en) Method, apparatus and network for intercommunicating failure detecting results
CN115314779A (en) Optical transport network path determining method, device, equipment and storage medium
US8144624B2 (en) Method and system for discovering a pure hub-and-spoke topology
CN103457794B (en) Method and system for confirming faults of IP bearer network
CN109412851B (en) Link layer path detection method, device and system
WO2019001101A1 (en) Routing path analysis method and device
Mahkonen et al. Elastic network monitoring with virtual probes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13824891

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13824891

Country of ref document: EP

Kind code of ref document: A1