WO2011023123A1 - Method and system for monitoring ethernet automatic protection switching (eaps) ring network topology - Google Patents
Method and system for monitoring ethernet automatic protection switching (eaps) ring network topology Download PDFInfo
- Publication number
- WO2011023123A1 WO2011023123A1 PCT/CN2010/076393 CN2010076393W WO2011023123A1 WO 2011023123 A1 WO2011023123 A1 WO 2011023123A1 CN 2010076393 W CN2010076393 W CN 2010076393W WO 2011023123 A1 WO2011023123 A1 WO 2011023123A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- eaps
- topology
- ring
- node
- information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4637—Interconnected ring systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- 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/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- 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/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- 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/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
Definitions
- the invention relates to network monitoring technology, in particular to Ethernet automatic protection switching (PCI Automatic Protection Switching (EAPS) ring network topology monitoring method and system.
- PCI Automatic Protection Switching EAPS
- EAPS It is a link layer protocol specifically applied to the Ethernet ring network to prevent broadcast storms caused by data loops in the Ethernet ring network. When a link on the Ethernet ring is disconnected, the backup link can be quickly enabled to resume communication between nodes on the ring network. related A more detailed definition of EAPS technology can be found in RFC 3619 and is not described in detail here.
- the EAPS protocol itself does not have topology discovery capabilities, but for network administrators, it is necessary to understand the whole EAPS What ring structure of the ring network, the state of the ring, the protection instance of the ring, the nodes in the ring, the primary and secondary ports of the node, the connection order between the nodes, and the state of the nodes. When the ring network fails, it can be quickly located. Faulty node and faulty device. So, for the needs of network management, right Effective monitoring of the EAPS ring topology is important and necessary.
- the technical problem to be solved by the present invention is to provide an EAPS. Ring network topology monitoring method and monitoring system for effective network management.
- the present invention solves the technical problem, and the technical solution adopted is as follows.
- An EAPS ring network topology monitoring system includes: an EAPS topology monitoring device and a topology client;
- the EAPS topology monitoring device is configured to connect an EAPS on an EAPS ring in the EAPS ring network
- the node is used as a seed device, and the topology information of the EAPS ring in which the seed device is located is obtained from the seed device, and the topology information is provided to the topology client for displaying the topology view of the EAPS ring.
- An EAPS ring topology monitoring method includes:
- the EAPS topology monitoring device will have an EAPS on an EAPS ring in the EAPS ring network
- the node is used as a seed device, and the topology information of the EAPS ring in which the seed device is located is obtained from the seed device, and the topology information is provided to the topology client for displaying the topology view of the EAPS ring.
- the technical solution provided by the embodiment of the present invention implements EAPS
- the collection and graphical display of the network topology compared with the general Layer 2 network topology discovery method, the solution of the present invention only needs to access some devices in the EAPS ring network to obtain the entire EAPS.
- the network information can effectively reduce the number of packets on the network, such as SNMP packets, greatly improving the topology update speed of the network management software.
- FIG. 1 is a schematic structural diagram of a system of an embodiment
- FIG. 2 is a timing diagram of EAPS topology collection and display according to the present invention.
- FIG. 3 is a schematic diagram of an EAPS ring network topology of an embodiment.
- the basic idea of the present invention is: 1) using the device where any node in the EAPS ring topology is located as a seed device, EAPS
- the topology monitoring device accesses the device and obtains the EAPS ring to which the device node belongs, the EAPS node in the ring, and the primary and secondary port information of the node, if the EAPS A ring topology consists of two or more rings. It also needs to obtain the edge node on the ring, that is, the node that the ring intersects with another ring, the device information, and then analyze and collect the collected topology information, and the topology client Complete this collection Dynamic drawing of the EAPS ring topology.
- EAPS ring network topology information By repeatedly accessing the devices of the edge nodes in the EAPS ring topology, the entire EAPS ring network topology information is obtained and displayed.
- 2 Automatically collect EAPS ring topology information by user manual mode or EAPS topology monitoring device, and update EAPS topology view in real time, so that EAPS can be reflected in time and accurately. Changes in the ring topology.
- 3 When the EAPS ring network fails, the collected topology information may be incomplete, and the EAPS topology monitoring device accesses the EAPS of the fault segment in turn.
- the device where the node is located collects the status of the faulty node and the link state between the nodes, supplementing EAPS
- the topology information of the fault segment of the ring network enables the network administrator to accurately and intuitively observe the faulty node and the faulty link in the topology view presented by the topology client.
- EAPS topology monitoring device receives and stores EAPS ring status, node status, and connection status change information, notify the topology client to update the EAPS ring topology view in time, and the network administrator can query and monitor the entire EAPS in real time.
- the topology change of the ring network is mapped to EAPS ring network.
- the EAPS ring network topology monitoring system of the present invention includes an EAPS topology monitoring device and a topology client.
- EAPS The topology monitoring device may include one or more modules, which may be implemented in one device or distributed among multiple devices.
- EAPS The topology monitoring device may be a module on the network management workstation or an independent network management workstation. The present invention does not limit the specific implementation form of the EAPS topology monitoring device.
- the topology client can communicate with the EAPS topology monitoring device, receive the EAPS status change message, and obtain the changed EAPS. Ring topology information and display it on a display.
- the topology client can be a separate software running on a client device (such as a normal PC) or a module of the network management client software.
- An EAPS node can obtain other node information in the same ring according to the EAPS protocol and save it in the EAPS.
- the storage module of the node for example, can be saved in the management information base (MIB) of the EAPS node.
- MIB management information base
- the EAPS protocol itself does not provide Layer 2 topology collection, EAPS.
- the node may collect the edge node information according to the scheme provided by the invention patent application with the publication number CN101483608.
- the EAPS topology monitoring device and each EAPS node can communicate via a network connection.
- EAPS topology monitoring device can be based on The information of the EAPS node, such as the IP address, accesses the device where the EAPS node is located, and obtains the EAPS ring to which the node saved by the device belongs, and other EAPS in the ring.
- the node and the primary and secondary port information of the node There are many ways in which an EAPS topology monitoring device can access a device on which an EAPS node resides. For example, remote data access technologies that can invoke network protocols can be utilized, for example. Telnet or http can also use other technologies, such as various network management technologies, etc., and will not be described here.
- the EAPS topology monitoring device can access EAPS through the access interface provided by the SNMP module in the EAPS node.
- the storage device of the node When other network management protocols are used, the means of implementation are similar, and will not be described here.
- the EAPS ring topology monitoring system consists of the following four modules:
- EAPS topology discovery module used to collect EAPS ring topology information based on seed device information, analyze EAPS Ring topology information and form ring topology data.
- the EAPS topology discovery module can also call the data processing module to analyze EAPS. Ring topology information and form ring topology data.
- Data processing module Provides data access interfaces for other modules, stores and retrieves EAPS ring topology information.
- Fault management module Used to notify EAPS when the device where the EAPS node is located is found to be faulty or when the fault is recovered.
- the alarm message of the change of the topology status generates a system alarm event, so that the topology view can be updated in time.
- EAPS The alarm information sent by the node can be a customized message, or can be implemented by using an existing message, such as a Simple Network Management Protocol (SNMP) Trap message.
- the system alarm event can be EAPS
- the topology discovery module or the data processing module processes, for example, invoking the data processing module to establish a topology collection task, and calling the EAPS topology discovery module to collect topology information.
- the data processing module analyzes and processes the collected topology information.
- Topology client Receives the seed device information input by the user and displays the EAPS topology view.
- the communication link between the modules is shown in Figure 1.
- EAPS The topology discovery module can exchange information with the data processing module and the topology client. Information exchange between the fault management module and the data processing module and the topology client is also possible.
- the topology client communicates with the data processing module.
- the monitoring process when the ring network performs management is taken as an example to describe the monitoring method of the present invention in detail.
- the timing of the monitoring method steps in this example is shown in Figure 2.
- the topology client receives the EAPS device IP input by the user. Address; can also receive SNMP parameter settings manually set by the user, such as SNMP version number V1 or V2 or V3, and community name and password (see SNMP) a description of the agreement).
- SNMP parameter settings manually set by the user, such as SNMP version number V1 or V2 or V3, and community name and password (see SNMP) a description of the agreement).
- the topology client uses the EAPS device input in step 1 above as the seed device to request the EAPS topology discovery module to be created.
- EAPS topology information collection task also known as topology collection task or EAPS network discovery task.
- EAPS topology discovery module scheduling topology collection tasks, through SNMP Access the seed device associated with the topology collection task to obtain the topology information of the EAPS ring where the device resides.
- the EAPS topology discovery module calls the data processing module to analyze and extract all the EAPS seed devices collected this time.
- the information of the EAPS ring and all its EAPS nodes including the device information of the EAPS node, the connection relationship between the ring, the node and the node, the primary and secondary port information, etc., are stored in the data processing module.
- the information storage function of the data processing module can be implemented by the network management database in the network management workstation.
- the data processing module notifies the topology client to update the EAPS topology view.
- the data processing module creates an EAPS topology information collection task for the device where the newly discovered EAPS edge node is located, and repeats 3 4 and 5 until all edge nodes are accessed, and finally the acquisition and display of the entire EAPS ring topology information is achieved.
- the EAPS ring topology consists of 1 primary ring (ring 1) and one sub-ring (ring 2)
- the main ring and the sub-ring have control nodes and transmission nodes, and the primary ring and the sub-ring intersect at one edge node and one auxiliary edge node (edge node m).
- the user enters the IP address of the device where the primary node of the EAPS primary ring (ring ID is 1).
- the EAPS topology discovery module creates a topology collection task for the device where the master node resides.
- the EAPS topology discovery module collects EAPS from the seed device. Ring topology information. When collecting from the device where the master node is located, only one topology (with ring ID 1) can be collected: including domain ID, ring ID, and control VLAN. , ring level, number of ring switching, ring status, port blocking status, all nodes on the ring, and primary and secondary ports of the node. This step can be done through the SNMP protocol and EAPS. To achieve, belongs to the prior art, and will not be described here.
- the data collected and analyzed from the primary node has EAPS ring related information with ring ID 1, which is the domain ID and ring mentioned above. ID, control VLAN, ring level, ring switching times, ring status, port blocking status, all nodes on the ring, including the primary node, transit node 1, transport node 2, transport node m, transport node n And the primary and secondary ports of each node; at the same time, the information that the transit node 2 is an edge node can be obtained (for example, the node type is an edge node, and the identifier of the device where the edge node is located, such as MAC) Address, etc.). From the collected data analysis, to obtain the entire EAPS ring topology, it is necessary to obtain the information of the EAPS ring with the ring ID of the device of the edge node and the node in the ring.
- the data processing module notifies the topology client to display all nodes of the ring 1 (ring ID 1) and the connections between the nodes.
- step 4 you can know that the transit node 2 of ring 1 is an edge node, if the device can be EAPS Topology monitoring device access (for example, when the device can be managed by SNMP protocol, the EAPS topology monitoring device can access the device through SNMP), and then the transit node 2 The device is a seed device.
- topology information collection also known as network discovery.
- Time-aware EAPS topology changes and timely update the network topology displayed by the topology client.
- the system can also access the network periodically (the specific timing value can be modified) to accurately reflect the changes in the EAPS ring topology.
- the specific steps are as follows.
- the data processing module of the EAPS topology monitoring device reads the timing configuration and completes The EAPS network periodically accesses the scheduling task and initializes the timer.
- the EAPS topology discovery module creates an EAPS topology information collection task.
- the EAPS topology discovery module can create a topology collection task for the preset seed device information in the EAPS topology monitoring device, and add the created task to the topology information collection task queue.
- the EAPS topology discovery module can also create topology collection tasks for all edge node devices and master node devices in the EAPS ring network that have been saved in the data management module, and add the created tasks to EAPS. Topology information collection task queue.
- EAPS topology discovery module scheduling EAPS topology information collection task queue for each task EAPS
- the network finds the EAPS ring topology information of each edge node and the master node.
- the EAPS topology discovery module calls the data processing module to analyze and extract the collected topology information. If you find new or deleted EAPS Ring, EAPS node or EAPS port (ie EAPS) The node's port), or its state changes (for example, through the collected ring state, port blocking state detected state change), update the corresponding data in the data processing module. When the data in the data processing module is updated, the data processing module sends the data to the topology client EAPS topology change message.
- the topology client receives the EAPS topology change message and updates the topology view in time.
- EAPS The topology change message can be delivered by the instant message notification technology, so that the topology client can update the topology view immediately when the topology changes.
- EAPS The topology change message may include only one update notification, and the topology client reads the topology information stored by the data processing module and displays it after receiving the update notification.
- EAPS The topology change message may also include all the topology information or only the topology information that has changed. After receiving the EAPS topology change message, the topology client directly updates the displayed topology according to the topology information.
- the topology view can accurately identify the link connection between the faulty node and the faulty node.
- the network discovery task may only collect part of the EAPS node information of the fault ring.
- EAPS The state of the ring can be determined according to the state of the ring in the collected topology information.
- the collected ring state can be: a complete state or a fault state.
- a faulty link can determine the location of the fault based on the topology information of the collected loop.
- the relevant topology information for the failed node or the failed link will be provided to the topology client, which will indicate the failed node or the failed link in the topology view with a striking color.
- the collected topology information may be incomplete, and the topology between the fault locations may not be collected. Then, the following processing is performed.
- the topology discovery module calls the data processing module, analyzes and extracts the collected topology information of the fault ring part node, and updates the topology information stored in the data processing module.
- the data processing module notifies the topology client to update the fault ring partial topology.
- the data processing module simultaneously compares and analyzes the historical data of the previously stored topology information to obtain the EAPS. Nodes in the ring that may be faulty, and generate network access tasks for the devices where these nodes are located and join the network discovery task queue.
- EAPS The method for determining a node that may be faulty in the ring may be: comparing historical data with the topology information collected this time, and having EAPS that is not included in the history information collected in the history data. The node is determined to be a node that may be faulty.
- the data processing module may not save the historical data if the faulty device or the faulty link in the ring is more than 1 It is possible to obtain only partial topology information. In this case, the data processing module notifies the topology client to display the collected topology information. After the ring failure is recovered, the task is collected by performing a periodic topology or received by the fault management module. The topology collection task performed after the EAPS topology status change alarm message sent by the EAPS node can complete the topology.
- the topology information such as the faulty node and the port in the fault ring will notify the topology client and indicate the link between the node in the fault ring and the node in a conspicuous color, such as red, in the topology view.
- the EAPS node status changes, the EAPS port UP or DOWN, EAPS
- the device where the EAPS node is located will send an alarm message to notify the EAPS topology monitoring device.
- an EAPS node can generate and issue SNMP protocol traps.
- the message is used as the alarm message.
- the alarm message can be transmitted by using instant communication technology.
- the fault management module of the EAPS topology monitoring device When a trap message is used as the alarm information, it is also called Trap.
- the processing module receives the alarm message and invokes the data processing module to establish a topology collection task.
- the EAPS topology discovery module performs a topology collection task to collect topology information, and invokes the data processing module to analyze and process the EAPS.
- the state of the ring, node, and port changes, the topology information stored in the data processing module is updated, and the EAPS state change message is sent to the topology client.
- the data processing module notifies the alarm message system to generate an alarm message, and the network management personnel can query the recorded alarm message through the client to keep track of the change of the EAPS ring network status.
- the alarm message system can be a system that can communicate with each other independently of the EAPS topology monitoring system; or it can be EAPS A module in a topology monitoring device.
- the topology client receives the EAPS status change message and timely reflects the EAPS in the EAPS topology view. Changes in the ring topology.
- the topology monitoring device can notify the topology client in real time according to the change of the topology information stored in the data processing module, and the topology client redraws the ring network topology according to the changed topology information.
- the EAPS topology monitoring system of the present invention can also be based on workstations /
- the client's network management system can be carried on the server and the terminal client respectively; it is used to enable a hardware server and a common computer terminal to complete the above described method.
- the EAPS topology monitoring method of the present invention may include the following steps:
- the network management software client receives the IP address of the seed device input by the user.
- the network management workstation with the address and the network management station obtains the EAPS ring where the seed device is located and the information of all EAPS nodes on the ring through the network management protocol;
- the network management workstation analyzes and extracts the EAPS ring and its EAPS found in step a.
- the information of the node is saved in the network management database;
- the network management software client displays the devices in the EAPS ring and the EAPS configured in the device in the EAPS topology view. Node and status, connection and connection status between EAPS nodes, and status of EAPS ring;
- the network management workstation repeats steps b and c by accessing the device where the EAPS edge node saved in step b is located. Finally, the acquisition and display of the entire EAPS ring topology information is realized.
- the beneficial effect of the invention is that EAPS is realized The collection and graphical display of the network topology.
- the present invention is characterized in that only a part of devices in the EAPS ring network need to be accessed to obtain the entire EAPS.
- the network information can effectively reduce the number of packets on the network, such as SNMP packets, greatly improving the topology update speed of the network management software.
- the ring network is faulty and the edge node collection topology is incomplete, you can further complete the topology by accessing other devices in the fault ring to accurately locate the fault point.
- Manually refresh and receive EAPS through the network administrator The information sent by the node device is updated and periodically polled to facilitate the network administrator to grasp the faults and topology changes of the EAPS ring topology in a timely, reliable and accurate manner.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本发明涉及网络监控技术,特别涉及以太网自动保护倒换( Ethernet Automatic Protection Switching ,简称 EAPS )环网拓扑监控方法及系统。 The invention relates to network monitoring technology, in particular to Ethernet automatic protection switching (PCI Automatic Protection Switching (EAPS) ring network topology monitoring method and system.
EAPS 是一个专门应用于以太环网的链路层协议,可以防止在以太环网中数据环路引起的广播风暴。当以太环网上一条链路断开时,能迅速启用备份链路以恢复环网上各个节点之间的通信。有关 EAPS 技术的更详细定义可以查阅 RFC3619 的相关内容,此处不作详细介绍。 EAPS 协议本身并没有拓扑发现功能,而对于网络管理员而言,有必要了解整个 EAPS 环网由哪些环构成、环的状态、环的保护实例、环中有哪些节点、节点的主副端口、节点间的连接顺序以及节点的状态等信息,当环网故障时,能快速定位到故障节点和故障设备。所以,为网络管理的需要,对 EAPS 环网拓扑进行有效的监控非常重要且有必要。 EAPS It is a link layer protocol specifically applied to the Ethernet ring network to prevent broadcast storms caused by data loops in the Ethernet ring network. When a link on the Ethernet ring is disconnected, the backup link can be quickly enabled to resume communication between nodes on the ring network. related A more detailed definition of EAPS technology can be found in RFC 3619 and is not described in detail here. The EAPS protocol itself does not have topology discovery capabilities, but for network administrators, it is necessary to understand the whole EAPS What ring structure of the ring network, the state of the ring, the protection instance of the ring, the nodes in the ring, the primary and secondary ports of the node, the connection order between the nodes, and the state of the nodes. When the ring network fails, it can be quickly located. Faulty node and faulty device. So, for the needs of network management, right Effective monitoring of the EAPS ring topology is important and necessary.
本发明所要解决的技术问题,就是提供了一种 EAPS 环网拓扑监控方法及监控系统,以便进行有效的网络管理。 The technical problem to be solved by the present invention is to provide an EAPS. Ring network topology monitoring method and monitoring system for effective network management.
本发明解决所述技术问题,采用的技术方案如下所述。 The present invention solves the technical problem, and the technical solution adopted is as follows.
一种 EAPS 环网拓扑监控系统,包括: EAPS 拓扑监控装置和拓扑客户端;其中, An EAPS ring network topology monitoring system includes: an EAPS topology monitoring device and a topology client;
所述 EAPS 拓扑监控装置,用于将所述 EAPS 环网中一个 EAPS 环上的一个 EAPS 节点作为种子设备,从种子设备获取种子设备所在的 EAPS 环的拓扑信息,将所述拓扑信息提供给所述拓扑客户端用于显示所述 EAPS 环的拓扑视图。 The EAPS topology monitoring device is configured to connect an EAPS on an EAPS ring in the EAPS ring network The node is used as a seed device, and the topology information of the EAPS ring in which the seed device is located is obtained from the seed device, and the topology information is provided to the topology client for displaying the topology view of the EAPS ring.
一种 EAPS 环网拓扑监控方法,包括: An EAPS ring topology monitoring method includes:
EAPS 拓扑监控装置将所述 EAPS 环网中一个 EAPS 环上的一个 EAPS 节点作为种子设备,从种子设备获取种子设备所在的 EAPS 环的拓扑信息,将所述拓扑信息提供给所述拓扑客户端用于显示所述 EAPS 环的拓扑视图。 The EAPS topology monitoring device will have an EAPS on an EAPS ring in the EAPS ring network The node is used as a seed device, and the topology information of the EAPS ring in which the seed device is located is obtained from the seed device, and the topology information is provided to the topology client for displaying the topology view of the EAPS ring.
本发明实施例提供的技术方案实现了 EAPS 网络拓扑的收集和图形化显示,与一般的二层网络拓扑发现方法相比,本发明的方案仅需要访问 EAPS 环网中的部分设备就可以获取整个 EAPS 网络的信息,能够有效减少网络中的报文,如 SNMP 报文等,极大地提升网管软件的拓扑更新速度。 The technical solution provided by the embodiment of the present invention implements EAPS The collection and graphical display of the network topology, compared with the general Layer 2 network topology discovery method, the solution of the present invention only needs to access some devices in the EAPS ring network to obtain the entire EAPS. The network information can effectively reduce the number of packets on the network, such as SNMP packets, greatly improving the topology update speed of the network management software.
图 1 是实施例的系统结构示意图; 1 is a schematic structural diagram of a system of an embodiment;
图 2 是本发明的 EAPS 拓扑收集和展示时序示意图; 2 is a timing diagram of EAPS topology collection and display according to the present invention;
图 3 是实施例的 EAPS 环网拓扑示意图。 FIG. 3 is a schematic diagram of an EAPS ring network topology of an embodiment.
下面结合附图及实施例,详细描述本发明的技术方案。 The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
本发明的基本思想是: 1 )以 EAPS 环形拓扑中的任意一个节点所在设备为种子设备, EAPS 拓扑监控装置访问该设备并获取该设备节点所属的 EAPS 环、环中的 EAPS 节点以及节点的主副端口信息,如果该 EAPS 环形拓扑包含两个及两个以上的环,还需要获取该环上的边缘节点,即该环与另一环相交的节点,所在设备信息,然后分析处理收集的拓扑信息,并由拓扑客户端完成本次收集的 EAPS 环网拓扑的动态绘制。通过不重复的依次访问 EAPS 环网拓扑中的边缘节点所在设备,最终实现对整个 EAPS 环网拓扑信息的获取和显示。 2 )通过用户手动方式或 EAPS 拓扑监控装置自动周期性的收集 EAPS 环网拓扑信息,实时更新 EAPS 拓扑视图,从而能够及时、准确的反映 EAPS 环网拓扑的变化。 3 )当 EAPS 环网出现故障时,收集的拓扑信息可能会不完整, EAPS 拓扑监控装置再通过依次访问故障段的 EAPS 节点所在设备,收集故障节点状态和节点间的链路状态,补充 EAPS 环网故障段的拓扑信息,使网络管理员在拓扑客户端呈现的拓扑视图中能准确、直观的观察到故障节点和故障链路。 4 ) EAPS 拓扑监控装置通过接收、存储的 EAPS 环状态、节点状态、连接状态变化的信息,通知拓扑客户端及时更新 EAPS 环网拓扑视图,网络管理员可查询并实时监控整个 EAPS 环网的拓扑变化情况。 The basic idea of the present invention is: 1) using the device where any node in the EAPS ring topology is located as a seed device, EAPS The topology monitoring device accesses the device and obtains the EAPS ring to which the device node belongs, the EAPS node in the ring, and the primary and secondary port information of the node, if the EAPS A ring topology consists of two or more rings. It also needs to obtain the edge node on the ring, that is, the node that the ring intersects with another ring, the device information, and then analyze and collect the collected topology information, and the topology client Complete this collection Dynamic drawing of the EAPS ring topology. By repeatedly accessing the devices of the edge nodes in the EAPS ring topology, the entire EAPS ring network topology information is obtained and displayed. 2 Automatically collect EAPS ring topology information by user manual mode or EAPS topology monitoring device, and update EAPS topology view in real time, so that EAPS can be reflected in time and accurately. Changes in the ring topology. 3) When the EAPS ring network fails, the collected topology information may be incomplete, and the EAPS topology monitoring device accesses the EAPS of the fault segment in turn. The device where the node is located collects the status of the faulty node and the link state between the nodes, supplementing EAPS The topology information of the fault segment of the ring network enables the network administrator to accurately and intuitively observe the faulty node and the faulty link in the topology view presented by the topology client. 4) EAPS topology monitoring device receives and stores EAPS ring status, node status, and connection status change information, notify the topology client to update the EAPS ring topology view in time, and the network administrator can query and monitor the entire EAPS in real time. The topology change of the ring network.
本发明所述的 EAPS 环网拓扑监控系统包括 EAPS 拓扑监控装置和拓扑客户端。 The EAPS ring network topology monitoring system of the present invention includes an EAPS topology monitoring device and a topology client.
EAPS 拓扑监控装置可以包含一个或多个模块,这一个或多个模块可以在一个设备中实现,也可以分布在多个设备中。 EAPS 拓扑监控装置可以是网管工作站上的一个模块,也可以是独立的网管工作站,本发明并不限定 EAPS 拓扑监控装置的具体实现形式。 EAPS The topology monitoring device may include one or more modules, which may be implemented in one device or distributed among multiple devices. EAPS The topology monitoring device may be a module on the network management workstation or an independent network management workstation. The present invention does not limit the specific implementation form of the EAPS topology monitoring device.
拓扑客户端可以与 EAPS 拓扑监控装置通信,接收 EAPS 状态变化的消息,获取变化后的 EAPS 环网拓扑信息,并将其显示在一个显示屏上。拓扑客户端可以是独立的运行于客户端设备(如普通的 PC )上的一个软件,也可以是网管客户端软件的一个模块。 The topology client can communicate with the EAPS topology monitoring device, receive the EAPS status change message, and obtain the changed EAPS. Ring topology information and display it on a display. The topology client can be a separate software running on a client device (such as a normal PC) or a module of the network management client software.
一个 EAPS 节点能够根据 EAPS 协议获取同一个环里面的其他节点信息,并保存在该 EAPS 节点的存储模块中,例如,可以保存在该 EAPS 节点的管理信息库( MIB )中。至于边缘节点的信息, EAPS 协议本身没有提供二层拓扑收集功能, EAPS 节点可以按照公开号为 CN101483608 的发明专利申请提供的方案进行边缘节点信息的收集。 An EAPS node can obtain other node information in the same ring according to the EAPS protocol and save it in the EAPS. The storage module of the node, for example, can be saved in the management information base (MIB) of the EAPS node. As for the information of the edge nodes, the EAPS protocol itself does not provide Layer 2 topology collection, EAPS. The node may collect the edge node information according to the scheme provided by the invention patent application with the publication number CN101483608.
EAPS 拓扑监控装置与各 EAPS 节点之间可以通过网络连接进行通信。 EAPS 拓扑监控装置可以根据 EAPS 节点的信息,例如 IP 地址,访问该 EAPS 节点所在的设备,并从中获取到该设备保存的节点所属 EAPS 环、环中的其它 EAPS 节点以及该节点的主副端口信息。 EAPS 拓扑监控装置访问 EAPS 节点所在的设备的方式有很多种,例如,可以利用能够调用网络协议的远程数据访问技术例如 telnet 或者 http ,也可以借助其它技术,例如各种网络管理技术等,此处不再赘述。当网管工作站采用 SNMP 协议来管理各 EAPS 设备时, EAPS 拓扑监控装置可以通过 EAPS 节点中的 SNMP 模块提供的访问接口来访问 EAPS 节点的存储装置。采用其它网管协议时,实现的手段类似,这里不再赘述。 The EAPS topology monitoring device and each EAPS node can communicate via a network connection. EAPS topology monitoring device can be based on The information of the EAPS node, such as the IP address, accesses the device where the EAPS node is located, and obtains the EAPS ring to which the node saved by the device belongs, and other EAPS in the ring. The node and the primary and secondary port information of the node. There are many ways in which an EAPS topology monitoring device can access a device on which an EAPS node resides. For example, remote data access technologies that can invoke network protocols can be utilized, for example. Telnet or http can also use other technologies, such as various network management technologies, etc., and will not be described here. When the network management workstation uses the SNMP protocol to manage each EAPS device, The EAPS topology monitoring device can access EAPS through the access interface provided by the SNMP module in the EAPS node. The storage device of the node. When other network management protocols are used, the means of implementation are similar, and will not be described here.
实施例 1 Example 1
如图 1 所示,本例 EAPS 环网拓扑监控系统由以下四个模块组成: As shown in Figure 1, the EAPS ring topology monitoring system consists of the following four modules:
EAPS 拓扑发现模块:用于根据种子设备信息收集 EAPS 环网拓扑信息、分析 EAPS 环网拓扑信息并形成环网拓扑结构数据。根据本发明另一实施例, EAPS 拓扑发现模块也可以调用数据处理模块分析 EAPS 环网拓扑信息并形成环网拓扑结构数据。 EAPS topology discovery module: used to collect EAPS ring topology information based on seed device information, analyze EAPS Ring topology information and form ring topology data. According to another embodiment of the present invention, the EAPS topology discovery module can also call the data processing module to analyze EAPS. Ring topology information and form ring topology data.
数据处理模块:为其它模块提供数据访问接口、存储和检索 EAPS 环网拓扑信息。 Data processing module: Provides data access interfaces for other modules, stores and retrieves EAPS ring topology information.
故障管理模块:接收 EAPS 节点所在的设备发现故障时或者发现故障恢复时发出的用于通知 EAPS 拓扑状态变化的告警消息,生成系统告警事件,使拓扑视图能够被及时更新。 EAPS 节点发出的告警信息可以为自定义的消息,或者利用现有的消息实现,例如简单网络管理协议( SNMP )的 Trap 消息等。该系统告警事件可以由 EAPS 拓扑发现模块或数据处理模块进行处理,例如,调用数据处理模块建立拓扑收集任务,调用 EAPS 拓扑发现模块收集拓扑信息。数据处理模块根据收集到的拓扑信息分析处理 EAPS 环、节点和端口的状态变化,并更新数据处理模块中存储的拓扑信息。当数据处理模块中存储的拓扑信息被更新后,数据处理模块向拓扑客户端发送通知 EAPS 状态变化的消息,使拓扑客户端根据更新后的拓扑信息重绘 EAPS 环网拓扑。 Fault management module: Used to notify EAPS when the device where the EAPS node is located is found to be faulty or when the fault is recovered. The alarm message of the change of the topology status generates a system alarm event, so that the topology view can be updated in time. EAPS The alarm information sent by the node can be a customized message, or can be implemented by using an existing message, such as a Simple Network Management Protocol (SNMP) Trap message. The system alarm event can be EAPS The topology discovery module or the data processing module processes, for example, invoking the data processing module to establish a topology collection task, and calling the EAPS topology discovery module to collect topology information. The data processing module analyzes and processes the collected topology information. The state of the EAPS ring, node, and port changes, and the topology information stored in the data processing module is updated. After the topology information stored in the data processing module is updated, the data processing module sends a notification to the topology client EAPS The status change message causes the topology client to redraw the EAPS ring topology based on the updated topology information.
拓扑客户端:接收用户输入的种子设备信息、展现 EAPS 拓扑视图。 Topology client: Receives the seed device information input by the user and displays the EAPS topology view.
各个模块之间的通信链路如图 1 所示。 EAPS 拓扑发现模块与数据处理模块和拓扑客户端之间可以进行信息交互。故障管理模块与数据处理模块和拓扑客户端之间也可以进行信息交互。拓扑客户端与数据处理模块之间进行通信。 The communication link between the modules is shown in Figure 1. EAPS The topology discovery module can exchange information with the data processing module and the topology client. Information exchange between the fault management module and the data processing module and the topology client is also possible. The topology client communicates with the data processing module.
下面以采用 SNMP 协议对 EAPS 环网进行管理时的监控流程为例来对本发明的监控方法进行详细描述。本例监控方法步骤时序如图 2 所示。 The following uses the SNMP protocol for EAPS The monitoring process when the ring network performs management is taken as an example to describe the monitoring method of the present invention in detail. The timing of the monitoring method steps in this example is shown in Figure 2.
1 、在用户采用手动刷新方式时,拓扑客户端接收用户输入的 EAPS 设备 IP 地址;根据需要还可以接收用户手工设置的 SNMP 参数设置,如 SNMP 版本号 V1 或 V2 或 V3 ,以及团体名和密码(请参见 SNMP 协议的相关描述)。 1. When the user adopts the manual refresh mode, the topology client receives the EAPS device IP input by the user. Address; can also receive SNMP parameter settings manually set by the user, such as SNMP version number V1 or V2 or V3, and community name and password (see SNMP) a description of the agreement).
2 、拓扑客户端将以上步骤 1 输入的 EAPS 设备作为种子设备,请求 EAPS 拓扑发现模块创建 EAPS 拓扑信息收集任务(也称为拓扑收集任务或 EAPS 网络发现任务)。 2. The topology client uses the EAPS device input in step 1 above as the seed device to request the EAPS topology discovery module to be created. EAPS topology information collection task (also known as topology collection task or EAPS network discovery task).
3 、 EAPS 拓扑发现模块调度拓扑收集任务,通过 SNMP 访问和该拓扑收集任务关联的种子设备,获取该设备所在的 EAPS 环的拓扑信息。 3, EAPS topology discovery module scheduling topology collection tasks, through SNMP Access the seed device associated with the topology collection task to obtain the topology information of the EAPS ring where the device resides.
4 、 EAPS 拓扑发现模块调用数据处理模块,分析并提取本次收集的所有 EAPS 种子设备所在 EAPS 环及其所有 EAPS 节点的信息,包括 EAPS 节点所在的设备信息,环、节点以及节点的连接关系、主副端口信息等,并保存于数据处理模块中。当 EAPS 拓扑监控装置是网管工作站中的模块时,数据处理模块的信息存储功能可以由网管工作站中的网管数据库实现。 4. The EAPS topology discovery module calls the data processing module to analyze and extract all the EAPS seed devices collected this time. The information of the EAPS ring and all its EAPS nodes, including the device information of the EAPS node, the connection relationship between the ring, the node and the node, the primary and secondary port information, etc., are stored in the data processing module. when When the EAPS topology monitoring device is a module in the network management workstation, the information storage function of the data processing module can be implemented by the network management database in the network management workstation.
5 、数据处理模块通知拓扑客户端更新 EAPS 拓扑视图。 5. The data processing module notifies the topology client to update the EAPS topology view.
6 、数据处理模块对新发现的 EAPS 边缘节点所在的设备创建 EAPS 拓扑信息收集任务,重复 3 、 4 和 5 ,直到所有的边缘节点均被访问,最终实现对整个 EAPS 环网拓扑信息的获取和展示。 6. The data processing module creates an EAPS topology information collection task for the device where the newly discovered EAPS edge node is located, and repeats 3 4 and 5 until all edge nodes are accessed, and finally the acquisition and display of the entire EAPS ring topology information is achieved.
下面以图 3 所示的 EAPS 环网拓扑为例作进一步描述。 The EAPS ring topology shown in Figure 3 is taken as an example for further description.
该 EAPS 环网拓扑由 1 个主环(环 1 )和一个子环(环 2 )构成,主环和子环均有控制节点和传输节点,主环和子环相交于 1 个边缘节点和 1 个辅助边缘节点(边缘节点 m )。 The EAPS ring topology consists of 1 primary ring (ring 1) and one sub-ring (ring 2) The main ring and the sub-ring have control nodes and transmission nodes, and the primary ring and the sub-ring intersect at one edge node and one auxiliary edge node (edge node m).
1 、用户输入 EAPS 主环(环 ID 为 1 )的主节点所在设备的 IP 地址。 1. The user enters the IP address of the device where the primary node of the EAPS primary ring (ring ID is 1).
2 、 EAPS 拓扑发现模块为主节点所在的设备创建拓扑收集任务。 2. The EAPS topology discovery module creates a topology collection task for the device where the master node resides.
3 、 EAPS 拓扑发现模块从种子设备收集 EAPS 环网拓扑信息。从主节点所在的设备开始收集时,仅能收集到一条环(环 ID 为 1 )的拓扑信息:包括域 ID 、环 ID 、控制 VLAN 、环级、环倒换次数、环状态、端口阻塞状态、环上所有节点、节点的主副端口等。本步骤可通过 SNMP 协议和 EAPS 来实现,属于现有技术,此处不再赘述。 3. The EAPS topology discovery module collects EAPS from the seed device. Ring topology information. When collecting from the device where the master node is located, only one topology (with ring ID 1) can be collected: including domain ID, ring ID, and control VLAN. , ring level, number of ring switching, ring status, port blocking status, all nodes on the ring, and primary and secondary ports of the node. This step can be done through the SNMP protocol and EAPS. To achieve, belongs to the prior art, and will not be described here.
4 、从主节点收集并分析的数据有环 ID 为 1 的 EAPS 环相关信息,即上文所说的域 ID 、环 ID 、控制 VLAN 、环级、环倒换次数、环状态、端口阻塞状态、环上所有节点,包括主节点、传输节点 1 、传输节点 2 、传输节点 m 、传输节点 n ,及各节点的主副端口;同时能获取到传输节点 2 为边缘节点的信息(如节点类型为边缘节点,同时还能够获取到该边缘节点所在设备的标识,如 MAC 地址等)。从收集的数据分析,要获取整个 EAPS 环网拓扑,就必须要获取该边缘节点的设备所在环 ID 为 2 的 EAPS 环及环中节点的信息。 4. The data collected and analyzed from the primary node has EAPS ring related information with ring ID 1, which is the domain ID and ring mentioned above. ID, control VLAN, ring level, ring switching times, ring status, port blocking status, all nodes on the ring, including the primary node, transit node 1, transport node 2, transport node m, transport node n And the primary and secondary ports of each node; at the same time, the information that the transit node 2 is an edge node can be obtained (for example, the node type is an edge node, and the identifier of the device where the edge node is located, such as MAC) Address, etc.). From the collected data analysis, to obtain the entire EAPS ring topology, it is necessary to obtain the information of the EAPS ring with the ring ID of the device of the edge node and the node in the ring.
5 、数据处理模块通知拓扑客户端显示环 1 (环 ID 为 1 )的所有节点及节点间的连接。 5. The data processing module notifies the topology client to display all nodes of the ring 1 (ring ID 1) and the connections between the nodes.
6 、通过步骤 4 可以获知环 1 的传输节点 2 为边缘节点,如果该设备可被 EAPS
拓扑监控装置访问(例如当该设备可以通过 SNMP 协议被网管时, EAPS 拓扑监控装置就可以通过 SNMP 访问到该设备),此时就以传输节点 2
所在设备为种子设备,继续进行拓扑信息收集(也称为网络发现)重复步骤 3 和 4 ,可获取环 ID 为 2 的 EAPS 环及环中节点( s 主节点、 s
传输节点)的信息,从而完成图 2 所示的 EAPS 环网所有拓扑信息的收集和显示。 6. In
实施例 2 Example 2
定时感知 EAPS 拓扑变化情况,并及时更新拓扑客户端显示的网络拓扑。 Time-aware EAPS topology changes and timely update the network topology displayed by the topology client.
除通过手动刷新方式可获取最新 EAPS 环网拓扑并更新拓扑客户端外,系统还可定时(具体定时时间值可修改)来访问网络,在拓扑客户端准确反映 EAPS 环网拓扑的变化情况。具体步骤如下所述。 In addition to the latest EAPS available through manual refresh In addition to the topology of the ring network and the update of the topology client, the system can also access the network periodically (the specific timing value can be modified) to accurately reflect the changes in the EAPS ring topology. The specific steps are as follows.
1 、 EAPS 环网拓扑监控系统启动后, EAPS 拓扑监控装置的数据处理模块读取定时配置,完成 EAPS 网络定时访问调度任务的初始化,并启动定时器。 1. After the EAPS ring topology monitoring system is started, the data processing module of the EAPS topology monitoring device reads the timing configuration and completes The EAPS network periodically accesses the scheduling task and initializes the timer.
2 、定时器时间到后, EAPS 拓扑发现模块创建 EAPS 拓扑信息收集任务。根据本发明的一个实施例, EAPS 拓扑发现模块可以针对 EAPS 拓扑监控装置中预设的种子设备信息创建拓扑收集任务,并将创建的任务加入拓扑信息收集任务队列。根据本发明的另一实施例, EAPS 拓扑发现模块也可以对数据管理模块中已经保存的 EAPS 环网中所有的边缘节点设备和主节点设备分别创建拓扑收集任务,并将创建的任务加入 EAPS 拓扑信息收集任务队列。 2. After the timer expires, the EAPS topology discovery module creates an EAPS topology information collection task. According to an embodiment of the invention, The EAPS topology discovery module can create a topology collection task for the preset seed device information in the EAPS topology monitoring device, and add the created task to the topology information collection task queue. According to another embodiment of the invention, The EAPS topology discovery module can also create topology collection tasks for all edge node devices and master node devices in the EAPS ring network that have been saved in the data management module, and add the created tasks to EAPS. Topology information collection task queue.
3 、 EAPS 拓扑发现模块调度 EAPS 拓扑信息收集任务队列中的每个任务进行 EAPS 网络发现,获取各个边缘节点和主节点所在的 EAPS 环网拓扑信息。 3, EAPS topology discovery module scheduling EAPS topology information collection task queue for each task EAPS The network finds the EAPS ring topology information of each edge node and the master node.
4 、 EAPS 拓扑发现模块调用数据处理模块,分析并提取收集的拓扑信息。如果发现有新增或删除 EAPS 环、 EAPS 节点或 EAPS 端口(即 EAPS 节点的端口),或其状态有变化(例如通过收集到的环状态、端口阻塞状态检测到状态变化),更新数据处理模块中相应数据。当数据处理模块中的数据被更新时,数据处理模块向拓扑客户端发送 EAPS 拓扑变化消息。 4. The EAPS topology discovery module calls the data processing module to analyze and extract the collected topology information. If you find new or deleted EAPS Ring, EAPS node or EAPS port (ie EAPS) The node's port), or its state changes (for example, through the collected ring state, port blocking state detected state change), update the corresponding data in the data processing module. When the data in the data processing module is updated, the data processing module sends the data to the topology client EAPS topology change message.
5 、拓扑客户端接收 EAPS 拓扑变化消息,并及时更新拓扑视图。这里, EAPS 拓扑变化消息可以采用即时消息通知技术来进行传递,使得拓扑客户端可以在拓扑发生变化时立即更新拓扑视图。 EAPS 拓扑变化消息可以仅包含一个更新通知,拓扑客户端收到该更新通知后读取数据处理模块存储的拓扑信息并显示。 EAPS 拓扑变化消息也可以包含全部拓扑信息或仅包括发生变化的拓扑信息,拓扑客户端收到该 EAPS 拓扑变化消息后,根据其中的拓扑信息直接更新显示的拓扑。 5. The topology client receives the EAPS topology change message and updates the topology view in time. Here, EAPS The topology change message can be delivered by the instant message notification technology, so that the topology client can update the topology view immediately when the topology changes. EAPS The topology change message may include only one update notification, and the topology client reads the topology information stored by the data processing module and displays it after receiving the update notification. EAPS The topology change message may also include all the topology information or only the topology information that has changed. After receiving the EAPS topology change message, the topology client directly updates the displayed topology according to the topology information.
6 、对于拓扑信息收集过程中新发现的 EAPS 边缘节点,为这些设备创建 EAPS 拓扑发现任务,重复 3 、 4 和 5 ,直到所有的边缘节点均被访问,最终实现对整个 EAPS 环网拓扑信息更新。 6. Create an EAPS topology discovery task for these devices for the newly discovered EAPS edge nodes in the topology information collection process. 3, 4, and 5 until all edge nodes are accessed, and finally the entire EAPS ring topology information is updated.
7 、等待,如果定时时间到,返回步骤 2 。 7. Wait, if the time is up, return to step 2.
实施例 3 Example 3
环故障时,拓扑视图中能准确醒目的标识出故障节点和故障节点间链路连接。 When a ring is faulty, the topology view can accurately identify the link connection between the faulty node and the faulty node.
1 、在执行某个网络发现任务中,如果发现某个 EAPS 环的状态为故障,此时该网络发现任务可能仅能收集到故障环的部分 EAPS 节点信息。 1. In the execution of a network discovery task, if an EAPS is found The status of the ring is faulty. At this time, the network discovery task may only collect part of the EAPS node information of the fault ring.
这里, EAPS 环的状态可以根据收集到的拓扑信息中的环状态进行判断,收集到的环状态可以为:完整状态或故障状态。 Here, EAPS The state of the ring can be determined according to the state of the ring in the collected topology information. The collected ring state can be: a complete state or a fault state.
如果环中仅有 1 个故障设备或 1 条故障链路,根据收集到的环的拓扑信息可以确定故障的位置。故障节点或故障链路的相关拓扑信息将被提供给拓扑客户端,拓扑客户端用醒目的颜色在拓扑视图中标示出该故障节点或故障链路。 If there is only 1 faulty device in the ring or 1 A faulty link can determine the location of the fault based on the topology information of the collected loop. The relevant topology information for the failed node or the failed link will be provided to the topology client, which will indicate the failed node or the failed link in the topology view with a striking color.
如果环中故障设备或故障链路多于 1 个,收集到的拓扑信息可能是不全的,故障位置之间的拓扑可能收集不到,那么则进行下列处理。 If the faulty device or faulty link in the ring is more than 1 The collected topology information may be incomplete, and the topology between the fault locations may not be collected. Then, the following processing is performed.
2 、 EAPS 拓扑发现模块调用数据处理模块,分析并提取收集到的故障环部分节点拓扑信息,更新数据处理模块中存储的拓扑信息。数据处理模块通知拓扑客户端更新故障环部分拓扑。 2, EAPS The topology discovery module calls the data processing module, analyzes and extracts the collected topology information of the fault ring part node, and updates the topology information stored in the data processing module. The data processing module notifies the topology client to update the fault ring partial topology.
3 、数据处理模块同时根据先前存储的拓扑信息的历史数据对比分析,得出该 EAPS 环中可能故障的节点,并为这些节点所在设备生成网络访问任务并加入到网络发现任务队列中。具体来说, EAPS 环中可能故障的节点的确定方法可以为:对比历史数据和本次收集到的拓扑信息,将历史数据中有、而本次收集到的拓扑信息中没有的 EAPS 节点确定为可能故障的节点。 3. The data processing module simultaneously compares and analyzes the historical data of the previously stored topology information to obtain the EAPS. Nodes in the ring that may be faulty, and generate network access tasks for the devices where these nodes are located and join the network discovery task queue. Specifically, EAPS The method for determining a node that may be faulty in the ring may be: comparing historical data with the topology information collected this time, and having EAPS that is not included in the history information collected in the history data. The node is determined to be a node that may be faulty.
在本次拓扑发现过程为第一次拓扑发现过程的情况下,数据处理模块可能没有保存历史数据,如果环中故障设备或故障链路多于 1 个,有可能只能获取到部分拓扑的信息。这种情况下,数据处理模块通知拓扑客户端显示收集到的拓扑信息。当环故障恢复后,通过执行定时拓扑收集任务,或者在故障管理模块收到 EAPS 节点发出的 EAPS 拓扑状态变化的告警消息后执行的拓扑收集任务,可以补全拓扑。 In the case that the topology discovery process is the first topology discovery process, the data processing module may not save the historical data if the faulty device or the faulty link in the ring is more than 1 It is possible to obtain only partial topology information. In this case, the data processing module notifies the topology client to display the collected topology information. After the ring failure is recovered, the task is collected by performing a periodic topology or received by the fault management module. The topology collection task performed after the EAPS topology status change alarm message sent by the EAPS node can complete the topology.
4 、通过访问所有的可能故障的节点,可以采集到整个故障环的所有的拓扑信息,数据处理模块可分析出该环上故障发生的具体 EAPS 节点和 EAPS 端口等。 4 By accessing all the nodes that may be faulty, all the topology information of the entire fault ring can be collected, and the data processing module can analyze the specific EAPS node and the EAPS port where the fault occurs on the ring.
5 、故障环中的故障节点和端口等拓扑信息将通知拓扑客户端,并在拓扑视图中以醒目的颜色,例如红色,标示出故障环中的节点和节点间的链路连接。 5 The topology information such as the faulty node and the port in the fault ring will notify the topology client and indicate the link between the node in the fault ring and the node in a conspicuous color, such as red, in the topology view.
实施例 4 Example 4
及时监控 EAPS 环、节点和端口的状态变化。 Monitor status changes of EAPS rings, nodes, and ports in a timely manner.
1 、如果 EAPS 环故障、 EAPS 节点状态变化、 EAPS 端口 UP 或 DOWN 、 EAPS 端口阻塞或解除阻塞时, EAPS 节点所在设备会发出告警消息通知 EAPS 拓扑监控装置。例如, EAPS 节点可以生成并发出 SNMP 协议的 Trap 消息作为该告警消息。较佳地,为了使 EAPS 拓扑监控装置及时获知 EAPS 环网拓扑的变化情况,告警消息可以采用即时通信技术进行传递。 1. If the EAPS ring fails, the EAPS node status changes, the EAPS port UP or DOWN, EAPS When the port is blocked or unblocked, the device where the EAPS node is located will send an alarm message to notify the EAPS topology monitoring device. For example, an EAPS node can generate and issue SNMP protocol traps. The message is used as the alarm message. Preferably, in order to enable the EAPS topology monitoring device to know the change of the EAPS ring topology in time, the alarm message can be transmitted by using instant communication technology.
2 、 EAPS 拓扑监控装置的故障管理模块(当采用 Trap 消息作为告警信息时,也称为 Trap 处理模块)接收告警消息并调用数据处理模块建立拓扑收集任务, EAPS 拓扑发现模块执行拓扑收集任务收集拓扑信息,调用数据处理模块分析处理 EAPS 环、节点和端口的状态变化,更新数据处理模块中存储的拓扑信息,并向拓扑客户端发送 EAPS 状态变化的消息。 2. The fault management module of the EAPS topology monitoring device. When a trap message is used as the alarm information, it is also called Trap. The processing module) receives the alarm message and invokes the data processing module to establish a topology collection task. The EAPS topology discovery module performs a topology collection task to collect topology information, and invokes the data processing module to analyze and process the EAPS. The state of the ring, node, and port changes, the topology information stored in the data processing module is updated, and the EAPS state change message is sent to the topology client.
3 、数据处理模块通知告警消息系统生成一条告警消息,并记录下来,网管人员可通过客户端查询记录的告警消息,随时掌握 EAPS 环网状态的变化。 3 The data processing module notifies the alarm message system to generate an alarm message, and the network management personnel can query the recorded alarm message through the client to keep track of the change of the EAPS ring network status.
告警消息系统可以是与 EAPS 拓扑监控系统相互独立的、可相互通信的系统;也可以是 EAPS 拓扑监控装置中的一个模块。 The alarm message system can be a system that can communicate with each other independently of the EAPS topology monitoring system; or it can be EAPS A module in a topology monitoring device.
4 、拓扑客户端接收 EAPS 状态变化的消息,并及时在 EAPS 拓扑视图中反映出 EAPS 环网拓扑的变化。 4. The topology client receives the EAPS status change message and timely reflects the EAPS in the EAPS topology view. Changes in the ring topology.
EAPS 拓扑监控装置可根据数据处理模块存储的拓扑信息的变化,实时通知拓扑客户端,由拓扑客户端根据变化后的拓扑信息重绘环网拓扑。 EAPS The topology monitoring device can notify the topology client in real time according to the change of the topology information stored in the data processing module, and the topology client redraws the ring network topology according to the changed topology information.
实施例 5 Example 5
本发明的 EAPS 拓扑监控系统也可以是基于工作站 / 客户端的网络管理系统,可以分别承载于服务器和终端客户机上;用来让一个硬件服务器和普通的计算机终端完成以上叙述的方法。当 EAPS 拓扑监控系统是由一个计算机程序产品,例如网管软件,实现时,本发明的 EAPS 拓扑监控方法可以包括以下步骤: The EAPS topology monitoring system of the present invention can also be based on workstations / The client's network management system can be carried on the server and the terminal client respectively; it is used to enable a hardware server and a common computer terminal to complete the above described method. When EAPS When the topology monitoring system is implemented by a computer program product, such as network management software, the EAPS topology monitoring method of the present invention may include the following steps:
a 、网管软件客户端接收用户输入的种子设备的 IP 地址并发送的网管工作站,网管工作站通过网管协议获取该种子设备所在的 EAPS 环以及该环上所有 EAPS 节点信息; a. The network management software client receives the IP address of the seed device input by the user. The network management workstation with the address and the network management station obtains the EAPS ring where the seed device is located and the information of all EAPS nodes on the ring through the network management protocol;
b 、网管工作站分析并提取步骤 a 中所发现 EAPS 环及其 EAPS 节点的信息保存于网管数据库中; b. The network management workstation analyzes and extracts the EAPS ring and its EAPS found in step a. The information of the node is saved in the network management database;
c 、网管软件客户端在 EAPS 拓扑视图中显示 EAPS 环中的设备、设备中配置的 EAPS 节点及状态、 EAPS 节点间的连接和连接状态、 EAPS 环的状态; c. The network management software client displays the devices in the EAPS ring and the EAPS configured in the device in the EAPS topology view. Node and status, connection and connection status between EAPS nodes, and status of EAPS ring;
d 、网管工作站通过访问步骤 b 中保存的 EAPS 边缘节点所在的设备,重复步骤 b 和 c ,最终实现对整个 EAPS 环网拓扑信息的获取和展示。 d. The network management workstation repeats steps b and c by accessing the device where the EAPS edge node saved in step b is located. Finally, the acquisition and display of the entire EAPS ring topology information is realized.
本发明的有益效果是,实现了 EAPS 网络拓扑的收集和图形化显示,与一般的二层网络拓扑发现方法相比,本发明的特点在于仅需要访问 EAPS 环网中的部分设备就可以获取整个 EAPS 网络的信息,能够有效减少网络中的报文,如 SNMP 报文等,极大地提升网管软件的拓扑更新速度。在 EAPS 环网故障,边缘节点收集拓扑不完整情况下,可以进一步通过访问故障环中其他设备补全拓扑结构,精确定位故障点。通过网络管理员手动刷新、接收 EAPS 节点设备发送的信息后更新和定时轮询三种方式,方便网络管理员及时、可靠、准确地掌握 EAPS 环网拓扑的故障和拓扑结构的变化。 The beneficial effect of the invention is that EAPS is realized The collection and graphical display of the network topology. Compared with the general Layer 2 network topology discovery method, the present invention is characterized in that only a part of devices in the EAPS ring network need to be accessed to obtain the entire EAPS. The network information can effectively reduce the number of packets on the network, such as SNMP packets, greatly improving the topology update speed of the network management software. At EAPS If the ring network is faulty and the edge node collection topology is incomplete, you can further complete the topology by accessing other devices in the fault ring to accurately locate the fault point. Manually refresh and receive EAPS through the network administrator The information sent by the node device is updated and periodically polled to facilitate the network administrator to grasp the faults and topology changes of the EAPS ring topology in a timely, reliable and accurate manner.
以上所述仅为本发明的过程及方法实施例,并不用以限制本发明,凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above is only the embodiment of the process and method of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and principles of the present invention should be included in the present invention. Within the scope of protection.
Claims (17)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910306279.5 | 2009-08-28 | ||
CN2009103062795A CN101631053B (en) | 2009-08-28 | 2009-08-28 | EAPS ring-network topology monitoring method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011023123A1 true WO2011023123A1 (en) | 2011-03-03 |
Family
ID=41576010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/076393 WO2011023123A1 (en) | 2009-08-28 | 2010-08-26 | Method and system for monitoring ethernet automatic protection switching (eaps) ring network topology |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101631053B (en) |
WO (1) | WO2011023123A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681093A (en) * | 2016-01-28 | 2016-06-15 | 重庆金美通信有限责任公司 | Novel topology presentation protocol suitable for MSTP optical fiber ring network |
EP3291490A1 (en) * | 2016-09-06 | 2018-03-07 | Honeywell International Inc. | Systems and methods for generating a graphical representation of a fire system network and identifying network information for predicting network faults |
CN111953525A (en) * | 2020-07-22 | 2020-11-17 | 珠海高凌信息科技股份有限公司 | Special equipment operation and maintenance monitoring system |
CN114500161A (en) * | 2022-02-27 | 2022-05-13 | 重庆长安汽车股份有限公司 | Redundant link switching method based on vehicle-mounted Ethernet ring network and readable storage medium |
CN114760207A (en) * | 2022-05-05 | 2022-07-15 | 烽火通信科技股份有限公司 | Ring network damage method and system of Ethernet |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631053B (en) * | 2009-08-28 | 2011-11-30 | 迈普通信技术股份有限公司 | EAPS ring-network topology monitoring method and system |
CN102457403B (en) * | 2010-10-15 | 2015-02-11 | 无锡江南计算技术研究所 | Method and device for detecting network connection faults |
CN102420726B (en) * | 2011-12-30 | 2014-06-04 | 长园深瑞继保自动化有限公司 | Method for monitoring state of communication network of intelligent transformer station |
CN102739445B (en) * | 2012-06-18 | 2017-12-22 | 中兴通讯股份有限公司 | A kind of method and system for rapidly positioning faults of looped network |
CN104079451B (en) * | 2014-06-24 | 2017-10-17 | 华为技术有限公司 | A kind of method and apparatus for finding optical module |
CN109450765B (en) * | 2018-12-14 | 2020-10-27 | 新华三技术有限公司 | Method and device for collecting topology information |
CN111654388A (en) * | 2020-04-03 | 2020-09-11 | 北京天地和兴科技有限公司 | Method for positioning network abnormal access equipment |
CN111884840B (en) * | 2020-07-16 | 2022-09-06 | 中盈优创资讯科技有限公司 | IPRAN network equipment fault alarm merging analysis processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6766482B1 (en) * | 2001-10-31 | 2004-07-20 | Extreme Networks | Ethernet automatic protection switching |
CN1558615A (en) * | 2004-01-14 | 2004-12-29 | 中国科学院计算技术研究所 | A physical network topology discovery system and method thereof |
CN101222408A (en) * | 2008-01-31 | 2008-07-16 | 杭州华三通信技术有限公司 | VLAN topological generating method and device |
CN101631053A (en) * | 2009-08-28 | 2010-01-20 | 迈普通信技术股份有限公司 | EAPS ring-network topology monitoring method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7345991B1 (en) * | 2003-05-28 | 2008-03-18 | Atrica Israel Ltd. | Connection protection mechanism for dual homed access, aggregation and customer edge devices |
US7453818B2 (en) * | 2006-05-01 | 2008-11-18 | Cisco Technology, Inc. | Detection of potential forwarding loops in bridged networks |
CN101170454B (en) * | 2006-10-27 | 2010-05-12 | 亿阳信通股份有限公司 | A method and system for monitoring data collection and summary status |
CN101483608A (en) * | 2009-02-09 | 2009-07-15 | 迈普(四川)通信技术有限公司 | EAPS loop network topology structure automatic discovery method |
-
2009
- 2009-08-28 CN CN2009103062795A patent/CN101631053B/en active Active
-
2010
- 2010-08-26 WO PCT/CN2010/076393 patent/WO2011023123A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6766482B1 (en) * | 2001-10-31 | 2004-07-20 | Extreme Networks | Ethernet automatic protection switching |
CN1558615A (en) * | 2004-01-14 | 2004-12-29 | 中国科学院计算技术研究所 | A physical network topology discovery system and method thereof |
CN101222408A (en) * | 2008-01-31 | 2008-07-16 | 杭州华三通信技术有限公司 | VLAN topological generating method and device |
CN101631053A (en) * | 2009-08-28 | 2010-01-20 | 迈普通信技术股份有限公司 | EAPS ring-network topology monitoring method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681093A (en) * | 2016-01-28 | 2016-06-15 | 重庆金美通信有限责任公司 | Novel topology presentation protocol suitable for MSTP optical fiber ring network |
EP3291490A1 (en) * | 2016-09-06 | 2018-03-07 | Honeywell International Inc. | Systems and methods for generating a graphical representation of a fire system network and identifying network information for predicting network faults |
US10269236B2 (en) | 2016-09-06 | 2019-04-23 | Honeywell International Inc. | Systems and methods for generating a graphical representation of a fire system network and identifying network information for predicting network faults |
US10720043B2 (en) | 2016-09-06 | 2020-07-21 | Honeywell International Inc. | Systems and methods for generating a graphical representation of a fire system network and identifying network information for predicting network faults |
CN111953525A (en) * | 2020-07-22 | 2020-11-17 | 珠海高凌信息科技股份有限公司 | Special equipment operation and maintenance monitoring system |
CN114500161A (en) * | 2022-02-27 | 2022-05-13 | 重庆长安汽车股份有限公司 | Redundant link switching method based on vehicle-mounted Ethernet ring network and readable storage medium |
CN114760207A (en) * | 2022-05-05 | 2022-07-15 | 烽火通信科技股份有限公司 | Ring network damage method and system of Ethernet |
Also Published As
Publication number | Publication date |
---|---|
CN101631053B (en) | 2011-11-30 |
CN101631053A (en) | 2010-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011023123A1 (en) | Method and system for monitoring ethernet automatic protection switching (eaps) ring network topology | |
WO2018103315A1 (en) | Monitoring data processing method, apparatus, server and storage equipment | |
RU2653294C2 (en) | Method (versions) and system (versions) for prevention of unauthorised access, comprising plurality of server nodes | |
US7496659B1 (en) | Method and apparatus for monitoring the availability of network resources | |
CN102420726B (en) | Method for monitoring state of communication network of intelligent transformer station | |
US20150326425A1 (en) | Recording, analyzing, and restoring network states in software-defined networks | |
WO2011127714A1 (en) | Method for interconnecting digital home network devices across gateways | |
EP2406932B1 (en) | Intrusion detection for virtual layer-2 services | |
WO2018227771A1 (en) | Insurance policy-based region dividing method, system, server, and storage medium | |
WO2020233073A1 (en) | Blockchain environment test method, device and apparatus, and storage medium | |
WO2017186018A1 (en) | Robot communication method and system | |
US20220158936A1 (en) | Packet Transmission Path Determining Method, Apparatus, and System, and Computer Storage Medium | |
WO2017140080A1 (en) | Addressing communication method and apparatus based on media access control address | |
US9350628B2 (en) | Dynamic management of maintenance association membership in a computer network | |
WO2017012417A1 (en) | Control method between multi-screen interactive devices, multi-screen interactive device, and system | |
CN113872795A (en) | Intelligent monitoring analysis and fault processing system and method for distributed server | |
WO2020071706A1 (en) | L2 switch for network security and remote monitoring and control system using same | |
JP2013207316A (en) | Network apparatus setting device, setting system, setting method, and setting program | |
WO2015117456A1 (en) | Link polling method, device and system, and computer storage medium | |
CN115529221A (en) | Method and device for fast switching between wired network and cellular network | |
CN116248479A (en) | Network path detection method, device, equipment and storage medium | |
WO2014079006A1 (en) | Flow control method and device for ospf messages | |
WO2016206177A1 (en) | Data platform-based interactive positioning navigation method, first terminal and data platform | |
WO2012045250A1 (en) | Method and system for network equipment configuration data difference self-recognization | |
WO2018076446A1 (en) | Method, device, and system for message synchronization |
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: 10811283 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: 10811283 Country of ref document: EP Kind code of ref document: A1 |