CN101296178B - Inter-domain flux engineering route computing method and route computing device - Google Patents
Inter-domain flux engineering route computing method and route computing device Download PDFInfo
- Publication number
- CN101296178B CN101296178B CN2007101030220A CN200710103022A CN101296178B CN 101296178 B CN101296178 B CN 101296178B CN 2007101030220 A CN2007101030220 A CN 2007101030220A CN 200710103022 A CN200710103022 A CN 200710103022A CN 101296178 B CN101296178 B CN 101296178B
- Authority
- CN
- China
- Prior art keywords
- path
- node
- pce
- inter
- calculation
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- 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/04—Interdomain routing, e.g. hierarchical routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及网络技术,具体涉及一种域间流量工程路径计算方法和路径计算装置。The invention relates to network technology, in particular to a method and a path calculation device for inter-domain flow engineering path.
背景技术Background technique
随着网络部署范围的扩大以及通用多协议标签交换(GMPLS:GeneralMultiple Protocol Label Switch)技术的发展,域间流量工程将会跨越不同的运营商,涵盖整个GMPLS网络。流量工程关注网络整体性能的优化,其主要目标是方便地提供高效的、可靠的网络服务,优化网络资源的使用,优化网络流量。这分两个层面:一是面向流量的,即关注如何提高网络的服务质量;二是面向资源的,即关注如何优化网络资源的使用,最主要是带宽资源的有效利用。With the expansion of network deployment and the development of General Multiple Protocol Label Switching (GMPLS: General Multiple Protocol Label Switch) technology, inter-domain traffic engineering will span different operators and cover the entire GMPLS network. Traffic engineering focuses on the optimization of the overall performance of the network. Its main goal is to provide efficient and reliable network services conveniently, optimize the use of network resources, and optimize network traffic. This is divided into two levels: one is traffic-oriented, that is, it focuses on how to improve the service quality of the network; the other is resource-oriented, that is, it focuses on how to optimize the use of network resources, and the most important thing is the effective use of bandwidth resources.
基于约束的最短路径优先(CSPF:Constraint-based Shortest Path First)计算是GMPLS和多协议标签交换(MPLS:Multiple Protocol Label Switch)流量工程的重要部分,多个自治系统(AS:Autonomous Systems)间的路径计算非常复杂,需要不同AS的计算实体如路径计算装置(PCE:Path ComputationElement)等相互协作,共同完成。目前最基本的域间流量工程路径计算方法有两种,一种是采用路径计算装置的基于PCE的逆向回退路径计算(BRPC:Backward Recursive PCE-based Computation)方式,其中PCE可以是基于约束条件和网络拓扑计算网络路径的网络节点、应用程序或模块;另一种是不采用PCE的逐域计算Per-domain方式。Constraint-based Shortest Path First (CSPF: Constraint-based Shortest Path First) calculation is an important part of GMPLS and Multi-Protocol Label Switching (MPLS: Multiple Protocol Label Switch) traffic engineering, between multiple autonomous systems (AS: Autonomous Systems) Path computation is very complicated and requires the cooperation of computing entities of different ASs, such as Path Computation Element (PCE: Path ComputationElement), to complete it together. At present, there are two most basic inter-domain traffic engineering path calculation methods, one is PCE-based reverse fallback path calculation (BRPC: Backward Recursive PCE-based Computation) method using path calculation device, in which PCE can be based on constraint conditions The network node, application or module that calculates the network path based on the network topology; the other is the Per-domain calculation method that does not use PCE.
采用BRPC方式计算域间流量工程路径时,向PCE发送域间流量工程路径计算请求的网络节点首先将域间流量工程路径计算请求发送给它所在AS内的PCE,该PCE会确定一条通往目的节点的AS序列,然后将域间流量工程路径计算请求传送给该AS序列上的下游PCE。AS序列上靠近头节点的称为上游,靠近目的节点的则称为下游。当域间流量工程路径计算请求传送到目的节点所在AS的PCE,即最下游的PCE,这个PCE查找它所在AS内与上游PCE所在AS有连接的边界节点;然后它可以根据本AS的流量工程(TE,Traffic Engineering)信息,分别计算每个边界节点到目的节点的最优路径,并把计算得到的每条路径返回给上游PCE。上游PCE收到下游PCE返回的到达目的节点的部分路径后,如果发现自己不是整个AS序列上第一个AS的PCE,它将查找它所在AS内与上游PCE所在AS有连接的边界节点,然后再计算每个边界节点到目的节点的最优路径。如此逆向计算,直到AS序列上第一个AS的PCE收到下游PCE的计算结果后,它就可以计算出头节点到目的节点的最优路径。When the BRPC method is used to calculate the inter-domain traffic engineering path, the network node that sends the inter-domain traffic engineering path calculation request to the PCE first sends the inter-domain traffic engineering path calculation request to the PCE in its AS, and the PCE will determine a route to the destination. The AS sequence of the node, and then transmits the inter-domain traffic engineering path calculation request to the downstream PCE on the AS sequence. The AS sequence close to the head node is called upstream, and the one close to the destination node is called downstream. When the inter-domain traffic engineering path calculation request is transmitted to the PCE of the AS where the destination node is located, that is, the most downstream PCE, the PCE searches for the boundary node in its AS that is connected to the AS where the upstream PCE is located; then it can (TE, Traffic Engineering) information, respectively calculate the optimal path from each border node to the destination node, and return each calculated path to the upstream PCE. After the upstream PCE receives the partial path to the destination node returned by the downstream PCE, if it finds that it is not the PCE of the first AS in the entire AS sequence, it will search for the boundary node in its AS that is connected to the AS where the upstream PCE is located, and then Then calculate the optimal path from each boundary node to the destination node. In this reverse calculation, until the PCE of the first AS in the AS sequence receives the calculation result of the downstream PCE, it can calculate the optimal path from the head node to the destination node.
采用Per-domain方式计算时,头节点以松散的方式指定到目的节点的路径上经过的边界节点或AS,每个边界节点或AS根据自己域的拓扑计算到下个边界节点的具体路径,并将计算得到的路径代替原来松散的路径,这样一级一级的计算,就可以得出头节点到目的节点的路径。When using the Per-domain calculation, the head node loosely specifies the border nodes or ASs that pass through the path to the destination node, and each border node or AS calculates the specific path to the next border node according to the topology of its own domain, and Replace the original loose path with the calculated path, so that the path from the head node to the destination node can be obtained through level-by-level calculation.
由于对路径进行计算会跨越不同的网络,不同的网络的PCE的部署情况可能不一样,可能有的网络部署了PCE,而有的网络尚未部署PCE,由于BRPC方式是基于PCE的,所以当路径计算跨越了部署了PCE的网络和尚未部署PCE的网络时,将不能采用BRPC方式计算路径,此时,PCE会因为不能继续发送域间流量工程路径计算请求而返回错误,而只能采用Per-domain的方式进行计算。在实现本发明的过程中,发明人发现当在部署了PCE和尚未部署PCE的网络之间进行路径计算中,只采用Per-domain的方式至少存在以下缺点:部署了PCE的网络中的PCE并没有被使用,使PCE在计算路径时被闲置,系统资源的利用率不高;进一步,采用Per-domain的方式计算出来的路径可能是最差的路径。Since the calculation of the path will span different networks, the deployment of PCE on different networks may be different. Some networks may have deployed PCE, while some networks may not have deployed PCE. Since the BRPC method is based on PCE, when the path When the calculation spans the network where the PCE is deployed and the network where the PCE has not been deployed, the BRPC method cannot be used to calculate the path. At this time, the PCE will return an error because it cannot continue to send the inter-domain traffic engineering path calculation request, and can only use Per- Domain way to calculate. In the process of realizing the present invention, the inventor found that when performing path calculation between a PCE-deployed network and a PCE-undeployed network, only the Per-domain method has at least the following disadvantages: the PCE in the PCE-deployed network does not If it is not used, the PCE is idle when calculating the path, and the utilization rate of system resources is not high; furthermore, the path calculated by using the Per-domain method may be the worst path.
发明内容Contents of the invention
本发明实施例的目的是提供一种域间流量工程路径计算方法和路径计算装置,使用本发明实施方式提供的技术方案,可以使自治系统中部署的路径计算装置能够被使用。The purpose of the embodiments of the present invention is to provide an inter-domain traffic engineering path calculation method and path calculation device. Using the technical solution provided by the embodiments of the present invention, the path calculation device deployed in the autonomous system can be used.
本发明实施例的目的是通过以下技术方案实现的:The purpose of the embodiments of the present invention is achieved through the following technical solutions:
本发明的实施例提供了一种域间流量工程路径计算方法,包括:An embodiment of the present invention provides a method for calculating an inter-domain traffic engineering path, including:
第一路径计算装置PCE接收到触发第一计算方式的第一域间流量工程路径计算请求,所述第一域间流量工程路径计算请求携带目的节点标识;The first path calculation device PCE receives a first inter-domain traffic engineering path calculation request that triggers a first calculation method, and the first inter-domain traffic engineering path calculation request carries a destination node identifier;
第一PCE判断出本PCE归属的第一自治系统AS不是到达所述目的节点的AS序列中最后一个AS,并且不能向第一AS在所述AS序列的下一AS发送第二域间流量工程路径计算请求;The first PCE determines that the first autonomous system AS to which the PCE belongs is not the last AS in the AS sequence to reach the destination node, and cannot send the second inter-domain traffic engineering to the first AS in the next AS in the AS sequence Path calculation request;
第一PCE从第一AS在所述AS序列的下一AS选取与所述第一AS有连接的第一边界节点;The first PCE selects a first border node connected to the first AS from the first AS in the next AS of the AS sequence;
第一PCE采用第一计算方式计算所述第一AS中网络节点到所述第一边界节点的路径,返回路径结果信息,所述路径结果信息包括计算结果和附加信息,所述附加信息包括所述路径计算为部分路径计算以及所述第一边界节点的标识。The first PCE uses the first calculation method to calculate the path from the network node in the first AS to the first border node, and returns path result information, where the path result information includes the calculation result and additional information, and the additional information includes the The path calculation is a partial path calculation and the identification of the first boundary node.
相应的,本发明实施例提供了一种路径计算装置,包括:Correspondingly, an embodiment of the present invention provides a path calculation device, including:
计算请求接收单元,用于接收触发第一计算方式的第一域间流量工程路径计算请求,所述第一域间流量工程路径计算请求携带目的节点标识;A calculation request receiving unit, configured to receive a first inter-domain traffic engineering path calculation request that triggers a first calculation mode, where the first inter-domain traffic engineering path calculation request carries a destination node identifier;
自治系统判断单元,用于判断本路径计算装置归属的第一自治系统AS是否为到达所述目的节点的AS序列的最后一个AS;An autonomous system judging unit, configured to judge whether the first autonomous system AS to which the path computing device belongs is the last AS in the AS sequence to reach the destination node;
路径判断单元,用于在所述自治系统判断单元判断所述第一AS不是所述AS序列的最后一个AS时,判断是否能向所述第一AS在所述AS序列的下一AS发送第二域间流量工程路径计算请求;a path judging unit, configured to judge whether the first AS can send the first AS to the next AS in the AS sequence in the AS sequence when the autonomous system judging unit judges that the first AS is not the last AS in the AS sequence. Two inter-domain traffic engineering path calculation requests;
边界节点选取单元,用于在所述路径判断单元判断不能继续向所述第一AS在所述AS序列的下一AS发送第二域间流量工程路径计算请求时,从所述第一AS在所述AS序列的下一AS中选取与所述第一AS有连接的第一边界节点;A boundary node selection unit, configured to, when the path judging unit judges that it cannot continue to send the second inter-domain traffic engineering path calculation request to the first AS in the next AS in the AS sequence, from the first AS in the selecting a first boundary node connected to the first AS from the next AS of the AS sequence;
路径计算单元,用于采用第一计算方式计算所述第一AS中网络节点到所述第一边界节的路径;a path calculation unit, configured to calculate a path from a network node in the first AS to the first boundary node in a first calculation manner;
信息返回单元,用于将所述路径计算单元的计算结果返回,同时返回附加信息,所述附加信息包括所述路径计算为部分路径计算以及所述第一边界节点的标识。The information return unit is configured to return the calculation result of the path calculation unit and return additional information, the additional information includes that the path calculation is a partial path calculation and an identification of the first boundary node.
本发明的实施例提供了另一种域间流量工程路径计算方法,包括:Embodiments of the present invention provide another inter-domain traffic engineering path calculation method, including:
第一边界节点接收到来自第二边界节点的触发第二计算方式的信令,所述信令携带目的节点标识;The first border node receives signaling from the second border node that triggers the second calculation mode, where the signaling carries the identity of the destination node;
第一边界节点判断本边界节点不是所述目的节点,且本边界节点归属的AS部署了PCE;The first border node judges that the border node is not the destination node, and the AS to which the border node belongs deploys the PCE;
第一边界节点向所述PCE发送触发第一计算方式的域间流量工程路径计算请求,触发所述PCE采用第一计算方式计算所述第一边界节点到所述目的节点的路径;The first boundary node sends to the PCE an inter-domain traffic engineering path calculation request that triggers a first calculation method, triggering the PCE to use the first calculation method to calculate a path from the first boundary node to the destination node;
第一边界节点接收到所述PCE返回的采用所述第一计算方式计算得到的计算结果后,将所述计算结果中的路径代替所述信令携带的松散路径,继续After the first border node receives the calculation result calculated by the first calculation method returned by the PCE, replace the loose path carried by the signaling with the path in the calculation result, and continue
发送到目的节点的信令。Signaling sent to the destination node.
相应的,本发明实施例提供了一种网络节点装置,包括:Correspondingly, an embodiment of the present invention provides a network node device, including:
信令接收单元,用于接收触发第二计算方式的信令,所述信令携带目的节点标识;A signaling receiving unit, configured to receive signaling that triggers the second calculation method, where the signaling carries a destination node identifier;
目的节点判断单元,用于在所述信令接收单元接收到所述信令后,判断本网络节点装置是否为所述目的节点;a destination node judging unit, configured to judge whether the network node device is the destination node after the signaling receiving unit receives the signaling;
路径计算装置判断单元,用于在所述目的节点判断单元判断出本网络节点装置不是所述目的节点时,判断本网络节点装置归属的第一AS是否部署了PCE;A path calculation device judging unit, configured to judge whether the first AS to which the network node device belongs deploys a PCE when the destination node judging unit judges that the network node device is not the destination node;
计算请求发送单元,用于在所述路径计算装置判断单元判断所述第一AS部署了PCE时,向所述PCE发送域间流量工程路径计算请求,触发所述PCE采用第一计算方式计算本网络节点装置到所述目的节点的路径;A calculation request sending unit, configured to send an inter-domain traffic engineering path calculation request to the PCE when the path calculation device judging unit determines that the first AS deploys a PCE, and trigger the PCE to use the first calculation method to calculate the path a path from a network node device to said destination node;
路径计算结果接收单元,用于接收所述PCE返回的采用所述第一计算方式计算得到的计算结果,将所述计算结果中的路径代替所述信令携带的松散路径,继续发起到达所述目的节点的信令。The path calculation result receiving unit is configured to receive the calculation result calculated by the first calculation method returned by the PCE, replace the loose path carried by the signaling with the path in the calculation result, and continue to initiate the arrival at the Signaling of the destination node.
从本发明实施例提供的以上技术方案可以看出,在AS中部署了PCE时,可以利用PCE进行域间流量工程路径计算,从而使部署的PCE都得到利用,提高系统资源的利用率;进一步,由于通过PCE计算得到的部分域间流量工程路径不是最差路径,因而即使在采用边界节点计算时得到的其他部分域间流量工程路径是最差的路径,最终的整个域间流量工程路径也不会是最差的路径。From the above technical solutions provided by the embodiments of the present invention, it can be seen that when PCEs are deployed in the AS, the PCEs can be used to calculate inter-domain traffic engineering paths, so that all deployed PCEs can be utilized and the utilization rate of system resources can be improved; further , since some of the inter-domain traffic engineering paths calculated by PCE are not the worst paths, even if other partial inter-domain traffic engineering paths obtained when using boundary node calculations are the worst paths, the final entire inter-domain traffic engineering paths are also Won't be the worst path.
附图说明Description of drawings
图1为本发明方法第一实施例的流程图;Fig. 1 is the flowchart of the first embodiment of the method of the present invention;
图2为本发明方法第二实施例的流程图;Fig. 2 is the flowchart of the second embodiment of the method of the present invention;
图3为本发明方法第三实施例的流程图;Fig. 3 is the flowchart of the third embodiment of the method of the present invention;
图4为本发明方法第四实施例的示意图;Fig. 4 is the schematic diagram of the fourth embodiment of the method of the present invention;
图5为本发明方法第五实施例的流程图;Fig. 5 is the flowchart of the fifth embodiment of the method of the present invention;
图6为本发明方法第六实施例的流程图;Fig. 6 is the flowchart of the sixth embodiment of the method of the present invention;
图7为本发明路径计算装置第一实施例的结构示意图;FIG. 7 is a schematic structural diagram of the first embodiment of the path calculation device of the present invention;
图8为本发明路径计算装置第二实施例的结构示意图;FIG. 8 is a schematic structural diagram of a second embodiment of the path calculation device of the present invention;
图9为本发明网络节点装置第一实施例的结构示意图;FIG. 9 is a schematic structural diagram of a first embodiment of a network node device according to the present invention;
图10为本发明网络节点装置第二实施例的结构示意图。FIG. 10 is a schematic structural diagram of a second embodiment of a network node device according to the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。In order to make the object, technical solution, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
图1为本发明方法第一实施例的流程图,如图1所示,本发明方法的第一实施例主要包括:Fig. 1 is the flowchart of the first embodiment of the inventive method, as shown in Fig. 1, the first embodiment of the inventive method mainly comprises:
步骤101、第一PCE接收触发第一计算方式的第一域间流量工程路径计算请求,所述第一域间流量工程路径计算请求携带目的节点标识;Step 101. The first PCE receives a first inter-domain traffic engineering path calculation request that triggers a first calculation method, and the first inter-domain traffic engineering path calculation request carries a destination node identifier;
域间流量工程路径计算请求可以来自与第一PCE归属于同一AS的网络节点亦即头节点,也可以来自上游的PCE;所述的第一计算方式可以是BRPC方式,也可以是多PCE协作方式,还可以是任何使用PCE进行计算的计算方式;当采用BRPC方式时,每个PCE计算本PCE归属的AS中,与上游AS有连接的边界节点或头节点到下游AS中与本AS有连接的边界节点之间或目的节点的路径;The inter-domain traffic engineering path calculation request can come from a network node belonging to the same AS as the first PCE, that is, the head node, or from an upstream PCE; the first calculation method can be BRPC mode, or multi-PCE cooperation It can also be any calculation method that uses PCE for calculation; when the BRPC method is used, each PCE calculates that in the AS to which this PCE belongs, the boundary node or head node connected to the upstream AS will go to the downstream AS and have the same relationship with this AS. Paths between connected border nodes or destination nodes;
其中域间流量工程路径计算请求包括如下信息:头节点的相关信息,如头节点地址等,使最后的路径能够最终返回给头节点;目的节点标识,如目的节点的地址信息等,使PCE知道路径计算的目的节点;触发使用的计算方式信息,可以使PCE知道应该采用哪种计算方式进行路径计算,可以从两个方面来限定使用的计算方式,一是在域间流量工程路径计算请求中标识使用的计算方式,另一种则是按照计算方式的要求发送域间流量工程路径计算请求;The inter-domain traffic engineering path calculation request includes the following information: the relevant information of the head node, such as the head node address, so that the final path can finally return to the head node; the destination node identifier, such as the address information of the destination node, etc., so that the PCE knows Destination node for path calculation; information about the calculation method used by the trigger can let the PCE know which calculation method should be used for path calculation, and the calculation method used can be limited from two aspects, one is in the inter-domain traffic engineering path calculation request Identifies the calculation method used, and the other is to send inter-domain traffic engineering path calculation requests according to the requirements of the calculation method;
步骤102、第一PCE判断出本PCE归属的第一AS不是到达目的节点的AS序列的最后一个AS;Step 102, the first PCE determines that the first AS to which the PCE belongs is not the last AS in the AS sequence to reach the destination node;
其中,如果域间流量工程路径计算请求来自上游的PCE,所述AS序列在域间流量工程路径计算请求中携带发送给第一PCE;Wherein, if the inter-domain traffic engineering path calculation request comes from an upstream PCE, the AS sequence is carried in the inter-domain traffic engineering path calculation request and sent to the first PCE;
如果所述域间流量工程路径计算请求来自头节点,AS序列由第一PCE根据所述目的节点标识确定;If the inter-domain traffic engineering path calculation request comes from a head node, the AS sequence is determined by the first PCE according to the destination node identifier;
AS序列中每个AS都有唯一的标识信息,第一PCE就可以根据自己归属的第一AS的标识判断出第一AS是否是AS序列的最后一个AS,如果不是,则需要继续按照AS序列向下发送域间流量工程路径计算请求;Each AS in the AS sequence has unique identification information. The first PCE can judge whether the first AS is the last AS in the AS sequence according to the identification of the first AS it belongs to. If not, it needs to continue to follow the AS sequence. Send down the inter-domain traffic engineering path calculation request;
步骤103、若不能继续向第一AS在AS序列中的下一AS发送第二域间流量工程路径计算请求;Step 103, if it cannot continue to send the second inter-domain traffic engineering path calculation request to the next AS in the AS sequence of the first AS;
使用PCE进行路径计算时,域间流量工程路径计算请求需要在PCE之间发送,当一个AS没有部署PCE时,通过PCE发送的域间流量工程路径计算请求就不能继续向该AS发送;可以通过路由信息进行判断是否能继续发送域间流量工程路径计算请求,路由信息可以是PCE维护的拓扑信息、和/或流量工程信息,PCE维护的拓扑信息和流量工程信息都是与网络同步的,所以可以根据拓扑信息、和/或流量工程信息判断下一AS中是否部署有PCE,当下一AS中没有部署PCE时,域间流量工程路径计算请求将不能向下一AS继续发送;其中拓扑信息包括PCE连接的边界节点信息,如连接了哪些路由器等等;TE信息则包括一些与策略相关的信息,如路由器的带宽以及可用带宽等等与流量工程路径计算相关的一些信息;When PCE is used for path calculation, inter-domain traffic engineering path calculation requests need to be sent between PCEs. When an AS does not deploy PCE, inter-domain traffic engineering path calculation requests sent through PCE cannot continue to be sent to the AS; Routing information is used to determine whether to continue sending inter-domain traffic engineering path calculation requests. Routing information can be topology information maintained by PCE and/or traffic engineering information. Both topology information and traffic engineering information maintained by PCE are synchronized with the network, so Whether a PCE is deployed in the next AS can be judged based on topology information and/or traffic engineering information. When no PCE is deployed in the next AS, the inter-domain traffic engineering path calculation request cannot be sent to the next AS; the topology information includes The border node information connected by PCE, such as which routers are connected, etc.; TE information includes some policy-related information, such as router bandwidth and available bandwidth, and other information related to traffic engineering path calculation;
步骤104、第一PCE从下一AS选取与第一AS有连接的第一边界节点;Step 104, the first PCE selects a first border node connected to the first AS from the next AS;
同样也可以通过路由信息进行判断,因为拓扑信息和TE信息中都有边界节点的相关信息,因而可以通过自身维护的拓扑信息、和/或TE信息来选择边界节点;当有多个边界节点可供选择时,可以从这些边界节点中随机选择一个,也可以按照一定的规则,例如优先级或者编号的顺序等来选择;It can also be judged by routing information, because both topology information and TE information contain information about border nodes, so border nodes can be selected through the topology information and/or TE information maintained by itself; when there are multiple border nodes that can For selection, one can be randomly selected from these boundary nodes, or can be selected according to certain rules, such as priority or numbering order;
步骤105、第一PCE采用第一计算方式计算第一AS中网络节点到第一边界节点的路径;Step 105, the first PCE uses the first calculation method to calculate the path from the network node in the first AS to the first border node;
因为不能继续发送域间流量工程计算请求,所以将第一计算方式的目的节点换成第一边界节点,因而只计算第一AS中网络节点到第一边界节点之间的路径;当第一PCE接收的域间流量工程路径计算请求是来自上游的PCE时,第一AS中网络节点是第一AS中与上游PCE归属的AS有连接的边界节点;当域间流量工程路径计算请求是来自头节点时,该网络节点就是头节点。Because the inter-domain traffic engineering calculation request cannot be sent any more, the destination node of the first calculation mode is changed to the first boundary node, so only the path between the network node in the first AS and the first boundary node is calculated; when the first PCE When the inter-domain traffic engineering path calculation request is received from the upstream PCE, the network node in the first AS is a border node connected to the AS to which the upstream PCE belongs; when the inter-domain traffic engineering path calculation request is from the head node, the network node is the head node.
步骤106、返回路径结果信息,路径结果信息包括计算结果和附加信息,附加信息包括路径计算为部分路径计算以及所述第一边界节点的标识;Step 106: return route result information, the route result information includes the calculation result and additional information, the additional information includes the route calculation as a partial route calculation and the identification of the first boundary node;
当域间流量工程路径计算请求来自头节点时,就向该头节点返回;当域间流量工程路径计算请求来自上游PCE,则向该上游PCE返回,返回给上游PCE的计算结果为:第一PCE计算出的第一AS中与该上游PCE归属的AS有连接的边界节点到所述第一边界节点的路径;相对于原来需要计算到目的节点的计算相比,以第一边界节点作为目的节点的计算是一个不完整的计算,从而要在路径计算结果中标识该计算为部分路径计算,使上游PCE可以根据这个标识判断该计算为部分路径计算,同时将第一边界节点的标识返回可以使上游PCE知道到目的节点的路径尚未得到,因而最终也能使触发此次计算的头节点知道到目的节点的路径尚未得到,从而使头节点可以触发第一边界节点进行路径计算,进而得到到目的节点的路径;其中第一边界节点的标识可以是第一边界节点在网络中的网络地址,也可以是第一边界节点在网络中的编号等可以唯一确定该第一边界节点的信息;When the inter-domain traffic engineering path calculation request comes from the head node, it returns to the head node; when the inter-domain traffic engineering path calculation request comes from the upstream PCE, it returns to the upstream PCE, and the calculation result returned to the upstream PCE is: first The path from the boundary node connected to the AS to which the upstream PCE belongs in the first AS calculated by the PCE to the first boundary node; compared with the calculation that originally needs to be calculated to the destination node, the first boundary node is used as the destination The calculation of a node is an incomplete calculation, so it is necessary to mark the calculation as a partial path calculation in the path calculation result, so that the upstream PCE can judge that the calculation is a partial path calculation according to this identification, and at the same time return the identification of the first boundary node to be able to Let the upstream PCE know that the path to the destination node has not been obtained, so the head node that triggers this calculation can finally know that the path to the destination node has not been obtained, so that the head node can trigger the first border node to perform path calculation, and then get to The path of the destination node; wherein the identifier of the first border node may be the network address of the first border node in the network, or the number of the first border node in the network, etc., which can uniquely determine the information of the first border node;
从上可以看出,与现有技术中在下一AS没有部署PCE时直接返回错误相比,本实施例在AS中部署了PCE时,即使在下一AS没有部署PCE,也可以利用已经部署的PCE进行部分的路径计算,从而使部署了的PCE都得到了利用,提高了系统资源的利用率。It can be seen from the above that, compared with the prior art that directly returns an error when the next AS does not deploy the PCE, this embodiment can use the deployed PCE even if the next AS does not deploy the PCE when the PCE is deployed in the AS. Part of the path calculation is performed, so that all deployed PCEs are utilized and the utilization rate of system resources is improved.
图2是本发明方法第二实施例的流程图,该实施例以BRPC方式为一个具体的例子进行说明。如图2所示,本发明提供的方法的第二实施例包括以下步骤:Fig. 2 is a flow chart of the second embodiment of the method of the present invention, and this embodiment is described by taking the BRPC method as a specific example. As shown in Figure 2, the second embodiment of the method provided by the present invention comprises the following steps:
步骤201、第一PCE接收来自头节点的触发BRPC方式的第一域间流量工程路径计算请求,该第一域间流量工程路径计算请求携带有目的节点标识;
该头节点可以是第一PCE归属的第一AS中的任一网络节点;The head node may be any network node in the first AS to which the first PCE belongs;
步骤202、第一PCE根据目的节点标识确定至该目的节点的AS序列,并判断出本PCE归属的第一AS不是AS序列的最后一个AS;
步骤203、若不能继续向第一AS在AS序列的下一AS发送第二域间流量工程路径计算请求;Step 203, if it is not possible to continue sending the second inter-domain traffic engineering path calculation request to the first AS in the next AS in the AS sequence;
步骤204、第一PCE判断第一域间流量工程路径计算请求是否包括允许部分路径计算结果的信息;如果是,进入步骤205;如果否,结束;
在实际应用中可能各个AS的策略不一样,有的网络节点允许部分路径计算结果,而有的网络节点不允许部分路径计算结果,而网络节点是否允许部分路径计算结果在域间流量工程路径计算请求中有标识,因而需要对域间流量工程路径计算请求是否包括允许部分路径计算结果的信息进行判断,从而只向允许部分路径计算结果的网络节点返回部分路径,从而使返回的部分路径能够被网络节点所识别;In practical applications, the policies of each AS may be different. Some network nodes allow partial path calculation results, while some network nodes do not allow partial path calculation results. Whether the network node allows partial path calculation results is used in inter-domain traffic engineering path calculation. There is an identifier in the request, so it is necessary to judge whether the inter-domain traffic engineering path calculation request includes information that allows partial path calculation results, so that only partial paths are returned to network nodes that allow partial path calculation results, so that the returned partial paths can be used identified by network nodes;
步骤205、第一PCE从下一AS中选取与第一AS有连接的第一边界节点;
步骤206、第一PCE采用BRPC方式计算头节点到第一边界节点的路径;
步骤207、将计算结果返回给头节点,同时返回附加信息,附加信息包括路径计算为部分路径计算以及第一边界节点的标识;
其中,返回给头节点的计算结果为:第一PCE从计算出的头节点到第一边界节点的路径中选出最优路径,并将最优路径与AS序列中从下一AS开始的所有AS合并成的松散路径;当然,这是在采用BRPC方式计算时的情况,因为BRPC方式计算得到的是部分最优路径,但是当采用其他方式,如多PCE协作方式时返回的可能不是部分最优路径,可能仅仅是一条非最差路径;Among them, the calculation result returned to the head node is: the first PCE selects the optimal path from the calculated path from the head node to the first border node, and combines the optimal path with all the ASs starting from the next AS in the AS sequence. Of course, this is the case when the BRPC method is used for calculation, because the BRPC method calculates part of the optimal path, but when other methods are used, such as multi-PCE cooperation, the return may not be part of the optimal path. An optimal path may be just a non-worst path;
第一PCE采用BRPC方式会计算出多条到达第一边界节点的路径,而头节点只需要一条路径,所以按照BRPC方式计算得到的多条路径中选出最优路径;又因为头节点需要的是到达目的节点的完整路径,所以将最优路径与AS序列中从下一AS开始的所有AS合并成的松散路径返回给头节点,这样头节点就可以得到一条完整的路径;The first PCE will calculate multiple paths to the first boundary node using the BRPC method, but the head node only needs one path, so the optimal path is selected from the multiple paths calculated according to the BRPC method; and because the head node needs a The complete path to the destination node, so the optimal path and the loose path formed by all ASs starting from the next AS in the AS sequence are returned to the head node, so that the head node can get a complete path;
步骤208、头节点识别出路径计算为部分路径计算,发起信令建立路径;当信令传递到第一边界节点,触发第一边界节点采用第二计算方式计算到目的节点的路径;结束;
此处第二计算方式可以采用Per-domain方式,也可以采用其他不需要使用PCE进行计算的计算方式,如最短路径优先,随机路径选择等方式。Here, the second calculation method may adopt a Per-domain method, or other calculation methods that do not need to use PCE for calculation, such as the shortest path first, random path selection, and the like.
本实施例在头节点所在的AS部署了PCE时,可以利用PCE采用BRPC方式进行计算,从而使部署了的PCE都得到了利用,提高了系统资源的利用率;进一步,由于通过BRPC方式计算得到的路径是部分最优路径,因而即使在采用第二计算方式时计算得到其他部分路径的是最差的路径,最终的整个路径也不会是最差的路径。In this embodiment, when the PCE is deployed in the AS where the head node is located, the PCE can be used for calculation in the BRPC mode, so that all the deployed PCEs are utilized and the utilization rate of system resources is improved; The path is a part of the optimal path, so even if the other part of the path calculated by the second calculation method is the worst path, the final entire path will not be the worst path.
本发明进一步提供了方法的第三实施例,如图3所示,包括如下步骤:The present invention further provides a third embodiment of the method, as shown in Figure 3, comprising the following steps:
步骤301、第一PCE接收来自第二PCE的触发第一计算方式的第一域间流量工程路径计算请求;
步骤302、第一PCE判断出本PCE归属的第一AS不是所述第一域间流量工程路径计算请求中携带的AS序列的最后一个AS;
步骤303、若不能继续向第一AS在AS序列的下一AS发送第二域间流量工程路径计算请求;
步骤304、第一PCE判断第一域间流量工程路径计算请求是否包括允许部分路径计算结果的信息;如果是,进入步骤305;如果否,结束;
步骤305、第一PCE从下一AS选取与第一AS有连接的第一边界节点;
步骤306、第一PCE采用第一计算方式计算第一AS中与上游AS有连接的边界节点到所述第一边界节点的路径;
步骤307、将计算结果返回给第二PCE,同时返回附加信息,附加信息包括路径计算为部分路径计算以及第一边界节点的标识;
返回给所述第二PCE的计算结果为:所述第一PCE计算出的第一AS中与上游AS有连接的边界节点到第一边界节点的路径;在采用基于PCE的计算方式进行路径计算时,每个PCE计算出路径后,都要将计算出来的路径返回给上游的PCE,使上游的PCE可以在下游PCE返回的路径的基础上再进行计算;The calculation result returned to the second PCE is: the path from the boundary node connected to the upstream AS in the first AS calculated by the first PCE to the first boundary node; , after each PCE calculates the path, it must return the calculated path to the upstream PCE, so that the upstream PCE can recalculate on the basis of the path returned by the downstream PCE;
步骤308、第二PCE在第一PCE返回的计算结果的基础上,计算第二PCE归属的第二AS中与上游AS有连接的边界节点到所述第一边界节点的路径,并将新的计算结果和附加信息返回给它的上游PCE;Step 308: Based on the calculation result returned by the first PCE, the second PCE calculates the path from the border node connected to the upstream AS in the second AS to which the second PCE belongs to the first border node, and sends the new Computational results and additional information are returned to its upstream PCE;
其中,计算结果和附加信息的返回是根据AS序列向上游PCE返回的;Among them, the return of calculation results and additional information is returned to the upstream PCE according to the AS sequence;
步骤309、直到,最上游的PCE收到来自它的下游PCE的计算结果后,在该计算结果的基础上计算出头节点到所述第一边界节点的路径;Step 309, until the most upstream PCE receives the calculation result from its downstream PCE, calculates the path from the head node to the first border node on the basis of the calculation result;
步骤310、最上游的PCE在计算得到的路径中选择一条非最差路径,并将所述非最差路径与所述AS序列中从所述第一AS在AS序列的下一AS开始的所有AS合并成的松散路径返回给头节点;其中附加信息可以合并在此松散路径中;In
步骤311、头节点识别出所述路径计算为部分路径计算,发起信令建立路径;当信令传递到第一边界节点,触发第一边界节点采用第二计算方式计算到目的节点的路径;结束;
本实施例在AS中部署了PCE时,可以利用PCE进行域间流量工程路径计算,从而使部署了的PCE都得到了利用,提高了系统资源的利用率;进一步,由于通过PCE计算得到的部分路径都不会是最差路径,因而即使在采用第二计算方式时计算得到的其他部分路径是最差的路径,最终的整个路径也不会是最差的路径。In this embodiment, when the PCE is deployed in the AS, the PCE can be used to calculate the inter-domain traffic engineering path, so that all the deployed PCEs are utilized and the utilization rate of system resources is improved; further, because the part calculated by the PCE None of the paths will be the worst path, so even if other partial paths calculated by the second calculation method are the worst paths, the final entire path will not be the worst path.
举例来说,在本发明实施例中,可以采用下面这种在计算结果中标识路径计算为部分路径计算的方法:直接在返回计算结果的现有请求参数对象(RPOBJ:Request Parameters OBJ)中增加一个标识位,增加了标识位的RP OBJ如表1所示:For example, in the embodiment of the present invention, the following method of identifying the route calculation as a partial route calculation in the calculation result can be adopted: directly add An identification bit, the RP OBJ with the identification bit added is shown in Table 1:
表1、RP OBJ格式Table 1, RP OBJ format
如表1所示,描述的是在现有的RP OBJ中增加了一个标识路径计算为部分路径计算的标志位“I”的情况,PCE收到下游PCE发送的RP OBJ后,如果发现有“I”标志位,则知道路径计算为部分路径计算,从而进行对应的操作;其中Reserved为保留字段,用于为以后的扩展保留空间;Flags是标志字段,Flags所占用的位置是预留的还没有定义的标志位,便于以后扩展,而“I”、“F”、“O”、“B”和“R”都是已经定义了的标志位,其中“I”就是本发明增加的用于标识路径计算为部分路径计算的标志位,当然在实际应用中还可以用其他标识如“W”等来表示;对应的在域间流量工程路径计算请求中也需要增加标志位“I”,这样就表明发送这个域间流量工程路径计算请求的头节点允许部分路径计算结果,因而只有在域间流量工程路径计算请求中设置了“I”标志时,才能给头节点返回部分路径计算结果,这个标志位在域间流量工程路径计算请求中是默认不设置的,此时PCE在进行部分BRPC计算之前先要确定域间流量工程路径计算请求中有允许部分路径计算结果的标志位;Request-ID-number为请求序列号,它将头节点和PCE的地址捆绑在一起,可以唯一地标识一个域间流量工程路径计算请求,当然也就可以唯一地标识一个域间流量工程路径计算请求的计算结果;Optional TLV(可选参数)部分是当前定义的用于扩展信息的位置,其方案是如果有需要就在这里添加一个或者多个TLV,如果没有需要,那么可以一个TLV也不加,并且各个TLV放置的先后顺序没有关系。As shown in Table 1, it describes the situation that a flag "I" is added to the existing RP OBJ to indicate that the path calculation is a partial path calculation. After the PCE receives the RP OBJ sent by the downstream PCE, if there is " I" flag, then know that the path calculation is a partial path calculation, so as to perform corresponding operations; where Reserved is a reserved field, used to reserve space for future expansion; Flags is a flag field, and the position occupied by Flags is reserved or not. There is no defined flag, which is convenient for future expansion, and "I", "F", "O", "B" and "R" are all defined flags, where "I" is used for the increase of the present invention The flag bit that identifies the path calculation as a partial path calculation, of course, can also be represented by other flags such as "W" in practical applications; correspondingly, the flag bit "I" needs to be added to the inter-domain traffic engineering path calculation request, so that It means that the head node that sends this inter-domain traffic engineering path calculation request allows partial path calculation results, so only when the "I" flag is set in the inter-domain traffic engineering path calculation request, can the head node return partial path calculation results. The flag bit is not set by default in the inter-domain traffic engineering path calculation request. At this time, before performing partial BRPC calculation, the PCE must first confirm that there is a flag bit that allows partial path calculation results in the inter-domain traffic engineering path calculation request; Request-ID -number is the request sequence number, which binds the address of the head node and the PCE together, and can uniquely identify an inter-domain traffic engineering path calculation request, and of course it can also uniquely identify the calculation result of an inter-domain traffic engineering path calculation request ;The Optional TLV (optional parameter) part is the currently defined location for extending information. The solution is to add one or more TLVs here if necessary. The order in which the TLVs are placed does not matter.
而在本发明的实施例中,由于新增加了一个标志位“I”,因此还需要在Optional TLV部分新增加一个TLV,用于描述从哪个AS开始不支持PCE,并描述出从该AS中选择的边界节点,从而使头节点可以清楚地知道从哪个边界节点开始要采用Per-domain的方式计算路径;在实际应用中可以占用两个字节的AS Number,也可以占用4个字节的AS Number,当然也不排除还有采用其他字节长度的AS Number的情况;不管实际应用中采用几个字节的ASNumber,在补充了本发明实施例需要增加的一个TLV后,如果Optional TLV部分不是4字节对齐,则在不足4字节的部分补零,因为PCE和网络节点处理的消息和信令都是4字节对齐的,从而便于后续处理。However, in the embodiment of the present invention, since a flag bit "I" is newly added, a new TLV needs to be added in the Optional TLV part to describe from which AS does not support PCE, and to describe from which AS The selected boundary node, so that the head node can clearly know from which boundary node to use the Per-domain method to calculate the path; in practical applications, it can occupy two bytes of AS Number, or it can occupy 4 bytes of AS Number AS Number, of course, does not rule out the use of AS Numbers with other byte lengths; no matter how many bytes of ASNumber are used in practical applications, after adding a TLV that needs to be added in the embodiment of the present invention, if the Optional TLV part If it is not 4-byte alignment, fill in zeros in the part less than 4 bytes, because the messages and signaling processed by PCE and network nodes are all 4-byte alignment, which facilitates subsequent processing.
下面举一个具体的例子来描述本发明实施例提供的方法,本发明方法的第四实施例的示意图如图4所示:A specific example is given below to describe the method provided by the embodiment of the present invention. The schematic diagram of the fourth embodiment of the method of the present invention is shown in Figure 4:
归属于自治系统401的网络节点1要建立一个网络节点9的路径,其中网络节点9归属于自治系统403,这里,头节点是网络节点1,目的节点是网络节点9。如图4所示,自治系统401和自治系统402分别部署了第一路径计算装置和第二路径计算装置,自治系统403则没有部署PCE;网络节点1、网络节点2和网络节点3归属于自治系统401;网络节点4、网络节点5和网络节点6归属于自治系统402,网络节点7、网络节点8和网络节点9归属于自治系统403。网络节点1作为头节点将第一域间流量工程路径计算请求发送给第一路径计算装置,第一路径计算装置确定计算的自治系统序列为:自治系统401、自治系统402、自治系统403;第一路径计算装置将第二域间流量工程路径计算请求发送给第二路径计算装置,其中自治系统序列包含在第二域间流量工程路径计算请求中;第二路径计算装置发现自治系统403没有路径计算装置;选取归属于自治系统403的网络节点7作为部分路径计算的目的节点,采用BRPC方式进行路径计算,其中网络节点7是自治系统403中与自治系统402有连接的边界节点;第一路径计算装置和第二路径计算装置联合计算出网络节点1到网络节点7的路径为网络节点1->网络节点2->网络节点4->网络节点6->网络节点7。最后第一路径计算装置返回给边界节点1的计算结果为网络节点1->网络节点2->网络节点4->网络节点6->网络节点7->自治系统403。网络节点1使用这个路径发起信令,当信令沿该路径到达网络节点7时,网络节点7将处理路径中的自治系统403,采用Per-domain方式计算从网络节点7到网络节点9的路径;The network node 1 belonging to the
从上可知,本实施例使部署了的PCE都得到了利用,提高了系统资源的利用率;进一步,由于通过BRPC方式计算得到的部分路径是最优路径,因而即使在采用另一种计算方式计算其他部分路径时得到的是最差的路径,最终的整个路径也不会是最差的路径。It can be seen from the above that this embodiment makes use of all the deployed PCEs and improves the utilization rate of system resources; furthermore, since the partial paths calculated by the BRPC method are the optimal paths, even when using another calculation method The worst path is obtained when calculating other partial paths, and the final entire path will not be the worst path either.
所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括如下步骤:第一路径计算装置PCE接收到触发第一计算方式的第一域间流量工程路径计算请求,所述第一域间流量工程路径计算请求携带目的节点标识;第一PCE判断出本PCE归属的第一自治系统AS不是到达所述目的节点的AS序列中最后一个AS,并且不能继续向第一AS在所述AS序列的下一AS发送第二域间流量工程路径计算请求;第一PCE从第一AS在所述AS序列的下一AS选取与所述第一AS有连接的第一边界节点;第一PCE采用第一计算方式计算所述第一AS中网络节点到所述第一边界节点的路径,返回路径结果信息,所述路径结果信息包括计算结果和附加信息,所述附加信息包括所述路径计算为部分路径计算以及所述第一边界节点的标识。所述的存储介质,如:ROM/RAM、磁碟、光盘等。The program may be stored in a computer-readable storage medium. When the program is executed, the program includes the following steps: the first path calculation device PCE receives a first inter-domain traffic engineering path calculation request that triggers the first calculation method, The first inter-domain traffic engineering path calculation request carries the destination node identifier; the first PCE determines that the first autonomous system AS to which the PCE belongs is not the last AS in the AS sequence to the destination node, and cannot continue to the first AS. The AS sends a second inter-domain traffic engineering path calculation request at the next AS in the AS sequence; the first PCE selects the first boundary connected to the first AS from the first AS in the next AS in the AS sequence node; the first PCE uses a first calculation method to calculate the path from the network node in the first AS to the first border node, and returns path result information, where the path result information includes calculation results and additional information, and the additional information It includes that the path calculation is a partial path calculation and an identifier of the first boundary node. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
当采用使用边界节点计算域间流量工程路径的方式时,如采用Per-domain方式计算域间流量工程路径,发起信令的网络节点即头节点需要指定一个到目的节点的松散路径,然后松散路径上的每个边界节点都需要计算其到松散路径上的下个边界节点之间的路径;当然,松散路径也可能指定的是AS,此时每个AS中的边界节点都需要计算到下个AS中某个边界节点的路径,直到将信令传递到目的节点;当信令到达某个边界节点时,该边界节点发现其归属的AS部署了PCE,则可以将域间流量工程路径计算请求发送给该PCE,触发该PCE计算剩余路径,从而使部署的PCE能够得到利用;因而本发明提供了方法的第五实施例,如图5所示,该方法实施例包括以下步骤:When using the method of calculating inter-domain traffic engineering paths using border nodes, such as using the Per-domain method to calculate inter-domain traffic engineering paths, the network node that initiates the signaling, that is, the head node, needs to specify a loose path to the destination node, and then loosen the path Each border node on the loose path needs to calculate the path between it and the next border node on the loose path; of course, the loose path may also specify an AS, and at this time each border node in the AS needs to calculate the path to the next border node The path of a border node in the AS until the signaling is delivered to the destination node; when the signaling reaches a border node, the border node finds that the AS to which it belongs has deployed a PCE, and it can calculate the inter-domain traffic engineering path calculation request Send it to the PCE, trigger the PCE to calculate the remaining path, so that the deployed PCE can be utilized; thus the present invention provides a fifth embodiment of the method, as shown in Figure 5, the method embodiment includes the following steps:
步骤501、第一边界节点接收到来自某个网络节点的触发第二计算方式的信令,该信令携带目的节点标识;
步骤502、第一边界节点判断本边界节点不是目的节点,且本边界节点归属的AS部署了PCE;
可以将目的节点标识与第一边界节点的标识进行比较,从而可以判断出本边界节点是否为该目的节点;可以根据本边界节点维护的路由信息确定本边界节点归属的AS是否部署PCE;The identification of the destination node can be compared with the identification of the first border node, so that it can be judged whether the border node is the destination node; it can be determined according to the routing information maintained by the border node whether the AS belonging to the border node deploys PCE;
步骤503、第一边界节点向PCE发送触发第一计算方式的域间流量工程路径计算请求,触发PCE采用第一计算方式计算第一边界节点到目的节点的路径;可以同时将信令中包含的松散路径作为约束条件携带在请求当中;
因为第一边界节点所在的AS部署了PCE,所以第一边界节点可以向PCE发送域间流量工程路径计算请求,从而触发PCE对路径进行计算;其中域间流量工程路径计算请求中包括有目的节点标识,以及触发第一计算方式的相关信息;Since PCE is deployed in the AS where the first border node resides, the first border node can send an inter-domain traffic engineering path calculation request to the PCE, thereby triggering the PCE to calculate the path; the inter-domain traffic engineering path calculation request includes the destination node Identification, and relevant information triggering the first calculation method;
步骤504、第一边界节点接收到PCE返回的采用第一计算方式计算得到的计算结果后,将计算结果中的路径代替信令中的松散路径发送到目的节点的信令;Step 504: After receiving the calculation result calculated by the first calculation method returned by the PCE, the first border node sends the signaling to the destination node by replacing the loose path in the signaling with the path in the calculation result;
PCE按照第一计算方式计算出从所述第一边界节点到目的节点的路径后,从计算得到的路径中选择一条或全部返回给第一边界节点,具体如何返回由所采用的第一计算方式确定,例如采用BRPC方式时返回的就是一条最优路径;第一边界节点收到路径后,就会将计算结果中的路径代替信令中的松散路径,发送到目的节点的信令。After the PCE calculates the path from the first boundary node to the destination node according to the first calculation method, select one or all of the calculated paths and return them to the first boundary node, specifically how to return to the first calculation method adopted Definitely, for example, when the BRPC method is used, the return is an optimal path; after the first border node receives the path, it will replace the loose path in the signaling with the path in the calculation result, and send the signaling to the destination node.
本实施例描述了从采用边界节点计算的方式转为采用PCE计算的方式进行计算的情况,使AS中部署的PCE能够得到充分利用,提高系统资源的利用率;进一步,采用PCE计算时得到的部分路径不会是最差路径,因而可以保证整个路径不会是最差的路径。This embodiment describes the situation of switching from the calculation method of boundary nodes to the calculation method of PCE calculation, so that the PCE deployed in the AS can be fully utilized and the utilization rate of system resources is improved; further, the calculation obtained when using PCE Part of the path will not be the worst path, so it is guaranteed that the entire path will not be the worst path.
进一步的,在实际应用中,有的边界节点是不允许部分路径计算结果的,因而本发明提供的方法的第六实施例如图6所示,包括以下步骤:Furthermore, in practical applications, some boundary nodes do not allow partial path calculation results, so the sixth embodiment of the method provided by the present invention is shown in Figure 6, including the following steps:
步骤601、第一边界节点接收到来自某个网络节点的触发第二计算方式的信令,所述信令携带目的节点标识;
步骤602、第一边界节点判断本边界节点不是目的节点,且本边界节点归属的AS部署了PCE;
步骤603、第一边界节点判断本边界节点是否允许切换为采用PCE进行计算的第一计算方式,如果是,进入步骤604;如果否,进入步骤606;
其中,是否允许切换可以通过在该域的边界节点上手工配置默认切换,或者默认不切换,或者根据策略决定是否切换;Among them, whether to allow switching can be manually configured on the boundary node of the domain by default switching, or not switching by default, or deciding whether to switch according to the policy;
步骤604、第一边界节点向PCE发送触发第一计算方式的域间流量工程路径计算请求,触发该PCE采用第一计算方式计算第一边界节点到目的节点的路径;
步骤605、第一边界节点接收到来自PCE返回的采用第一计算方式计算得到的路径计算结果后,将所述计算结果中的路径代替信令中的松散路径发送到目的节点的信令;结束;Step 605: After the first border node receives the path calculation result calculated by the first calculation method returned from the PCE, it sends the signaling of the path in the calculation result to the destination node instead of the loose path in the signaling; end ;
步骤606、第一边界节点采用第二计算方式继续传递信令;结束;
从上可知,本实施例中第一边界节点也可以在向PCE发送触发第一计算方式的域间流量工程路径计算请求时根据策略决定是否允许部分计算结果,从而可以在需要的时候灵活的切换计算方式,使部署的PCE能够得到充分利用,从而提高系统资源的利用率;进一步,由于采用PCE计算得到的部分路径不是最差路径,所以包括了非最差路径的最终路径不会是最差路径。It can be seen from the above that in this embodiment, the first border node can also decide whether to allow partial calculation results according to the policy when sending the inter-domain traffic engineering path calculation request that triggers the first calculation method to the PCE, so that it can be switched flexibly when needed The calculation method enables the deployed PCE to be fully utilized, thereby improving the utilization rate of system resources; furthermore, since some paths obtained by using PCE calculation are not the worst path, the final path including the non-worst path will not be the worst path.
以上对实际应用中边界节点计算方式切换为PCE计算方式、和PCE计算方式切换为边界节点计算方式的两种情况都进行了描述,在实际应用中很有可能在一次路径的计算中经过多次的切换,使用本发明实施例提供的方法都能够使部署了的PCE能够得到充分利用,并且在整个路径中都可以包含有采用路径计算装置计算方式计算得到的非最差路径。The above describes the two cases where the boundary node calculation method is switched to the PCE calculation method and the PCE calculation method is switched to the boundary node calculation method in practical applications. By using the method provided by the embodiment of the present invention, the deployed PCEs can be fully utilized, and the whole path can contain non-worst paths calculated by means of the path calculation device.
所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括如下步骤:第一边界节点接收到来自第二边界节点的触发第二计算方式的信令,所述信令携带目的节点标识;第一边界节点判断本边界节点不是所述目的节点,且本边界节点归属的AS部署了PCE;第一边界节点向所述PCE发送触发第一计算方式的域间流量工程路径计算请求,触发所述PCE采用第一计算方式计算所述第一边界节点到所述目的节点的路径;第一边界节点接收到所述PCE返回的采用所述第一计算方式计算得到的计算结果后,将所述计算结果中的路径代替所述信令携带的松散路径,继续发送到目的节点的信令。所述的存储介质,如:ROM/RAM、磁碟、光盘等。The program can be stored in a computer-readable storage medium. When the program is executed, it includes the following steps: the first border node receives a signaling from the second border node that triggers the second calculation method, and the signal Let carry the destination node identifier; the first border node judges that the border node is not the destination node, and the AS to which the border node belongs deploys a PCE; the first border node sends the inter-domain traffic engineering triggering the first calculation method to the PCE A path calculation request, triggering the PCE to use the first calculation method to calculate the path from the first boundary node to the destination node; the first boundary node receives the calculation calculated by the first calculation method returned by the PCE After the result, the path in the calculation result is replaced by the loose path carried in the signaling, and the signaling sent to the destination node is continued. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
如图7所示,本发明提供的路径计算装置的第一实施例包括:As shown in Figure 7, the first embodiment of the path calculation device provided by the present invention includes:
计算请求接收单元701,用于接收触发第一计算方式的第一域间流量工程路径计算请求,第一域间流量工程路径计算请求携带目的节点标识;A calculation
自治系统判断单元702,用于判断本路径计算装置归属的第一AS是否为到达所述目的节点的AS序列的最后一个AS;An autonomous
路径判断单元703,若所述自治系统判断单元判断所述第一AS不是所述AS序列的最后一个AS,判断是否能继续向第一AS在AS序列的下一AS发送第二域间流量工程路径计算请求;The
边界节点选取单元704,若所述路径判断单元判断不能继续向所述第一AS在AS序列的下一AS发送第二域间流量工程路径计算请求,从第一AS在AS序列的下一AS中选取与第一AS有连接的第一边界节点;The boundary
路径计算单元705,用于采用第一计算方式计算所述第一AS中网络节点到所述第一边界节点的路径;a
当域间流量工程路径计算请求来自上游PCE时,上述第一AS中网络节点就是第一AS中与上游PCE归属的AS有连接的边界节点;当域间流量工程路径计算请求来自头节点时,第一AS中网络节点就是该头节点,此时头节点与本PCE归属于同一AS;When the inter-domain traffic engineering path calculation request comes from the upstream PCE, the network node in the above-mentioned first AS is the border node in the first AS that is connected to the AS to which the upstream PCE belongs; when the inter-domain traffic engineering path calculation request comes from the head node, The network node in the first AS is the head node. At this time, the head node and the PCE belong to the same AS;
信息返回单元706,用于将路径计算单元的计算结果返回,同时返回附加信息,附加信息包括路径计算为部分路径计算以及第一边界节点的标识;The
使用PCE的该实施例可以在只有部分AS部署了PCE时,让部署的PCE采用PCE进行计算的方式计算域间流量工程路径,从而使部署的PCE都能得到利用,提高了系统资源的利用率;进一步,因为使用PCE进行计算的方式计算得到的部分路径不是最差的路径,所以最终的路径将不会是最差的路径。In this embodiment using PCE, when only some ASs have deployed PCEs, the deployed PCEs can use PCEs to calculate inter-domain traffic engineering paths, so that all deployed PCEs can be utilized and the utilization rate of system resources is improved. ; Further, because the partial paths calculated by using the PCE calculation method are not the worst paths, the final path will not be the worst path.
本发明进一步提供了路径计算装置的第二实施例,与路径计算装置的第一实施例相比,本实施例进一步包括一个部分路径判断单元,如图8所示:The present invention further provides a second embodiment of the path computing device. Compared with the first embodiment of the path computing device, this embodiment further includes a partial path judging unit, as shown in FIG. 8:
计算请求接收单元801,用于接收触发第一计算方式的第一域间流量工程路径计算请求,第一域间流量工程路径计算请求携带目的节点标识;A calculation
自治系统判断单元802,用于判断本路径计算装置归属的第一AS是否为到达所述目的节点的AS序列的最后一个AS;An autonomous
路径判断单元803,若所述自治系统判断单元判断所述第一AS不是所述AS序列的最后一个AS,判断是否能继续向第一AS在AS序列的下一AS发送第二域间流量工程路径计算请求;The
部分路径判断单元804,用于在路径判断单元判断不能继续向AS序列的下一AS发送域间流量工程路径计算请求时,判断域间流量工程路径计算请求是否包括允许部分路径计算结果的信息;A partial
边界节点选取单元805,若所述部分路径判断单元判断域间流量工程路径计算请求包括允许部分路径计算结果的信息,从第一AS在AS序列的下一AS中选取与第一AS有连接的第一边界节点;The boundary
路径计算单元806,用于采用第一计算方式计算所述第一AS中网络节点到所述第一边界节点的路径;a
信息返回单元807,用于将路径计算单元的计算结果返回,同时返回附加信息,附加信息包括路径计算为部分路径计算以及第一边界节点的标识;The
本实施例增加的部分路径判断单元对域间流量工程路径计算请求是否包括允许部分路径计算结果的信息进行了判断,在实际应用中可能各个AS的策略不一样,有的网络节点允许部分路径计算结果,而有的网络节点不允许部分路径计算结果,因而需要对域间流量工程路径计算请求是否包括允许部分路径计算结果的信息进行判断The partial path judging unit added in this embodiment judges whether the inter-domain traffic engineering path calculation request includes information that allows partial path calculation results. In practical applications, the policies of each AS may be different, and some network nodes allow partial path calculation. As a result, some network nodes do not allow partial path calculation results, so it is necessary to judge whether the inter-domain traffic engineering path calculation request includes information that allows partial path calculation results
如图9所示,本发明提供的网络节点装置的第一实施例包括:As shown in Figure 9, the first embodiment of the network node device provided by the present invention includes:
信令接收单元901,用于接收触发第二计算方式的信令,所述信令携带目的节点标识;A signaling receiving unit 901, configured to receive signaling that triggers the second calculation method, where the signaling carries a destination node identifier;
目的节点判断单元902,用于在信令接收单元接收到所述信令后,判断本网络节点装置是否为目的节点;A destination node judging unit 902, configured to judge whether the network node device is a destination node after the signaling receiving unit receives the signaling;
路径计算装置判断单元903,用于在目的节点判断单元判断出本网络节点装置不是所述目的节点时,判断本网络节点装置归属的第一AS是否部署了PCE;The path calculation device judgment unit 903 is configured to judge whether the first AS to which the network node device belongs deploys a PCE when the destination node judgment unit judges that the network node device is not the destination node;
计算请求发送单元904,用于在所述路径计算装置判断单元判断第一AS部署了PCE时,向该PCE发送域间流量工程路径计算请求,触发所述PCE采用第一计算方式计算本网络节点装置到目的节点的域间流量工程路径;A calculation request sending unit 904, configured to send an inter-domain traffic engineering path calculation request to the PCE when the path calculation device judging unit determines that a PCE is deployed in the first AS, and trigger the PCE to use the first calculation method to calculate the local network node The inter-domain traffic engineering path from the device to the destination node;
路径计算结果接收单元905,用于接收PCE返回的采用第一计算方式计算得到的计算结果,将所述计算结果中的路径代替信令携带的松散路径,继续发起到达目的节点的信令。The path calculation result receiving unit 905 is configured to receive the calculation result calculated by the first calculation method returned by the PCE, replace the loose path carried in the signaling with the path in the calculation result, and continue to initiate signaling to the destination node.
本发明实施例提供的该网络节点装置可以作为网络中的边界节点。该实施例可以在边界节点归属的AS中部署了PCE时,直接触发该PCE计算剩余的域间流量工程路径,从而使部署的PCE得到利用,提高系统资源的利用率;进一步,因为PCE计算得到的路径不会是最差路径,所以最终的路径将不会是最差的路径。The network node device provided in the embodiment of the present invention can be used as a border node in the network. In this embodiment, when a PCE is deployed in the AS to which the border node belongs, the PCE is directly triggered to calculate the remaining inter-domain traffic engineering path, so that the deployed PCE can be utilized and the utilization rate of system resources can be improved; further, because the PCE is calculated to obtain The path of will not be the worst path, so the final path will not be the worst path.
进一步,本发明还提供了网络节点装置的第二实施例,与网络节点装置的第一实施例相比,本实施例进一步包括计算方式切换判断单元,如图10所示:Furthermore, the present invention also provides a second embodiment of the network node device. Compared with the first embodiment of the network node device, this embodiment further includes a calculation mode switching judging unit, as shown in FIG. 10:
信令接收单元1001,用于接收触发第二计算方式的信令,所述信令携带目的节点标识;A
目的节点判断单元1002,用于在信令接收单元接收到所述信令后,判断本网络节点装置是否为目的节点;A destination
路径计算装置判断单元1003,用于在目的节点判断单元判断出本网络节点装置不是所述目的节点时,判断本网络节点装置归属的第一AS是否部署了PCE;The path calculation
计算方式切换判断单元1004,用于在路径计算装置判断单元判断本网络节点装置归属的第一AS部署了PCE时,判断本边界节点是否允许切换为采用PCE进行计算的第一计算方式;The calculation mode switching
计算请求发送单元1005,用于在所述计算方式切换判断单元判断本边界节点允许切换为采用PCE进行计算的第一计算方式时,向该PCE发送域间流量工程路径计算请求,触发所述PCE采用第一计算方式计算本网络节点装置到目的节点的域间流量工程路径;The calculation
路径计算结果接收单元1006,用于接收PCE返回的采用第一计算方式计算得到的计算结果,将所述计算结果中的路径代替信令携带的松散路径,继续发起到达目的节点的信令。The path calculation
使用网络节点装置该实施例中的网络节点装置作为边界节点时,可以保证只在边界节点允许切换为采用PCE进行计算的第一计算方式时,才触发PCE进行域间流量工程路径计算。When the network node device in this embodiment is used as a border node, it can be ensured that the PCE is triggered to perform inter-domain traffic engineering path calculation only when the border node is allowed to switch to the first calculation mode using PCE for calculation.
从上可知,通过使用本发明提供的实施例,在AS中部署了PCE时,即使该AS的下游第一个AS没有部署PCE,也可以利用已经部署的PCE进行部分的路径计算,从而使部署的PCE都得到利用,提高系统资源的利用率;进一步,由于采用PCE计算得到的部分路径不是最差路径,所以包括了非最差路径的最终路径不会是最差路径。在本发明的一些实施例中,进一步地,只在头节点或者边界节点允许部分路径计算结果的情况下才会采用边界节点计算方式和路径计算装置计算方式的混合计算,在头节点或者边界节点允许部分路径计算结果时可以灵活的切换计算方式,使部署的PCE能够得到充分利用,从而提高系统资源的利用率。It can be seen from the above that by using the embodiment provided by the present invention, when PCE is deployed in the AS, even if the first downstream AS of the AS does not deploy PCE, it can also use the already deployed PCE to perform part of the path calculation, so that the deployed All PCEs are utilized to improve the utilization rate of system resources; furthermore, since some paths calculated by using PCE are not the worst paths, the final path including non-worst paths will not be the worst path. In some embodiments of the present invention, further, only when the head node or the border node allows partial path calculation results, the hybrid calculation of the border node calculation method and the path calculation device calculation method will be used, and the head node or border node It allows flexible switching of calculation methods when calculating results for some paths, so that deployed PCEs can be fully utilized, thereby improving the utilization of system resources.
以上对本发明实施例所提供的一种域间流量工程路径计算方法和PCE进行了详细介绍,以上实施例的说明只是用于帮助理解本发明的方法及其思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction of the inter-domain traffic engineering path calculation method and PCE provided by the embodiment of the present invention. The description of the above embodiment is only used to help understand the method and the idea of the present invention; at the same time, the general technology in the field Personnel, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as limiting the present invention.
Claims (13)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101030220A CN101296178B (en) | 2007-04-29 | 2007-04-29 | Inter-domain flux engineering route computing method and route computing device |
PCT/CN2008/070358 WO2008131660A1 (en) | 2007-04-29 | 2008-02-26 | Domain traffic engineering path computation method and path computation element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101030220A CN101296178B (en) | 2007-04-29 | 2007-04-29 | Inter-domain flux engineering route computing method and route computing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101296178A CN101296178A (en) | 2008-10-29 |
CN101296178B true CN101296178B (en) | 2011-09-14 |
Family
ID=39925198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101030220A Expired - Fee Related CN101296178B (en) | 2007-04-29 | 2007-04-29 | Inter-domain flux engineering route computing method and route computing device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101296178B (en) |
WO (1) | WO2008131660A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860473B (en) * | 2009-04-08 | 2012-11-07 | 华为技术有限公司 | Path computation method |
CN101714953A (en) | 2009-12-15 | 2010-05-26 | 中兴通讯股份有限公司 | Method and device for obtaining traffic engineering label switched path (TE LSP) |
CN102611607A (en) * | 2011-01-21 | 2012-07-25 | 中兴通讯股份有限公司 | Processing method and path computation element of inter-domain link information |
WO2013149675A1 (en) * | 2012-04-05 | 2013-10-10 | Telefonaktiebolaget L M Ericsson (Publ) | Apparatus and method for computing end-to-end paths through a network comprising a plurality of network domains |
CN103023774B (en) * | 2012-11-30 | 2015-07-22 | 中兴通讯股份有限公司 | Multi-domain routing computation method and apparatus, path computation unit and routing network |
US9882804B2 (en) * | 2013-09-26 | 2018-01-30 | Cisco Technology, Inc. | Co-existence of a distributed routing protocol and centralized path computation for deterministic wireless networks |
CN104092611B (en) * | 2014-07-17 | 2018-05-15 | 新华三技术有限公司 | Determine the method and device of trans-regional affined label switched path |
US9510228B2 (en) | 2014-09-15 | 2016-11-29 | Huawei Technologies Co., Ltd. | System and method of traffic engineering in a software defined radio access network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705292A (en) * | 2004-05-31 | 2005-12-07 | 华为技术有限公司 | Route selection method for implementing cross-domain constraint-based routing |
WO2006060183A2 (en) * | 2004-12-01 | 2006-06-08 | Cisco Technology, Inc. | Propagation of routing information in rsvp-te for inter-domain te-lsps |
WO2006083771A2 (en) * | 2005-02-02 | 2006-08-10 | Cisco Technology, Inc. | Inter-domain path computation technique |
WO2007011927A2 (en) * | 2005-07-19 | 2007-01-25 | Cisco Technology, Inc. | Dynamic enforcement of mpls-te inter-domain policy and qos |
CN1947365A (en) * | 2004-05-19 | 2007-04-11 | 思科技术公司 | Reoptimization triggering by path computation elements |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7599349B2 (en) * | 2004-01-29 | 2009-10-06 | Cisco Technology, Inc. | Computing inter-autonomous system MPLS traffic engineering LSP paths |
-
2007
- 2007-04-29 CN CN2007101030220A patent/CN101296178B/en not_active Expired - Fee Related
-
2008
- 2008-02-26 WO PCT/CN2008/070358 patent/WO2008131660A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1947365A (en) * | 2004-05-19 | 2007-04-11 | 思科技术公司 | Reoptimization triggering by path computation elements |
CN1705292A (en) * | 2004-05-31 | 2005-12-07 | 华为技术有限公司 | Route selection method for implementing cross-domain constraint-based routing |
WO2006060183A2 (en) * | 2004-12-01 | 2006-06-08 | Cisco Technology, Inc. | Propagation of routing information in rsvp-te for inter-domain te-lsps |
WO2006083771A2 (en) * | 2005-02-02 | 2006-08-10 | Cisco Technology, Inc. | Inter-domain path computation technique |
WO2007011927A2 (en) * | 2005-07-19 | 2007-01-25 | Cisco Technology, Inc. | Dynamic enforcement of mpls-te inter-domain policy and qos |
Also Published As
Publication number | Publication date |
---|---|
CN101296178A (en) | 2008-10-29 |
WO2008131660A1 (en) | 2008-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103379032B (en) | The acquisition methods and device, sub-route computational entity of cross-domain end-to-end route | |
CN110944357B (en) | Method and device for network slicing | |
KR100693052B1 (en) | Apparatus and method for fast rerouting of MPLS multicast | |
JP4960443B2 (en) | Multi-domain route calculation method and system | |
EP3249865B1 (en) | Method and devices for constructing label and forwarding label packet | |
US9088485B2 (en) | System, method and apparatus for signaling and responding to ERO expansion failure in inter-domain TE LSP | |
CN101296178B (en) | Inter-domain flux engineering route computing method and route computing device | |
US7808972B2 (en) | Method for processing the distributed path information request | |
US20080198751A1 (en) | Method for implementing cross-domain constraint routing | |
US10554537B2 (en) | Segment routing in a multi-domain network | |
CN102714621A (en) | Providing feedback to path computation element | |
US9571387B1 (en) | Forwarding using maximally redundant trees | |
JP2013541290A (en) | Relayed CSPF for multiple regions and multiple autonomous systems | |
CN101237399A (en) | Method, system and device for obtaining label switching path | |
CN102771096A (en) | System and method for computing backup ingress nodes of a point-to-multipoint label-switched path | |
US20080075008A1 (en) | Transmission apparatus and path establishing method | |
US7826394B2 (en) | Method, system and device for implementing traffic engineering | |
CN101141376B (en) | Method for establishing TE path, path calculation device and system | |
CN101785261A (en) | rsvp-te enhancement for mpls-frr bandwidth optimization | |
WO2007013935A2 (en) | Method and apparatus for updating label-switched paths | |
CN106027394B (en) | Method, system and the router reused based on RSVP make-before-break label | |
CN101155119A (en) | A method, device and path calculation method for determining autonomous system boundary nodes | |
WO2009076815A1 (en) | Router and method of processing path message | |
JP5580417B2 (en) | How to calculate interlayer paths | |
CN102469008B (en) | A kind of method and system of automatic triggering layer creating secondary label switching path |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110914 Termination date: 20170429 |
|
CF01 | Termination of patent right due to non-payment of annual fee |