WO2017088494A1 - 一种链路管理方法及装置 - Google Patents

一种链路管理方法及装置 Download PDF

Info

Publication number
WO2017088494A1
WO2017088494A1 PCT/CN2016/089456 CN2016089456W WO2017088494A1 WO 2017088494 A1 WO2017088494 A1 WO 2017088494A1 CN 2016089456 W CN2016089456 W CN 2016089456W WO 2017088494 A1 WO2017088494 A1 WO 2017088494A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
node
attribute information
information
port
Prior art date
Application number
PCT/CN2016/089456
Other languages
English (en)
French (fr)
Inventor
王其磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017088494A1 publication Critical patent/WO2017088494A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements

Definitions

  • the embodiments of the present invention relate to, but are not limited to, communication technologies, and in particular, to a link management method and apparatus.
  • Flexible Ethernet With the development of communication technology, a new transmission technology called Flexible Ethernet (FlexE) is developing.
  • Flexible Ethernet FlexE
  • Flexible Ethernet can implement multiple transmission methods. For example, the first one bundles multiple Ethernet physical layer (PHY) signals, for example, by binding two 100GBASE-R PHYs to carry a 200G media access. Control (MAC, Media Access Control) signal.
  • PHY physical layer
  • Control MAC, Media Access Control
  • the Ethernet PHY signal carries a sub-rate signal, such as a 100GBASE-R PHY, to carry a 50G signal.
  • a channelization within a PHY signal or a set of bound PHY signals for example, supporting transmission of one 150G signal and two 25G signals on three bonded 100GBASE-R PHYs.
  • the link attribute is considered when establishing the path, and the first node in the related technology cannot automatically acquire the link attribute with the second node, so that the path establishment is likely to be caused. Success, so that data can not be transferred, resulting in less efficient data transmission of flexible Ethernet.
  • the embodiment of the invention provides a link management method and device, which can improve the data transmission efficiency of the flexible Ethernet.
  • an embodiment of the present invention provides a link management method, including:
  • the first node acquires link attribute information, where the link attribute information includes unavailable time slot information on the first link port connected to the first node, where the first link port includes a second connection with the first node The connection port of the node;
  • the first node determines an unavailable time slot of the first link port on the link according to the obtained link attribute information.
  • the acquiring, by the first node, the link attribute information includes:
  • the first node receives first link digest response information from the second node; wherein the first link digest response information carries at least first attribute information including information of an unavailable time slot of the first link port .
  • the method before the first node receives the first link digest response information sent by the second node, the method further includes:
  • link summary information carries the second attribute information, where the second attribute information includes that the second link port connected to the first node is unavailable.
  • the second link port comprising a connection port of the first node.
  • the method further includes:
  • the first node sends a second link digest response information to the second node, where the second link digest response information carries the first attribute information and the second attribute information.
  • the first attribute information is carried in a link summary message of a link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • the embodiment of the invention further provides a link management method, including:
  • the second node determines link attribute information, where the link attribute information includes unavailable time slot information on the first link port connected to the first node, where the first link port includes a connection port of the second node, The second node is connected to the first node;
  • the second node transmits the determined link attribute information to the first node.
  • the method before the sending, by the second node, the link attribute information to the first node, the method further includes:
  • the second node receives the link summary information sent by the first node, where the link summary information carries the second attribute information, the second attribute information includes the information of the unavailable time slot of the second link port, and the second The link port includes a connection port of the first node;
  • the second node determines an unavailable time slot of the second link port according to the received link summary information.
  • the method further includes:
  • the second node receives the second link digest response information sent by the first node, where the second link digest response information carries the first attribute information and the second attribute information.
  • the first attribute information is carried in a link summary message of a link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • an embodiment of the present invention further provides a link management apparatus, including:
  • An acquiring module configured to obtain link attribute information, where the link attribute information includes unavailable time slot information on a first link port connected to the first node where the first link is located, and the first link port includes a connection port of the second node The second node is connected to the first node;
  • the determining module is configured to determine an unavailable time slot of the first link port on the link according to the obtained link attribute information.
  • the acquiring module is specifically configured to: receive the first link digest response information from the second node, where the first link digest response information carries at least the first attribute information, where the first attribute information includes Information of the unavailable time slots of the first link port.
  • the method further includes: a sending module, configured to send link summary information to the second node, where the link summary information carries second attribute information, where the second attribute information includes a first connection with the first node The information of the unavailable time slot of the two link port, and the second link port includes the connection port of the first node.
  • a sending module configured to send link summary information to the second node, where the link summary information carries second attribute information, where the second attribute information includes a first connection with the first node The information of the unavailable time slot of the two link port, and the second link port includes the connection port of the first node.
  • the sending module is further configured to: send the second link digest response information to the second node, where the second link digest response information carries the first attribute information and the second attribute information .
  • the first attribute information is carried in a link summary message of a link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • the embodiment of the present invention further provides a link management apparatus, including:
  • a determining module configured to determine link attribute information, where the link attribute information includes unavailable time slot information on a first link port connected to the first node, where the first link port includes a connection port of the second node where the first link port is located The second node is connected to the first node;
  • a sending module configured to send the link attribute information to the first node.
  • the method further includes: a receiving module, configured to:
  • the link summary information carries the second attribute information
  • the second attribute information includes information of the unavailable time slot of the second link port
  • the second link port includes the The connection port of the first node
  • the determining module is further configured to: determine an unavailable time slot of the second link port according to the link summary information.
  • the receiving module is further configured to: receive the second link digest response information sent by the first node, where the second link digest response information carries the first attribute information and the second attribute information.
  • the first attribute information is carried in a link summary message of a link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing any of the above link management methods.
  • the embodiment of the present invention includes the first node acquiring link attribute information, where the link attribute information includes: unavailable time slot information on the first link port connected to the first node, where the first link port includes a connection port of the second node connected to the first node, the second node is connected to the first node; the first node determines the link on the link according to the link attribute information Unavailable time slot of the first link port.
  • the available resources at both ends of the FlexE link are negotiated between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.
  • FIG. 1 is a schematic flowchart of an embodiment of a link management method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a flexible Ethernet unavailable time slot sub-object according to an embodiment of a link management method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a link management method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a second embodiment of a link management method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a link management apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a link management apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a link management apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a fourth embodiment of a link management apparatus according to an embodiment of the present invention.
  • the link management method provided in this embodiment of the present invention may be applied to a link in which a first node acquires a link attribute in a flexible Ethernet, where the link may be a link directly or indirectly connected to the first node.
  • the link management method provided by the embodiment of the present invention may be specifically implemented by a link management apparatus, where the link management apparatus may be integrated in a node in a flexible Ethernet, or may be separately set, wherein the link management apparatus may adopt software. And / or hardware to achieve.
  • the link management method and apparatus provided in the embodiments of the present invention are described in detail below.
  • FIG. 1 is a schematic flowchart of a link management method according to an embodiment of the present invention. As shown in FIG.
  • Step 101 The first node acquires link attribute information.
  • the link attribute information includes: unavailable time slot information on the first link port connected to the first node; wherein, the first link port includes: a connection port of the second node, and the second node is The first node is connected, that is, the second node may be a node adjacent to the first node, Alternatively, the second node may be a node that is indirectly connected to the first node.
  • Step 102 The first node determines, according to the obtained link attribute information, an unavailable time slot of the first link port on the link.
  • the first link port refers to a port connected to the first node at the other end of the link, and the first node can determine the unavailable time slot information on the link according to the attribute of the other end port of the link.
  • the first node determines the unavailable time slot on the link according to the link attribute information, such as the unavailable time slot information on the link connected to the first node.
  • the embodiments of the present invention implement the negotiation of the available resources at the two ends of the FlexE link between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.
  • the first node in the foregoing step 101 obtains link attribute information, including:
  • the first node receives the first link digest response information sent by the second node, where the first link digest response information carries at least the first attribute information, where the first attribute information includes the information of the unavailable time slot of the first link port, that is, the chain Road attribute information.
  • the first link digest response information may include link summary veto information (LinkSummaryNAck message), and the link digest veto information carries at least the first attribute information, where the first attribute information includes when the first link port is unavailable. Information on the gap.
  • the first link digest response information may include link digest acknowledgement information, and the link digest dormant information carries at least first attribute information, where the first attribute information includes information of an unavailable time slot of the first link port.
  • the method further includes:
  • the first node sends a link summary information (LinkSummary message) to the second node, where the link summary information carries the second attribute information, where the second attribute information includes information about the unavailable time slot of the second link port connected to the first node.
  • the second link port includes a connection port of the first node.
  • the method further includes:
  • the first node sends the second link digest response information to the second node, where the second link digest response information carries the first attribute information and the second attribute information.
  • FIG. 2 is a schematic structural diagram of a flexible Ethernet unavailable time slot sub-object according to an embodiment of a link management method according to an embodiment of the present invention.
  • the first attribute information is carried in a flexible Ethernet.
  • the time slot sub-object is used; the second attribute information is carried in the flexible Ethernet unusable time slot sub-object.
  • flexible Ethernet can not use the time slot sub-objects including: type, length and unusable time slot identification.
  • the type is used to identify the information of the unavailable time slot
  • the length includes the length of the flexible Ethernet unusable time slot sub-object
  • the non-use time slot identifier is set to 1 at the corresponding position of the unusable time slot.
  • FIG. 3 is a schematic structural diagram of an embodiment of a link management method according to an embodiment of the present invention; as shown in FIG. 3, the link management protocol of this embodiment performs port 21 of node 1 (Node 1) and port 31 of Node 2 The case of between unavailable time slots.
  • the unavailable slot on the port 21 of the Node 1 is the slot 1 and the slot 3
  • the unavailable slot on the port 31 of the Node 2 is the slot 14 and the slot 18, then,
  • the Node 1 sends a Link Summary message to the Node 2, and the message carries a FlexE unavailable slot sub-object, indicating that the unavailable slot of the port 21 of the Node 1 is the slot 1 and the slot 3.
  • the encoding of the FlexE unavailable slot sub-object is to set the slot 1 and slot 3 identification positions to 1, and all other flag bits are set to 0;
  • the Node 2 determines that the unavailable state of the slot 1 and the slot 3 is acceptable by checking the unavailable slot of the FlexE unavailable slot sub-object, but the available states of the slot 14 and the slot 18 are available. It is unacceptable, so Node 2 sends a Link Summary NAck message to Node 1, which carries the FlexE unavailable slot sub-object, which clearly indicates that the status of some slots needs to be renegotiated, where the sub-object's slot 1
  • the four identification positions of the time slot 3, the time slot 14, and the time slot 18 are 1, indicating that the four time slots are in an unavailable state.
  • the Node 1 receives the four identified locations of the slot 1, the slot 3, the slot 14, and the slot 18 by checking the status of the identifier of the FlexE unavailable slot sub-object in the Link Summary NAck message sent by the Node 2. It is acceptable that the four timeslots are unavailable.
  • Node 1 sends a second link digest response message, that is, Link Summary Ack information to the Node 2 node, Link.
  • the FlexE unavailable slot sub-object carried in the summary Ack message in which the four identification positions of the time slot 1, the time slot 3, the time slot 14, and the time slot 18 are 1, thus completing the negotiation of the unavailable slot status at both ends of the link.
  • FIG. 4 is a schematic flowchart of a second embodiment of a link management method according to an embodiment of the present invention, as shown in FIG. 4 Show, including:
  • Step 401 The second node determines link attribute information.
  • the link attribute information includes unavailable time slot information on a first link port connected to the first node, the first link port includes a connection port of the second node, and the second node is first Node connection
  • Step 402 The second node sends link attribute information to the first node.
  • the embodiments of the present invention implement the negotiation of the available resources at the two ends of the FlexE link between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.
  • the method further includes:
  • the second node receives the link summary information sent by the first node, the link summary information carries the second attribute information, the second attribute information includes the information of the unavailable time slot of the second link port, and the second link port includes the first The connection port of the node;
  • the second node determines an unusable time slot of the second link port according to the link summary information.
  • the method further includes:
  • the second node receives the second link digest response information sent by the first node, where the second link digest response information carries the first attribute information and the second attribute information.
  • the first attribute information is carried in a link summary message of the link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • FIG. 5 is a schematic structural diagram of an embodiment of a link management apparatus according to an embodiment of the present invention.
  • the link management apparatus provided by the present invention includes: an obtaining module 51 and a determining module 52. among them,
  • the obtaining module 51 is configured to obtain link attribute information, where the link attribute information includes unavailable time slot information on the first link port connected to the first node where the obtaining module 51 is located, where the first link port includes the first link port a connection port of a second node connected by a node;
  • the determining module 52 is configured to determine an unavailable time slot of the first link port on the link according to the obtained link attribute information.
  • the embodiments of the present invention implement the negotiation of the available resources at the two ends of the FlexE link between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.
  • the acquiring module 51 is specifically configured to receive the first link digest response information sent by the second node, where the first link digest response information carries at least the first attribute information, where the first attribute information includes a second connection with the second node.
  • the information of the unavailable time slot of a link port is link attribute information.
  • Figure 6 is a schematic structural diagram of a second embodiment of a link management apparatus according to an embodiment of the present invention.
  • the link management apparatus provided by the present invention may further include: a sending module 53;
  • the sending module 53 is configured to send link summary information to the second node, where the link summary information carries the second attribute information, where the second attribute information includes an unavailable time slot of the second link port connected to the first node where the first node is located.
  • the second link port includes a connection port of the first node where it is located.
  • the sending module 53 is further configured to send the second link digest response information to the second node, where the second link digest response information carries the first attribute information and the second attribute information.
  • the first attribute information is carried in a link summary message of the link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a link management apparatus according to an embodiment of the present invention. As shown in FIG. 7, the method includes: a determining module 71 and a sending module 72. among them,
  • the determining module 71 is configured to determine link attribute information, where the link attribute information includes unavailable time slot information on the first link port connected to the first node, where the first link port includes a connection of the second node where the determining module 71 is located a port, where the second node of the determining module 71 is connected to the first node;
  • the sending module 72 is configured to send link attribute information to the first node.
  • the embodiments of the present invention implement the negotiation of the available resources at the two ends of the FlexE link between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.
  • Figure 8 is a schematic structural diagram of a fourth embodiment of a link management apparatus according to an embodiment of the present invention.
  • the link management apparatus provided by the present invention may further include: a receiving module 73;
  • the receiving module 73 is configured to receive the link summary information sent by the first node, where the link summary information carries the second attribute information, where the second attribute information includes information about the unavailable time slot of the second link port connected to the first node.
  • the second link port includes a connection port of the first node;
  • the determining module 71 is further configured to determine an unusable time slot of the second link port according to the link summary information.
  • the receiving module 73 is further configured to receive the second link digest response information sent by the first node, where the second link digest response information carries the first attribute information and the second attribute. information.
  • the first attribute information is carried in a link summary message of the link management protocol
  • the second attribute information is carried in a link summary message of the link management protocol.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the link management method and apparatus provided by the embodiments of the present invention implement the negotiation of the available resources at both ends of the FlexE link between the first node and the second node, thereby improving the data transmission efficiency of the flexible Ethernet.

Landscapes

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

Abstract

一种链路管理方法及装置。该链路管理方法,包括:在本发明实施例中,第一节点获取链路属性信息,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括与第一节点连接的第二节点的连接端口,第二节点与第一节点连接;第一节点根据所述链路属性信息,确定链路上所述第一链路端口的不可用时隙。通过本发明实施例提供的技术方案实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。

Description

一种链路管理方法及装置 技术领域
本发明实施例涉及但不限于通信技术,尤指一种链路管理方法及装置。
背景技术
随着通信技术的发展,一种新的传送技术即灵活以太网(FlexE)正在发展。
灵活以太网可以实现多种传输方式,举例来讲,第一种,将多个以太网物理层(PHY)信号进行捆绑,例如,通过将两个100GBASE-R PHYs绑定起来承载一个200G介质访问控制(MAC,Media Access Control)信号。或者,第二种,以太网PHY信号承载子速率信号,例如,100GBASE-R PHY来承载50G的信号。或者,第三种,一个PHY信号内部的通道化或者一组绑定起来的PHY信号,例如,支持在三个绑定的100GBASE-R PHYs上传输一个150G信号和两个25G信号。
然而,灵活以太网在实现过程中,建立路径的时候会考虑链路属性,而相关技术中第一节点无法自动获取与第二节点之间的链路属性,这样,很有可能导致路径建立不成功,这样就传递不了数据,从而导致灵活以太网的数据传输效率较低。
发明内容
本发明实施例提供了一种链路管理方法及装置,能够提高灵活以太网的数据传输效率。
一方面,本发明实施例提供了一种链路管理方法,包括:
第一节点获取链路属性信息,链路属性信息包括与所述第一节点连接的第一链路端口上的不可用时隙信息,其中,第一链路端口包括与第一节点连接的第二节点的连接端口;
第一节点根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
可选地,所述第一节点获取链路属性信息包括:
所述第一节点接收来自所述第二节点的第一链路摘要响应信息;其中,第一链路摘要响应信息至少携带包括第一链路端口的不可使用时隙的信息的第一属性信息。
可选地,所述第一节点接收所述第二节点发送的第一链路摘要响应信息之前,还包括:
所述第一节点向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。
可选地,所述第一节点获得链路属性信息之后,所述第一节点确定链路上第一链路端口的不可用时隙之前,还包括:
所述第一节点向所述第二节点发送第二链路摘要响应信息,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;
所述第二属性信息携带在链路管理协议的链路摘要消息中。
本发明实施例还提供了一种链路管理方法,包括:
第二节点确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,所述第一链路端口包括第二节点的连接端口,第二节点与第一节点连接;
第二节点向第一节点发送确定的链路属性信息。
可选地,所述第二节点向所述第一节点发送所述链路属性信息之前,还包括:
所述第二节点接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;
所述第二节点根据接收到的链路摘要信息,确定第二链路端口的不可使用时隙。
可选地,所述第二节点向第一节点发送所述链路属性信息之后,还包括:
所述第二节点接收所述第一节点发送的第二链路摘要响应信息,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;
所述第二属性信息携带在链路管理协议的链路摘要消息中。
又一方面,本发明实施例还提供了一种链路管理装置,包括:
获取模块,设置为获取链路属性信息,其中,链路属性信息包括与自身所在第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括第二节点的连接端口,第二节点与所述第一节点连接;
确定模块,设置为根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
可选地,所述获取模块,具体设置为:接收来自所述第二节点的第一链路摘要响应信息,其中,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括所述第一链路端口的不可使用时隙的信息。
可选地,还包括:发送模块,设置为向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。
可选地,所述发送模块还设置为:向所述第二节点发送第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;
所述第二属性信息携带在链路管理协议的链路摘要消息中。
再一方面,本发明实施例再提供了一种链路管理装置,包括:
确定模块,设置为确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括自身所在第二节点的连接端口,第二节点与所述第一节点连接;
发送模块,设置为向第一节点发送所述链路属性信息。
可选地,还包括:接收模块,设置为:
接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;
所述确定模块还设置为:根据链路摘要信息,确定第二链路端口的不可使用时隙。
可选地,所述接收模块还设置为:接收所述第一节点发送的第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;
所述第二属性信息携带在链路管理协议的链路摘要消息中。
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一链路管理方法。
本发明实施例包括第一节点获取链路属性信息,所述链路属性信息包括:与所述第一节点连接的第一链路端口上的不可用时隙信息,所述第一链路端口包括:与所述第一节点连接的第二节点的连接端口,所述第二节点与所述第一节点连接;所述第一节点根据所述链路属性信息,确定所述链路上所述第一链路端口的不可用时隙。从而实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部 分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。
图1为本发明实施例中链路管理方法一实施例的流程示意图;
图2为本发明实施例中链路管理方法一实施例的灵活以太网不可使用时隙子对象的结构示意图;
图3为本发明实施例中链路管理方法一实施例的结构示意图;
图4为本发明实施例中链路管理方法二实施例的流程示意图;
图5为本发明实施例中链路管理装置一实施例的结构示意图;
图6为本发明实施例中链路管理装置二实施例的结构示意图;
图7为本发明实施例中链路管理装置三实施例的结构示意图;
图8为本发明实施例中链路管理装置四实施例的结构示意图。
本发明的较佳实施方式
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
本发明实施例提供的链路管理方法可以应用于灵活以太网中第一节点获取链路属性时,其中,该链路可以是与第一节点直接连接或间接连接的链路。本发明实施例提供的链路管理方法具体可以通过链路管理装置来执行,该链路管理装置可以集成在灵活以太网中的节点中,或者单独设置,其中,该链路管理装置可以采用软件和/或硬件的方式来实现。以下对本发明实施例提供的链路管理方法及装置进行详细地说明。
图1为本发明实施例中链路管理方法一实施例的流程示意图,如图1所示,包括:
步骤101、第一节点获取链路属性信息。
在本实施例中,链路属性信息包括:与第一节点连接的第一链路端口上的不可用时隙信息;其中,第一链路端口包括:第二节点的连接端口,第二节点与第一节点连接,也就是说,第二节点可以是与第一节点相邻的节点, 或者,第二节点可以是与第一节点间接连接的节点。
步骤102、第一节点根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
第一链路端口是指与第一节点连接的、在链路另外一端的端口,第一节点根据链路另外一端端口的属性,能够确定链路上的不可用时隙信息。
具体的,第一节点根据链路属性信息,如,与第一节点连接的链路上的不可用时隙信息,确定该链路上的不可用时隙。
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。
上述步骤101中的第一节点获取链路属性信息,包括:
第一节点接收第二节点发送的第一链路摘要响应信息,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括第一链路端口的不可使用时隙的信息即链路属性信息。
具体的,第一链路摘要响应信息可以包括链路摘要否决信息(LinkSummaryNAck消息),链路摘要否决信息至少携带第一属性信息,所述第一属性信息包括第一链路端口的不可使用时隙的信息。或者,第一链路摘要响应信息可以包括链路摘要确认信息,链路摘要否决信息至少携带第一属性信息,所述第一属性信息包括第一链路端口的不可使用时隙的信息。
进一步的,第一节点接收第二节点发送的第一链路摘要响应信息之前,还包括:
第一节点向第二节点发送链路摘要信息(LinkSummary消息),链路摘要信息携带第二属性信息,第二属性信息包括与第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括第一节点的连接端口。
进一步的,第一节点获得链路属性信息之后,步骤102之前,还包括:
第一节点向第二节点发送第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和第二属性信息。
图2为本发明实施例中链路管理方法一实施例的灵活以太网不可使用时隙子对象的结构示意图,如图2所示,第一属性信息携带在灵活以太网不可 使用时隙子对象中;第二属性信息携带在灵活以太网不可使用时隙子对象中。
其中,灵活以太网不可使用时隙子对象包括:类型、长度和不可使用时隙标识。类型用以标识不可使用时隙的信息,长度包括该灵活以太网不可使用时隙子对象的长度,不可使用时隙标识在不可使用时隙的对应位置设置为1。
图3为本发明实施例中链路管理方法一实施例的结构示意图;如图3所示,本实施例的链路管理协议进行协商节点1(Node 1)的端口21和Node 2的端口31之间的不可用时隙的情况。本实施例中,假设Node 1的端口21上不可用时隙(unavailable slot)为时隙1和时隙3,Node 2的端口31上的unavailable slot的为时隙14和时隙18,那么,
首先,Node 1发送链路摘要信息(Link Summary)消息给Node 2,消息中携带不可用时隙(FlexE unavailable slot)子对象,指示Node 1的端口21的unavailable slot为时隙1和时隙3,此时的FlexE unavailable slot子对象的编码是将时隙1和时隙3标识位置为1,其他标识位全都置为0;
然后,Node 2在接收到Link Summary消息后,通过查看FlexE unavailable slot子对象的unavailable slot,确定时隙1和时隙3的unavailable状态是可以接受的,但是时隙14和时隙18的可用状态是不能接受的,所以Node 2发送链路摘要否决(Link Summary NAck)信息给Node 1,携带FlexE unavailable slot子对象,明确表示有些时隙的状态是需要重新协商的,其中子对象的时隙1、时隙3、时隙14、时隙18四个标识位置为1,表示这四个时隙是unavailable的状态。
这样,Node 1在接收到Node 2发送回来的Link Summary NAck消息中,通过查看FlexE unavailable slot子对象的标识位情况,确定时隙1、时隙3、时隙14、时隙18四个标识位置为1,也即这四个时隙为unavailable状态是可以接受的,这时候Node 1就发送一个第二链路摘要响应信息,即链路摘要确认(Link Summary Ack)信息给Node 2节点,Link Summary Ack消息中携带的FlexE unavailable slot子对象,其中时隙1、时隙3、时隙14、时隙18四个标识位置为1,这样就完成了链路两端unavailable slot状况的协商。
图4为本发明实施例中链路管理方法二实施例的流程示意图,如图4所 示,包括:
步骤401、第二节点确定链路属性信息。
在本实施例中,所述链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括第二节点的连接端口,第二节点与第一节点连接;
步骤402、第二节点向第一节点发送链路属性信息。
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。
上述第二节点向第一节点发送链路属性信息之前,还包括:
第二节点接收第一节点发送的链路摘要信息,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括第一节点的连接端口;
第二节点根据所述链路摘要信息,确定第二链路端口的不可使用时隙。
进一步的,第二节点向第一节点发送链路属性信息之后,还包括:
第二节点接收第一节点发送的第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和第二属性信息。
进一步的,第一属性信息携带在链路管理协议的链路摘要消息中;
第二属性信息携带在链路管理协议的链路摘要消息中。
图5为本发明实施例中链路管理装置一实施例的结构示意图,如图5所示,本发明提供的链路管理装置,包括:获取模块51和确定模块52。其中,
获取模块51,设置为获取链路属性信息,链路属性信息包括与获取模块51自身所在第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括与自身所在第一节点连接的第二节点的连接端口;
确定模块52,设置为根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。
其中,获取模块51,具体设置为接收来自第二节点发送的第一链路摘要响应信息,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括与第二节点连接的第一链路端口的不可使用时隙的信息即链路属性信息。
图6为本发明实施例链路管理装置二实施例的结构示意图,如图6所示,本发明提供的链路管理装置,在上述实施例的基础上,还可以包括:发送模块53;
发送模块53,设置为向第二节点发送链路摘要信息,链路摘要信息携带第二属性信息,第二属性信息包括与自身所在第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括自身所在第一节点的连接端口。
进一步的,发送模块53,还设置为向第二节点发送第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和第二属性信息。
可选的,第一属性信息携带在链路管理协议的链路摘要消息中;
第二属性信息携带在链路管理协议的链路摘要消息中。
图7为本发明实施例中链路管理装置三实施例的结构示意图,如图7所示,包括:确定模块71和发送模块72。其中,
确定模块71,设置为确定链路属性信息,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括确定模块71所在第二节点的连接端口,确定模块71所在第二节点与第一节点连接;
发送模块72,设置为向第一节点发送链路属性信息。
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。
图8为本发明实施例中链路管理装置四实施例的结构示意图,如图8所示,本发明提供的链路管理装置,在上述实施例的基础上,还可以包括:接收模块73;
接收模块73,设置为接收第一节点发送的链路摘要信息,链路摘要信息携带第二属性信息,第二属性信息包括与第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;
确定模块71,还设置为根据链路摘要信息,确定第二链路端口的不可使用时隙。
进一步的,在上述实施例的基础上,接收模块73,还设置为接收第一节点发送的第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和所述第二属性信息。
可选的,第一属性信息携带在链路管理协议的链路摘要消息中;
第二属性信息携带在链路管理协议的链路摘要消息中。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例提出的链路管理方法及装置,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。

Claims (19)

  1. 一种链路管理方法,包括:
    第一节点获取链路属性信息,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,其中,第一链路端口包括与第一节点连接的第二节点的连接端口;
    第一节点根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
  2. 根据权利要求1所述的链路管理方法,其中,所述第一节点获取链路属性信息包括:
    所述第一节点接收来自所述第二节点的第一链路摘要响应信息;其中,第一链路摘要响应信息至少携带包括有所述第一链路端口的不可使用时隙的信息的第一属性信息。
  3. 根据权利要求2所述的链路管理方法,所述第一节点接收所述第二节点发送的第一链路摘要响应信息之前,还包括:
    所述第一节点向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,所二链路端口包括所述第一节点的连接端口。
  4. 根据权利要求3所述的链路管理方法,所述第一节点获得链路属性信息之后,所述第一节点确定链路上第一链路端口的不可用时隙之前,还包括:
    所述第一节点向所述第二节点发送第二链路摘要响应信息,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
  5. 根据权利要求2-4任一项所述的链路管理方法,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;
    所述第二属性信息携带在链路管理协议的链路摘要消息中。
  6. 一种链路管理方法,包括:
    第二节点确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,所述第一链路端口包括第二节点的连 接端口,第二节点与第一节点连接;
    第二节点向第一节点发送确定的链路属性信息。
  7. 根据权利要求6所述的链路管理方法,所述第二节点向所述第一节点发送所述链路属性信息之前,还包括:
    所述第二节点接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;
    所述第二节点根据接收到的链路摘要信息,确定第二链路端口的不可使用时隙。
  8. 根据权利要求7所述的链路管理方法,所述第二节点向第一节点发送所述链路属性信息之后,还包括:
    所述第二节点接收所述第一节点发送的第二链路摘要响应信息,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
  9. 根据权利要求7-8任一项所述的链路管理方法,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;
    所述第二属性信息携带在链路管理协议的链路摘要消息中。
  10. 一种链路管理装置,包括:
    获取模块,设置为获取链路属性信息,其中,链路属性信息包括与自身所在第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括第二节点的连接端口,第二节点与所述第一节点连接;
    确定模块,设置为根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。
  11. 根据权利要求10所述的链路管理装置,其中,所述获取模块,具体设置为:接收来自所述第二节点的第一链路摘要响应信息,其中,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括所述第一链路端口的不可使用时隙的信息。
  12. 根据权利要求11所述的链路管理装置,还包括:发送模块,设置为 向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。
  13. 根据权利要求12所述的链路管理装置,所述发送模块还设置为:向所述第二节点发送第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
  14. 根据权利要求11-13任一项所述的链路管理装置,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;
    所述第二属性信息携带在链路管理协议的链路摘要消息中。
  15. 一种链路管理装置,包括:
    确定模块,设置为确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括自身所在第二节点的连接端口,第二节点与所述第一节点连接;
    发送模块,设置为向第一节点发送所述链路属性信息。
  16. 根据权利要求15所述的链路管理装置,还包括:接收模块,设置为:
    接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;
    所述确定模块还设置为:根据链路摘要信息,确定第二链路端口的不可使用时隙。
  17. 根据权利要求15或16所述的链路管理装置,所述接收模块还设置为:接收所述第一节点发送的第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。
  18. 根据权利要求16-17任一项所述的链路管理装置,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;
    所述第二属性信息携带在链路管理协议的链路摘要消息中。
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机 可执行指令用于执行权1~权5任一项的链路管理方法,和/或所述计算机可执行指令用于执行权6~权9任一项的链路管理方法。
PCT/CN2016/089456 2015-11-26 2016-07-08 一种链路管理方法及装置 WO2017088494A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510843643.7 2015-11-26
CN201510843643.7A CN106803785A (zh) 2015-11-26 2015-11-26 一种链路管理方法及装置

Publications (1)

Publication Number Publication Date
WO2017088494A1 true WO2017088494A1 (zh) 2017-06-01

Family

ID=58763925

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089456 WO2017088494A1 (zh) 2015-11-26 2016-07-08 一种链路管理方法及装置

Country Status (2)

Country Link
CN (1) CN106803785A (zh)
WO (1) WO2017088494A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114337952A (zh) * 2020-09-30 2022-04-12 烽火通信科技股份有限公司 一种通信链路协商的方法和***

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019000241A1 (zh) * 2017-06-27 2019-01-03 华为技术有限公司 保护倒换方法、设备及***
CN109428840B (zh) 2017-08-31 2022-05-06 华为技术有限公司 一种通信方法、设备及存储介质
CN109672513B (zh) * 2017-10-16 2021-10-22 华为技术有限公司 传输路径配置方法、装置及设备
WO2019119388A1 (en) * 2017-12-22 2019-06-27 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for configuring a flex ethernet node
CN109995588B (zh) * 2019-03-29 2020-07-07 烽火通信科技股份有限公司 一种灵活以太网链路管理方法及***
CN113595670A (zh) * 2020-04-30 2021-11-02 中兴通讯股份有限公司 业务接口的创建方法、装置、***、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859371A (zh) * 2005-10-28 2006-11-08 华为技术有限公司 一种流量工程链路时隙状态一致性校验方法
CN101686186A (zh) * 2008-09-22 2010-03-31 华为技术有限公司 一种检测链路标签状态的方法、设备与***
CN102857835A (zh) * 2011-06-29 2013-01-02 中兴通讯股份有限公司 灵活栅格光网络节点及节点间的链路属性校验方法
US20140314400A1 (en) * 2013-04-18 2014-10-23 Electronics And Telecommunications Research Institute Multi-layer link management device, multi-layer integrated network transport system, and multi-layer link management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859371A (zh) * 2005-10-28 2006-11-08 华为技术有限公司 一种流量工程链路时隙状态一致性校验方法
CN101686186A (zh) * 2008-09-22 2010-03-31 华为技术有限公司 一种检测链路标签状态的方法、设备与***
CN102857835A (zh) * 2011-06-29 2013-01-02 中兴通讯股份有限公司 灵活栅格光网络节点及节点间的链路属性校验方法
US20140314400A1 (en) * 2013-04-18 2014-10-23 Electronics And Telecommunications Research Institute Multi-layer link management device, multi-layer integrated network transport system, and multi-layer link management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LI, D. ET AL.: "Data Channel Status Confirmation Extensions for the Link Management Protocol", INTERNET ENGINEERING TASK FORCE (IETF), REQUEST FOR COMMENTS, vol. 5818, 30 April 2010 (2010-04-30), XP055598151 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114337952A (zh) * 2020-09-30 2022-04-12 烽火通信科技股份有限公司 一种通信链路协商的方法和***
CN114337952B (zh) * 2020-09-30 2023-06-09 烽火通信科技股份有限公司 一种通信链路协商的方法和***

Also Published As

Publication number Publication date
CN106803785A (zh) 2017-06-06

Similar Documents

Publication Publication Date Title
WO2017088494A1 (zh) 一种链路管理方法及装置
US11012261B2 (en) Associating VXLANs with tunnels
WO2018014876A1 (zh) 一种传输数据流的无线承载处理方法及装置
EP2751963A1 (en) Topology discovery in a hybrid network
CN113056898B (zh) 获取密钥的方法、装置及密钥管理***
WO2018210225A1 (zh) 一种自动实现ioam封装的方法及装置、存储介质
CN107547619B (zh) 一种定时器参数协商方法和装置
KR20160044565A (ko) 무선 환경에서의 이중 역할 처리를 위한 방법 및 시스템
WO2015003378A1 (zh) 改变小区状态的方法、用户设备及基站
JP2010536290A5 (zh)
CN102821082A (zh) 一种数据传输方法、装置和***
CN110324193A (zh) 一种终端升级管理方法及装置
EP2621133A1 (en) Method and system for implementing pw control bit capability negotiation
CN103731424B (zh) 一种网络数据的传输方法、装置及***
WO2012071937A1 (zh) Mlppp动态绑定方法、***和通信端
CN107528788B (zh) 实现网络设备之间自动堆叠的方法和装置
US20170310561A1 (en) Network Control Method and Apparatus
WO2014187241A1 (zh) 控制无线网络直连群组中无线设备断开的方法及无线设备
WO2019179376A1 (zh) 一种端口模式的切换方法及其相关设备
CN104247482A (zh) 实现在wlan中的通信的方法和***
CN102651777A (zh) 链路建立方法和设备
CN107666671B (zh) 基于twamp的错误连接检测的方法及装置
CN107360594B (zh) 一种信息处理方法及装置
WO2017206460A1 (zh) 最大传输单元值的设置方法及装置、设备
US7613127B2 (en) Verifying packets received over a physical link

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

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

Country of ref document: EP

Kind code of ref document: A1