WO2018113793A1 - Path computation method and apparatus, pcc, pce and path computation system - Google Patents

Path computation method and apparatus, pcc, pce and path computation system Download PDF

Info

Publication number
WO2018113793A1
WO2018113793A1 PCT/CN2017/118270 CN2017118270W WO2018113793A1 WO 2018113793 A1 WO2018113793 A1 WO 2018113793A1 CN 2017118270 W CN2017118270 W CN 2017118270W WO 2018113793 A1 WO2018113793 A1 WO 2018113793A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
path calculation
requests
calculation
pce
Prior art date
Application number
PCT/CN2017/118270
Other languages
French (fr)
Chinese (zh)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018113793A1 publication Critical patent/WO2018113793A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a path calculation method and apparatus, a Path Computation Client (PCC), a Path Computation Element (PCE), and a path calculation system.
  • PCC Path Computation Client
  • PCE Path Computation Element
  • LSRs Label Switching Routers
  • IP Internet Protocol
  • MPLS Multi-Protocol Label Switching
  • a Path Computation Element refers to an entity that calculates a network path or route based on a network topology using constraints.
  • the PCE can be located on a network node or a device such as a server outside the network.
  • the PCE can calculate the Label Switched Path (TE LSP) by accessing the traffic engineering database and by bandwidth and other constraints.
  • TE LSP Label Switched Path
  • PCC Path Computation Client
  • PCE Path Computation Element
  • the invention provides a path calculation method and device, a PCC, a PCE and a path calculation system.
  • a path calculation method includes the step of performing on a path calculation client (PCC) side: establishing a plurality of path calculation requests, the plurality of path calculation requests respectively including corresponding path options; associating the plurality of path calculation requests with a set of synchronization path calculation requests to enable a path calculation unit (PCE) to perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle; and send the plurality of path calculation requests to the Said PCE.
  • PCC path calculation client
  • PCE path calculation unit
  • a path calculation method includes the step of performing, on the PCE side, receiving a plurality of path calculation requests sent by the PCC, the plurality of path calculation requests being associated as a set of synchronization path calculation requests; and calculating a request for the plurality of paths
  • the path option in the path calculation is performed according to the unique principle of the path calculation result, and the path calculation result is obtained.
  • a path calculation device is provided.
  • the path calculation device is disposed on the PCC side, and includes: a request establishment module configured to establish a plurality of path calculation requests, the multiple path calculation requests respectively including corresponding path options; an association module configured to The plurality of path calculation requests are associated as a set of synchronization path calculation requests, so that the PCE can perform path calculation on the path option in the plurality of path calculation requests according to the path calculation result unique principle; and the PCC transmission module is configured to A plurality of path calculation requests are sent to the PCE.
  • a path calculation device is provided.
  • the path calculation device is disposed on the PCE side, and includes: a PCE receiving module configured to receive a plurality of path calculation requests sent by the PCC, the multiple path calculation requests being associated as a set of synchronization path calculation requests; and a path And a calculation module configured to perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle, to obtain a path calculation result.
  • the path option in the multiple path calculation requests is performed according to the path calculation result unique principle
  • the step of obtaining the path calculation result includes: sequentially performing the path option in the multiple path calculation requests. a path calculation; and if the path calculation performed on the path option in the current path calculation request is successful, the path option that the path is successfully calculated is used as the path calculation result, and the path calculation request subsequent to the current path calculation request is The path option does not perform path calculations.
  • a PCC is provided.
  • the PCC includes the aforementioned path calculation device disposed on the PCC side.
  • a PCE is provided.
  • the PCE includes the aforementioned path calculation device disposed on the PCE side.
  • the path computation system includes the aforementioned PCC.
  • a path calculation system includes the aforementioned PCE.
  • a path calculation system includes the aforementioned PCC and the aforementioned PCE.
  • FIG. 1 is a flowchart of a path calculation method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a path calculation method according to a second embodiment of the present invention.
  • FIG. 3 is a flowchart of a path calculation method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic diagram of establishing a tunnel by using a path calculation method according to a third embodiment of the present invention.
  • Figure 5 is a block diagram of a path calculation apparatus according to a fourth embodiment of the present invention.
  • Figure 6 is a block diagram of a path calculation apparatus according to a fifth embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing an extension of a path calculation method using a SVEC object according to a third embodiment of the present invention.
  • this embodiment provides a path calculation method.
  • the method includes the following steps performed on the PCC side:
  • Step S10 Establish a plurality of path calculation requests, each path calculation request including a path option corresponding to the path calculation request.
  • Each path option has its own path limit.
  • the path limitation is, for example, a node through which the path must pass, a node to be excluded from the path, and the like. Since a path calculation request needs to be established for each path option, in this step, a plurality of path calculation requests are established, each of which includes a corresponding one of the path options. The path options in the plurality of path calculation requests are different from each other.
  • Step S20 Associate the multiple path calculation requests into a set of synchronization path calculation requests, so that the PCE performs path calculation on the path option in the multiple path calculation requests according to the path calculation result unique principle.
  • Associating a plurality of path calculation requests into a set of path calculation requests may be implemented using a synchronization vector (SVEC) object, that is, specifying, by the SVEC, the plurality of path calculation requests for a set of synchronization path calculation requests, the plurality of path calculation requests Interdependent. Therefore, on the PCE side, the path option in the multiple path calculation request can be calculated according to the path calculation result unique principle.
  • SVEC synchronization vector
  • Step S30 Send a plurality of path calculation requests to the PCE.
  • the PCC sends the plurality of path computation requests to the PCE
  • the plurality of path computation requests carry the SVEC object such that the plurality of path computation requests are transmitted in a manner associated with a set of synchronization path computation requests by the SVEC object.
  • the path option in the multiple path calculation requests associated with a set of synchronization path calculation requests is calculated according to the path calculation result unique principle: the path options in the multiple path calculation requests are sequentially performed. Perform path calculation; as long as the path calculation result is obtained after performing path calculation for the path option in one of the path calculation requests (ie, the path calculation is successful), the path calculation result is used as the unique calculation request of the set of synchronization path
  • the path calculates the result and does not process the path option (path option that has not been calculated) in the other path calculation request (path calculation).
  • the PCE first performs path calculation on the path option 1 in the path calculation request 1; if the path calculation fails, performs path calculation on the path option 2; If the path calculation for the path option 2 is successful, the path calculation request 2 corresponding to the path option is sent to the PCC, and the path calculation request 3 to M following the path calculation request 2 indicated by the SVEC object is no longer performed. .
  • the path option in the multiple path calculation requests that are associated with a set of synchronization path calculation requests is calculated according to the unique principle of the path calculation result, and the LSP can be effectively performed on multiple path options.
  • Path calculation and saves the interaction process between the PCC and the PCE when performing LSP path calculation on multiple path options, improving the path computation efficiency of the PCE (or the path computing device disposed on the PCE side).
  • the steps performed on the PCC side further include:
  • Step S40 Receive a response message sent by the PCE corresponding to a set of synchronization path calculation requests, where the response message may include a path calculation result obtained by the path calculation. That is, the PCE sends a response message to the PCC for a set of synchronization path calculation requests sent from the PCC, the response message including the path calculation performed by the PCE for the set of synchronization path calculation requests by the unique principle of the path calculation result. Path calculation results.
  • Step S50 Determine the final path option based on the path calculation result.
  • the path calculation result may include a path calculation request in which the path calculation is successful. Therefore, the step S50 may specifically include: determining a path calculation request that the path calculation is successful according to the path calculation result; and selecting a path option in the path calculation request that the path calculation succeeds as a final path option (a path option for establishing a TE tunnel) .
  • this embodiment provides a path calculation method.
  • the method includes the following steps performed on the PCE side:
  • Step S60 Receive a plurality of path calculation requests sent by the PCC, where the multiple path calculation requests are associated as a set of synchronization path calculation requests.
  • Step S70 Perform path calculation on the path option in the multiple path calculation request according to the path principle, and obtain the path calculation result.
  • the step S70 may specifically include: performing path calculation on the path options in the multiple path calculation requests in sequence; if the path calculation performed on the path option in the current path calculation request is successful, the path option that the path is successfully calculated is taken as The (unique) path calculation result, and the path option in the path calculation request (ie, the path calculation request that has not been processed) of the current path calculation request (ie, the path option that has not been calculated) is not performed.
  • path-option 1 strictly pass R2- strictly through R4; path-option 2, strictly pass R3- strictly through R4 ;path-option 3, loose through R4.
  • the SVEC associates the path computation request in which the three path options are located into a set of synchronization path calculation requests.
  • the priority of the path calculation for the set of synchronization path calculation requests is path-option 1>path-option 2>path option 3.
  • R1 acts as a PCC to initiate a path computation request to the PCE. Usually a path calculation request can only carry one path option, so the PCC sends the multiple path calculation request to the PCE.
  • the PCE will include path-option 3, that is, the path calculation request loosely passed through R4 is sent back to the PCC.
  • priority may not be set for a plurality of path options.
  • the PCE may perform path calculation on path options in other orders (such as path complexity order, node alphabetic order, random order, etc.).
  • the P flag is used in the SVEC object to indicate that a plurality of path calculation requests are associated as a set of synchronization path calculation requests, and the path calculation request Request-ID-number#1 to Request-ID-number# is in the SVEC object.
  • M M
  • the path calculation request of Request-ID-number#1 carries the path restriction of path-option 1 (path option), and the path calculation request of Request-ID-number#2 carries the path restriction of path-option 2, Request-ID-number#
  • the path calculation request of 3 carries the path limit of path-option 3.
  • the path-option 1 included in Request-ID-number#1 is processed first, if the path calculation is unsuccessful, Then, path-option 2 included in Request-ID-number#2 is calculated. If the path calculation is successful, path-option 3 in the path calculation request Request-ID-number#3 after Request-ID-number#2 is not performed. Path calculation. Then, the PCE responds to the PCC with a path response success response message, which carries Request-ID-number#2 and path-option 2. If the PCE fails to calculate the path of path-option 2 included in Request-ID-number#2, the PCE then processes the path calculation request after Request-ID-number#2, and so on.
  • the PCC parses the response message to obtain a path calculation result. If the path calculation of the PCE is successful, the path selection success path option is determined according to the Request-ID-number# number carried in the response message, and the tunnel is established according to the path option. If the path calculation fails, the tunnel establishment fails.
  • the path calculation method further includes: on the PCE side, the corresponding group of synchronization path calculation request sends a response message including the path calculation result to the PCC.
  • the path calculation method further includes: if the path calculation performed on the path options in the multiple path calculation requests fails, Then, on the PCE side, a path calculation response that fails to calculate the response path to the PCC is calculated corresponding to a set of synchronization paths.
  • this embodiment provides a path calculation device.
  • the path calculation device is disposed on the PCC side, and includes: a request establishment module 10 configured to establish a plurality of path calculation requests, the path calculation requests respectively including corresponding path options; and an association module 20 configured to calculate a plurality of path calculation requests Correlation is a set of synchronization path calculation requests, so that the PCE can perform path calculation according to the path calculation result unique principle for the path option in the multiple path calculation requests; and the PCC sending module 30 is configured to send multiple path calculation requests to PCE.
  • the path calculation apparatus of this embodiment may further include: a PCC receiving module 40 configured to send a PCE corresponding set of synchronization path calculation request after the sending module 30 sends a plurality of path calculation requests to the PCE.
  • the response message, the response message includes the path calculation result obtained by the PCE through the path calculation; the path determination module 50 is configured to determine the final path option based on the path calculation result.
  • the path determining module 50 is specifically configured to: determine a path calculation request that the path calculation is successful according to the path calculation result; and use the corresponding path option in the path calculation request that is successfully calculated by the path as The final path option.
  • the embodiment provides a path calculation device.
  • the path calculation device is disposed on the PCE side, and includes: a PCE receiving module 60 configured to receive a plurality of path calculation requests sent by the PCC, the plurality of path calculation requests being associated as a set of synchronization path calculation requests; the path calculation module 70 It is configured to perform path calculation according to the path principle of the path calculation result for the path option in the multiple path calculation request, and obtain the path calculation result.
  • the path calculation module 70 is specifically configured to: perform path calculation on the path options in the multiple path calculation requests in sequence; and if the path calculation performed on the path option in the current path calculation request is successful, The path option that successfully calculates the path is used as the path calculation result, and the path option in the path calculation request subsequent to the current path calculation request is not performed.
  • the path calculation module 70 is further configured to: if the path calculation performed on the path option in the multiple path calculation requests fails, the calculation of the request response path corresponding to the set of synchronization paths fails. Path calculation response.
  • the path calculation apparatus of this embodiment may further include a PCE sending module 80.
  • the PCE transmitting module 80 is configured to transmit a response message including a path calculation result corresponding to a set of synchronization path calculation requests.
  • the present embodiment provides a PCC including a path calculation device disposed on the PCC side according to the above.
  • the path computing device disposed on the PCC side is the PCC.
  • the present embodiment provides a PCE including a path calculation device disposed on the PCE side according to the above.
  • the path computing device disposed on the PCE side is the PCE.
  • This embodiment provides a path calculation system including a PCC according to the above.
  • This embodiment provides a path calculation system including a PCE according to the above.
  • the embodiment provides a computer readable storage medium storing computer executable instructions that, when executed, implement the path calculation method of at least one of the above-described first to third embodiments.
  • the path selection in the plurality of path calculation requests associated with the set of synchronization path calculation requests by the PCE is performed according to the path calculation result unique principle, the path calculation can be effectively performed on the plurality of path options. Moreover, the interaction process between the PCC and the PCE is saved when path calculation is performed on multiple path options, and the path computation efficiency of the PCE is improved.
  • the embodiments of the present invention and the examples and/or features in the embodiments may be combined with each other without conflict.
  • the method in the first embodiment can be combined with the method in the second embodiment
  • the PCC in the sixth embodiment and the PCE in the seventh embodiment can be combined in one network system
  • the computer in the eighth embodiment The system and the computer system in the ninth embodiment may be the same computer system.
  • the path calculation method and device, the PCC, the PCE, and the path calculation system according to the present invention save the interaction process between the PCC and the PCE when performing path calculation on multiple path options, improve the path calculation efficiency of the PCE, and have industrial practicality. Sex.

Abstract

Proposed are a path computation method and apparatus, a PCC, a PCE and a path computation system. The path computation method comprises the steps, executed at a PCC side, of: establishing a plurality of path computation requests, the plurality of path computation requests respectively comprising a corresponding path option; associating the plurality of path computation requests to be a group of synchronous path computation requests, so that a PCE can perform path computation on path options in the plurality of path computation requests according to a path computation result unique principle; and sending the plurality of path computation requests to the PCE.

Description

路径计算方法和装置、PCC、PCE及路径计算系统Path calculation method and device, PCC, PCE and path calculation system 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种路径计算方法和装置、路径计算客户端(Path Computation Client,PCC)、路径计算单元(Path Computation Element,PCE)及路径计算系统。The present invention relates to the field of communications technologies, and in particular, to a path calculation method and apparatus, a Path Computation Client (PCC), a Path Computation Element (PCE), and a path calculation system.
背景技术Background technique
在数据通信的因特网协议(Internet Protocol,IP)/多协议标签交换(Multi-Protocol Label Switching,MPLS)网络中,两个标签交换路由器(Label Switching Router,LSR)之间可以根据用户指定的显示路径或者动态路径,生成符合带宽及其他限制要求的传输路径,并在该传输路径上通过资源预留协议(Resource Reservation Protocol,RSVP)保留带宽资源并分配标签,从而建立端到端的流量工程(Traffic Engineering,TE)隧道(MPLS-TE隧道)。In the Internet Protocol (IP)/Multi-Protocol Label Switching (MPLS) network for data communication, two Label Switching Routers (LSRs) can be displayed according to the user-specified display path. Or a dynamic path, generating a transmission path that meets the bandwidth and other restrictions, and retaining bandwidth resources and allocating labels through the Resource Reservation Protocol (RSVP) on the transmission path, thereby establishing end-to-end traffic engineering (Traffic Engineering) , TE) tunnel (MPLS-TE tunnel).
路径计算单元(Path Computation Element,PCE)指基于网络拓扑,使用约束条件,计算一条网络路径或者路由的实体。PCE可位于网络节点上,也可以是一个网络外的诸如服务器的设备。PCE可以通过访问流量工程数据库,按带宽和其它约束条件,计算标签交换路径(Label Switched Path,TE LSP)。在已知技术中,提出了由路径计算客户端(Path Computation Client,PCC)向路径计算单元(Path Computation Element,PCE)提交路径计算请求,由PCE返回路径计算结果。A Path Computation Element (PCE) refers to an entity that calculates a network path or route based on a network topology using constraints. The PCE can be located on a network node or a device such as a server outside the network. The PCE can calculate the Label Switched Path (TE LSP) by accessing the traffic engineering database and by bandwidth and other constraints. In the prior art, it is proposed that a Path Computation Client (PCC) submits a path calculation request to a Path Computation Element (PCE), and the PCE returns a path calculation result.
在建立MPLS-TE隧道时,可能存在有多个路径选项,每一个路径选项包含各自的路径限制,例如必须经过的节点,需要排除的节点等。在已知技术中,当PCC向PCE发送路径计算请求时,仅一个路径选项包含在所发送的路径计算请求中(例如,依据RFC 5440PCE通信协议),不能解决多个路径选项的LSP路径计算问题。When establishing an MPLS-TE tunnel, there may be multiple path options, each of which contains its own path restrictions, such as nodes that must pass, nodes that need to be excluded, and so on. In the known technique, when the PCC sends a path calculation request to the PCE, only one path option is included in the sent path calculation request (for example, according to the RFC 5440 PCE communication protocol), and the LSP path calculation problem of multiple path options cannot be solved. .
发明内容Summary of the invention
本发明提供一种路径计算方法和装置、PCC、PCE及路径计算系统。The invention provides a path calculation method and device, a PCC, a PCE and a path calculation system.
根据本发明的一方面,提供一种路径计算方法。所述路径计算方法包括在路径计算客户端(PCC)侧执行的步骤:建立多个路径计算请求,所述多个路径计算请求分别包括对应的路径选项;将所述多个路径计算请求关联为一组同步路径计算请求,以使路径计算单元(PCE)能够对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算;以及将所述多个路径计算请求发送至所述PCE。According to an aspect of the present invention, a path calculation method is provided. The path calculation method includes the step of performing on a path calculation client (PCC) side: establishing a plurality of path calculation requests, the plurality of path calculation requests respectively including corresponding path options; associating the plurality of path calculation requests with a set of synchronization path calculation requests to enable a path calculation unit (PCE) to perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle; and send the plurality of path calculation requests to the Said PCE.
根据本发明的另一方面,提供一种路径计算方法。所述路径计算方法包括在PCE侧执行的步骤:接收PCC发来的多个路径计算请求,所述多个路径计算请求被关联为一组同步路径计算请求;以及对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果。According to another aspect of the present invention, a path calculation method is provided. The path calculation method includes the step of performing, on the PCE side, receiving a plurality of path calculation requests sent by the PCC, the plurality of path calculation requests being associated as a set of synchronization path calculation requests; and calculating a request for the plurality of paths The path option in the path calculation is performed according to the unique principle of the path calculation result, and the path calculation result is obtained.
根据本发明的另一方面,提供一种路径计算装置。所述路径计算装置设置于PCC侧,并且包括:请求建立模块,其构造为建立多个路径计算请求,所述多个路径计算请求分别包括对应的路径选项;关联模块,其构造为将所述多个路径计算请求关联为一组同步路径计算请求,以使PCE能够对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算;以及PCC发送模块,其构造为将所述多个路径计算请求发送至所述PCE。According to another aspect of the present invention, a path calculation device is provided. The path calculation device is disposed on the PCC side, and includes: a request establishment module configured to establish a plurality of path calculation requests, the multiple path calculation requests respectively including corresponding path options; an association module configured to The plurality of path calculation requests are associated as a set of synchronization path calculation requests, so that the PCE can perform path calculation on the path option in the plurality of path calculation requests according to the path calculation result unique principle; and the PCC transmission module is configured to A plurality of path calculation requests are sent to the PCE.
根据本发明的另一方面,提供一种路径计算装置。所述路径计算装置设置于PCE侧,并且包括:PCE接收模块,其构造为接收PCC发来的多个路径计算请求,所述多个路径计算请求被关联为一组同步路径计算请求;以及路径计算模块,其构造为对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果。According to another aspect of the present invention, a path calculation device is provided. The path calculation device is disposed on the PCE side, and includes: a PCE receiving module configured to receive a plurality of path calculation requests sent by the PCC, the multiple path calculation requests being associated as a set of synchronization path calculation requests; and a path And a calculation module configured to perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle, to obtain a path calculation result.
在一实施方式中,对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果的步骤包括:依次对所述多个路径计算请求中的路径选项进行路径计算;以及若对当前路径计算请求中的路径选项进行的路径计算成功,则将该路径计 算成功的路径选项作为所述路径计算结果,并且对所述当前路径计算请求后面的路径计算请求中的路径选项不进行路径计算。In an embodiment, the path option in the multiple path calculation requests is performed according to the path calculation result unique principle, and the step of obtaining the path calculation result includes: sequentially performing the path option in the multiple path calculation requests. a path calculation; and if the path calculation performed on the path option in the current path calculation request is successful, the path option that the path is successfully calculated is used as the path calculation result, and the path calculation request subsequent to the current path calculation request is The path option does not perform path calculations.
根据本发明的另一方面,提供一种PCC。所述PCC包括前述设置于PCC侧的路径计算装置。According to another aspect of the present invention, a PCC is provided. The PCC includes the aforementioned path calculation device disposed on the PCC side.
根据本发明的另一方面,提供一种PCE。所述PCE包括前述设置于PCE侧的路径计算装置。According to another aspect of the present invention, a PCE is provided. The PCE includes the aforementioned path calculation device disposed on the PCE side.
根据本发明的另一方面,提供一种路径计算系统。所述路径计算系统包括前述PCC。According to another aspect of the present invention, a path calculation system is provided. The path computation system includes the aforementioned PCC.
根据本发明的另一方面,提供一种路径计算系统。所述路径计算系统包括前述PCE。According to another aspect of the present invention, a path calculation system is provided. The path computation system includes the aforementioned PCE.
根据本发明的另一方面,提供一种路径计算系统。所述路径计算系统包括前述PCC和前述PCE。According to another aspect of the present invention, a path calculation system is provided. The path calculation system includes the aforementioned PCC and the aforementioned PCE.
附图说明DRAWINGS
图1为本发明第一实施例路径计算方法的流程图;1 is a flowchart of a path calculation method according to a first embodiment of the present invention;
图2为本发明第二实施例路径计算方法的流程图;2 is a flowchart of a path calculation method according to a second embodiment of the present invention;
图3为本发明第三实施例路径计算方法的流程图;3 is a flowchart of a path calculation method according to a third embodiment of the present invention;
图4为采用本发明第三实施例路径计算方法建立隧道的示意图;4 is a schematic diagram of establishing a tunnel by using a path calculation method according to a third embodiment of the present invention;
图5为本发明第四实施例路径计算装置的方框图;Figure 5 is a block diagram of a path calculation apparatus according to a fourth embodiment of the present invention;
图6为本发明第五实施例路径计算装置的方框图;Figure 6 is a block diagram of a path calculation apparatus according to a fifth embodiment of the present invention;
图7为本发明第三实施例路径计算方法采用SVEC对象的扩展示意图。FIG. 7 is a schematic diagram showing an extension of a path calculation method using a SVEC object according to a third embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例,对本发明进行详细说明。The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
第一实施例First embodiment
如图1所示,本实施例提供了一种路径计算方法。该方法包括在PCC侧执行的以下步骤:As shown in FIG. 1, this embodiment provides a path calculation method. The method includes the following steps performed on the PCC side:
步骤S10:建立多个路径计算请求,每个路径计算请求包括与该路径计算请求对应的路径选项。每一个路径选项具有各自的路径限制。 路径限制例如为路径必须经过的节点、路径需要排除的节点等。由于需要针对每一个路径选项建立一个路径计算请求,因此,在该步骤中,建立多个路径计算请求,该多个路径计算请求分别包括对应的一个路径选项。该多个路径计算请求中的路径选项彼此不同。Step S10: Establish a plurality of path calculation requests, each path calculation request including a path option corresponding to the path calculation request. Each path option has its own path limit. The path limitation is, for example, a node through which the path must pass, a node to be excluded from the path, and the like. Since a path calculation request needs to be established for each path option, in this step, a plurality of path calculation requests are established, each of which includes a corresponding one of the path options. The path options in the plurality of path calculation requests are different from each other.
步骤S20:将多个路径计算请求关联为一组同步路径计算请求,以使PCE对该多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算。将多个路径计算请求关联为一组路径计算请求,可以使用同步向量(SVEC)对象来实现,即,通过SVEC指定该多个路径计算请求为一组同步路径计算请求,该多个路径计算请求相互依赖。因此,在PCE侧,可以对该多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算。Step S20: Associate the multiple path calculation requests into a set of synchronization path calculation requests, so that the PCE performs path calculation on the path option in the multiple path calculation requests according to the path calculation result unique principle. Associating a plurality of path calculation requests into a set of path calculation requests may be implemented using a synchronization vector (SVEC) object, that is, specifying, by the SVEC, the plurality of path calculation requests for a set of synchronization path calculation requests, the plurality of path calculation requests Interdependent. Therefore, on the PCE side, the path option in the multiple path calculation request can be calculated according to the path calculation result unique principle.
步骤S30:将多个路径计算请求发送至PCE。PCC向PCE发送该多个路径计算请求时,该多个路径计算请求携带SVEC对象,以便该多个路径计算请求以通过SVEC对象而关联为一组同步路径计算请求的方式被发送。Step S30: Send a plurality of path calculation requests to the PCE. When the PCC sends the plurality of path computation requests to the PCE, the plurality of path computation requests carry the SVEC object such that the plurality of path computation requests are transmitted in a manner associated with a set of synchronization path computation requests by the SVEC object.
在本发明中,对被关联为一组同步路径计算请求的多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算指的是:依次对该多个路径计算请求中的路径选项进行路径计算;只要在针对其中一个路径计算请求中的路径选项进行路径计算后得出路径计算结果(即,路径计算成功),则将该路径计算结果作为该一组同步路径计算请求的唯一的路径计算结果,并且不对其它路径计算请求中的路径选项(尚未进行计算的路径选项)进行处理(路径计算)。举例来说,对于通过SVEC对象指示的M个路径计算请求1~M,PCE首先对路径计算请求1中的路径选项1进行路径计算;如果该路径计算失败,再对路径选项2进行路径计算;如果对路径选项2进行的路径计算成功,则将该路径选项所对应的路径计算请求2发送至PCC,并且对SVEC对象指示的路径计算请求2后面的路径计算请求3~M不再进行路径计算。In the present invention, the path option in the multiple path calculation requests associated with a set of synchronization path calculation requests is calculated according to the path calculation result unique principle: the path options in the multiple path calculation requests are sequentially performed. Perform path calculation; as long as the path calculation result is obtained after performing path calculation for the path option in one of the path calculation requests (ie, the path calculation is successful), the path calculation result is used as the unique calculation request of the set of synchronization path The path calculates the result and does not process the path option (path option that has not been calculated) in the other path calculation request (path calculation). For example, for the M path calculation requests 1 to M indicated by the SVEC object, the PCE first performs path calculation on the path option 1 in the path calculation request 1; if the path calculation fails, performs path calculation on the path option 2; If the path calculation for the path option 2 is successful, the path calculation request 2 corresponding to the path option is sent to the PCC, and the path calculation request 3 to M following the path calculation request 2 indicated by the SVEC object is no longer performed. .
采用本发明实施例提供的技术方案,对被关联为一组同步路径计 算请求的多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,能够有效地对多个路径选项进行LSP路径计算,并且节省了对多个路径选项进行LSP路径计算时,PCC与PCE之间的交互流程,提高了PCE(或设置于PCE侧的路径计算装置)的路径计算效率。According to the technical solution provided by the embodiment of the present invention, the path option in the multiple path calculation requests that are associated with a set of synchronization path calculation requests is calculated according to the unique principle of the path calculation result, and the LSP can be effectively performed on multiple path options. Path calculation, and saves the interaction process between the PCC and the PCE when performing LSP path calculation on multiple path options, improving the path computation efficiency of the PCE (or the path computing device disposed on the PCE side).
第二实施例Second embodiment
如图2所示,在第一实施例的基础上,在步骤S30:将多个路径计算请求发送至PCE之后,在PCC侧执行的步骤还包括:As shown in FIG. 2, on the basis of the first embodiment, after the step S30: sending a plurality of path calculation requests to the PCE, the steps performed on the PCC side further include:
步骤S40:接收PCE对应一组同步路径计算请求而发来的回应消息,该回应消息可包括路径计算得到的路径计算结果。也就是说,PCE针对从PCC发来的一组同步路径计算请求向PCC发回一条回应消息,该回应消息包括PCE针对该组同步路径计算请求通过按照路径计算结果唯一原则进行的路径计算所得到的路径计算结果。Step S40: Receive a response message sent by the PCE corresponding to a set of synchronization path calculation requests, where the response message may include a path calculation result obtained by the path calculation. That is, the PCE sends a response message to the PCC for a set of synchronization path calculation requests sent from the PCC, the response message including the path calculation performed by the PCE for the set of synchronization path calculation requests by the unique principle of the path calculation result. Path calculation results.
步骤S50:基于路径计算结果,确定出最终的路径选项。Step S50: Determine the final path option based on the path calculation result.
路径计算结果可以包括路径计算成功的路径计算请求。因此,步骤S50具体可包括:根据路径计算结果确定出路径计算成功的路径计算请求;以及将路径计算成功的路径计算请求中的路径选项作为最终的路径选项(用于建立TE隧道的路径选项)。The path calculation result may include a path calculation request in which the path calculation is successful. Therefore, the step S50 may specifically include: determining a path calculation request that the path calculation is successful according to the path calculation result; and selecting a path option in the path calculation request that the path calculation succeeds as a final path option (a path option for establishing a TE tunnel) .
第三实施例Third embodiment
如图3所示,本实施例提供了一种路径计算方法。该方法包括在PCE侧执行的以下步骤:As shown in FIG. 3, this embodiment provides a path calculation method. The method includes the following steps performed on the PCE side:
步骤S60:接收PCC发来的多个路径计算请求,该多个路径计算请求被关联为一组同步路径计算请求。Step S60: Receive a plurality of path calculation requests sent by the PCC, where the multiple path calculation requests are associated as a set of synchronization path calculation requests.
步骤S70:对该多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果。Step S70: Perform path calculation on the path option in the multiple path calculation request according to the path principle, and obtain the path calculation result.
其中,步骤S70具体可包括:依次对该多个路径计算请求中的路径选项进行路径计算;若对当前路径计算请求中的路径选项进行的路径计算成功,则将该路径计算成功的路径选项作为(唯一的)路径计 算结果,并且对当前路径计算请求后面的路径计算请求(即,尚未被处理的路径计算请求)中的路径选项(即,尚未进行计算的路径选项)不进行路径计算。The step S70 may specifically include: performing path calculation on the path options in the multiple path calculation requests in sequence; if the path calculation performed on the path option in the current path calculation request is successful, the path option that the path is successfully calculated is taken as The (unique) path calculation result, and the path option in the path calculation request (ie, the path calculation request that has not been processed) of the current path calculation request (ie, the path option that has not been calculated) is not performed.
如图4所示,例如,欲建立一条从R1到R5的TE隧道,提供3个路径选项:path-option 1:严格经过R2-严格经过R4;path-option 2,严格经过R3-严格经过R4;path-option 3,松散经过R4。SVEC将该3个路径选项所在的路径计算请求关联为一组同步路径计算请求。对该一组同步路径计算请求进行路径计算的优先级是path-option 1>path-option 2>path option 3。R1作为PCC向PCE发起路径计算请求。通常一个路径计算请求只能携带一个路径选项,因此,PCC将该多个路径计算请求发送至PCE。例如,在PCE对该path-option 1进行的路径计算不成功的情况下;PCC接着对path-option 2进行路径计算;在对该path-option 2进行的路径计算不成功的情况下,PCC对接着path-option 3路径进行路径计算;如果对path-option 3的路径计算成功,则PCE将包括path-option 3,即松散经过R4的路径计算请求发回PCC。As shown in Figure 4, for example, to establish a TE tunnel from R1 to R5, provide three path options: path-option 1: strictly pass R2- strictly through R4; path-option 2, strictly pass R3- strictly through R4 ;path-option 3, loose through R4. The SVEC associates the path computation request in which the three path options are located into a set of synchronization path calculation requests. The priority of the path calculation for the set of synchronization path calculation requests is path-option 1>path-option 2>path option 3. R1 acts as a PCC to initiate a path computation request to the PCE. Usually a path calculation request can only carry one path option, so the PCC sends the multiple path calculation request to the PCE. For example, if the path calculation performed by the PCE on the path-option 1 is unsuccessful; the PCC then performs path calculation on the path-option 2; in the case where the path calculation for the path-option 2 is unsuccessful, the PCC pair Then path calculation is performed on the path-option 3 path. If the path to path-option 3 is successfully calculated, the PCE will include path-option 3, that is, the path calculation request loosely passed through R4 is sent back to the PCC.
尽管在本实施例中限定了多个路径选项的不同优先级,但是,也可以不为多个路径选项设定优先级。在本实施例的实例中,PCE可以按其他顺序(如路径复杂度顺序、节点字母顺序、随机顺序等)对路径选项进行路径计算。Although different priorities of a plurality of path options are defined in the present embodiment, priority may not be set for a plurality of path options. In the example of this embodiment, the PCE may perform path calculation on path options in other orders (such as path complexity order, node alphabetic order, random order, etc.).
如图7所示,在SVEC对象中使用P标记指示将多个路径计算请求关联为一组同步路径计算请求,SVEC对象中将路径计算请求Request-ID-number#1至Request-ID-number#M这M个路径计算请求关联在一起,例如M为3。Request-ID-number#1的路径计算请求携带path-option 1的路径限制(路径选项),Request-ID-number#2的路径计算请求携带path-option 2的路径限制,Request-ID-number#3的路径计算请求携带path-option 3的路径限制。当PCE已接收到与Request-ID-number#1至Request-ID-number#3对应的路径计算请求时,先处理Request-ID-number#1包括的path-option 1,如果路径计算不成功,则计算Request-ID-number#2包括的path-option 2,如果路径计算成功,则对Request-ID-number#2后面的路径计算请求 Request-ID-number#3中的path-option 3不进行路径计算。然后,PCE向PCC回应路径计算成功的回应消息,该回应消息携带Request-ID-number#2和path-option 2。如果PCE对Request-ID-number#2包括的path-option 2的路径计算失败,PCE接着再处理Request-ID-number#2后面的路径计算请求,以此类推。As shown in FIG. 7, the P flag is used in the SVEC object to indicate that a plurality of path calculation requests are associated as a set of synchronization path calculation requests, and the path calculation request Request-ID-number#1 to Request-ID-number# is in the SVEC object. M These M path calculation requests are associated together, for example, M is 3. The path calculation request of Request-ID-number#1 carries the path restriction of path-option 1 (path option), and the path calculation request of Request-ID-number#2 carries the path restriction of path-option 2, Request-ID-number# The path calculation request of 3 carries the path limit of path-option 3. When the PCE has received the path calculation request corresponding to Request-ID-number#1 to Request-ID-number#3, the path-option 1 included in Request-ID-number#1 is processed first, if the path calculation is unsuccessful, Then, path-option 2 included in Request-ID-number#2 is calculated. If the path calculation is successful, path-option 3 in the path calculation request Request-ID-number#3 after Request-ID-number#2 is not performed. Path calculation. Then, the PCE responds to the PCC with a path response success response message, which carries Request-ID-number#2 and path-option 2. If the PCE fails to calculate the path of path-option 2 included in Request-ID-number#2, the PCE then processes the path calculation request after Request-ID-number#2, and so on.
如果PCC收到PCE发回的回应消息,则PCC解析回应消息得到路径计算结果。如果PCE的路径计算成功,则根据回应消息中携带的Request-ID-number#号码确定路径计算成功的路径选项,并且根据该路径选项建立隧道,如果路径计算失败,则隧道建立失败。If the PCC receives a response message sent back by the PCE, the PCC parses the response message to obtain a path calculation result. If the path calculation of the PCE is successful, the path selection success path option is determined according to the Request-ID-number# number carried in the response message, and the tunnel is established according to the path option. If the path calculation fails, the tunnel establishment fails.
在本实施例的一个实例中,在得到路径计算结果之后,路径计算方法还包括:在PCE侧,对应一组同步路径计算请求向PCC发送包括路径计算结果的回应消息。In an example of the embodiment, after obtaining the path calculation result, the path calculation method further includes: on the PCE side, the corresponding group of synchronization path calculation request sends a response message including the path calculation result to the PCC.
在本实施例的一个实例中,在依次对多个路径计算请求中的路径选项进行路径计算之后,路径计算方法还包括:若对多个路径计算请求中的路径选项进行的路径计算均失败,则在PCE侧,对应该一组同步路径计算向PCC发送回应路径计算失败的路径计算应答。In an example of the embodiment, after the path calculation is performed on the path options in the multiple path calculation requests in sequence, the path calculation method further includes: if the path calculation performed on the path options in the multiple path calculation requests fails, Then, on the PCE side, a path calculation response that fails to calculate the response path to the PCC is calculated corresponding to a set of synchronization paths.
第四实施例Fourth embodiment
如图5所示,本实施例提供了一种路径计算装置。该路径计算装置设置于PCC侧,并且包括:请求建立模块10,其构造为建立多个路径计算请求,路径计算请求分别包括对应的路径选项;关联模块20,其构造为将多个路径计算请求关联为一组同步路径计算请求,以使PCE能够对多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算;以及PCC发送模块30,其构造为将多个路径计算请求发送至PCE。As shown in FIG. 5, this embodiment provides a path calculation device. The path calculation device is disposed on the PCC side, and includes: a request establishment module 10 configured to establish a plurality of path calculation requests, the path calculation requests respectively including corresponding path options; and an association module 20 configured to calculate a plurality of path calculation requests Correlation is a set of synchronization path calculation requests, so that the PCE can perform path calculation according to the path calculation result unique principle for the path option in the multiple path calculation requests; and the PCC sending module 30 is configured to send multiple path calculation requests to PCE.
如图5所示,本实施例的路径计算装置还可包括:PCC接收模块40,其构造为在发送模块30将多个路径计算请求发送至PCE之后,接收PCE对应一组同步路径计算请求发来的回应消息,回应消息包括PCE通过路径计算得到的路径计算结果;路径确定模块50,其构造为基于路径计算结果,确定出最终的路径选项。As shown in FIG. 5, the path calculation apparatus of this embodiment may further include: a PCC receiving module 40 configured to send a PCE corresponding set of synchronization path calculation request after the sending module 30 sends a plurality of path calculation requests to the PCE. The response message, the response message includes the path calculation result obtained by the PCE through the path calculation; the path determination module 50 is configured to determine the final path option based on the path calculation result.
如图5所示,根据本实施例的一个实例,路径确定模块50具体构造为:根据路径计算结果确定出路径计算成功的路径计算请求;将路径计算成功的路径计算请求中对应的路径选项作为最终的路径选项。As shown in FIG. 5, according to an example of the embodiment, the path determining module 50 is specifically configured to: determine a path calculation request that the path calculation is successful according to the path calculation result; and use the corresponding path option in the path calculation request that is successfully calculated by the path as The final path option.
第五实施例Fifth embodiment
如图6所示,本实施例提供了一种路径计算装置。该路径计算装置设置于PCE侧,并且包括:PCE接收模块60,其构造为接收PCC发来的多个路径计算请求,多个路径计算请求被关联为一组同步路径计算请求;路径计算模块70,其构造为对多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果。As shown in FIG. 6, the embodiment provides a path calculation device. The path calculation device is disposed on the PCE side, and includes: a PCE receiving module 60 configured to receive a plurality of path calculation requests sent by the PCC, the plurality of path calculation requests being associated as a set of synchronization path calculation requests; the path calculation module 70 It is configured to perform path calculation according to the path principle of the path calculation result for the path option in the multiple path calculation request, and obtain the path calculation result.
在本实施例的一个实例中,路径计算模块70具体构造为:依次对多个路径计算请求中的路径选项进行路径计算;并且若对当前路径计算请求中的路径选项进行的路径计算成功,则将该路径计算成功的路径选项作为所述路径计算结果,并且对当前路径计算请求后面的路径计算请求中的路径选项不进行路径计算。In an example of the embodiment, the path calculation module 70 is specifically configured to: perform path calculation on the path options in the multiple path calculation requests in sequence; and if the path calculation performed on the path option in the current path calculation request is successful, The path option that successfully calculates the path is used as the path calculation result, and the path option in the path calculation request subsequent to the current path calculation request is not performed.
在本实施例的一个实例中,路径计算模块70进一步构造为:若对多个路径计算请求中的路径选项进行的路径计算均失败,则对应所述一组同步路径计算请求回应路径计算失败的路径计算应答。In an example of the embodiment, the path calculation module 70 is further configured to: if the path calculation performed on the path option in the multiple path calculation requests fails, the calculation of the request response path corresponding to the set of synchronization paths fails. Path calculation response.
如图6所示,在本实施例的一个实例中,本实施例的路径计算装置还可以包括PCE发送模块80。PCE发送模块80构造为对应一组同步路径计算请求发送包括路径计算结果的回应消息。As shown in FIG. 6, in an example of this embodiment, the path calculation apparatus of this embodiment may further include a PCE sending module 80. The PCE transmitting module 80 is configured to transmit a response message including a path calculation result corresponding to a set of synchronization path calculation requests.
第六实施例Sixth embodiment
本实施例提供了一种PCC,包括根据上文所述的设置于PCC侧的路径计算装置。The present embodiment provides a PCC including a path calculation device disposed on the PCC side according to the above.
在本实施例的一个实例中,所述设置于PCC侧的路径计算装置是所述PCC。In an example of this embodiment, the path computing device disposed on the PCC side is the PCC.
第七实施例Seventh embodiment
本实施例提供了一种PCE,包括根据上文所述的设置于PCE侧的 路径计算装置。The present embodiment provides a PCE including a path calculation device disposed on the PCE side according to the above.
在本实施例的一个实例中,所述设置于PCE侧的路径计算装置是所述PCE。In an example of this embodiment, the path computing device disposed on the PCE side is the PCE.
第八实施例Eighth embodiment
本实施例提供了一种路径计算系统,包括根据上文所述的PCC。This embodiment provides a path calculation system including a PCC according to the above.
第九实施例Ninth embodiment
本实施例提供了一种路径计算系统,包括根据上文所述的PCE。This embodiment provides a path calculation system including a PCE according to the above.
第十实施例Tenth embodiment
本实施例提供了一种计算机可读存储介质,其存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述第一至第三实施例中的至少一个的路径计算方法。The embodiment provides a computer readable storage medium storing computer executable instructions that, when executed, implement the path calculation method of at least one of the above-described first to third embodiments.
根据上述实施例,由于PCE对被关联为一组同步路径计算请求的多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,因此能够有效地对多个路径选项进行路径计算,并且节省了对多个路径选项进行路径计算时,PCC与PCE之间的交互流程,提高了PCE的路径计算效率。According to the above embodiment, since the path selection in the plurality of path calculation requests associated with the set of synchronization path calculation requests by the PCE is performed according to the path calculation result unique principle, the path calculation can be effectively performed on the plurality of path options. Moreover, the interaction process between the PCC and the PCE is saved when path calculation is performed on multiple path options, and the path computation efficiency of the PCE is improved.
本领域技术人员应当理解的是,在不冲突的情况下,本发明中的实施例以及实施例中的实例和/或特征可以相互组合。例如,第一实施例中的方法与第二实施例中的方法可以组合,第六实施例中的PCC与第七实施例中的PCE可以组合在一个网络系统中,第八实施例中的计算机系统和第九实施例中的计算机系统可以是同一个计算机系统。It will be understood by those skilled in the art that the embodiments of the present invention and the examples and/or features in the embodiments may be combined with each other without conflict. For example, the method in the first embodiment can be combined with the method in the second embodiment, and the PCC in the sixth embodiment and the PCE in the seventh embodiment can be combined in one network system, and the computer in the eighth embodiment The system and the computer system in the ninth embodiment may be the same computer system.
通过具体实施方式的说明,应当可对本发明为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本发明加以限制。The technical means and functions of the present invention for achieving the intended purpose can be more deeply and specifically understood by the description of the specific embodiments. However, the accompanying drawings are only for the purpose of illustration and description, and are not intended to limit.
工业实用性Industrial applicability
根据本发明的路径计算方法和装置、PCC、PCE及路径计算系统,节省了对多个路径选项进行路径计算时,PCC与PCE之间的交互流程,提高了PCE的路径计算效率,具备工业实用性。The path calculation method and device, the PCC, the PCE, and the path calculation system according to the present invention save the interaction process between the PCC and the PCE when performing path calculation on multiple path options, improve the path calculation efficiency of the PCE, and have industrial practicality. Sex.

Claims (18)

  1. 一种路径计算方法,其中,所述方法包括在路径计算客户端(PCC)侧执行的步骤:A path calculation method, wherein the method includes the steps performed on a path computation client (PCC) side:
    建立多个路径计算请求,所述多个路径计算请求分别包括对应的路径选项;Establishing a plurality of path calculation requests, where the plurality of path calculation requests respectively include corresponding path options;
    将所述多个路径计算请求关联为一组同步路径计算请求,以使路径计算单元(PCE)能够对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算;以及Associating the plurality of path calculation requests into a set of synchronization path calculation requests, so that the path calculation unit (PCE) can perform path calculation on the path option in the plurality of path calculation requests according to the path calculation result unique principle;
    将所述多个路径计算请求发送至所述PCE。The plurality of path computation requests are sent to the PCE.
  2. 根据权利要求1所述的路径计算方法,其中,在将所述多个路径计算请求发送至所述PCE之后,所述方法还包括在所述PCC侧执行的步骤:The path calculation method according to claim 1, wherein after transmitting the plurality of path calculation requests to the PCE, the method further comprises the step of performing on the PCC side:
    接收所述PCE对应所述一组同步路径计算请求发来的回应消息,所述回应消息包括所述PCE通过所述路径计算得到的路径计算结果;以及Receiving, by the PCE, a response message sent by the group of synchronization path calculation requests, where the response message includes a path calculation result calculated by the PCE through the path;
    基于所述路径计算结果确定出最终的路径选项。A final path option is determined based on the path calculation result.
  3. 根据权利要求2所述的路径计算方法,其中,基于所述路径计算结果确定出最终的路径选项的步骤包括:The path calculation method according to claim 2, wherein the determining the final path option based on the path calculation result comprises:
    根据所述路径计算结果确定出路径计算成功的路径计算请求;以及Determining, according to the path calculation result, a path calculation request that the path calculation succeeds;
    将所述路径计算成功的路径计算请求中的路径选项作为所述最终的路径选项。The path option in the path calculation request for which the path calculation is successful is taken as the final path option.
  4. 一种路径计算方法,其中,所述方法包括在PCE侧执行的步骤:A path calculation method, wherein the method includes the steps performed on the PCE side:
    接收PCC发来的多个路径计算请求,所述多个路径计算请求被关联为一组同步路径计算请求;以及Receiving a plurality of path calculation requests sent by the PCC, the multiple path calculation requests being associated as a set of synchronization path calculation requests;
    对所述多个路径计算请求中的路径选项按照路径计算结果唯一原 则进行路径计算,得到路径计算结果。The path option in the plurality of path calculation requests is calculated according to the path selection result unique principle, and the path calculation result is obtained.
  5. 根据权利要求4所述的路径计算方法,其中,对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果的步骤包括:The path calculation method according to claim 4, wherein the path selection in the plurality of path calculation requests is performed according to a path calculation result unique principle, and the step of obtaining the path calculation result comprises:
    依次对所述多个路径计算请求中的路径选项进行路径计算;以及Performing path calculation on the path options in the plurality of path calculation requests in turn;
    若对当前路径计算请求中的路径选项进行的路径计算成功,则将该路径计算成功的路径选项作为所述路径计算结果,并且对所述当前路径计算请求后面的路径计算请求中的路径选项不进行路径计算。If the path calculation performed on the path option in the current path calculation request is successful, the path option that the path calculation succeeds is used as the path calculation result, and the path option in the path calculation request subsequent to the current path calculation request is not Perform path calculations.
  6. 根据权利要求5所述的路径计算方法,其中,The path calculation method according to claim 5, wherein
    若对所述多个路径计算请求中的路径选项进行的路径计算均失败,则对应所述一组同步路径计算请求向所述PCC发送表示路径计算失败的路径计算应答。If the path calculation for the path option in the plurality of path calculation requests fails, the path calculation response indicating that the path calculation fails is sent to the PCC corresponding to the set of synchronization path calculation requests.
  7. 根据权利要求4或5所述的路径计算方法,其中,在得到所述路径计算结果之后,所述方法还包括在所述PCE侧执行的步骤:The path calculation method according to claim 4 or 5, wherein, after the path calculation result is obtained, the method further comprises the step of performing on the PCE side:
    对应所述一组同步路径计算请求向所述PCC发送包括所述路径计算结果的回应消息。Corresponding to the set of synchronization path calculation requests, a response message including the path calculation result is sent to the PCC.
  8. 一种路径计算装置,其中,所述路径计算装置设置于PCC侧,并且包括:A path calculation device, wherein the path calculation device is disposed on a PCC side, and includes:
    请求建立模块,其构造为建立多个路径计算请求,所述多个路径计算请求分别包括对应的路径选项;a request establishment module configured to establish a plurality of path calculation requests, the plurality of path calculation requests respectively including corresponding path options;
    关联模块,其构造为将所述多个路径计算请求关联为一组同步路径计算请求,以使PCE能够对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算;以及An association module configured to associate the plurality of path calculation requests into a set of synchronization path calculation requests, so that the PCE can perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle; and
    PCC发送模块,其构造为将所述多个路径计算请求发送至所述PCE。A PCC transmitting module configured to send the plurality of path computation requests to the PCE.
  9. 根据权利要求8所述的路径计算装置,还包括:The path calculation device of claim 8, further comprising:
    PCC接收模块,其构造为在所述PCC发送模块将所述多个路径计算请求发送至所述PCE之后,接收所述PCE对应所述一组同步路径计算请求发来的回应消息,所述回应消息包括所述PCE通过所述路径计算得到的路径计算结果;以及a PCC receiving module configured to receive, after the PCC sending module sends the multiple path calculation requests to the PCE, a response message sent by the PCE corresponding to the set of synchronization path calculation requests, the response The message includes a path calculation result calculated by the PCE through the path;
    路径确定模块,其构造为基于所述路径计算结果确定出最终的路径选项。A path determination module configured to determine a final path option based on the path calculation result.
  10. 根据权利要求9所述的路径计算装置,其中,所述路径确定模块构造为:The path computing device of claim 9, wherein the path determination module is configured to:
    根据所述路径计算结果确定出路径计算成功的路径计算请求;并且Determining a path calculation request that the path calculation succeeds according to the path calculation result; and
    将所述路径计算成功的路径计算请求中的路径选项作为所述最终的路径选项。The path option in the path calculation request for which the path calculation is successful is taken as the final path option.
  11. 一种路径计算装置,其中,所述路径计算装置设置于PCE侧,并且包括:A path calculation device, wherein the path calculation device is disposed on a PCE side, and includes:
    PCE接收模块,其构造为接收PCC发来的多个路径计算请求,所述多个路径计算请求被关联为一组同步路径计算请求;以及a PCE receiving module configured to receive a plurality of path computation requests sent by the PCC, the plurality of path computation requests being associated as a set of synchronization path computation requests;
    路径计算模块,其构造为对所述多个路径计算请求中的路径选项按照路径计算结果唯一原则进行路径计算,得到路径计算结果。The path calculation module is configured to perform path calculation on the path option in the plurality of path calculation requests according to a path calculation result unique principle, to obtain a path calculation result.
  12. 根据权利要求11所述的路径计算装置,其中,所述路径计算模块构造为:The path computing device of claim 11 wherein the path computation module is configured to:
    依次对所述多个路径计算请求中的路径选项进行路径计算;并且Performing path calculation on the path options in the plurality of path calculation requests in turn; and
    若对当前路径计算请求中的路径选项进行的路径计算成功,则将该路径计算成功的路径选项作为所述路径计算结果,并且对所述当前路径计算请求后面的路径计算请求中的路径选项不进行路径计算。If the path calculation performed on the path option in the current path calculation request is successful, the path option that the path calculation succeeds is used as the path calculation result, and the path option in the path calculation request subsequent to the current path calculation request is not Perform path calculations.
  13. 根据权利要求12所述的路径计算装置,其中,所述路径计算 模块构造为:The path computation device of claim 12, wherein the path computation module is configured to:
    若对所述多个路径计算请求中的路径选项进行的路径计算均失败,则对应所述一组同步路径计算请求向所述PCC发送表示路径计算失败的路径计算应答。If the path calculation for the path option in the plurality of path calculation requests fails, the path calculation response indicating that the path calculation fails is sent to the PCC corresponding to the set of synchronization path calculation requests.
  14. 根据权利要求11或12所述的路径计算装置,还包括PCE发送模块,所述PCE发送模块构造为:The path calculation device according to claim 11 or 12, further comprising a PCE sending module, wherein the PCE sending module is configured to:
    对应所述一组同步路径计算请求向所述PCC发送包括所述路径计算结果的回应消息。Corresponding to the set of synchronization path calculation requests, a response message including the path calculation result is sent to the PCC.
  15. 一种PCC,包括根据权利要求8至10中任一项所述的设置于所述PCC侧的路径计算装置。A PCC comprising the path computing device disposed on the PCC side according to any one of claims 8 to 10.
  16. 一种PCE,包括根据权利要求11至14中任一项所述设置于所述PCE侧的路径计算装置。A PCE comprising a path calculation device disposed on the PCE side according to any one of claims 11 to 14.
  17. 一种路径计算系统,包括根据权利要求15所述的PCC。A path calculation system comprising the PCC according to claim 15.
  18. 一种路径计算系统,包括根据权利要求16所述的PCE。A path calculation system comprising the PCE of claim 16.
PCT/CN2017/118270 2016-12-23 2017-12-25 Path computation method and apparatus, pcc, pce and path computation system WO2018113793A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611206520.3A CN108243105B (en) 2016-12-23 2016-12-23 Path calculation method, device, PCC, PCE and path calculation system
CN201611206520.3 2016-12-23

Publications (1)

Publication Number Publication Date
WO2018113793A1 true WO2018113793A1 (en) 2018-06-28

Family

ID=62624594

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/118270 WO2018113793A1 (en) 2016-12-23 2017-12-25 Path computation method and apparatus, pcc, pce and path computation system

Country Status (2)

Country Link
CN (1) CN108243105B (en)
WO (1) WO2018113793A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430376A (en) * 2021-12-31 2022-05-03 网络通信与安全紫金山实验室 Bandwidth limiting method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614558B (en) * 2020-05-11 2022-04-29 烽火通信科技股份有限公司 Method and system for optimizing work of main and standby path calculation units

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7801048B1 (en) * 2004-06-23 2010-09-21 Cisco Technology, Inc. Concurrent path computation using virtual shortest path tree
CN101854290A (en) * 2009-03-30 2010-10-06 华为技术有限公司 Path computing method, path computing unit and network system
CN102771096A (en) * 2010-02-26 2012-11-07 华为技术有限公司 System and method for computing a backup ingress of a point-to-multipoint label switched path
US20150319078A1 (en) * 2014-05-02 2015-11-05 Futurewei Technologies, Inc. Computing Service Chain-Aware Paths

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7801048B1 (en) * 2004-06-23 2010-09-21 Cisco Technology, Inc. Concurrent path computation using virtual shortest path tree
CN101854290A (en) * 2009-03-30 2010-10-06 华为技术有限公司 Path computing method, path computing unit and network system
CN102771096A (en) * 2010-02-26 2012-11-07 华为技术有限公司 System and method for computing a backup ingress of a point-to-multipoint label switched path
US20150319078A1 (en) * 2014-05-02 2015-11-05 Futurewei Technologies, Inc. Computing Service Chain-Aware Paths

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430376A (en) * 2021-12-31 2022-05-03 网络通信与安全紫金山实验室 Bandwidth limiting method and device
CN114430376B (en) * 2021-12-31 2023-08-25 网络通信与安全紫金山实验室 Bandwidth limiting method and device

Also Published As

Publication number Publication date
CN108243105B (en) 2021-10-12
CN108243105A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
EP3016323B1 (en) Service transmission path determination method, device and system
EP2892188B1 (en) Method for determining packet forwarding path, network device and control device
US10084558B2 (en) Cross-domain clock synchronization method, device and system and computer storage medium
WO2015169146A1 (en) Path calculation method, message response method and related device
US10320682B2 (en) Maintaining information of TE link
WO2015035616A1 (en) Method and device for cross-network communications
WO2009013085A1 (en) Computing a path in a label switched network
US10666562B2 (en) Network path computation method, apparatus, and system
US10230618B2 (en) Path acquisition method, path computation element, path computation client and system
WO2018113793A1 (en) Path computation method and apparatus, pcc, pce and path computation system
CN101552717A (en) Method and device for requesting computing path in multiple-domain networks
WO2015024440A1 (en) Method and system of obtaining link overhead value of ip link
WO2016095699A1 (en) Method and apparatus for acquiring state of label switching path
US8837475B2 (en) Method for controlling area boundary, method and system for establishing connection in multilayer network
WO2016058299A1 (en) Path computation method, tunnel establishment method, pcc, pce, path computation system and storage medium
Crabbe et al. Path computation element communication protocol (pcep) extensions for stateful pce
EP3020163B1 (en) Interworking between first protocol entity of stream reservation protocol and second protocol entity of routing protocol
CN104348744B (en) A kind of path calculation method and path-calculating element
WO2014166453A1 (en) Path computation element, path computation client side, load sharing method and system
WO2018086552A1 (en) Method and device for adjusting planned bandwidth
US11290372B2 (en) Method and device for establishing multi-domain dual-home path
WO2015184862A1 (en) Method and device for tunnel re-optimization path computation
WO2016008156A1 (en) Method and apparatus for cross-layer path establishment
Geleji et al. QoS routing across multiple autonomous systems using the path computation element architecture
Crabbe et al. RFC 8231: Path Computation Element Communication Protocol (PCEP) Extensions for Stateful PCE

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17885348

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17885348

Country of ref document: EP

Kind code of ref document: A1