WO2016061967A1 - Path computation processing method and device - Google Patents

Path computation processing method and device Download PDF

Info

Publication number
WO2016061967A1
WO2016061967A1 PCT/CN2015/073276 CN2015073276W WO2016061967A1 WO 2016061967 A1 WO2016061967 A1 WO 2016061967A1 CN 2015073276 W CN2015073276 W CN 2015073276W WO 2016061967 A1 WO2016061967 A1 WO 2016061967A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
head node
calculating
calculation
path
Prior art date
Application number
PCT/CN2015/073276
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 WO2016061967A1 publication Critical patent/WO2016061967A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for calculating a road.
  • a Multi-Protocol Label Switching (MPLS) network is used to establish a tunnel by using the Resource Resire Protocol (RSVP-TE).
  • RSVP-TE Resource Resire Protocol
  • IGP Metric Interior Gateway Protocol Metric
  • Traffic engineering link cost Traffic engineering link cost
  • the four-node topology of R1, R2, R3, and R4, the IGP Metric and TE Metric of each link in the figure are marked with corresponding values, and a tunnel is established from R1 to R3.
  • the path of the calculation result is L12, L23, that is, R1 ⁇ R2 ⁇ R3, because the total IGMMetric value of this path is the smallest of all reachable paths;
  • the TE Metric mode constraint is selected, then the calculation The path of the path is L14, L34, that is, R1 ⁇ R4 ⁇ R3, because the total TE Metric value of this path is the smallest of all reachable paths.
  • the first type the intermediate node calculates the way. If you don't know the metric constraint mode of the tunnel head node, you can use the default calculation method. The disadvantage of this scheme is that it may cause a tunnel head node metric constraint mode to be inconsistent with the intermediate node metric constraint mode.
  • the second type is that the global metrics are configured globally. If the node configured with the global metrics is a head node for a tunnel and the metric is not configured for the tunnel, the global configuration takes precedence. If the metric is configured in the tunnel, the configuration under the tunnel takes effect. If the node configured with the global metric method is an intermediate node for a tunnel and needs to calculate the path, the calculation mode is based on the global configuration. This solution also causes the tunnel head node metric constraint mode to be inconsistent with the intermediate node metric constraint mode.
  • the invention provides a method and a device for processing a road to solve at least the problem that the tunnel head node metric constraint mode and the intermediate node metric constraint mode are inconsistent in the prior art.
  • a method for processing a path including: a downstream node receives a method of calculating the head node from a head node; and the downstream node uses the method of calculating the path Count the road.
  • the method for receiving the downlink node from the head node includes: the downstream node receiving a PATH message from the head node; and obtaining the head node from the PATH message The way to calculate the point.
  • the computing mode is carried in the PATH packet by using one of the following manners: adding the computing mode to the newly added field in the PATH packet, and not using the PATH packet.
  • the field adds the way to calculate.
  • adding the calculation manner to an unused field in the PATH message includes: adding the calculation manner in a FLAG field of a SESSION_ATTRIBUTE object.
  • the computing manner includes: an internal gateway protocol link cost IGP metric, and a traffic engineering link cost TE Metric.
  • another method of calculating a path including: determining, by a head node, a way of calculating the head node, wherein the calculating method is used for calculating a downstream node.
  • the way of calculating the path the head node sends the way of calculating to the downstream node.
  • the sending, by the head node, the way of calculating the head node to the downstream node comprises: sending, by the head node, a PATH message to the downstream node, where the PATH report The text carries the way of calculating the head node.
  • a circuit processing apparatus configured to apply to a downstream node, comprising: a receiving module configured to receive a method of calculating the head node from the head node; The module is set to use the calculation method to perform the calculation.
  • the receiving module is further configured to receive a PATH message from the head node, and obtain a path manner of the head node from the PATH message.
  • another method of processing a circuit comprising: a determining module, configured to determine a way of calculating the head node, wherein the calculating The way of the way is the way of calculating the way for the downstream node to calculate the path; the sending module is configured to send the way of calculating the way to the downstream node.
  • the downstream node is used to receive the calculation method from the head node; the downstream node uses the calculation method to perform the calculation.
  • the problem that the calculation method of the tunnel head node in the prior art is inconsistent with the calculation method of the intermediate node is solved, and the optimal path can be obtained, thereby improving the user experience.
  • FIG. 1 is a schematic diagram of a four-node Metric calculation circuit according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a cross-domain four-node according to an embodiment of the present invention.
  • FIG. 3 is a flow chart of a method of processing a road according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a road processing device according to an embodiment of the present invention.
  • FIG. 5 is a flowchart 1 of a method for processing a road according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 1 of a circuit processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a format diagram of a SESSION_ATTRIBUTE object in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a flowchart of a notification method of a tunnel metric road constraint according to a preferred embodiment of the present invention.
  • FIG. 9 is a flow chart of a method for calculating a tunnel intermediate node in accordance with a preferred embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for processing a road according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 the downstream node receives the calculation method from the head node
  • step S304 the downstream node uses the calculation method to perform the calculation.
  • the downstream node uses the received calculation method from the head node to perform the calculation.
  • the default calculation method is adopted, and the calculation method is globally configured for each node.
  • the calculation method used by the node and the downstream node is inconsistent.
  • the above steps solve the problem that the calculation method of the tunnel head node is inconsistent with the calculation method of the intermediate node, and the optimal path can be obtained, thereby improving the user experience.
  • step S302 involves the downstream node receiving the calculation method from the head node.
  • the downstream node can receive the calculation method of the head node in various ways, which will be exemplified below.
  • the downstream node receives the PATH message from the head node, and obtains the way of calculating the head node from the PATH message.
  • the algorithm can be carried in the PATH packet in a plurality of manners.
  • the algorithm can exist in a new field in the PATH packet or in an unused field in the PATH packet. .
  • the way of computing exists in an unused field in the PATH message
  • the way of computing exists in the FLAG field of the SESSION_ATTRIBUTE object.
  • the head node and the downstream node are in different domains or the same domain.
  • the calculation manner includes: an internal gateway protocol link cost IGP Metric, and a traffic engineering link cost TE Metric.
  • a circuit processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a block diagram showing the structure of a circuit processing device according to an embodiment of the present invention.
  • the device is applied to a downstream node.
  • the device includes a receiving module 42 configured to receive the head node from the head node.
  • the calculation method of the point; the calculation module 44 is set to use the calculation method to perform the calculation.
  • each of the foregoing modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the receiving module 42 and the computing module 44 are all located in the same processor; or The receiving module 42 and the computing module 44 are respectively located in the first processor and the second processor.
  • the receiving module 42 is further configured to receive a PATH message from the head node; and obtain a way of calculating the head node from the PATH message.
  • FIG. 5 is a flowchart 1 of a method for processing a road according to an embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
  • Step S502 the head node determines a path calculation manner of the head node, wherein the calculation method is a calculation method used by the downstream node for calculating a road;
  • step S504 the head node sends the calculation mode to the downstream node.
  • the head node sends the calculation method of the head node to the downstream node, and the downstream node uses the calculation method to calculate the road, compared with the default calculation method in the prior art.
  • the calculation method of the head node and the downstream node is still inconsistent. The above steps solve the problem that the calculation method of the tunnel head node is inconsistent with the calculation method of the intermediate node, and thus Get the optimal path and improve the user experience.
  • the head node sends the calculation mode to the downstream node. It should be noted that the head node can send the calculation mode to the downstream node in various manners, which will be exemplified below. In a preferred embodiment, the head node sends the PATH message to the downstream node, where the PATH message carries the way of calculating the head node.
  • a circuit processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a block diagram 1 of a circuit processing apparatus according to an embodiment of the present invention.
  • the apparatus is applied to a head node.
  • the apparatus includes: a determining module 62 configured to determine a method of calculating a head node. , where the road The method is a calculation method used for the calculation of the downstream node; the sending module 64 is configured to send the calculation method to the downstream node.
  • a set of mechanisms is defined, and the Metric algorithm required by the tunnel head node is transmitted by the message object, so that each downstream node knows the policy requirements of the head node. If the intermediate node needs to calculate the path again, it needs to be parsed out. The object content of the message, and the policy requirements of the head node for the Metric algorithm.
  • the head node is referred to the tunnel Metric algorithm and passed to the downstream in the PATH message.
  • the preferred embodiment selects the FLAG field of the SESSION_ATTRIBUTE object, and the format of the SESSION_ATTRIBUTE object is as shown in FIG. 7.
  • the FLAG field occupies 8 bits. Currently, 7 bits have been defined, and the 8th bit is used to indicate the way the Subway is calculated.
  • 0 indicates the IGP Metric mode and 1 indicates the TE Metric mode.
  • the tunnel head node determines the Metric calculation mode required by a certain tunnel
  • the RSVP-TE signaling PATH message is transmitted to each downstream node along the way, and each node (non-head node) receives the same.
  • the Metric calculation method required by the head node needs to adopt the Metric calculation method carried in the message when performing the calculation.
  • FIG. 8 is a flowchart of a method for notifying a tunnel metric road constraint according to a preferred embodiment of the present invention. As shown in FIG. 8 , the method includes the following steps. :
  • Step 802 Determine the Metric constraint calculation mode of the head node, and write the information into the PATH message: when the head node determines the Metric calculation mode policy of a certain tunnel, it needs to write to the PATH message of the RSVP-TE. This policy information.
  • the written information may be a newly added object, or may be a reserved bit or an unoccupied bit of the existing object; for example, a BIT bit that is not used in the FLAG in the SESSION_ATTRIBUTE object may be used.
  • Step S804 the head node sends a PATH message, and the node constraint information is transmitted by each node along the way: the PATH message of the carried Meditri constraint information is sent to each downstream node.
  • FIG. 9 is a flowchart of a method for calculating the intermediate node of the tunnel according to a preferred embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
  • Step S902 the intermediate node receives the upstream PATH message, and parses the mode information of the upstream Metrotr constraint calculation path.
  • the object that is carried by the upstream determines the parsing content, which may be a newly added object, or may be a reserved bit or an unoccupied bit of the existing object.
  • the SLAGSION_ATTRIBUTE object FLAG field used by the present invention receives the PATH message and parses the field. FLAG eighth place.
  • step S904 according to the analyzed Metric constraint calculation method, it is determined whether the node needs to calculate the path, and if the calculation path is required, the calculation is performed by the analyzed Metric calculation method.
  • step S906 the metric constraint calculation path information is put into the PATH message that needs to be sent downstream: the PATH message is sent downstream, and the original metric constraint calculation path information is transmitted to the downstream.
  • R1 is used as the head node and R3 is used as the tail node tunnel. Since the head node and the tail node are located in different domains, R1 can only calculate the path-to-domain boundary when calculating R2, R2 or R4, and assume the calculation path to R2.
  • the tunnel Metric constraint calculation method of the head node is TE Metric. the way.
  • the optimal path of R1 to R2 is R1 ⁇ R4 ⁇ R2.
  • the PATH message sent to R4 is set to 1 in the Flag field 0x80 of SESSION_ATTRIBUTE, indicating that the calculation mode is TE Metric constraint calculation. the way.
  • R4 receives the PATH packet, because the path has been counted to R2, so there is no need to calculate the path again.
  • R4 passes the PATH packet carrying the TE Metric constraint algorithm information to R2.
  • R2 receives the PATH packet. Since there is no subsequent path, it needs to calculate the path to the tail node of the tunnel again.
  • the Metric constraint calculation method carried in the PATH packet by the tunnel head node is TE Metric mode, and the calculation is performed in this manner, and the result of the calculation is R2 ⁇ R3.
  • the PATH message sent by R2 to R3 also carries the metric constraint path information.
  • R3 receives the message and terminates the signaling of the PATH message because it is a tail node.
  • the tunnel head node R1 and the tunnel tail node R3 are in the same domain, and R1 directly calculates the way to the tail node R3. If the head node calculation method is TE Metric, the calculated path is R1 ⁇ R4 ⁇ R3.
  • the PATH message sent by R1 to R4 and R4 to R3 needs to carry the information of the TE Metric algorithm. Just because the intermediate nodes do not need to calculate the way, this information is only transparent to the downstream.
  • the Metric calculation path constraint required under one tunnel is transmitted to each downstream node in the manner of RSVP-TE signaling transmission, so that the downstream node of the tunnel is clear.
  • the Metric calculation information in the message can be parsed to obtain the required calculation mode, so as to obtain an optimal path that meets the user's requirements.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby Storing them in a storage device is performed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the downstream node is used to receive the calculation method from the head node; the downstream node uses the calculation method to perform the calculation.
  • the problem that the calculation method of the tunnel head node in the prior art is inconsistent with the calculation method of the intermediate node is solved, and the optimal path can be obtained, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present invention provides a path computation processing method and device, the method comprising: a downstream node receives a path computation means from a head node; the downstream node uses the path computation means to compute a path. The present invention solves the problem in the prior art of the path computation means of a tunnel head node being inconsistent with the path computation means of an intermediate node; thus an optimal path may be obtained, improving user experience.

Description

算路处理方法及装置Calculation method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种算路处理方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for calculating a road.
背景技术Background technique
在多协议标签交换(Multiprotocol Label Switching,简称为MPLS)网络中,利用资源预留协议(Resource ReserVation Protocol,简称为RSVP-TE)建立一条隧道。通常来说,建立隧道时对于链路代价Metric的约束有两种,一种是内部网关协议链路代价(Interior Gateway Protocol Metric,简称为IGP Metric),另一种是流量工程链路代价(Traffic Engineering Metric,简称为TE Metric)。A Multi-Protocol Label Switching (MPLS) network is used to establish a tunnel by using the Resource Resire Protocol (RSVP-TE). Generally speaking, there are two kinds of constraints on the link cost metric when establishing a tunnel. One is the Interior Gateway Protocol Metric (IGP Metric), and the other is the traffic engineering link cost (Traffic). Engineering Metric, referred to as TE Metric).
如图1所示,R1、R2、R3、R4四节点拓扑,图中各个链路的IGP Metric和TE Metric分别标注了相应的数值,从R1建立一条隧道到R3,如果我们选取的是IGP Metric方式约束,那么算路结果走的路径为L12、L23,即R1→R2→R3,因为这条路径总的IGPMetric值是所有可达路径中最小的;如果选取的是TE Metric方式约束,那么算路走的路径为L14、L34,即R1→R4→R3,因为这条路径总的TE Metric值是所有可达路径中最小的。As shown in Figure 1, the four-node topology of R1, R2, R3, and R4, the IGP Metric and TE Metric of each link in the figure are marked with corresponding values, and a tunnel is established from R1 to R3. If we select IGP Metric Mode constraint, then the path of the calculation result is L12, L23, that is, R1→R2→R3, because the total IGMMetric value of this path is the smallest of all reachable paths; if the TE Metric mode constraint is selected, then the calculation The path of the path is L14, L34, that is, R1→R4→R3, because the total TE Metric value of this path is the smallest of all reachable paths.
在实际应用中,部署隧道的时候,存在跨域等应用场景,进行算路时候,并不能从头结点直接算路到尾节点,可能需要经过中间节点再次算路。如图2所示,在AREA0和AREA1两个域中,同样R1建立隧道至R3,由于源地址和目的地址不在一个域内,所以头结点R1算路只能算到域的边界R2或者R4,从R2或者R4再次算路到R3。如果在R2或者R4上再次算路,算路的Metric约束应该与头结点算路方式一致才能保证整条隧道的Metric约束符合隧道头结点的策略。目前来说这一约束没有一个明确的信令机制,从头结点传递给下游。In actual applications, when a tunnel is deployed, there are application scenarios such as cross-domains. When calculating the road, you cannot directly calculate the way from the head node to the tail node. You may need to calculate the path again through the intermediate node. As shown in Figure 2, in the two domains of AREA0 and AREA1, the same R1 tunnel is established to R3. Since the source address and the destination address are not in one domain, the head node R1 can only calculate the boundary R2 or R4 of the domain. Calculate the path from R2 or R4 to R3 again. If the road is calculated again on R2 or R4, the metric constraint of the calculation should be consistent with the way of the head node calculation to ensure that the metric constraint of the entire tunnel conforms to the strategy of the tunnel head node. At present, this constraint does not have a clear signaling mechanism, and it is passed from the head node to the downstream.
目前解决上述问题存在如下几种方案:At present, there are several solutions to the above problems:
第一种:中间节点算路,如果不知道隧道头结点的Metric约束方式,用约定默认的算路方式。这种方案存在的弊端就是可能造成一条隧道头结点Metric约束方式与中间节点Metric约束方式不一致。 The first type: the intermediate node calculates the way. If you don't know the metric constraint mode of the tunnel head node, you can use the default calculation method. The disadvantage of this scheme is that it may cause a tunnel head node metric constraint mode to be inconsistent with the intermediate node metric constraint mode.
第二种:各个节点全局配置Metric算路方式,如果配置了全局Metric算路方式的节点对于一条隧道是头结点,隧道下没有配置隧道的Metric算路方式,那么以全局的配置为准;如果隧道下配置了Metric算路方式,那么以隧道下配置为准。如果配置了全局Metric算路方式的节点对于一条隧道是中间节点,并且需要算路,那么算路方式以全局配置的为准。这种解决方式,也是会导致隧道头结点Metric约束方式与中间节点Metric约束方式不一致。The second type is that the global metrics are configured globally. If the node configured with the global metrics is a head node for a tunnel and the metric is not configured for the tunnel, the global configuration takes precedence. If the metric is configured in the tunnel, the configuration under the tunnel takes effect. If the node configured with the global metric method is an intermediate node for a tunnel and needs to calculate the path, the calculation mode is based on the global configuration. This solution also causes the tunnel head node metric constraint mode to be inconsistent with the intermediate node metric constraint mode.
针对相关技术中,隧道头结点Metric约束方式与中间节点Metric约束方式不一致的问题,还没有提出有效的解决方案。For the related art, the problem that the tunnel head node metric constraint mode is inconsistent with the intermediate node metric constraint mode has not yet proposed an effective solution.
发明内容Summary of the invention
本发明提供了一种算路处理方法及装置,以至少解决现有技术中隧道头结点Metric约束方式与中间节点Metric约束方式不一致的问题。The invention provides a method and a device for processing a road to solve at least the problem that the tunnel head node metric constraint mode and the intermediate node metric constraint mode are inconsistent in the prior art.
根据本发明的一个实施例,提供了一种算路处理方法,包括:下游结点接收来自头结点的所述头结点的算路方式;所述下游结点使用所述算路方式进行算路。According to an embodiment of the present invention, a method for processing a path is provided, including: a downstream node receives a method of calculating the head node from a head node; and the downstream node uses the method of calculating the path Count the road.
优选地,所述下游结点接收来自所述头结点的算路方式包括:所述下游结点接收来自所述头结点的PATH报文;从所述PATH报文中获取所述头结点的算路方式。Preferably, the method for receiving the downlink node from the head node includes: the downstream node receiving a PATH message from the head node; and obtaining the head node from the PATH message The way to calculate the point.
优选地,所述算路方式通过以下之一方式携带于所述PATH报文中:在所述PATH报文中的新增字段添加所述算路方式、在所述PATH报文中的未使用的字段添加所述算路方式。Preferably, the computing mode is carried in the PATH packet by using one of the following manners: adding the computing mode to the newly added field in the PATH packet, and not using the PATH packet. The field adds the way to calculate.
优选地,在所述PATH报文中的未使用的字段添加所述算路方式包括:在SESSION_ATTRIBUTE对象的FLAG字段中添加所述算路方式。Preferably, adding the calculation manner to an unused field in the PATH message includes: adding the calculation manner in a FLAG field of a SESSION_ATTRIBUTE object.
优选地,所述算路方式包括:内部网关协议链路代价IGP Metric、流量工程链路代价TE Metric。Preferably, the computing manner includes: an internal gateway protocol link cost IGP metric, and a traffic engineering link cost TE Metric.
根据本发明的一个实施例,提供了另一种算路处理方法,包括:头结点确定所述头结点的算路方式,其中,所述算路方式为下游结点进行算路所使用的算路方式;所述头结点将所述算路方式发送给所述下游结点。According to an embodiment of the present invention, another method of calculating a path is provided, including: determining, by a head node, a way of calculating the head node, wherein the calculating method is used for calculating a downstream node. The way of calculating the path; the head node sends the way of calculating to the downstream node.
优选地,所述头结点将所述头结点的算路方式发送给所述下游结点包括:所述头结点将PATH报文发送给所述下游结点,其中,所述PATH报文中携带有所述头结点的算路方式。 Preferably, the sending, by the head node, the way of calculating the head node to the downstream node comprises: sending, by the head node, a PATH message to the downstream node, where the PATH report The text carries the way of calculating the head node.
根据本发明的一个实施例,提供了一种算路处理装置,该装置应用于下游结点,包括:接收模块,设置为接收来自头结点的所述头结点的算路方式;算路模块,设置为使用所述算路方式进行算路。According to an embodiment of the present invention, a circuit processing apparatus is provided, the apparatus being applied to a downstream node, comprising: a receiving module configured to receive a method of calculating the head node from the head node; The module is set to use the calculation method to perform the calculation.
优选地,所述接收模块还设置为接收来自所述头结点的PATH报文;从所述PATH报文中获取所述头结点的算路方式。Preferably, the receiving module is further configured to receive a PATH message from the head node, and obtain a path manner of the head node from the PATH message.
根据本发明的一个实施例,还提供了另一种算路处理装置,该装置应用于头结点,包括:确定模块,设置为确定所述头结点的算路方式,其中,所述算路方式为下游结点进行算路所使用的算路方式;发送模块,设置为将所述算路方式发送给所述下游结点。According to an embodiment of the present invention, there is further provided another method of processing a circuit, the device being applied to a head node, comprising: a determining module, configured to determine a way of calculating the head node, wherein the calculating The way of the way is the way of calculating the way for the downstream node to calculate the path; the sending module is configured to send the way of calculating the way to the downstream node.
通过本发明,采用下游结点接收来自头结点的算路方式;下游结点使用该算路方式进行算路。解决了现有技术中隧道头结点的算路方式与中间节点的算路方式不一致的问题,进而可以得到最优的路径,提升了用户体验。Through the invention, the downstream node is used to receive the calculation method from the head node; the downstream node uses the calculation method to perform the calculation. The problem that the calculation method of the tunnel head node in the prior art is inconsistent with the calculation method of the intermediate node is solved, and the optimal path can be obtained, thereby improving the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的四节点Metric算路示意图;1 is a schematic diagram of a four-node Metric calculation circuit according to an embodiment of the present invention;
图2是根据本发明实施例的跨域四节点示意图;2 is a schematic diagram of a cross-domain four-node according to an embodiment of the present invention;
图3是根据本发明实施例的算路处理方法的流程图;3 is a flow chart of a method of processing a road according to an embodiment of the present invention;
图4是根据本发明实施例的算路处理装置的结构框图;4 is a block diagram showing the structure of a road processing device according to an embodiment of the present invention;
图5是根据本发明实施例的算路处理方法的流程图一;FIG. 5 is a flowchart 1 of a method for processing a road according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的算路处理装置的结构框图一;6 is a block diagram 1 of a circuit processing apparatus according to an embodiment of the present invention;
图7是根据本发明优选实施例的SESSION_ATTRIBUTE对象格式图;7 is a format diagram of a SESSION_ATTRIBUTE object in accordance with a preferred embodiment of the present invention;
图8是根据本发明优选实施例的隧道Metric算路约束的通知方法流程图;8 is a flowchart of a notification method of a tunnel metric road constraint according to a preferred embodiment of the present invention;
图9是根据本发明优选实施例的隧道中间节点算路的方法流程图。 9 is a flow chart of a method for calculating a tunnel intermediate node in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种算路处理方法,图3是根据本发明实施例的算路处理方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a method for processing a road is provided. FIG. 3 is a flowchart of a method for processing a road according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302,下游结点接收来自头结点的算路方式;Step S302, the downstream node receives the calculation method from the head node;
步骤S304,下游结点使用该算路方式进行算路。In step S304, the downstream node uses the calculation method to perform the calculation.
通过上述步骤,下游结点使用接收到的来自头结点的算路方式进行算路,相比于现有技术中采用默认的算路方式及为各个结点全局配置算路方式仍然会出现头结点和下游结点所使用了算路方式不一致,上述步骤解决了隧道头结点的算路方式与中间节点的算路方式不一致的问题,进而可以得到最优的路径,提升了用户体验。Through the above steps, the downstream node uses the received calculation method from the head node to perform the calculation. Compared with the prior art, the default calculation method is adopted, and the calculation method is globally configured for each node. The calculation method used by the node and the downstream node is inconsistent. The above steps solve the problem that the calculation method of the tunnel head node is inconsistent with the calculation method of the intermediate node, and the optimal path can be obtained, thereby improving the user experience.
上述步骤S302涉及到下游结点接收来自头结点的算路方式,需要说明的是,下游结点可以通过多种方式接收头结点的算路方式,下面对此进行举例说明。在一个优选实施例中,下游结点接收来自头结点的PATH报文,从PATH报文中获取头结点的算路方式。The above step S302 involves the downstream node receiving the calculation method from the head node. It should be noted that the downstream node can receive the calculation method of the head node in various ways, which will be exemplified below. In a preferred embodiment, the downstream node receives the PATH message from the head node, and obtains the way of calculating the head node from the PATH message.
同时,算路方式可以通过多种方式携带于PATH报文中,在一个优选实施例中,算路方式可以存在于PATH报文中的新增字段中或者PATH报文中的未使用的字段中。At the same time, the algorithm can be carried in the PATH packet in a plurality of manners. In a preferred embodiment, the algorithm can exist in a new field in the PATH packet or in an unused field in the PATH packet. .
当算路方式存在于PATH报文中的未使用的字段中时,在一个优选实施例中,算路方式存在于SESSION_ATTRIBUTE对象的FLAG字段中。When the way of computing exists in an unused field in the PATH message, in a preferred embodiment, the way of computing exists in the FLAG field of the SESSION_ATTRIBUTE object.
在一个优选实施例中,头结点和下游结点处于不同的域或者相同的域。In a preferred embodiment, the head node and the downstream node are in different domains or the same domain.
具体地,算路方式包括:内部网关协议链路代价IGP Metric、流量工程链路代价TE Metric。Specifically, the calculation manner includes: an internal gateway protocol link cost IGP Metric, and a traffic engineering link cost TE Metric.
在本实施例中还提供了一种算路处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 In the embodiment, a circuit processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图4是根据本发明实施例的算路处理装置的结构框图,该装置应用于下游结点,如图4所示,该装置包括:接收模块42,设置为接收来自头结点的该头结点的算路方式;算路模块44,设置为使用该算路方式进行算路。4 is a block diagram showing the structure of a circuit processing device according to an embodiment of the present invention. The device is applied to a downstream node. As shown in FIG. 4, the device includes a receiving module 42 configured to receive the head node from the head node. The calculation method of the point; the calculation module 44 is set to use the calculation method to perform the calculation.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:接收模块42和算路模块44均位于同一处理器中;或者,接收模块42和算路模块44分别位于第一处理器、第二处理器中。It should be noted that each of the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the receiving module 42 and the computing module 44 are all located in the same processor; or The receiving module 42 and the computing module 44 are respectively located in the first processor and the second processor.
优选地,接收模块42还设置为接收来自所述头结点的PATH报文;从该PATH报文中获取头结点的算路方式。Preferably, the receiving module 42 is further configured to receive a PATH message from the head node; and obtain a way of calculating the head node from the PATH message.
在本实施例中提供了另一种算路处理方法,图5是根据本发明实施例的算路处理方法的流程图一,如图5所示,该流程包括如下步骤:Another method for calculating a road is provided in this embodiment. FIG. 5 is a flowchart 1 of a method for processing a road according to an embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
步骤S502,头结点确定该头结点的算路方式,其中,算路方式为下游结点进行算路所使用的算路方式;Step S502, the head node determines a path calculation manner of the head node, wherein the calculation method is a calculation method used by the downstream node for calculating a road;
步骤S504,头结点将该算路方式发送给下游结点。In step S504, the head node sends the calculation mode to the downstream node.
通过上述步骤,头结点将该头结点的算路方式发送给下游结点,下游结点使用该算路方式进行算路,相比于现有技术中采用默认的算路方式及为各个结点全局配置算路方式仍然会出现头结点和下游结点所使用了算路方式不一致,上述步骤解决了隧道头结点的算路方式与中间节点的算路方式不一致的问题,进而可以得到最优的路径,提升了用户体验。Through the above steps, the head node sends the calculation method of the head node to the downstream node, and the downstream node uses the calculation method to calculate the road, compared with the default calculation method in the prior art. In the node global configuration calculation method, the calculation method of the head node and the downstream node is still inconsistent. The above steps solve the problem that the calculation method of the tunnel head node is inconsistent with the calculation method of the intermediate node, and thus Get the optimal path and improve the user experience.
上述步骤S504涉及到头结点将算路方式发送给下游结点,需要说明的是,头结点可以通过多种方式将算路方式发送给下游结点,下面对此进行举例说明。在一个优选实施例中,头结点将PATH报文发送给下游结点,其中,PATH报文中携带有头结点的算路方式。In the above step S504, the head node sends the calculation mode to the downstream node. It should be noted that the head node can send the calculation mode to the downstream node in various manners, which will be exemplified below. In a preferred embodiment, the head node sends the PATH message to the downstream node, where the PATH message carries the way of calculating the head node.
在本实施例中还提供了一种算路处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a circuit processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是根据本发明实施例的算路处理装置的结构框图一,该装置应用于头结点,如图6所示,该装置包括:确定模块62,设置为确定头结点的算路方式,其中,算路 方式为下游结点进行算路所使用的算路方式;发送模块64,设置为将算路方式发送给下游结点。6 is a block diagram 1 of a circuit processing apparatus according to an embodiment of the present invention. The apparatus is applied to a head node. As shown in FIG. 6, the apparatus includes: a determining module 62 configured to determine a method of calculating a head node. , where the road The method is a calculation method used for the calculation of the downstream node; the sending module 64 is configured to send the calculation method to the downstream node.
针对相关技术中存在的问题,下面结合优选实施例进行说明,该优选实施例结合了上述实施例及其优选实施方式。In view of the problems in the related art, the following description will be made in conjunction with the preferred embodiments, which combine the above-described embodiments and preferred embodiments thereof.
本优选实施例中定义了一套机制,用报文对象传递隧道头结点要求的Metric算路方式,使得下游各个节点知道头结点的策略要求,如果中间节点需要再次算路,需要解析出报文的对象内容,执行头结点的关于Metric算路方式的策略要求。In the preferred embodiment, a set of mechanisms is defined, and the Metric algorithm required by the tunnel head node is transmitted by the message object, so that each downstream node knows the policy requirements of the head node. If the intermediate node needs to calculate the path again, it needs to be parsed out. The object content of the message, and the policy requirements of the head node for the Metric algorithm.
将头结点关于隧道Metric算路方式,在PATH报文中传递给下游。The head node is referred to the tunnel Metric algorithm and passed to the downstream in the PATH message.
在PATH报文中,可以新增对象,也可以在已有对象中,对于一些保留位或者未使用的字段进行标注,用作头结点算路方式的意义。In the PATH message, you can add an object, or you can mark some reserved or unused fields in the existing object, which is used as the way of the head node calculation method.
本优选实施例选取SESSION_ATTRIBUTE对象的FLAG字段,SESSION_ATTRIBUTE对象格式如图7所示。FLAG字段占8bit,目前已定义了其中的7个bit,利用第8个bit位,用来表示Metirc算路的方式。The preferred embodiment selects the FLAG field of the SESSION_ATTRIBUTE object, and the format of the SESSION_ATTRIBUTE object is as shown in FIG. 7. The FLAG field occupies 8 bits. Currently, 7 bits have been defined, and the 8th bit is used to indicate the way the Subway is calculated.
Figure PCTCN2015073276-appb-000001
Figure PCTCN2015073276-appb-000001
其中0表示IGP Metric方式,1表示TE Metric方式。0 indicates the IGP Metric mode and 1 indicates the TE Metric mode.
下面结合附图对本优选实施例进行详细说明。The preferred embodiment will be described in detail below with reference to the accompanying drawings.
本优选实施例中,当隧道头结点确定某条隧道需要的Metric算路方式时,通过RSVP-TE信令PATH报文沿途传递到下游各个节点,各个节点(非头结点)接收到了 头结点要求的Metric算路方式,在执行算路的时候,需要采用报文中携带的Metric算路方式。In the preferred embodiment, when the tunnel head node determines the Metric calculation mode required by a certain tunnel, the RSVP-TE signaling PATH message is transmitted to each downstream node along the way, and each node (non-head node) receives the same. The Metric calculation method required by the head node needs to adopt the Metric calculation method carried in the message when performing the calculation.
实施例一 Embodiment 1
本优选实施例一提供了一种隧道Metric算路约束的通知方法,图8是根据本发明优选实施例的隧道Metric算路约束的通知方法流程图,如图8所示,该方法包括如下步骤:The preferred embodiment 1 provides a method for notifying a tunnel metric road constraint, and FIG. 8 is a flowchart of a method for notifying a tunnel metric road constraint according to a preferred embodiment of the present invention. As shown in FIG. 8 , the method includes the following steps. :
步骤802,确定头结点的Metric约束算路方式,将其信息写入PATH消息中:当头结点确定某条隧道的Metric算路方式策略时,需要向RSVP-TE的PATH报文中写入此策略信息。Step 802: Determine the Metric constraint calculation mode of the head node, and write the information into the PATH message: when the head node determines the Metric calculation mode policy of a certain tunnel, it needs to write to the PATH message of the RSVP-TE. This policy information.
具体的,所述写入的信息,可以是新增的对象,也可以是已有对象的保留位或者未占用位;例如,可以采用SESSION_ATTRIBUTE对象中的FLAG中尚未使用的一个BIT位。Specifically, the written information may be a newly added object, or may be a reserved bit or an unoccupied bit of the existing object; for example, a BIT bit that is not used in the FLAG in the SESSION_ATTRIBUTE object may be used.
步骤S804,头结点发送PATH消息,沿途各个节点传递该算路约束信息:将携带的Metirc约束信息的PATH报文发送下游各个节点。Step S804, the head node sends a PATH message, and the node constraint information is transmitted by each node along the way: the PATH message of the carried Meditri constraint information is sent to each downstream node.
实施例二 Embodiment 2
本优选实施例二提供了一种隧道中间节点算路的方法,图9是根据本发明优选实施例的隧道中间节点算路的方法流程图,如图9所示,该方法包括以下步骤:The preferred embodiment 2 provides a method for calculating the intermediate node of the tunnel, and FIG. 9 is a flowchart of a method for calculating the intermediate node of the tunnel according to a preferred embodiment of the present invention. As shown in FIG. 9, the method includes the following steps:
步骤S902,中间节点接收到上游的PATH消息,解析上游Metirc约束算路的方式信息。Step S902, the intermediate node receives the upstream PATH message, and parses the mode information of the upstream Metrotr constraint calculation path.
具体的由上游携带的对象来决定解析内容,可以是新增的对象,也可以是已有对象的保留位或者未占用位,本发明使用的SESSION_ATTRIBUTE对象FLAG字段,接收PATH消息,解析该字段的FLAG第八位。Specifically, the object that is carried by the upstream determines the parsing content, which may be a newly added object, or may be a reserved bit or an unoccupied bit of the existing object. The SLAGSION_ATTRIBUTE object FLAG field used by the present invention receives the PATH message and parses the field. FLAG eighth place.
步骤S904,根据解析出来的Metric约束算路方式,判断本节点是否需要算路,如果需要算路通过解析出来的Metric算路方式进行算路。In step S904, according to the analyzed Metric constraint calculation method, it is determined whether the node needs to calculate the path, and if the calculation path is required, the calculation is performed by the analyzed Metric calculation method.
步骤S906,将Metric约束算路信息放入需要往下游发送的PATH消息中:向下游发送PATH消息,保持原有的Metric约束算路方式信息传递给下游。 In step S906, the metric constraint calculation path information is put into the PATH message that needs to be sent downstream: the PATH message is sent downstream, and the original metric constraint calculation path information is transmitted to the downstream.
下面通过两个具体的实施例,对本优选实施例提供的RSVP-TE算路方法进行详细的介绍:The RSVP-TE calculation method provided by the preferred embodiment is described in detail below through two specific embodiments:
实例一Example one
如图2所示,以R1作为头结点,R3作为尾节点的隧道。由于头结点和尾节点位于不同的域,所以R1算路的时候只能算路至域的边界,R2或者R4,假设算路至R2,头结点的隧道Metric约束算路方式是TE Metric方式。As shown in Figure 2, R1 is used as the head node and R3 is used as the tail node tunnel. Since the head node and the tail node are located in different domains, R1 can only calculate the path-to-domain boundary when calculating R2, R2 or R4, and assume the calculation path to R2. The tunnel Metric constraint calculation method of the head node is TE Metric. the way.
那么,R1至R2的最优路径为R1→R4→R2,算路结束之后,发往R4的PATH报文在SESSION_ATTRIBUTE中的Flag字段0x80位上置1,表示算路方式为TE Metric约束算路方式。Then, the optimal path of R1 to R2 is R1→R4→R2. After the end of the calculation, the PATH message sent to R4 is set to 1 in the Flag field 0x80 of SESSION_ATTRIBUTE, indicating that the calculation mode is TE Metric constraint calculation. the way.
R4接收到该PATH报文,因为路径已经算至R2了,所以不需要再次算路,R4将该携带TE Metric约束算路方式信息的PATH报文传递给R2。R4 receives the PATH packet, because the path has been counted to R2, so there is no need to calculate the path again. R4 passes the PATH packet carrying the TE Metric constraint algorithm information to R2.
R2接收到PATH报文,由于没有后续的路径,需要再次算路至隧道尾节点。提取PATH报文中由隧道头结点携带的Metric约束算路方式为TE Metric方式,以该方式进行算路,算路的结果为R2→R3。R2 receives the PATH packet. Since there is no subsequent path, it needs to calculate the path to the tail node of the tunnel again. The Metric constraint calculation method carried in the PATH packet by the tunnel head node is TE Metric mode, and the calculation is performed in this manner, and the result of the calculation is R2→R3.
R2向R3发送的PATH消息同样携带Metric约束算路信息。R3接收到该报文,由于是尾节点,终止PATH消息的信令。The PATH message sent by R2 to R3 also carries the metric constraint path information. R3 receives the message and terminates the signaling of the PATH message because it is a tail node.
实例二Example two
如图1所示,隧道头结点R1和隧道尾节点R3在同一个域中,由R1直接算路到尾节点R3,如果头结点算路方式为TE Metric,那么算出的路径为R1→R4→R3。As shown in Figure 1, the tunnel head node R1 and the tunnel tail node R3 are in the same domain, and R1 directly calculates the way to the tail node R3. If the head node calculation method is TE Metric, the calculated path is R1→ R4 → R3.
同理,R1向R4、R4向R3发送的PATH消息需要携带TE Metric算路的信息。只是由于中间节点不需要算路,这些信息只是一直透传给下游。Similarly, the PATH message sent by R1 to R4 and R4 to R3 needs to carry the information of the TE Metric algorithm. Just because the intermediate nodes do not need to calculate the way, this information is only transparent to the downstream.
综上所述,通过本优选实施例提出一种新的机制,以RSVP-TE信令传递的方式,将一条隧道下要求的Metric算路约束传递到下游各个节点,使得隧道的下游节点清楚头结点对于Metric算路的约束方式,下游各个节点如果需要算路,那么可以解析报文中的Metric算路信息得到需要的算路方式,从而得到一条满足用户要求的最优的路径。In summary, a new mechanism is proposed by the preferred embodiment, and the Metric calculation path constraint required under one tunnel is transmitted to each downstream node in the manner of RSVP-TE signaling transmission, so that the downstream node of the tunnel is clear. For the constraint mode of the Metric algorithm, if the downstream nodes need to calculate the path, then the Metric calculation information in the message can be parsed to obtain the required calculation mode, so as to obtain an optimal path that meets the user's requirements.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以 将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby Storing them in a storage device is performed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
基于本发明实施例提供的上述技术方案,采用下游结点接收来自头结点的算路方式;下游结点使用该算路方式进行算路。解决了现有技术中隧道头结点的算路方式与中间节点的算路方式不一致的问题,进而可以得到最优的路径,提升了用户体验。 According to the above technical solution provided by the embodiment of the present invention, the downstream node is used to receive the calculation method from the head node; the downstream node uses the calculation method to perform the calculation. The problem that the calculation method of the tunnel head node in the prior art is inconsistent with the calculation method of the intermediate node is solved, and the optimal path can be obtained, thereby improving the user experience.

Claims (10)

  1. 一种算路处理方法,包括:A method of processing a road, comprising:
    下游结点接收来自头结点的所述头结点的算路方式;The downstream node receives the way of calculating the head node from the head node;
    所述下游结点使用所述算路方式进行算路。The downstream node uses the calculation method to perform the calculation.
  2. 根据权利要求1所述的方法,其中,所述下游结点接收来自所述头结点的算路方式包括:The method of claim 1 wherein said downstream node receiving a way of calculating from said head node comprises:
    所述下游结点接收来自所述头结点的PATH报文;从所述PATH报文中获取所述头结点的算路方式。The downstream node receives a PATH message from the head node; and obtains a method for calculating the head node from the PATH message.
  3. 根据权利要求2所述的方法,其中,所述算路方式通过以下之一方式携带于所述PATH报文中:The method according to claim 2, wherein the computing mode is carried in the PATH message by one of the following methods:
    在所述PATH报文中的新增字段添加所述算路方式、在所述PATH报文中的未使用的字段添加所述算路方式。Adding the calculation mode to the newly added field in the PATH message, and adding the calculation mode to an unused field in the PATH message.
  4. 根据权利要求3所述的方法,其中,在所述PATH报文中的未使用的字段添加所述算路方式包括:The method of claim 3, wherein adding the method of calculating the unused fields in the PATH message comprises:
    在SESSION_ATTRIBUTE对象的标志字段FLAG字段中添加所述算路方式。The calculation method is added in the flag field FLAG field of the SESSION_ATTRIBUTE object.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述算路方式包括:The method according to any one of claims 1 to 4, wherein the way of calculating comprises:
    内部网关协议链路代价IGP Metric、流量工程链路代价TE Metric。The internal gateway protocol link costs IGP Metric, traffic engineering link cost TE Metric.
  6. 一种算路处理方法,包括:A method of processing a road, comprising:
    头结点确定所述头结点的算路方式,其中,所述算路方式为下游结点进行算路所使用的算路方式;The head node determines a way of calculating the head node, wherein the calculation method is a calculation method used by the downstream node for calculating a road;
    所述头结点将所述算路方式发送给所述下游结点。The head node sends the way of calculating to the downstream node.
  7. 根据权利要求6所述的方法,其中,所述头结点将所述头结点的算路方式发送给所述下游结点包括:The method of claim 6, wherein the sending, by the head node, the way of calculating the head node to the downstream node comprises:
    所述头结点将PATH报文发送给所述下游结点,其中,所述PATH报文中携带有所述头结点的算路方式。 The head node sends the PATH message to the downstream node, where the PATH message carries the way of calculating the head node.
  8. 一种算路处理装置,该装置应用于下游结点,包括:A circuit processing device for a downstream node, comprising:
    接收模块,设置为接收来自头结点的所述头结点的算路方式;a receiving module configured to receive a method of calculating the head node from the head node;
    算路模块,设置为使用所述算路方式进行算路。The calculation module is set to use the calculation method to perform the calculation.
  9. 根据权利要求8所述的装置,其中,所述接收模块还设置为接收来自所述头结点的PATH报文;从所述PATH报文中获取所述头结点的算路方式。The apparatus according to claim 8, wherein the receiving module is further configured to receive a PATH message from the head node; and obtain a way of calculating the head node from the PATH message.
  10. 一种算路处理装置,该装置应用于头结点,包括:A circuit processing device for use in a head node, comprising:
    确定模块,设置为确定所述头结点的算路方式,其中,所述算路方式为下游结点进行算路所使用的算路方式;a determining module, configured to determine a method for calculating the head node, wherein the calculating method is a calculating method used by the downstream node for calculating a road;
    发送模块,设置为将所述算路方式发送给所述下游结点。 The sending module is configured to send the computing mode to the downstream node.
PCT/CN2015/073276 2014-10-21 2015-02-25 Path computation processing method and device WO2016061967A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410563851.7A CN105591905B (en) 2014-10-21 2014-10-21 Calculate road processing method and processing device
CN201410563851.7 2014-10-21

Publications (1)

Publication Number Publication Date
WO2016061967A1 true WO2016061967A1 (en) 2016-04-28

Family

ID=55760149

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073276 WO2016061967A1 (en) 2014-10-21 2015-02-25 Path computation processing method and device

Country Status (2)

Country Link
CN (1) CN105591905B (en)
WO (1) WO2016061967A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616063A (en) * 2008-06-26 2009-12-30 华为技术有限公司 A kind of routed path method for building up, system and device
CN102281193A (en) * 2011-07-25 2011-12-14 杭州华三通信技术有限公司 Method and fiber channel (FC) equipment for realizing message forwarding in fiber channel network
EP2549697A1 (en) * 2011-07-22 2013-01-23 Alcatel Lucent Method of network path computation
US8576848B2 (en) * 2010-09-17 2013-11-05 At&T Intellectual Property I, L.P. Scalable multiprotocol label switching (MPLS) based networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616063A (en) * 2008-06-26 2009-12-30 华为技术有限公司 A kind of routed path method for building up, system and device
US8576848B2 (en) * 2010-09-17 2013-11-05 At&T Intellectual Property I, L.P. Scalable multiprotocol label switching (MPLS) based networks
EP2549697A1 (en) * 2011-07-22 2013-01-23 Alcatel Lucent Method of network path computation
CN102281193A (en) * 2011-07-25 2011-12-14 杭州华三通信技术有限公司 Method and fiber channel (FC) equipment for realizing message forwarding in fiber channel network

Also Published As

Publication number Publication date
CN105591905B (en) 2019-04-12
CN105591905A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US11533258B2 (en) In-situ passive performance measurement in a network environment
US10644977B2 (en) Scalable distributed end-to-end performance delay measurement for segment routing policies
CN109863725B (en) Segment routing method based on maximum segment identifier depth and electronic equipment
CN107276897B (en) Network equipment, centralized controller equipment and method for routing label switching path
WO2019128950A1 (en) Packet processing method, network node, and system
US20150249592A1 (en) Opaque profile identifiers for path computation element protocol
US11411882B2 (en) Generating automatic bandwidth adjustment policies per label-switched path
US9838243B2 (en) Transformative requests
US9571381B2 (en) System and method for inter-domain RSVP-TE LSP load balancing
CN105376162B (en) A kind of link-state information notifying method and equipment
US9166903B2 (en) System, method and apparatus to resolve RPF-vector attribute conflicts
US11038792B2 (en) Method and apparatus for path computation
US20140376562A1 (en) Routing generation for implementation of fiber channel over ethernet
WO2017211164A1 (en) Method, apparatus, and system for determining inter-as label switched path tunnel
CN113709034A (en) Bit mask route targets in directed information distribution using routing protocols
US20170222934A1 (en) Maintaining information of te link
WO2023082815A1 (en) Method and apparatus for constructing deterministic routing, and storage medium
CN107181689A (en) Method for message interaction and device between router
Froes et al. ProgLab: Programmable labels for QoS provisioning on software defined networks
WO2018054197A1 (en) Method and apparatus for path selecting
WO2016061967A1 (en) Path computation processing method and device
CN108429688A (en) A kind of single node failure route protection method based on section routing
US20240015108A1 (en) Method and system for efficient input/output transfer in network devices
WO2023155068A1 (en) Communication device, sdn controller, and methods therein for facilitating path computation
WO2023130743A1 (en) Path calculation method, node, storage medium and computer program product

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: 15853281

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: 15853281

Country of ref document: EP

Kind code of ref document: A1