WO2020024907A1 - 路径标识传输方法、装置和计算机可读存储介质 - Google Patents

路径标识传输方法、装置和计算机可读存储介质 Download PDF

Info

Publication number
WO2020024907A1
WO2020024907A1 PCT/CN2019/098193 CN2019098193W WO2020024907A1 WO 2020024907 A1 WO2020024907 A1 WO 2020024907A1 CN 2019098193 W CN2019098193 W CN 2019098193W WO 2020024907 A1 WO2020024907 A1 WO 2020024907A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
identifier
path identifier
segmented routing
identification
Prior art date
Application number
PCT/CN2019/098193
Other languages
English (en)
French (fr)
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 WO2020024907A1 publication Critical patent/WO2020024907A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/507Label distribution

Definitions

  • This disclosure relates to, but is not limited to, the field of communication technologies.
  • Segment routing is a source routing technology. With this technology, the forwarding point does not need to sense the service status, it only maintains the topology point information, and realizes the decoupling of the number of service instances and the network, which greatly improves the network support. Ability and scalability in connectivity.
  • the principle of segmented routing is that the source node pushes the instructions carrying routing information into the message header, the intermediate forwarding point advances hop by hop and pops up the relevant instructions to forward the message.
  • the segment routing technology considers two types of encapsulation on the data plane: MPLS (Multi-Protocol Label Switching) encapsulation and IPv6 (Internet Protocol Version 6, Internet Protocol version 6) encapsulation.
  • MPLS Multi-Protocol Label Switching
  • IPv6 Internet Protocol Version 6, Internet Protocol version 6
  • the MPLS forwarding plane does not require Any modification can be applied to the SR model.
  • IPV6 defines a new Routing Header Type for the SR, defines SR related routing extension headers, and provides source-based routing capabilities.
  • the present disclosure provides a path identification transmission method including: allocating a path identification for identifying a segmented routing path; encapsulating the path identification through an extended border gateway protocol; and encapsulating the path.
  • the identification is sent to a router in the segmented routing path.
  • the present disclosure also provides a path identification transmission device, including: a path identification allocation module that assigns a path identification for identifying a segmented routing path; and an encapsulation module that performs the path identification through an extended border gateway protocol Encapsulation; a path identification sending module that sends the encapsulated path identification to a router in the segmented routing path.
  • the present disclosure also provides a computer-readable storage medium on which one or more programs are stored, the one or more programs being executable by one or more processors to implement the paths described herein. Identifies the steps of the transfer method.
  • FIG. 1 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure.
  • FIG. 7 is a block diagram of a path identification transmission apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a path identification transmission apparatus according to an embodiment of the present disclosure.
  • the path identification is used to identify an SR path. This information is pushed onto the packet header by the source node. The intermediate forwarding point does not perform any processing, and the tail node uses the path identification. And the label pops up. Its main usage scenarios are: end-to-end SR protection, performance measurement (PM, performance monitoring) of SR, and associating two unidirectional tunnels into a two-way tunnel.
  • path identifiers There are two ways to assign path identifiers. One is the network-only path identifier assigned to the controller or SR tail node, and the other is the path identifier assigned by the SR head node.
  • the controller or the tail node is required to send the path identifier to the head node, but there is no related technology to implement how the controller or the tail node advertises the path identifier to the head node.
  • the present disclosure particularly provides a path identification transmission method, a device, and a computer-readable storage medium, which substantially avoid one or more of the problems caused by the limitations and disadvantages of the related art.
  • FIG. 1 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure. As shown in FIG. 1, in one embodiment, the method may include steps S110 to S130.
  • step S110 a path identifier for identifying a segmented routing path is assigned.
  • step S120 the path identifier is encapsulated by the extended border gateway protocol.
  • this embodiment since there is currently no protocol for issuing a path identifier to a router that segmented a routing path, this embodiment uses an extended border gateway protocol to implement encapsulation of the path identifier so that the path identifier can be downloaded. hair.
  • step S130 the encapsulated path identifier is sent to the router in the segmented routing path.
  • the router there is no restriction on the router as the transmission target, and it may be any router in the segmented routing path.
  • an extended border gateway protocol is used. It implements the encapsulation of the path identifier, and sends the path identifier to the router in the segmented routing path after encapsulation.
  • FIG. 2 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure. As shown in FIG. 2, in one embodiment, the method may include steps S210 to S230.
  • step S210 a path identifier for identifying a segmented routing path is assigned by the controller.
  • step S220 the path identifier is encapsulated into an update message corresponding to the extended border gateway protocol.
  • the specific identifier corresponding to the segmented routing tunnel encapsulation attribute of the update message carries the path identifier.
  • the specific encoding includes, but is not limited to, a TLV (type-length-value, tag-length-value) encoding.
  • step S230 the encapsulated path identifier is sent to a head node or a tail node of the segmented routing path.
  • the controller allocates a unique SR path identifier of the network, and delivers the identifier to the head node of the segmented route.
  • FIG. 3 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure.
  • the controller assigns a unique SR path identifier for the network.
  • the controller uses the extended SR tunnel encapsulation attribute to carry the SR path identifier to the head or tail node in the segmented routing path.
  • the SR path identifier can be carried to the head node by extending the BGP update (update) message.
  • the SR path identifier sub-TLV (sub-TLV) is carried through the extended SR tunnel encapsulation attribute to carry the SR path identifier to the head node.
  • the format of the SR path identifier sub-TLV is shown in Figure 4, where Path-id is Path ID.
  • the head node or the tail node After receiving the message, the head node or the tail node establishes a mapping relationship between the path identifier and the path. If the SR tunnel encapsulation message is received by the head node, if there is no SR path information, the head node will generate a locally unique identifier to identify the SR path and associate it with the SR-TE policy, and notify the controller. The controller can be notified via the extended southbound interface protocol (BGP-LS / NETCONF / PCEP protocol).
  • BGP-LS / NETCONF / PCEP protocol the extended southbound interface protocol
  • FIG. 5 is a flowchart of a path identification transmission method according to an embodiment of the present disclosure. As shown in FIG. 5, in one embodiment, the method may include steps S510 to S530.
  • step S510 the trail node of the segmented routing path is assigned a path identifier for identifying a segmented routing path.
  • step S520 the path identifier is encapsulated into an update message corresponding to the extended border gateway protocol.
  • the specific identifier corresponding to the segmented routing tunnel encapsulation attribute of the update message carries the path identifier.
  • step S530 the encapsulated path identifier is sent to the head node of the segmented routing path.
  • the path identifier may be directly or indirectly sent to the head node.
  • the direct transmission method is: the path identifier is allocated by the tail node, and this information is notified to the head node.
  • FIG. 6 is a schematic diagram of a path identification transmission method according to an embodiment of the present disclosure. As shown in Figure 6, after the tail node allocates the SR path identifier, the mapping relationship between the path identifier and the path is established, and the head node is notified to the head node through the extended BGP protocol.
  • the tail node carries the SR path identifier to the head node by extending the BGP update message.
  • the extended SR tunnel encapsulation attribute carries an SR path identifier sub-TLV to carry the SR path identifier to the head node.
  • the head node After receiving the message, the head node establishes a mapping relationship between the path identifier and the path.
  • FIG. 7 is a block diagram of a path identification transmission apparatus according to an embodiment of the present disclosure. As shown in FIG. 7, in one embodiment, the apparatus may include a path identification allocation module 710, an encapsulation module 720, and a path identification sending module 730.
  • the path identification assignment module 710 is configured to assign a path identification for identifying a segmented routing path.
  • the encapsulation module 720 is configured to encapsulate the path identifier through an extended border gateway protocol.
  • this embodiment since there is currently no protocol for issuing a path identifier to a router that segmented a routing path, this embodiment uses an extended border gateway protocol to implement encapsulation of the path identifier so that the path identifier can be downloaded. hair.
  • the path identification sending module 730 is configured to send the encapsulated path identification to a router in the segmented routing path.
  • the router there is no restriction on the router as the transmission target, and it may be any router in the segmented routing path.
  • an extended border gateway protocol is used. It implements the encapsulation of the path identifier, and sends the path identifier to the router in the segmented routing path after encapsulation.
  • the path identification assignment module 710 is configured to assign a path identification for identifying a segmented routing path through a controller.
  • the encapsulation module 720 is configured to encapsulate the path identifier into an update message corresponding to the extended border gateway protocol.
  • the specific identifier corresponding to the segmented routing tunnel encapsulation attribute of the update message carries the path identifier.
  • the specific encoding includes, but is not limited to, a TLV (type-length-value, tag-length-value) encoding.
  • the path identification sending module 730 is configured to send the encapsulated path identification to a head node or a tail node of the segmented routing path.
  • the controller allocates a unique SR path identifier of the network, and delivers the identifier to the head node or tail node of the segmented route.
  • the controller allocates a unique SR path identifier of the network.
  • the controller uses the extended SR tunnel encapsulation attribute to carry the SR path identifier to the head or tail node in the segmented routing path.
  • the SR path identifier can be carried to the head node by extending the BGP update (update) message.
  • the SR path identifier sub-TLV is carried through the extended SR tunnel encapsulation attribute to carry the SR path identifier to the head node and the SR path identifier.
  • Path-id is the path identifier.
  • the head node or the tail node After receiving the message, the head node or the tail node establishes a mapping relationship between the path identifier and the path. If the SR tunnel encapsulation message is received by the head node, if there is no SR path information, the head node will generate a locally unique identifier to identify the SR path and associate it with the SR-TE policy, and notify the controller. The controller can be notified via the extended southbound interface protocol (BGP-LS / NETCONF / PCEP protocol).
  • BGP-LS / NETCONF / PCEP protocol the extended southbound interface protocol
  • the path identification assignment module 710 is configured to assign a path identification for identifying a segmented routing path through a tail node of the segmented routing path.
  • the encapsulation module 720 is configured to encapsulate the path identifier into an update message corresponding to the extended border gateway protocol.
  • the specific identifier corresponding to the segmented routing tunnel encapsulation attribute of the update message carries the path identifier.
  • the path identification sending module 730 is configured to send the encapsulated path identification to the head node of the segmented routing path.
  • the path identifier may be directly or indirectly sent to the head node.
  • the indirect transmission method is: the path identifier is allocated by the tail node, and this information is notified to the controller, and the controller notifies the extended BGP protocol to the head node. .
  • FIG. 8 is a schematic diagram of a path identification transmission apparatus according to an embodiment of the present disclosure. As shown in FIG. 8, after the tail node allocates the SR path identifier, a mapping relationship between the path identifier and the path is established and notified to the controller. In this embodiment, the controller may request the tail node to allocate an SR path message, and the tail node may notify the controller of the SR path identifier after allocating the path identifier.
  • the controller After receiving the SR path information, the controller notifies the information to the head node through the extended BGP protocol.
  • the BGP path update message can be extended to carry the SR path identifier to the head node.
  • the extended SR tunnel encapsulation attribute carries an SR path identifier sub-TLV to carry the SR path identifier to the head node.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on this understanding, the technical solution of the present disclosure that is essentially or contributes to the existing technology can be embodied in the form of a software product that is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present disclosure.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供了路径标识传输方法、装置和计算机可读存储介质,该方法包括:分配用于标识一条分段路由路径的路径标识;通过扩展的边界网关协议对路径标识进行封装;将封装后的路径标识发送至分段路由路径中的路由器。

Description

路径标识传输方法、装置和计算机可读存储介质 技术领域
本公开涉及但不限于通信技术领域。
背景技术
分段路由(Segment Routing,SR)是一种源路由技术,采用该技术,转发点不需要感知业务状态,只维护拓扑点信息,实现业务实例数与网络的解耦,大大提升了网络支持泛在连接的能力和扩展性。
分段路由的原理是在源节点通过把携带路由信息的指令压栈到报文头中,中间转发点逐跳提前并弹出相关的指令进行报文转发。分段路由技术在数据面考虑了两种封装,MPLS(Multi-Protocol Label Switching,多协议标签交换)封装及IPv6(Internet Protocol Version 6,版本为6的互联网协议)的封装,MPLS转发平面不需要做任何修改就可以应用于SR模型,IPV6针对SR定义一个新的路由头类型(Routing Header Type),定义了SR相关路由扩展头,提供基于源的路由能力。
发明内容
一方面,本公开提供了一种路径标识传输方法,包括:分配用于标识一条分段路由路径的路径标识;通过扩展的边界网关协议对所述路径标识进行封装;将封装后的所述路径标识发送至所述分段路由路径中的路由器。
另一方面,本公开还提供一种路径标识传输装置,包括:路径标识分配模块,分配用于标识一条分段路由路径的路径标识;封装模块,通过扩展的边界网关协议对所述路径标识进行封装;路径标识发送模块,将封装后的所述路径标识发送至所述分段路由路径中的路由器。
另一方面,本公开还提供一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理 器执行,以实现本文所述的路径标识传输方法的步骤。
附图说明
本公开目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明,在附图中:
图1是根据本公开的一个实施例的路径标识传输方法的流程图;
图2是根据本公开的一个实施例的路径标识传输方法的流程图;
图3是根据本公开的一个实施例的路径标识传输方法的示意图;
图4是根据本公开的一个实施例的路径标识传输方法的示意图;
图5是根据本公开的一个实施例的路径标识传输方法的流程图;
图6是根据本公开的一个实施例的路径标识传输方法的示意图;
图7是根据本公开的一个实施例的路径标识传输装置的框图;
图8是根据本公开的一个实施例的路径标识传输装置的示意图。
具体实施方式
应当理解,此处所描述的实施例仅仅用以解释本公开,并不用于限定本公开。
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本公开的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。
近期,出现了一种新的路径标识概念,路径标识用于标识一条SR路径,该信息由源节点压栈到报文头中,中间转发点不做任何处理,尾节点使用所述的路径标识并弹出该标签。其主要使用场景为:端到端的SR保护,SR的performance measurement(PM,性能监控)及将两条单向隧道关联为一条双向隧道。路径标识有两种分配方式,一种为控制器或者SR尾节点分配的网络唯一的路径标识,一种是由SR头节点分配的路径标识,如果是控制器或者SR尾节点分配的路径标识,需要控制器或者尾节点将此路径标识下发给头节点,但是目前还未有相关技术实现控制器或者尾节点如何将路径标识通告给头节点。
因此,本公开特别提供了路径标识传输方法、装置和计算机可读存储介质,其基本上避免了由于相关技术的局限和缺点所导致的问题中的一个或多个。
图1是根据本公开的一个实施例的路径标识传输方法的流程图。如图1所示,在一个实施例中,所述方法可以包括步骤S110至S130。
在步骤S110,分配用于标识一条分段路由路径的路径标识。
在本实施例中,一条分段路由路径中具有多个路由器。
在步骤S120,通过扩展的边界网关协议对路径标识进行封装。
在本实施例中,由于目前尚无用于下发路径标识到分段路由路径的路由器的协议,所以本实施例利用扩展的边界网关协议,实现了对路径标识的封装,使得路径标识可被下发。
在步骤S130,将封装后的路径标识发送至分段路由路径中的路由器。
在本实施例中,对于作为发送对象的路由器不进行限制,其可以是分段路由路径中的任一个路由器。
在相关技术方案中,在分配分段路由路径的路径标识后,尚无方案将路径标识下发给分段路由路径中的路由器,而根据本实施例的技术方案,利用扩展的边界网关协议,实现了对路径标识的封装,并在封装后将路径标识发送至分段路由路径中的路由器。
图2是根据本公开的一个实施例的路径标识传输方法的流程图。如图2所示,在一个实施例中,所述方法可以包括步骤S210至S230。
在步骤S210,通过控制器分配用于标识一条分段路由路径的路径标识。
在步骤S220,将路径标识封装到扩展的边界网关协议对应的更新消息中。在一个示例中,通过更新消息的分段路由隧道封装属性对应的特定编码携带路径标识。
在本实施例中,特定编码包括但不限于TLV(type-length-value,标签—长度—值)编码。
在步骤S230,将封装后的路径标识发送至分段路由路径的头节点或尾节点。
本实施例中,控制器分配一个网络唯一的SR路径标识,并将该标识下发给分段路由的头节点。图3是根据本公开的一个实施例的路径标识传输方法的示意图。图4是根据本公开的一个实施例的路径标识传输方法的示意图。如图3所示,控制器分配一个网络唯一的SR路径的标识。控制器通过扩展的SR隧道封装属性中携带SR路径标识给分段路由路径中的头节点或尾节点。这里可以通过扩展BGP update(更新)消息来携带SR路径标识给头节点。在一个示例中,通过扩展的SR隧道封装属性携带一个SR路径标识子TLV(sub-TLV)来携带SR路径标识给头节点,SR路径标识子TLV的格式见图4,其中Path-id即为路径标识。头节点或尾节点接收到此消息后,建立路径标识与路径的映射关系。如果头节点接收到的SR隧道封装消息后,如果没有SR路径信息,头节点将会产生一个本地唯一的标识用于标识SR路径并与SR-TE策略相关联,并且通告给控制器。可以通过扩展的南向接口协议(BGP-LS/NETCONF/PCEP协议)通告控制器。
图5是根据本公开的一个实施例的路径标识传输方法的流程图。如图5所示,在一个实施例中,所述方法可以包括步骤S510至S530。
在步骤S510,通过分段路由路径的尾节点分配用于标识一条分段路由路径的路径标识。
在步骤S520,将路径标识封装到扩展的边界网关协议对应的更新消息中。在一个示例中,通过更新消息的分段路由隧道封装属性对应的特定编码携带路径标识。
在步骤S530,将封装后的路径标识发送至分段路由路径的头节点。
本实施例中,路径标识可以直接或间接发送到头节点,直接发送的方式:路径标识是由尾节点分配的,并将此信息通告给头节点。图6是根据本公开的一个实施例的路径标识传输方法的示意图。如图6所示:尾节点分配SR路径标识后,建立路径标识与路径的映射关系,并通过扩展的BGP协议通告给头节点。这里尾节点通过扩展BGP update消息来携带SR路径标识给头节点。在一个示例中,通过扩展的SR隧道封装属性携带一个SR路径标识子TLV来携带SR路径标识 给头节点。头节点接收到此消息后,建立路径标识与路径的映射关系。
图7是根据本公开的一个实施例的路径标识传输装置的框图。如图7所示,在一个实施例中,所述装置可以包括路径标识分配模块710,封装模块720和路径标识发送模块730。
路径标识分配模块710配置为分配用于标识一条分段路由路径的路径标识。
在本实施例中,一条分段路由路径中具有多个路由器。
封装模块720配置为通过扩展的边界网关协议对路径标识进行封装。
在本实施例中,由于目前尚无用于下发路径标识到分段路由路径的路由器的协议,所以本实施例利用扩展的边界网关协议,实现了对路径标识的封装,使得路径标识可被下发。
路径标识发送模块730配置为将封装后的路径标识发送至分段路由路径中的路由器。
在本实施例中,对于作为发送对象的路由器不进行限制,其可以是分段路由路径中的任一个路由器。
在相关技术方案中,在分配分段路由路径的路径标识后,尚无方案将路径标识下发给分段路由路径中的路由器,而根据本实施例的技术方案,利用扩展的边界网关协议,实现了对路径标识的封装,并在封装后将路径标识发送至分段路由路径中的路由器。
在另一个实施例中,路径标识分配模块710配置为通过控制器分配用于标识一条分段路由路径的路径标识。
封装模块720配置为将路径标识封装到扩展的边界网关协议对应的更新消息中。在一个示例中,通过更新消息的分段路由隧道封装属性对应的特定编码携带路径标识。
在本实施例中,特定编码包括但不限于TLV(type-length-value,标签—长度—值)编码。
路径标识发送模块730配置为将封装后的路径标识发送至分段路由路径的头节点或者尾节点。
本实施例中,控制器分配一个网络唯一的SR路径标识,并将该 标识下发给分段路由的头节点或者尾节点。参照图3所示:控制器分配一个网络唯一的SR路径的标识。控制器通过扩展的SR隧道封装属性中携带SR路径标识给分段路由路径中的头节点或尾节点。这里可以通过扩展BGP update(更新)消息来携带SR路径标识给头节点,在一个示例中,通过扩展的SR隧道封装属性携带一个SR路径标识子TLV来携带SR路径标识给头节点,SR路径标识子TLV的格式见图4,其中Path-id即为路径标识。头节点或尾节点接收到此消息后,建立路径标识与路径的映射关系。如果头节点接收到的SR隧道封装消息后,如果没有SR路径信息,头节点将会产生一个本地唯一的标识用于标识SR路径并与SR-TE策略相关联,并且通告给控制器。可以通过扩展的南向接口协议(BGP-LS/NETCONF/PCEP协议)通告控制器。
在又一个实施例中,路径标识分配模块710配置为通过分段路由路径的尾节点分配用于标识一条分段路由路径的路径标识。
封装模块720配置为将路径标识封装到扩展的边界网关协议对应的更新消息中。在一个示例中,通过更新消息的分段路由隧道封装属性对应的特定编码携带路径标识。
路径标识发送模块730配置为将封装后的路径标识发送至分段路由路径的头节点。
本实施例中,路径标识可以直接或间接发送到头节点,间接发送的方式:路径标识是由尾节点分配的,并将此信息通告给控制器,控制器再通告扩展的BGP协议通告给头节点。图8是根据本公开的一个实施例的路径标识传输装置的示意图。如图8所示,尾节点分配SR路径标识后,建立路径标识与路径的映射关系,并通告给控制器。在本实施例中,可由控制器请求尾节点分配SR路径消息,尾节点分配路径标识后将SR路径标识通告给控制器。控制器收到SR路径信息后,将该信息通过扩展的BGP协议通告给头节点。这里可以通过扩展BGP update消息来携带SR路径标识给头节点。在一个示例中,通过扩展的SR隧道封装属性携带一个SR路径标识子TLV来携带SR路径标识给头节点。头节点接收到此消息后,建立路径标识与路径的映射关系。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本公开实施例仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本公开的保护之内。

Claims (11)

  1. 一种路径标识传输方法,包括:
    分配用于标识一条分段路由路径的路径标识;
    通过扩展的边界网关协议对所述路径标识进行封装;
    将封装后的所述路径标识发送至所述分段路由路径中的路由器。
  2. 根据权利要求1所述的路径标识传输方法,其中,所述通过扩展的边界网关协议对所述路径标识进行封装,包括:
    将所述路径标识封装到所述扩展的边界网关协议对应的更新消息中。
  3. 根据权利要求2所述的路径标识传输方法,其中,所述将所述路径标识封装到所述扩展的边界网关协议对应的更新消息中,包括:
    通过扩展的分段路由隧道封装属性携带所述路径标识。
  4. 根据权利要求1所述的路径标识传输方法,其中,所述分配用于标识一条分段路由路径的路径标识,包括:
    通过控制器分配所述路径标识;
    所述将封装后的所述路径标识发送至所述分段路由路径中的路由器,包括:
    将所述路径标识发送给所述分段路由路径的头节点或尾节点。
  5. 根据权利要求1所述的路径标识传输方法,其中,所述分配用于标识一条分段路由路径的路径标识,包括:
    通过所述分段路由路径的尾节点分配所述路径标识;
    将封装后的所述路径标识发送至所述分段路由路径中的路由器,包括:
    将所述路径标识发送给所述分段路由路径的头节点。
  6. 一种路径标识传输装置,包括:
    路径标识分配模块,其配置为分配用于标识一条分段路由路径的路径标识;
    封装模块,其配置为通过扩展的边界网关协议对所述路径标识进行封装;
    路径标识发送模块,其配置为将封装后的所述路径标识发送至所述分段路由路径中的路由器。
  7. 根据权利要求6所述的路径标识传输装置,其中,
    所述封装模块将所述路径标识封装到所述扩展的边界网关协议对应的更新消息中。
  8. 根据权利要求7所述的路径标识传输装置,其中,
    所述封装模块通过所述更新消息的分段路由隧道封装属性对应的特定编码携带所述路径标识。
  9. 根据权利要求6所述的路径标识传输装置,其中,
    所述路径标识分配模块通过控制器分配所述路径标识;
    所述路径标识发送模块将所述路径标识发送给所述分段路由路径的头节点或尾节点。
  10. 根据权利要求6所述的路径标识传输装置,其中,
    所述路径标识分配模块通过尾节点分配所述路径标识;
    所述路径标识发送模块将所述路径标识发送给所述分段路由路径的头节点。
  11. 一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至5中任一项所述的路径标识传输方法的步骤。
PCT/CN2019/098193 2018-07-30 2019-07-29 路径标识传输方法、装置和计算机可读存储介质 WO2020024907A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810853859.5 2018-07-30
CN201810853859.5A CN110784403B (zh) 2018-07-30 2018-07-30 路径标识传输方法、装置和计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020024907A1 true WO2020024907A1 (zh) 2020-02-06

Family

ID=69231437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098193 WO2020024907A1 (zh) 2018-07-30 2019-07-29 路径标识传输方法、装置和计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110784403B (zh)
WO (1) WO2020024907A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917643B (zh) * 2020-07-17 2023-01-13 中盈优创资讯科技有限公司 分段路由隧道的无缝双向转发检测方法及装置
CN112910777B (zh) * 2021-01-28 2022-09-02 北京华三通信技术有限公司 报文处理方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871721A (zh) * 2015-01-19 2016-08-17 中兴通讯股份有限公司 一种段路由处理方法、处理装置及发送装置
CN107534578A (zh) * 2015-04-04 2018-01-02 Nicira股份有限公司 用于逻辑网络与物理网络之间的动态路由的路由服务器模式
CN108023815A (zh) * 2016-11-03 2018-05-11 中兴通讯股份有限公司 信息传输方法、装置及系统
CN108156077A (zh) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 一种基于IPv6数据平面的分段路由转发方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6683865B1 (en) * 1999-10-15 2004-01-27 Nokia Wireless Routers, Inc. System for routing and switching in computer networks
CN105871722B (zh) * 2015-01-19 2020-02-14 中兴通讯股份有限公司 标签构造以及标签报文转发方法及装置
CN105991441B (zh) * 2015-03-24 2019-08-06 杭州迪普科技股份有限公司 对bgp路由选择性下发路由转发表的方法和装置
US9967184B2 (en) * 2015-07-02 2018-05-08 Telefonaktiebolaget Lm Ericsson (Publ) Using border gateway protocol to expose maximum segment identifier depth to an external application
CN111726294A (zh) * 2015-10-16 2020-09-29 华为技术有限公司 流规则发送的方法、路径计算单元和路径计算客户端
CN111884934B (zh) * 2016-07-01 2021-07-09 华为技术有限公司 业务功能链sfc中用于转发报文的方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871721A (zh) * 2015-01-19 2016-08-17 中兴通讯股份有限公司 一种段路由处理方法、处理装置及发送装置
CN107534578A (zh) * 2015-04-04 2018-01-02 Nicira股份有限公司 用于逻辑网络与物理网络之间的动态路由的路由服务器模式
CN108023815A (zh) * 2016-11-03 2018-05-11 中兴通讯股份有限公司 信息传输方法、装置及系统
CN108156077A (zh) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 一种基于IPv6数据平面的分段路由转发方法及装置

Also Published As

Publication number Publication date
CN110784403B (zh) 2022-07-15
CN110784403A (zh) 2020-02-11

Similar Documents

Publication Publication Date Title
JP7290732B2 (ja) データ転送方法及び関連する装置
US11184842B2 (en) Conveying non-access stratum messages over ethernet
CN111865796B (zh) 用于网络业务的路径计算单元中央控制器(pcecc)
JP6538986B2 (ja) 仮想マシンパケット制御
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
CN111492627B (zh) 为不同应用建立不同隧道的基于控制器的服务策略映射
US20160006614A1 (en) Source Routing Using Path Computation Elements
WO2014194711A1 (zh) 报文处理方法、设备标签处理方法及设备
WO2015192501A1 (zh) 地址信息的发布方法及装置
WO2017133647A1 (zh) 一种报文处理方法、流分类器和业务功能实例
WO2021185043A1 (zh) 转发路径建立方法、装置以及计算机可读存储介质
WO2015113297A1 (zh) 数据传输方法、传输控制方法及设备
WO2009015594A1 (fr) Procédé, système et dispositif pour configurer la propriété d'exploitation, administration et maintenance
WO2015108106A1 (ja) パケット転送装置、制御装置、通信システム、通信方法及びプログラム
WO2015196922A1 (zh) 报文处理方法及装置
US10397791B2 (en) Method for auto-discovery in networks implementing network slicing
WO2018188663A1 (zh) 信息通告方法及装置
WO2014186978A1 (zh) 用于以太虚拟专用网的方法和设备
WO2020024907A1 (zh) 路径标识传输方法、装置和计算机可读存储介质
CN107294859B (zh) 一种信息传递方法、装置及系统
US20240098019A1 (en) Packet Processing Method and Related Device
WO2020024906A1 (zh) 路径标识传输方法和装置、计算机可读存储介质
WO2011147341A1 (zh) 一种分配mpls标签的方法和网络装置
JP2004159112A (ja) 通信制御システム、通信制御方法、これらに用いて好適なルーティング制御装置及びルータ装置
WO2013174096A1 (zh) 一种云计算虚拟机迁移的方法、设备及系统

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 122(1) EPC ( EPO FORM 1205A DATED 14/06/2021 )

122 Ep: pct application non-entry in european phase

Ref document number: 19843619

Country of ref document: EP

Kind code of ref document: A1