CN108429626B - Method, device and system for presenting network topology - Google Patents
Method, device and system for presenting network topology Download PDFInfo
- Publication number
- CN108429626B CN108429626B CN201710076651.2A CN201710076651A CN108429626B CN 108429626 B CN108429626 B CN 108429626B CN 201710076651 A CN201710076651 A CN 201710076651A CN 108429626 B CN108429626 B CN 108429626B
- Authority
- CN
- China
- Prior art keywords
- network element
- transmission
- name
- transmission network
- multiplexing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method, a device and a system for presenting network topology. The presentation method comprises the following steps: acquiring multiplex section protection information of a transmission multiplex section in a network element management system; restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information; acquiring network element names and network element port numbers of transmission network elements on a transmission path of a specified service in a network element management system; and overlapping the multiplexing section ring logic topology and the transmission path based on the acquired multiplexing section protection information, the network element name and the network element port number of each transmission network element so as to present the multiplexing section protection information on the transmission path. According to the method, the device and the system for presenting the network topology, provided by the embodiment of the invention, the multiplex section protection information and the transmission path are subjected to topology superposition, so that the service-based transmission path topological graph can present the multiplex section protection information of the optical cable.
Description
Technical Field
The present invention relates to the field of network management, and in particular, to a method, an apparatus, and a system for presenting a network topology.
Background
As synchronous digital transmission technology becomes mature and network-borne services continue to expand, the security requirements on backbone transmission networks are becoming higher and higher. In order to ensure the reliability of the network and realize effective Protection on the connection point of the ring network, the Multiplex Section Protection (MSP) technology is widely applied due to the advantages of short service interruption time, sharable Protection channel, high network capacity and the like, and plays a significant role in the safe operation of the whole network.
The transmission network is a topology-based network, and the service-based transmission path topological graph can realize end-to-end presentation of the service path based on the topology, thereby improving the network management capability taking the service as the core. Currently, in a transmission path topological graph based on services in a network management system, each topological path can be related to the services of a group client through a related algorithm.
However, when a service-based transmission path topology map is constructed at present, a transmission path topology of a specified service is drawn by collecting transmission port association information configured on a transmission network element, and because a method and a process for constructing the service-based transmission path topology map cannot collect multiplex section protection information realized by protocol protection, the transmission path topology map cannot be combined with the multiplex section protection information, thereby failing to realize that a multiplex section protection condition of a certain section of optical cable is presented on a transmission optical path, and causing that protection information of a transmission optical path related to the service in a network management system is not fully presented.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for presenting network topology, which can realize the joint presentation of multiplex section protection information and a service path on a network management topological graph.
According to an aspect of an embodiment of the present invention, a method for presenting a network topology is provided, where the method includes: acquiring multiplex section protection information of a transmission multiplex section in a network element management system; restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information; acquiring network element names and network element port numbers of transmission network elements on a transmission path of a specified service in a network element management system; and overlapping the multiplexing section ring logic topology and the transmission path based on the acquired multiplexing section protection information, the network element name and the network element port number of each transmission network element so as to present the multiplexing section protection information on the transmission path.
According to another aspect of the embodiments of the present invention, there is provided a rendering apparatus of a network topology, the rendering apparatus including: the multiplexing section protection information acquisition module is used for acquiring the multiplexing section protection information of the transmission multiplexing section in the network element management system; the multiplexing section protection ring restoration module is used for restoring the multiplexing section ring logic topology of the transmission multiplexing section according to the acquired multiplexing section protection information; and the topology superposition module is used for superposing the multiplexing section ring logic topology and the transmission path based on the multiplexing section protection information of the transmission multiplexing section and the network element name and port number of each transmission network element on the appointed service path acquired by the network element management system so as to superpose and present the multiplexing section protection information and the service path.
According to still another aspect of the embodiments of the present invention, there is provided a presentation system of a network topology, the presentation system including: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the steps of: acquiring multiplex section protection information of a transmission multiplex section in a network element management system; restoring the multiplexing section ring logic topology of the transmission multiplexing section through the acquired multiplexing section protection information; based on the multiplex section protection information of the transmission multiplex section, the network element name and the port number of each transmission network element on the appointed service path acquired by a network element management system, overlapping the multiplex section ring logic topology with the transmission path to enable the multiplex section protection information and the service path to be overlapped and presented; and the display unit is used for displaying the superposition of the multiplex section protection information and the service path.
According to the method, the device and the system for presenting the network topology, provided by the embodiment of the invention, the multiplexing section protection information on the network element management system of the bottom manufacturer is collected and is topologically superposed with the transmission path of the specified service, so that the service-based transmission path topological graph can present the multiplexing section protection information of the optical cable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a method of presentation of a network topology according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a multiplex section protection ring logical topology restored from multiplex section protection information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a transmission path topology according to an embodiment of the invention;
FIG. 4 is a detailed flowchart of the steps in FIG. 1 for superimposing a multiplexed segment ring logical topology with a transmission path;
fig. 5 is a schematic diagram illustrating a topology after a multiplex section ring logical topology is superimposed with a transmission path according to an embodiment of the present invention.
FIG. 6 is a schematic diagram of a rendering device of a network topology according to an embodiment of the present invention;
FIG. 7 is a detailed structural diagram of the topology overlapping module in FIG. 6;
fig. 8 is a block diagram illustrating an exemplary hardware architecture of a presentation system of a network topology capable of implementing the presentation method and apparatus of a network topology according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The following describes a method, an apparatus, and a system for presenting a network topology according to an embodiment of the present invention in detail with reference to the accompanying drawings. It should be noted that these examples are not intended to limit the scope of the present disclosure.
Fig. 1 is a flowchart illustrating a presentation method of a network topology according to an embodiment of the present invention. As shown in fig. 1, the method 100 for presenting a network topology in the present embodiment includes the following steps:
step S110, collecting the multiplex section protection information of the transmission multiplex section in the network element management system.
Step S120, the multiplexing section ring logic topology of the transmission multiplexing section is restored through the multiplexing section protection information.
Step S130, a network element name and a network element port number of each transmission network element on a transmission path of the specified service in the network element management system are collected.
Step S140, based on the collected protection information of the multiplexing segment, the network element name and the network element port number of each transmission network element, the multiplexing segment ring logical topology is superimposed on the transmission path, so as to present the protection information of the multiplexing segment on the transmission path.
In step S110, the multiplexing section protection information at least includes a protection device name of the protection device in the transmission multiplexing section, each logical connection relationship of the protection device, and port information of the protection device, where the port information of the protection device includes port numbers respectively corresponding to each logical connection relationship of the protection device.
In some embodiments, the multiplex section protection information table may be generated by collecting multiplex section protection information on an Element Management System (EMS) of an underlying manufacturer. As an example, the fields that need to be collected may include: multiplexing section name, protection device name, logic connection relation, port information and time slot, and forming a database table of multiplexing section protection information.
For convenience of understanding, the following table 1 shows a multiplexed segment protection information table according to an exemplary embodiment of the present invention.
Table 1 multiplex section protection information table
In table 1, the multiplex section name field shows the name of the transmission multiplex section corresponding to the multiplex section protection information table; the protection device name field shows the name of the protection device protected by the transport multiplexing section; the logical connection relation field shows two protection devices having a logical connection relation in the transport multiplexing section; the port information field is composed of two port numbers, the two port numbers are divided by punctuation marks such as commas, and the port information shows two end ports used by two protection devices with corresponding logical connection relations; the slot field shows the active slot of the transport multiplex section.
In some embodiments, step S120 may specifically include the following steps:
step S121, extracting the protection device name of the protection device in the transmission multiplexing segment and each logical connection relationship of the protection device from the multiplexing segment protection information.
And step S122, establishing a ring network topology among the protection devices according to the names of the protection devices and the logical connection relations, so as to restore the multiplexing section ring logical topology.
Through the above steps S121 and S122, the names of the protection devices can be extracted from the protection information of the multiplex section, and the ring network topology between the protection devices can be established according to the logical connection relationship.
The corresponding logical topology of the multiplex section ring restored by the multiplex section protection information table in the above table 1 is described by fig. 2.
Fig. 2 shows a logical topology of the protection ring of the multiplex section restored according to the protection information of the multiplex section in table 1. The multiplexing section protection ring is named as a four-fiber bidirectional multiplexing section shared protection ring _ three-plane convergence ring 10.
As shown in fig. 2, in the logical topology of the protection ring of the multiplexing section, the protection devices protected by the protection ring of the multiplexing section include: 3111-XX three planes 9500, 4215-XX block XX office, 4214-XX block XX building, 4520-XX block XX road, and 3112-XX block three planes 9500.
In fig. 2, a connection line between two protection devices indicates that there is a logical connection relationship between the two protection devices, a number on the connection line indicates the number of records having the logical connection relationship, and when there is more than one record of the logical connection between the two protection devices, it indicates that there is more than one logical connection relationship between the protection devices. For example: the protective devices 3111-xx are in three-plane 9500 and the protective devices 4215-xx are connected in a local xx mode.
Fig. 3 is a transmission path topology diagram through which a group customer private line service provided according to an embodiment of the present invention passes.
As shown in fig. 3, the transmission path topology diagram shows a plurality of transmission network elements, in fig. 3, three planes 9500 and 3817-XX in the 3111-XX plane, three planes 9500-2 in the 3817-XX region, and the like represent network element names of corresponding transmission network elements, a connection line between two transmission network elements represents that the two transmission network elements have a connection relationship, and when there are a plurality of records of logical connections between two protection devices, it indicates that there are a plurality of logical connections between the protection devices.
How the multiplexing segment ring logical topology is superimposed with the transmission path is described below by means of fig. 4.
Fig. 4 is a detailed flowchart of the step of superimposing the multiplexed segment ring logical topology with the transmission path in fig. 1. As shown in fig. 4, step S140 may specifically include:
step S141, the network element name and the network element port number of each transmission network element on the transmission path are respectively matched with the protection device name and the port information of the protection device in the multiplexing segment protection information, so as to obtain the transmission network element protected by the transmission multiplexing segment corresponding to the multiplexing segment protection information.
Step S142, acquiring the transmission network element connected to the transmission path of the matched transmission network element, matching the network element name and the network element port number of the connected transmission network element with the protection device name and the port information of the protection device in the protection information of the multiplexing segment, and determining whether the connected transmission network element is the transmission network element protected by the transmission multiplexing segment corresponding to the protection information of the multiplexing segment.
Step S143, if the connected transmission network element is the transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information, the connected transmission network element is used as a newly matched transmission network element, and according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relationship and port information of the multiplexing section protection information, it is determined whether the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information.
Step S144, if the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information, based on the connection relationship, overlapping the multiplexing section ring logic topology of the transmission multiplexing section with the transmission path.
As an alternative embodiment, step S141 may further include:
step S141-1, the network element name of each transmission network element on the transmission path is matched with the protection device name in the multiplex section protection information.
Step S141-2, if the name matching is successful, acquiring the transmission network element with successfully matched name and the protection device with successfully matched name, and matching the network element port number of the transmission network element with successfully matched name with the port information of the protection device with successfully matched name.
Step S141-3, if the port number is successfully matched, the transmission network element with the successfully matched port number is used as the transmission network element protected by the transmission multiplexing section corresponding to the matched multiplexing section protection information.
In this embodiment, the network element names of the transmission network elements in the transmission path are sequentially used to perform name matching with the protection device names in the multiplex section protection information table; if the name matching is successful, acquiring the network element port number of the transmission network element with the successfully matched name, and performing port matching with a port information field in the multiplex section protection information; if the port matching is successful, the network element is indicated to be in the multiplex section protection.
When the network element name is matched, if a certain transmission network element on the transmission path is not matched with the protection device name in the multiplex section protection information table, the transmission network element is not in the multiplex section protection, the name matching aiming at the current network element is finished, and the next network element name on the transmission path is extracted to be matched with the protection device name in the multiplex section protection information table.
When matching the port numbers, because the "port information" in the protection information table of the multiplexing section is a combination of two port numbers divided by punctuation marks, the two port numbers need to be respectively matched with the port numbers of the transmission network element, and if the matching is unsuccessful, it indicates that the transmission network element is not in the protection of the multiplexing section.
As an optional embodiment, in step S143, according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relationship and port information of the multiplexing segment protection information, a step of determining whether the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing segment corresponding to the multiplexing segment protection information may specifically include:
step S143-1, comparing the network element name of the matched transmission network element, the network element name of the newly matched transmission network element, and the protection device names of the two protection devices having the logical connection relationship in the protection information of the multiplexing section, and determining whether the matched transmission network element and the newly matched transmission network element have the logical connection relationship of the protection information of the multiplexing section.
Step S143-2, if the logical connection relation of the multiplex section protection information exists, comparing the network element port number of the matched transmission network element, the network element port number of the newly matched transmission network element with the port information corresponding to the logical connection relation of the matched transmission network element and the newly matched transmission network element, and determining whether the corresponding port information includes the network element port number of the matched transmission network element and the newly matched transmission network element port number.
Step S143-3, if the network element port number of the matched transmission network element and the network element port number of the newly matched transmission network element are included, determining that the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information.
In this embodiment, the transmission network element connected to the matched transmission network element is obtained, the transmission network element connected to the matched transmission network element is matched with other network elements in the transmission multiplexing section, and it is determined whether the transmission network element connected to the matched transmission network element and the transmission network element connected to the transmission network element have a connection relationship in the transmission multiplexing section.
If the matched transmission network element and the transmission network element connected to the transmission network element have a connection relationship in the transmission multiplexing section, the following step S144 may be executed.
As an optional embodiment, the step of superimposing the multiplexing segment ring logic topology of the transmission multiplexing segment and the transmission path based on the connection relationship between the matched transmission network element and the newly matched transmission network element in the transmission multiplexing segment in step S144 may specifically include:
step S144-1, the protection device name in the protection information of the multiplex section corresponding to the connection relation is obtained in the logical topology of the multiplex section ring.
Step S144-2, the obtained protection device name and the network element name of the transmission network element corresponding to the connection relation are merged with the same name, so that the extracted multiplex section ring logic topology is superposed with the transmission path.
In this embodiment, the information in the multiplexing segment ring logical topology is read by the topology map tool, and the names of the protection devices of the multiplexing segment protection information and the names of the transmission network elements on the transmission path are merged with each other based on the connection relationship, so as to generate a merged topology map.
Fig. 5 is a schematic diagram illustrating a topology after a multiplex section ring logical topology is superimposed with a transmission path according to an embodiment of the present invention.
As shown in fig. 5, with the method for presenting a network topology according to the above embodiment of the present invention, the three planes 9500-2 of the transmission network elements 3817-XX in the transmission multiplexing segment and the three planes 9500 of the transmission network elements 3111-XX connected to the transmission network elements are determined to be in the protection of the same multiplexing segment ring logic topology; the transmission network element 3817-XX zone three-plane 9500-2 and the connected transmission network element 3111-XX three-plane 9500 have a connection relation on a transmission path, and a network element name and a network element port number corresponding to the connection relation are matched with a logical connection relation and port information of the protection device 3817-XX zone three-plane 9500-2 and the protection device 3111-XX three-plane 9500 in the transmission multiplexing section; and based on the matched logical connection relation and the port information, overlapping the multiplexing segment ring logical topology to the transmission path, thereby displaying the multiplexing segment information on the transmission path.
By the method for presenting the network topology provided by the embodiment, the multiplex section protection information on the network element management system of the bottom manufacturer is collected and is topologically superposed with the transmission path based on the service, so that the transmission path topological graph based on the service can present the multiplex section protection information of the optical cable.
The rendering apparatus of the network topology according to the embodiment of the present invention is described in detail below by means of fig. 6 and 7.
Fig. 6 is a presentation apparatus illustrating a network topology provided in accordance with an embodiment of the present invention. As shown in fig. 6, the presentation apparatus 200 of the network topology includes:
a multiplexing section protection information collecting module 210, configured to collect multiplexing section protection information of a transmission multiplexing section in the network element management system.
The multiplexing section protection ring restoring module 220 is configured to restore the multiplexing section ring logic topology of the transmission multiplexing section according to the multiplexing section protection information.
A transmission path information collecting module 230, configured to collect network element names and network element port numbers of transmission network elements on a transmission path of a specified service in the network element management system.
And a topology overlapping module 240, configured to overlap the multiplexing segment ring logical topology with the transmission path based on the acquired multiplexing segment protection information, the network element name of each transmission network element, and the network element port number, so as to present the multiplexing segment protection information on the transmission path.
In some embodiments, the multiplexing section protection information at least includes a protection device name of the protection device in the transmission multiplexing section, each logical connection relationship of the protection device, and port information of the protection device, where the port information of the protection device includes port numbers respectively corresponding to each logical connection relationship of the protection device.
As an alternative embodiment, the multiplexing section protection ring restoration module 220 is specifically configured to: extracting the protection equipment name of the protection equipment in the transmission multiplexing section and each logic connection relation of the protection equipment from the multiplexing section protection information; and establishing a ring network topology among the protection devices according to the names of the protection devices and the logical connection relations, so as to restore the multiplexing section ring logical topology.
Fig. 7 shows a specific structural diagram of the topology overlapping module in fig. 6. As shown in fig. 7, the topology overlay module 240 includes:
the transmission network element matching unit 241 is configured to match the network element name and the network element port number of each transmission network element on the transmission path with the protection device name and the port information of the protection device in the multiplexing section protection information, respectively, to obtain a transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information.
A connected transmission network element matching unit 242, configured to obtain a transmission network element connected to the matched transmission network element on the transmission path, match the network element name and the network element port number of the connected transmission network element with the protection device name and the port information of the protection device in the multiplexing section protection information, and determine whether the connected transmission network element is a transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information.
A connection relation determining unit 243, configured to, if the connected transmission network element is a transmission network element protected by the transmission multiplexing segment corresponding to the multiplexing segment protection information, take the connected transmission network element as a newly matched transmission network element, and determine whether the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing segment corresponding to the multiplexing segment protection information according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relation and port information of the multiplexing segment protection information.
And a topology superimposing unit 244, configured to, if the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information, superimpose the multiplexing section ring logical topology of the transmission multiplexing section on the transmission path based on the connection relationship.
As an optional embodiment, the transmission network element matching unit 241 may include:
a network element name matching subunit, configured to perform name matching on the network element name of each transmission network element on the transmission path and the protection device name in the multiplexing section protection information; a network element port number matching subunit, configured to, if name matching is successful, obtain a transmission network element with a successfully matched name and a protection device with a successfully matched name, and perform port number matching on the network element port number of the transmission network element with a successfully matched name and port information of the protection device with a successfully matched name; the transmission network element matching unit 241 is further configured to, if the port number is successfully matched, use the transmission network element with the successfully matched port number as the transmission network element protected by the transmission multiplexing section corresponding to the matched multiplexed section protection information.
As an alternative embodiment, the connection relation determining unit 243 may include:
a logical connection relation comparison subunit, configured to compare the network element name of the matched transmission network element, the network element name of the newly matched transmission network element, and the protection device names of the two protection devices having a logical connection relation in the protection information of the multiplexing segment, and determine whether the matched transmission network element and the newly matched transmission network element have the logical connection relation of the protection information of the multiplexing segment;
a port information comparison subunit, configured to, if the logical connection relationship of the protection information of the multiplexing section exists, compare the network element port number of the matched transmission network element, the network element port number of the newly matched transmission network element, and port information corresponding to the logical connection relationship of the matched transmission network element and the newly matched transmission network element, and determine whether the corresponding port information includes the network element port number of the matched transmission network element and the newly matched transmission network element port number;
the connection relation determining unit is specifically configured to determine that the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing section corresponding to the multiplexing section protection information if the network element port number of the matched transmission network element and the network element port number of the newly matched transmission network element are included.
As an alternative embodiment, the topology superimposing unit 244 may include:
the protection device name extraction subunit is used for acquiring the protection device name in the multiplex section protection information corresponding to the connection relation in the multiplex section ring logic topology;
and the name merging subunit is used for merging the acquired protection equipment name with the network element name of the transmission network element corresponding to the connection relation by using the same name, so as to overlap the extracted multiplexing section ring logic topology with the transmission path, and overlap the extracted multiplexing section ring logic topology with the transmission path.
According to the presentation device of the network topology provided by the embodiment of the invention, the collected multiplexing section protection information is topologically superposed with the transmission path based on the service, so that the transmission multiplexing section information and the service path are presented on the network management topological graph in a combined manner.
Other details of the presentation apparatus of network topology according to the embodiment of the present invention are similar to the presentation method of network topology according to the embodiment of the present invention described above with reference to fig. 1 to 5, and are not repeated herein.
The method and apparatus for presenting a network topology according to the embodiment of the present invention described in conjunction with fig. 1 to 7 can be implemented by a presentation system of a network topology that is detachably or fixedly installed on a network management server. Fig. 8 is a block diagram illustrating an exemplary hardware architecture of a presentation system of a network topology capable of implementing the presentation method and apparatus of a network topology according to an embodiment of the present invention. As shown in fig. 8, a presentation system 800 of a network topology includes an input device 801, an input interface 802, a central processor 803, a memory 804, an output interface 805, and an output device 806. The input interface 602, the central processing unit 803, the memory 804, and the output interface 805 are connected to each other through a bus 810, and the input device 801 and the output device 806 are connected to the bus 810 through the input interface 802 and the output interface 805, respectively, and further connected to other components of the network topology presentation system 800. Specifically, the input device 801 receives input information from the outside, and transmits the input information to the central processor 803 through the input interface 802; the central processor 803 processes input information based on computer-executable instructions stored in the memory 804 to generate output information, temporarily or permanently stores the output information in the memory 804, and then transmits the output information to the output device 806 via the output interface 805; the output device 806 outputs the output information to the outside of the presentation system 800 of the network topology for use by the user.
That is, the presentation system of the network topology shown in fig. 8 can also be implemented to include: a memory storing computer-executable instructions; and a processor which, when executing computer executable instructions, may implement the method and apparatus for presenting a network topology described in connection with fig. 1-7. Here, the processor may communicate with the network element management system to execute the computer-executable instructions based on the relevant information from the network element management system, thereby implementing the method and apparatus for presenting a network topology described in conjunction with fig. 1 to 7.
In one embodiment, the presentation system 800 of the network topology shown in FIG. 8 can be implemented to include: a memory configured to store a program; a processor configured to execute the program stored in the memory to perform the steps of: acquiring multiplex section protection information of a transmission multiplex section in a network element management system; restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information; acquiring network element names and network element port numbers of transmission network elements on a transmission path of a specified service in a network element management system; based on the collected protection information of the multiplexing segment, the network element name and the network element port number of each transmission network element, overlapping the logical topology of the multiplexing segment ring with the transmission path to present the protection information of the multiplexing segment on the transmission path; and the display unit is used for displaying the superposition of the superposed multiplexing section ring logic topology and the transmission path.
By the method, the device and the system for presenting the network topology, the multiplex section protection information can be displayed on the transmission path network topology.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.
Claims (11)
1. A method for presenting a network topology, the method comprising:
acquiring multiplex section protection information of a transmission multiplex section in a network element management system;
restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information;
acquiring the network element name and the network element port number of each transmission network element on a transmission path of a specified service in the network element management system;
based on the collected multiplex section protection information, the network element names and the network element port numbers of the transmission network elements, overlapping the multiplex section ring logic topology with the transmission path to present the multiplex section protection information on the transmission path;
the multiplexing section protection information at least comprises a protection device name of a protection device in the transmission multiplexing section, each logical connection relation of the protection device, and port information of the protection device, wherein the port information of the protection device comprises port numbers respectively corresponding to each logical connection relation of the protection device; the superimposing, based on the protection information of the multiplexing segment, the network element name and the network element port number of each transmission network element, the logical topology of the multiplexing segment ring and the transmission path includes:
matching the network element name and the network element port number of each transmission network element on the transmission path with the protection equipment name and the port information of the protection equipment in the multiplex section protection information respectively to obtain the transmission network element protected by the transmission multiplex section corresponding to the multiplex section protection information;
acquiring a transmission network element connected to the matched transmission network element on the transmission path, matching the network element name and the network element port number of the connected transmission network element with the protection device name and the port information of the protection device in the multiplex section protection information respectively, and determining whether the connected transmission network element is the transmission network element protected by the transmission multiplex section corresponding to the multiplex section protection information;
if the connected transmission network element is the transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information, taking the connected transmission network element as a newly matched transmission network element, and determining whether the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing section corresponding to the multiplexing section protection information according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relation and the port information of the multiplexing section protection information;
and if the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing section corresponding to the multiplexing section protection information, overlapping the multiplexing section ring logic topology of the transmission multiplexing section with the transmission path based on the connection relation.
2. The presentation method according to claim 1, wherein the restoring the logical topology of the multiplex section ring of the multiplex section through the collected multiplex section protection information comprises:
extracting the protection device name of the protection device in the transmission multiplexing section and each logic connection relation of the protection device from the multiplexing section protection information;
and establishing a ring network topology among the protection devices according to the protection device names and the logic connection relations, thereby restoring the multiplexing section ring logic topology.
3. The method according to claim 1, wherein the matching the network element name and the network element port number of each transmission network element on the transmission path with the protection device name and the port information of the protection device in the protection information of the multiplexing segment, respectively, to obtain the transmission network element protected by the transmission multiplexing segment corresponding to the protection information of the multiplexing segment, comprises:
matching the network element name of each transmission network element on the transmission path with the name of the protection equipment in the multiplex section protection information;
if the name matching is successful, acquiring the transmission network element with the successfully matched name and the protection equipment with the successfully matched name, and carrying out port number matching on the network element port number of the transmission network element with the successfully matched name and the port information of the protection equipment with the successfully matched name;
and if the port numbers are successfully matched, taking the transmission network element with the successfully matched port numbers as the matched transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information.
4. The method according to claim 1, wherein the determining, according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relationship of the protection information of the multiplexing section and the port information, whether the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the protection information of the multiplexing section, comprises:
comparing the network element name of the matched transmission network element, the network element name of the newly matched transmission network element with the protection device names of two protection devices having a logical connection relationship in the multiplex section protection information, and determining whether the matched transmission network element and the newly matched transmission network element have the logical connection relationship of the multiplex section protection information;
if the logical connection relationship of the multiplex section protection information exists, comparing the network element port number of the matched transmission network element and the network element port number of the newly matched transmission network element with port information corresponding to the logical connection relationship of the matched transmission network element and the newly matched transmission network element, and determining whether the corresponding port information comprises the network element port number of the matched transmission network element and the newly matched transmission network element port number;
and if the network element port number of the matched transmission network element and the network element port number of the newly matched transmission network element are included, determining that the matched transmission network element and the newly matched transmission network element have a connection relation in a transmission multiplexing section corresponding to the multiplexing section protection information.
5. The presentation method according to claim 1, wherein said superimposing the multiplexing segment ring logical topology of the transmission multiplexing segment with the transmission path based on the connection relation comprises:
acquiring the name of the protection equipment in the multiplex section protection information corresponding to the connection relation in the multiplex section ring logic topology;
and merging the acquired protection equipment name and the network element name of the transmission network element corresponding to the connection relation by the same name, thereby superposing the extracted multiplexing segment ring logic topology and the transmission path.
6. A rendering apparatus for a network topology, the rendering apparatus comprising:
a multiplexing section protection information acquisition module for acquiring multiplexing section protection information of a transmission multiplexing section in the network element management system;
the multiplexing section protection ring restoration module is used for restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information;
a transmission path information acquisition module, configured to acquire a network element name and a network element port number of each transmission network element on a transmission path of a specified service in the network element management system;
a topology superposition module, configured to superpose the multiplexing segment ring logical topology and the transmission path based on the acquired multiplexing segment protection information, the network element name of each transmission network element, and the network element port number, so as to present the multiplexing segment protection information on the transmission path;
the multiplexing section protection information at least comprises a protection device name of a protection device in the transmission multiplexing section, each logical connection relation of the protection device, and port information of the protection device, wherein the port information of the protection device comprises port numbers respectively corresponding to each logical connection relation of the protection device;
the topology superimposition module comprises:
a transmission network element matching unit, configured to match a network element name and a network element port number of each transmission network element on the transmission path with a protection device name and port information of a protection device in the multiplexing section protection information, respectively, to obtain a transmission network element protected by a transmission multiplexing section corresponding to the multiplexing section protection information;
a transmission network element matching unit connected to the transmission path, configured to acquire a transmission network element connected to the matched transmission network element on the transmission path, match a network element name and a network element port number of the connected transmission network element with a protection device name and port information of a protection device in the multiplexing section protection information, and determine whether the connected transmission network element is a transmission network element protected by a transmission multiplexing section corresponding to the multiplexing section protection information;
a connection relation determining unit, configured to, if the connected transmission network element is a transmission network element protected by a transmission multiplexing segment corresponding to the multiplexing segment protection information, use the connected transmission network element as a newly matched transmission network element, and determine whether the matched transmission network element and the newly matched transmission network element have a connection relation in a transmission multiplexing segment corresponding to the multiplexing segment protection information according to a network element name and a network element port number of the matched transmission network element, a network element name and a network element port number of the newly matched transmission network element, and each logical connection relation and the port information of the multiplexing segment protection information;
and a topology superimposing unit, configured to, if the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information, superimpose the multiplexing section ring logic topology of the transmission multiplexing section on the transmission path based on the connection relationship.
7. The presentation device according to claim 6, wherein the multiplex section guard ring restoration module is specifically configured to:
extracting the protection device name of the protection device in the transmission multiplexing section and each logic connection relation of the protection device from the multiplexing section protection information; and establishing a ring network topology among the protection devices according to the protection device names and the logic connection relations, thereby restoring the multiplexing section ring logic topology.
8. The presentation device according to claim 7, wherein said transmission network element matching unit comprises:
a network element name matching subunit, configured to perform name matching on the network element name of each transmission network element on the transmission path and the protection device name in the protection information of the multiplexing segment;
a network element port number matching subunit, configured to, if name matching is successful, obtain the transmission network element with the successfully matched name and the protection device with the successfully matched name, and perform port number matching on the network element port number of the transmission network element with the successfully matched name and the port information of the protection device with the successfully matched name;
and the transmission network element matching unit is further configured to, if the port number is successfully matched, use the transmission network element with the successfully matched port number as the matched transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information.
9. The presentation device according to claim 7, wherein the connection relation determination unit comprises:
a logical connection relation comparing subunit, configured to compare the network element name of the matched transmission network element, the network element name of the newly matched transmission network element, and protection device names of two protection devices having a logical connection relation in the protection information of the multiplexing segment, and determine whether the matched transmission network element and the newly matched transmission network element have the logical connection relation of the protection information of the multiplexing segment;
a port information comparison subunit, configured to, if the logical connection relationship of the protection information of the multiplexing segment exists, compare the network element port number of the matched transmission network element, the network element port number of the newly matched transmission network element, and port information corresponding to the logical connection relationship of the matched transmission network element and the newly matched transmission network element, and determine whether the corresponding port information includes the network element port number of the matched transmission network element and the newly matched transmission network element port number;
the connection relationship determining unit is specifically configured to determine that the matched transmission network element and the newly matched transmission network element have a connection relationship in the transmission multiplexing section corresponding to the multiplexing section protection information if the connection relationship includes the network element port number of the matched transmission network element and the network element port number of the newly matched transmission network element.
10. The presentation device according to claim 7, wherein the topology superimposition unit comprises:
a protection device name extraction subunit, configured to obtain, in the multiplex section ring logical topology, a protection device name in the multiplex section protection information corresponding to the connection relationship;
and a name merging subunit, configured to merge the obtained protection device name and the network element name of the transmission network element corresponding to the connection relationship by using the same name, so as to superimpose the extracted multiplexing segment ring logical topology and the transmission path, and thereby superimpose the extracted multiplexing segment ring logical topology and the transmission path.
11. A system for presenting a network topology, comprising:
a memory configured to store a program;
a processor configured to execute the program stored in the memory to perform the steps of:
acquiring multiplex section protection information of a transmission multiplex section in a network element management system;
restoring the multiplexing section ring logic topology of the transmission multiplexing section through the multiplexing section protection information;
acquiring the network element name and the network element port number of each transmission network element on a transmission path of a specified service in the network element management system;
based on the collected multiplex section protection information, the network element names and the network element port numbers of the transmission network elements, overlapping the multiplex section ring logic topology with the transmission path to present the multiplex section protection information on the transmission path;
the multiplexing section protection information at least comprises a protection device name of a protection device in the transmission multiplexing section, each logical connection relation of the protection device, and port information of the protection device, wherein the port information of the protection device comprises port numbers respectively corresponding to each logical connection relation of the protection device;
the superimposing, based on the protection information of the multiplexing segment, the network element name and the network element port number of each transmission network element, the logical topology of the multiplexing segment ring and the transmission path includes:
matching the network element name and the network element port number of each transmission network element on the transmission path with the protection equipment name and the port information of the protection equipment in the multiplex section protection information respectively to obtain the transmission network element protected by the transmission multiplex section corresponding to the multiplex section protection information;
acquiring a transmission network element connected to the matched transmission network element on the transmission path, matching the network element name and the network element port number of the connected transmission network element with the protection device name and the port information of the protection device in the multiplex section protection information respectively, and determining whether the connected transmission network element is the transmission network element protected by the transmission multiplex section corresponding to the multiplex section protection information;
if the connected transmission network element is the transmission network element protected by the transmission multiplexing section corresponding to the multiplexing section protection information, taking the connected transmission network element as a newly matched transmission network element, and determining whether the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing section corresponding to the multiplexing section protection information according to the network element name and the network element port number of the matched transmission network element, the network element name and the network element port number of the newly matched transmission network element, and each logical connection relation and the port information of the multiplexing section protection information;
if the matched transmission network element and the newly matched transmission network element have a connection relation in the transmission multiplexing section corresponding to the multiplexing section protection information, overlapping the multiplexing section ring logic topology of the transmission multiplexing section with the transmission path based on the connection relation;
and the display unit is used for displaying the superposed logical topology and transmission path of the multiplex section ring.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710076651.2A CN108429626B (en) | 2017-02-13 | 2017-02-13 | Method, device and system for presenting network topology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710076651.2A CN108429626B (en) | 2017-02-13 | 2017-02-13 | Method, device and system for presenting network topology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108429626A CN108429626A (en) | 2018-08-21 |
CN108429626B true CN108429626B (en) | 2021-05-25 |
Family
ID=63155046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710076651.2A Active CN108429626B (en) | 2017-02-13 | 2017-02-13 | Method, device and system for presenting network topology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108429626B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113890669B (en) * | 2020-07-03 | 2023-08-15 | 中国移动通信集团湖南有限公司 | Method and device for acquiring service signal flow of transmission network and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IT1316316B1 (en) * | 2000-02-01 | 2003-04-10 | Cit Alcatel | TRAFFIC PROTECTION METHOD IN FIBER OPTIC TRANSPORT NETWORKS IN WDM TECHNOLOGY |
CN101001173B (en) * | 2006-06-29 | 2010-08-18 | 华为技术有限公司 | Method for estimating network protection status |
CN101567743B (en) * | 2009-05-31 | 2012-05-23 | 中兴通讯股份有限公司 | Method and device for calculating multiplex section shared protection ring misconnection suppression table |
CN101605083B (en) * | 2009-07-15 | 2012-01-25 | 中兴通讯股份有限公司 | Method and device for discovering protective sub-network of looped network |
CN101916320A (en) * | 2010-09-03 | 2010-12-15 | 烽火通信科技股份有限公司 | Method for graphically representing network topological objects and network topological object relationships in network planning |
CN101945011B (en) * | 2010-09-14 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system for evaluating protective performance of multiplexing section |
-
2017
- 2017-02-13 CN CN201710076651.2A patent/CN108429626B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108429626A (en) | 2018-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10498588B2 (en) | Systems and methods for managing network health | |
CN100592712C (en) | Method for setting link attribute, method for calculating route and system employing them | |
CN109542330B (en) | Data storage method, data query method and device | |
CN111049696B (en) | Method, node and computing device for node management of blockchain system | |
CN103152261B (en) | A kind of Link State Protocol Data Unit fragment message generates dissemination method and equipment | |
CN110557452A (en) | Node management method and device of block chain, storage medium and computer equipment | |
WO2022083459A1 (en) | Positioning differential information acquisition method, apparatus and device, and computer storage medium | |
CN108429626B (en) | Method, device and system for presenting network topology | |
JP4460358B2 (en) | Disability relief processing method and program | |
EP3185489B1 (en) | Communication device, communication system and communication method | |
CN106973000B (en) | Single-chain ring formation construction algorithm in communication network | |
CN115022185B (en) | Topological graph display method and device | |
CN112468480B (en) | Data association method, device, equipment and computer storage medium | |
JP5685213B2 (en) | Differential replication system, master database device, and slave database device | |
US10432451B2 (en) | Systems and methods for managing network health | |
CN115499861A (en) | Service same-route detection method, device, equipment and storage medium | |
CN103746834A (en) | Transmission network service route searching method and correlation device, and communication system | |
EP3611848B1 (en) | Method and apparatus for generating shared risk link group | |
Taniguchi et al. | Efficient reliability evaluation of multi-domain networks with secure intra-domain privacy | |
CN115460094B (en) | Determination method and device for physical looping point | |
CN108494859B (en) | Network data synchronization method and system | |
CN107332709A (en) | A kind of Fault Locating Method and device | |
CN111385161A (en) | Flow monitoring method, device, equipment, system and medium | |
CN112564934A (en) | Fault positioning method and equipment for special line service circuit and computer storage medium | |
JP2019066927A (en) | Failure countermeasure system and failure countermeasure method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |