WO2017088494A1 - Link management method and apparatus - Google Patents

Link management method and apparatus 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
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 WO2017088494A1 publication Critical patent/WO2017088494A1/en

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.

Abstract

A link management method and apparatus. The link management method comprises: in an embodiment of the present invention, a first node acquires link attribute information, the link attribute information comprising information of an unavailable timeslot of first link ports connected to the first node, the first link ports comprising a connection port of a second node connected to the first node, and the second node being connected to the first node; and the first node determines the unavailable timeslot of the first link port on a link according to the link attribute information. By means of the technical solution provided in embodiments of the present invention, a first node and a second node negotiate on available resources on two ends of a FlexE link, thereby improving the data transmission efficiency of the flexible Ethernet.

Description

一种链路管理方法及装置Link management method and device 技术领域Technical field
本发明实施例涉及但不限于通信技术,尤指一种链路管理方法及装置。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.
背景技术Background technique
随着通信技术的发展,一种新的传送技术即灵活以太网(FlexE)正在发展。With the development of communication technology, a new transmission technology called Flexible Ethernet (FlexE) is developing.
灵活以太网可以实现多种传输方式,举例来讲,第一种,将多个以太网物理层(PHY)信号进行捆绑,例如,通过将两个100GBASE-R PHYs绑定起来承载一个200G介质访问控制(MAC,Media Access Control)信号。或者,第二种,以太网PHY信号承载子速率信号,例如,100GBASE-R PHY来承载50G的信号。或者,第三种,一个PHY信号内部的通道化或者一组绑定起来的PHY信号,例如,支持在三个绑定的100GBASE-R PHYs上传输一个150G信号和两个25G信号。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. Alternatively, second, the Ethernet PHY signal carries a sub-rate signal, such as a 100GBASE-R PHY, to carry a 50G signal. Or, third, 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.
然而,灵活以太网在实现过程中,建立路径的时候会考虑链路属性,而相关技术中第一节点无法自动获取与第二节点之间的链路属性,这样,很有可能导致路径建立不成功,这样就传递不了数据,从而导致灵活以太网的数据传输效率较低。However, in the implementation process of flexible Ethernet, 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.
发明内容Summary of the invention
本发明实施例提供了一种链路管理方法及装置,能够提高灵活以太网的数据传输效率。The embodiment of the invention provides a link management method and device, which can improve the data transmission efficiency of the flexible Ethernet.
一方面,本发明实施例提供了一种链路管理方法,包括:In one aspect, 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.
可选地,所述第一节点获取链路属性信息包括:Optionally, 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 .
可选地,所述第一节点接收所述第二节点发送的第一链路摘要响应信息之前,还包括:Optionally, before the first node receives the first link digest response information sent by the second node, the method further includes:
所述第一节点向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。Sending, by the first node, link summary information to the second node, where the 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. Information of the time slot, the second link port comprising a connection port of the first node.
可选地,所述第一节点获得链路属性信息之后,所述第一节点确定链路上第一链路端口的不可用时隙之前,还包括:Optionally, after the first node obtains the link attribute information, before the first node determines the unavailable time slot of the first link port on the link, 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.
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
可选地,所述第二节点向所述第一节点发送所述链路属性信息之前,还包括:Optionally, 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.
可选地,所述第二节点向第一节点发送所述链路属性信息之后,还包括:Optionally, after the sending, by the second node, the link attribute information to the first node, 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.
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
又一方面,本发明实施例还提供了一种链路管理装置,包括:In another aspect, 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.
可选地,所述获取模块,具体设置为:接收来自所述第二节点的第一链路摘要响应信息,其中,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括所述第一链路端口的不可使用时隙的信息。Optionally, 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.
可选地,还包括:发送模块,设置为向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。Optionally, 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.
可选地,所述发送模块还设置为:向所述第二节点发送第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。Optionally, 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 .
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
再一方面,本发明实施例再提供了一种链路管理装置,包括:In a further aspect, 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;
发送模块,设置为向第一节点发送所述链路属性信息。And a sending module, configured to send the link attribute information to the first node.
可选地,还包括:接收模块,设置为:Optionally, the method further includes: a receiving module, configured to:
接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;Receiving the link summary information sent by the first node, where 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, and 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.
可选地,所述接收模块还设置为:接收所述第一节点发送的第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。Optionally, 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.
可选地,所述第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
本发明实施例包括第一节点获取链路属性信息,所述链路属性信息包括:与所述第一节点连接的第一链路端口上的不可用时隙信息,所述第一链路端口包括:与所述第一节点连接的第二节点的连接端口,所述第二节点与所述第一节点连接;所述第一节点根据所述链路属性信息,确定所述链路上所述第一链路端口的不可用时隙。从而实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。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. Thereby, 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.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the invention will be set forth in the description in the description which The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部 分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The drawings serve to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. The technical solutions of the present invention are used in conjunction with the embodiments of the present application, and do not constitute a limitation of the technical solutions of the present invention.
图1为本发明实施例中链路管理方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of a link management method according to an embodiment of the present invention;
图2为本发明实施例中链路管理方法一实施例的灵活以太网不可使用时隙子对象的结构示意图;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;
图3为本发明实施例中链路管理方法一实施例的结构示意图;3 is a schematic structural diagram of an embodiment of a link management method according to an embodiment of the present invention;
图4为本发明实施例中链路管理方法二实施例的流程示意图;4 is a schematic flowchart of a second embodiment of a link management method according to an embodiment of the present invention;
图5为本发明实施例中链路管理装置一实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a link management apparatus according to an embodiment of the present invention;
图6为本发明实施例中链路管理装置二实施例的结构示意图;FIG. 6 is a schematic structural diagram of a second embodiment of a link management apparatus according to an embodiment of the present invention;
图7为本发明实施例中链路管理装置三实施例的结构示意图;FIG. 7 is a schematic structural diagram of a third embodiment of a link management apparatus according to an embodiment of the present invention;
图8为本发明实施例中链路管理装置四实施例的结构示意图。FIG. 8 is a schematic structural diagram of a fourth embodiment of a link management apparatus according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例提供的链路管理方法可以应用于灵活以太网中第一节点获取链路属性时,其中,该链路可以是与第一节点直接连接或间接连接的链路。本发明实施例提供的链路管理方法具体可以通过链路管理装置来执行,该链路管理装置可以集成在灵活以太网中的节点中,或者单独设置,其中,该链路管理装置可以采用软件和/或硬件的方式来实现。以下对本发明实施例提供的链路管理方法及装置进行详细地说明。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.
图1为本发明实施例中链路管理方法一实施例的流程示意图,如图1所示,包括:FIG. 1 is a schematic flowchart of a link management method according to an embodiment of the present invention. As shown in FIG.
步骤101、第一节点获取链路属性信息。Step 101: The first node acquires link attribute information.
在本实施例中,链路属性信息包括:与第一节点连接的第一链路端口上的不可用时隙信息;其中,第一链路端口包括:第二节点的连接端口,第二节点与第一节点连接,也就是说,第二节点可以是与第一节点相邻的节点, 或者,第二节点可以是与第一节点间接连接的节点。In this embodiment, 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.
步骤102、第一节点根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。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.
具体的,第一节点根据链路属性信息,如,与第一节点连接的链路上的不可用时隙信息,确定该链路上的不可用时隙。Specifically, 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.
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。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.
上述步骤101中的第一节点获取链路属性信息,包括: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.
具体的,第一链路摘要响应信息可以包括链路摘要否决信息(LinkSummaryNAck消息),链路摘要否决信息至少携带第一属性信息,所述第一属性信息包括第一链路端口的不可使用时隙的信息。或者,第一链路摘要响应信息可以包括链路摘要确认信息,链路摘要否决信息至少携带第一属性信息,所述第一属性信息包括第一链路端口的不可使用时隙的信息。Specifically, 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. Alternatively, 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.
进一步的,第一节点接收第二节点发送的第一链路摘要响应信息之前,还包括:Further, before the first node receives the first link digest response information sent by the second node, the method further includes:
第一节点向第二节点发送链路摘要信息(LinkSummary消息),链路摘要信息携带第二属性信息,第二属性信息包括与第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括第一节点的连接端口。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.
进一步的,第一节点获得链路属性信息之后,步骤102之前,还包括:Further, after the first node obtains the link attribute information, before step 102, 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.
图2为本发明实施例中链路管理方法一实施例的灵活以太网不可使用时隙子对象的结构示意图,如图2所示,第一属性信息携带在灵活以太网不可 使用时隙子对象中;第二属性信息携带在灵活以太网不可使用时隙子对象中。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. As shown in FIG. 2, 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.
其中,灵活以太网不可使用时隙子对象包括:类型、长度和不可使用时隙标识。类型用以标识不可使用时隙的信息,长度包括该灵活以太网不可使用时隙子对象的长度,不可使用时隙标识在不可使用时隙的对应位置设置为1。Among them, 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, and the non-use time slot identifier is set to 1 at the corresponding position of the unusable time slot.
图3为本发明实施例中链路管理方法一实施例的结构示意图;如图3所示,本实施例的链路管理协议进行协商节点1(Node 1)的端口21和Node 2的端口31之间的不可用时隙的情况。本实施例中,假设Node 1的端口21上不可用时隙(unavailable slot)为时隙1和时隙3,Node 2的端口31上的unavailable slot的为时隙14和时隙18,那么,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. In this embodiment, it is assumed that the unavailable slot on the port 21 of the Node 1 is the slot 1 and the slot 3, and the unavailable slot on the port 31 of the Node 2 is the slot 14 and the slot 18, then,
首先,Node 1发送链路摘要信息(Link Summary)消息给Node 2,消息中携带不可用时隙(FlexE unavailable slot)子对象,指示Node 1的端口21的unavailable slot为时隙1和时隙3,此时的FlexE unavailable slot子对象的编码是将时隙1和时隙3标识位置为1,其他标识位全都置为0;First, 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. At this time, 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;
然后,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的状态。Then, after receiving the Link Summary message, 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.
这样,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状况的协商。In this way, 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. At this time, 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.
图4为本发明实施例中链路管理方法二实施例的流程示意图,如图4所 示,包括: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:
步骤401、第二节点确定链路属性信息。Step 401: The second node determines link attribute information.
在本实施例中,所述链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括第二节点的连接端口,第二节点与第一节点连接;In this embodiment, 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
步骤402、第二节点向第一节点发送链路属性信息。Step 402: The second node sends link attribute information to the first node.
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。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.
上述第二节点向第一节点发送链路属性信息之前,还包括:Before the foregoing second node sends 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, 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.
进一步的,第二节点向第一节点发送链路属性信息之后,还包括:Further, after the second node sends the link attribute information to the first node, 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.
进一步的,第一属性信息携带在链路管理协议的链路摘要消息中;Further, 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.
图5为本发明实施例中链路管理装置一实施例的结构示意图,如图5所示,本发明提供的链路管理装置,包括:获取模块51和确定模块52。其中,FIG. 5 is a schematic structural diagram of an embodiment of a link management apparatus according to an embodiment of the present invention. As shown in FIG. 5, the link management apparatus provided by the present invention includes: an obtaining module 51 and a determining module 52. among them,
获取模块51,设置为获取链路属性信息,链路属性信息包括与获取模块51自身所在第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括与自身所在第一节点连接的第二节点的连接端口;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;
确定模块52,设置为根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。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.
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。 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.
其中,获取模块51,具体设置为接收来自第二节点发送的第一链路摘要响应信息,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括与第二节点连接的第一链路端口的不可使用时隙的信息即链路属性信息。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.
图6为本发明实施例链路管理装置二实施例的结构示意图,如图6所示,本发明提供的链路管理装置,在上述实施例的基础上,还可以包括:发送模块53;Figure 6 is a schematic structural diagram of a second embodiment of a link management apparatus according to an embodiment of the present invention. As shown in Figure 6, the link management apparatus provided by the present invention may further include: a sending module 53;
发送模块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. Information, the second link port includes a connection port of the first node where it is located.
进一步的,发送模块53,还设置为向第二节点发送第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和第二属性信息。Further, 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.
可选的,第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
图7为本发明实施例中链路管理装置三实施例的结构示意图,如图7所示,包括:确定模块71和发送模块72。其中,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,
确定模块71,设置为确定链路属性信息,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括确定模块71所在第二节点的连接端口,确定模块71所在第二节点与第一节点连接;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;
发送模块72,设置为向第一节点发送链路属性信息。The sending module 72 is configured to send link attribute information to the first node.
通过本发明实施例,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。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.
图8为本发明实施例中链路管理装置四实施例的结构示意图,如图8所示,本发明提供的链路管理装置,在上述实施例的基础上,还可以包括:接收模块73;Figure 8 is a schematic structural diagram of a fourth embodiment of a link management apparatus according to an embodiment of the present invention. As shown in Figure 8, the link management apparatus provided by the present invention may further include: a receiving module 73;
接收模块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;
确定模块71,还设置为根据链路摘要信息,确定第二链路端口的不可使用时隙。The determining module 71 is further configured to determine an unusable time slot of the second link port according to the link summary information.
进一步的,在上述实施例的基础上,接收模块73,还设置为接收第一节点发送的第二链路摘要响应信息,第二链路摘要响应信息携带第一属性信息和所述第二属性信息。Further, on the basis of the foregoing embodiment, 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.
可选的,第一属性信息携带在链路管理协议的链路摘要消息中;Optionally, 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that 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 above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提出的链路管理方法及装置,实现了第一节点与第二节点之间协商FlexE链路两端的可用资源,从而提高了灵活以太网的数据传输效率。 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.

Claims (19)

  1. 一种链路管理方法,包括:A link management method includes:
    第一节点获取链路属性信息,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,其中,第一链路端口包括与第一节点连接的第二节点的连接端口;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 the second node connected to the first node Connection port
    第一节点根据获得的链路属性信息,确定链路上第一链路端口的不可用时隙。The first node determines an unavailable time slot of the first link port on the link according to the obtained link attribute information.
  2. 根据权利要求1所述的链路管理方法,其中,所述第一节点获取链路属性信息包括:The link management method according to claim 1, wherein the acquiring, by the first node, the link attribute information comprises:
    所述第一节点接收来自所述第二节点的第一链路摘要响应信息;其中,第一链路摘要响应信息至少携带包括有所述第一链路端口的不可使用时隙的信息的第一属性信息。The first node receives first link digest response information from the second node; wherein the first link digest response information carries at least information including information of an unavailable time slot of the first link port An attribute information.
  3. 根据权利要求2所述的链路管理方法,所述第一节点接收所述第二节点发送的第一链路摘要响应信息之前,还包括:The link management method according to claim 2, before the first node receives the first link digest response information sent by the second node, the method further includes:
    所述第一节点向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,所二链路端口包括所述第一节点的连接端口。Sending, by the first node, link summary information to the second node, where the 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. Information about the time slot, the two link ports including the connection port of the first node.
  4. 根据权利要求3所述的链路管理方法,所述第一节点获得链路属性信息之后,所述第一节点确定链路上第一链路端口的不可用时隙之前,还包括:The link management method according to claim 3, after the first node obtains the link attribute information, before the first node determines the unavailable time slot of the first link port on the link, 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.
  5. 根据权利要求2-4任一项所述的链路管理方法,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;The link management method according to any one of claims 2 to 4, wherein 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.
  6. 一种链路管理方法,包括:A link management method includes:
    第二节点确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,所述第一链路端口包括第二节点的连 接端口,第二节点与第一节点连接;The second node determines link attribute information, wherein 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 of the second node Connected to the port, the second node is connected to the first node;
    第二节点向第一节点发送确定的链路属性信息。The second node transmits the determined link attribute information to the first node.
  7. 根据权利要求6所述的链路管理方法,所述第二节点向所述第一节点发送所述链路属性信息之前,还包括:The link management method according to claim 6, 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.
  8. 根据权利要求7所述的链路管理方法,所述第二节点向第一节点发送所述链路属性信息之后,还包括:The link management method according to claim 7, after the sending, by the second node, the link attribute information to the first node, 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.
  9. 根据权利要求7-8任一项所述的链路管理方法,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;The link management method according to any one of claims 7-8, wherein 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.
  10. 一种链路管理装置,包括:A link management device includes:
    获取模块,设置为获取链路属性信息,其中,链路属性信息包括与自身所在第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括第二节点的连接端口,第二节点与所述第一节点连接;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.
  11. 根据权利要求10所述的链路管理装置,其中,所述获取模块,具体设置为:接收来自所述第二节点的第一链路摘要响应信息,其中,第一链路摘要响应信息至少携带第一属性信息,第一属性信息包括所述第一链路端口的不可使用时隙的信息。The link management apparatus according to claim 10, wherein the acquiring module is specifically configured to: receive first link digest response information from the second node, where the first link digest response information carries at least The first attribute information includes information of an unavailable time slot of the first link port.
  12. 根据权利要求11所述的链路管理装置,还包括:发送模块,设置为 向所述第二节点发送链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括与所述第一节点连接的第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口。The link management apparatus according to claim 11, further comprising: a transmitting module configured to Sending link summary information to the second node, where the link summary information carries second attribute information, where the second attribute information includes information of an 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.
  13. 根据权利要求12所述的链路管理装置,所述发送模块还设置为:向所述第二节点发送第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。The link management apparatus according to claim 12, wherein the sending module is further configured to: send 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.
  14. 根据权利要求11-13任一项所述的链路管理装置,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;The link management apparatus according to any one of claims 11 to 13, wherein 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.
  15. 一种链路管理装置,包括:A link management device includes:
    确定模块,设置为确定链路属性信息,其中,链路属性信息包括与第一节点连接的第一链路端口上的不可用时隙信息,第一链路端口包括自身所在第二节点的连接端口,第二节点与所述第一节点连接;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;
    发送模块,设置为向第一节点发送所述链路属性信息。And a sending module, configured to send the link attribute information to the first node.
  16. 根据权利要求15所述的链路管理装置,还包括:接收模块,设置为:The link management apparatus according to claim 15, further comprising: a receiving module, configured to:
    接收所述第一节点发送的链路摘要信息,其中,链路摘要信息携带第二属性信息,第二属性信息包括第二链路端口的不可使用时隙的信息,第二链路端口包括所述第一节点的连接端口;Receiving the link summary information sent by the first node, where 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, and 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.
  17. 根据权利要求15或16所述的链路管理装置,所述接收模块还设置为:接收所述第一节点发送的第二链路摘要响应信息,其中,第二链路摘要响应信息携带所述第一属性信息和所述第二属性信息。The link management apparatus according to claim 15 or 16, wherein the receiving module is further configured to: receive 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.
  18. 根据权利要求16-17任一项所述的链路管理装置,其中,所述第一属性信息携带在链路管理协议的链路摘要消息中;The link management apparatus according to any one of claims 16-17, wherein 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.
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机 可执行指令用于执行权1~权5任一项的链路管理方法,和/或所述计算机可执行指令用于执行权6~权9任一项的链路管理方法。 A computer readable storage medium storing computer executable instructions, the computer The executable instruction is used to execute the link management method of any one of rights 1 to 5, and/or the computer executable instructions are used to execute the link management method of any one of rights 6 to 9.
PCT/CN2016/089456 2015-11-26 2016-07-08 Link management method and apparatus WO2017088494A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510843643.7A CN106803785A (en) 2015-11-26 2015-11-26 A kind of link management method and device
CN201510843643.7 2015-11-26

Publications (1)

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

Family

ID=58763925

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089456 WO2017088494A1 (en) 2015-11-26 2016-07-08 Link management method and apparatus

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114337952A (en) * 2020-09-30 2022-04-12 烽火通信科技股份有限公司 Method and system for communication link negotiation

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110383766B (en) * 2017-06-27 2021-02-12 华为技术有限公司 Protection switching method, equipment and system
CN109428840B (en) 2017-08-31 2022-05-06 华为技术有限公司 Communication method, device and storage medium
CN109672513B (en) * 2017-10-16 2021-10-22 华为技术有限公司 Transmission path configuration method, device and equipment
WO2019119388A1 (en) * 2017-12-22 2019-06-27 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for configuring a flex ethernet node
CN109995588B (en) * 2019-03-29 2020-07-07 烽火通信科技股份有限公司 Flexible Ethernet link management method and system
CN113595670A (en) * 2020-04-30 2021-11-02 中兴通讯股份有限公司 Method, device, system, equipment and medium for creating service interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859371A (en) * 2005-10-28 2006-11-08 华为技术有限公司 Method for checking flow engineering link time slot state consistency
CN101686186A (en) * 2008-09-22 2010-03-31 华为技术有限公司 Method, equipment and system for detecting states of link tags
CN102857835A (en) * 2011-06-29 2013-01-02 中兴通讯股份有限公司 Flexible grid optical network node and link attribute check method between nodes
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 (en) * 2005-10-28 2006-11-08 华为技术有限公司 Method for checking flow engineering link time slot state consistency
CN101686186A (en) * 2008-09-22 2010-03-31 华为技术有限公司 Method, equipment and system for detecting states of link tags
CN102857835A (en) * 2011-06-29 2013-01-02 中兴通讯股份有限公司 Flexible grid optical network node and link attribute check method between nodes
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 (en) * 2020-09-30 2022-04-12 烽火通信科技股份有限公司 Method and system for communication link negotiation
CN114337952B (en) * 2020-09-30 2023-06-09 烽火通信科技股份有限公司 Method and system for negotiating communication link

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2017088494A1 (en) Link management method and apparatus
WO2017012510A1 (en) Method and device for transmitting flexible ethernet service flow
US11012261B2 (en) Associating VXLANs with tunnels
WO2018014876A1 (en) Processing method and device for radio bearer for transmitting data stream
WO2013033457A1 (en) Topology discovery in a hybrid network
WO2018210225A1 (en) Method and device for automatically implementing ioam encapsulation, and storage medium
CN107547619B (en) Timer parameter negotiation method and device
KR20160044565A (en) Method and system for dual role handling in a wireless environment
JP2010536290A5 (en)
WO2015003378A1 (en) Method for changing cell state, user equipment, and base station
CN102821082A (en) Data transmission method, device and system
CN113056898A (en) Method and device for obtaining secret key and secret key management system
CN110324193A (en) A kind of terminal upgrade management method and device
CN109150659B (en) Processor and BFD message transmission method
EP2621133A1 (en) Method and system for implementing pw control bit capability negotiation
CN103384220B (en) A kind of method for building up of Traffic Engineering Label switching path, equipment and system
CN103731424B (en) A kind of transmission method of network data, apparatus and system
WO2012071937A1 (en) Method, system and communication terminal for mlppp dynamic binding
CN107528788B (en) Method and device for realizing automatic stacking between network devices
US20170310561A1 (en) Network Control Method and Apparatus
WO2014187241A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN104247482A (en) Method and method for realizing communication in wlan
CN102651777A (en) Link establishing method and equipment
CN107360594B (en) Information processing method and device
US11363561B2 (en) Method and apparatus for reporting information by terminal, and computer storage medium

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