CN102420757A - Path calculation method, device and communication system - Google Patents
Path calculation method, device and communication system Download PDFInfo
- Publication number
- CN102420757A CN102420757A CN2011103893334A CN201110389333A CN102420757A CN 102420757 A CN102420757 A CN 102420757A CN 2011103893334 A CN2011103893334 A CN 2011103893334A CN 201110389333 A CN201110389333 A CN 201110389333A CN 102420757 A CN102420757 A CN 102420757A
- Authority
- CN
- China
- Prior art keywords
- path
- cascading
- client
- path computation
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域 technical field
本发明涉及通信技术领域,具体涉及一种路径计算方法、路径计算客户端、路径计算单元及通信系统。The present invention relates to the field of communication technology, in particular to a path calculation method, a path calculation client, a path calculation unit and a communication system.
背景技术 Background technique
客户网络的设备之间由服务网络提供的物理通道互相连接,具体是服务网络的两端(源端和目的端)设备分别与两个客户网络设备连接。当有信号传输时,服务网络的源端设备将客户网络信号封装适配成服务网络中可以传送的承载信号,并传送到服务网络的目的端,服务侧网络的目的端再将客户信号还原,送入客户网络设备;当客户网络信号速率大于服务网络承载信号速率时,需要服务网络多个承载信号组合起来传送客户信号。因此,在服务侧网络里计算满足客户侧网络传送信号的路径成为一个问题。The physical channels provided by the service network are used to connect the devices of the client network to each other, specifically, the devices at both ends of the service network (source end and destination end) are respectively connected to two client network devices. When there is signal transmission, the source device of the service network encapsulates and adapts the customer network signal into a bearer signal that can be transmitted in the service network, and transmits it to the destination end of the service network, and the destination end of the service network restores the client signal. Send to the customer network equipment; when the customer network signal rate is greater than the service network bearer signal rate, it is necessary for the service network to combine multiple bearer signals to transmit the customer signal. Therefore, it becomes a problem to calculate a path in the service-side network that satisfies the transmission signal of the client-side network.
现有技术计算路径的一种方案:接收到客户侧业务请求的节点作为路径的首节点,由首节点负责计算客户侧业务请求的路径。A solution for path calculation in the prior art: the node that receives the client-side service request is used as the head node of the path, and the head node is responsible for calculating the path of the client-side service request.
当服务侧网络规模非常大时,为了防止网络中洪泛的拓扑信息过大引起网络堵塞,将网络划分成多个较小的网络域,各个网络域的拓扑信息不会洪泛到其他网络域。现有技术计算路径的另一种方案:接收到客户侧业务请求的节点作为其所处域的首节点计算本域内的路径,由该首节点所处域内的且与其它域连接的节点选择满足客户侧业务需求的路径的下一个域节点,由下一个域节点负责计算本域的路径,再由下一个域节点所处域内的与其它域连接的节点选择满足客户侧业务需求的路径的下一个域节点,最终计算得到跨域的路径。When the scale of the service-side network is very large, in order to prevent network congestion caused by excessive flooding of topology information in the network, the network is divided into multiple smaller network domains, and the topology information of each network domain will not be flooded to other network domains . Another solution for path calculation in the prior art: the node that receives the client-side service request acts as the head node in its domain to calculate the path in the domain, and the node in the domain where the head node is located and connected to other domains selects the path that satisfies The next domain node of the path required by the client-side business, the next domain node is responsible for calculating the path of this domain, and then the nodes connected to other domains in the domain where the next domain node is located select the next domain node that meets the client-side business requirements. A domain node finally calculates the cross-domain path.
但是,对于现有技术的一种计算路径的方案,每个节点都有可能作为首节点负责计算路径,当网络规模非常大时,由于节点的处理能力有限,路径的计算会增加节点的负担。而对于现有技术的另一种计算路径的方案,计算跨域的路径需要网络中多个节点参与才能够完成,方案相对较复杂。However, for a path calculation solution in the prior art, each node may be responsible for calculating the path as the first node. When the network scale is very large, the path calculation will increase the burden of the node due to the limited processing capacity of the node. As for another path calculation solution in the prior art, the calculation of the cross-domain path requires the participation of multiple nodes in the network, and the solution is relatively complicated.
发明内容 Contents of the invention
本发明实施例提供一种路径计算方法、路径计算客户端、路径计算单元及通信系统,可以简单、便捷地实现路径的计算。Embodiments of the present invention provide a path calculation method, a path calculation client, a path calculation unit, and a communication system, which can realize path calculation simply and conveniently.
本发明实施例提供一种路径计算方法,包括:An embodiment of the present invention provides a path calculation method, including:
路径计算客户端向路径计算单元发送路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;所述级联约束条件包括:级联单位、级联数量以及级联类型,所述级联数量大于1;路径计算客户端接收所述路径计算单元返回的携带路径的路径计算响应消息,所述路径是由所述路径计算单元根据所述源节点和所述目的节点、所述级联约束条件和网络中节点各接口的级联能力计算获得的。The path calculation client sends a path calculation request message to the path calculation unit, and the path calculation request message carries the source node and destination node for accessing the client-side service, and the cascading constraints of the path; the cascading constraints include: Unit, number of cascades, and type of cascades, the number of cascades is greater than 1; the path computation client receives the path computation response message returned by the path computation unit carrying the path, and the path is determined by the path computation unit according to the The source node and the destination node, the cascading constraints, and the cascading capabilities of the interfaces of the nodes in the network are calculated and obtained.
本发明实施例还提供一种路径计算方法,包括:The embodiment of the present invention also provides a path calculation method, including:
路径计算单元接收路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;路径计算单元依据所述源节点和所述目的节点、所述级联约束条件及网络中节点各接口的级联能力计算路径;其中,所述网络中节点各接口的级联能力存储在所述的路径计算单元中;路径计算单元发送路径计算响应消息,所述路径计算响应消息携带所述路径。The path calculation unit receives the path calculation request message, the path calculation request message carries the source node and the destination node for accessing the client-side service, and the cascading constraints of the path; the path calculation unit according to the source node and the destination node, the The cascading constraint conditions and the cascading capability calculation path of each interface of the node in the network; wherein, the cascading capability of each interface of the node in the network is stored in the path calculation unit; the path calculation unit sends a path calculation response message, The path computation response message carries the path.
本发明实施例提供一种路径计算客户端,包括:An embodiment of the present invention provides a path calculation client, including:
用于向路径计算单元发送路径计算请求消息的模块,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;所述级联约束条件包括:级联单位、级联数量以及级联类型,且所述级联数量大于1;用于接收所述路径计算单元返回的携带路径的路径计算响应消息的模块,所述路径是由所述路径计算单元根据所述源节点和所述目的节点、所述级联约束条件和网络中节点各接口的级联能力计算获得的。A module for sending a path computation request message to a path computation unit, the path computation request message carrying a source node and a destination node for accessing client-side services, and cascading constraint conditions of the path; the cascade constraint conditions include: cascading unit, number of cascades, and type of cascade, and the number of cascades is greater than 1; a module for receiving a path computation response message carrying a path returned by the path computation unit, the path being determined by the path computation unit according to The source node and the destination node, the cascading constraints, and the cascading capabilities of the interfaces of the nodes in the network are calculated and obtained.
本发明实施例提供一种路径计算单元,包括:An embodiment of the present invention provides a path calculation unit, including:
用于接收路径计算请求消息的模块,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;用于依据所述源节点和所述目的节点、所述级联约束条件及网络中节点各接口的级联能力计算路径的模块;用于存储所述网络中节点各接口的级联能力的模块;用于发送路径计算响应消息的模块,所述路径计算响应消息携带所述路径。A module for receiving a path computation request message, where the path computation request message carries a source node and a destination node for accessing a client-side service, and cascading constraint conditions of a path; The cascading constraint conditions and the module for calculating the cascading capability of each interface of the node in the network; the module for storing the cascading capability of each interface of the node in the network; the module for sending a path calculation response message, the path The calculation response message carries the path.
本发明实施例提供一种通信系统,所述通信系统包括路径计算客户端和路径计算单元,其中,所述路径计算客户端与所述路径计算单元相连,所述路径计算客户端为上述的路径计算客户端,所述路径计算单元为上述的路径计算单元。An embodiment of the present invention provides a communication system. The communication system includes a path computation client and a path computation unit, wherein the path computation client is connected to the path computation unit, and the path computation client is the above path The calculation client, the path calculation unit is the above-mentioned path calculation unit.
上述技术方案可以看出,在收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,由路径计算单元计算级联路径;路径计算单元首先接收网络中节点发送的各接口的级联能力,根据路径计算请求消息携带的客户侧传送业务的源节点和目的节点、路径的级联约束条件以及网络中节点各接口的级联能力计算路径。本发明实施例相对于现有技术在大规模网络里计算跨越多个网络域的路径时,该技术方案更为简单、快捷,明显降低了具体实现的复杂度。It can be seen from the above technical solution that after receiving the service transmission request from the client side, the path computation request message is sent to the path computation unit, and the path computation unit calculates the cascading path; the path computation unit first receives the information of each interface sent by the nodes in the network The cascading capability calculates the path according to the source node and destination node of the client-side transmission service carried in the path calculation request message, the cascading constraint conditions of the path, and the cascading capability of each interface of the nodes in the network. Compared with the prior art, the embodiment of the present invention has a simpler and faster technical solution when calculating paths across multiple network domains in a large-scale network, and obviously reduces the complexity of specific implementation.
附图说明 Description of drawings
图1是本发明实施例提供的服务侧网络结构示意图;FIG. 1 is a schematic diagram of a service-side network structure provided by an embodiment of the present invention;
图2是本发明第一实施例提供的路径计算方法流程图;Fig. 2 is a flow chart of the path calculation method provided by the first embodiment of the present invention;
图3是本发明第二实施例提供的路径计算方法流程图;Fig. 3 is a flow chart of the path calculation method provided by the second embodiment of the present invention;
图4是本发明第三实施例提供的节点设备结构示意图;FIG. 4 is a schematic structural diagram of a node device provided by a third embodiment of the present invention;
图5是本发明第四实施例提供的路径计算单元结构示意图;FIG. 5 is a schematic structural diagram of a path calculation unit provided by a fourth embodiment of the present invention;
图6是本发明第五实施例提供的路径计算单元结构示意图。Fig. 6 is a schematic structural diagram of a path calculation unit provided by a fifth embodiment of the present invention.
具体实施方式 Detailed ways
本发明实施例提供一种路径计算方法。本发明实施例还提供相应的节点设备和路径计算单元。以下分别进行详细说明。An embodiment of the present invention provides a path calculation method. Embodiments of the present invention also provide corresponding node devices and path calculation units. Each will be described in detail below.
在时分复用(TDM,Time Division Multiplex)网络里,可以利用级联技术使用多个承载信号为客户侧网络提供传送信号的服务。级联技术分为连续级联和虚级联。连续级联是利用同一个节点接口的不同时隙传送信号,因此要求节点接口有连续的空闲时隙来传输信号;由于连续级联利用节点接口连续的两个或两个以上空闲时隙传送信号,因此可以起到级联的作用。虚级联在连续级联不能满足当前网络设备要求的情况下发展起来,在虚级联路径的源节点将连续级联路径转换成虚级联路径,在虚级联路径的目的节点再将虚级联路径还原成连续级联路径;虚级联利用节点不同接口的空闲时隙传送信号,根据传送业务的不同,需要有多个链路参与级联,因此要求参与虚级联的每个链路的时延不能太大,以保证每条虚级联路径的差分时延满足虚级联路径源节点和目的节点的差分时延约束条件;源节点和目的节点的差分时延约束条件是缓存每条级联路径传输的数据的延时时间。In a Time Division Multiplex (TDM, Time Division Multiplex) network, cascade technology can be used to use multiple bearer signals to provide signal transmission services for the client-side network. Cascading technology is divided into continuous cascading and virtual cascading. Continuous cascading uses different time slots of the same node interface to transmit signals, so the node interface is required to have continuous idle time slots to transmit signals; since continuous cascading uses two or more consecutive idle time slots of the node interface to transmit signals , so it can play a cascading role. Virtual concatenation is developed when continuous concatenation cannot meet the requirements of current network equipment. The source node of the virtual concatenation path converts the continuous concatenation path into a virtual concatenation path, and the destination node of the virtual concatenation path converts the virtual The cascading path is restored to a continuous cascading path; the virtual concatenation uses the idle time slots of different interfaces of the nodes to transmit signals. The delay of the path cannot be too large to ensure that the differential delay of each virtual concatenation path meets the differential delay constraints of the source node and the destination node of the virtual concatenation path; the differential delay constraints of the source node and the destination node are cache The delay time of data transmitted by each cascade path.
如下,分别从单条路径、连续级联路径和虚级联路径的计算说明本发明实施例提供的路径计算方法、节点设备及路径计算单元。The following describes the path calculation method, node device, and path calculation unit provided by the embodiments of the present invention from the calculation of a single path, a continuous concatenated path, and a virtual concatenated path.
实施例一Embodiment one
本发明实施例以同步数字系列(SDH,Synchronous Digital Hierarchy)网络为例说明一种路径计算方法、节点设备及路径计算单元。但本发明实施例提供的路径计算方法、节点设备及路径计算单元也可以应用在其它TDM网络,例如光传送网络(OTN,Optical Transport Network)。In the embodiment of the present invention, a Synchronous Digital Hierarchy (SDH, Synchronous Digital Hierarchy) network is taken as an example to illustrate a path calculation method, a node device, and a path calculation unit. However, the path calculation method, node device, and path calculation unit provided in the embodiments of the present invention may also be applied to other TDM networks, such as an Optical Transport Network (OTN, Optical Transport Network).
本发明实施例在服务侧网络里构建路径计算单元(PCE,Path ComputationElement),PCE是网络中负责路径计算的功能实体,它基于已知的网络拓扑结构和约束条件,根据路径计算客户端的请求计算出一条满足约束条件的级联路径。PCE可以位于网络中的任何地方,可以集成在网络设备内部,也可以是一个独立的设备。路径计算客户端(PCC,Path Computation Client)向PCE请求计算路径、并接收PCE返回的路径。PCC和PCE之间以及PCE与PCE之间通过路径计算协议(PCEP,PCE Protocol)通信,PCEP消息用于提交路径计算请求并获得路径计算结果。In the embodiment of the present invention, a Path Computation Element (PCE, Path ComputationElement) is built in the service side network. PCE is a functional entity responsible for path computation in the network. Create a cascading path that satisfies the constraints. The PCE can be located anywhere in the network, can be integrated inside the network equipment, or can be an independent equipment. The Path Computation Client (PCC, Path Computation Client) requests the PCE to calculate the path and receives the path returned by the PCE. PCC and PCE and between PCE and PCE communicate through path computation protocol (PCEP, PCE Protocol). PCEP messages are used to submit path computation requests and obtain path computation results.
本实施例以连续级联路径和虚级联路径的计算说明本发明实施例提供的路径计算方法。该实施例接收到客户侧传送业务请求的节点向PCE发送的路径计算请求消息,该消息中携带建立路径的级联约束条件,级联约束条件包括级联单位、级联数量以及级联类型;PCE收到路径计算请求消息后,直接根据级联约束条件计算满足要求的级联路径。This embodiment illustrates the path calculation method provided by the embodiment of the present invention by using the calculation of the continuous concatenation path and the virtual concatenation path. In this embodiment, the path calculation request message sent to the PCE by the node transmitting the service request on the client side is received, and the message carries the cascading constraint condition for establishing the path, and the cascading constraint condition includes the cascading unit, the cascading quantity, and the cascading type; After receiving the path calculation request message, the PCE directly calculates the cascading path satisfying the requirements according to the cascading constraints.
图1示出了服务侧网络的结构、以及与客户侧网络连接结构。Fig. 1 shows the structure of the service side network and the connection structure with the client side network.
服务侧网络以SDH网络为例,由5个节点组成,节点的每个接口都有相应的接口编号I1、I14、I12、I21、I23、I3、I32、I35、I53、I54、I45和I41(I表示Interface),节点N1和N3分别与客户侧网络连接。在没有划分网络域的网络里,节点间洪泛各自接口对应链路的时隙状态、链路支持级联的类型、链路时延、接口的差分时延约束条件、接口编号以及与远端相连的接口编号等信息。为描述方便,本发明实施例将网络中节点各接口对应链路的时隙状态、链路时延、链路支持级联的类型、接口的差分时延约束条件、接口编号以及与远端相连的接口编号称为接口的级联能力。例如节点N1可以向网络中的节点N2、N3、N4、N5以及PCE洪泛接口I12、I14和I1的接口级联能力,节点N2可以向网络中的节点N1、N3、N4、N5以及PCE洪泛接口I21和I23的接口级联能力。在划分了网络域的网络里,网络中的每个节点向PCE发送各自接口的级联能力,路径计算单元PCE接收网络中节点的各接口的级联能力。一般情况下,网络里的PCE都具备路径计算能力,包括计算单条路径、连续级联路径和虚级联路径的能力;但是,由于网络情况各异,某些网络里的PCE不具备路径计算的能力,或者只具备计算连续级联路径和虚级联路径其中一种级联路径的能力,或者只具备计算单条路径的能力;为了适应不同网络的需求,本发明实施例提供的路径计算的方法,PCE向网络中的所有节点发送自身路径计算的能力。Taking the SDH network as an example, the service side network is composed of 5 nodes. Each interface of the node has a corresponding interface number I1, I14, I12, I21, I23, I3, I32, I35, I53, I54, I45 and I41 ( I represents Interface), and the nodes N1 and N3 are respectively connected to the client-side network. In the network without dividing the network domain, the time slot status of the link corresponding to the interface of each node, the type of link cascading supported by the link, the link delay, the differential delay constraint of the interface, the interface number, and the connection with the remote end are flooded between nodes. Connected interface number and other information. For the convenience of description, the embodiments of the present invention include the time slot status of the links corresponding to the interfaces of the nodes in the network, the link delay, the type of link cascading support, the differential delay constraints of the interface, the interface number, and the connection with the remote end. The interface number is called the cascading capability of the interface. For example, node N1 can flood the interface cascading capabilities of interfaces I12, I14 and I1 to nodes N2, N3, N4, N5 and PCE in the network, and node N2 can flood the network to nodes N1, N3, N4, N5 and PCE Interface cascading capability of universal interface I21 and I23. In a network divided into network domains, each node in the network sends the cascading capability of its interface to the PCE, and the path computation unit PCE receives the cascading capability of each interface of the node in the network. In general, all PCEs in the network have path calculation capabilities, including the ability to calculate single paths, continuous cascaded paths, and virtual cascaded paths; however, due to different network conditions, PCEs in some networks do not have path computing capabilities. ability, or only have the ability to calculate one of the continuous cascade path and the virtual cascade path, or only have the ability to calculate a single path; in order to meet the needs of different networks, the path calculation method provided by the embodiment of the present invention , the ability of PCE to send its own path calculation to all nodes in the network.
本发明实施例网络中的节点通过通用多协议标记交换(GMPLS,Generalized MPLS)的带流量工程的开放式最短路径优先(OSPF-TE,Open theShortest Path First with TE)协议消息发送自身各接口的级联能力,PCE也使用GMPLS OSPF-TE发送自身路径计算的能力。The nodes in the network of the embodiment of the present invention send the level of each interface of themselves through the Open Shortest Path First (OSPF-TE, Open the Shortest Path First with TE) protocol message of Generalized Multi-Protocol Label Switching (GMPLS, Generalized MPLS) with traffic engineering PCE also uses GMPLS OSPF-TE to send its own path calculation capability.
为满足网络中节点自身能力的需求,本发明实施例扩展GMPLS OSPF-TE协议消息,增加节点接口级联能力对象,该节点接口级联能力对象如下:In order to meet the needs of the node's own capabilities in the network, the embodiment of the present invention expands the GMPLS OSPF-TE protocol message, and increases the node interface cascading capability object. The node interface cascading capability object is as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Reserved | Flags |c|v| Delay Diff. | TS number || Reserved | Flags |c|v| Delay Diff. | TS number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
||
||
//Time Slots Info.////Time Slots Info.//
||
||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中,标志位v为1时,表示该链路支持虚级联,Delay Diff.指示接口的差分时延约束条件;标志位c为1时,表示该链路支持连续级联;TSnumber表示时隙个数;Time slots info以位图方式表示链路中各时隙的占用情况。Among them, when the flag bit v is 1, it means that the link supports virtual concatenation, and Delay Diff indicates the differential delay constraint condition of the interface; when the flag bit c is 1, it means that the link supports continuous concatenation; TSnumber indicates the time slot Number; Time slots info indicates the occupancy of each time slot in the link in a bitmap manner.
为满足PCE向网络中节点发送自身路径计算的能力的需求,本发明实施例扩展GMPLS OSPF-TE协议消息,增加PCE路径计算能力对象,具体如下:In order to meet the needs of the PCE to send its own path calculation capability to the nodes in the network, the embodiment of the present invention expands the GMPLS OSPF-TE protocol message and increases the PCE path calculation capability object, as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Reserved |Flags |c|v| Reserved || Reserved |Flags |c|v| Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中c标志位为1表示该PCE具有连续级联路径计算能力;v标志位为1表示该PCE具有虚级联路径计算能力。Wherein, the c flag bit is 1, indicating that the PCE has the continuous cascading path computing capability; the v flag bit is 1, indicating that the PCE has the virtual cascading path computing capability.
最终,网络中的节点存储网络中各节点接口的级联能力、PCE路径计算的能力。在划分网络域的网络里,网络中的节点存储所处网络域节点接口的级联能力、网络中PCE路径计算的能力。PCE存储有网络中节点各接口的级联能力。Finally, the nodes in the network store the cascading capability of the interface of each node in the network and the capability of PCE path calculation. In a network divided into network domains, nodes in the network store the cascading capability of the interface of the node in the network domain and the PCE path calculation capability in the network. The PCE stores the cascading capability of each interface of the nodes in the network.
当与客户侧网络连接的节点N1收到客户侧传送业务的请求后,根据请求要求的带宽、请求传送信号的目的节点、客户侧传送业务的信号类型确定需要提供的级联数量、级联单位以及级联类型等级联约束条件,向PCE发送路径计算请求。When the node N1 connected to the client-side network receives the client-side transmission service request, it determines the number of cascades to be provided and the cascade unit according to the bandwidth required by the request, the destination node of the requested signal transmission, and the signal type of the client-side transmission service And the cascading type cascading constraints, and send a path calculation request to the PCE.
如图2所示,是本发明第一实施例提供的路径计算方法流程图。As shown in FIG. 2 , it is a flow chart of the path calculation method provided by the first embodiment of the present invention.
步骤101、路径计算客户端向路径计算单元发送路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件。Step 101, the path computation client sends a path computation request message to the path computation unit, and the path computation request message carries the source node and the destination node for accessing the client-side service, and cascade constraint conditions of the path.
结合图1可知,节点N1作为PCC向PCE发送路径计算请求消息。It can be seen from FIG. 1 that the node N1, acting as the PCC, sends a path calculation request message to the PCE.
假设节点N1收到客户侧传送业务的请求,节点N1作路径的首节点,节点N3作为该路径的出口节点。节点N1作为PCC向PCE发送路径计算请求消息,在PCEP协议里通过PCReq消息发送路径计算请求;作为PCC的节点N1根据客户侧传送业务要求的带宽判断需要建立的路径是连续级联路径或虚级联路径,PCReq消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件。以服务侧网络建立的一条路径为例说明,该路径的源节点连接传送业务的客户侧网络,该路径的目的节点连接接收业务的客户侧网络。当需要建立的路径是连续级联路径时,级联约束条件包括:级联单位、级联数量以及级联类型。当需要建立的路径是虚级联路径时,级联约束条件包括:级联单位、级联数量以及级联类型。Assuming that node N1 receives a request from the client side to transmit services, node N1 acts as the head node of the path, and node N3 acts as the exit node of the path. Node N1, as PCC, sends a path calculation request message to PCE, and sends a path calculation request through PCReq message in the PCEP protocol; node N1, as PCC, judges whether the path to be established is a continuous cascading path or a virtual level according to the bandwidth required by the client-side transmission service The PCReq message carries the source node and destination node for accessing the client-side service, and the cascading constraints of the path. Taking a path established by the service-side network as an example, the source node of the path is connected to the client-side network that transmits the service, and the destination node of the path is connected to the client-side network that receives the service. When the path to be established is a continuous cascading path, the cascading constraint conditions include: cascading unit, cascading quantity, and cascading type. When the path to be established is a virtual cascading path, the cascading constraint conditions include: cascading unit, cascading quantity, and cascading type.
本发明实施例扩展PCEP协议,以便在PCReq消息携带包括级联单位、级联数量级联类型等级联约束条件。在PCReq消息中增加级联约束条件对象,该对象格式如下:The embodiment of the present invention extends the PCEP protocol, so that the PCReq message carries the concatenation unit, the concatenation quantity, the concatenation type and the concatenation constraint condition. Add a cascading constraint object in the PCReq message, and the format of the object is as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
|LSP Enc.Type|Switching Type|Src Delay Diff.|Dst Delay Diff.||LSP Enc.Type|Switching Type|Src Delay Diff.|Dst Delay Diff.|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Signal Type |Concat.Type | Reserved | LSP number || Signal Type |Concat.Type | Reserved | LSP number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中,“LSP Enc.Type”、“Switching Type”及“Signal Type”三项确定级联单位。例如级联单位为ODU2时,LSP Enc.Type=12(G.709ODUk),Switching Type=100(TDM),Signal Type=2(ODU2);级联单位为VC4时,LSP Enc.Type=5(SDH ITU-T G.707/SONET ANSI T1.105),SwitchingType=100(TDM),Signal Type=6(VC4)。Among them, "LSP Enc.Type", "Switching Type" and "Signal Type" determine the cascade unit. For example, when the cascading unit is ODU2, LSP Enc.Type=12(G.709ODUk), Switching Type=100(TDM), Signal Type=2(ODU2); when the cascading unit is VC4, LSP Enc.Type=5( SDH ITU-T G.707/SONET ANSI T1.105), SwitchingType=100(TDM), SignalType=6(VC4).
Concat.Type指示级联类型,目前定义:1表示连续级联,2表示虚级联。Concat.Type indicates the type of concat, currently defined: 1 means continuous concatenation, 2 means virtual concat.
LSP number指示级联数量,请求计算的路径是连续级联路径或虚级联路径时,该值是大于1的任意值。LSP number indicates the number of cascades. When the path requested to be calculated is a continuous cascade path or a virtual cascade path, this value is any value greater than 1.
Src Delay Diff.指示源节点差分时延约束条件;Dst Delay Diff.指示目的节点差分时延约束条件。Src Delay Diff. Indicates the source node differential delay constraint; Dst Delay Diff. Indicates the destination node differential delay constraint.
需要说明的是,若PCE没有存储待计算级联路径的目的节点的差分时延约束条件,则由发送路径计算请求的节点N1向目的节点N3发送获取目的节点差分时延约束条件的消息。本发明实施例通过GMPLS呼叫消息获取目的节点差分时延约束条件。It should be noted that if the PCE does not store the differential delay constraints of the destination nodes of the cascade path to be calculated, the node N1 sending the path calculation request sends a message to obtain the destination node differential delay constraints to the destination node N3. In the embodiment of the present invention, the constraint condition of the differential time delay of the destination node is acquired through the GMPLS call message.
本发明实施例扩展GMPLS CALL呼叫消息(Notify)中的LINK_CAPABILITY对象,携带该接口的差分时延约束条件信息:The embodiment of the present invention extends the LINK_CAPABILITY object in the GMPLS CALL call message (Notify) to carry the differential time delay constraint condition information of the interface:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Reserved | Flags |v| Max Delay Difference || Reserved | Flags |v| Max Delay Difference |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| || | | |
//(Subobjects)////(Subobjects)//
| || | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
V标志位指示链路虚级联能力;Max Delay Difference字段指示记录目的节点接口的差分时延约束条件。The V flag bit indicates the virtual concatenation capability of the link; the Max Delay Difference field indicates the differential delay constraint condition of the interface of the recording destination node.
路径计算客户端发送的路径计算请求消息还携带接入客户侧业务的源节点和目的节点的差分时延约束条件。The path computation request message sent by the path computation client also carries the differential delay constraints between the source node and the destination node accessing the client-side service.
步骤102、路径计算单元接收路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件。Step 102, the path computation unit receives a path computation request message, and the path computation request message carries the source node and destination node for accessing the client-side service, and cascade constraint conditions of the path.
PCE接收到的PCReq消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件,该级联约束条件包括级联单位、级联数量及级联类型。请求是连续级联路径时,PCReq消息指出客户侧业务的源节点是N1和目的节点是N3、级联单位以及级联数量,并指出级联类型是连续级联;请求是虚级联路径时,PCReq消息指出客户侧业务的源节点是N1和目的节点是N3、级联单位以及级联数量,并指出级联类型是虚级联。The PCReq message received by the PCE carries the source node and destination node for accessing the client-side service, and the cascading constraints of the path. The cascading constraints include the cascading unit, the cascading quantity, and the cascading type. When the request is a continuous cascading path, the PCReq message indicates that the source node of the client-side service is N1 and the destination node is N3, the cascading unit and the number of cascading, and indicates that the cascading type is continuous cascading; when the request is a virtual cascading path , the PCReq message indicates that the source node of the client-side service is N1 and the destination node is N3, the concatenation unit and the concatenation quantity, and indicates that the concatenation type is virtual concatenation.
步骤103、路径计算单元依据接入客户侧业务的源节点和目的节点、路径的级联约束条件以及网络中节点各接口的级联能力计算路径。Step 103, the path calculation unit calculates the path according to the source node and destination node accessing the client side service, the cascading constraints of the path, and the cascading capability of each interface of the nodes in the network.
PCE上存储的网络中各接口的级联能力如表1所示:The cascading capabilities of each interface in the network stored on the PCE are shown in Table 1:
建立虚级联路径时,网络中节点各接口的级联能力如表2所示:When establishing a virtual cascading path, the cascading capabilities of each interface of the nodes in the network are shown in Table 2:
需要说明的是,上述表1和表2中表示接口级联能力的各项如:链路时隙状态、链路时延、接口的差分时延约束条件等会与接口编号和远端接口编号对应存储。本实施例为了更清楚地描述本发明实施例提供的路径计算方法,从接口级联能力各项对应存储的信息中提取分别满足计算连续级联和虚级联的表1和表2。It should be noted that the items in the above Tables 1 and 2 that represent the interface cascading capabilities, such as link time slot status, link delay, and interface differential delay constraints, will be related to the interface number and remote interface number. corresponding storage. In this embodiment, in order to more clearly describe the path calculation method provided by the embodiment of the present invention, Table 1 and Table 2 that respectively satisfy the calculation of continuous concatenation and virtual concatenation are extracted from the information stored corresponding to the interface concatenation capabilities.
PCE依据接入客户侧业务的源节点和目的节点、路径的级联单位、路径的级联数量、级联类型、源节点和目的节点的差分时延约束条件以及网络中节点各接口的级联能力,排除不满足约束条件的链路,利用算法计算级联路径。假设客户侧传送业务要求的带宽是155M/S,判断需要建立级联路径,且请求计算的路径是连续级联路径,根据带宽的计算需要两条级联路径传送客户侧业务,即需要接口链路的连续空闲时隙是两个,PCE根据PCReq消息携带的级联约束条件和表1中节点各接口的级联能力(如链路时隙状态和对应的接口以及远端接口编号)计算得到满足要求的路径I12-I21-I23-I32。假设客户侧传送业务要求的带宽是155M/S,判断需要建立级联路径,且请求计算的路径是虚级联路径,PCE根据PCReq消息携带的级联约束条件和表2中节点各接口的级联能力(如链路时隙状态、链路时延、接口差分时延约束条件等信息和对应的接口以及远端接口编号)计算得到满足要求的路径I1-I12-I21-I23-I32-I3和I1-I14-I41-I45-I54-I53-I35-I3。PCE is based on the source node and destination node accessing the client-side service, the cascading unit of the path, the number of cascading paths, the cascading type, the differential delay constraints of the source node and the destination node, and the cascading of each interface of the nodes in the network Ability to exclude links that do not meet the constraints, and use algorithms to calculate cascading paths. Assuming that the bandwidth required by the client side to transmit services is 155M/S, it is judged that a cascade path needs to be established, and the path requested for calculation is a continuous cascade path. According to the bandwidth calculation, two cascade paths are required to transmit the client side service, that is, an interface link is required. There are two consecutive free time slots on the road, and the PCE is calculated based on the concatenation constraints carried in the PCReq message and the concatenation capabilities of each interface of the node in Table 1 (such as the state of the link time slot, the corresponding interface and the number of the remote interface) Path I12-I21-I23-I32 that meets the requirements. Assuming that the bandwidth required by the client side to transmit services is 155M/S, it is judged that a cascading path needs to be established, and the path requested for calculation is a virtual cascading path. The path I1-I12-I21-I23-I32-I3 that meets the requirements is calculated based on the connection capability (such as link time slot status, link delay, interface differential delay constraints and other information and the corresponding interface and remote interface number) And I1-I14-I41-I45-I54-I53-I35-I3.
步骤104、路径计算单元向路径计算客户端发送路径计算响应消息,该路径计算响应消息携带计算获得的路径。In step 104, the path computation unit sends a path computation response message to the path computation client, where the path computation response message carries the computed path.
PCE通过PCReq消息向PCC发送经计算获得的路径信息,该路径是满足级联约束条件的级联路径,其中级联约束条件包括:级联单位、级联数量以及级联类型,对于级联路径来说级联数量是大于1的任意值。The PCE sends the calculated path information to the PCC through the PCReq message. The path is a cascade path that satisfies the cascade constraint conditions. The cascade constraint conditions include: cascade unit, cascade quantity, and cascade type. For the cascade path For example, the number of cascades is any value greater than 1.
步骤105、路径计算客户端接收路径计算单元返回的携带路径的路径计算响应消息,该路径是由路径计算单元根据接入客户侧业务的源节点和目的节点、级联约束条件和网络中节点各接口的级联能力计算获得的。Step 105, the path calculation client receives the path calculation response message returned by the path calculation unit, which carries the path. The cascading capability of the interface is calculated.
路径计算客户端依据级联路径以及路径的级联约束条件建立连接。The path calculation client establishes a connection according to the cascading path and the cascading constraints of the path.
至此,在服务侧网络建立了满足客户侧信号传送的路径。So far, a path that satisfies client-side signal transmission has been established on the service-side network.
在本发明实施例提供的网络构架下,本实施例提供的路径计算方法同样适用于单条路径的计算。单条路径的计算与上述描述实施例不同之处主要有:步骤101中路径计算客户端向路径计算单元发送路径计算请求消息携带的级联约束条件包括:级联单位和级联数量,且级联数量是1,其中PCReq消息中指示级联数量的LSP number值为1,指示级联类型的Concat.Type值为0;步骤102中PCReq消息携带的是接入客户侧业务的源节点是N1和目的节点是N3、级联单位以及级联数量;步骤103中,假设客户侧传送业务要求的带宽是100M/S,节点N1判断需要建立的路径是单条路径,请求计算的路径是单条路径,则PCE根据PCReq消息携带的级联约束条件和表1中节点各接口的级联能力计算得到满足要求的路径I12-I21-I23-I32,其中单条路径的计算利用各接口的级联能力主要是接口链路的时隙状态;步骤104中路径计算响应消息携带的路径是符合级联单位要求的单条路径;在步骤105后,单条路径建立连接时,不需要依赖级联约束条件。Under the network framework provided by the embodiment of the present invention, the path calculation method provided by this embodiment is also applicable to the calculation of a single path. The calculation of a single path differs from the embodiments described above mainly in that: in step 101, the path calculation client sends the path calculation request message to the path calculation unit. Quantity is 1, wherein the LSP number value of indicating cascading quantity in the PCReq message is 1, and the Concat.Type value of indicating the cascading type is 0; What PCReq message carried in the step 102 is that the source node of access client side business is N1 and The destination node is N3, the cascading unit and the number of cascading; in step 103, assuming that the bandwidth required by the client side to transmit services is 100M/S, node N1 judges that the path to be established is a single path, and the path to be calculated is a single path, then The PCE calculates the path I12-I21-I23-I32 that meets the requirements according to the cascading constraints carried in the PCReq message and the cascading capabilities of each interface of the node in Table 1. The calculation of a single path uses the cascading capabilities of each interface mainly through the interface The time slot status of the link; the path carried in the path calculation response message in step 104 is a single path that meets the requirements of the cascading unit; after step 105, when a single path establishes a connection, it does not need to rely on cascading constraints.
实施例二Embodiment two
本发明实施例以同步数字系列(SDH,Synchronous Digital Hierarchy)网络为例说明一种路径计算方法、节点设备及路径计算单元。但本发明实施例提供的路径计算方法、节点设备及路径计算单元也可以应用在其他TDM网络,例如光传送网络(OTN,Optical Transport Network)。In the embodiment of the present invention, a Synchronous Digital Hierarchy (SDH, Synchronous Digital Hierarchy) network is taken as an example to illustrate a path calculation method, a node device, and a path calculation unit. However, the path calculation method, node device, and path calculation unit provided by the embodiments of the present invention can also be applied to other TDM networks, such as an Optical Transport Network (OTN, Optical Transport Network).
本发明实施例在服务侧网络里构建路径计算单元(PCE,Path ComputationElement),PCE是网络中负责路径计算的功能实体,它基于已知的网络拓扑结构和约束条件,根据路径计算客户端的请求计算出一条满足约束条件的级联路径。PCE可以位于网络中的任何地方,可以集成在网络设备内部,也可以是一个独立的设备。路径计算客户端(PCC,Path Computation Client)向PCE请求计算路径、并接收PCE返回的路径。PCC和PCE之间以及PCE与PCE之间通过路径计算协议(PCEP,PCE Protocol)通信,PCEP消息用于提交路径计算请求并获得路径计算结果。In the embodiment of the present invention, a Path Computation Element (PCE, Path ComputationElement) is built in the service side network. PCE is a functional entity responsible for path computation in the network. Create a cascading path that satisfies the constraints. The PCE can be located anywhere in the network, can be integrated inside the network equipment, or can be an independent equipment. The Path Computation Client (PCC, Path Computation Client) requests the PCE to calculate the path and receives the path returned by the PCE. PCC and PCE and between PCE and PCE communicate through path computation protocol (PCEP, PCE Protocol). PCEP messages are used to submit path computation requests and obtain path computation results.
本实施例以连续级联路径和虚级联路径的计算说明本发明实施例提供的路径计算方法。该实施例接收到客户侧传送业务请求的节点向PCE发送的路径计算请求消息,该消息中携带建立路径的级联约束条件,包括级联单位、级联数量以及级联类型;PCE收到路径计算请求消息后,直接根据级联约束条件计算满足要求的路径。This embodiment illustrates the path calculation method provided by the embodiment of the present invention by using the calculation of the continuous concatenation path and the virtual concatenation path. This embodiment receives the path calculation request message sent to the PCE by the node that transmits the service request on the client side. After calculating the request message, directly calculate the path that satisfies the requirements according to the cascading constraints.
以图1的网络结构为例说明本发明实施例提供的路径计算方法。The path calculation method provided by the embodiment of the present invention is described by taking the network structure in FIG. 1 as an example.
服务侧网络以SDH网络为例,由5个节点组成,节点的每个接口都有相应的接口编号I1、I14、I12、I21、I23、I3、I32、I35、I53、I54、I45和I41(I表示Interface),节点N1和N3分别与客户侧网络连接。在没有划分网络域的网络里,节点间洪泛各自接口对应链路的时隙状态、链路时延、链路支持级联的类型、接口的差分时延约束条件、接口编号以及与远端相连的接口编号等信息。为描述方便,本发明实施例将网络中节点各接口对应的链路的时隙状态、链路时延、链路支持级联的类型、接口的差分时延约束条件、接口编号以及与远端相连的接口编号称为接口的级联能力。例如节点N1可以向网络中的节点N2、N3、N4、N5以及PCE洪泛接口I12,I14和I1的接口级联能力,节点N2可以向网络中的节点N2、N3、N4、N5以及PCE洪泛接口I21和I23的接口级联能力。在划分了网络域的网络里,网络中的每个节点向PCE发送各自接口的级联能力,路径计算单元PCE接收网络中节点的各接口的级联能力。一般情况下,网络里的PCE都具备路径计算能力,包括计算单条路径、连续级联路径和虚级联路径的能力;但是,由于网络情况各异,某些网络里的PCE不具备路径计算的能力,或者只具备计算连续级联路径或虚级联路径其中一种级联路径的能力,或者只具备计算单条路径的能力;为了适应不同网络的需求,本发明实施例提供的路径计算的方法,PCE向网络中的所有节点发送自身路径计算能力。Taking the SDH network as an example, the service side network is composed of 5 nodes. Each interface of the node has a corresponding interface number I1, I14, I12, I21, I23, I3, I32, I35, I53, I54, I45 and I41 ( I represents Interface), and the nodes N1 and N3 are respectively connected to the client-side network. In the network without dividing the network domain, the time slot status of the link corresponding to the interface of each node, the link delay, the type of link support cascading, the differential delay constraint of the interface, the interface number and the connection with the remote end are flooded between nodes. Connected interface number and other information. For the convenience of description, the embodiment of the present invention uses the time slot status of the link corresponding to each interface of the node in the network, the link delay, the type of link support cascading, the differential delay constraint condition of the interface, the interface number, and the connection with the remote The number of the connected interface is called the cascading capability of the interface. For example, node N1 can flood the interface cascading capabilities of interfaces I12, I14 and I1 to nodes N2, N3, N4, N5 and PCE in the network, and node N2 can flood nodes N2, N3, N4, N5 and PCE in the network Interface cascading capability of universal interface I21 and I23. In a network divided into network domains, each node in the network sends the cascading capability of its interface to the PCE, and the path computation unit PCE receives the cascading capability of each interface of the node in the network. In general, all PCEs in the network have path calculation capabilities, including the ability to calculate single paths, continuous cascaded paths, and virtual cascaded paths; however, due to different network conditions, PCEs in some networks do not have path computing capabilities. ability, or only have the ability to calculate one of the continuous cascading paths or virtual cascading paths, or only have the ability to calculate a single path; in order to meet the needs of different networks, the path calculation method provided by the embodiment of the present invention , PCE sends its own path calculation capability to all nodes in the network.
本发明实施例网络中的节点通过GMPLS OSPF-TE协议消息发送自身各接口的级联能力,PCE也使用GMPLS OSPF-TE发送自身路径计算的能力。The nodes in the network of the embodiment of the present invention send the cascading capabilities of their own interfaces through the GMPLS OSPF-TE protocol message, and the PCE also uses the GMPLS OSPF-TE to send its own path calculation capabilities.
为满足网络中节点自身能力的需求,本发明实施例扩展GMPLS OSPF-TE协议消息,增加节点接口级联能力对象,该节点接口级联能力对象如下:In order to meet the needs of the node's own capabilities in the network, the embodiment of the present invention expands the GMPLS OSPF-TE protocol message, and increases the node interface cascading capability object. The node interface cascading capability object is as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Reserved | Flags |c|v| Delay Diff. | TS number || Reserved | Flags |c|v| Delay Diff. | TS number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
||
||
//Time Slots Info.////Time Slots Info.//
||
||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中,标志位v为1时,表示该链路支持虚级联,Delay Diff.指示接口的差分时延约束条件;标志位c为1时,表示该链路支持连续级联;TSnumber表示时隙个数;Time slots info以位图方式表示链路中各时隙的占用情况。Among them, when the flag bit v is 1, it means that the link supports virtual concatenation, and Delay Diff indicates the differential delay constraint condition of the interface; when the flag bit c is 1, it means that the link supports continuous concatenation; TSnumber indicates the time slot Number; Time slots info indicates the occupancy of each time slot in the link in a bitmap manner.
为满足PCE向网络中节点发送自身路径计算的能力的需求,本发明实施例扩展GMPLS OSPF-TE协议消息,增加PCE路径计算能力对象,具体如下:In order to meet the needs of the PCE to send its own path calculation capability to the nodes in the network, the embodiment of the present invention expands the GMPLS OSPF-TE protocol message and increases the PCE path calculation capability object, as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Reserved | Flags |c|v| Reserved || Reserved | Flags |c|v| Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中c标志位为1表示该PCE具有连续级联路径计算能力;v标志位为1表示该PCE具有虚级联路径计算能力。Wherein, the c flag bit is 1, indicating that the PCE has the continuous cascading path computing capability; the v flag bit is 1, indicating that the PCE has the virtual cascading path computing capability.
最终,网络中的节点存储网络中各节点接口的级联能力,PCE路径计算的能力。在划分网络域的网络里,网络中的节点存储所处网络域节点接口的级联能力、网络中PCE路径计算的能力。PCE存储有网络中各节点各接口的级联能力。Finally, the nodes in the network store the cascading capability of the interface of each node in the network, and the capability of PCE path calculation. In a network divided into network domains, nodes in the network store the cascading capability of the interface of the node in the network domain and the PCE path calculation capability in the network. The PCE stores the cascading capability of each interface of each node in the network.
当与客户侧网络连接的节点N1收到客户侧传送业务的请求后,根据请求要求的带宽、请求传送业务的目的节点、客户侧传送业务的信号类型判断需要提供包括级联数量、级联单位以及级联类型等级联约束条件,向PCE发送路径计算请求。When the node N1 connected to the client-side network receives the client-side transmission service request, according to the bandwidth required by the request, the destination node of the requested transmission service, and the signal type of the client-side transmission service, it needs to provide information including the number of cascades and the cascade unit. And the cascading type cascading constraints, and send a path calculation request to the PCE.
如图3所示,是本发明第二实施例提供的路径计算方法流程图。As shown in FIG. 3 , it is a flow chart of the path calculation method provided by the second embodiment of the present invention.
步骤201、路径计算客户端向路径计算单元发送路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型。
结合图1可知,节点N1作为PCC向PCE发送路径计算请求消息。It can be seen from FIG. 1 that the node N1, acting as the PCC, sends a path calculation request message to the PCE.
假设节点N1收到客户侧传送业务的请求,节点N1作路径的首节点,节点N3作为该路径的出口节点。节点N1作为PCC向PCE发送路径计算请求消息,在PCEP协议里通过PCReq消息发送路径计算请求;PCReq消息(路径计算请求消息)中携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型信息。客户侧传送业务的信号类型信息包括:客户侧传送业务要求的带宽等信息。Assuming that node N1 receives a request from the client side to transmit services, node N1 acts as the head node of the path, and node N3 acts as the exit node of the path. Node N1 sends a path calculation request message to PCE as a PCC, and sends a path calculation request through a PCReq message in the PCEP protocol; the PCReq message (path calculation request message) carries the source node and destination node for accessing the client-side service, and the client-side transmission service signal type information. The signal type information of the transmission service at the client side includes information such as bandwidth required by the transmission service at the client side.
步骤202、路径计算单元接收路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型。
步骤203、路径计算单元依据客户侧传送业务的信号类型确定路径的级联约束条件。
请求连续级联路径的计算时,级联约束条件包括:级联单位、级联数量和级联类型,其中级联类型指定是连续级联;请求虚级联路径的计算时,级联约束条件是:级联单位、级联数量和级联类型,其中级联类型指定是虚级联。When requesting the calculation of a continuous cascading path, the cascading constraints include: cascading unit, cascading quantity, and cascading type, where the cascading type specifies continuous cascading; when requesting the calculation of a virtual cascading path, the cascading constraints Yes: cascade unit, cascade quantity, and cascade type, where the cascade type specifies virtual cascade.
步骤204、路径计算单元依据接入客户侧业务的源节点和目的节点、级联约束条件及网络中节点各接口的级联能力计算路径。
PCE根据存储的如表1和表2节点各接口的级联能力以及级联约束条件,排除不满足约束条件的链路,利用算法计算级联路径。According to the stored cascading capabilities and cascading constraints of the interfaces of the nodes shown in Table 1 and Table 2, the PCE excludes links that do not meet the constraints, and uses an algorithm to calculate the cascading path.
步骤205、路径计算单元向路径计算客户侧发送携带路径的路径计算响应消息,路径计算响应消息中携带计算获得的路径及路径的级联约束条件。
步骤206、路径计算客户端接收路径计算单元返回的携带路径的路径计算响应消息,该路径是由路径计算单元根据所述客户侧传送业务的信号类型确定的级联约束条件、接入客户侧业务的源节点和目的节点、网络中节点各接口的级联能力计算获得的。
本发明实施例扩展PCEP协议,以便PCReq响应消息携带包括级联单位、级联数量以及级联类型等级联约束条件。在PCReq响应消息中增加级联约束条件对象,该对象格式如下:The embodiment of the present invention extends the PCEP protocol so that the PCReq response message carries the cascading constraint conditions including the concatenation unit, the concatenation quantity, and the concatenation type. Add a cascading constraint object in the PCReq response message, the format of which is as follows:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
|LSP Enc.Type |Switching Type |Src Delay Diff.|Dst Delay Diff.||LSP Enc.Type |Switching Type |Src Delay Diff.|Dst Delay Diff.|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
| Signal Type |Concat.Type | Reserved | LSP number || Signal Type |Concat.Type | Reserved | LSP number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+
其中,“LSP Enc.Type”、“Switching Type”及“Signal Type”三项确定级联单位。例如级联单位为ODU2时,LSP Enc.Type=12(G.709 ODUk),Switching Type=100(TDM),Signal Type=2(ODU2);级联单位为VC4时,LSP Enc.Type=5(SDH ITU-T G.707/SONET ANSI T1.105),SwitchingType=100(TDM),Signal Type=6(VC4)。Among them, "LSP Enc.Type", "Switching Type" and "Signal Type" determine the cascade unit. For example, when the cascading unit is ODU2, LSP Enc.Type=12(G.709 ODUk), Switching Type=100(TDM), Signal Type=2(ODU2); when the cascading unit is VC4, LSP Enc.Type=5 (SDH ITU-T G.707/SONET ANSI T1.105), SwitchingType=100(TDM), SignalType=6(VC4).
Concat.Type指示级联类型,目前定义:1表示连续级联,2表示虚级联。Concat.Type indicates the type of concat, currently defined: 1 means continuous concatenation, 2 means virtual concat.
LSP number指示级联数量,请求计算的路径是连续级联路径或虚级联路径时,该值是大于1的任意值。LSP number indicates the number of cascades. When the path requested to be calculated is a continuous cascade path or a virtual cascade path, this value is any value greater than 1.
Src Delay Diff.指示源节点差分时延约束条件;Dst Delay Diff.指示目的节点差分时延约束条件。Src Delay Diff. Indicates the source node differential delay constraint; Dst Delay Diff. Indicates the destination node differential delay constraint.
路径计算客户端依据级联路径以及级联约束条件建立连接。The path calculation client establishes a connection according to the cascading path and cascading constraints.
至此,在服务侧网络建立了满足客户侧信号传送的路径。So far, a path that satisfies client-side signal transmission has been established on the service-side network.
在本发明实施例提供的网络构架下,本实施例提供的路径计算方法同样适用于单条路径的计算。与上述描述实施例不同之处主要有:步骤203中PCE确定请求建立的路径是单条路径时,确定的级联约束条件包括:级联单位和级联数量,且级联数量是1;步骤204中计算单条路径利用各接口的级联能力主要是接口链路的时隙状态;步骤205中PCReq响应消息中,指示级联类型的Concat.Type是0,指示级联数量的LSP number值是1,路径计算响应消息中携带的路径是级联单位要求的单条路径。在步骤206后,单条路径建立连接时不需要依赖级联约束条件。Under the network framework provided by the embodiment of the present invention, the path calculation method provided by this embodiment is also applicable to the calculation of a single path. The difference from the above-described embodiment mainly includes: when the PCE determines in
实施例三Embodiment Three
本发明实施例还提供使用上述方法的节点设备和路径计算单元。Embodiments of the present invention also provide a node device and a path calculation unit using the above method.
如图4所示,是本发明第三实施例提供的节点设备结构示意图。As shown in FIG. 4 , it is a schematic structural diagram of a node device provided by the third embodiment of the present invention.
一种节点设备,包括:A node device, comprising:
请求消息发送模块110,用于在收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;The request
响应消息接收模块120,用于在该请求消息发送模块向路径计算单元发送路径计算请求消息后,接收所述路径计算单元返回的携带路径的路径计算响应消息;该路径是所述路径计算单元根据所述接入客户侧业务的源节点和目的节点、所述级联约束条件和网络中节点各接口的级联能力计算获得的。The response
进一步的,所述节点设备还包括:Further, the node device also includes:
差分时延获取模块130,用于在收到客户侧传送业务的请求后,在向路径计算单元发送路径计算请求消息前,获取接入客户侧业务的目的节点的差分时延约束条件;其中,该路径计算请求消息中的级联约束条件包括:级联单位、级联类型和级联数量,且所述级联数量大于1;The differential
请求消息发送模块发送的路径计算请求消息还携带所述接入客户侧业务的源节点差分时延约束条件和所述接入客户侧业务的目的节点的差分时延约束条件。The path calculation request message sent by the request message sending module also carries the differential delay constraint condition of the source node accessing the client-side service and the differential delay constraint condition of the destination node accessing the client-side service.
进一步的,所述节点设备还包括:Further, the node device also includes:
计算能力获取模块140,用于在请求消息发送模块向路径计算单元发送路径计算请求消息前,获取路径计算单元的路径计算能力;路径计算单元能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。The computing
本发明实施例提供的另一种节点设备,该实施例中的节点请求消息发送模块发送的路径计算请求消息中只携带源节点和目的节点,以及客户侧传送信号类型,不再携带路径的级联约束条件。In another node device provided by the embodiment of the present invention, the path calculation request message sent by the node request message sending module in this embodiment only carries the source node and the destination node, and the type of the signal transmitted by the client side, and does not carry the level of the path. Link constraints.
一种节点设备,包括:A node device, comprising:
请求消息发送模块,用于在收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,路径计算请求消息携带接入客户侧业务的源节点和目的节点,以及客户侧传送业务的信号类型;The request message sending module is used to send a path calculation request message to the path calculation unit after receiving a request for transmitting services from the client side. The path calculation request message carries the source node and destination node for accessing the client side service, and the client side transmits the service the signal type;
响应消息接收模块,用于接收所述路径计算单元返回的携带路径的路径计算响应消息;该路径是由路径计算单元根据客户侧传送业务的信号类型确定的级联约束条件、所述接入客户侧业务的源节点和目的节点、网络中节点各接口的级联能力计算获得的。A response message receiving module, configured to receive a path computation response message carrying a path returned by the path computation unit; the path is a cascading constraint condition determined by the path computation unit according to the signal type of the client-side transmission service, the access client It is obtained by calculating the cascading capability of the source node and destination node of the side service, and each interface of the node in the network.
进一步的,所述节点设备还包括:Further, the node device also includes:
差分时延获取模块,用于在所述请求消息发送模块收到客户侧传送业务的请求后,且向路径计算单元发送路径计算请求消息前,获取接入客户侧业务的目的节点的差分时延约束条件;其中,该路径计算请求消息中的级联约束条件包括:级联单位、级联类型和级联数量,且所述级联数量大于1;A differential delay acquisition module, configured to acquire the differential delay of the destination node accessing the client-side service after the request message sending module receives the request for transmitting the service from the client side and before sending the path calculation request message to the path calculation unit A constraint condition; wherein, the cascading constraint condition in the path computation request message includes: a cascading unit, a cascading type, and a cascading quantity, and the cascading quantity is greater than 1;
请求消息发送模块发送的路径计算请求消息还携带接入客户侧业务的源节点的差分时延约束条件和接入客户侧业务的目的节点的差分时延约束条件。The path calculation request message sent by the request message sending module also carries the differential delay constraint condition of the source node accessing the client-side service and the differential delay constraint condition of the destination node accessing the client-side service.
进一步的,所述节点设备还包括:计算能力获取模块,用于在请求消息发送模块向路径计算单元发送路径计算请求消息前,获取路径计算单元的路径计算能力;该路径计算单元能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。Further, the node device further includes: a computing capability acquiring module, configured to acquire the path computing capability of the path computing unit before the request message sending module sends the path computing request message to the path computing unit; the path computing unit capability includes the following At least one of: single path computing capability, continuous cascading path computing capability and virtual cascading path computing capability.
第四实施例Fourth embodiment
本发明实施例还提供使用上述方法的路径计算单元。An embodiment of the present invention also provides a path calculation unit using the above method.
如图5所示,是本发明第四实施例提供的路径计算单元结构示意图。As shown in FIG. 5 , it is a schematic structural diagram of the path calculation unit provided by the fourth embodiment of the present invention.
一种路由计算单元,包括:A routing computing unit, comprising:
节点能力接收模块210,用于接收网络中节点发送的各接口的级联能力;A node
请求消息接收模块220,用于接收路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点,路径的级联约束条件;The request
路径计算模块230,用于依据接入客户侧业务的源节点和目的节点、路径的级联约束条件及网络中节点各接口的级联能力计算路径;The
响应消息发送模块240,用于发送路径计算响应消息,该路径计算响应消息携带所述路径。The response
进一步的,所述路径计算单元还包括:Further, the path calculation unit also includes:
计算能力发送模块250,在请求消息接收模块接收路径计算请求消息前,发送自身的路径计算能力;该路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。The computing
第五实施例fifth embodiment
本发明实施例还提供另一种路径计算单元,该实施例中的路径计算单元根据客户侧信号类型计算路径的级联约束条件。The embodiment of the present invention also provides another path calculation unit. The path calculation unit in this embodiment calculates the cascade constraint condition of the path according to the type of the client-side signal.
如图6所示,是本发明第五实施例提供的路由计算单元结构示意图。As shown in FIG. 6 , it is a schematic structural diagram of a routing calculation unit provided by the fifth embodiment of the present invention.
该实施例由路由计算单元根据客户侧业务的信号类型计算路径的级联约束条件,再根据该路径的级联约束条件计算路径。In this embodiment, the routing calculation unit calculates the cascading constraint condition of the path according to the signal type of the client-side service, and then calculates the path according to the cascading constraint condition of the path.
一种路由计算单元,包括:A routing computing unit, comprising:
节点能力接收模块210,用于接收网络中节点发送的各接口的级联能力;A node
请求消息接收模块220,用于接收路径计算请求消息,该路径计算请求消息携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型;The request
确定模块260,用于依据客户侧传输信号类型确定路径的级联约束条件;A determination module 260, configured to determine the cascading constraints of the path according to the type of the client-side transmission signal;
路径计算模块230,用于依据接入客户侧业务的源节点和目的节点、级联约束条件及网络中节点各接口的级联能力计算路径;The
响应消息发送模块240,用于发送路径计算响应消息,该路径计算响应消息携带所述路径。The response
进一步的,所述路径计算单元还包括:Further, the path calculation unit also includes:
计算能力发送模块250,在所述请求消息接收模块接收路径计算请求消息前,发送自身的路径计算能力;该路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。The computing
上述节点设备及路径计算单元内的各模块之间具体的信号处理、执行过程等内容,由于与本发明方法实施例基于同一构想,可参见本发明实施例一、二中的叙述,此处不再赘述。For the specific signal processing and execution process between the modules in the above-mentioned node device and the path calculation unit, since it is based on the same concept as the method embodiment of the present invention, please refer to the descriptions in Embodiments 1 and 2 of the present invention. Let me repeat.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的硬件平台的方式来实现,当然也可以全部通过硬件来实施,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus a necessary hardware platform, and of course all can be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, all or part of the contribution made by the technical solution of the present invention to the background technology can be embodied in the form of software products, and the computer software products can be stored in storage media, such as ROM/RAM, magnetic disks, optical disks, etc. , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments of the present invention.
一种路径计算方法,包括:收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;接收所述路径计算单元返回的携带路径的路径计算响应消息,所述路径是由所述路径计算单元根据所述接入客户侧业务的源节点和目的节点、所述级联约束条件和网络中节点各接口的级联能力计算获得的。A path calculation method, comprising: after receiving a client-side service transmission request, sending a path calculation request message to a path calculation unit, the path calculation request message carrying a source node and a destination node accessing the client-side service, and a path level connection constraints; receive the path calculation response message carrying the path returned by the path calculation unit, the path is determined by the path calculation unit according to the source node and destination node of the access client side service, the cascade constraint Conditions and the cascading capability of each interface of the nodes in the network are calculated.
所述级联约束条件包括:级联单位以及级联数量,且所述级联数量为1;所述路径计算响应消息携带的路径是符合所述级联单位要求的单条路径。The cascading constraints include: a cascading unit and a cascading quantity, and the cascading quantity is 1; the path carried in the path computation response message is a single path that meets the requirements of the cascading unit.
所述级联约束条件包括:级联单位、级联数量以及级联类型,且所述级联数量大于1;所述路径计算响应消息携带的路径是符合所述级联约束条件的级联路径。The cascading constraints include: a cascading unit, a cascading number, and a cascading type, and the cascading number is greater than 1; the path carried in the path calculation response message is a cascading path that meets the cascading constraints .
在收到客户侧传送业务的请求后,在向路径计算单元发送路径计算请求消息前,获取所述接入客户侧业务的目的节点的差分时延约束条件;所述路径计算请求消息还携带所述接入客户侧业务的源节点差分时延约束条件和所述接入客户侧业务的目的节点的差分时延约束条件。After receiving the client-side service transmission request, before sending the path computation request message to the path computation unit, obtain the differential delay constraint condition of the destination node accessing the client-side service; the path computation request message also carries the The source node differential delay constraint condition for accessing the client-side service and the differential delay constraint condition for the destination node accessing the client-side service are described.
在所述向路径计算单元发送路径计算请求消息前,获取所述路径计算单元的路径计算能力;所述路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。Before sending the path computation request message to the path computation unit, obtain the path computation capability of the path computation unit; the path computation capability includes at least one of the following: a single path computation capability, a continuous cascading path computation capability, and a virtual path computation capability Cascading path computing capabilities.
一种路径计算方法,包括:接收网络中节点发送的各接口的级联能力;接收路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;依据所述接入客户侧业务的源节点和目的节点、所述级联约束条件及所述网络中节点各接口的级联能力计算路径;发送路径计算响应消息,所述路径计算响应消息携带所述路径。A path calculation method, comprising: receiving the cascading capability of each interface sent by a node in the network; receiving a path calculation request message, the path calculation request message carrying a source node and a destination node for accessing a client-side service, and a cascading path Constraints; calculate paths according to the source node and destination node accessing the client-side service, the cascading constraints, and the cascading capabilities of each interface of the nodes in the network; send a path calculation response message, and the path calculation response The message carries the path.
在所述接收路径计算请求消息前,发送自身路径计算能力;所述路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。Before receiving the path computation request message, send its own path computation capability; the path computation capability includes at least one of the following: single path computation capability, continuous cascade path computation capability, and virtual concatenation path computation capability.
所述级联约束条件包括:级联单位以及级联数量,且所述级联数量为1;所述路径计算响应消息携带的路径是符合所述级联单位的单条路径。The cascading constraint conditions include: a cascading unit and a cascading quantity, and the cascading quantity is 1; the path carried in the path computation response message is a single path conforming to the cascading unit.
所述级联约束条件包括:级联单位、级联数量以及级联类型,且所述级联数量大于1;所述路径计算响应消息携带的路径是符合所述级联约束条件的级联路径。The cascading constraints include: a cascading unit, a cascading number, and a cascading type, and the cascading number is greater than 1; the path carried in the path calculation response message is a cascading path that meets the cascading constraints .
一种路径计算方法,包括:收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型;接收所述路径计算单元返回的携带路径的路径计算响应消息,所述路径是由所述路径计算单元根据所述客户侧传送业务的信号类型确定的级联约束条件、所述接入客户侧业务的源节点和目的节点、网络中节点各接口的级联能力计算获得的。A path calculation method, comprising: after receiving a request from a client side to transmit a service, sending a path calculation request message to a path calculation unit, the path calculation request message carrying a source node and a destination node accessing the client side service, and the client side transmitting The signal type of the service; receiving the path calculation response message carrying the path returned by the path calculation unit, the path is a concatenation constraint determined by the path calculation unit according to the signal type of the service transmitted by the client side, the It is obtained by calculating the cascading capabilities of the source nodes and destination nodes accessing client-side services, and the interfaces of nodes in the network.
一种路径计算方法,包括:接收网络中节点发送的各接口的级联能力;A path calculation method, comprising: receiving the cascading capability of each interface sent by a node in the network;
接收路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、客户侧传送业务的信号类型;依据所述客户侧传送业务的信号类型确定路径的级联约束条件;依据所述接入客户侧业务的源节点和目的节点、所述级联约束条件及所述网络中节点各接口的级联能力计算路径;发送路径计算响应消息,所述路径计算响应消息携带所述路径。Receive a path calculation request message, the path calculation request message carries the source node and destination node for accessing the client-side service, and the signal type of the client-side transmission service; determine the cascade constraint condition of the path according to the signal type of the client-side transmission service ; Calculate a path according to the source node and destination node accessing the client-side service, the cascading constraints, and the cascading capability of each interface of the node in the network; send a path calculation response message, and the path calculation response message carries the path.
一种节点设备,包括:请求消息发送模块,用于在收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点、路径的级联约束条件;响应消息接收模块,用于在所述请求消息发送模块向所述路径计算单元发送路径计算请求消息后,接收所述路径计算单元返回的携带路径的路径计算响应消息;所述路径是所述路径计算单元根据所述接入客户侧业务的源节点和目的节点、所述级联约束条件和网络中节点各接口的级联能力计算获得的。A node device, comprising: a request message sending module, configured to send a path computation request message to a path computation unit after receiving a client-side service transmission request, the path computation request message carrying a source node accessing client-side services Concatenated constraints with the destination node and the path; a response message receiving module, configured to receive the path carrying the path returned by the path computing unit after the request message sending module sends the path computing request message to the path computing unit Computing a response message; the path is calculated by the path calculation unit according to the source node and destination node accessing the client-side service, the cascading constraints and the cascading capabilities of the interfaces of the nodes in the network.
所述节点设备还包括:差分时延获取模块,用于在所述请求消息发送模块收到客户侧传送业务的请求后,且向所述路径计算单元发送路径计算请求消息前,获取所述接入客户侧业务的目的节点的差分时延约束条件;其中,所述路径计算请求消息中的级联约束条件包括:级联单位、级联类型和级联数量,且所述级联数量大于1;所述路径计算请求消息还携带所述接入客户侧业务的源节点差分时延约束条件和所述接入客户侧业务的目的节点的差分时延约束条件。The node device further includes: a differential time delay acquiring module, configured to acquire the received time delay after the request message sending module receives a request for service transmission from the client side and before sending a path calculation request message to the path calculation unit. The differential delay constraint condition of the destination node of the client-side service; wherein, the cascading constraint condition in the path calculation request message includes: cascading unit, cascading type and cascading quantity, and the cascading quantity is greater than 1 ; The path calculation request message also carries the differential delay constraint condition of the source node accessing the client-side service and the differential delay constraint condition of the destination node accessing the client-side service.
所述节点设备还包括:计算能力获取模块,用于在所述请求消息发送模块向所述路径计算单元发送路径计算请求消息前,获取所述路径计算单元的路径计算能力;所述路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。The node device further includes: a computing capability acquiring module, configured to acquire the path computing capability of the path computing unit before the request message sending module sends a path computing request message to the path computing unit; the path computing capability Including at least one of the following: single path computing capability, continuous cascading path computing capability and virtual cascading path computing capability.
一种路径计算单元,包括:节点能力接收模块,用于接收网络中节点发送的各接口的级联能力;请求消息接收模块,用于接收路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点,路径的级联约束条件;路径计算模块,用于依据所述接入客户侧业务的源节点和目的节点、所述级联约束条件及所述网络中节点各接口的级联能力计算路径;响应消息发送模块,用于发送路径计算响应消息,所述路径计算响应消息携带所述路径。A path computation unit, comprising: a node capability receiving module, configured to receive cascading capabilities of interfaces sent by nodes in the network; a request message receiving module, configured to receive a path computation request message, the path computation request message carrying an access The source node and destination node of the client-side service, the cascading constraint conditions of the path; the path calculation module, used to access the source node and the destination node of the client-side service, the cascading constraint condition and the nodes in the network A cascading capability calculation path of each interface; a response message sending module, configured to send a path calculation response message, where the path calculation response message carries the path.
所述路径计算单元还包括:计算能力发送模块,在所述请求消息接收模块接收路径计算请求消息前,发送自身的路径计算能力;所述路径计算能力包括下述至少一种:单条路径计算能力、连续级联路径计算能力和虚级联路径计算能力。The path computing unit further includes: a computing capability sending module, which sends its own path computing capability before the request message receiving module receives the path computing request message; the path computing capability includes at least one of the following: a single path computing capability , continuous cascading path computing capability and virtual cascading path computing capability.
一种节点设备,包括:请求消息发送模块,用于在收到客户侧传送业务的请求后,向路径计算单元发送路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节点,以及客户侧传送业务的信号类型;响应消息接收模块,用于接收所述路径计算单元返回的携带路径的路径计算响应消息;所述路径是由所述路径计算单元根据所述客户侧传送业务的信号类型确定的级联约束条件、所述接入客户侧业务的源节点和目的节点、网络中节点各接口的级联能力计算获得的。A node device, comprising: a request message sending module, configured to send a path computation request message to a path computation unit after receiving a client-side service transmission request, the path computation request message carrying a source node accessing client-side services and the destination node, as well as the signal type of the service transmitted by the client side; the response message receiving module is used to receive the path computation response message carrying the path returned by the path computation unit; the path is determined by the path computation unit according to the client It is obtained by calculating the concatenation constraints determined by the signal type of the service transmitted on the client side, the source node and the destination node for accessing the service on the client side, and the concatenation capability of each interface of the nodes in the network.
一种路径计算单元,包括:节点能力接收模块,用于接收网络中节点发送的各接口的级联能力;请求消息接收模块,用于接收路径计算请求消息,所述路径计算请求消息携带接入客户侧业务的源节点和目的节、客户侧传送业务的信号类型;确定模块,用于依据所述客户侧传输信号类型确定路径的级联约束条件;路径计算模块,用于依据所述接入客户侧业务的源节点和目的节点、所述级联约束条件及所述网络中节点各接口的级联能力计算路径;响应消息发送模块,用于发送路径计算响应消息,所述路径计算响应消息携带所述路径。A path computation unit, comprising: a node capability receiving module, configured to receive cascading capabilities of interfaces sent by nodes in the network; a request message receiving module, configured to receive a path computation request message, the path computation request message carrying an access The source node and destination node of the client-side business, the signal type of the client-side transmission service; the determination module is used to determine the cascading constraints of the path according to the client-side transmission signal type; the path calculation module is used to determine the path according to the access The source node and destination node of the client-side business, the cascading constraints and the cascading capability calculation path of each interface of the nodes in the network; a response message sending module, configured to send a path calculation response message, and the path calculation response message carry the path.
以上对本发明实施例所提供的路径计算方法、节点设备以及路径计算单元进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的技术方案;同时,对于本领域的一般技术人员,依据本发明的原理,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The path calculation method, node device, and path calculation unit provided by the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are only for help Understand the technical scheme of the present invention; At the same time, for those of ordinary skill in the art, according to the principles of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as Limitations on the Invention.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103893334A CN102420757A (en) | 2008-10-27 | 2008-10-27 | Path calculation method, device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103893334A CN102420757A (en) | 2008-10-27 | 2008-10-27 | Path calculation method, device and communication system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101751229A Division CN101729376B (en) | 2008-10-27 | 2008-10-27 | Path calculating method, node equipment and path calculating unit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102420757A true CN102420757A (en) | 2012-04-18 |
Family
ID=45944997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103893334A Pending CN102420757A (en) | 2008-10-27 | 2008-10-27 | Path calculation method, device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102420757A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018035979A1 (en) * | 2016-08-26 | 2018-03-01 | Huawei Technologies Co., Ltd. | Photonic-layer aware path computation element |
WO2018086412A1 (en) * | 2016-11-08 | 2018-05-17 | 华为技术有限公司 | Time delay control method, apparatus and system |
CN114443555A (en) * | 2022-01-27 | 2022-05-06 | 合肥甘尧电子科技有限公司 | Automatic detection method for cascade number of serial buses |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184441A1 (en) * | 2003-03-19 | 2004-09-23 | Fuming Wu | Inter-domain constraint-based shortest path first technique for supporting hierarchical routing in interconnected multi-domain optical transport networks |
US20060067235A1 (en) * | 2004-09-24 | 2006-03-30 | Swarup Acharya | Differential delay constrained routing for virtually-concatenated data traffic |
CN101001201A (en) * | 2006-01-13 | 2007-07-18 | 华为技术有限公司 | Method for setting count request delay |
EP1863235A1 (en) * | 2006-06-02 | 2007-12-05 | Huawei Technologies Co., Ltd. | Method and system for multi-domain route computation |
US20080225723A1 (en) * | 2007-03-16 | 2008-09-18 | Futurewei Technologies, Inc. | Optical Impairment Aware Path Computation Architecture in PCE Based Network |
-
2008
- 2008-10-27 CN CN2011103893334A patent/CN102420757A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184441A1 (en) * | 2003-03-19 | 2004-09-23 | Fuming Wu | Inter-domain constraint-based shortest path first technique for supporting hierarchical routing in interconnected multi-domain optical transport networks |
US20060067235A1 (en) * | 2004-09-24 | 2006-03-30 | Swarup Acharya | Differential delay constrained routing for virtually-concatenated data traffic |
CN101001201A (en) * | 2006-01-13 | 2007-07-18 | 华为技术有限公司 | Method for setting count request delay |
EP1863235A1 (en) * | 2006-06-02 | 2007-12-05 | Huawei Technologies Co., Ltd. | Method and system for multi-domain route computation |
US20080225723A1 (en) * | 2007-03-16 | 2008-09-18 | Futurewei Technologies, Inc. | Optical Impairment Aware Path Computation Architecture in PCE Based Network |
Non-Patent Citations (2)
Title |
---|
ERIC MANNIE: ""Traffic Engineering Extensions to OSPF for Generalized MPLS control of Sonet/SDH Networks draft-mannie-ccamp-gmpls-sonet-sdh-ospf-00.txt"", 《IETF技术文档》 * |
JP.VASSEUR ET AL: ""Path Computation Element(PCE) Communication Protocol(PCEP) draft-ietf-pce-pcep-16.txt"", 《IETF技术文档》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018035979A1 (en) * | 2016-08-26 | 2018-03-01 | Huawei Technologies Co., Ltd. | Photonic-layer aware path computation element |
US9967052B2 (en) | 2016-08-26 | 2018-05-08 | Huawei Technologies Co., Ltd. | Photonic layer aware path computation element |
WO2018086412A1 (en) * | 2016-11-08 | 2018-05-17 | 华为技术有限公司 | Time delay control method, apparatus and system |
CN108063653A (en) * | 2016-11-08 | 2018-05-22 | 华为技术有限公司 | A kind of delay control method, apparatus and system |
CN108063653B (en) * | 2016-11-08 | 2020-02-14 | 华为技术有限公司 | Time delay control method, device and system |
CN114443555A (en) * | 2022-01-27 | 2022-05-06 | 合肥甘尧电子科技有限公司 | Automatic detection method for cascade number of serial buses |
CN114443555B (en) * | 2022-01-27 | 2024-01-30 | 合肥甘尧电子科技有限公司 | Automatic detection method for cascade quantity of serial buses |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101729376B (en) | Path calculating method, node equipment and path calculating unit | |
CN101860473B (en) | Path computation method | |
US10250459B2 (en) | Bandwidth on-demand services in multiple layer networks | |
US9015314B2 (en) | Route control method and system, and route computing apparatus | |
CN101945307B (en) | Distribution treatment method of labels in optical network, optical communication device and optical communication system | |
CN107615721B (en) | System and method for transmitting software defined network-logical link aggregation member signaling | |
CN102026046B (en) | Path processing method in optical network, optical communication device and optical communication system | |
EP4207633A1 (en) | Service protection method and network node | |
WO2009140873A1 (en) | Configuration method of link attribute information, communication device and communication system | |
EP3295623B1 (en) | Transport software defined networking (sdn) zero configuration adjacency via packet snooping | |
US20230254245A1 (en) | Data Frame Sending Method and Network Device | |
US8542687B2 (en) | Node apparatus and route calculation method | |
CN101998182A (en) | Information processing method, optical communication device and optical communication system in optical networks | |
CN103491002B (en) | Method and system for obtaining link cost value of IP link | |
CN101854290B (en) | A path calculation method, path calculation unit and network system | |
WO2022199276A1 (en) | Service protection method and network node | |
CN101714940B (en) | Path calculation and establishment method, path calculation unit and node, network | |
CN102420757A (en) | Path calculation method, device and communication system | |
WO2010130177A1 (en) | Service connection establishment method, path computation unit device and network system | |
CN102439917B (en) | Connection building method and device for transponding neighbour-lable switching path | |
US20110279258A1 (en) | Systems and Methods for Transmission of Trigger-Based Alarm Indication Suppression Messages | |
WO2012088994A1 (en) | Method and system for establishing connection | |
CN102687473A (en) | Method and system for establishing end-to-end label switched path | |
Belotti et al. | Evaluation of Existing GMPLS Encoding against G. 709v3 Optical Transport Networks (OTNs) | |
Grandi et al. | RFC 7096: Evaluation of Existing GMPLS Encoding against G. 709v3 Optical Transport Networks (OTNs) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120418 |