WO2016197836A1 - Method, apparatus and system for announcing uni tunnel state - Google Patents

Method, apparatus and system for announcing uni tunnel state Download PDF

Info

Publication number
WO2016197836A1
WO2016197836A1 PCT/CN2016/084141 CN2016084141W WO2016197836A1 WO 2016197836 A1 WO2016197836 A1 WO 2016197836A1 CN 2016084141 W CN2016084141 W CN 2016084141W WO 2016197836 A1 WO2016197836 A1 WO 2016197836A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
uni tunnel
tunnel
uni
controller
Prior art date
Application number
PCT/CN2016/084141
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 WO2016197836A1 publication Critical patent/WO2016197836A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/028Dynamic adaptation of the update intervals, e.g. event-triggered updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects

Definitions

  • the VNT link is bound to the UNI tunnel in advance.
  • the Path Computation Client reports the binding information of the VNT link and the UNI tunnel to the IP PCE.
  • the IP PCE considers that each VNT link is reachable. However, whether the VNT link is reachable depends not only on whether it is bound to the UNI tunnel but also on whether the bound UNI tunnel is available.
  • a UNI tunnel shares a port resource. When one of the UNI tunnels establishes a connection, the other UNI tunnels that share the same port with the UNI tunnel cannot establish a connection. Also, when one optical node in the optical layer network topology fails, all UNI tunnels connected to the failed optical node are unavailable.
  • the IP controller parses the UNI tunnel status advertisement message to obtain information about the second state
  • a second aspect of the embodiments of the present invention provides a method for advertising a state of a network side interface UNI tunnel of a user, where the method includes:
  • FIG. 5 is a flowchart of a method for advertising a UNI tunnel state according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of an optical controller for announcing a UNI tunnel state according to an embodiment of the present invention.
  • the IP controller generates a UNI Tunnel Status Request message, which is used to "subscribe" to the optical controller the status of the UNI tunnel.
  • “Subscription” means that when the state of the UNI tunnel changes (for example, the state of the UNI tunnel changes from reachable to unreachable, or the state of the UNI tunnel changes from unreachable to reachable), that is, the UNI tunnel
  • the IP controller requests the optical controller to send information of the second state after the UNI tunnel change to the IP controller. That is, the IP controller generates a UNI tunnel status request message, and is configured to request the optical controller to notify the IP controller of the information of the second state after the UNI tunnel is changed, to implement the IP controller.
  • the latest status information of the UNI tunnel is obtained in real time.
  • the IP controller sends the generated UNI tunnel status request message to the light controller.
  • the optical controller resolves to the UNI tunnel status request identifier in the UNI tunnel status request message, and learns that the IP controller "subscribes" the UNI tunnel to the optical controller.
  • the state when the state of the UNI tunnel is changed from the first state to the second state, transmitting information of the changed second state of the UNI tunnel to the IP controller.
  • the optical controller acquires the changed state of the UNI tunnel because the IP controller "subscribes" the state of the UNI tunnel.
  • the UNI tunnel is changed from the first state to the second state, and may be changed from the reachable state to the unreachable state. It changes from unreachable state to reachable state.
  • the following is an example in which the UNI tunnel is changed from the reachable state to the unreachable state.
  • the UNI tunnel is changed from the unreachable state to the reachable state, and is not described here.
  • FIG. 10 is a schematic structural diagram of a system 1000 for obtaining a state of a UNI tunnel according to an embodiment of the present disclosure, where the system 1000 includes:
  • the IP controller 1001 is the IP controller shown in FIG. 8. The description of the IP controller is described with reference to FIG. 8.
  • the optical controller 1002 is the optical controller shown in FIG. FIG. 9 is a description of the light controller, and details are not described herein again.

Abstract

Provided are a method, apparatus and system for announcing a UIN tunnel state. The method comprises: an IP controller sending, to an optical controller, a UNI tunnel state request message for requesting the optical controller to send information about a changed second state of the UNI tunnel; and when a state of the UNI tunnel changes from a first state to the second state, the optical controller sending, to the IP controller, the information about the changed second state of the UNI tunnel, wherein the IP controller may timely update the information about the changed second state of the UNI tunnel, and the IP controller may learn the updated state of the UNI tunnel, and then, when calculating a transmission path of a service data stream, the IP controller may learn accessibility of a VNT link bound to the UNI tunnel, delete inaccessible VNT links, and the transmission path of the service data stream, which is obtained by means of calculation, is available. The complexity for the IP controller to calculate a transmission path of a service data stream is reduced, and the time for calculating the transmission path of the service data stream is shortened.

Description

一种通告UNI隧道状态的方法、装置及系统Method, device and system for informing UNI tunnel state
本申请要求于2015年6月9日提交中国专利局、申请号为CN 201510313946.8、发明名称为“一种通告UNI隧道状态的方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on June 9, 2015, the Chinese Patent Office, Application No. CN 201510313946.8, entitled "A Method, Apparatus and System for Informing the Status of a UNI Tunnel", the entire contents of which are hereby incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,特别是涉及一种通告用户网络侧接口(User Network Interface,UNI)隧道状态的方法、装置及系统。The present invention relates to the field of communications technologies, and in particular, to a method, device, and system for advertising a User Network Interface (UNI) tunnel state.
背景技术Background technique
目前,通信领域对传输业务数据的传输分为两部分,一部分是网际互联协议(Internet Protocol,IP)层业务数据的传输,另外一部分是光层业务数据的传输。所述IP层和所述光层对业务数据传输路径的计算和传输控制相互独立。其中,所述IP层的IP SNC(Smart Network Controller)上配置有IP路径计算模块(Path Computation Element,PCE),所述IP PCE用于管理IP层业务数据的传输路径。其中,所述光层的TSDN(Transport-Software Defined Networking)上配置有光PCE,用于管理光层业务数据的传输路径。At present, the transmission of transmission service data in the communication field is divided into two parts, one is the transmission of service data of the Internet Protocol (IP) layer, and the other part is the transmission of optical layer service data. The calculation and transmission control of the service data transmission path by the IP layer and the optical layer are independent of each other. An IP path calculation module (PCE) is configured on the IP SNC (Smart Network Controller) of the IP layer, and the IP PCE is used to manage a transmission path of IP layer service data. An optical PCE is configured on the TSDN (Transport-Software Defined Networking) of the optical layer to manage the transmission path of the optical layer service data.
目前,通信领域将光层传输路径,IP层传输路径中的边界路由器与所述光层路径中的边界节点设备之间的端口连接信息,抽象成虚网络拓扑(Virtual Network Topology,VNT)链路。在IP层中,VNT链路可以看作两个路由器之间一条能够建立但还未建立的虚链路,即VNT链路能够与IP层传输路径构成业务数据传输路径。At present, the communication field abstracts the port connection information between the optical layer transmission path, the border router in the IP layer transmission path, and the boundary node device in the optical layer path into a virtual network topology (VNT) link. . In the IP layer, the VNT link can be regarded as a virtual link between two routers that can be established but not yet established. That is, the VNT link can form a service data transmission path with the IP layer transmission path.
预先人工配置VNT链路与UNI隧道绑定,路径计算客户端(Path Computation Client,PCC)将VNT链路与UNI隧道的绑定信息上报至IP PCE。IP PCE在计算业务数据流的传输路径时,认为每条VNT链路都可达。但是,VNT链路是否可达,不仅依赖于是否与UNI隧道绑定,还依赖于所绑定的UNI隧道是否可用。实际应用中,在光层网络拓扑中,多 条UNI隧道共享一个端口资源,当其中一条UNI隧道建立连接时,与该UNI隧道共享同一个端口的其他UNI隧道则不能建立连接。并且,当光层网络拓扑中的一个光节点故障时,则与故障光节点连接的所有UNI隧道都不可用。The VNT link is bound to the UNI tunnel in advance. The Path Computation Client (PCC) reports the binding information of the VNT link and the UNI tunnel to the IP PCE. When calculating the transmission path of the service data stream, the IP PCE considers that each VNT link is reachable. However, whether the VNT link is reachable depends not only on whether it is bound to the UNI tunnel but also on whether the bound UNI tunnel is available. In practical applications, in the optical layer network topology, A UNI tunnel shares a port resource. When one of the UNI tunnels establishes a connection, the other UNI tunnels that share the same port with the UNI tunnel cannot establish a connection. Also, when one optical node in the optical layer network topology fails, all UNI tunnels connected to the failed optical node are unavailable.
目前,先由IP PCE根据所获得的VNT链路与UNI隧道的绑定信息,计算得到第一业务数据流的传输路径,IP PCE无法获知计算所得的第一业务数据流传输路径中的第一VNT链路所绑定的第一UNI隧道是否可用。IP PCE向光PCE发送查询所述第一UNI隧道是否可用的报文,光PCE向IP PCE返回所述第一UNI隧道是否可用。当所述第一UNI隧道不可用时,IP PCE需要重新计算获得第二业务数据流的传输路径,向光PCE发送计算所得的第二业务数据流的传输路径中第二VNT链路所绑定的第二UNI隧道是否可用的报文。直至当IP PCE计算所得的业务数据流传输路径中VNT链路所绑定的UNI隧道可用。IP PCE采用上述方法计算业务数据流传输路径计算过程复杂,耗时长。At present, the IP PCE calculates the transmission path of the first service data stream according to the obtained binding information of the VNT link and the UNI tunnel, and the IP PCE cannot know the first of the calculated first service data stream transmission paths. Whether the first UNI tunnel bound to the VNT link is available. The IP PCE sends a message to the optical PCE to query whether the first UNI tunnel is available, and the optical PCE returns to the IP PCE whether the first UNI tunnel is available. When the first UNI tunnel is unavailable, the IP PCE needs to recalculate the transmission path of the second service data stream, and sends the calculated second traffic data stream to the optical PCE to which the second VNT link is bound. Whether the second UNI tunnel is available. Until the PCT tunnel bound to the VNT link in the service data stream transmission path calculated by the IP PCE is available. IP PCE uses the above method to calculate the business data stream transmission path calculation process is complex and time consuming.
发明内容Summary of the invention
本发明实施例提供了一种通告UNI隧道的状态的方法、装置及系统,用于解决IP控制器无法获知UNI隧道状态导致计算所得的业务数据流的传输路径不可用的问题。The embodiment of the invention provides a method, a device and a system for announcing the state of a UNI tunnel, which are used to solve the problem that the IP controller cannot know the UNI tunnel state and the calculated transmission path of the service data stream is unavailable.
为此,本发明解决技术问题的技术方案是:To this end, the technical solution of the present invention to solve the technical problem is:
本发明实施例第一方面提供请求用户网络侧接口UNI隧道状态的方法,所述方法包括:A first aspect of the embodiments of the present invention provides a method for requesting a UNI tunnel state of a user network side interface, where the method includes:
网际互联协议IP控制器生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;The Internet Protocol (IP) IP controller generates a UNI tunnel status request message, where the UNI tunnel status request message carries a UNI tunnel status request identifier, and the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel is changed from the first status to the first In the second state, requesting to send information of the changed second state of the UNI tunnel;
所述IP控制器将所述UNI隧道状态请求消息发送至光控制器。The IP controller sends the UNI tunnel status request message to the light controller.
本发明实施例第一方面第一种可能的实施方式中,In a first possible implementation manner of the first aspect of the embodiments of the present invention,
所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。 The UNI tunnel status request message is an open message in the path calculation unit communication protocol PCEP, and the open message includes an option Optional field, where the Optional field carries the UNI tunnel status request identifier.
结合本发明实施例第一方面第一种可能的实施方式,在第二种可能的实施方式中,With reference to the first possible implementation manner of the first aspect of the embodiments of the present invention, in a second possible implementation manner,
所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a second state that indicates whether the UNI tunnel is requested to be changed. The information indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel status request identifier, indicating that when the state of the UNI tunnel changes from the first state to the second state And requesting information of the changed second state of the UNI tunnel.
结合本发明实施例第一方面至第一方面第二种可能的实施方式,在第三种可能的实施方式中,所述方法还包括:With reference to the first aspect of the embodiments of the present invention to the second possible implementation of the first aspect, in a third possible implementation, the method further includes:
所述IP控制器接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;Receiving, by the IP controller, a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
所述IP控制器解析所述UNI隧道状态通告消息获得所述第二状态的信息;The IP controller parses the UNI tunnel status advertisement message to obtain information about the second state;
所述IP控制器利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态的信息;The IP controller updates the information of the first state corresponding to the identifier of the UNI tunnel by using the information of the second state;
所述IP控制器根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;Obtaining, by the IP controller, the reachability of the virtual network topology VNT link according to the information of the second state after the UNI tunnel is updated, where the VNT link is bound to the UNI tunnel;
所述IP控制器根据所述VNT链路的可达性计算业务数据流的传输路径。The IP controller calculates a transmission path of the service data flow according to the reachability of the VNT link.
本发明实施例第二方面提供通告用户网络侧接口UNI隧道的状态的方法,所述方法包括:A second aspect of the embodiments of the present invention provides a method for advertising a state of a network side interface UNI tunnel of a user, where the method includes:
光控制器接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息; The UNI system receives the UNI tunnel status request message sent by the Internet Protocol Protocol (IP) controller, and the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that the status of the UNI tunnel is When a state is changed to the second state, requesting to send information of the changed second state of the UNI tunnel;
当所述UNI隧道的状态由第一状态改变为第二状态时,所述光控制器获取所述UNI隧道的标识和第二状态的信息;When the state of the UNI tunnel is changed from the first state to the second state, the optical controller acquires information about the identifier of the UNI tunnel and the second state;
所述光控制器生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;The UNI tunnel status advertisement message is generated by the optical controller, where the UNI tunnel status advertisement message includes: a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and information about the second state, the UNI tunnel status advertisement And indicating that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
所述光控制器将所述UNI隧道状态通告消息发送至所述IP控制器。The light controller sends the UNI tunnel status announcement message to the IP controller.
本发明实施例第二方面第一种可能的实施方式中,In a first possible implementation manner of the second aspect of the embodiment of the present invention,
所述UNI隧道状态通告消息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。The UNI tunnel state advertisement message is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, and the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
结合本发明实施例第二方面第一种可能的实施方式,在第二种可能的实施方式中,With reference to the first possible implementation manner of the second aspect of the embodiments of the present invention, in a second possible implementation manner,
所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that represents the UNI tunnel, and the Length indication The length of the Optional field, the value indicating the identifier of the UNI tunnel, the value including the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switching path LSP ID, the tunnel tunnel ID, the extended tunnel Extended Tunnel ID, and the destination. Address IPv4Tunnel Endpoint Address.
结合本发明实施例第二方面至第二方面第二种可能的实施方式,在第三种可能的实施方式中,所述光控制器获取所述UNI隧道的标识和第二状态的信息包括:With reference to the second aspect of the embodiments of the present invention to the second possible implementation of the second aspect, in a third possible implementation, the information that the optical controller acquires the identifier and the second state of the UNI tunnel includes:
所述光控制器接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息;Receiving, by the optical controller, connection change information of the first optical network device and the second optical network device that are sent by the first optical network device;
所述光控制器根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所 述第一状态改变为所述第二状态后的所述第二状态的信息。And obtaining, by the optical controller, an identifier of the UNI tunnel established between the first optical network device and the second optical network device according to the connection change information, and the UNI tunnel The first state is changed to information of the second state after the second state.
本发明实施例第三方面提供请求用户网络侧接口UNI隧道状态的网际互联协议IP控制器,所述IP控制器包括:The third aspect of the embodiment of the present invention provides an internetwork protocol IP controller that requests a UNI tunnel state of a user network side interface, where the IP controller includes:
生成单元,用于生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;a generating unit, configured to generate a UNI tunnel state request message, where the UNI tunnel state request message carries a UNI tunnel state request identifier, where the UNI tunnel state request identifier is used to indicate that when the state of the UNI tunnel is changed from the first state to the second state In the state, requesting to send information of the changed second state of the UNI tunnel;
发送单元,用于将所述生成单元生成的所述UNI隧道状态请求消息发送至光控制器。And a sending unit, configured to send the UNI tunnel state request message generated by the generating unit to the light controller.
在本发明实施例第三方面第一种可能的实施方式中,In a first possible implementation manner of the third aspect of the embodiment of the present invention,
所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。The UNI tunnel status request message is an open message in the path calculation unit communication protocol PCEP, and the open message includes an option Optional field, where the Optional field carries the UNI tunnel status request identifier.
结合本发明实施例第三方面第一种可能的实施方式,在第二种可能的实施方式中,With reference to the first possible implementation manner of the third aspect of the embodiments of the present invention, in a second possible implementation manner,
所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a second state that indicates whether the UNI tunnel is requested to be changed. The information indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel status request identifier, indicating that when the state of the UNI tunnel changes from the first state to the second state And requesting information of the changed second state of the UNI tunnel.
结合本发明实施例第三方面至第三方面第二种可能的实施方式,在第三种可能的实施方式中,所述IP控制器还包括:With reference to the third aspect of the embodiments of the present invention, the second possible implementation manner of the third aspect, in the third possible implementation, the IP controller further includes:
接收单元,用于接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a receiving unit, configured to receive a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
解析单元,用于解析所述接收单元接收的所述UNI隧道状态通告消息 获得所述第二状态的信息;a parsing unit, configured to parse the UNI tunnel status advertisement message received by the receiving unit Obtaining information of the second state;
更新单元,用于利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态信息;An update unit, configured to update first state information corresponding to the identifier of the UNI tunnel by using the information of the second state;
获取单元,用于根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;An obtaining unit, configured to acquire, according to the information of the second state after the UNI tunnel is updated, the reachability of the virtual network topology VNT link, where the VNT link is bound to the UNI tunnel;
路径计算单元,用于根据所述VNT链路的可达性计算业务数据流的传输路径。a path calculation unit, configured to calculate a transmission path of the service data flow according to the reachability of the VNT link.
本发明实施例第四方面提供通告用户网络侧接口UNI隧道状态的光控制器,所述光控制器包括:A fourth aspect of the embodiments of the present invention provides a light controller that advertises a UNI tunnel state of a user network side interface, where the light controller includes:
接收单元,用于接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;a receiving unit, configured to receive a UNI tunnel status request message sent by the Internetwork Protocol (IP) controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate the status of the UNI tunnel When the first state is changed to the second state, requesting to send information of the changed second state of the UNI tunnel;
获取单元,用于当所述UNI隧道的状态由第一状态改变为第二状态时,获取所述UNI隧道的标识和第二状态的信息;An acquiring unit, configured to acquire information about the identifier of the UNI tunnel and the second state when the state of the UNI tunnel is changed from the first state to the second state;
生成单元,用于生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a generating unit, configured to generate the UNI tunnel status advertisement message, where the UNI tunnel status advertisement message includes: a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and information about the second state, the UNI tunnel status advertisement And indicating that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
发送单元,用于将所述UNI隧道状态通告消息发送至所述IP控制器。And a sending unit, configured to send the UNI tunnel status advertisement message to the IP controller.
本发明实施例第四方面第一种可能的实施方式中,In a first possible implementation manner of the fourth aspect of the embodiments of the present invention,
所述UNI隧道状态通告信息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。The UNI tunnel state advertisement information is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, where the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
结合本发明实施例第四方面第一种可能的实施方式,在第四方面第二种可能的实施方式中, With reference to the first possible implementation manner of the fourth aspect of the embodiments of the present invention, in a second possible implementation manner of the fourth aspect,
所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that represents the UNI tunnel, and the Length indication The length of the Optional field, the value indicating the identifier of the UNI tunnel, the value including the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switching path LSP ID, the tunnel tunnel ID, the extended tunnel Extended Tunnel ID, and the destination. Address IPv4Tunnel Endpoint Address.
结合本发明实施例第四方面至第四方面第二种可能的实施方式,在第三种可能的实施方式中,所述获取单元包括:With reference to the fourth possible aspect of the fourth to fourth aspects of the present invention, in the third possible implementation, the acquiring unit includes:
接收子单元,用于接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息;a receiving subunit, configured to receive connection change information of the first optical network device and the second optical network device sent by the first optical network device;
信息获取子单元,用于根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。An information acquiring subunit, configured to obtain, according to the connection change information, an identifier of the UNI tunnel established between the first optical network device and a second optical network device, and the UNI tunnel changes from the first state The information of the second state after the second state.
本发明实施例第五方面提供获得用户网络侧接口UNI隧道状态的系统,所述系统包括:A fifth aspect of the embodiments of the present invention provides a system for obtaining a UNI tunnel state of a user network side interface, where the system includes:
本发明实施例第三方面至第三方面第三种可能的实施方式所述的请求UNI隧道状态的网际互联协议IP控制器,以及本发明实施例第四方面至第四方面第三种可能的实施方式所述的通告UNI隧道状态的光控制器。The Internetworking Protocol IP Controller for requesting a UNI tunnel state according to the third aspect to the third aspect of the present invention, and the third aspect to the fourth aspect of the fourth to fourth embodiments of the present invention The optical controller that announces the UNI tunnel state as described in the embodiments.
通过上述技术方案可知,本发明有如下有益效果:According to the above technical solution, the present invention has the following beneficial effects:
本发明实施例提供了通告UNI隧道状态的方法、装置及系统,IP控制器向光控制器发送UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,IP控制器请求光控制器发送所述UNI隧道的改变后的第二状态的信息。当所述UNI隧道的状态由第一状态改变为第二状态时,光控制器将所述UNI隧道的改变后的第二状态的信息发送至IP控制器,IP控制器可以及时更新所述UNI隧道改变后的第二状态的信息。IP控制器可以获知所述UNI隧道更新后的状态,则IP控制器在计算业务数据流的传输路径时,就可以获知与所述UNI隧道绑定的VNT链路的可达性,删除不可达的VNT链路,计算得到的业务 数据流的传输路径可用。降低IP控制器计算业务数据流传输路径的复杂度,缩短计算业务数据流传输路径的时间。The embodiment of the present invention provides a method, a device, and a system for advertising a UNI tunnel state. The IP controller sends a UNI tunnel status request message to the optical controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, and the UNI tunnel The status request identifier is used to indicate that when the state of the UNI tunnel is changed from the first state to the second state, the IP controller requests the optical controller to send information of the changed second state of the UNI tunnel. When the state of the UNI tunnel is changed from the first state to the second state, the optical controller sends information about the changed second state of the UNI tunnel to the IP controller, and the IP controller may update the UNI in time. Information about the second state after the tunnel is changed. The IP controller can learn the updated state of the UNI tunnel, and the IP controller can learn the reachability of the VNT link bound to the UNI tunnel, and delete the unreachable state when calculating the transmission path of the service data flow. VNT link, calculated business The transmission path of the data stream is available. Reduce the complexity of the IP controller to calculate the service data stream transmission path and shorten the time for calculating the service data stream transmission path.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为IP层路径中的边界路由器与光层路径中的边界光网络设备的连接示意图;1 is a schematic diagram of a connection between a border router in an IP layer path and a boundary optical network device in an optical layer path;
图2为本发明实施例提供的请求UNI隧道状态的方法流程图;2 is a flowchart of a method for requesting a UNI tunnel state according to an embodiment of the present invention;
图3为本发明实施例提供的Open消息的格式示意图;FIG. 3 is a schematic diagram of a format of an Open message according to an embodiment of the present disclosure;
图4为本发明实施例提供的Open消息中Optional字段的格式示意图;4 is a schematic diagram of a format of an Optional field in an Open message according to an embodiment of the present invention;
图5为本发明实施例提供的通告UNI隧道状态的方法流程图;FIG. 5 is a flowchart of a method for advertising a UNI tunnel state according to an embodiment of the present invention;
图6为本发明实施例提供的PCNtf消息的格式示意图;FIG. 6 is a schematic diagram of a format of a PCNtf message according to an embodiment of the present disclosure;
图7为本发明实施例提供的PCNtf消息中Optional字段的格式示意图;FIG. 7 is a schematic diagram of a format of an Optional field in a PCNtf message according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种请求UNI隧道状态的IP控制器结构示意图;FIG. 8 is a schematic structural diagram of an IP controller requesting a UNI tunnel state according to an embodiment of the present invention;
图9为本发明实施例提供的通告UNI隧道状态的光控制器结构示意图;FIG. 9 is a schematic structural diagram of an optical controller for announcing a UNI tunnel state according to an embodiment of the present invention;
图10为本发明实施例提供的获得UNI隧道状态的系统结构示意图;FIG. 10 is a schematic structural diagram of a system for obtaining a UNI tunnel state according to an embodiment of the present invention;
图11为本发明实施例提供的请求UNI隧道的状态的IP控制器硬件结构示意图;FIG. 11 is a schematic structural diagram of an IP controller hardware for requesting a state of a UNI tunnel according to an embodiment of the present disclosure;
图12为本发明实施例提供的通告UNI隧道状态的光控制器硬件结构示意图;FIG. 12 is a schematic structural diagram of a hardware of an optical controller for announcing a UNI tunnel state according to an embodiment of the present disclosure;
图13为本发明实施例提供的获得UNI隧道状态的系统硬件结构示意图。 FIG. 13 is a schematic structural diagram of a hardware structure of a system for obtaining a UNI tunnel state according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described in conjunction with the drawings in the embodiments of the present invention. Some embodiments, rather than all of the embodiments, are invented. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了给出当所述UNI隧道的状态由第一状态改变为第二状态时,IP控制器获知所述UNI隧道改变后的第二状态的信息的实现方案,本发明实施例提供了一种通告UNI隧道状态的方法、装置及系统,以下结合说明书附图对本发明的实施例进行详细说明。In order to provide an implementation scheme for the IP controller to learn the information of the second state after the change of the UNI tunnel, the embodiment of the present invention provides an advertisement. Method, Apparatus, and System for UNI Tunnel Status The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1为IP层路径中的边界路由器与光层路径中的边界光网络设备的连接示意图。IP SNC中的IP PCE维护IP层路径中的路由器,以及边界路由器与光层路径中的边界光网络设备之间的链路。TSDN中的光PCE维护光层路径中的光网络设备,以及边界光网络设备与IP层路径中的边界路由器之间的链路。VNT链路与UNI隧道绑定后,IP PCE即可获得VNT链路与UNI隧道的绑定信息,即认为所述VNT链路可达。但是,IP PCE无法获知位于光传输通路中的所述UNI隧道是否可达,当所述UNI隧道不可达时,与所述UNI隧道绑定的VNT链路也不可达,则IP PCE计算的业务数据流的传输路径经由所述VNT链路时,会导致业务数据流的传输中断。FIG. 1 is a schematic diagram of a connection between a border router in an IP layer path and a boundary optical network device in an optical layer path. The IP PCE in the IP SNC maintains the router in the IP layer path and the link between the border router and the border optical network device in the optical layer path. The optical PCE in the TSDN maintains the optical network equipment in the optical layer path and the link between the border optical network equipment and the border router in the IP layer path. After the VNT link is bound to the UNI tunnel, the IP PCE can obtain the binding information between the VNT link and the UNI tunnel. However, the IP PCE cannot know whether the UNI tunnel located in the optical transmission path is reachable. When the UNI tunnel is unreachable, the VNT link bound to the UNI tunnel is also unreachable, and the IP PCE calculates the service. When the transmission path of the data stream passes through the VNT link, the transmission of the service data stream is interrupted.
为了保证IP PCE可以及时获知光传输通路中的UNI隧道的状态,以便IP PCE计算所得的业务数据流的传输路径可以有效地传输业务数据流,本发明实施例提供了通告UNI隧道状态的方法,下面详细说明。In order to ensure that the IP PCE can know the state of the UNI tunnel in the optical transmission path in time, so that the transmission path of the service data stream calculated by the IP PCE can effectively transmit the service data stream, the embodiment of the present invention provides a method for advertising the state of the UNI tunnel. The details are explained below.
图2为本发明实施例提供的请求UNI隧道状态的方法流程图,所述方法包括:2 is a flowchart of a method for requesting a UNI tunnel state according to an embodiment of the present invention, where the method includes:
201:IP控制器生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息。 201: The IP controller generates a UNI tunnel state request message, where the UNI tunnel state request message carries a UNI tunnel state request identifier, where the UNI tunnel state request identifier is used to indicate that when the state of the UNI tunnel is changed from the first state to the second state In the state, the information of the changed second state of the UNI tunnel is requested to be sent.
202:所述IP控制器将所述UNI隧道状态请求消息发送至光控制器。202: The IP controller sends the UNI tunnel status request message to a light controller.
IP控制器生成了UNI隧道状态请求消息,所述UNI隧道状态请求消息用于向光控制器“订阅”所述UNI隧道的状态。“订阅”指的是,当所述UNI隧道的状态发生变化时(例如,UNI隧道的状态由可达变为不可达,或者UNI隧道的状态由不可达变为可达),即UNI隧道的状态由第一状态改变为第二状态时,所述IP控制器请求光控制器将所述UNI隧道变化后的第二状态的信息发送至所述IP控制器。也就是说,所述IP控制器生成UNI隧道状态请求消息,用于请求光控制器将所述UNI隧道变化后的第二状态的信息及时通告给所述IP控制器,实现所述IP控制器实时获知所述UNI隧道最新的状态信息。The IP controller generates a UNI Tunnel Status Request message, which is used to "subscribe" to the optical controller the status of the UNI tunnel. "Subscription" means that when the state of the UNI tunnel changes (for example, the state of the UNI tunnel changes from reachable to unreachable, or the state of the UNI tunnel changes from unreachable to reachable), that is, the UNI tunnel When the state changes from the first state to the second state, the IP controller requests the optical controller to send information of the second state after the UNI tunnel change to the IP controller. That is, the IP controller generates a UNI tunnel status request message, and is configured to request the optical controller to notify the IP controller of the information of the second state after the UNI tunnel is changed, to implement the IP controller. The latest status information of the UNI tunnel is obtained in real time.
其中,所述UNI隧道的状态包括UNI隧道可达和UNI隧道不可达。所述UNI隧道可达,表示所述UNI隧道连通,可以传输业务数据;UNI隧道不可达,表示所述UNI隧道不能连通,不能传输业务数据。一般情况下,实际应用场景中,多条UNI隧道共享同一个光网络设备上的端口,当其中一条UNI隧道利用该端口建立连接后,其他UNI隧道则不能在该端口上建立连接,即其他UNI隧道不可达。还有,当一个光网络设备故障时,利用该光网络设备上的端口建立连接的所有UNI隧道都不可达。The state of the UNI tunnel includes that the UNI tunnel is reachable and the UNI tunnel is unreachable. The UNI tunnel is reachable, indicating that the UNI tunnel is connected, and the service data can be transmitted; the UNI tunnel is unreachable, indicating that the UNI tunnel cannot be connected, and the service data cannot be transmitted. In a typical application scenario, multiple UNI tunnels share ports on the same optical network device. After one UNI tunnel establishes a connection with the UNI tunnel, other UNI tunnels cannot establish connections on the port. The tunnel is unreachable. Also, when an optical network device fails, all UNI tunnels that establish connections using the ports on the optical network device are unreachable.
本发明实施例中,以所述第一状态为UNI隧道可达,所述第二状态为UNI状态不可达为例进行说明。所述第一状态为UNI隧道不可达,所述第二状态为UNI状态可达的实现方法与之类似,这里不再赘述。In the embodiment of the present invention, the first state is that the UNI tunnel is reachable, and the second state is that the UNI state is unreachable as an example. The implementation manner of the first state is that the UNI tunnel is unreachable, and the second state is that the UNI state is reachable, and is not described here.
IP控制器将生成的所述UNI隧道状态请求消息发送至光控制器。光控制器接收到所述UNI隧道状态请求消息后,解析到所述UNI隧道状态请求消息中的UNI隧道状态请求标识,即可获知所述IP控制器向所述光控制器“订阅”UNI隧道的状态,则当UNI隧道的状态由第一状态改变为第二状态时,向所述IP控制器发送所述UNI隧道的改变后的第二状态的信息。The IP controller sends the generated UNI tunnel status request message to the light controller. After receiving the UNI tunnel status request message, the optical controller resolves to the UNI tunnel status request identifier in the UNI tunnel status request message, and learns that the IP controller "subscribes" the UNI tunnel to the optical controller. The state, when the state of the UNI tunnel is changed from the first state to the second state, transmitting information of the changed second state of the UNI tunnel to the IP controller.
具体实现时,所述网络协议IP控制器生成的所述UNI隧道状态请求消息为路径计算单元通信协议(Path Computation Element Communication Protocol,PCEP)中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。In a specific implementation, the UNI tunnel state request message generated by the network protocol IP controller is an open message in a Path Computation Element Communication Protocol (PCEP), where the open message includes an Optional Option field. The Optional field carries the UNI tunnel status request identifier.
所述UNI隧道状态请求消息为PCEP协议中的标准RFC5540定义的Open 消息,所述Open消息的格式如图3所示。其中,Ver指示所述Open消息所采用的PCEP的版本号。Flags指示所述Open消息的标志位。Keep alive指示IP控制器发送两个相邻的所述Open消息之间的最大时间间隔。Dead timer指示到达所述Dead timer所指定的时间后,没有收到任何Open消息,表示发送所述Open消息的PCEP会话结束,光控制器将所述光控制器和IP控制器之间的PCEP会话状态置为down。SID指示所述Open消息所属的PCEP会话ID。The UNI tunnel status request message is an Open defined by the standard RFC 5540 in the PCEP protocol. The format of the Open message is as shown in FIG. 3. Wherein, Ver indicates the version number of the PCEP used by the Open message. Flags indicate the flag bits of the Open message. Keep alive instructs the IP controller to send the maximum time interval between two adjacent Open messages. After the Dead timer indicates that the time specified by the Dead timer is reached, no Open message is received, indicating that the PCEP session for sending the Open message ends, and the optical controller will perform a PCEP session between the optical controller and the IP controller. The status is set to down. The SID indicates the PCEP session ID to which the Open message belongs.
其中,所述Optional字段携带有所述UNI隧道状态请求标识。所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位Flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。具体设置时,Type的值为30,Length的值为4。The Optional field carries the UNI tunnel status request identifier. The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a second state that indicates whether the UNI tunnel is requested to be changed. The information indicates the length of the Optional field, and the flag bit Flags in the Value carries the UNI tunnel status request identifier, indicating that when the state of the UNI tunnel changes from the first state to the second state And requesting information of the changed second state of the UNI tunnel. For specific settings, the value of Type is 30 and the value of Length is 4.
所述Optional字段的格式如图4所示,Type占用2个字节;Length占用2个字节;Reserved占用2个字节,是保留字段;Flags占用2个字节,Flags中的N位,表示是否“订阅”UNI隧道的改变后的第二状态的信息。所述Reserved和Flags共同组成所述Optional字段的Value。实际应用场景中,设置Flags中的N位为1时,表示“订阅”所述UNI隧道的可达性,设置Flags中的N位为0时,表示不“订阅”所述UNI隧道的可达性。Type的类型值和Flags中的N位的值共同指示是否“订阅”UNI隧道的改变后的第二状态的信息,即所述UNI隧道的可达性。The format of the Optional field is as shown in FIG. 4, the Type occupies 2 bytes; the Length occupies 2 bytes; the Reserved occupies 2 bytes, which is a reserved field; the Flags occupies 2 bytes, and the N bits in the Flags, Indicates whether to "subscribe" the information of the changed second state of the UNI tunnel. The Reserved and Flags together form the Value of the Optional field. In the actual application scenario, when the N bit in the Flags is set to 1, it indicates that the UNI tunnel is "subscribed". If the N bit in the Flags is set to 0, the UNI tunnel is not subscribed. Sex. The type value of Type and the value of N bits in Flags together indicate whether to "subscribe" the information of the changed second state of the UNI tunnel, that is, the reachability of the UNI tunnel.
本发明提供的实施例中,定义了一个状态请求消息,IP控制器生成所述UNI隧道状态请求消息发送至光控制器,请求“订阅”UNI隧道的可达性。在具体实施过程中,所述方法还包括:In the embodiment provided by the present invention, a status request message is defined, and the IP controller generates the UNI tunnel status request message and sends it to the optical controller to request "subscription" of the reachability of the UNI tunnel. In a specific implementation process, the method further includes:
所述IP控制器接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息; Receiving, by the IP controller, a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
所述IP控制器解析所述UNI隧道状态通告消息获得所述第二状态的信息;The IP controller parses the UNI tunnel status advertisement message to obtain information about the second state;
所述IP控制器利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态的信息;The IP controller updates the information of the first state corresponding to the identifier of the UNI tunnel by using the information of the second state;
所述IP控制器根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;Obtaining, by the IP controller, the reachability of the virtual network topology VNT link according to the information of the second state after the UNI tunnel is updated, where the VNT link is bound to the UNI tunnel;
所述IP控制器根据所述VNT链路的可达性计算业务数据流的传输路径。The IP controller calculates a transmission path of the service data flow according to the reachability of the VNT link.
IP控制器向光控制器“订阅”了所述当所述UNI隧道的状态,当所述UNI隧道的状态从第一状态改变为第二状态时,所述IP控制器接收到所述光控制器发送的所述UNI隧道状态通告消息,所述UNI隧道状态通告消息用于通告所述UNI隧道改变后的第二状态的信息。所述UNI隧道状态通告消息携带有UNI隧道状态通告标识,用于表示所述状态通告信息的类型为通告所述UNI隧道改变后的第二状态的信息;所述UNI隧道状态通告消息还携带有UNI隧道的标识,用于识别所述UNI隧道;所述UNI隧道状态通告消息还携带有第二状态的信息,用于指示所述UNI隧道改变后的状态。The IP controller "subscribes" to the optical controller the state of the UNI tunnel, and when the state of the UNI tunnel changes from the first state to the second state, the IP controller receives the light control The UNI tunnel status advertisement message sent by the device is used to advertise the information of the second state after the UNI tunnel is changed. The UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, which is used to indicate that the type of the status advertisement information is information for advertising the second state after the UNI tunnel is changed; the UNI tunnel status advertisement message is also carried. The identifier of the UNI tunnel is used to identify the UNI tunnel. The UNI tunnel state advertisement message also carries the information of the second state, which is used to indicate the changed state of the UNI tunnel.
所述IP控制器接收到所述UNI隧道状态通告消息后,从所述UNI隧道状态通告消息中解析得到所述UNI隧道改变后的第二状态的信息,用所述第二状态的信息更新所述UNI隧道原有的第一状态的信息。所述IP控制器根据所述UNI隧道改变后的第二状态的信息获取VNT链路的可达性,据所述VNT链路的可达性计算业务数据流的传输路径。After receiving the UNI tunnel state advertisement message, the IP controller parses the information of the second state after the UNI tunnel is changed from the UNI tunnel state advertisement message, and updates the information by using the second state information. The information about the original first state of the UNI tunnel. The IP controller obtains the reachability of the VNT link according to the information of the second state after the change of the UNI tunnel, and calculates the transmission path of the service data flow according to the reachability of the VNT link.
由此可知,当所述UNI隧道的状态由第一状态改变为第二状态时,光控制器立即生成所述UNI隧道状态通告消息发送至所述IP控制器。IP控制器可以及时获知所述UNI隧道改变后的第二状态的信息。IP控制器可以根据所述UNI隧道改变后的第二状态的信息,获知与所述UNI隧道绑定的VNT链路的可达性,再根据所述VNT链路的可达性计算业务数据流的传输路径。当所述UNI隧道第二状态的信息为可达时,与所述UNI隧道绑定的VNT链路也可达,则IP控制器计算业务数据流的传输路径时可以经由所述VNT链路;当所述UNI隧道第二状态的信息为不可达时,与所述UNI隧道绑定的VNT链路也不可达,则IP控制器计算业务数据流的传输路径时不可以经由所述 VNT链路,计算出的业务数据流的传输路径避开所述VNT链路,获得有效的业务传输路径。这样,所述IP控制器在计算业务数据流的传输路径时,不会出现由于VNT链路绑定的UNI隧道不可达,需要反复计算才能获得有效的业务数据流的传输路径的问题,既可以降低IP控制器计算业务数据流传输路径的复杂度,又可以缩短计算业务数据流传输路径的时间。Therefore, when the state of the UNI tunnel changes from the first state to the second state, the optical controller immediately generates the UNI tunnel state advertisement message and sends the message to the IP controller. The IP controller can know the information of the second state after the change of the UNI tunnel in time. The IP controller can learn the reachability of the VNT link bound to the UNI tunnel according to the information of the second state after the UNI tunnel is changed, and then calculate the service data flow according to the reachability of the VNT link. The transmission path. When the information of the second state of the UNI tunnel is reachable, the VNT link bound to the UNI tunnel is also reachable, and the IP controller can calculate the transmission path of the service data flow through the VNT link; When the information of the second state of the UNI tunnel is unreachable, the VNT link bound to the UNI tunnel is also unreachable, and the IP controller cannot calculate the transmission path of the service data flow. The VNT link, the calculated transmission path of the service data flow avoids the VNT link, and obtains an effective service transmission path. In this way, when the IP controller calculates the transmission path of the service data flow, there is no problem that the UNI tunnel bound to the VNT link is unreachable and needs to be repeatedly calculated to obtain a valid transmission path of the service data stream. The complexity of calculating the transmission path of the service data stream by the IP controller is reduced, and the time for calculating the transmission path of the service data stream can be shortened.
举例说明:在实际应用场景中,假设当所述UNI隧道的状态从可达改变为不可达时,光控制器生成所述UNI隧道状态通告消息,所述UNI隧道状态通告信息用于通告所述UNI隧道的状态为不可达。当IP控制器接收到所述UNI隧道状态通告信息时,获知所述UNI隧道的状态为不可达,即与所述UNI隧道绑定的VNT链路也不可达。则所述IP控制器计算获得的业务数据流传输路径不经由所述VNT链路。For example, in the actual application scenario, it is assumed that when the state of the UNI tunnel changes from reachable to unreachable, the optical controller generates the UNI tunnel state advertisement message, where the UNI tunnel state advertisement information is used to notify the The status of the UNI tunnel is unreachable. When the IP controller receives the UNI tunnel status advertisement information, the UNI tunnel is unreachable, that is, the VNT link bound to the UNI tunnel is unreachable. Then, the IP data controller calculates that the obtained service data stream transmission path does not pass through the VNT link.
图5为本发明实施例提供的通告UNI隧道状态的方法流程图,所述方法包括:FIG. 5 is a flowchart of a method for advertising a UNI tunnel state according to an embodiment of the present disclosure, where the method includes:
501:光控制器接收IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当所述UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息。501: The optical controller receives a UNI tunnel status request message sent by the IP controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel is When the first state is changed to the second state, information for transmitting the changed second state of the UNI tunnel is requested.
光控制器接收IP控制器发送的UNI隧道状态请求消息,解析所述UNI隧道状态请求消息,获知所述IP控制器向所述光控制器“订阅”所述UNI隧道改变后的状态。其中,所述IP控制器生成所述UNI隧道状态请求消息的格式,与图2所示的请求UNI隧道的状态的方法中的描述类似,参考图2所示的方法中的描述,这里不再赘述。The optical controller receives the UNI tunnel status request message sent by the IP controller, parses the UNI tunnel status request message, and learns that the IP controller "subscribes" the changed state of the UNI tunnel to the optical controller. The format of the UNI tunnel state request message generated by the IP controller is similar to the description in the method for requesting the state of the UNI tunnel shown in FIG. 2, and is not described here with reference to the method in the method shown in FIG. Narration.
502:当所述UNI隧道的状态由第一状态改变为第二状态时,所述光控制器获取所述UNI隧道的标识和第二状态的信息。502: When the state of the UNI tunnel is changed from the first state to the second state, the optical controller acquires information about the identifier of the UNI tunnel and the second state.
当所述UNI隧道的状态由第一状态改变为第二状态时,由于所述IP控制器“订阅”了所述UNI隧道的状态,则所述光控制器获取所述UNI隧道改变后的第二状态的信息以及所述UNI隧道的标识。所述UNI隧道由第一状态改变为第二状态,可以是由可达状态改变为不可达状态,也可 以是由不可达状态改变为可达状态。下面以所述UNI隧道由可达状态改变为不可达状态为例进行说明,所述UNI隧道由不可达状态改变为可达状态之类似,这里不再赘述。When the state of the UNI tunnel is changed from the first state to the second state, the optical controller acquires the changed state of the UNI tunnel because the IP controller "subscribes" the state of the UNI tunnel. Information of the two states and the identity of the UNI tunnel. The UNI tunnel is changed from the first state to the second state, and may be changed from the reachable state to the unreachable state. It changes from unreachable state to reachable state. The following is an example in which the UNI tunnel is changed from the reachable state to the unreachable state. The UNI tunnel is changed from the unreachable state to the reachable state, and is not described here.
在具体的实施例中,所述光控制器获取所述UNI隧道的标识和第二状态的信息包括:In a specific embodiment, the information that the optical controller acquires the identifier and the second state of the UNI tunnel includes:
所述光控制器接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息;Receiving, by the optical controller, connection change information of the first optical network device and the second optical network device that are sent by the first optical network device;
所述光控制器根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。The optical controller obtains an identifier of the UNI tunnel established between the first optical network device and the second optical network device according to the connection change information, and the UNI tunnel changes from the first state to the Information about the second state after the second state.
当第二光网络设备上的端口故障时,第一光网络设备和第二光网络设备上利用所述端口进行连接的UNI隧道连接故障;或者,当所述第二光网络设备故障时,第一光网络设备与第二光网络设备之间的所有UNI隧道都连接故障。则连接故障的UNI隧道的状态由可达状态改变为不可达状态。此时,第一网络设备向光控制器发送连接变化信息。光控制器接收到所述连接变化信息,根据所述连接变化信息获知UNI隧道的标识,以及所述UNI隧道由第一状态改变为第二状态后所述第二状态的信息。When the port on the second optical network device is faulty, the UNI tunnel connection that is connected by using the port on the first optical network device and the second optical network device is faulty; or, when the second optical network device is faulty, All UNI tunnels between an optical network device and the second optical network device are connected to failure. Then, the state of the connected UNI tunnel changes from the reachable state to the unreachable state. At this time, the first network device sends connection change information to the light controller. The optical controller receives the connection change information, and obtains an identifier of the UNI tunnel according to the connection change information, and information about the second state after the UNI tunnel is changed from the first state to the second state.
实际应用中,第一光网络设备与光控制器之间建立了内部网关协议(Interior Gateway Protocol,IGP)或者PCEP协议。所述第一光网络设备利用所述IGP协议或者PCEP协议,向所述光控制器发送所述连接变化信息。In an actual application, an Interior Gateway Protocol (IGP) or a PCEP protocol is established between the first optical network device and the optical controller. The first optical network device sends the connection change information to the optical controller by using the IGP protocol or the PCEP protocol.
503:所述光控制器生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息。503: The optical controller generates the UNI tunnel state advertisement message, where the UNI tunnel state advertisement message includes: a UNI tunnel state advertisement identifier, an identifier of the UNI tunnel, and information about the second state, where the UNI tunnel The status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed.
504:所述光控制器将所述UNI隧道状态通告消息发送至所述IP控制器。504: The optical controller sends the UNI tunnel status advertisement message to the IP controller.
所述光控制器获知UNI隧道改变后的第二状态的信息,以及所述UNI隧道的标识后,生成所述UNI隧道状态通告信息,向“订阅”了所述UNI 隧道状态的IP控制器发送所述UNI隧道状态通告信息,通告所述UNI隧道改变后的第二状态的信息。After the information about the second state of the UNI tunnel is changed, and the identifier of the UNI tunnel is generated, the UNI tunnel status notification information is generated, and the UNI is subscribed to the UNI. The IP controller in the tunnel state sends the UNI tunnel status advertisement information, and advertises information about the second state after the UNI tunnel is changed.
在具体实施例中,所述状态通告信息为路径计算通告(Path Computation Notification,PCNtf)消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述PCNtf消息包括通述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。In a specific embodiment, the status advertisement information is a Path Computation Notification (PCNtf) message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, where the PCNtf message includes a description. The NT field carries the first type of value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
所述光控制器利用所述UNI隧道的标识和第二状态的信息生成的所述UNI隧道状态通告消息为RFC标准中定义的PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和Optional字段,所述NT字段指示所述PCNtf消息的类型,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。The UNI tunnel status advertisement message generated by the optical controller by using the identifier of the UNI tunnel and the information of the second state is a PCNtf message defined in the RFC standard, where the PCNtf message includes an advertisement type NT field and an advertisement value NV field. And an Optional field, the NT field indicating a type of the PCNtf message, the NV field indicating information of the second state advertised by the PCNtf message, and the Optional field carrying an identifier of the UNI tunnel.
所述PCNtf消息的格式如图6所示,Reserved为所述PCNtf消息中的保留字段。Flag指示所述PCNtf消息的标志位。NT字段占用2个字节,指示所述PCNtf消息的类型为通告所述UNI隧道改变后的第二状态的信息。NV字段占用2个字节,指示所述PCNtf消息通告的所述第二状态的信息。一个所述PCNtf消息通告一条UNI隧道改变后的第二状态的信息。具体应用场景中,NT字段的值设置为101,定义NV字段的值为1时,表示所述UNI隧道可达,NV字段的值为2时,表示所述UNI隧道不可达。The format of the PCNtf message is as shown in FIG. 6, and Reserved is a reserved field in the PCNtf message. Flag indicates the flag bit of the PCNtf message. The NT field occupies 2 bytes, indicating that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed. The NV field occupies 2 bytes, indicating information of the second state advertised by the PCNtf message. One of the PCNtf messages advertises information of a second state after a UNI tunnel is changed. In the specific application scenario, the value of the NT field is set to 101. If the value of the NV field is 1, the UNI tunnel is reachable. If the value of the NV field is 2, the UNI tunnel is unreachable.
其中,所述Optional字段携带有所述UNI隧道的标识。所述Optional字段的格式如图7所示。所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4Tunnel Endpoint Address。The Optional field carries the identifier of the UNI tunnel. The format of the Optional field is as shown in FIG. 7. The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that represents the UNI tunnel, and the Length indication The length of the Optional field, the value indicating the identifier of the UNI tunnel, the value including the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switching path LSP ID, the tunnel tunnel ID, the extended tunnel Extended Tunnel ID, and the destination. Address IPv4Tunnel Endpoint Address.
具体应用场景中,Type的值设置为18,Length的值设置为16。所述Optional字段中,IPv4Tunnel Sender Address,LSP ID,Tunnel ID,Extended  Tunnel ID以及IPv4Tunnel Endpoint Address共同组成了所述UNI隧道的标识。In a specific application scenario, the value of Type is set to 18, and the value of Length is set to 16. In the Optional field, the IPv4 Tunnel Sender Address, LSP ID, Tunnel ID, and Extended The tunnel ID and the IPv4 Tunnel Endpoint Address together form the identifier of the UNI tunnel.
光控制器将所生成的所述UNI隧道状态通告消息发送至所述IP控制器,所述IP控制器根据所述UNI隧道状态通告消息获知所述UNI隧道改变后的第二状态的信息。所述IP控制器根据所述UNI隧道改变后的第二状态的信息,获知与所述UNI隧道绑定的VNT链路的可达性,再根据所述VNT链路的可达性计算所述业务流数据的传输路径。此处与图2所示的方法中的描述类似,参考图2所示的方法中的描述,这里不再赘述。And sending, by the optical controller, the generated UNI tunnel state advertisement message to the IP controller, where the IP controller learns information about the second state after the UNI tunnel is changed according to the UNI tunnel state advertisement message. The IP controller learns the reachability of the VNT link bound to the UNI tunnel according to the information of the second state after the UNI tunnel is changed, and calculates the reachability according to the reachability of the VNT link. The transmission path of traffic data. This is similar to the description in the method shown in FIG. 2, and the description in the method shown in FIG. 2 will not be repeated here.
由上述内容可知,本发明有如下有益效果:As can be seen from the above, the present invention has the following beneficial effects:
IP控制器向光控制器发送UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态,IP控制器请求光控制器发送所述UNI隧道的改变后的第二状态的信息。当所述UNI隧道的状态由第一状态改变为第二状态时,光控制器将所述UNI隧道的改变后的第二状态的信息发送至IP控制器,IP控制器可以及时更新所述UNI隧道改变后的第二状态的信息。IP控制器可以获知所述UNI隧道更新后的状态,则IP控制器在计算业务数据流的传输路径时,就可以获知与所述UNI隧道绑定的VNT链路的可达性,删除不可达的VNT链路,计算得到的业务数据流的传输路径可用。降低IP控制器计算业务数据流传输路径的复杂度,缩短计算业务数据流传输路径的时间。The IP controller sends a UNI tunnel status request message to the optical controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel is changed from the first status to the In the second state, the IP controller requests the optical controller to send information of the changed second state of the UNI tunnel. When the state of the UNI tunnel is changed from the first state to the second state, the optical controller sends information about the changed second state of the UNI tunnel to the IP controller, and the IP controller may update the UNI in time. Information about the second state after the tunnel is changed. The IP controller can learn the updated state of the UNI tunnel, and the IP controller can learn the reachability of the VNT link bound to the UNI tunnel, and delete the unreachable state when calculating the transmission path of the service data flow. The VNT link, the calculated transmission path of the service data stream is available. Reduce the complexity of the IP controller to calculate the service data stream transmission path and shorten the time for calculating the service data stream transmission path.
图8为本发明实施例提供的一种请求UNI隧道状态的IP控制器800结构示意图,该IP控制器800可以为图2或图5所示的实施例中的IP控制器,所述IP控制器800包括:FIG. 8 is a schematic structural diagram of an IP controller 800 for requesting a UNI tunnel state according to an embodiment of the present invention. The IP controller 800 may be an IP controller in the embodiment shown in FIG. 2 or FIG. 5, where the IP control is performed. The device 800 includes:
生成单元801,用于生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当所述UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息。The generating unit 801 is configured to generate a UNI tunnel status request message, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel is changed by the first status In the second state, the information of the changed second state of the UNI tunnel is requested to be sent.
发送单元802,用于将所述生成单元801生成的所述UNI隧道状态请 求消息发送至光控制器。a sending unit 802, configured to use the UNI tunnel status generated by the generating unit 801 The message is sent to the light controller.
可选的,所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。Optionally, the UNI tunnel status request message is an open message in the path calculation unit communication protocol PCEP, and the open message includes an option Optional field, where the Optional field carries the UNI tunnel status request identifier.
其中,所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a flag indicating whether the UNI tunnel is requested to be changed. The information of the two states, the Length indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel state request identifier, indicating that when the state of the UNI tunnel is changed from the first state to the second state In the state, the information of the changed second state of the UNI tunnel is requested.
可选的,所述IP控制器还包括:Optionally, the IP controller further includes:
接收单元,用于接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a receiving unit, configured to receive a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
解析单元,用于解析所述接收单元接收的UNI隧道状态通告消息获得所述第二状态的信息;a parsing unit, configured to parse the UNI tunnel status advertisement message received by the receiving unit to obtain information about the second state;
更新单元,用于利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态信息;An update unit, configured to update first state information corresponding to the identifier of the UNI tunnel by using the information of the second state;
获取单元,用于根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;An obtaining unit, configured to acquire, according to the information of the second state after the UNI tunnel is updated, the reachability of the virtual network topology VNT link, where the VNT link is bound to the UNI tunnel;
路径计算单元,用于根据所述VNT链路的可达性计算业务数据流的传输路径。a path calculation unit, configured to calculate a transmission path of the service data flow according to the reachability of the VNT link.
图8所示的请求UNI隧道状态的IP控制器是与图2所示的请求UNI隧道状态的方法所对应的IP控制器,参考图2所示的请求UNI隧道状态的方法中的技术描述,这里不再赘述。The IP controller requesting the UNI tunnel state shown in FIG. 8 is an IP controller corresponding to the method for requesting the UNI tunnel state shown in FIG. 2, and referring to the technical description in the method for requesting the UNI tunnel state shown in FIG. I won't go into details here.
图9为本发明实施例提供的通告UNI隧道的状态的光控制器900结构示意图,该光控制器900可以为图2或图5所示的实施例中的光控制器,所述 光控制器900包括:FIG. 9 is a schematic structural diagram of a light controller 900 for announcing a state of a UNI tunnel according to an embodiment of the present invention. The light controller 900 may be a light controller in the embodiment shown in FIG. 2 or FIG. The light controller 900 includes:
接收单元901,用于接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息。The receiving unit 901 is configured to receive a UNI tunnel status request message sent by the Internetwork Protocol (IP) controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that the UNI tunnel is When the state changes from the first state to the second state, the information of the changed second state of the UNI tunnel is requested to be sent.
获取单元902,用于当所述UNI隧道的状态由第一状态改变为第二状态时,获取所述UNI隧道的标识和第二状态的信息。The obtaining unit 902 is configured to acquire information about the identifier of the UNI tunnel and the second state when the state of the UNI tunnel is changed from the first state to the second state.
生成单元903,用于生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息。The generating unit 903 is configured to generate the UNI tunnel state advertisement message, where the UNI tunnel state advertisement message includes: a UNI tunnel state advertisement identifier, an identifier of the UNI tunnel, and information about the second state, where the state advertisement identifier The type used to indicate the UNI tunnel state advertisement message is information for advertising the second state after the UNI tunnel is changed.
发送单元904,用于将所述UNI隧道状态通告消息发送至所述IP控制器。The sending unit 904 is configured to send the UNI tunnel status advertisement message to the IP controller.
可选的,所述UNI隧道状态通告信息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。Optionally, the UNI tunnel state advertisement information is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, where the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
其中,所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that identifies the UNI tunnel. The length indicates the length of the Optional field, and the value indicates the identifier of the UNI tunnel. The value includes the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switched path LSP ID, the tunnel tunnel ID, and the extended tunnel Extended Tunnel ID. And the destination address IPv4Tunnel Endpoint Address.
可选的,所述获取单元902包括:Optionally, the obtaining unit 902 includes:
接收子单元,用于接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息; a receiving subunit, configured to receive connection change information of the first optical network device and the second optical network device sent by the first optical network device;
信息获取子单元,用于根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。An information acquiring subunit, configured to obtain, according to the connection change information, an identifier of the UNI tunnel established between the first optical network device and a second optical network device, and the UNI tunnel changes from the first state The information of the second state after the second state.
图9所示的通告UNI隧道状态的光控制器是与图5所示的通告UNI隧道状态的方法所对应的IP控制器,参考图5所示的请求UNI隧道状态的方法中的技术描述,这里不再赘述。The optical controller for informing the UNI tunnel state shown in FIG. 9 is an IP controller corresponding to the method for advertising the UNI tunnel state shown in FIG. 5, and referring to the technical description in the method for requesting the UNI tunnel state shown in FIG. I won't go into details here.
图10为本发明实施例提供的获得UNI隧道的状态的系统1000结构示意图,所述系统1000包括:FIG. 10 is a schematic structural diagram of a system 1000 for obtaining a state of a UNI tunnel according to an embodiment of the present disclosure, where the system 1000 includes:
图8所示的请求UNI隧道的状态的IP控制器1001,以及图9所示的通告UNI隧道的状态的光控制器1002。The IP controller 1001 that requests the state of the UNI tunnel shown in FIG. 8, and the optical controller 1002 that announces the state of the UNI tunnel shown in FIG.
所述IP控制器1001为图8所示的IP控制器,参考图8对所述IP控制器的描述,这里不再赘述;所述光控制器1002为图9所示的光控制器,参考图9对所述光控制器的描述,这里不再赘述。The IP controller 1001 is the IP controller shown in FIG. 8. The description of the IP controller is described with reference to FIG. 8. The optical controller 1002 is the optical controller shown in FIG. FIG. 9 is a description of the light controller, and details are not described herein again.
图11为本发明实施例提供的请求UNI隧道的状态的IP控制器1100硬件结构示意图。该IP控制器1100可以为图2或图5所示的实施例中的IP控制器,所述IP控制器1100包括:FIG. 11 is a schematic structural diagram of hardware of an IP controller 1100 for requesting a state of a UNI tunnel according to an embodiment of the present invention. The IP controller 1100 can be an IP controller in the embodiment shown in FIG. 2 or FIG. 5, and the IP controller 1100 includes:
存储器1101,发送器1102,以及分别与所述存储器1101和所述发送器1102相连的处理器1103。A memory 1101, a transmitter 1102, and a processor 1103 connected to the memory 1101 and the transmitter 1102, respectively.
所述存储器1101用于存储程序指令,所述处理器1103用于从所述存储器1101调取所述程序指令执行以下操作:The memory 1101 is configured to store program instructions, and the processor 1103 is configured to retrieve the program instructions from the memory 1101 to perform the following operations:
生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;Generating a UNI tunnel status request message, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel changes from the first status to the second status, the request is sent. Information of the changed second state of the UNI tunnel;
所述发送器1102,用于将所述处理器1103生成的所述UNI隧道状态请求消息发送至光控制器。The transmitter 1102 is configured to send the UNI tunnel status request message generated by the processor 1103 to a light controller.
可选的,所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字 段携带有所述UNI隧道状态请求标识。Optionally, the UNI tunnel state request message is an open message in the path calculation unit communication protocol PCEP, where the open message includes an option Optional field, and the Optional word The segment carries the UNI tunnel status request identifier.
其中,所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a flag indicating whether the UNI tunnel is requested to be changed. The information of the two states, the Length indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel state request identifier, indicating that when the state of the UNI tunnel is changed from the first state to the second state In the state, the information of the changed second state of the UNI tunnel is requested.
可选的,所述IP控制器还包括:Optionally, the IP controller further includes:
接收器,用于接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a receiver, configured to receive a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
所述处理器1103,还用于执行以下操作:The processor 1103 is further configured to:
解析所述接收器接收的所述UNI隧道状态通告消息获得所述第二状态的信息;And parsing the UNI tunnel state advertisement message received by the receiver to obtain information about the second state;
利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态信息;Updating, by using the information of the second state, first state information corresponding to the identifier of the UNI tunnel;
根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;Acquiring the reachability of the virtual network topology VNT link according to the updated information of the second state of the UNI tunnel, where the VNT link is bound to the UNI tunnel;
根据所述VNT链路的可达性计算业务数据流的传输路径。Calculating a transmission path of the service data flow according to the reachability of the VNT link.
图11所示的请求UNI隧道的状态的IP控制器是与图2所示的请求UNI隧道的状态的方法所对应的IP控制器,参考图2所示的请求UNI隧道的状态的方法中的技术描述,这里不再赘述。The IP controller requesting the state of the UNI tunnel shown in FIG. 11 is an IP controller corresponding to the method of requesting the state of the UNI tunnel shown in FIG. 2, and referring to the method of requesting the state of the UNI tunnel shown in FIG. Technical description, no more details here.
图12为本发明实施例提供的通告UNI隧道的状态的光控制器1200硬件结构示意图,该光控制器1200可以为图2或图5所示的实施例中的光控制器,所述光控制器1200包括:FIG. 12 is a schematic diagram showing the hardware structure of a light controller 1200 for announcing a state of a UNI tunnel according to an embodiment of the present invention. The light controller 1200 may be a light controller in the embodiment shown in FIG. 2 or FIG. The 1200 includes:
存储器1201,接收器1202,发送器1203,以及分别与所述存储器1201、所述接收器1202和所述发送器1203相连的处理器1204。 A memory 1201, a receiver 1202, a transmitter 1203, and a processor 1204 connected to the memory 1201, the receiver 1202, and the transmitter 1203, respectively.
所述接收器1202,用于接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;The receiver 1202 is configured to receive a UNI tunnel status request message sent by the Internetwork Protocol (IP) controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that the UNI is When the state of the tunnel is changed from the first state to the second state, requesting to send information of the changed second state of the UNI tunnel;
所述存储器1201用于存储程序指令,所述处理器1204用于从所述存储器1201中调取所述程序指令执行以下操作:The memory 1201 is configured to store program instructions, and the processor 1204 is configured to retrieve the program instructions from the memory 1201 to perform the following operations:
当所述UNI隧道的状态由第一状态改变为第二状态时,获取所述UNI隧道的标识和第二状态的信息;Obtaining information about the identifier of the UNI tunnel and the second state when the state of the UNI tunnel is changed from the first state to the second state;
生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;Generating the UNI tunnel status advertisement message, where the UNI tunnel status advertisement message includes: a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and information about the second state, where the UNI tunnel status advertisement identifier is used to indicate The type of the UNI tunnel state advertisement message is information for advertising the second state after the UNI tunnel is changed;
所述发送器1203,用于将所述处理器1204生成的所述UNI隧道状态通告消息发送至所述IP控制器。The transmitter 1203 is configured to send the UNI tunnel status advertisement message generated by the processor 1204 to the IP controller.
可选的,所述UNI隧道状态通告信息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。Optionally, the UNI tunnel state advertisement information is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, where the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
其中,所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that identifies the UNI tunnel. The length indicates the length of the Optional field, and the value indicates the identifier of the UNI tunnel. The value includes the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switched path LSP ID, the tunnel tunnel ID, and the extended tunnel Extended Tunnel ID. And the destination address IPv4Tunnel Endpoint Address.
可选的,Optional,
所述接收器1202,还用于接收第一光网络设备发送的所述第一光网络 设备与第二光网络设备的连接变化信息;The receiver 1202 is further configured to receive the first optical network sent by the first optical network device Connection change information between the device and the second optical network device;
所述处理器1204,还用于执行以下操作:The processor 1204 is further configured to:
根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。Obtaining, according to the connection change information, an identifier of the UNI tunnel established between the first optical network device and the second optical network device, and after the UNI tunnel is changed from the first state to the second state The information of the second state.
图12所示的通告UNI隧道的状态的光控制器是与图5所示的通告UNI隧道的状态的方法所对应的IP控制器,参考图5所示的请求UNI隧道的状态的方法中的技术描述,这里不再赘述。The optical controller that announces the state of the UNI tunnel shown in FIG. 12 is an IP controller corresponding to the method of advertising the state of the UNI tunnel shown in FIG. 5, and refers to the method of requesting the state of the UNI tunnel shown in FIG. 5. Technical description, no more details here.
图13为本发明实施例提供的获得UNI隧道的状态的系统硬件结构示意图,所述系统包括:FIG. 13 is a schematic structural diagram of a system hardware for obtaining a state of a UNI tunnel according to an embodiment of the present disclosure, where the system includes:
图11所示的请求UNI隧道的状态的IP控制器1301,以及图12所示的通告UNI隧道的状态的光控制器1302。The IP controller 1301 requesting the state of the UNI tunnel shown in FIG. 11 and the optical controller 1302 indicating the state of the UNI tunnel shown in FIG.
所述IP控制器1301为图8所示的IP控制器,参考图8对所述IP控制器的描述,这里不再赘述;所述光控制器1302为图9所示的光控制器,参考图9对所述光控制器的描述,这里不再赘述。The IP controller 1301 is the IP controller shown in FIG. 8. The description of the IP controller is described with reference to FIG. 8 , and details are not described herein. The optical controller 1302 is the optical controller shown in FIG. FIG. 9 is a description of the light controller, and details are not described herein again.
本发明实施例中提到的第一状态中的“第一”只是用来做名字标识,并不代表顺序上的第一。该规则同样适用于“第二”等。The "first" in the first state mentioned in the embodiment of the present invention is only used for the name identification, and does not represent the first in the order. The same rules apply to "second" and the like.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质可以是下述介质中的至少一种:只读存储器(Read-Only Memory,ROM)、RAM、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium may be at least one of the following: a read-only memory (ROM), a RAM, a magnetic disk, or an optical disk, and the like, which can store the program code. .
最后应说明的是:以上实施例仅用以示例性说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明及本发明带来的有益效果进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明权利要求的范围。 Finally, it should be noted that the above embodiments are only used to exemplify the technical solutions of the present invention, and are not limited thereto; although the beneficial effects brought by the present invention and the present invention are described in detail with reference to the foregoing embodiments, the field It should be understood by those skilled in the art that the technical solutions described in the foregoing embodiments may be modified or equivalently replaced with some of the technical features; and such modifications or substitutions do not deviate from the essence of the corresponding technical solutions. The scope of the claims.

Claims (17)

  1. 一种请求用户网络侧接口UNI隧道状态的方法,其特征在于,所述方法包括:A method for requesting a UNI tunnel state of a user network side interface, the method comprising:
    网际互联协议IP控制器生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;The Internet Protocol (IP) IP controller generates a UNI tunnel status request message, where the UNI tunnel status request message carries a UNI tunnel status request identifier, and the UNI tunnel status request identifier is used to indicate that when the status of the UNI tunnel is changed from the first status to the first In the second state, requesting to send information of the changed second state of the UNI tunnel;
    所述IP控制器将所述UNI隧道状态请求消息发送至光控制器。The IP controller sends the UNI tunnel status request message to the light controller.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。The UNI tunnel status request message is an open message in the path calculation unit communication protocol PCEP, and the open message includes an option Optional field, where the Optional field carries the UNI tunnel status request identifier.
  3. 根据权利要求2所述的方法,其特征在于,The method of claim 2 wherein:
    所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a second state that indicates whether the UNI tunnel is requested to be changed. The information indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel status request identifier, indicating that when the state of the UNI tunnel changes from the first state to the second state And requesting information of the changed second state of the UNI tunnel.
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-3, wherein the method further comprises:
    所述IP控制器接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;Receiving, by the IP controller, a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
    所述IP控制器解析所述UNI隧道状态通告消息获得所述第二状态的信息;The IP controller parses the UNI tunnel status advertisement message to obtain information about the second state;
    所述IP控制器利用所述第二状态的信息更新所述UNI隧道的标识所 对应的第一状态的信息;The IP controller updates the identifier of the UNI tunnel by using the information of the second state Corresponding information of the first state;
    所述IP控制器根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;Obtaining, by the IP controller, the reachability of the virtual network topology VNT link according to the information of the second state after the UNI tunnel is updated, where the VNT link is bound to the UNI tunnel;
    所述IP控制器根据所述VNT链路的可达性计算业务数据流的传输路径。The IP controller calculates a transmission path of the service data flow according to the reachability of the VNT link.
  5. 一种通告用户网络侧接口UNI隧道的状态的方法,其特征在于,所述方法包括:A method for advertising a state of a network side interface UNI tunnel of a user, wherein the method includes:
    光控制器接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;The UNI system receives the UNI tunnel status request message sent by the Internet Protocol Protocol (IP) controller, and the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate that the status of the UNI tunnel is When a state is changed to the second state, requesting to send information of the changed second state of the UNI tunnel;
    当所述UNI隧道的状态由第一状态改变为第二状态时,所述光控制器获取所述UNI隧道的标识和第二状态的信息;When the state of the UNI tunnel is changed from the first state to the second state, the optical controller acquires information about the identifier of the UNI tunnel and the second state;
    所述光控制器生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;The UNI tunnel status advertisement message is generated by the optical controller, where the UNI tunnel status advertisement message includes: a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and information about the second state, the UNI tunnel status advertisement And indicating that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
    所述光控制器将所述UNI隧道状态通告消息发送至所述IP控制器。The light controller sends the UNI tunnel status announcement message to the IP controller.
  6. 根据权利要求5所述的方法,其特征在于,The method of claim 5 wherein:
    所述UNI隧道状态通告消息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。The UNI tunnel state advertisement message is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, and the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述 value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4 Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4 Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that represents the UNI tunnel, and the Length indication Length of the Optional field, The value indicates the identifier of the UNI tunnel, and the value includes the source address IPv4 Tunnel Sender Address, the label switched path LSP ID, the tunnel tunnel ID, the extended tunnel Extended Tunnel ID, and the destination address IPv4 Tunnel Endpoint Address.
  8. 根据权利要求5-7任意一项所述的方法,其特征在于,所述光控制器获取所述UNI隧道的标识和第二状态的信息包括:The method according to any one of claims 5-7, wherein the information that the optical controller acquires the identifier and the second state of the UNI tunnel includes:
    所述光控制器接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息;Receiving, by the optical controller, connection change information of the first optical network device and the second optical network device that are sent by the first optical network device;
    所述光控制器根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。The optical controller obtains an identifier of the UNI tunnel established between the first optical network device and the second optical network device according to the connection change information, and the UNI tunnel changes from the first state to the Information about the second state after the second state.
  9. 一种请求用户网络侧接口UNI隧道状态的网际互联协议IP控制器,其特征在于,所述IP控制器包括:An internetwork protocol IP controller for requesting a UNI tunnel state of a user network side interface, wherein the IP controller includes:
    生成单元,用于生成UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;a generating unit, configured to generate a UNI tunnel state request message, where the UNI tunnel state request message carries a UNI tunnel state request identifier, where the UNI tunnel state request identifier is used to indicate that when the state of the UNI tunnel is changed from the first state to the second state In the state, requesting to send information of the changed second state of the UNI tunnel;
    发送单元,用于将所述生成单元生成的所述UNI隧道状态请求消息发送至光控制器。And a sending unit, configured to send the UNI tunnel state request message generated by the generating unit to the light controller.
  10. 根据权利要求9所述的IP控制器,其特征在于,The IP controller of claim 9 wherein:
    所述UNI隧道状态请求消息为路径计算单元通信协议PCEP中的open消息,所述open消息包括选项Optional字段,所述Optional字段携带有所述UNI隧道状态请求标识。The UNI tunnel status request message is an open message in the path calculation unit communication protocol PCEP, and the open message includes an option Optional field, where the Optional field carries the UNI tunnel status request identifier.
  11. 根据权利要求10所述的IP控制器,其特征在于,The IP controller according to claim 10, characterized in that
    所述Optional字段包括类型Type、长度Length和值value,所述Type携带有类型值,所述类型值用于指示所述Optional字段的类型为表征是否请求所述UNI隧道的改变后的第二状态的信息,所述Length指示所述Optional字段的长度,所述Value中的标志位flags携带有所述UNI隧道状态请求标识,指示当所述UNI隧道的状态由第一状态改变为第二状态时,请求所述UNI隧道的改变后的第二状态的信息。 The Optional field includes a type, a length, and a value, and the type carries a type value, where the type value is used to indicate that the type of the Optional field is a second state that indicates whether the UNI tunnel is requested to be changed. The information indicates the length of the Optional field, and the flag bit flag in the Value carries the UNI tunnel status request identifier, indicating that when the state of the UNI tunnel changes from the first state to the second state And requesting information of the changed second state of the UNI tunnel.
  12. 根据权利要求9-11任意一项所述的IP控制器,其特征在于,所述IP控制器还包括:The IP controller according to any one of claims 9-11, wherein the IP controller further comprises:
    接收单元,用于接收所述光控制器发送的UNI隧道状态通告消息,所述UNI隧道状态通告消息携带有UNI隧道状态通告标识、所述UNI隧道的标识以及所述UNI隧道的状态,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a receiving unit, configured to receive a UNI tunnel status advertisement message sent by the optical controller, where the UNI tunnel status advertisement message carries a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and a status of the UNI tunnel, The UNI tunnel status advertisement identifier is used to indicate that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
    解析单元,用于解析所述接收单元接收的所述UNI隧道状态通告消息获得所述第二状态的信息;a parsing unit, configured to parse the UNI tunnel status advertisement message received by the receiving unit to obtain information about the second state;
    更新单元,用于利用所述第二状态的信息更新所述UNI隧道的标识所对应的第一状态信息;An update unit, configured to update first state information corresponding to the identifier of the UNI tunnel by using the information of the second state;
    获取单元,用于根据所述UNI隧道更新后的第二状态的信息获取虚网络拓扑VNT链路的可达性,所述VNT链路与所述UNI隧道绑定;An obtaining unit, configured to acquire, according to the information of the second state after the UNI tunnel is updated, the reachability of the virtual network topology VNT link, where the VNT link is bound to the UNI tunnel;
    路径计算单元,用于根据所述VNT链路的可达性计算业务数据流的传输路径。a path calculation unit, configured to calculate a transmission path of the service data flow according to the reachability of the VNT link.
  13. 一种通告用户网络侧接口UNI隧道状态的光控制器,其特征在于,所述光控制器包括:An optical controller for informing a UNI tunnel state of a user network side interface, wherein the optical controller comprises:
    接收单元,用于接收网际互联协议IP控制器发送的UNI隧道状态请求消息,所述UNI隧道状态请求消息携带有UNI隧道状态请求标识,所述UNI隧道状态请求标识用于表示当UNI隧道的状态由第一状态改变为第二状态时,请求发送所述UNI隧道的改变后的第二状态的信息;a receiving unit, configured to receive a UNI tunnel status request message sent by the Internetwork Protocol (IP) controller, where the UNI tunnel status request message carries a UNI tunnel status request identifier, where the UNI tunnel status request identifier is used to indicate the status of the UNI tunnel When the first state is changed to the second state, requesting to send information of the changed second state of the UNI tunnel;
    获取单元,用于当所述UNI隧道的状态由第一状态改变为第二状态时,获取所述UNI隧道的标识和第二状态的信息;An acquiring unit, configured to acquire information about the identifier of the UNI tunnel and the second state when the state of the UNI tunnel is changed from the first state to the second state;
    生成单元,用于生成所述UNI隧道状态通告消息,所述UNI隧道状态通告消息包括:UNI隧道状态通告标识、所述UNI隧道的标识和所述第二状态的信息,所述UNI隧道状态通告标识用于表示所述UNI隧道状态通告消息的类型为通告所述UNI隧道改变后的第二状态的信息;a generating unit, configured to generate the UNI tunnel status advertisement message, where the UNI tunnel status advertisement message includes: a UNI tunnel status advertisement identifier, an identifier of the UNI tunnel, and information about the second state, the UNI tunnel status advertisement And indicating that the type of the UNI tunnel status advertisement message is information for advertising the second state after the UNI tunnel is changed;
    发送单元,用于将所述UNI隧道状态通告消息发送至所述IP控制器。And a sending unit, configured to send the UNI tunnel status advertisement message to the IP controller.
  14. 根据权利要求13所述的光控制器,其特征在于, The light controller of claim 13 wherein:
    所述UNI隧道状态通告信息为路径计算通告PCNtf消息,所述PCNtf消息包括通告类型NT字段、通告值NV字段和选项Optional字段,所述NT字段携带有第一类型值。所述第一类型值指示所述PCNtf消息的类型为通告所述UNI隧道改变后的所述第二状态的信息,所述NV字段指示所述PCNtf消息通告的所述第二状态的信息,所述Optional字段携带有所述UNI隧道的标识。The UNI tunnel state advertisement information is a path calculation advertisement PCNtf message, where the PCNtf message includes an advertisement type NT field, an advertisement value NV field, and an option Optional field, where the NT field carries a first type value. The first type value indicates that the type of the PCNtf message is information for advertising the second state after the UNI tunnel is changed, and the NV field indicates information of the second state that is advertised by the PCNtf message. The Optional field carries the identifier of the UNI tunnel.
  15. 根据权利要求14所述的光控制器,其特征在于,The light controller of claim 14 wherein:
    所述Optional字段包括类型Type、长度Length和值value,所述Type携带有第二类型值,所述第二类型值指示所述Optional字段的类型为表征所述UNI隧道的标识,所述Length指示所述Optional字段的长度,所述value指示所述UNI隧道的标识,所述value包括所述UNI隧道的源地址IPv4 Tunnel Sender Address,标签交换路径LSP ID,隧道Tunnel ID,扩展隧道Extended Tunnel ID以及目的地址IPv4 Tunnel Endpoint Address。The Optional field includes a type Type, a length length, and a value value, where the Type carries a second type value, and the second type value indicates that the type of the Optional field is an identifier that represents the UNI tunnel, and the Length indication The length of the Optional field, the value indicating the identifier of the UNI tunnel, the value including the source address of the UNI tunnel, the IPv4 Tunnel Sender Address, the label switching path LSP ID, the tunnel tunnel ID, the extended tunnel Extended Tunnel ID, and Destination address IPv4 Tunnel Endpoint Address.
  16. 根据权利要求13-15任意一项所述的光控制器,其特征在于,所述获取单元包括:The light controller according to any one of claims 13-15, wherein the obtaining unit comprises:
    接收子单元,用于接收第一光网络设备发送的所述第一光网络设备与第二光网络设备的连接变化信息;a receiving subunit, configured to receive connection change information of the first optical network device and the second optical network device sent by the first optical network device;
    信息获取子单元,用于根据所述连接变化信息获得所述第一光网络设备与第二光网络设备之间建立的所述UNI隧道的标识,以及所述UNI隧道从所述第一状态改变为所述第二状态后的所述第二状态的信息。An information acquiring subunit, configured to obtain, according to the connection change information, an identifier of the UNI tunnel established between the first optical network device and a second optical network device, and the UNI tunnel changes from the first state The information of the second state after the second state.
  17. 一种获得用户网络侧接口UNI隧道状态的系统,其特征在于,所述系统包括:A system for obtaining a state of a UNI tunnel of a user network side interface, the system comprising:
    权利要求9-12任意一项所述的请求UNI隧道状态的网际互联协议IP控制器,以及权利要求13-16任意一项所述的通告UNI隧道状态的光控制器。 The Internet Protocol IP controller for requesting a UNI tunnel state according to any one of claims 9 to 12, and the optical controller for announcing the UNI tunnel state according to any one of claims 13-16.
PCT/CN2016/084141 2015-06-09 2016-05-31 Method, apparatus and system for announcing uni tunnel state WO2016197836A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510313946.8A CN105162705B (en) 2015-06-09 2015-06-09 A kind of method, apparatus and system of notice UNI tunnel states
CN201510313946.8 2015-06-09

Publications (1)

Publication Number Publication Date
WO2016197836A1 true WO2016197836A1 (en) 2016-12-15

Family

ID=54803464

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084141 WO2016197836A1 (en) 2015-06-09 2016-05-31 Method, apparatus and system for announcing uni tunnel state

Country Status (2)

Country Link
CN (1) CN105162705B (en)
WO (1) WO2016197836A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162705B (en) * 2015-06-09 2018-09-21 华为技术有限公司 A kind of method, apparatus and system of notice UNI tunnel states
CN105764106B (en) 2016-02-03 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of update method of transmission path, terminal and system
CN109005473B (en) * 2017-06-07 2021-08-03 中兴通讯股份有限公司 Method, device and system for cooperatively selecting path

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026524A (en) * 2006-02-17 2007-08-29 三星电子株式会社 Method and apparatus for providing state information of digital device in home network
CN102006229A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Processing method, device and system of link state
WO2013189381A2 (en) * 2013-02-18 2013-12-27 中兴通讯股份有限公司 Link detection method and device for passive optical network
CN103491002A (en) * 2013-08-19 2014-01-01 北京华为数字技术有限公司 Method and system for obtaining link cost value of IP link
CN105162705A (en) * 2015-06-09 2015-12-16 华为技术有限公司 Method, device and system for annunciating state of UNI (User Network Interface) tunnel

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100343827C (en) * 2003-07-28 2007-10-17 华为技术有限公司 Service medium access control address convergence method for special virtual network based on secondary layer
CN101330448B (en) * 2007-06-21 2010-12-08 华为技术有限公司 Method and apparatus for announcing link state information and determining multicast forwarding path
US8165015B1 (en) * 2007-12-21 2012-04-24 World Wide Packets, Inc. Modifying a rate based on at least one performance characteristic
US7894462B2 (en) * 2008-12-29 2011-02-22 At&T Intellectual Property I, L.P. Boundary routers providing redistribution and related backbone networks, computer program products, and methods
CN103905284B (en) * 2012-12-27 2018-04-06 新华三技术有限公司 A kind of flow load sharing method and apparatus based on EVI networks
CN103490968B (en) * 2013-09-16 2017-02-15 杭州华三通信技术有限公司 Method and device for interconnecting across data centers in FCoE network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026524A (en) * 2006-02-17 2007-08-29 三星电子株式会社 Method and apparatus for providing state information of digital device in home network
CN102006229A (en) * 2010-11-24 2011-04-06 中兴通讯股份有限公司 Processing method, device and system of link state
WO2013189381A2 (en) * 2013-02-18 2013-12-27 中兴通讯股份有限公司 Link detection method and device for passive optical network
CN103491002A (en) * 2013-08-19 2014-01-01 北京华为数字技术有限公司 Method and system for obtaining link cost value of IP link
CN105162705A (en) * 2015-06-09 2015-12-16 华为技术有限公司 Method, device and system for annunciating state of UNI (User Network Interface) tunnel

Also Published As

Publication number Publication date
CN105162705B (en) 2018-09-21
CN105162705A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US20160006614A1 (en) Source Routing Using Path Computation Elements
JP5992602B2 (en) System and method for using label distribution protocol (LDP) in IPv6 networks
US20180241671A1 (en) System and method to facilitate content delivery to multiple recipients in a network environment
WO2016177087A1 (en) Bier packet transmission method and device
WO2018228490A1 (en) Multicast domain crossing method, device and system and computer readable storage medium
US8718062B2 (en) Method, device and system for establishing pseudo wire
US11588725B2 (en) Method and apparatus for path computation
WO2018214809A1 (en) Message transmission method and device, and storage medium
CN110661712B (en) Supporting multicast over a network domain
US11025689B1 (en) Multicast support
WO2018010658A1 (en) Information transfer method and apparatus in bit indexed explicit replication
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
BR112015013723B1 (en) SYSTEM AND METHOD FOR OPTIMIZING THE DISTRIBUTION OF LIVE CONTENT FROM A CONTENT DISTRIBUTION NETWORK; AND LIVE BROADCAST OPTIMIZER SERVER (LISTO) FOR IDEAL DISTRIBUTION OF LIVE MEDIA CONTENT
WO2016197836A1 (en) Method, apparatus and system for announcing uni tunnel state
WO2018077304A1 (en) Service information processing method, apparatus and system
US11811546B2 (en) Selective multicast ethernet tag extension for optimal source driven multicast forwarding
US11611447B2 (en) Multicast (P2MP) support for path computation element central controller (PCECC)
US11784838B2 (en) Multicast based on penultimate hop popping
TW202249466A (en) System and method for performing pfcp session load balancer
US11616715B2 (en) Stateless multicast with traffic engineering
WO2020021558A1 (en) Methods, apparatus and machine-readable media relating to path computation in a communication network
US20230336471A1 (en) Methods, apparatus and system for creating sr policy using path computation element protocol
US20230353484A1 (en) PCE for BIER-TE Path
WO2017059709A1 (en) Capability negotiation method and device
WO2023173989A1 (en) Forwarding table generation method and apparatus, and storage medium and electronic apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1