CN101547139B - Method and device for announcing network topology changes - Google Patents
Method and device for announcing network topology changes Download PDFInfo
- Publication number
- CN101547139B CN101547139B CN2008100903582A CN200810090358A CN101547139B CN 101547139 B CN101547139 B CN 101547139B CN 2008100903582 A CN2008100903582 A CN 2008100903582A CN 200810090358 A CN200810090358 A CN 200810090358A CN 101547139 B CN101547139 B CN 101547139B
- Authority
- CN
- China
- Prior art keywords
- topology change
- network
- router
- change notification
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000008859 change Effects 0.000 claims abstract description 129
- 230000000977 initiatory effect Effects 0.000 claims description 10
- 238000005538 encapsulation Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 description 33
- 238000004422 calculation algorithm Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000009792 diffusion process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/03—Topology update or discovery by updating link state protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开了一种网络拓扑变化的通告方法及装置,能够快速将网络拓扑变化信息通告给全网,提高网络收敛速度。该方法包括:当网络拓扑发生变化时,收集网络中需要通告的节点路由器信息并生成拓扑变化通告列表;获取含有网络拓扑变化信息的链路状态报文;根据获取的含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文;向所述拓扑变化通告列表中的节点路由器发送封装后的拓扑变化通告报文。同时,本发明还提供了一种拓扑变化通告装置。本发明实施例通过上述的方法及装置,以单播方式发送拓扑变化通告报文,能够快速将网络拓扑变化信息通告给全网,提高网络收敛速度。
The embodiment of the invention discloses a network topology change notification method and device, which can quickly notify the network topology change information to the whole network, and improve the network convergence speed. The method includes: when the network topology changes, collecting node router information in the network that needs to be notified and generating a topology change notification list; obtaining a link state message containing network topology change information; encapsulating the topology change notification message with the road status message; sending the encapsulated topology change notification message to the node routers in the topology change notification list. At the same time, the invention also provides a topology change notification device. In the embodiment of the present invention, the topology change notification message is sent in unicast mode through the above method and device, which can quickly notify the network topology change information to the whole network and improve the network convergence speed.
Description
技术领域 technical field
本发明涉及网络拓扑结构领域,尤其是涉及一种网络拓扑变化的通告方法及装置。 The invention relates to the field of network topology, in particular to a method and device for notifying network topology changes. the
背景技术 Background technique
随着网络业务的丰富化,对网络带宽的要求迅速增长,促使网络部署以树型方式向纵深方向扩展,各省、市、自治区、县的网络容量扩容趋势明显。 With the enrichment of network services, the requirements for network bandwidth increase rapidly, prompting the network deployment to expand in depth in a tree-like manner, and the network capacity expansion trend of provinces, cities, autonomous regions, and counties is obvious. the
由于受到终端设备部署的限制,内部网关协议(Interior Gateway Protocol,IGP)域内的路由器容量明显增加,并且网络拓扑变化导致的收敛速度问题过慢。 Due to the limitation of terminal device deployment, the capacity of routers in the Interior Gateway Protocol (IGP) domain increases significantly, and the convergence speed caused by network topology changes is too slow. the
图1为现有技术的网络拓扑结构图,如图1所示,当路由器2与路由器3之间链路发生变化,路由器1要想感知,必须通过与路由器2相邻的路由器所有的内部网关协议协议层分析后再转发给与该路由器相邻的路由器,通告网络拓扑变化,直到报文传输到路由器1。路由器1再根据拓扑变化进行路由计算,选择可到达或者通过目的路由器3的路径,因此降低了收敛速度,使得路由器1的收敛以秒记。 Figure 1 is a network topology diagram of the prior art, as shown in Figure 1, when the link between router 2 and router 3 changes, if router 1 wants to perceive it, it must pass through all the internal gateways of routers adjacent to router 2 After analyzing the protocol layer, forward it to the router adjacent to the router, and notify the network topology change until the packet is transmitted to router 1. Router 1 performs route calculation according to the topology change, and selects a path that can reach or pass through the destination router 3, thus reducing the convergence speed, so that the convergence of router 1 is recorded in seconds. the
现有技术方案一通过改进路由计算算法来提高本机的路由计算速度,从而达到提高收敛速度的要求。现有技术方案一是将增量路由计算(I-SPF)、部分路由计算(PRC)及路由分优先级收敛技术相结合的技术方案。 The prior art solution one improves the routing calculation speed of the local machine by improving the routing calculation algorithm, so as to meet the requirement of increasing the convergence speed. The first prior art solution is a technical solution that combines incremental routing calculation (I-SPF), partial routing calculation (PRC) and routing priority convergence technology. the
增量路由计算每次只对变化的一部分路由进行计算,而不是对全部路由重新计算。在国际标准化组织(ISO)10589中定义使用最短路径(Dijkstra)算法进行路由计算,当网络拓扑中有一个节点发生变化时,这 种算法需要重新计算网络中的所有节点,计算时间长,占用过多的中央处理器(CPU)资源,影响整个网络的收敛速度。增量路由计算改进了这个算法,除了第一次计算时需要计算全部节点外,以后的每次只计算变化影响的节点,而最后生成的最短路径树(Shortest Path Tree,SPT)与原来的算法所计算的结果相同,大大降低了计算量,提高了网络收敛速度。 Incremental routing calculation only calculates a part of the changed routes each time, instead of recalculating all routes. The International Organization for Standardization (ISO) 10589 defines the use of the shortest path (Dijkstra) algorithm for routing calculations. When a node in the network topology changes, this algorithm needs to recalculate all nodes in the network, which takes a long time and takes up too much time. Too many central processing unit (CPU) resources affect the convergence speed of the entire network. Incremental routing calculation improves this algorithm, except that all nodes need to be calculated in the first calculation, and only the nodes affected by the change are calculated each time, and the final generated shortest path tree (Shortest Path Tree, SPT) is the same as the original algorithm The calculated results are the same, which greatly reduces the calculation amount and improves the network convergence speed. the
部分路由计算的原理与增量路由计算相同,都是只计算变化的那一部分。但部分路由计算不需要计算节点路径,而是根据部分路由计算算出的最短路径树来更新叶子。在路由计算中,叶子代表路由,节点则代表路由器。如果增量路由计算计算后的最短路径树改变,部分路由计算只处理那个变化的节点上的所有叶子;如果经过增量路由计算计算后的最短路径树并没有变化,则部分路由计算只处理变化的叶子信息。例如一个节点使用一个中间系统到中间系统(IS-IS)接口,则整个网络拓扑的最短路径树是不变的,这时部分路由计算只更新这个节点的接口路由,从而节省CPU占用率。部分路由计算和增量路由计算配合使用可以将网络的收敛性能进一步提高,它是原始SPF算法的改进,所以已经代替了原有的算法。 The principle of partial route calculation is the same as that of incremental route calculation, which only calculates the changed part. However, the partial route calculation does not need to calculate the node path, but updates the leaves according to the shortest path tree calculated by the partial route calculation. In route computation, leaves represent routes, and nodes represent routers. If the shortest path tree after the incremental routing calculation is changed, the partial routing calculation only processes all the leaves on the changed node; if the shortest path tree after the incremental routing calculation does not change, the partial routing calculation only processes the change leaf information. For example, if a node uses an intermediate system to intermediate system (IS-IS) interface, the shortest path tree of the entire network topology remains unchanged. At this time, the partial route calculation only updates the interface route of this node, thereby saving CPU usage. The combination of partial routing calculation and incremental routing calculation can further improve the convergence performance of the network. It is an improvement of the original SPF algorithm, so it has replaced the original algorithm. the
路由分优先级收敛技术是先计算优先级高的路由,达到优先级高的网络先收敛的目的。在网络资源日益兴盛的今天,核心路由器上的路由量大幅增加,以十万路由记,其中包含多协议标签交换(MPLS)等隧道协议赖以建立路径的关键路由,在这种网络中,当拓扑发生变化,优先级计算关键路径的路由会很好的降低拓扑变化带来的流量损失。 The route-by-priority convergence technology calculates routes with higher priorities first, so that networks with higher priorities converge first. Today, as network resources are increasingly prosperous, the number of routes on core routers has increased significantly, counting as 100,000 routes, including key routes on which tunnel protocols such as Multi-Protocol Label Switching (MPLS) rely to establish paths. In this network, when When the topology changes, the priority calculation of the route of the critical path will reduce the traffic loss caused by the topology change. the
但是由于网络拓扑发生变化时,收敛时间依赖于变化通告时间和路由计算时间,随着CPU计算速度的提升,路由计算时间以毫秒记,但是变化通告时间以秒记,现有技术方案一虽然很好的提高了本机的路由计算速度,但是没有解决变化通告在网络传递耗费的大量时间,因此收敛速度仍然很慢。 However, when the network topology changes, the convergence time depends on the change notification time and route calculation time. With the increase of CPU calculation speed, the route calculation time is recorded in milliseconds, but the change notification time is recorded in seconds. It improves the routing calculation speed of the local machine, but it does not solve the large amount of time spent in network transmission of change notifications, so the convergence speed is still very slow. the
在现有技术方案二中,为了加快整个网络的收敛速度,当中间系统到中间系统(IS-IS)收到由其它路由器发来的链路状态报文(LSP)时,如果此报文比自己数据库中的要新,原来的请求注解(RFC)协议规定是用一个定时器,定时将链路状态数据库内的链路状态报文扩散出去,使得链路状态数据库(LSDB)的同步比较缓慢。链路状态快速扩散特性改进了这种方式,配置此特性的路由器收到一个或多个比较新的链路状态报文时,在路由计算之前,先将小于指定数目的链路状态报文扩散出去,加快链路状态数据库的同步过程。这种方式在很大程度上可以提高整个网络的收敛速度。 In the existing technical solution 2, in order to speed up the convergence speed of the entire network, when the intermediate system to intermediate system (IS-IS) receives the link state message (LSP) sent by other routers, if the message is more than The original request for comments (RFC) protocol stipulates that a timer is used to regularly diffuse the link state messages in the link state database, making the synchronization of the link state database (LSDB) relatively slow . The link state fast diffusion feature improves this method. When a router configured with this feature receives one or more relatively new link state packets, it will first diffuse the link state packets that are less than the specified number before route calculation. Go out and speed up the synchronization process of the link state database. This method can greatly improve the convergence speed of the entire network. the
在现有技术方案中,仍旧需要以组播协议报文的方式在网络中单跳传递,也就是说需要从离变化链路最近的邻居传递到下一个较远的邻居,依次扩散到全网,途经每个路由器的CPU进行链路状态的解析和处理后,再启动定时器发送出去,即便考虑在路由计算之前就把报文转发出去,期间也花费了不少时间,使得收敛速度过慢。 In the existing technical solutions, it is still necessary to use multicast protocol packets to be transmitted in a single hop in the network, that is to say, it needs to be transmitted from the neighbor closest to the changed link to the next neighbor farther away, and spread to the entire network in turn , after the CPU of each router parses and processes the link state, and then starts the timer to send the message, even if it is considered to forward the message before the route calculation, it will take a lot of time during the period, making the convergence speed too slow . the
发明内容Contents of the invention
本发明实施例的目的是提供一种网络拓扑变化的通告方法及装置,能够快速将网络拓扑变化信息通告给全网,提高收敛速度。 The purpose of the embodiment of the present invention is to provide a network topology change notification method and device, which can quickly notify the network topology change information to the whole network and improve the convergence speed. the
本发明实施例提供了一种网络拓扑变化的通告方法,包括: An embodiment of the present invention provides a notification method for network topology changes, including:
当网络拓扑发生变化时,收集网络中需要通告的节点路由器信息,并生成拓扑变化通告列表,所述通告列表为拓扑变化起始路由器的最短路径优先树上的节点路由器的互联网协议地址列表; When the network topology changes, the node router information that needs to be notified in the network is collected, and a topology change notification list is generated, and the notification list is an Internet Protocol address list of the node router on the shortest path first tree of the topology change initiation router;
获取含有网络拓扑变化信息的链路状态报文; Obtain link state packets containing network topology change information;
根据获取的所述含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文; Encapsulate the topology change notification message according to the obtained link state message containing the network topology change information;
向所述拓扑变化通告列表中的节点路由器发送所述封装后的拓扑变化通告报文; Sending the encapsulated topology change notification message to the node routers in the topology change notification list;
所述收集网络中需要通告的节点路由器信息之前还包括建立快速通告路由器虚拟邻接关系。 Before the collection of node router information that needs to be advertised in the network, it also includes establishing a fast-advertising router virtual adjacency relationship. the
同时,本发明实施例还提供了一种装置,包括: At the same time, the embodiment of the present invention also provides a device, including:
处理模块,用于收集网络中需要通告的节点路由器信息,并生成拓扑变 化通告列表,所述通告列表为拓扑变化起始路由器的最短路径优先树上的节点路由器的互联网协议地址列表; The processing module is used to collect the node router information that needs to be notified in the network, and generate a topology change notification list, and the notification list is the Internet protocol address list of the node router on the shortest path first tree of the topology change initiation router;
获取模块,用于获取含有网络拓扑变化信息的链路状态报文; The obtaining module is used to obtain link state messages containing network topology change information;
封装模块,用于根据获取的所述含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文; An encapsulation module, configured to encapsulate a topology change notification message according to the acquired link state message containing network topology change information;
发送模块,用于向所述拓扑变化通告列表中的节点路由器发送所述封装后的拓扑变化通告报文; A sending module, configured to send the encapsulated topology change notification message to the node routers in the topology change notification list;
路由器虚拟邻接关系建立模块,用于建立快速通告路由器虚拟邻接关系。 The router virtual adjacency establishing module is used for establishing the fast advertisement router virtual adjacency. the
本发明实施例通过引入上述的方法及装置,通过单播方式的拓扑变化通告报文,能够快速将网络拓扑变化信息通告给全网,提高收敛速度。 By introducing the above-mentioned method and device, the embodiment of the present invention can quickly notify the network topology change information to the whole network through the unicast topology change notification message, thereby improving the convergence speed. the
下面通过附图和实施例,对本发明实施例的技术方案做进一步的详细描述。 The technical solutions of the embodiments of the present invention will be described in further detail below with reference to the drawings and embodiments. the
附图说明Description of drawings
图1为现有技术的网络拓扑结构图; Fig. 1 is the network topology structure figure of prior art;
图2为本发明网络拓扑变化的通告方法实施例一的流程图; Fig. 2 is the flow chart of embodiment one of the notification method of network topology change of the present invention;
图3为本发明网络拓扑变化的通告方法实施例二的流程图; Fig. 3 is the flow chart of embodiment two of the notification method of network topology change of the present invention;
图4为本发明网络拓扑变化的通告装置实施例一的结构示意图; Fig. 4 is a schematic structural diagram of Embodiment 1 of a notification device for network topology changes in the present invention;
图5为本发明网络拓扑变化的通告装置实施例二的结构示意图。 FIG. 5 is a schematic structural diagram of Embodiment 2 of an apparatus for notifying network topology changes according to the present invention. the
具体实施方式Detailed ways
目前已经推广的快速收敛技术着眼于:第一,改进路由计算算法,通过减少不必要的计算量提高计算速度,比如增量路由计算技术、部分路由计算技术、路由分优先级收敛技术,下一跳分离技术等;第二,优先扩散更新的链路状态报文;第三,通过智能定时器,快速响应网络变化,规避网络振荡。 The rapid convergence technology that has been promoted at present focuses on: first, improve the routing calculation algorithm, and increase the calculation speed by reducing unnecessary calculations, such as incremental routing calculation technology, partial routing calculation technology, routing priority convergence technology, the next Hop separation technology, etc.; second, give priority to the diffusion of updated link status messages; third, use intelligent timers to quickly respond to network changes and avoid network oscillations. the
网络拓扑变化的通告方法实施例一 Embodiment 1 of a notification method for network topology changes
图2为本发明网络拓扑变化的通告方法实施例一的流程图,如图2所示,若图1所示的网络中路由器2及与其相邻的路由器3之间的链路发生变化,则有如下操作: Fig. 2 is a flow chart of Embodiment 1 of the notification method for network topology changes in the present invention. As shown in Fig. 2, if the link between router 2 and its adjacent router 3 in the network shown in Fig. 1 changes, then There are the following operations:
步骤11:收集网络中需要通告的节点路由器信息,并生成拓扑变化通告列表;其中,节点路由器信息为节点路由器的互联网协议(IP)地址,拓扑变化通告列表为拓扑变化起始路由器的最短路径优先树上的节点路由器的互联网协议地址列表,拓扑变化起始路由器也可以称为拓扑变化的路由器,本发明实施例中路由器2为拓扑变化起始路由器,其负责迅速通告这个变化给全网。 Step 11: Collect the node router information that needs to be notified in the network, and generate a topology change notification list; wherein, the node router information is the Internet Protocol (IP) address of the node router, and the topology change notification list is the shortest path first of the topology change starting router The Internet protocol address list of the node router on the tree, the topology change initiation router can also be called the topology change router, router 2 is the topology change initiation router in the embodiment of the present invention, and it is responsible for rapidly notifying the change to the whole network. the
步骤12:获取含有网络拓扑变化信息的链路状态报文; Step 12: Obtain the link state message containing the network topology change information;
步骤13:根据获取的含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文;其中,拓扑变化通告报文为单播IP报文,通过单播方式,路由器2可直接将拓扑变化通告报文发送给拓扑变化通告列表中的各目的路由器。上述过程具体为:若拓扑变化通告列表中的目的路由器与路由器2相邻,则路由器2将拓扑变化通告报文发送给该目的路由器的协议报文处理单元,该目的路由器的CPU对报文进行解析和处理,获知拓扑变化信息;若拓扑变化通告列表中的目的路由器与路由器2不相邻,路由器2将拓扑变化通告报文发送给与路由器2相邻的下一个路由器的转发单元,此路由器并不对报文进行解析和处理,直接将拓扑变化通告报文再转发给与其相邻的下一个路由器的转发单元,直至拓扑变化通告列表中的目的路由器收到拓扑变化通告报文,因为途经的每个路由器均不对报文进行解析和处理而直接转发,所以拓扑变化通告列表中的目的路由器认为拓扑变化通告报文为路由器2直接发送,并且采用上述过程,缩短了拓扑变化通告报文在网络中传输的时间。 Step 13: Encapsulate the topology change notification message according to the obtained link state message containing the network topology change information; wherein, the topology change notification message is a unicast IP message, and router 2 can directly transmit the topology change notification message through unicast mode. The advertisement message is sent to each destination router in the topology change advertisement list. The above process is specifically: if the destination router in the topology change notification list is adjacent to router 2, then router 2 sends the topology change notification message to the protocol message processing unit of the destination router, and the CPU of the destination router processes the message. Parsing and processing to obtain topology change information; if the destination router in the topology change notification list is not adjacent to router 2, router 2 sends the topology change notification message to the forwarding unit of the next router adjacent to router 2, and this router It does not analyze and process the message, but directly forwards the topology change notification message to the forwarding unit of the next adjacent router until the destination router in the topology change notification list receives the topology change notification message, because the Each router forwards the packet directly without parsing and processing it, so the destination router in the topology change notification list thinks that the topology change notification packet is directly sent by router 2, and adopts the above process to shorten the transmission time of the topology change notification packet on the network. time of transmission. the
拓扑变化通告报文为IP报文,其源IP地址为拓扑变化起始路由器的接口IP地址,即路由器2的IP地址,目的IP地址为拓扑变化通告列表中各节点路由器的接口IP地址。拓扑变化通告报文携带含有网络拓扑变化信息的链路状态报文,含有网络拓扑变化信息的链路状态报文为开放最短路径优先链路状态广播或中间系统到中间系统链路状态报文,开放最短路径优先链路状 态广播或中间系统到中间系统链路状态报文,含有路由器2和路由器3邻接关系,是需要通告的具体内容。开放最短路径优先(OSPF)链路状态广播(LSA)使用原有的IP协议号,中间系统到中间系统(IS-IS)链路状态报文(LSP)需要定义新的IP协议号,以支持本网络拓扑变化的通告方法。 The topology change announcement message is an IP message, and its source IP address is the interface IP address of the topology change initiation router, i.e. the IP address of router 2, and the destination IP address is the interface IP address of each node router in the topology change announcement list. The topology change notification message carries the link state message containing the network topology change information. The link state message containing the network topology change information is an open shortest path first link state broadcast or an intermediate system to intermediate system link state message. The open shortest path first link state broadcast or intermediate system to intermediate system link state message contains the adjacency relationship between router 2 and router 3, which is the specific content that needs to be notified. The Open Shortest Path First (OSPF) Link State Broadcast (LSA) uses the original IP protocol number, and the Intermediate System to Intermediate System (IS-IS) Link State Packet (LSP) needs to define a new IP protocol number to support The notification method of the network topology change. the
步骤14:向拓扑变化通告列表中的节点路由器发送封装后的拓扑变化通告报文,结束操作。 Step 14: Send the encapsulated topology change notification message to the node routers in the topology change notification list, and end the operation. the
将拓扑变化通告报文发送给拓扑变化通告列表中的节点路由器之后,拓扑变化通告列表中的节点路由器收到该拓扑变化通告报文,便对其进行解析。按照原协议规定,内部网关协议仅可接收直连邻居路由器发送的报文。而在本发明实施例中,内部网关协议可接收非直连的远端节点路由器发送的拓扑变化通告报文。出于安全上的考虑,要验证拓扑变化通告报文的互联网协议地址是否属于拓扑变化起始路由器的接口互联网协议地址。网络中的路由器通过报文验证后,快速同步网络数据库,进行路由计算,以达到快速收敛的目的。 After the topology change notification message is sent to the node routers in the topology change notification list, the node routers in the topology change notification list receive the topology change notification message and analyze it. According to the original protocol, the interior gateway protocol can only receive packets sent by directly connected neighbor routers. However, in the embodiment of the present invention, the interior gateway protocol can receive the topology change notification message sent by the non-directly connected remote node router. For security considerations, it is necessary to verify whether the IP address of the topology change notification message belongs to the interface IP address of the topology change initiation router. After the routers in the network pass the packet verification, they quickly synchronize the network database and perform routing calculations to achieve fast convergence. the
本发明实施例通过单播IP报文即拓扑变化通告报文,由拓扑变化的路由器,通过收集的拓扑变化通告列表,发送全网的拓扑变化通告报文,使拓扑变化信息在很短的时间内通告全网使得网络能够快速同步网络数据库,进行路由计算,提高网络收敛速度。 In the embodiment of the present invention, through unicast IP messages, that is, topology change notification messages, the topology change router sends the topology change notification messages of the entire network through the collected topology change notification list, so that the topology change information can be transmitted in a very short time. Intranet notification enables the network to quickly synchronize the network database, perform routing calculations, and improve network convergence speed. the
网络拓扑变化的通告方法实施例二 Embodiment 2 of the method for notifying network topology changes
本发明实施例在本发明实施例一的基础上提供另一实施例,图3为本发明网络拓扑变化的通告方法实施例二的流程图,如图3所示包括: The embodiment of the present invention provides another embodiment on the basis of the first embodiment of the present invention. FIG. 3 is a flowchart of the second embodiment of the method for notifying network topology changes of the present invention. As shown in FIG. 3 , it includes:
步骤21:建立快速通告路由器虚拟邻接关系。如图3所示,建立该快速通告路由器虚拟邻接关系可通过私有协议、认证请求或网络管理员指定来实现。快速通告路由器虚拟邻接关系的报文仅交互一次,用于建立有效的通告列表,确保网络的安全性。 Step 21: Establish a fast advertising router virtual adjacency relationship. As shown in FIG. 3 , establishing the virtual adjacency relationship of the fast advertising router can be realized through a private protocol, an authentication request, or a network administrator's designation. The message that quickly advertises the router's virtual adjacency relationship is exchanged only once, and is used to establish an effective advertisement list to ensure network security. the
步骤22:收集网络中需要通告的节点路由器信息,并生成拓扑变化通告 列表; Step 22: Collect the node router information that needs to be notified in the network, and generate a list of topology change notifications;
步骤23:获取含有网络拓扑变化信息的链路状态报文; Step 23: Obtain the link state message containing the network topology change information;
步骤24:根据获取的含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文; Step 24: Encapsulate the topology change notification message according to the obtained link state message containing the network topology change information;
步骤25:向拓扑变化通告列表中的节点路由器发送封装后的拓扑变化通告报文,结束操作。 Step 25: Send the encapsulated topology change notification message to the node routers in the topology change notification list, and end the operation. the
如图1所示,路由器2的拓扑变化通告报文中可以仅含有目的为路由器1的报文,在路由器1的通告列表中有网络中的其他节点路由器,那么路由器2的拓扑变化通告报文仅发送给路由器1,路由器1再重新进行报文封装发送给自己列表中的其它节点路由器,通过这样的分组,可避免因网络中的拓扑节点数量过多,导致本发明实施例一中的通告列表过大,而影响发送效率。 As shown in Figure 1, the topology change advertisement message of router 2 can only contain the message destined for router 1, and there are other node routers in the network in the advertisement list of router 1, then the topology change advertisement message of router 2 Only send to router 1, and router 1 re-encapsulates the message and sends it to other node routers in its own list. Through such grouping, it is possible to avoid the notification in Embodiment 1 of the present invention due to too many topological nodes in the network. The list is too large, which affects the sending efficiency. the
网络拓扑变化的通告装置实施例一 Embodiment 1 of a device for notifying network topology changes
图4为本发明网络拓扑变化的通告装置实施例一的结构示意图,如图4所示,本发明实施例包括: Fig. 4 is a schematic structural diagram of Embodiment 1 of a notification device for network topology changes in the present invention. As shown in Fig. 4, the embodiment of the present invention includes:
处理模块111,用于收集网络中需要通告的节点路由器信息,并生成拓扑变化通告列表;
The
获取模块112,用于获取含有网络拓扑变化信息的链路状态报文;
Obtaining
封装模块113,用于根据获取的含有网络拓扑变化信息的链路状态报文封装拓扑变化通告报文;
The
发送模块114,用于向拓扑变化通告列表中的节点路由器发送封装后的拓扑变化通告报文。
The sending
网络拓扑变化的通告装置实施例二 Embodiment 2 of the notification device for network topology changes
图5为本发明网络拓扑变化的通告装置实施例一的结构示意图,如图5所示,本发明实施例与本发明实施例一的区别在于,还包括:路由器虚拟邻接关系建立模块211,用于建立快速通告路由器虚拟邻接关系。 FIG. 5 is a schematic structural diagram of Embodiment 1 of the device for notifying network topology changes of the present invention. As shown in FIG. It is used to establish the fast advertisement router virtual adjacency relationship. the
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这些修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that: it still Modifications or equivalent replacements can be made to the technical solutions of the present invention, and these modifications or equivalent replacements cannot make the modified technical solutions deviate from the spirit and scope of the technical solutions of the present invention. the
Claims (7)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100903582A CN101547139B (en) | 2008-03-28 | 2008-03-28 | Method and device for announcing network topology changes |
PCT/CN2009/070985 WO2009117948A1 (en) | 2008-03-28 | 2009-03-24 | Method and device for notifying a network topology change |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100903582A CN101547139B (en) | 2008-03-28 | 2008-03-28 | Method and device for announcing network topology changes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101547139A CN101547139A (en) | 2009-09-30 |
CN101547139B true CN101547139B (en) | 2012-03-07 |
Family
ID=41112971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100903582A Active CN101547139B (en) | 2008-03-28 | 2008-03-28 | Method and device for announcing network topology changes |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101547139B (en) |
WO (1) | WO2009117948A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468158B (en) * | 2013-09-16 | 2018-07-13 | 华为技术有限公司 | The method and apparatus of state advertisement between a kind of node |
CN104767687B (en) * | 2014-01-03 | 2019-04-23 | 国际商业机器公司 | Propagate critical path by and establish and update routing table method and apparatus |
CN105376162B (en) | 2014-08-30 | 2019-05-10 | 华为技术有限公司 | A kind of link state information notification method and device |
CN104702503B (en) * | 2015-03-26 | 2018-05-18 | 中国电子科技集团公司第七研究所 | Network route method and system |
CN107181684A (en) * | 2016-03-11 | 2017-09-19 | 中兴通讯股份有限公司 | A kind of method and apparatus of response to network change in topology |
US10063457B2 (en) * | 2016-03-29 | 2018-08-28 | Juniper Networks, Inc. | Method, system, and apparatus for improving forwarding capabilities during route convergence |
CN107040607A (en) * | 2017-05-19 | 2017-08-11 | 郑州云海信息技术有限公司 | A kind of server data distribution system |
CN108111423B (en) * | 2017-12-28 | 2020-11-17 | 迈普通信技术股份有限公司 | Traffic transmission management method and device and network shunting equipment |
CN112272143B (en) * | 2020-12-12 | 2021-03-30 | 广东睿江云计算股份有限公司 | Route learning and forwarding method |
CN114640593B (en) * | 2020-12-16 | 2023-10-31 | 中国科学院声学研究所 | Method for accelerating route information propagation of SDN and IP hybrid network |
CN113225403B (en) | 2021-07-08 | 2021-08-31 | 苏州浪潮智能科技有限公司 | Topology-aware load balancing method and device and computer equipment |
CN116319509B (en) * | 2021-12-21 | 2024-12-24 | 中国电信股份有限公司 | Method, system, device and storage medium for sequential routing update |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825836A (en) * | 2006-04-04 | 2006-08-30 | 中兴通讯股份有限公司 | System and method for avoiding network apparatus jamming |
CN1889520A (en) * | 2006-07-25 | 2007-01-03 | 华为技术有限公司 | Route information update method and network equipment based on OSPF |
CN1905512A (en) * | 2006-08-17 | 2007-01-31 | 北京邮电大学 | Monitoring and analyzing system for opening shortest path priority route protocol and working method |
US20070097917A1 (en) * | 2005-11-02 | 2007-05-03 | Institute For Information Industry | Method for rapidly lnking mobile node and access point in wireless local area network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100346617C (en) * | 2004-01-14 | 2007-10-31 | 电子科技大学 | Nucleus tree self-organizing dynamic route algorithm |
-
2008
- 2008-03-28 CN CN2008100903582A patent/CN101547139B/en active Active
-
2009
- 2009-03-24 WO PCT/CN2009/070985 patent/WO2009117948A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070097917A1 (en) * | 2005-11-02 | 2007-05-03 | Institute For Information Industry | Method for rapidly lnking mobile node and access point in wireless local area network |
CN1825836A (en) * | 2006-04-04 | 2006-08-30 | 中兴通讯股份有限公司 | System and method for avoiding network apparatus jamming |
CN1889520A (en) * | 2006-07-25 | 2007-01-03 | 华为技术有限公司 | Route information update method and network equipment based on OSPF |
CN1905512A (en) * | 2006-08-17 | 2007-01-31 | 北京邮电大学 | Monitoring and analyzing system for opening shortest path priority route protocol and working method |
Also Published As
Publication number | Publication date |
---|---|
WO2009117948A1 (en) | 2009-10-01 |
CN101547139A (en) | 2009-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101547139B (en) | Method and device for announcing network topology changes | |
CN101505227B (en) | Method, device and system for implementing point to multi-point pseudowire | |
CN109417508B (en) | A method and device for constructing a PCE network topology of a hierarchical path calculation unit | |
WO2018072704A1 (en) | Message transmission method and apparatus, node and computer storage medium | |
US9350605B2 (en) | Method and apparatus for multi-instance control plane for dynamic MPLS-TP tunnel management via in-band communication channel (G-ACH) | |
JP4109692B2 (en) | Session establishment method and label switch node in label switch network | |
WO2009043256A1 (en) | Method, system and device for obtaining label switched path | |
CN102546426B (en) | Route generation method and device for implementing fiber channel over Ethernet | |
CN102130813B (en) | Pseudo line establishing method, system and equipment | |
CN106063203A (en) | Software defined networking (SDN) specific topology information discovery | |
KR101699643B1 (en) | Oam method and device based on multi-protocol label switching | |
WO2011103759A1 (en) | Method for establishing associated bidirectional label switching path and system thereof | |
WO2008031337A1 (en) | A traffic engineering path computation method, a system and a path computation element | |
CN101247322A (en) | A method and network equipment for path calculation between autonomous systems | |
CN101989947A (en) | Associated channel capability negotiation method and network device | |
CN104937878B (en) | The method that Protocol Independent Multicast tree is established in the presence of unidirectional tunnel | |
CN101150423A (en) | A method for establishing PIM neighbors, multicast joining, multicast network and router | |
WO2014187429A1 (en) | Flow table configuration realization method and device | |
CN105227458B (en) | The route computing method and device of TRILL ISIS | |
CN101860769B (en) | Method, device and system for fusing IP and light | |
CN101453412B (en) | Method and apparatus for automatic topology discovery and resource management in PBB network | |
CN106789705B (en) | Method and apparatus for transmitting control message | |
CN101895409B (en) | Method, device and system for processing operation, administration and maintenance mechanism in multipath domain | |
WO2008000125A1 (en) | A method, system and apparatus for discovering path computation element | |
CN104426778B (en) | Route renewing method and routing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |