CN104168194B - Cluster network path control method, apparatus and network system cluster - Google Patents

Cluster network path control method, apparatus and network system cluster Download PDF

Info

Publication number
CN104168194B
CN104168194B CN 201310180673 CN201310180673A CN104168194B CN 104168194 B CN104168194 B CN 104168194B CN 201310180673 CN201310180673 CN 201310180673 CN 201310180673 A CN201310180673 A CN 201310180673A CN 104168194 B CN104168194 B CN 104168194B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
routing
network
path
information
paths
Prior art date
Application number
CN 201310180673
Other languages
Chinese (zh)
Other versions
CN104168194A (en )
Inventor
王丽丽
于凤青
白涛
庄顺万
欧阳沅斌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明实施例提供一种集群网络路径控制方法、设备和集群网络系统。 Embodiment of the present invention provides a method for controlling the cluster path network, the network apparatus and the cluster system. 本发明集群网络路径控制方法,包括:第一网络中的控制器确定转发路径,转发路径为报文从第二网络中的边缘设备发出,经由第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径;第一网络中的控制器向第一路由设备发送的第一路由信息中包含标识信息,标识信息指示转发路径,以使第一路由设备根据标识信息确定是否向第二网络中的边缘设备发送第二路由信息,第一路由设备是第一网络中与第二网络中的边缘设备具有邻居关系的路由设备。 Cluster network path control method according to the present invention, comprising: a first network controller determines a forwarding path, the path forwarding packets sent from the second network edge device, to the third network via the first network routing devices the path through an edge device; a first routing information of the first network controller sends to the routing device comprises a first identification information, the identification information indicating the forwarding path, so that the first routing device determines whether the identification information according to the second the second network edge device transmits the second route information, the first routing device is a routing device having a first network neighbor relationship with the second network edge device. 本发明实施例实现控制器对外部流量进入集群网络的路径控制,解决了外部流量进入集群网络时路径无法控制的问题。 Example implementing a controller external traffic into the path of the control cluster network, solves the problem of the external flow path into the cluster network of the present invention can not be controlled.

Description

集群网络路径控制方法、设备和集群网络系统 Cluster network path control method, apparatus and network system cluster

技术领域 FIELD

[0001]本发明实施例涉及网络技术,尤其涉及一种集群网络路径控制方法、设备和集群网络系统。 Example embodiments relate to network technology [0001] The present invention, in particular to a cluster network path control method, apparatus and network cluster system.

背景技术 Background technique

[0002]随着网络技术的快速发展,集群网络由于具有管理控制效率高、灵活度大等优点, 已经取代传统网络成为当前最主要的数据网络。 [0002] With the rapid development of network technology, cluster network management control due to its high efficiency and flexibility advantages of large, it has replaced the traditional networks become the most important data network. ...

[0003]、、但是随着数据业务的增多,如何控制流量路径的优化变得极其重要。 [0003] ,, but with the increase in data traffic, how to control the flow path optimization has become extremely important. 图丨为现有技术中集群网络的网络架构图,如图1所示,控制器1 〇1通过计算,可以确定自治系统(Autonomous System,简称AS)流量路径,如控制器101可以计算确定AS2到AS1的流量路径1〇2为用户边缘设备(Customer Edge,简称CE) 2->RT4_>RT3->Rn->CE1;然后,控制器101可以通过内邰边界网关协议(Internal Border Gateway Protocol,简称IBGP)邻居向集群网络103中的路由器(Router,简称RT) 1、RT3和RT4发布路由,从而控制RT1、RT3和RT4的路径选择和转发表项生成,完成流量路径控制。 FIG Shu is a network architecture of the cluster network in the prior art, as shown, the controller 1 〇1 by calculation, may be determined Autonomous System (Autonomous System, referred to as AS) flow path, such as the controller 101 in FIG. 1 may be calculated to determine AS2 the flow path for the AS1, 1〇2 Customer edge (Customer edge, referred to as CE) 2-> RT4_> RT3-> Rn-> CE1; then, the controller 101 may be administered by Tai border gateway protocol (internal border gateway protocol, referred to as IBGP) neighbor to the cluster network 103 router (router, referred to as RT) 1, RT3 and RT4 advertising routes to control RT1, RT3 and RT4's routing and forwarding entries generated, complete flow path control.

[0004]但是,上述现有技术中,由于控制器101与CE等外部节点之间没有边界网关协议(Border Gateway Protocol,简称BGP)邻居关系,因此控制器101无法控制外部RT流量走哪条路径进入AS0,即CE2既可以选择向RT4传输流量,也可以选择向RT5传输流量,从而无法实现控制器对外部RT流量进入集群网络的路径进行控制。 [0004] However, the above-described prior art, since there is no border gateway protocol (Border Gateway Protocol, referred to as BGP) peer relationship between the controller 101 and the external node and CE, the controller 101 which ones can not control the external flow path RT entering AS0, i.e., CE2 may be selected to transmit traffic RT4, RT5 can also choose to transmit traffic, so that the controller can not achieve the external path RT traffic entering the network is controlled cluster.

发明内容 SUMMARY

[0005]本发明实施例提供一种集群网络路径控制方法及装置,以解决无法实现外部RT流量进入集群网络的路径控制,以实现集群网络流量路径的优化控制。 Embodiment [0005] The present invention provides a method and a network device cluster control path, the path can not be achieved in order to solve the external RT control network traffic entering the cluster, the cluster in order to optimize the network traffic control path.

[0006]第一方面,本发明实施例提供一种集群网络路径控制方法,包括: [0006] In a first aspect, embodiments of the present invention provides a method for controlling the cluster network path, comprising:

[0007]第一网络中的控制器确定转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径; [0008]所述第一网络中的控制器向第一路由设备发送的第一路由信息中包含标识信息, 所述标识信息指示所述转发路径,以使所述第一路由设备根据所述标识信息确定是否向所述第二网络中的边缘设备发送第二路由信息,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备。 [0007] a first network controller determines a forwarding path of the forwarding path is a packet sent from the second network edge device, the third edge device transmits to the network via the first network routing devices path through; [0008] a first routing information of the first network controller sends to the routing device comprises a first identification information, the identification information indicating the forwarding path so that the first routing information to the edge device determines whether the second network apparatus transmits a second route in accordance with the identification information, the first routing device is in the first network having a neighbor relationship with the second network edge devices the routing device.

[0009] 在第一方面的第一种可能的实现方式中,所述转发路径为至少两条路径。 [0009] In a first possible implementation of the first aspect of the forwarding path is at least two paths.

[0010]根据第一方面的第一种可能的实现方式,在第二种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 [0010] According to a first possible implementation of the first aspect, in a second possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the said priority information of the at least two paths, so that the edge devices of the second network a path from the at least two paths according to the priority information of the at least two paths.

[0011] 根据第一方面的第一种可能的实现方式,在第三种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述至少两条路径的路径属性信息从所述至少两条路径中选择一条路径。 [0011] According to a first possible implementation of the first aspect, in a third possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the path attribute information of said at least two paths, so that the edge of the second network device information selecting at least one path from the at least two paths according to the path of the two paths properties.

[0012]根据第一方面、第一方面的第一种至第三种可能的实现方式的任意一种,在第四种可能的实现方式中,所述标识信息为边界网关协议BGP路由团体属性标识。 [0012] According to a first aspect, any one of first to third possible implementations of the first aspect, in a fourth possible implementation manner, the identification information is a Border Gateway Protocol BGP routing community attribute identity.

[0013]第二方面,本发明实施例提供一种集群网络路径控制方法,包括: [0013] In a second aspect, embodiments of the present invention provides a method for controlling the cluster network path, comprising:

[0014] 第一网络中的第一路由设备接收所述第一网络中的控制器在确定转发路径后发送的第一路由信息,所述第一路由信息中包含标识信息,所述标识信息指示所述转发路径, 所述转发路径为报文从所述第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备; [0014] The first receiving a first network routing information sent by the controller in determining the forwarding path, the first routing information includes identification information, the identification information indicating the first routing device in the first network the forwarding path of the forwarding path is a packet sent from the second network edge device, the transmission path to the third network edge device through which the first network via the routing device, the the first routing device is a routing device in the first network having a neighbor relationship with the second network edge device;

[0015] 所述第一路由设备根据所述收到的标识信息和预先配置的与所述标识信息对应的路由策略,向所述第二网络中的边缘设备发送第二路由信息,以使所述第二网络中的边缘设备根据所述第二路由信息确定报文发送的路径。 [0015] According to the first routing device and the received identification information of the preconfigured identification information corresponding to the policy routing to the edge device transmits the second route information of the second network, so that the said second edge device in the network information packets is determined according to the second routing path.

[0016] 在第二方面的第一种可能的实现方式中,所述转发路径为至少两条路径。 [0016] In a first possible implementation of the second aspect of the forwarding path is at least two paths.

[0017] 根据第二方面的第一种可能的实现方式,在第二种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 [0017] According to a first possible implementation of the second aspect, in a second possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the priority information of said at least two paths, the second routing information further comprises priority information of the at least two paths, so that the second network edge device based on the priority of the at least two paths level select a path from the at least two paths.

[0018] 根据第二方面的第一种可能的实现方式,在第三种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述路径属性信息从所述至少两条路径中选择一条路径。 [0018] According to a first possible implementation of the second aspect, in a third possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the path attribute information of said at least two paths, the second path routing information further comprises the at least two path attribute information, to enable the second network edge device attribute information according to the path from the至少两条路径中选择一条路径。

[0019] 根据第二方面、第二方面的第一种至第三种可能的实现方式的任意一种,在第四种可能的实现方式中,所述标识信息为边界网关协议BGP路由团体属性标识。

[0020] 第三方面,本发明实施例提供一种控制器,包括:

[0021] 处理模块,用于确定转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径; [0021] 处理模块,用于确定转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过path of;

[0022] 第一发送模块,用于向第一路由设备发送的第一路由信息中包含标识信息,所述标识信息指示所述转发路径,以使所述第一路由设备根据所述标识信息确定是否向所述第二网络中的边缘设备发送第二路由信息,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备。 [0022] The first sending module, for sending a first routing information to the routing device comprises a first identification information, the identification information indicates that the transfer path, so that the first routing device is determined based on the identification information whether edge device transmits to the second routing information of the second network, the first routing device is a routing device in the first network having a neighbor relationship with the second network edge devices.

[0023] 在第三方面的第一种可能的实现方式中,所述转发路径为至少两条路径。 [0023] In a first possible implementation manner of the third aspect, the forwarding path of at least two paths.

[0024]根据第三方面的第一种可能的实现方式,在第二种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 [0024] According to a first possible implementation of the third aspect, in a second possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the said priority information of the at least two paths, so that the edge devices of the second network a path from the at least two paths according to the priority information of the at least two paths.

[0025]根据第三方面的第一种可能的实现方式,在第三种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述至少两条路径的路径属性信息从所述至少两条路径中选择一条路径。 [0025] According to a first possible implementation of the third aspect, in a third possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the path attribute information of said at least two paths, so that the edge of the second network device information selecting at least one path from the at least two paths according to the path of the two paths properties.

[0026]根据第三方面、第三方面的第一种至第三种可能的实现方式的任意一种,在第四种可能的实现方式中,所述标识信息为边界网关协议BGP路由团体属性标识。 [0026] According to a third aspect, any one of first to third possible implementation of the third aspect, in a fourth possible implementation manner, the identification information is a Border Gateway Protocol BGP routing community attribute identity.

[0027]第四方面,本发明实施例提供一种第一路由设备,包括: [0027] a fourth aspect, embodiments of the present invention provides a first routing apparatus, comprising:

[0028]接收模块,用于接收所述第一网络中的控制器在确定转发路径后发送的第一路由信息,所述第一路由信息中包含标识信息,所述标识信息指示所述转发路径,所述转发路径为报文从所述第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备; [0028] The receiving means for receiving a first routing information of the first network controller is transmitted after determining the forwarding path, the first routing information includes identification information, the identification information indicating the forwarding path the forwarding path is a packet sent from the second network edge device, the transmission path to the third network edge device through which the first network via the routing device, the first routing device routing the first network apparatus having a neighbor relationship with the second network edge device;

[0029]第二发送模块,用于根据所述收到的标识信息和预先配置的与所述标识信息对应的路由策略,向所述第二网络中的边缘设备发送第二路由信息,以使所述第二网络中的边缘设备根据所述第二路由信息确定报文发送的路径。 [0029] The second sending module, according to the received identification information and preconfigured identification information corresponding to the routing strategy, the edge device transmits to the second routing information of the second network, such that the second network edge device a path message sent by the second routing information is determined according to.

[0030] 在第四方面的第一种可能的实现方式中,所述转发路径为至少两条路径。 [0030] In a first possible implementation of the fourth aspect of the forwarding path is at least two paths.

[0031] 根据第四方面的第一种可能的实现方式,在第二种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 [0031] According to a first possible implementation of the fourth aspect, in a second possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the priority information of said at least two paths, the second routing information further comprises priority information of the at least two paths, so that the second network edge device based on the priority of the at least two paths level select a path from the at least two paths.

[0032] 根据第四方面的第一种可能的实现方式,在第三种可能的实现方式中,当所述转发路径为所述至少两条路径时,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述路径属性信息从所述至少两条路径中选择一条路径。 [0032] According to a first possible implementation of the fourth aspect, in a third possible implementation manner, when the forwarding path of said at least two paths, the first routing information further comprises the path attribute information of said at least two paths, the second path routing information further comprises the at least two path attribute information, to enable the second network edge device attribute information according to the path from the at least one path of the two paths.

[0033] 根据第三方面、第三方面的第一种至第三种可能的实现方式的任意一种,在第四种可能的实现方式中,所述标识信息为边界网关协议BGP路由团体属性标识。 [0033] According to a third aspect, any one of first to third possible implementation of the third aspect, in a fourth possible implementation manner, the identification information is a Border Gateway Protocol BGP routing community attribute identity.

[0034]第五方面,本发明实施例提供一种集群网络系统,包括:本发明任意实施例所提供的控制器和本发明任意实施例所提供的第一路由设备。 [0034] a fifth aspect, embodiments provide a system of the present invention, the cluster network, comprising: a controller and provided by the present invention in any embodiment of the present invention, the first routing device provided in any embodiment.

[0035] 本发明实施例,第一网络中的控制器通过向第一路由设备发送第一路由信息时包括指示转发路径的标识信息,以使的第一路由设备根据该标识信息确定是否向外部网络中的边缘设备发送第二路由信息,实现控制器对外部流量进入集群网络的路径控制,解决了外部流量进入集群网络时路径无法控制的问题。 [0035] Example embodiments of the present invention, a network controller includes a first identification information indicating a forwarding path through the routing information to the first device a first transmission route, so that the first routing device determines whether the identification information according to the outside edge devices on the network to send a second routing information and control path cluster network traffic entering external control, solves the problem of the external flow into the cluster network path can not be controlled.

附图说明 BRIEF DESCRIPTION

[0036] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0036] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings for illustrating the prior art described or needed to be used in an embodiment will be briefly introduced hereinafter, the description below the figures show some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0037] 图1为现有技术中集群网络的网络架构图; [0037] FIG. 1 is a network architecture diagram of the prior art cluster network;

[0038] 图2为本发明集群网络路径控制方法实施例一的流程图; [0038] FIG. 2 cluster network path control method of a flow diagram embodiment of the invention;

[0039] 图3为图2所示实施例的集群网络流量控制拓扑图; [0039] As shown in FIG. 3 is a cluster network topology embodiment of a control flow of FIG. 2;

[0040] 图4为本发明集群网络路径控制方法实施例二的流程图; [0040] FIG. 4 cluster network path control method according to a second embodiment of a flow diagram of the present invention;

[0041]图5为本发明控制器实施例的结构示意图; [0041] FIG. 5 is a schematic configuration example of the embodiment of the present invention, a controller;

[0042]图6为本发明第一路由设备实施例的结构示意图; [0042] FIG 6 schematic structural diagram of a first embodiment of the apparatus of the present invention route;

[0043]图7为本发明集群网络系统实施例的结构示意图。 [0043] FIG 7 schematic structural diagram of a cluster network system of the embodiment of the present invention.

具体实施方式 detailed description

[0044]为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0044] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0045] 实施例一 [0045] Example a

[0046]图2为本发明集群网络路径控制方法实施例一的流程图,该方法适用于对集群网络的流量路径的控制,尤其是基于BGP协议的虚拟集群网络的流量路径的控制,该方法可以由集群网络的控制器实现。 [0046] FIG. 2 cluster network path control method of a flow diagram of the method of the present embodiment of the invention, the method is suitable for controlling the flow path of the cluster network, in particular to control the flow path of the virtual cluster based on BGP protocol network, It can be achieved by the controller cluster network. 如图2所示,该方法可以按照如下流程进行: 2, the process can be carried out according to the following procedure:

[0047] S201、第一网络中的控制器确定转发路径,该转发路径为报文从第二网络中的边缘设备发出,经由该第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径。 [0047] S201, the first network controller determines a forwarding path of the forwarding path is a packet sent from the second network edge device, the edge device transmits to the third network through the first network routing devices a path through. [0048] 在集群网络中,与传统的网络部署不同的是,由控制器(Contro 11 er)代替传统网络中路由反射器(Route Ref lector,简称RR),对集群内网络进行路径计算和规划,并集中控制集群系统中各个RT的转发路径生成,指导数据流量在用户期望的路径上转发。 [0048] cluster in the network, the conventional network deployments is different, by a controller (Contro 11 er) instead of the traditional network RR (Route Ref lector, referred to as the RR), within a cluster of network planning and path computation and centralized control system cluster forwarding path for generating respective RT guide data on the user traffic forwarding in a desired path. 以图1所示的流量路径为例进行说明,用户要建立一条从AS2到AS1流量路径,完成从AS2到AS1的数据报文的传输。 In the flow path shown in FIG. 1 as an example, a user to establish a flow path from AS1 to AS2, AS1 to AS2 completion data from the packet transmission. 经控制器计算,最优转发路径为:CE2->RT4->RT3->RT1->CE1。 Calculated by the controller, the optimal forwarding path: CE2-> RT4-> RT3-> RT1-> CE1. 图中,CE2即为第二网络中的边缘设备,CE1即为第三网络的边缘设备。 Drawing, the edge device in the second network is the CE2, CEl edge is the third network device.

[0049]其中,控制器对转发路径的选择,可以将使用最小个数的路由设备作为选择转发路径的计算标准,也可以将各路由设备中的带宽属性及负载状况作为计算标准,也可以根据将转发路径最短作为计算标准,但不以此为限,只要能够满足用户不同的需求确定出不同最优转发路径即可。 [0049] wherein the controller selects the forwarding path, it may be used as the minimum number of routing devices selected forwarding path calculation standard may be a bandwidth of each routing device properties and load conditions as the calculation standard may be in accordance with calculate the shortest path to forward as a standard, but not limited to, as long as they meet the needs of different users different determine the optimal forwarding path.

[00S0]可选地,对转发路径的确定,也可以是将外部路径的节点设置为AS,也就是说,控制器选择的转发路径可以为:AS2->RT4->RT3->RT1->AS1,即对路径的设置以AS作为控制粒度,之后步骤中,第一路由设备向CE发布的路由可以变为向AS发布路由。 [00S0] Alternatively, the determination of the forwarding path, the external node may be set to the AS path, that is, the forwarding path may be selected by the controller: AS2-> RT4-> RT3-> RT1-> ASl, i.e. set path to control the particle size as aS, after step, the first routing device routes advertised to CE released to the aS route may be changed.

[0051] 可选地,该转发路径可以为至少两条路径。 [0051] Alternatively, the forwarding path may be at least two paths. 如可以将CE2->RT5->RT2->CE1作为另一条转发路径。 As can be CE2-> RT5-> RT2-> CE1 as another forwarding path. 此时,控制器同时向RT5、RT2发送的第一路由信息。 At this time, the first controller to transmit routing information to RT5, RT2. 这样做的好处在于,可以提供备选流量路径,保证报文数据传输的稳定性。 The advantage of this is that alternative flow path may be provided to ensure the stability of the packet data transmission.

[0052] S202、第一网络中的控制器向第一路由设备发送的第一路由信息中包含标识信息,该标识信息指示该转发路径,以使该第一路由设备根据该标识信息确定是否向该第二网络中的边缘设备发送第二路由信息,该第一路由设备是该第一网络中与该第二网络中的边缘设备具有邻居关系的路由设备。 [0052] S202, a first routing information of the first network controller transmits to the routing device comprises a first identification information, the identification information indicates that the forwarding path, so that the first routing device based on the identification information whether the the second network edge device transmits the second route information, the first routing device to the routing device having a first network neighbor relationship with the second network edge device.

[0053]具体地,在确定转发路径后,控制器向转发路径上的路由设备发布路由。 [0053] Specifically, after the transfer path is determined, the route controller issues the routing device on the forwarding path. 以图1所示的流量路径为例进行说明,控制器计算好路径后,控制器向路由设备中与该第二网络中的边缘设备具有邻居关系的第一路由设备RT4、RT5发送的第一路由信息时,对应的发布信息中包含标识信息,以使该第一路由设备RT4和RT5根据该标识信息确定是否向该第二网络^的边缘设备发送第二路由信息。 In the flow path shown in FIG. 1 as an example, the controller calculate a path, the controller having a first routing device RT4 neighbor relationship with the second network edge device to the routing device, a first transmission RT5 when the routing information corresponding to the identification information includes release information, so that the first routing device whether to RT4 and RT5 ^ second network edge device transmits the routing information is determined based on the second identification information. 例如,RT4根据该标识信息与本身预先配置的路由策略进行匹配,确定存在匹配的路由策略,则向路由策略对应的该第二网络中的边缘设备CE2发送第二路由信息,而RT5根据该标识信息与本身预先配置的路由策略进行匹配,确定不存在匹配的路由策略,则不向该第二网络中的边缘设备CE2发送第二路由信息,从而使CE2发送报文数据时直接将RT4选择为进入ASO的流量入口,实现按照控制器设定好的最优路径传输。 For example, according to the routing policy RT4 match the identification information with pre-configured itself, the second network edge device CE2 routing policy determines there is a match, then the routing policy corresponding to the second routing information is transmitted, and according to the identification RT5 when the routing policy information matches the pre-configured itself, the routing policy is determined there is no matching, the edge device CE2 not to transmit a second routing information of the second network, so that data packets transmitted CE2 RT4 directly selected to be ASO flow into the inlet, to achieve a good setting optimal path according to a transmission controller. 举例来说,控制器还可以通过IBGP邻居向RT1和RT3发送的第一路由信息,可以采用路由前缀中携带计算好的路径属性,如下一跳,即指示RT3的下一跳为RT1,RT1的下一跳为CE1,从而控制转发路由器的路径选择和转发表项生成。 For example, the controller can also send the first routing information to the neighbor IBGP RT1 and RT3, the routing prefix may be employed to carry the calculated path attribute, such as next hop, i.e. RT1 to RT3 indication of the next hop, the RT1 the next hop is CE1, so as to control the routing and forwarding router forwarding entries generated.

[00M]其中,该标识信息可以用来指示该转发路径,使第一路由设备能够根据该标识信息和预先配置好的路由策略查找源节点信息(即CE2的信息)并可以判断是否向其发送第二路由信息。 [00M] wherein, the identification information may be used to indicate that the forwarding path, the first routing device to transmit the identification information and in accordance with pre-configured policy routing node information (i.e., the CE2) may determine whether to find sources and its The second routing information. 该标识信息可以为团体属性,也可以是扩展团体属性,但不以此为限。 The identifier information may be community property, it can be extended community attribute, but not limited thereto.

[0055]优选地,该标识信息可以为BGP路由团体属性标识。 [0055] Preferably, the identification information may be a BGP routing community attribute identifier. 该团体属性可以添加在每一个路由III缀中,由RFC1"7定义,是一个transitive optional属性。包含有团体属性的路由, 表示该路由是一个路由团体中的一员,该路由团体具有某种或多种相同的特征。根据这些特征区分不同的路由,可以大大简化路由策略的配置工作,同时也增强路由策略的能力。具体地,图3为图2所示实施例的集群网络流量控制拓扑图。参照图3所示的拓扑结构,本步骤可以按照如下流程进行: The group properties may be added in each routing conjugated III, "defined by 7 of RFC1, is a transitive optional attribute. Community attribute with a route, the route is represented by a group of a route, the route having a certain group or more of the same features. the distinguishing features of these different routes, the routing work can greatly simplify the configuration of the policy, but also enhance the ability of the routing policy. in particular, FIG. 2 FIG. 3 is a cluster network topology traffic embodiment of a control . Referring to FIG topology shown in FIG. 3, this step can be carried out according to the following procedure:

[0056] S2021、第一网络中的控制器为第二网络中的边缘设备分配团体属性。 [0056] S2021, the first controller in a network edge device is assigned a second network community attributes.

[0057]具体地,控制器基于AS0中的边缘路由设备即图中的RT1〜RT5,为每个外部CE分配一个团体属性,即为每个外部邻居分配一个团体属性(图中为了简化只示出为CE2和CE3分配团体属性)。 [0057] Specifically, the controller based AS0 i.e. the edge router apparatus in FIG RT1~RT5, for each external CE assign a group attribute, i.e. each external neighbors assign a group property (for simplicity only one is shown in FIG. CE2 and CE3 out for the allocation of community property). 可以是用户通过控制器的用户接口根据自制规则配置,也可以是由控制器自动分配。 May be made according to the rules configured by the user interface controller of a user, it may be automatically assigned by the controller. 控制器可以为CE2-RT4、CE2-RT5、CE3-RT4、CE3-RT5分别分配了团体1、团体2、团体3、团体4。 The controller may CE2-RT4, CE2-RT5, CE3-RT4, CE3-RT5 are respectively assigned a group 1, group 2, group 3, group 4.

[0058] S2〇22、第一网络中的控制器为第一路由设备设置匹配团体属性的路由策略。 [0058] S2〇22, a first network controller to a first routing device provided community attribute matching routing policy.

[0059]具体地,控制器可以为RT4设置路由策略,即携带团体1的路由才可以向CE2发布, 携带了团体3的路由才可以向CE3发布。 [0059] Specifically, the controller can be set routing policy for RT4, namely to carry routing group 1 can only be released to CE2, carrying 3 routing groups before they can be released to CE3. 同理,RT5也可以配置团体匹配的策略。 Similarly, RT5 can also configure a policy group match. 这样,第一路由设备接收到控制器发布的路由后便可以从路由中携带的团体属性确定发布路由的去向, 从而建立最优流量路径。 In this way, the community attribute routing device receives the first released after the route controller that can be carried from route to determine the whereabouts of advertising routes in order to establish the optimal flow paths.

[0060] 进一步,为第一路由设备设置匹配团体属性的路由策略还可以是第一路由设备本身,如可以通过第一路由设备的管理员设置路由策略,但不以此为限。 [0060] Further, the first routing device is set to match the community attribute of routing policy also may be the first routing device itself, such as routing policies can be set by the administrator of the first routing device, but is not limited thereto.

[0061] 可选地,步骤S2021和S2022可以在S201之前执行,也可以在S201之后执行,可根据实际设计需求灵活设置。 [0061] Alternatively, steps S2021 and S2022 may be performed prior to S201, S201 may be performed after, it can be set flexibly according to the actual design requirements.

[0062] S2023、第一网络中的控制器向该转发路径上的路由设备发送第一路由信息,其中,向第一路由设备发送的第一路由信息中包括该标识信息。 [0062] S2023, the first network controller to a first routing device sends the routing information on the forwarding path, wherein the first routing information to the first routing device includes the identification information.

[0063]可选地,第一网络中的控制器可以将团体属性翻译为路径中以相邻节点为端点的边的属性。 [0063] Alternatively, the first network controller may be translated as community attribute in the path to an adjacent node as an endpoint property side. 这样做的好处在于,对于集群网络下的流量控制,团体属性可以抽象为集群网络与外部连接的边的属性,在控制器的其他功能中,例如入口流量控制、路径规划,或其他静态、动态用户配置等方面,也可以以团体属性作为用户设置集群与外部连接的边的关键字fe息。 The advantage of this is that, for the cluster network under the control of the flow, can be abstracted as community attribute property cluster network side connected to the outside, the other functions of the controller, the inlet flow control, route planning, or other static, dynamic user configuration, etc., may also be provided as a user community attribute with the outside edge of the cluster keyword fe interest.

[0064]可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的优先级信息,以使该第二网络中的边缘设备根据该至少两条路径的优先级信息从该至少两条路径中选择一条路径。 [0064] Alternatively, when the at least two paths for the transfer path, the first routing information may also comprise priority information of the at least two paths, so that the edge of the second network device in accordance with the priority information of at least two paths from the at least one path of the two paths. 具体地,该优先级信息可以为路由前缀中的路径花销Cost值,第二网络中的边缘设备可以根据这至少两条路径中的Cost值的大小的确定优选路径和备选路径。 In particular, the priority information may be spending value Cost path routing prefix, the second edge device in the network may determine the preferred path magnitude values ​​Cost of the at least two paths and in accordance with an alternative path. 这样做的好处在于,对于第二网络中的边缘设备到第三网络中的边缘设备的报文数据的传输中遇到特殊或突发故障时可以选择备用路径进行传输,提高流量路径的可靠性。 The advantage of this is that you can select an alternate path for the second edge device in the network to transmit packet data network edge device in the third special encountered sudden failure or transmission, to improve the reliability of the flow path .

[0065]可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的路径属性信息,以使该第二网络中的边缘设备根据该至少两条路径的路径属性信息从该至少两条路径中选择一条路径。 [0065] Alternatively, when the at least two paths for the transfer path, the first routing information may also include path attribute information of the at least two paths, so that the edge of the second network device in accordance with the at least two paths path attribute information from the at least one path of the two paths. 例如,该路径属性信息可以包括路径中的路由跳数、带宽信息、路径负载信息等任意组合。 For example, the path attribute information may include the number of hops in the path, the bandwidth of any combination of information, the path load information. 这样做的好处在于,供第二网络中的边缘设备根据自身情况自行对流量路径进行选择,用户自行选择的路径也是控制器选取出的相对优化的路径,因此提高了流量路径的优化选择的灵活度。 The advantage of this is that, for the second network edge device itself to the traffic path according to their choice, the user to choose the relative path is selected out of the controller to optimize the path, thus improving the flexibility to optimize the choice of flow path degree.

[0066]本实施例,第一网络中的控制器通过向第一路由设备发送第一路由信息时包括指示转发路径的标识信息,以使的第一路由设备根据该标识信息确定是否向外部网络中的边缘设备发送第二路由信息,实现控制器对外部流量进入集群网络的路径控制,解决了外部流量进入集群网络时路径无法控制的问题。 [0066] the present embodiment, the first network controller includes identification information indicating a forwarding path through the routing information to the first device a first transmission route, so that the first routing device if the identification information is determined according to the external network the edge device sends a second routing information and control path cluster network traffic entering external control, solves the problem of the external flow into the cluster network path can not be controlled.

[0067] 实施例二 [0067] Second Embodiment

[0068]图4为本发明集群网络路径控制方法实施例二的流程图,该方法也同样适用于对基于BGP协议的虚拟集群网络的流量路径的控制,该方法可以由集群网络的第一路由设备实现。 [0068] FIG. 4 flowchart cluster network path control method according to a second embodiment of the invention, the method is also applicable to the control of the flow path of the virtual cluster network protocol is based on BGP, the method may first routing network by the cluster device implementation. 如图4所示,该方法可以按照如下流程进行: 4, the method may proceed according to the following procedure:

[0069] S401、第一网络中的第一路由设备接收该第一网络中的控制器在确定转发路径后发送的第一路由信息,该第一路由信息中包含标识信息,该标识信息指示该转发路径,该转发路径为报文从该第二网络中的边缘设备发出,经由该第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,该第一路由设备是该第一网络中与该第二网络中的边缘设备具有邻居关系的路由设备; [0069] S401, a first network in a first routing device receives the first controller of the first network routing information in determining the forwarding path, the first routing information includes identification information, the identification information indicates that the forwarding path, the path forwarding packets sent from the second network edge device, the transmission path to the third network edge device through which a first network via the routing device, the routing device is the first the first network device having a routing neighbor relationship with the second network edge device;

[0070] S4〇2、弟一路由设备根据所述收到的标识彳目息和预先配置的与该标识信息对应的路由策略,向该第二网络中的边缘设备发送第二路由信息,以使该第二网络中的边缘设备根据该第二路由信息确定报文发送的路径。 [0070] S4〇2, brother a routing apparatus according to the received identification information and the left foot mesh with the preconfigured message routing policy corresponding to the identifier, to send a second network edge device in a second routing information to so that the second edge device in the network path to the second packet transmitted according to the determined route information.

[0071]具体地,第一网络的控制器确定报文从该第二网络中的边缘设备发出,经由该第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径后,向第一路由设备发送第一路由信息,第一路由设备接收到该第一路由信息后,根据该第一路由信息中携带的标识信息,确定自身是否有对应的路由策略,若是则根据预先配置的与该标识信息对应的路由策略向该第二网络中的边缘设备发送第二路由信息;若否则不向该第二网络中的边缘设备发送第二路由信息。 [0071] Specifically, the controller determines the first network packet sent from the second network edge device, the transmission path to the third network edge device through which the first network via the routing device, a first routing device transmits to the first routing information, the first routing device after receiving the first routing information, according to the identification information of the routing information carried in the first, to determine whether it has a corresponding routing policy, if the configuration according to the pre a second edge device transmits the routing information to the routing policy corresponding to the identification information to the second network; otherwise, if not to the second network edge device transmits the second route information.

[0072]以图1所示的流量路径为例进行说明,RT4接收控制器通过IBGP邻居发送的第一路由信息后,根据该第一路由信息中携带该标识信息,判断是否有对应的路由策略,确定有对应策略后,RT4根据预先配置的与该标识信息对应的路由策略查找到报文数据发送的源节点,即CE2,之后可以通过外部边界网关协议(External Border Gateway Protocol,简称EBGP)向CE2发送第二路由信息,而RT5接收控制器通过IBGP邻居发送的携带该标识信息的第一路由信息后,判断确定自身没有对应的路由策略,则不发送第二路由信息,从而使CE2 选择RT4为进入ASO的流量入口,实现ASO中的控制器对入口流量路径的控制。 [0072] In the flow path shown in FIG. 1 as an example, the first routing information transmitted by the reception controller RT4 IBGP neighbor, based on the identification information of the routing information carries first determines whether a corresponding routing strategies after determining there is a corresponding strategy, RT4 according to a search and the identification information corresponding to the routing policy to the source node sends a packet data pre-configured, i.e. CE2, then by external border gateway protocol (external border gateway protocol, referred EBGP) to after a second routing information transmitting CE2, RT5 and reception controller via the first routing information carries identification information transmitted IBGP neighbor, determining determines that it does not correspond to the routing strategy, the second routing information is not transmitted, so that the selection CE2 RT4 an inlet flow rate into the ASO, ASO achieve the controller controls the flow path of the inlet.

[0073]其中,该预先配置的与该标识信息对应的路由策略可以用来指示该第一路由设备向第二网路中的哪个边缘设备发送第二路由信息。 [0073] wherein the routing policy corresponding to the identification information of the preconfigured routing may be used to indicate that the first device transmits information to which the edge device in a second network of a second route. 该路由策略可以由第一网络中的控制器设置,也可以由第一路由设备自行设置。 The routing policy may be provided by the first network controller may be provided by the first routing device itself. 相应地,该路由策略可以是第一网络中的控制器在发送的第一路由信息前发布给各第一路由设备的,或在发送的第一路由信息的同时携带该路由策略发送给第一路由设备的,也可以是第一路由设备在接收第一路由信息前自行设置的,可根据实际情况而定。 Accordingly, the routing policy may be released in the first network controller to each of the first routing device before sending a first routing information, the routing strategies or carried while the first routing information transmitted to the first routing device, the routing device may be a first routing information prior to receiving the first set their own, it can be determined according to the actual situation.

[0074]可选地,对转发路径的确定,也可以是将外部路径的节点设置为AS,也就是说,控制器选择的转发路径可以为:AS2->RT4->RT3->RT1->AS1,即对路径的设置以AS作为控制粒度,此时,第一路由设备RT4向AS2发布路由。 [0074] Alternatively, the determination of the forwarding path, the external node may be set to the AS path, that is, the forwarding path may be selected by the controller: AS2-> RT4-> RT3-> RT1-> ASl, i.e. set path to control the particle size as aS, in this case, the first routing device to route RT4 release AS2. 如图3所示,RT4可以同时向处于邻居关系的多个CE,如CE3和CE4同时发布路由,之后,AS2的边缘路由器根据用户部署或路径选路规则自行选择流量路径。 3, RT4 can simultaneously to a plurality of CE in a neighbor relationship, such as routing CE3 and CE4 also released, then, the AS2 edge router according to a user selected flow paths on their own or deployment path selection rules.

[0075] 可选地,该转发路径可以为至少两条路径。 [0075] Alternatively, the forwarding path may be at least two paths. 以图1所示的流量路径为例进行说明, 可以将CE2->RT5->RT2->CE1作为另一条转发路径,此时,RT5接收到的第一路由信息中包括与RT5预先配置的路由策略相匹配的标识信息,根据该标识信息和预先配置的路由策略, RT5也可以向CE2发送的第二路由信息,从而建立另一条流量路径供CE2选择。 In the flow path shown in FIG. 1 as an example, may be CE2-> RT5-> RT2-> CE1 as another route the first routing information forwarding path, this time, the received RT5 RT5 includes preconfigured second routing information matches identification information of the policy, according to the identification information and routing policy pre-configured, it may be transmitted to RT5 CE2, thereby establishing a flow path for the other selection CE2. 这样做的好处在于,可以提供备选流量路径,保证报文数据传输的稳定性。 The advantage of this is that alternative flow path may be provided to ensure the stability of the packet data transmission.

[0076] 优选地,该标识信息可以为BGP路由团体属性标识。 [0076] Preferably, the identification information may be a BGP routing community attribute identifier. 参照图3所示的拓扑结构,S402 可以按照如下流程进行: Referring topology shown in FIG. 3, S402 may be performed in accordance with the following procedure:

[007?] S4021、第一路由设备根据接收到的第一路由信息中包括的团体属性判断自身是否有与该团体属性匹配的路由策略,若有,则根据预先配置的与该团体属性对应的路由策略向该第二网络中的边缘设备发送的第二路由信息;若无,则不向该第二网络中的边缘设备发送的第二路由信息。 [007?] S4021, the first routing device is determined according to the attributes of the first group received routing information included in the routing policy whether it matches the attribute group, and if so, in accordance with a pre-configured corresponding to the group attribute second routing information is transmitted to the second policy routing network edge device; if not, a second route to the second network is not an edge device sends information.

[0078]具体地,RT4接收到的第一路由信息包括的团体1的属性,则RT4自身具有的团体属性进行判断,确定自身有该团体1的属性,则可以根据团体1属性对应的路由策略向CE2发送的第二路由信息,RT5接收到的第一路由信息中也包括团体1的属性,根据自身具有的团体属性判断,确定并未有团体1的属性,则不向CE2发送第二路由信息,从而使CE2选择RT4作为报文数据的流量入口。 [0078] Specifically, RT4 received routing information comprises a first group of attribute 1, the community itself has RT4 attributes and determined that the group itself has an attribute, the attribute may correspond to a group policy routing second routing information transmitted to CE2, RT5 first routing information also includes the received attribute group 1, according to their judgment with the community attribute, group attribute has not determined 1 not sent to the second routing CE2 information, so that as the flow inlet RT4 CE2 selected data packets.

[0079] 可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的优先级信息,该第二路由信息中还可以包括该至少两条路径的优先级信息, 以使该第二网络中的边缘设备根据该至少两条路径的优先级信息从该至少两条路径中选择一条路径。 [0079] Alternatively, when the at least two paths for the transfer path, the first routing information may also comprise priority information of the at least two paths, the second routing information may further comprise at least two path priority information so that the second edge device in the network a path from the at least two paths according to the priority information of the at least two paths. 例如,该优先级信息可以为路由前缀中的Cost值。 For example, the priority information may be a Cost value of the routing prefix.

[0080] 可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的路径属性信息,该第二路由信息中还可以包括该至少两条路径的路径属性信息,以使该第二网络中的边缘设备根据该路径属性信息从该至少两条路径中选择一条路径。 [0080] Alternatively, when the at least two paths for the transfer path, the first routing information may also include path attribute information of the at least two paths, the second routing information may further comprise at least two path path attribute information, to enable the second edge device in the network a path from the at least two paths according to the path to the attribute information. 例如,该路径属性信息可以包括路径中的路由跳数、带宽信息和路径负载信息等任意组合。 For example, the path attribute information may include the number of hops in the path, the path information and the bandwidth of any combination of the load information. L0081J本实施例,第一网络设备通过接收第一网络中控制器发送的携带有标识信息的第一路由信息,并根据该标识信息和预先配置的与该标识信息对应的路由策略,向该第二网络中的边缘设备发送第二路由信息,以使第二网络中的边缘设备将该第一路由设备作为报文数据的流量入口,从而实现第一网络中的控制器对外部流量进入集群网络的路径控制, 解决了外部流量进入集群网络时路径无法控制的问题。 L0081J the present embodiment, the first network device receives the routing information carries the first identification information sent by the first network controller and based on the identification information and the preconfigured routing policy corresponding to the identification information, to the first a second edge device transmits the routing information in the second network, the second network devices so that the edge of the first routing device as entry data traffic packets, thereby achieving a first network controller to the external traffic into the cluster network the path control, solves the problem of the external flow into the cluster network path can not be controlled.

[0082] 实施例三 [0082] Example three

[0083]图5为本发明控制器实施例的结构示意图,如图5所示,该装置可以包括:处理模块51和第一发送模块52。 [0083] FIG. 5 schematic structural diagram of a controller of the embodiment of the present invention, shown in Figure 5, the apparatus may comprise: a first processing module 51 and transmitting module 52. 其中,该第一处理模块51可以用于确定转发路径,该转发路径为报文从第二网络中的边缘设备发出,经由该第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径;该第一发送模块52可以用于向第一路由设备发送的第一路由信息中包含标识信息,该标识信息指示该转发路径,以使该第一路由设备根据该标识信息确定是否向该第二网络中的边缘设备发送第二路由信息,该第一路由设备是该第一网络中与该第二网络中的边缘设备具有邻居关系的路由设备。 Wherein the first processing module 51 may be used to determine forwarding path of the forwarding path is a packet sent from the second network edge device, the edge device transmits to the third network through the first network routing devices after the path; the first sending module 52 may be used to contain identification information to the first routing information sent by the first routing device, the identification information indicates that the forwarding path, so that the first routing device determines whether the identification information based on the transmitting a second routing information to a second network edge device, the first routing device to the routing device having a first network neighbor relationship with the second network edge device.

[0084]可选地,该转发路径可以为至少两条路径。 [0084] Alternatively, the forwarding path may be at least two paths.

[0085]可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的优先级信息,以使该第二网络中的边缘设备根据该至少两条路径的优先级信息从该至少两条路径中选择一条路径。 [0085] Alternatively, when the at least two paths for the transfer path, the first routing information may also comprise priority information of the at least two paths, so that the edge of the second network device in accordance with the priority information of at least two paths from the at least one path of the two paths.

[0086]可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的路径属性信息,以使该第二网络中的边缘设备根据该至少两条路径的路径属性信息从该至少两条路径中选择一条路径。 [0086] Alternatively, when the at least two paths for the transfer path, the first routing information may also include path attribute information of the at least two paths, so that the edge of the second network device in accordance with the at least two paths path attribute information from the at least one path of the two paths.

[0087]优选地,该标识信息可以为BGP路由团体属性标识。 [0087] Preferably, the identification information may be a BGP routing community attribute identifier.

[0088]本实施例的装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。 [0088] The apparatus of the present embodiment, may be used to perform the method shown in FIG. 2 technical solutions of the embodiments, principles and techniques which achieve a similar effect, are not repeated herein.

[0089] 实施例四 [0089] Fourth Embodiment

[0090]图6为本发明第一路由设备实施例的结构示意图,如图6所示,该装置可以包括:接收模块61和第二发送模块似。 [0090] FIG. 6 illustrates an embodiment of the structure of the first routing device of the present invention shown in FIG. 6, the apparatus may comprise: a second receiving module 61 and transmitting module like. 其中,该接收模块61可以用于接收该第一网络中的控制器在确定转发路径后发送的第一路由信息,该第一路由信息中包含标识信息,该标识信息指示该转发路径,该转发路径为报文从该第二网络中的边缘设备发出,经由该第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,该第一路由设备是该第一网络中与该第二网络中的边缘设备具有邻居关系的路由设备;该第二发送模块62可以用于根据该收到的标识信息和预先配置的与该标识信息对应的路由策略,向该第二网络中的边缘设备发送第二路由信息,以使该第二网络中的边缘设备根据该第二路由信息确定报文发送的路径。 Wherein, the receiving module 61 may receive the first routing information for the first network controller is transmitted after determining the forwarding path, the first routing information includes identification information, the identification information indicates that the forwarding path of the forwarding route packets sent from the second network edge device, the transmission path to the third network edge device through which a first network via the routing device, the first routing device is the first network and the second edge device in the network has a routing device neighbor relationship; the second sending module 62 may be used in accordance with the identification information received and the identification information corresponding to the pre-configured routing strategy, to the second network, a second edge device transmits the routing information to the edge device so that the second network to determine the path of the packets according to the second routing information. [0091]可选地,该转发路径可以为至少两条路径。 [0091] Alternatively, the forwarding path may be at least two paths.

[0092]可选地,当该转发路径为该至少两条路径时,该第一路由信息中还可以包含该至少两条路径的优先级信息,该第二路由信息中还可以包括该至少两条路径的优先级信息, 以使该第二网络中的边缘设备根据该至少两条路径的优先级信息从该至少两条路径中选择一条路径。 [0092] Alternatively, when the at least two paths for the transfer path, the first routing information may also comprise priority information of the at least two paths, the second routing information may further comprise at least two path priority information so that the second edge device in the network a path from the at least two paths according to the priority information of the at least two paths.

[0093]可选地,当该转发路径为所述至少两条路径时,该第一路由信息中还可以包含该至少两条路径的路径属性信息,该第二路由信息中还可以包括该至少两条路径的路径属性信息,以使该第二网络中的边缘设备根据该路径属性信息从该至少两条路径中选择一条路径。 [0093] Alternatively, when the forwarding path of said at least two paths, the first routing information may also include path attribute information of the at least two paths, the second routing information may further comprise at least path of the two path attribute information, to enable the second edge device in the network a path from the at least two paths according to the path to the attribute information.

[0094]优选地,该标识信息可以为BGP路由团体属性标识。 [0094] Preferably, the identification information may be a BGP routing community attribute identifier.

[0095]本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。 [0095] Example apparatus according to the present embodiment may be used to perform the method shown in FIG. 4 technical solutions of the embodiments, implementation principles and technical effects are similar, they are not repeated herein.

[0096] 实施例五 [0096] Embodiment V

[0097]图7为本发明集群网络系统实施例的结构示意图,如图7所示,该系统可以包括:控制器71和第一路由设备72。 [0097] FIG 7 schematic structural diagram of a cluster network system of the embodiment of the present invention, shown in Figure 7, the system may include: a controller 71 and a first routing device 72. 其中,该控制器71可以采用图5装置实施例的结构,其对应地,可以执行图2方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述;该第一路由设备72可以采用图6装置实施例的结构,其对应地,可以执行图4方法实施例的技术方案, 其实现原理和技术效果类似,此处不再赘述。 Wherein, the controller 71 may employ a configuration example 5 of the embodiment apparatus, which correspondingly can perform technical solutions of the embodiments the method of FIG. 2, which accomplish a similar principle and technical effect, are not repeated herein; the first routing device FIG device 726 may have a structure example of embodiment, which corresponds to the possible technical solutions of the embodiments performing the method of Figure 4, principles and techniques which achieve a similar effect, are not repeated herein.

[0098]本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。 [0098] Those of ordinary skill in the art will be appreciated that: each of the foregoing methods to complete all or part of the procedure of Example hardware may be associated by program instructions embodiment. 前述的程序可以存储于一计算机可读取存储介质中。 The program may be stored in a computer readable storage medium. 该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:R〇M、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 When the program is executed, comprising the step of performing the above-described method of the embodiment; and the storage medium comprising: a variety of medium may store program codes R〇M, RAM, magnetic disk, or optical disk.

[0099]最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0099] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (21)

  1. 1. 一种集群网络路径控制方法,其特征在于,包括: 第一网络中的控制器确定转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径; 所述控制器向第一路由设备发送的第一路由信息中包含标识信息,所述标识信息指示所述转发路径,以使所述第一路由设备根据所述标识信息确定是否向所述第二网络中的边缘设备发送第二路由信息,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备。 A cluster network path control method, characterized by comprising: a first network controller determines a forwarding path of the forwarding path is a packet sent from the second network edge device, via the first network the transmission path edge routing device to the third device through which the network; a first controller transmits the routing information to the routing device comprises a first identification information, the identification information indicates that the transfer path, so that the first routing apparatus according to the identification information to determine whether to send a second routing information to the second network edge device, the first routing device is in the first network and the second network edge devices with routing device neighbor relations.
  2. 2. 根据权利要求1所述的方法,其特征在于,所述转发路径为至少两条路径。 2. The method according to claim 1, wherein the forwarding path is at least two paths.
  3. 3. 根据权利要求2所述的方法,其特征在于,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 3. The method according to claim 2, wherein said first routing information further includes priority information of the at least two paths, the second routing information further comprises at least two paths priority information, so that the edge of the second network device in a path from the at least two paths according to the priority information of the at least two paths.
  4. 4. 根据权利要求2所述的方法,其特征在于,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述至少两条路径的路径属性信息从所述至少两条路径中选择一条路径。 4. The method according to claim 2, wherein said first routing information further comprises at least two paths of a path attribute information, the second information further comprises routing the at least two paths path attribute information, to enable the second edge device in the network a path from the information of the at least two paths according to the path of the at least two paths properties.
  5. 5. 根据权利要求1〜4任一所述的方法,其特征在于,所述标识信息为边界网关协议BGP 路由团体属性标识。 5. The method according to any one of claims 1 ~ 4, wherein the identification information is a Border Gateway Protocol BGP routing community attribute identifier.
  6. 6. —种集群网络路径控制方法,其特征在于,包括: 第一网络中的第一路由设备接收所述第一网络中的控制器在确定转发路径后发送的第一路由信息,所述第一路由信息中包含标识信息,所述标识信息指示所述转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备; 所述第一路由设备根据所述收到的标识信息和预先配置的与所述标识信息对应的路由策略,向所述第二网络中的边缘设备发送第二路由信息,以使所述第二网络中的边缘设备根据所述第二路由信息确定报文发送的路径。 6. - such networks cluster path control method, characterized by comprising: a first network in a first routing device receives the routing information of the first network controller transmits a first in determining the transfer path, said first all the way from the information contained in the identification information, the identification information indicates that the forwarding path of the forwarding path is a packet sent from the second network edge device, transmitting to the first network via a third network routing devices the path through the edge device, the first routing device is a routing device in the first network having a neighbor relationship with the second network edge device; the first device based on said received routing and preconfigured identification information with the identification information corresponding to the routing strategy, the edge device transmits to the second routing information of the second network, so that the edge of the second network device in accordance with the second routing determine the path information packet sent.
  7. 7. 根据权利要求6所述的方法,其特征在于,所述转发路径为至少两条路径。 The method according to claim 6, wherein the forwarding path is at least two paths.
  8. 8. 根据权利要求7所述的方法,其特征在于,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 8. The method according to claim 7, wherein said first routing information further includes priority information of the at least two paths, the second routing information further comprises at least two paths priority information, so that the edge of the second network device in a path from the at least two paths according to the priority information of the at least two paths.
  9. 9. 根据权利要求7所述的方法,其特征在于,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述路径属性信息从所述至少两条路径中选择一条路径。 9. The method according to claim 7, wherein said first routing information further comprises at least two paths of a path of the attribute information, the second information further comprises routing the at least two paths path attribute information, to enable the second edge device in the network a path from the at least two paths according to the path attribute information. 、、 ,,
  10. 10. 根据权利要求6〜9任一所述的方法,其特征在于,所述标识信息为边界网关协议BGP路由团体属性标识。 10. A method according to any one of claims 6~9, wherein, the identification information is a Border Gateway Protocol BGP routing community attribute identifier.
  11. 11. 一种控制器,其特征在于,包括: 处理模块,用于确定转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径; 第一发送模块,用于向第一路由设备发送的第一路由信息中包含标识信息,所述标识信息指示所述转发路径,以使所述第一路由设备根据所述标识信息确定是否向所述第二网络中的边缘设备发送第二路由信息,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备。 11. A controller comprising: a processing module for determining a forwarding path of the forwarding path is a packet sent from the second network edge device transmits to the first network via a first routing device three network edge device through which the path; a first sending module, for sending a first routing information to the routing device comprises a first identification information, the identification information indicates that the transfer path, so that the first whether to send to the second network edge device in a second routing device determines the routing information based on the identification information, the first routing device is in the first network and the second network edge device having neighbors the relationship between routing devices.
  12. 12. 根据权利要求11所述的控制器,其特征在于,所述转发路径为至少两条路径。 12. The controller according to claim 11, wherein the forwarding path is at least two paths.
  13. 13. 根据权利要求12所述的控制器,其特征在于,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 13. The controller according to claim 12, wherein said first routing information further includes priority information of the at least two paths, the second routing information further comprises at least two priority information of the path, so that the edge devices of the second network a path from the at least two paths according to the priority information of the at least two paths.
  14. 14. 根据权利要求12所述的控制器,其特征在于,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息,以使所述第二网络中的边缘设备根据所述至少两条路径的路径属性信息从所述至少两条路径中选择一条路径。 14. The controller of the at least two according to claim 12, wherein said first routing information further comprises at least two paths of a path of the attribute information, the second routing information further comprises path path attribute information, to enable the second edge device in the network a path from the information of the at least two paths according to the path of the at least two paths properties.
  15. 15. 根据权利要求11〜14任一所述的控制器,其特征在于,所述标识信息为边界网关协议BGP路由团体属性标识。 15. The controller according to any one of claims 11~14, wherein the identification information is a Border Gateway Protocol BGP routing community attribute identifier.
  16. 16. —种第一路由设备,其特征在于,包括: 接收模块,用于接收第一网络中的控制器在确定转发路径后发送的第一路由信息,所述第一路由信息中包含标识信息,所述标识信息指示所述转发路径,所述转发路径为报文从第二网络中的边缘设备发出,经由所述第一网络中的路由设备发送到第三网络中的边缘设备所经过的路径,所述第一路由设备是所述第一网络中与所述第二网络中的边缘设备具有邻居关系的路由设备; 第二发送模块,用于根据所述收到的标识信息和预先配置的与所述标识信息对应的路由策略,向所述第二网络中的边缘设备发送第二路由信息,以使所述第二网络中的边缘设备根据所述第二路由信息确定报文发送的路径。 16. - Species first routing device, characterized by comprising: receiving means for receiving the first routing information in the first network controller is transmitted after determining the forwarding path, the first routing information includes identification information , the identification information indicates that the forwarding path of the forwarding path is a packet sent from the second network edge device, the third edge device transmits to the network via the first network routing device through which path, the first routing device is a routing device in the first network having a neighbor relationship with the second network edge device; and a second sending module, according to the received identification information and preconfigured the routing policy corresponding to the identification information, transmits the routing information to the second network, the second edge device, so that the edge devices of the second network transmitting the second packet according to the routing information is determined path.
  17. 17. 根据权利要求16所述的设备,其特征在于,所述转发路径为至少两条路径。 17. Apparatus according to claim 16, wherein the forwarding path is at least two paths.
  18. 18. 根据权利要求17所述的设备,其特征在于,所述第一路由信息中还包含所述至少两条路径的优先级信息,所述第二路由信息中还包括所述至少两条路径的优先级信息,以使所述第二网络中的边缘设备根据所述至少两条路径的优先级信息从所述至少两条路径中选择一条路径。 18. The apparatus according to claim 17, wherein said first routing information further includes priority information of the at least two paths, the second routing information further comprises at least two paths priority information, so that the edge of the second network device in a path from the at least two paths according to the priority information of the at least two paths.
  19. 19. 根据权利要求17所述的设备,其特征在于,所述第一路由信息中还包含所述至少两条路径的路径属性信息,所述第二路由信息中还包括所述至少两条路径的路径属性信息, 以使所述第二网络中的边缘设备根据所述路径属性信息从所述至少两条路径中选择一条路径。 19. The apparatus according to claim 17, wherein said first routing information further comprises at least two paths of a path attribute information, the second information further comprises routing the at least two paths path attribute information, to enable the second edge device in the network a path from the at least two paths according to the path attribute information.
  20. 20. 根据权利要求16〜19任一所述的设备,其特征在于,所述标识信息为边界网关协议BGP路由团体属性标识。 20. The apparatus according to any one of claims 16~19, wherein the identification information is a Border Gateway Protocol BGP routing community attribute identifier.
  21. 21. —种集群网络系统,其特征在于,包括:如权利要求11〜I5任一所述的控制器和如权利要求16〜20任一所述的第一路由设备。 21. - kind of cluster network system comprising: a controller according to any 11~I5 and claimed as claim in claim first routing device according to any one 16~20.
CN 201310180673 2013-05-15 2013-05-15 Cluster network path control method, apparatus and network system cluster CN104168194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310180673 CN104168194B (en) 2013-05-15 2013-05-15 Cluster network path control method, apparatus and network system cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310180673 CN104168194B (en) 2013-05-15 2013-05-15 Cluster network path control method, apparatus and network system cluster

Publications (2)

Publication Number Publication Date
CN104168194A true CN104168194A (en) 2014-11-26
CN104168194B true CN104168194B (en) 2018-01-02

Family

ID=51911835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310180673 CN104168194B (en) 2013-05-15 2013-05-15 Cluster network path control method, apparatus and network system cluster

Country Status (1)

Country Link
CN (1) CN104168194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991453A (en) * 2015-01-29 2016-10-05 杭州华三通信技术有限公司 Method and device used for border gateway protocol (BGP) control

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1187405A1 (en) * 2000-06-28 2002-03-13 Nortel Networks Limited Label switched communications network
CN1449162A (en) * 2001-12-20 2003-10-15 阿尔卡塔尔公司 Telecommunications system employing virtual service network architecture
CN1552143A (en) * 2001-09-04 2004-12-01 奥帕雷克斯公司 Method and arrangement in an IP network
CN1604556A (en) * 2003-09-30 2005-04-06 英特尔公司 Optical-switched (os) network to os network routing using extended border gateway protocol
CN1649320A (en) * 2004-01-20 2005-08-03 华为技术有限公司 System and its method for guaranteeing service quality in virtual special net based network
CN1783841A (en) * 2004-11-01 2006-06-07 朗迅科技公司 Softrouter protocol disaggregation
CN102195871A (en) * 2011-01-07 2011-09-21 华为数字技术有限公司 Method for controlling service traffic forwarding path in multi-protocol label switch (MPLS) virtual private network (VPN)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406030B1 (en) * 2003-08-25 2008-07-29 Juniper Networks, Inc. Dynamic renegotiation of graceful restart time to avoid double-failure traffic loss
CN101364927A (en) * 2008-09-24 2009-02-11 华为技术有限公司 Method, apparatus and system realizing fault recovery of virtual private network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1187405A1 (en) * 2000-06-28 2002-03-13 Nortel Networks Limited Label switched communications network
CN1552143A (en) * 2001-09-04 2004-12-01 奥帕雷克斯公司 Method and arrangement in an IP network
CN1449162A (en) * 2001-12-20 2003-10-15 阿尔卡塔尔公司 Telecommunications system employing virtual service network architecture
CN1604556A (en) * 2003-09-30 2005-04-06 英特尔公司 Optical-switched (os) network to os network routing using extended border gateway protocol
CN1649320A (en) * 2004-01-20 2005-08-03 华为技术有限公司 System and its method for guaranteeing service quality in virtual special net based network
CN1783841A (en) * 2004-11-01 2006-06-07 朗迅科技公司 Softrouter protocol disaggregation
CN102195871A (en) * 2011-01-07 2011-09-21 华为数字技术有限公司 Method for controlling service traffic forwarding path in multi-protocol label switch (MPLS) virtual private network (VPN)

Also Published As

Publication number Publication date Type
CN104168194A (en) 2014-11-26 application

Similar Documents

Publication Publication Date Title
US9450817B1 (en) Software defined network controller
US20120144066A1 (en) Dynamically generating application-layer traffic optimization protocol maps
US20130329601A1 (en) Defining Data Flow Paths in Software-Defined Networks with Application-Layer Traffic Optimization
US20140022951A1 (en) Logical inter-cloud dispatcher
US20130077476A1 (en) Incremental Deployment of MRT Based IPFRR
US20130018999A1 (en) Placement of service delivery locations of a distributed computing service based on logical topology
US20070268821A1 (en) Rpr representation in ospf-te
US20160094398A1 (en) Mesh network of simple nodes with centralized control
US20150103844A1 (en) Using PCE as SDN Controller
CN103051565A (en) Framework system of grade software defined network software controller and implementation method thereof
US20070064613A1 (en) Methods, systems, and computer program products for load balanced and symmetric path computations for VoIP traffic engineering
US7715395B2 (en) System and method for expanding the range of a mesh network
CN103166876A (en) Transmission method for data among OpenFlow network domains and device
US20100284403A1 (en) Scalable routing policy construction using dynamic redefinition of routing preference value
US20080056157A1 (en) Method and apparatus for automatic sub-division of areas that flood routing information
CN101237399A (en) Method, system and device for getting label switching path
US20120117213A1 (en) Negotiated Parent Joining in Directed Acyclic Graphs (DAGS)
US20110044173A1 (en) Optimized layer-2 network switching systems and methods
US20080130500A1 (en) Automatic Overlapping Areas that Flood Routing Information
CN101316229A (en) Method and router for synchronizing link state advertisement
JP2008206095A (en) Route calculation control method, route calculation control program and route calculation controller
US20120113807A1 (en) Affecting Node Association Through Load Partitioning
US20100080222A1 (en) Automatic rd rewrite technique to achieve fast convergence in inter-as networks
US20100281163A1 (en) Method and apparatus for maintaining routing information
CN103812778A (en) Stream table entry generating method and device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01