CN1780250A - Automatic discovery of network topology - Google Patents
Automatic discovery of network topology Download PDFInfo
- Publication number
- CN1780250A CN1780250A CNA2004100522760A CN200410052276A CN1780250A CN 1780250 A CN1780250 A CN 1780250A CN A2004100522760 A CNA2004100522760 A CN A2004100522760A CN 200410052276 A CN200410052276 A CN 200410052276A CN 1780250 A CN1780250 A CN 1780250A
- Authority
- CN
- China
- Prior art keywords
- network element
- network
- gateway
- information
- gateway network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种网络拓扑的自动发现方法,其包括步骤:网关网元通过定时查询或由网元上线或下线事件触发查询的方式向网络中各网元收集其路由表中的路由信息,所述路由信息包括网元标识和网元间的物理连接信息,由所述网关网元将所述路由信息上报网管系统。所述网关网元还可采用定时查询和由网元上线或下线事件触发查询并用的方式向网络中各网元收集其路由表中的路由信息。采用本发明的技术方案,降低了网络通信通道的负荷,具有开放性,不需要在硬件上做特殊处理,对混合网关网元也能发现,保证了拓扑信息收集的及时性和可靠性。
The invention discloses a method for automatically discovering network topology, which comprises the steps of: a gateway network element collects routing information in its routing table from each network element in the network through a timing query or a query triggered by a network element going online or offline event , the routing information includes network element identifiers and physical connection information between network elements, and the gateway network element reports the routing information to a network management system. The gateway network element can also collect the routing information in the routing table of each network element in the network in a combination of timing query and query triggered by the online or offline event of the network element. The technical scheme of the invention reduces the load of the network communication channel, has openness, does not require special processing on hardware, and can also discover mixed gateway network elements, thereby ensuring the timeliness and reliability of topology information collection.
Description
技术领域technical field
本发明涉及传输网络,具体地涉及一种网络拓扑的自动发现方法。The invention relates to a transmission network, in particular to an automatic discovery method of a network topology.
背景技术Background technique
传输网络拓扑中的一个节点称为一个网元,在网管系统中,需知晓网络的拓扑结构,才能在网管上对网络进行管理。当网络中增加或减少网元时,现有技术的管理方法是采用用户手动在网管上增加节点,更新网络拓扑结构,这种人工配置方式,既烦琐又容易出错。A node in the transmission network topology is called a network element. In the network management system, the network topology needs to be known before the network can be managed on the network management system. When increasing or decreasing network elements in the network, the management method in the prior art is to use the user to manually add nodes on the network management and update the network topology structure. This manual configuration method is both cumbersome and error-prone.
美国专利US6654802通过规定SDH开销中的某些特定字节(如JO)作为网元自动发现的特定字节,同时利用空闲的开销字节向其他网元传送该网元与其相邻网元的连接状态,以实现网元的自动发现。U.S. Patent No. 6,654,802 stipulates that some specific bytes (such as JO) in the SDH overhead are used as the specific bytes automatically discovered by the network element, and at the same time use the idle overhead bytes to transmit the connection between the network element and its adjacent network elements to other network elements state to realize automatic discovery of network elements.
但这种方法的缺点是需要在硬件上对特定开销字节的提取做特殊处理,同时这种使用特定开销字节的方式只局限于SDH/SONET网的传输,因此不具有开放性,不灵活,对混合网关网元不能发现。But the disadvantage of this method is that it needs to do special processing on the hardware to extract the specific overhead bytes. At the same time, this method of using specific overhead bytes is only limited to the transmission of SDH/SONET network, so it is not open and flexible. , the mixed gateway NE cannot be discovered.
另外一种方法是通过网络中的每个网元直接向网管系统发送该网元的路由表信息,并由网管系统对收到的所有网元的路由表信息进行处理,从而得到整个网络的拓扑结构。Another method is to directly send the routing table information of each network element to the network management system through each network element in the network, and the network management system processes the routing table information of all network elements received, so as to obtain the topology of the entire network structure.
但这种方法有如下的缺点:But this method has the following disadvantages:
1)网管系统需登录到每个网元,才能建立每个网元到网管系统的通讯通道;1) The network management system needs to log in to each network element in order to establish a communication channel from each network element to the network management system;
2)网元的路由表信息所含数据量太多,定时向网管发送这些信息,增加了整个网络通信通道的负荷。2) The routing table information of the network element contains too much data, and the information is regularly sent to the network management, which increases the load of the entire network communication channel.
因此现有技术存在缺陷,而有待于改进和发展。Therefore, there are defects in the prior art and need to be improved and developed.
发明内容Contents of the invention
本发明要解决的技术问题是提供一种网络拓扑的自动发现方法,克服现有方法中使用特定开销字节时需要在硬件上对特定开销字节的提取做特殊处理的缺点,只局限于SDH/SONET网的传输,不具有开放性,对混合网关网元不能发现的缺点;以及由网元直接向网管系统发送该网元的路由表信息时,路由表信息数据量过大的缺点。The technical problem to be solved by the present invention is to provide a method for automatic discovery of network topology, which overcomes the disadvantage of special processing on the hardware for the extraction of specific overhead bytes when using specific overhead bytes in existing methods, and is only limited to SDH The transmission of /SONET network is not open and cannot be found for mixed gateway network elements; and when the network element directly sends the routing table information of the network element to the network management system, the data volume of the routing table information is too large.
为解决上述技术问题,本发明采用如下的技术方案:In order to solve the problems of the technologies described above, the present invention adopts the following technical solutions:
一种网络拓扑的自动发现方法,其包括以下步骤:网关网元通过定时查询或由事件触发查询的方式向网络中各网元收集其路由表中的路由信息,并将所述路由信息上报网管系统。A method for automatically discovering network topology, which includes the following steps: a gateway network element collects routing information in its routing table from each network element in the network through regular query or event-triggered query, and reports the routing information to the network management system.
所述的方法,其中,所述路由信息包括网元标识和网元件的物理连接信息。The method described above, wherein the routing information includes network element identifiers and physical connection information of network elements.
所述的方法,其中:所述网关网元的所述定时查询包括以下步骤:The method, wherein: the timing query of the gateway network element includes the following steps:
a1网关网元下发查询命令,查询所述网关网元当前路由表中各网元的路由信息;a1 The gateway network element issues a query command to query the routing information of each network element in the current routing table of the gateway network element;
a2若查询到的路由信息有变化,更新所述网关网元中的网络拓扑信息;a2 If the queried routing information changes, update the network topology information in the gateway network element;
a3当前的网络拓扑信息上报所述网管系统。a3 reporting the current network topology information to the network management system.
所述的方法,其中,所述事件触发方式包括网元上线和下线的触发事件。Said method, wherein said event triggering manner includes triggering events of network element going online and going offline.
所述的方法,其中:所述网关网元的所述由网元上线事件触发的查询包括以下步骤:The method, wherein: the query of the gateway network element triggered by a network element online event includes the following steps:
b1所述网关网元发现有网元上线;The gateway network element mentioned in b1 finds that a network element is online;
b2下发查询命令,查询该网元的路由信息;b2 issues a query command to query the routing information of the network element;
b3根据上报的信息更新所述网关网元的全网拓扑信息;b3 updating the network-wide topology information of the gateway network element according to the reported information;
b4将当前的网络拓扑信息上报所述网管系统。b4 reports the current network topology information to the network management system.
所述的方法,其中:所述网关网元的所述由网元下线事件触发的查询包括以下步骤:The method, wherein: the query of the gateway network element triggered by a network element offline event includes the following steps:
c1所述网关网元发现有网元下线;The gateway network element mentioned in c1 finds that a network element goes offline;
c2删除所述网关网元中全网拓扑图中该网元的网元标识及与该网元相关的物理连接信息;c2 deleting the network element identifier of the network element in the network topology diagram of the gateway network element and the physical connection information related to the network element;
c3将当前的网络拓扑信息上报所述网管系统。c3 reports the current network topology information to the network management system.
所述的方法,其中:若网络中存在多个网关网元,则各网关网元自动协商出主网关网元,由所述主网关网元负责收集各网元的所述路由信息并上报所述网管系统。The method, wherein: if there are multiple gateway network elements in the network, each gateway network element automatically negotiates a master gateway network element, and the master gateway network element is responsible for collecting the routing information of each network element and reporting the network management system.
所述的方法,其中:各网关网元自动协商时选取网元标识码最小或最大的网关网元作为所述主网关网元。Said method, wherein: the gateway network element with the smallest or largest network element identification code is selected as the main gateway network element during the automatic negotiation of each gateway network element.
所述的方法,其中:所述网关网元采用定时查询和由网元上线或下线事件触发查询并用的方式向网络中各网元收集其路由表中的所述路由信息。The method described above, wherein: the gateway network element collects the routing information in the routing table of each network element in the network by means of a combination of timing query and query triggered by a network element going online or offline event.
所述的方法,其中:所述路由信息通过SDH/SONET网、以太网或其它传输网传送。Said method, wherein: said routing information is transmitted through SDH/SONET network, Ethernet or other transmission networks.
所述的方法,其中:设置所述网关网元与网络中各个网元之间的信息传送通道的通讯协议为OSI协议、TCP/IP协议或私有协议。Said method, wherein: the communication protocol for setting the information transmission channel between said gateway network element and each network element in the network is OSI protocol, TCP/IP protocol or private protocol.
所述的方法,其中:所述信息传送通道设置为由SDH的开销字节中的D字节构成的DCC开销通道。The method, wherein: the information transmission channel is set as a DCC overhead channel composed of D bytes in SDH overhead bytes.
采用本发明的技术方案,由于传输的路由信息少,降低了网络通信通道的负荷;由于不限定传输方式,具有开放性,不需要在硬件上做特殊处理,对混合网关网元也能发现;由于采用定时查询和由网元上线或下线事件触发查询并用的方式向网络中各网元收集其路由表中的路由信息,保证了拓扑信息收集的及时性和可靠性。By adopting the technical solution of the present invention, the load of the network communication channel is reduced due to the less routing information transmitted; since the transmission mode is not limited, it is open, and no special processing is required on the hardware, and the mixed gateway network element can also be found; The timeliness and reliability of topology information collection are guaranteed due to the combination of timing query and query triggered by network element online or offline events to collect the routing information in the routing table of each network element in the network.
附图说明Description of drawings
图1是本发明实施例中网关网元定时查询的处理流程图;Fig. 1 is the processing flow chart of timing inquiry of gateway network element in the embodiment of the present invention;
图2是本发明实施例中由网元上线事件触发查询时网关网元的处理流程图;Fig. 2 is a processing flowchart of the gateway network element when the query is triggered by the network element online event in the embodiment of the present invention;
图3是本发明实施例中由网元下线事件触发查询时网关网元的处理流程图。Fig. 3 is a processing flow chart of a gateway network element when a query is triggered by a network element offline event in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步详细说明:Below in conjunction with accompanying drawing and embodiment the present invention is described in further detail:
在传输网络中,每个网元都保留了一张路由表,其中记录了从该网元可达的网元,及到其它网元的一条可达的的路径。这给网关网元收集全网拓扑信息提供了前提条件。网关网元只需向各网元收集其路由表中的路由信息,即可得到全网的拓扑结构,包括网络中的网元及网元间的物理连接信息。In the transmission network, each network element keeps a routing table, which records the network elements reachable from this network element and a reachable path to other network elements. This provides a prerequisite for the gateway network element to collect the topology information of the entire network. The gateway network element only needs to collect the routing information in its routing table from each network element to obtain the topology structure of the entire network, including the network elements in the network and the physical connection information between network elements.
网关网元与网络中各个网元之间的信息传送通道可以是由SDH的开销字节(D字节)构成的开销通道DCC,也可以是其他形式的网元间通讯通道,例如:以太网。网关网元向其它网元查询路由信息及其它网元上报路由信息的操作所处的网络层次为数据链路层,网元间的连接信息和网络中每个网元的路由信息是通过在网元间的物理通讯通道上运行各种通讯协议(OSI,TCP/IP,或各种私有协议)获得。The information transmission channel between the gateway network element and each network element in the network can be an overhead channel DCC composed of SDH overhead bytes (D bytes), or other forms of communication channels between network elements, such as: Ethernet . The network layer where the gateway network element queries routing information from other network elements and reports routing information to other network elements is the data link layer. The connection information between network elements and the routing information of each network element in the network are transmitted through the It can be obtained by running various communication protocols (OSI, TCP/IP, or various proprietary protocols) on the physical communication channel between elements.
网关网元发起网络拓扑查询的方式有定时查询,和网元上线和下线事件触发引起查询两种。There are two ways for the gateway NE to initiate network topology query: timing query and query triggered by NE online and offline events.
如图1所示为本发明实施例中网关网元定时查询的处理流程图,网关网元的定时查询包括以下步骤:As shown in Figure 1, it is a processing flowchart of the timing query of the gateway network element in the embodiment of the present invention, and the timing query of the gateway network element includes the following steps:
a1开始查询;a1 starts querying;
a2若查询未结束执行步骤a3,否则执行步骤a7;a2 If the query is not finished, execute step a3; otherwise, execute step a7;
a3从所述网关网元当前路由表中选取未被查询的网元;a3 select a network element that has not been queried from the current routing table of the gateway network element;
a4下发查询命令,查询该网元的路由信息;a4 issues a query command to query the routing information of the network element;
a5若查询到的路由信息有变化,执行步骤a6,否则执行步骤a2;a5 If the queried routing information has changed, go to step a6, otherwise go to step a2;
a6更新所述网关网元中的网络拓扑信息,执行步骤a2;a6 updating the network topology information in the gateway network element, and performing step a2;
a7当前的网络拓扑信息上报所述网管系统;a7 reporting the current network topology information to the network management system;
a8结束查询。a8 ends the query.
图2介绍了本发明实施例中由网元上线事件触发查询时网关网元的处理流程图,包括步骤:Fig. 2 has introduced the processing flowchart of the gateway network element when the query is triggered by the network element online event in the embodiment of the present invention, including steps:
b1所述网关网元发现有网元上线,网元上线一般会发送预定的消息给对应的网关网元,网关网元也可以主动随时监视网络中的网元看是否有网元上线;The gateway network element described in b1 finds that a network element is online, and the network element will generally send a predetermined message to the corresponding gateway network element when the network element goes online. The gateway network element can also actively monitor the network elements in the network at any time to see whether there is a network element online;
b2下发查询命令,查询该网元的路由信息;b2 issues a query command to query the routing information of the network element;
b3根据上报的信息更新所述网关网元的全网拓扑信息;b3 updating the network-wide topology information of the gateway network element according to the reported information;
b4将当前的网络拓扑信息上报所述网管系统。b4 reports the current network topology information to the network management system.
图3介绍了本发明实施例中由网元下线事件触发查询时网关网元的处理流程图,包括步骤:Fig. 3 has introduced the processing flowchart of the gateway network element when the query is triggered by the network element offline event in the embodiment of the present invention, including steps:
c1所述网关网元发现有网元下线;The gateway network element mentioned in c1 finds that a network element goes offline;
c2删除所述网关网元中全网拓扑图中该网元的网元标识及与该网元相关的物理连接信息;c2 deleting the network element identifier of the network element in the network topology diagram of the gateway network element and the physical connection information related to the network element;
c3将当前的网络拓扑信息上报所述网管系统。c3 reports the current network topology information to the network management system.
若网络中存在多个网关网元,则各网关网元自动协商出主网关网元,由所述主网关网元负责收集各网元的拓扑信息并上报所述网管系统。If there are multiple gateway network elements in the network, each gateway network element automatically negotiates to obtain a master gateway network element, and the master gateway network element is responsible for collecting the topology information of each network element and reporting it to the network management system.
各网关网元自动协商时选取网元标识码最小或最大的网关网元作为所述主网关网元。During the automatic negotiation of each gateway network element, the gateway network element with the smallest or largest network element identification code is selected as the main gateway network element.
虽然通过参照本发明的优选实施例,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种各样的改变,而不偏离所附权利要求书所限定的本发明的精神和范围。Although the present invention has been illustrated and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the The spirit and scope of the invention are defined by the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2004100522760A CN1780250A (en) | 2004-11-19 | 2004-11-19 | Automatic discovery of network topology |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA2004100522760A CN1780250A (en) | 2004-11-19 | 2004-11-19 | Automatic discovery of network topology |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1780250A true CN1780250A (en) | 2006-05-31 |
Family
ID=36770371
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2004100522760A Pending CN1780250A (en) | 2004-11-19 | 2004-11-19 | Automatic discovery of network topology |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1780250A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008037203A1 (en) * | 2006-09-28 | 2008-04-03 | Huawei Technologies Co., Ltd. | Method and node device for realizing the network topology discovery |
| CN102088370A (en) * | 2011-01-18 | 2011-06-08 | 杭州华三通信技术有限公司 | Method and device for realizing network topology for mobile terminals |
| CN102736584A (en) * | 2011-04-08 | 2012-10-17 | 巴比禄股份有限公司 | Method of managing system |
| CN105323178A (en) * | 2015-10-14 | 2016-02-10 | 国网四川省电力公司信息通信公司 | Routing information synchronization method and device for electric communication equipment |
| CN106357420A (en) * | 2015-07-16 | 2017-01-25 | 中兴通讯股份有限公司 | Network topology display method, network topology display device and network management system |
| CN107787020A (en) * | 2016-08-26 | 2018-03-09 | 华为技术有限公司 | Method and routing network element for synchronizing topology information in SFC network |
| CN109842504A (en) * | 2017-11-27 | 2019-06-04 | 华为技术有限公司 | A kind of information uploading method and relevant device |
-
2004
- 2004-11-19 CN CNA2004100522760A patent/CN1780250A/en active Pending
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008037203A1 (en) * | 2006-09-28 | 2008-04-03 | Huawei Technologies Co., Ltd. | Method and node device for realizing the network topology discovery |
| CN101155084B (en) * | 2006-09-28 | 2011-04-13 | 华为技术有限公司 | Method and system for acquiring network topological information |
| CN102088370A (en) * | 2011-01-18 | 2011-06-08 | 杭州华三通信技术有限公司 | Method and device for realizing network topology for mobile terminals |
| CN102088370B (en) * | 2011-01-18 | 2014-03-19 | 杭州华三通信技术有限公司 | Method and device for realizing network topology for mobile terminals |
| CN102736584A (en) * | 2011-04-08 | 2012-10-17 | 巴比禄股份有限公司 | Method of managing system |
| CN106357420A (en) * | 2015-07-16 | 2017-01-25 | 中兴通讯股份有限公司 | Network topology display method, network topology display device and network management system |
| CN105323178A (en) * | 2015-10-14 | 2016-02-10 | 国网四川省电力公司信息通信公司 | Routing information synchronization method and device for electric communication equipment |
| CN105323178B (en) * | 2015-10-14 | 2019-08-23 | 国网四川省电力公司信息通信公司 | A kind of the routing iinformation synchronous method and device of electric power communication device |
| CN107787020A (en) * | 2016-08-26 | 2018-03-09 | 华为技术有限公司 | Method and routing network element for synchronizing topology information in SFC network |
| CN107787020B (en) * | 2016-08-26 | 2020-12-08 | 华为技术有限公司 | A method and routing network element for synchronizing topology information in an SFC network |
| US11477109B2 (en) | 2016-08-26 | 2022-10-18 | Huawei Technologies Co., Ltd. | Method for synchronizing topology information in SFC network, and routing network element |
| US11627067B2 (en) | 2016-08-26 | 2023-04-11 | Huawei Technologies Co., Ltd. | Method for synchronizing topology information in SFC network, and routing network element |
| CN109842504A (en) * | 2017-11-27 | 2019-06-04 | 华为技术有限公司 | A kind of information uploading method and relevant device |
| CN109842504B (en) * | 2017-11-27 | 2021-09-14 | 华为技术有限公司 | Information reporting method and related equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1266882C (en) | A management method of network device | |
| CN1306752C (en) | Discover IP Network Topology Structure Using Link State Information | |
| CN1589545A (en) | Adaptive node selection | |
| CN101345655A (en) | A method for obtaining network connection information by using link layer discovery protocol | |
| WO2009089742A1 (en) | Distributed network management collection system, realization method and corresponding device | |
| CN1558615A (en) | A physical network topology discovery system and method thereof | |
| CN1780250A (en) | Automatic discovery of network topology | |
| CN1770705A (en) | Network management apparatus and method | |
| CN1293710C (en) | Link binding method of intelligent optical network | |
| CN1890928A (en) | Network, router device, route updating suppression method used for the same, and program thereof | |
| CN1622547A (en) | Link management method | |
| US9270533B2 (en) | Fast network discovery using SNMP multi-cast | |
| CN1885858A (en) | Method for carrying out cluster management on network equipment based on SNMP protocol | |
| CN1925421A (en) | Method for synchronization of fore-and-aft alarm | |
| CN116319507B (en) | Dynamic real-time network cloud resource fine granularity sensing and interaction method | |
| CN1855842A (en) | Method for making maintaining node labels to match with media visiting controlled addresses | |
| CN101145940A (en) | Method for searching network element equipment and establishing topology connection in network management system | |
| CN1863100A (en) | Method based on elastic group ring for obtaining link evaluating parameter | |
| CN1266902C (en) | Call routing method in frame relay voice network | |
| CN1184828C (en) | Method for implementing simultaneously supporting two style command line configuration | |
| CN1208934C (en) | A Method to Realize Intercommunication of Broadband and Narrowband Signaling Networks | |
| CN1725724A (en) | Automatic discovering method of resilient packet ring (RPR) equipment | |
| CN1514592A (en) | Method of automatic topological discovery of broad band digital user cut-in concentrator cascade group network | |
| CN1525690A (en) | A method for remote cluster management of low-end switches | |
| CN1859375A (en) | Method for avoiding redundant Flood |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20060531 |