WO2015158112A1 - Method and apparatus for implementing cross-board channel protection - Google Patents

Method and apparatus for implementing cross-board channel protection Download PDF

Info

Publication number
WO2015158112A1
WO2015158112A1 PCT/CN2014/087397 CN2014087397W WO2015158112A1 WO 2015158112 A1 WO2015158112 A1 WO 2015158112A1 CN 2014087397 W CN2014087397 W CN 2014087397W WO 2015158112 A1 WO2015158112 A1 WO 2015158112A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
port
line side
boards
line
Prior art date
Application number
PCT/CN2014/087397
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 WO2015158112A1 publication Critical patent/WO2015158112A1/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

Definitions

  • the present invention relates to the field of channel protection technologies, and in particular, to a method and apparatus for implementing cross-board channel protection.
  • the existing cross-board channel protection method is mainly based on the APS (Automatic Protection Switched) protection technology.
  • One board is used as the main board and the other board is used as the standby board. Under normal circumstances, only the main board is in working state. After a line-side fault occurs, the APS protocol cuts the link to the standby board to implement link protection switching.
  • This board-level protection method cannot fully utilize the bandwidth of the line side port of the standby board, and requires APS protocol support.
  • the present invention proposes a method and apparatus for implementing cross-board channel transmission.
  • a method of implementing cross-board channel transmission comprising the steps of:
  • a port-span aggregation group is formed on the line-side ports of the two network elements by cascading a plurality of boards in each of the network elements.
  • Each board of the two network elements performs real-time detection on the transmission quality and/or connection status of the line side port thereof;
  • the board When a board of a network element detects that the transmission quality and/or the connection status of the line-side port of the board is abnormal, the board forwards the packet from the client through the cascaded other boards and the port-span aggregation group. The service of the other end is sent to the corresponding board of another network element.
  • the board includes a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each of the plurality of network elements is level by the two cascade ports.
  • a plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  • real-time detection of the transmission quality and/or connection status of each line side port of each of the two network elements includes:
  • the line-side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port
  • the physical connection status of the line-side port is detected in real time.
  • the transmission quality of the line side port is detected in real time.
  • the board forwards the service from the client to the corresponding board of the other network element by using the cascading other boards and the port-span aggregation group to include:
  • the board After receiving the service from the client side, the board adds a private packet header before the packet of the received client side service;
  • the service of the client is forwarded to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
  • each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag;
  • Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
  • an apparatus for implementing cross-board channel transmission including:
  • a port-to-board aggregation group module is formed, and is configured to form a port spanning board on the line side ports of the two network elements by cascading a plurality of boards in each of the two network elements in the adjacent two network elements.
  • the monitoring module is configured to perform real-time detection on the transmission quality and/or connection status of each line side port of each of the two network elements;
  • the forwarding module is configured to: when a board of a network element detects that the transmission quality and/or the connection status of the line side port of the board is abnormal, the board passes the cascaded other boards and the port cross-board The aggregation group forwards the service from the client to the corresponding board of another network element.
  • the board includes a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each of the plurality of network elements is level by the two cascade ports.
  • a plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  • the detecting module comprises:
  • connection state detecting unit is configured to perform real-time detection on the physical connection state of the line side port when the line side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port;
  • the transmission quality detecting unit is configured to perform real-time detection on the transmission quality of the line side port when the line side port of each board is the optical transport network OTN port.
  • the forwarding module includes:
  • the packet header unit is added, and after the board receives the service from the client side, the private packet header is added before the packet of the received client side service.
  • the forwarding unit is configured to forward the service of the client to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
  • each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag;
  • Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
  • the invention realizes cascading a plurality of boards and forming a cross-board aggregation group on the line side ports through the inter-board aggregation unit in each board, so that the interaction can be realized without artificial or unnecessary use of the automatic protection switching protocol.
  • the protection of the line side channel, while transmitting data can share the bandwidth of all line side ports, increasing the utilization of the line side bandwidth.
  • FIG. 1 is a flow chart of a method for implementing cross-board channel transmission provided by the present invention
  • FIG. 2 is a schematic diagram of an apparatus for implementing cross-board channel transmission provided by the present invention
  • FIG. 3 is a structural diagram of a single board system according to an embodiment of the present invention.
  • FIG. 4 is a structural diagram of a cross-board aggregation unit in a single board according to an embodiment of the present invention
  • FIG. 5 is a system diagram of providing cross-board channel aggregation protection according to an embodiment of the present invention.
  • FIG. 6 is a data flow path diagram of a line side channel in a normal situation according to an embodiment of the present invention.
  • FIG. 7 is a data flow path diagram of a line side channel failure according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a normal forwarding path of a line side according to an embodiment of the present invention.
  • FIG. 9 is a forwarding path diagram of a line side fault according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing cross-board channel transmission provided by the present invention. As shown in FIG. 1, the method includes the following steps:
  • a port-span aggregation group is formed on the line-side ports of the two network elements by cascading a plurality of boards in each of the network elements.
  • the board of the present invention includes a plurality of customer side ports, a plurality of line side ports, and two cascade ports; wherein each board in each network element is cascaded through the two cascade ports A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  • Step S102 Each board of the two network elements performs real-time detection on the transmission quality and/or connection status of the line side port thereof;
  • the line-side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port
  • the physical connection status of the line-side port is detected in real time.
  • the transmission quality of the line side port is detected in real time.
  • Step S103 When a board of a network element detects that the transmission quality and/or the connection status of the line-side port of the board is abnormal, the board passes the cascaded other boards and the port-span aggregation group. Forward the service from the client to the corresponding board of another NE.
  • the forwarding of the service from the client to the corresponding card of the other network element by the other boards and the port-span aggregation group of the board includes: after the board receives the service from the client side, Adding a private packet header to the packet of the received client-side service; selecting other boards that are cascaded through the expansion port according to the added private packet header; using the selected other boards and the port spanning The board aggregation group forwards the service of the client to the corresponding board of another network element.
  • each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag; wherein each of the boards is in the line side port member list The forwarding label and the alarm flag of each line-side port are notified to other boards through the cascade port in the format of the notification message.
  • FIG. 2 is a schematic diagram of an apparatus for implementing cross-board channel transmission according to the present invention.
  • the method includes: forming a port-span board aggregation group module 201, which is set to be adjacent to two network elements, The plurality of boards in the network element are cascaded, and the line-side port of the two network elements forms a port-span aggregation group; the monitoring module 202 is configured as each board of the two network elements.
  • the transmission quality and/or the connection status of the line side port are detected in real time; the forwarding module 203 is configured to: when a board of one network element detects that the transmission quality and/or the connection status of the line side port of the board is abnormal, The board forwards the service from the client to the corresponding board of another network element through the other cascading boards and the port-span aggregation group.
  • the board of the present invention includes a plurality of customer side ports, a plurality of line side ports, and two cascade ports; wherein each board in each network element is cascaded through the two cascade ports A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  • Each of the boards further includes a line side port member list, each line side port including a forwarding flag and an alarm flag; wherein each of the boards will each line in the line side port member list The forwarding label and the alarm flag of the side port are notified to other boards through the cascade port in the format of the notification message.
  • the detecting module 202 includes: a connection state detecting unit, configured to be a line side port when the line side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port.
  • the physical connection state is detected in real time;
  • the transmission quality detecting unit is configured to perform real-time detection on the transmission quality of the line side port when the line side port of each board is the optical transport network OTN port.
  • the forwarding module 203 includes: adding a packet header unit, and setting the board to receive a service from the client side, adding a private packet header before receiving the packet of the client-side service; and selecting other board units, Set to select according to the added private message header
  • the other boards that are cascaded by the expansion port are configured to forward the service of the client to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
  • FIG. 3 is a structural diagram of a single board system according to an embodiment of the present invention.
  • the system includes a layer 2 forwarding unit, a cross-board aggregation unit, a client side unit, a line side unit, and two cascade ports, specifically
  • the layer-side forwarding unit is configured to implement forwarding of Ethernet data packets
  • the cross-board aggregation unit is configured to implement multi-board aggregation function of the multiple boards
  • Single board cascading is configured to implement forwarding of Ethernet data packets
  • the cross-board aggregation unit is configured to implement multi-board aggregation function of the multiple boards
  • the line side unit includes N
  • FIG. 5 is a schematic diagram of a system for providing cross-board channel aggregation protection according to an embodiment of the present invention.
  • the method includes: multiple boards for cross-board aggregation, a line side, and a client side.
  • the customer side includes the Ethernet services such as GE (Gigabit Ethernet) and 10GE.
  • the other side connected to the user side of the board is the line side, including GE, 10GE, and OTN.
  • Optical Transport Network optical transport network, and other ports.
  • the line side of the board is added to the same cross-board aggregation group.
  • a plurality of line-side ports of each board in the N-board (N>1) form an inter-board aggregation group.
  • the inter-board aggregation unit in each board maintains a port member list.
  • the list defaults. In the case where all line side ports are added, it can also be specified manually.
  • the port member list uses [board ID+port number] to identify a line-side port.
  • the port member list of the network element A cross-board aggregation group in Figure 6 is: [1,1], [1,2], [ 2, 3], [3, 2];
  • the list of port members of the network element B cross-board aggregation group is: [1, 3], [1, 4], [2, 4], [3, 1].
  • the inter-board aggregation unit monitors the line side channel status and/or transmission quality in real time
  • the inter-board aggregation unit includes an alarm detection subunit, a forwarding control subunit, and an egress port selection logic subunit.
  • the forwarding control subunit is configured to have a forwarding flag on each member port, and set 1 to forward, and 0 to not forward, and the label is controlled by the inter-board aggregation group.
  • the alarm detection subunit is set to have an alarm flag bit on each member port. Setting 1 indicates that there is an alarm, and setting 0 indicates no alarm.
  • the Out Port Selection Logic subunit is set to select an out port from the member port list based on the priority level.
  • the port member list and port status of each board are shared with other boards through internal messages, so that each board on the system knows the port membership of other boards.
  • the inter-board aggregation unit notifies all the line-side port members and status of the local board to other boards.
  • Judging the line side channel status and transmission quality according to the transmission medium of the line side port includes the following:
  • the transmission medium of the line-side port is 100M/GE or 10GE optical port
  • the physical connection status and optical signal status are detected.
  • the transmission quality of the line side channel is judged according to the OTN layer alarm, and the alarms listed in Table 1 are used as the condition for judging the transmission quality of the line side channel by the inter-board aggregation group.
  • transmission media on the line side port There are a variety of transmission media on the line side port. It is not limited to the above three cases.
  • the alarms and link status detected by different transmission media are different. You can also set an alarm policy to select whether to use certain alarms as the conditions for setting port forwarding.
  • the forwarding status of the port can also be configured manually.
  • the local port forwarding flag When the port is from alarm to no alarm, the local port forwarding flag is set to 0, and the notification is sent to the other boards from the expansion port. When the port is from no alarm to when there is an alarm, the local port forwarding flag is set to 1, and the notification is sent. Text to other boards.
  • the board forwards the Ethernet packets received from the client to the inter-board aggregation unit through the Layer 2 forwarding unit.
  • the inter-board aggregation unit After receiving the Ethernet packet from the client side, the inter-board aggregation unit selects the egress port according to the forwarding policy and forwards the Ethernet packet.
  • the forwarding policy is that the inter-board aggregation unit selects the port from the member port list according to the following priority levels: if the line-side port of the local linkup, the port number of which is the smallest priority forwarding; if the line side port of the other board linkup A board with multiple linkup ports is preferred.
  • the egress port is a local port, it will be forwarded directly from the local port.
  • Circle 4 is forwarded to the network element B client 2 through the layer 2 forwarding unit.
  • the egress port is a port of another card, add a private packet header to the client service packet and forward it to the expansion port.
  • the steps include:
  • Circle 1 learn MAC at the entrance: [Customer 2MAC, vid, board 2, port 1];
  • Loop 2 forwarded from the expansion port, with a private packet header: [message type, board 2, port 1, board 1, port 2].
  • the content of the internal MAC forwarding entry [MAC, VID, board ID, port number]
  • the format of the notification packet is: [message type + source board ID + source board port number + forwarding status];
  • the packet type is 0001, which is expressed as a notification packet.
  • Source board ID The board ID of the local alarm.
  • Source board port number The port number where the alarm is generated locally.
  • Forwarding status 0-no forwarding, 1-forwarding;
  • the service packet includes the private packet header and the client service packet.
  • the format of the service packet is: packet type + source board ID + source board port number + destination board ID + destination board port number + customer service Message].
  • the packet type is 0002, indicating that the packet is a forwarding packet of the client.
  • Source board ID indicates the board ID that the client accesses.
  • Source board port number indicates the port number that the client accesses.
  • Destination board ID indicates the board ID to be sent.
  • Destination board port number indicates the port number to be sent.
  • the steps include:
  • Circle 3 learning MAC at the entrance: [Customer 2MAC, vid, board 2, port 1]
  • Circle 6 forwarded from the expansion port, with a private packet header: [message type, board 1, port 3, ffff, ffff]
  • Circle 8 check the MAC forwarding table. If there is no MAC of the client B of the network element B, the packet is flooded out from port 1. If there is the MAC of the client 2 of the network element B, it is directly forwarded from port 1.
  • the present invention includes the following steps:
  • a, N-type board line side ports form a cross-board aggregation group
  • the boards are interconnected through the backplane cascade ports;
  • the inter-board aggregation unit performs packet forwarding according to the transmission quality and connection status of the line side port.
  • the client-side service that is connected to the card is forwarded from the line-side port of the card.
  • the client-side service that is connected to the card is forwarded from the line-side port of the card.
  • multiple card-side ports are added to the inter-board aggregation group. Select a forwarding with a small port number;
  • the line side channel of the board when the line side channel of the board fails, the line side channel of the other board transmits.
  • the transmission channel selects the bandwidth to occupy less.
  • the present invention has the following technical effects:
  • the invention realizes cascading a plurality of boards and forming a cross-board aggregation group on the line side ports through the inter-board aggregation unit in each board, so that the interaction can be realized without artificial or unnecessary use of the automatic protection switching protocol.
  • the protection of the line side channel, while transmitting data can share the bandwidth of all line side ports, increasing the utilization of the line side bandwidth.
  • the automatic protection switching protocol participates to realize the protection of the line side channel, and the transmission data can share the bandwidth of all the line side ports, thereby increasing the utilization of the line side bandwidth.

Landscapes

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

Abstract

Disclosed are a method and apparatus for implementing cross-board channel protection, relating to the technical field of optical communications. The method includes the following steps: by the cascading of multiple boards in each network element of two adjacent network elements, a cross-board port aggregation group is formed at the line side ports of the two network elements; each board of the two network elements detects the transmission quality and/or connection state of the line side ports in real time; when one board of one network element detects that the transmission quality and/or connection state of the board line side ports is abnormal, the board forwards, via other cascading boards and the cross-board port aggregation group, the service from a client to the corresponding board of the other network element. In the present invention, the bandwidths of all the line side ports can be shared, and the utilization of the line side bandwidth can be increased.

Description

一种实现跨板通道保护的方法及装置Method and device for realizing cross-board channel protection 技术领域Technical field
本发明涉及通道保护技术领域,特别涉及一种实现跨板通道保护的方法及装置。The present invention relates to the field of channel protection technologies, and in particular, to a method and apparatus for implementing cross-board channel protection.
背景技术Background technique
现有的跨板通道保护方法主要基于主备的APS(Automatic Protection Switched,自动保护倒换)保护技术,一个单板作为主板,另一个单板作为备板,正常情况下,只有主板处在工作状态,当发生线路侧故障后,APS协议将链路切到备板上,从而实现链路的保护倒换。这种板级保护方式无法充分利用备板线路侧端口的带宽,同时需要APS协议支持。The existing cross-board channel protection method is mainly based on the APS (Automatic Protection Switched) protection technology. One board is used as the main board and the other board is used as the standby board. Under normal circumstances, only the main board is in working state. After a line-side fault occurs, the APS protocol cuts the link to the standby board to implement link protection switching. This board-level protection method cannot fully utilize the bandwidth of the line side port of the standby board, and requires APS protocol support.
针对上述问题,本发明提出了一种实现跨板通道传输的方法及装置。In view of the above problems, the present invention proposes a method and apparatus for implementing cross-board channel transmission.
发明内容Summary of the invention
本发明的目的在于提供一种实现跨板通道传输的方法及装置,解决了现有技术中无法利用备板线路侧端口带宽,并需要APS协议支持的问题。It is an object of the present invention to provide a method and apparatus for implementing cross-board channel transmission, which solves the problem that the bandwidth of the line side of the standby board cannot be utilized in the prior art, and the APS protocol is required.
根据本发明的一个实施例,提供了一种实现跨板通道传输的方法,包括以下步骤:In accordance with an embodiment of the present invention, a method of implementing cross-board channel transmission is provided, comprising the steps of:
对于邻接的两个网元,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;A port-span aggregation group is formed on the line-side ports of the two network elements by cascading a plurality of boards in each of the network elements.
所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;Each board of the two network elements performs real-time detection on the transmission quality and/or connection status of the line side port thereof;
当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。When a board of a network element detects that the transmission quality and/or the connection status of the line-side port of the board is abnormal, the board forwards the packet from the client through the cascaded other boards and the port-span aggregation group. The service of the other end is sent to the corresponding board of another network element.
优选地,所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。 Preferably, the board includes a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each of the plurality of network elements is level by the two cascade ports. A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
优选地,所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测包括:Preferably, real-time detection of the transmission quality and/or connection status of each line side port of each of the two network elements includes:
当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;When the line-side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port, the physical connection status of the line-side port is detected in real time.
当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。When the line side port of each board is an optical transport network OTN port, the transmission quality of the line side port is detected in real time.
优选地,所述单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板包括:Preferably, the board forwards the service from the client to the corresponding board of the other network element by using the cascading other boards and the port-span aggregation group to include:
所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;After receiving the service from the client side, the board adds a private packet header before the packet of the received client side service;
根据所添加的私有报文头选择通过所述级联端口级联的其他单板;Selecting other boards that are cascaded through the expansion port according to the added private packet header;
利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。The service of the client is forwarded to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
优选地,所述每块单板包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;Preferably, each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag;
其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
根据本发明的另一实施例,提供了一种实现跨板通道传输的装置,包括:According to another embodiment of the present invention, an apparatus for implementing cross-board channel transmission is provided, including:
形成端口跨板聚合组模块,设置为在邻接的两个网元中,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;A port-to-board aggregation group module is formed, and is configured to form a port spanning board on the line side ports of the two network elements by cascading a plurality of boards in each of the two network elements in the adjacent two network elements. Aggregation group
监测模块,设置为所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;The monitoring module is configured to perform real-time detection on the transmission quality and/or connection status of each line side port of each of the two network elements;
转发模块,设置为当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。 The forwarding module is configured to: when a board of a network element detects that the transmission quality and/or the connection status of the line side port of the board is abnormal, the board passes the cascaded other boards and the port cross-board The aggregation group forwards the service from the client to the corresponding board of another network element.
优选地,所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。Preferably, the board includes a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each of the plurality of network elements is level by the two cascade ports. A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
优选地,所述检测模块包括:Preferably, the detecting module comprises:
连接状态检测单元,设置为当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;The connection state detecting unit is configured to perform real-time detection on the physical connection state of the line side port when the line side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port;
传输质量检测单元,设置为当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。The transmission quality detecting unit is configured to perform real-time detection on the transmission quality of the line side port when the line side port of each board is the optical transport network OTN port.
优选地,所述转发模块包括:Preferably, the forwarding module includes:
添加报文头单元,设置为所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;The packet header unit is added, and after the board receives the service from the client side, the private packet header is added before the packet of the received client side service.
选择其他单板单元,设置为根据所添加的私有报文头选择通过所述级联端口级联的其他单板;Select another board unit, and set the other boards that are cascaded through the expansion port according to the added private packet header.
转发单元,设置为利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。The forwarding unit is configured to forward the service of the client to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
优选地,所述每块单板包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;Preferably, each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag;
其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
与现有技术相比较,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
本发明通过将多块单板进行级联,并通过每块单板中的跨板聚合单元使线路侧端口形成一个跨板聚合组,使得无需人为或无需使用自动保护倒换协议参与,即可实现线路侧通道的保护,同时传输数据可以共享所有线路侧端口的带宽,增加了线路侧带宽的利用率。The invention realizes cascading a plurality of boards and forming a cross-board aggregation group on the line side ports through the inter-board aggregation unit in each board, so that the interaction can be realized without artificial or unnecessary use of the automatic protection switching protocol. The protection of the line side channel, while transmitting data can share the bandwidth of all line side ports, increasing the utilization of the line side bandwidth.
附图说明DRAWINGS
图1是本发明提供的一种实现跨板通道传输的方法流程图; 1 is a flow chart of a method for implementing cross-board channel transmission provided by the present invention;
图2是本发明提供的一种实现跨板通道传输的装置示意图;2 is a schematic diagram of an apparatus for implementing cross-board channel transmission provided by the present invention;
图3是本发明实施例提供的单板系统结构图;3 is a structural diagram of a single board system according to an embodiment of the present invention;
图4是本发明实施例提供的单板中跨板聚合单元的结构图;4 is a structural diagram of a cross-board aggregation unit in a single board according to an embodiment of the present invention;
图5是本发明实施例提供跨板通道聚合保护的系统图;FIG. 5 is a system diagram of providing cross-board channel aggregation protection according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的线路侧通道正常情况下数据流路径图;6 is a data flow path diagram of a line side channel in a normal situation according to an embodiment of the present invention;
图7是本发明实施例提供的线路侧通道故障时数据流路径图;7 is a data flow path diagram of a line side channel failure according to an embodiment of the present invention;
图8是本发明实施例提供的线路侧正常转发路径图;FIG. 8 is a schematic diagram of a normal forwarding path of a line side according to an embodiment of the present invention; FIG.
图9是本发明实施例提供的线路侧故障的转发路径图。FIG. 9 is a forwarding path diagram of a line side fault according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1显示了本发明提供的一种实现跨板通道传输的方法流程图,如图1所示,包括以下步骤:FIG. 1 is a flowchart of a method for implementing cross-board channel transmission provided by the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S101:对于邻接的两个网元,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;In the step S101, a port-span aggregation group is formed on the line-side ports of the two network elements by cascading a plurality of boards in each of the network elements.
本发明所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。The board of the present invention includes a plurality of customer side ports, a plurality of line side ports, and two cascade ports; wherein each board in each network element is cascaded through the two cascade ports A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
步骤S102:所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;Step S102: Each board of the two network elements performs real-time detection on the transmission quality and/or connection status of the line side port thereof;
当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;When the line-side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port, the physical connection status of the line-side port is detected in real time.
当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。 When the line side port of each board is an optical transport network OTN port, the transmission quality of the line side port is detected in real time.
步骤S103:当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。Step S103: When a board of a network element detects that the transmission quality and/or the connection status of the line-side port of the board is abnormal, the board passes the cascaded other boards and the port-span aggregation group. Forward the service from the client to the corresponding board of another NE.
其中,所述单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板包括:所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;根据所添加的私有报文头选择通过所述级联端口级联的其他单板;利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。The forwarding of the service from the client to the corresponding card of the other network element by the other boards and the port-span aggregation group of the board includes: after the board receives the service from the client side, Adding a private packet header to the packet of the received client-side service; selecting other boards that are cascaded through the expansion port according to the added private packet header; using the selected other boards and the port spanning The board aggregation group forwards the service of the client to the corresponding board of another network element.
具体地说,所述每块单板包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。Specifically, each of the boards includes a line side port member list, and each line side port includes a forwarding mark and an alarm flag; wherein each of the boards is in the line side port member list The forwarding label and the alarm flag of each line-side port are notified to other boards through the cascade port in the format of the notification message.
图2显示了本发明提供的一种实现跨板通道传输的装置示意图,如图2所示,包括:形成端口跨板聚合组模块201,设置为在邻接的两个网元中,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;监测模块202,设置为所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;转发模块203,设置为当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。FIG. 2 is a schematic diagram of an apparatus for implementing cross-board channel transmission according to the present invention. As shown in FIG. 2, the method includes: forming a port-span board aggregation group module 201, which is set to be adjacent to two network elements, The plurality of boards in the network element are cascaded, and the line-side port of the two network elements forms a port-span aggregation group; the monitoring module 202 is configured as each board of the two network elements. The transmission quality and/or the connection status of the line side port are detected in real time; the forwarding module 203 is configured to: when a board of one network element detects that the transmission quality and/or the connection status of the line side port of the board is abnormal, The board forwards the service from the client to the corresponding board of another network element through the other cascading boards and the port-span aggregation group.
本发明所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。所述每块单板还包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。The board of the present invention includes a plurality of customer side ports, a plurality of line side ports, and two cascade ports; wherein each board in each network element is cascaded through the two cascade ports A plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group. Each of the boards further includes a line side port member list, each line side port including a forwarding flag and an alarm flag; wherein each of the boards will each line in the line side port member list The forwarding label and the alarm flag of the side port are notified to other boards through the cascade port in the format of the notification message.
具体地说,所述检测模块202包括:连接状态检测单元,设置为当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;传输质量检测单元,设置为当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。所述转发模块203包括:添加报文头单元,设置为所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;选择其他单板单元,设置为根据所添加的私有报文头选择通 过所述级联端口级联的其他单板;转发单元,设置为利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。Specifically, the detecting module 202 includes: a connection state detecting unit, configured to be a line side port when the line side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port. The physical connection state is detected in real time; the transmission quality detecting unit is configured to perform real-time detection on the transmission quality of the line side port when the line side port of each board is the optical transport network OTN port. The forwarding module 203 includes: adding a packet header unit, and setting the board to receive a service from the client side, adding a private packet header before receiving the packet of the client-side service; and selecting other board units, Set to select according to the added private message header The other boards that are cascaded by the expansion port are configured to forward the service of the client to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
图3显示了本发明实施例提供的单板系统结构图,如图3所示,包括二层转发单元,跨板聚合单元,客户侧单元,线路侧单元,以及两个级联端口,具体地说,所述二层转发单元设置为实现以太网数据包的转发,跨板聚合单元设置为实现多单板的跨板聚合功能,客户侧单元包括N个客户侧端口(N>=1),设置为客户业务接入,线路侧单元包括N个线路侧端口(N>=1),设置为和对端网元的单板线路侧端口互联,以及两个级联端口设置为本网元多单板级联。FIG. 3 is a structural diagram of a single board system according to an embodiment of the present invention. As shown in FIG. 3, the system includes a layer 2 forwarding unit, a cross-board aggregation unit, a client side unit, a line side unit, and two cascade ports, specifically The layer-side forwarding unit is configured to implement forwarding of Ethernet data packets, and the cross-board aggregation unit is configured to implement multi-board aggregation function of the multiple boards, and the client-side unit includes N client-side ports (N>=1). Set to the customer service access, the line side unit includes N line side ports (N>=1), which are set to be interconnected with the line side port of the peer network element, and the two cascade ports are set to be more than the network element. Single board cascading.
图5显示了本发明实施例提供跨板通道聚合保护的系统图,如图5所示,包括:用于跨板聚合的多块单板、线路侧以及客户侧。用于接入客户业务的为客户侧,包括GE(Gigabit Ethernet,千兆以太网)、10GE等以太网业务,与单板用户侧对接的另一侧为线路侧,包括GE、10GE、OTN(Optical Transport Network,光传送网)等端口。FIG. 5 is a schematic diagram of a system for providing cross-board channel aggregation protection according to an embodiment of the present invention. As shown in FIG. 5, the method includes: multiple boards for cross-board aggregation, a line side, and a client side. For the customer service, the customer side includes the Ethernet services such as GE (Gigabit Ethernet) and 10GE. The other side connected to the user side of the board is the line side, including GE, 10GE, and OTN. Optical Transport Network, optical transport network, and other ports.
下面结合图6至图9来具体说明本发明的内容:The contents of the present invention will be specifically described below with reference to FIGS. 6 to 9:
单板线路侧加入同一个跨板聚合组中;The line side of the board is added to the same cross-board aggregation group.
N块单板(N>1)中每块单板的多个线路侧端口形成一个跨板聚合组,其中,每块单板中的跨板聚合单元都维护一张端口成员列表,该列表默认情况下所有线路侧端口都加入,也可以人为指定。其中端口成员列表用【单板ID+端口号】来标识一个线路侧端口,比如,图6中网元A跨板聚合组的端口成员列表为:【1,1】,【1,2】,【2,3】,【3,2】;网元B跨板聚合组的端口成员列表为:【1,3】,【1,4】,【2,4】,【3,1】。A plurality of line-side ports of each board in the N-board (N>1) form an inter-board aggregation group. The inter-board aggregation unit in each board maintains a port member list. The list defaults. In the case where all line side ports are added, it can also be specified manually. The port member list uses [board ID+port number] to identify a line-side port. For example, the port member list of the network element A cross-board aggregation group in Figure 6 is: [1,1], [1,2], [ 2, 3], [3, 2]; The list of port members of the network element B cross-board aggregation group is: [1, 3], [1, 4], [2, 4], [3, 1].
跨板聚合单元实时监测线路侧通道状态和/或传输质量;The inter-board aggregation unit monitors the line side channel status and/or transmission quality in real time;
当监测线路侧通道改变或者出现告警时,根据告警处理策略设置本地端口的转发标记,并通过级联口通知给其他单板的跨板聚合单元。如图4所示,跨板聚合单元包括告警检测子单元、转发控制子单元以及出端口选择逻辑子单元。其中转发控制子单元设置为在每个成员端口上都设有一个转发标记,置1表示转发,置0表示不转发,该标记为由跨板聚合组控制。告警检测子单元设置为在每个成员端口都设有一个告警标记位,置1表示有告警,置0表示无告警。出端口选择逻辑子单元设置为根据优先级别从成员端口列表中选择出端口。每块单板的端口成员列表及端口状态会通过内部消息共享给其他单板,这样该系统上的每块单板都知道其他单板的端口成员情况。在 系统第一次初始化时,跨板聚合单元会将本地单板的所有线路侧端口成员及状态通知给其他单板。When the line side channel is changed or an alarm occurs, the forwarding flag of the local port is set according to the alarm processing policy, and the inter-board aggregation unit of other boards is notified through the expansion port. As shown in FIG. 4, the inter-board aggregation unit includes an alarm detection subunit, a forwarding control subunit, and an egress port selection logic subunit. The forwarding control subunit is configured to have a forwarding flag on each member port, and set 1 to forward, and 0 to not forward, and the label is controlled by the inter-board aggregation group. The alarm detection subunit is set to have an alarm flag bit on each member port. Setting 1 indicates that there is an alarm, and setting 0 indicates no alarm. The Out Port Selection Logic subunit is set to select an out port from the member port list based on the priority level. The port member list and port status of each board are shared with other boards through internal messages, so that each board on the system knows the port membership of other boards. In When the system is initialized for the first time, the inter-board aggregation unit notifies all the line-side port members and status of the local board to other boards.
根据线路侧端口的传输介质来判断线路侧通道状态和传输质量包括以下:Judging the line side channel status and transmission quality according to the transmission medium of the line side port includes the following:
1、当线路侧端口的传输介质为10M/100M/1000M电口时,只检测物理连接状态(up/down);1. When the transmission medium of the line side port is a 10M/100M/1000M electrical port, only the physical connection state (up/down) is detected;
2、当线路侧端口的传输介质为100M/GE或10GE光口时,检测物理连接状态以及光信号状况(弱光告警,强光告警等)。2. When the transmission medium of the line-side port is 100M/GE or 10GE optical port, the physical connection status and optical signal status (weak light alarm, strong light alarm, etc.) are detected.
3、当线路侧端口的传输介质为OTN端口时,根据OTN层告警来判断线路侧通道的传输质量,如表1中所列告警来作为跨板聚合组判断线路侧通道传输质量的条件。3. When the transmission medium of the line side port is an OTN port, the transmission quality of the line side channel is judged according to the OTN layer alarm, and the alarms listed in Table 1 are used as the condition for judging the transmission quality of the line side channel by the inter-board aggregation group.
表1 OTN层告警Table 1 OTN layer alarms
Figure PCTCN2014087397-appb-000001
Figure PCTCN2014087397-appb-000001
线路侧端口的传输介质可以有多种,不仅限于上述3种情况,不同的传输介质所检测的告警和链路状态不同,同时可以设置告警策略,选择是否将某些告警作为设置端口转发的条件,端口的转发状态也可人为配置。There are a variety of transmission media on the line side port. It is not limited to the above three cases. The alarms and link status detected by different transmission media are different. You can also set an alarm policy to select whether to use certain alarms as the conditions for setting port forwarding. The forwarding status of the port can also be configured manually.
当端口从有告警到无告警时,本地端口转发标记置0,并从级联口发送通知给其他单板,当端口从无告警到有告警时,本地端口转发标记置1,并发送通知报文给其他单板。 When the port is from alarm to no alarm, the local port forwarding flag is set to 0, and the notification is sent to the other boards from the expansion port. When the port is from no alarm to when there is an alarm, the local port forwarding flag is set to 1, and the notification is sent. Text to other boards.
三、单板将接收到客户侧的以太网报文通过二层转发单元转发到跨板聚合单元中。3. The board forwards the Ethernet packets received from the client to the inter-board aggregation unit through the Layer 2 forwarding unit.
四、跨板聚合单元收到客户侧的以太网报文后,根据转发策略选择出端口并将所述以太网报文进行转发。After receiving the Ethernet packet from the client side, the inter-board aggregation unit selects the egress port according to the forwarding policy and forwards the Ethernet packet.
其中,所述转发策略是指跨板聚合单元根据下列优先级从成员端口列表中选择出端口:若本地linkup的线路侧端口,其中端口号最小的优先转发;若其他单板linkup的线路侧端口,其中优先选择多个linkup端口的单板。The forwarding policy is that the inter-board aggregation unit selects the port from the member port list according to the following priority levels: if the line-side port of the local linkup, the port number of which is the smallest priority forwarding; if the line side port of the other board linkup A board with multiple linkup ports is preferred.
如图8所示,出端口如果是本地端口,则直接从本板端口转发出去。As shown in Figure 8, if the egress port is a local port, it will be forwarded directly from the local port.
圈1,网元A客户2报文从单板2进入;In circle 1, the network element A client 2 packet enters from the board 2;
圈2,经过二层转发单元,再经过跨板逻辑单元从单板2线路侧口出去; Circle 2, after passing through the layer 2 forwarding unit, and then exiting from the side port of the single board 2 through the cross-board logic unit;
圈3,报文从网元B单板2线路侧口进入;In circle 3, the packet enters from the line side of the network board B board 2 line;
圈4,经过二层转发单元,转发给网元B客户2。 Circle 4 is forwarded to the network element B client 2 through the layer 2 forwarding unit.
如图9所示,出端口如果是其他单板的端口,则先在客户业务报文前加一个私有报文头,然后转发给级联口。As shown in Figure 9, if the egress port is a port of another card, add a private packet header to the client service packet and forward it to the expansion port.
其步骤包括:The steps include:
圈1,入口时学习MAC:【客户2MAC,vid,单板2,端口1】; Circle 1, learn MAC at the entrance: [Customer 2MAC, vid, board 2, port 1];
圈2,从级联口转发出去,带私有报文头:【报文类型,单板2,端口1,单板1,端口2】。 Loop 2, forwarded from the expansion port, with a private packet header: [message type, board 2, port 1, board 1, port 2].
五、级联口收到报文后,根据报文类型来判断是通知报文还是业务报文,如果是通知报文就根据【单板ID+端口号】来设置成员端口列表中的转发标记。如果是业务报文,则根据内部MAC(Media Access Control,媒体访问控制)转发表项做转发,先根据源单板ID+源端口号+SMAC+VLAN来做学习MAC,然后根据目的单板ID+目的端口号做转发。其中内部MAC转发表项内容:【MAC,VID,单板ID,端口号】,其中key=【MAC,VID】,result=【单板ID,端口号】。5. After receiving the packet, the cascading interface determines whether it is a notification packet or a service packet according to the packet type. If the notification packet is a notification packet, the forwarding label in the member port list is set according to the [board ID+port number]. If it is a service packet, it is forwarded according to the internal MAC (Media Access Control) forwarding entry. The learning MAC address is based on the source card ID + source port number + SMAC + VLAN, and then the destination board ID + destination. The port number is forwarded. The content of the internal MAC forwarding entry: [MAC, VID, board ID, port number], where key=[MAC, VID], result=[board ID, port number].
其中,通知报文格式为:【报文类型+源单板ID+源单板端口号+转发状态】;The format of the notification packet is: [message type + source board ID + source board port number + forwarding status];
其中报文类型=0001,表示为通知报文; The packet type is 0001, which is expressed as a notification packet.
源单板ID:本地出现告警的单板ID;Source board ID: The board ID of the local alarm.
源单板端口号:本地出现告警的端口号;Source board port number: The port number where the alarm is generated locally.
转发状态:0-不转发,1-转发;Forwarding status: 0-no forwarding, 1-forwarding;
其中,业务报文包括私有报文头和客户业务报文,其业务报文格式为:【报文类型+源单板ID+源单板端口号+目的单板ID+目的单板端口号+客户业务报文】。The service packet includes the private packet header and the client service packet. The format of the service packet is: packet type + source board ID + source board port number + destination board ID + destination board port number + customer service Message].
其中,报文类型=0002,表示此报文为客户的转发报文。The packet type is 0002, indicating that the packet is a forwarding packet of the client.
源单板ID:表示客户接入的单板ID;Source board ID: indicates the board ID that the client accesses.
源单板端口号:表示客户接入的端口号;Source board port number: indicates the port number that the client accesses.
目的单板ID:表示发送的单板ID;Destination board ID: indicates the board ID to be sent.
目的单板端口号:表示发送的端口号;Destination board port number: indicates the port number to be sent.
其步骤包括:The steps include:
圈3,入口时学习MAC:【客户2MAC,vid,单板2,端口1】 Circle 3, learning MAC at the entrance: [Customer 2MAC, vid, board 2, port 1]
圈4,客户2的业务报文从端口发出,剥掉私有头 Circle 4, customer 2's service message is sent from the port, stripping the private header
圈5,入口学MAC:【客户2MAC,vid,单板1,端口3】 Circle 5, entrance learning MAC: [Customer 2MAC, vid, board 1, port 3]
圈6,从级联口转发出去,带私有报文头:【报文类型,单板1,端口3,ffff,ffff】 Circle 6, forwarded from the expansion port, with a private packet header: [message type, board 1, port 3, ffff, ffff]
圈7,入口时学习MAC:【客户2MAC,vid,单板1,端口3】Circle 7, learning MAC at the entrance: [Customer 2MAC, vid, board 1, port 3]
圈8,查MAC转发表,如果没有网元B客户2的MAC,则报文从端口1中洪泛出去,如果有网元B客户2的MAC,则直接从端口1转发出去。 Circle 8, check the MAC forwarding table. If there is no MAC of the client B of the network element B, the packet is flooded out from port 1. If there is the MAC of the client 2 of the network element B, it is directly forwarded from port 1.
综上所述,本发明包括以下步骤:In summary, the present invention includes the following steps:
a,N块单板线路侧端口形成一个跨板聚合组;a, N-type board line side ports form a cross-board aggregation group;
b,单板间通过背板级联口互联;b. The boards are interconnected through the backplane cascade ports;
c,获取线路侧通道的传输质量和连接状态; c, obtaining transmission quality and connection status of the line side channel;
d,跨板聚合单元根据线路侧端口的传输质量和连接状态来进行报文转发;d. The inter-board aggregation unit performs packet forwarding according to the transmission quality and connection status of the line side port.
e,如图6所示,正常情况下,本单板接入的客户侧业务从本单板的线路侧端口转发出去,当本单板有多个线路侧端口加入跨板聚合组中时,选择端口号小的转发;e. As shown in Figure 6, the client-side service that is connected to the card is forwarded from the line-side port of the card. When multiple card-side ports are added to the inter-board aggregation group. Select a forwarding with a small port number;
f,如图7所示,当本单板线路侧通道出现故障时,通过其他单板的线路侧通道进行传输,传输通道会选择带宽占用较小的使用。f. As shown in Figure 7, when the line side channel of the board fails, the line side channel of the other board transmits. The transmission channel selects the bandwidth to occupy less.
也就是说,当单板损毁时,无需更换单板,只要将客户侧设备接入其他单板即可,当客户侧端口失效后,只要更换接入端口即可(端口可以是其他单板的端口),当线路侧链路失效后,跨板聚合单元会自动切换到其他链路上。That is, when the board is damaged, you do not need to replace the board. You only need to connect the client-side device to other boards. When the client-side port fails, you only need to replace the access port. (The port can be other boards. Port), when the line side link fails, the inter-board aggregation unit will automatically switch to other links.
综上所述,本发明具有以下技术效果:In summary, the present invention has the following technical effects:
本发明通过将多块单板进行级联,并通过每块单板中的跨板聚合单元使线路侧端口形成一个跨板聚合组,使得无需人为或无需使用自动保护倒换协议参与,即可实现线路侧通道的保护,同时传输数据可以共享所有线路侧端口的带宽,增加了线路侧带宽的利用率。The invention realizes cascading a plurality of boards and forming a cross-board aggregation group on the line side ports through the inter-board aggregation unit in each board, so that the interaction can be realized without artificial or unnecessary use of the automatic protection switching protocol. The protection of the line side channel, while transmitting data can share the bandwidth of all line side ports, increasing the utilization of the line side bandwidth.
尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention are to be understood as falling within the scope of the invention.
工业实用性Industrial applicability
基于本发明实施例提供的上述技术方案,通过将多块单板进行级联,并通过每块单板中的跨板聚合单元使线路侧端口形成一个跨板聚合组,使得无需人为或无需使用自动保护倒换协议参与,即可实现线路侧通道的保护,同时传输数据可以共享所有线路侧端口的带宽,增加了线路侧带宽的利用率。 According to the foregoing technical solution provided by the embodiment of the present invention, by cascading a plurality of boards and forming a cross-board aggregation group by the inter-board aggregation unit in each board, no artificial or unnecessary use is required. The automatic protection switching protocol participates to realize the protection of the line side channel, and the transmission data can share the bandwidth of all the line side ports, thereby increasing the utilization of the line side bandwidth.

Claims (10)

  1. 一种实现跨板通道保护方法,包括以下步骤:A method for implementing cross-board channel protection includes the following steps:
    对于邻接的两个网元,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;A port-span aggregation group is formed on the line-side ports of the two network elements by cascading a plurality of boards in each of the network elements.
    所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;Each board of the two network elements performs real-time detection on the transmission quality and/or connection status of the line side port thereof;
    当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。When a board of a network element detects that the transmission quality and/or the connection status of the line-side port of the board is abnormal, the board forwards the packet from the client through the cascaded other boards and the port-span aggregation group. The service of the other end is sent to the corresponding board of another network element.
  2. 根据权利要求1所述的方法,其中,所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。The method of claim 1, wherein the board comprises a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each board in each of the network elements passes through The two cascade ports are cascaded, and a plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  3. 根据权利要求1所述的方法,其中,所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测包括:The method according to claim 1, wherein real-time detection of the transmission quality and/or connection status of each line side port of each of the two network elements comprises:
    当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;When the line-side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port, the physical connection status of the line-side port is detected in real time.
    当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。When the line side port of each board is an optical transport network OTN port, the transmission quality of the line side port is detected in real time.
  4. 根据权利要求2所述的方法,其中,所述单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板包括:The method according to claim 2, wherein the forwarding of the service from the client to the corresponding board of the other network element by the board through the cascaded other boards and the port-span aggregation group includes:
    所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;After receiving the service from the client side, the board adds a private packet header before the packet of the received client side service;
    根据所添加的私有报文头选择通过所述级联端口级联的其他单板;Selecting other boards that are cascaded through the expansion port according to the added private packet header;
    利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。 The service of the client is forwarded to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
  5. 根据权利要求4所述的方法,其中,所述每块单板包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;The method of claim 4, wherein each of the boards comprises a line side port member list, each line side port including a forwarding flag and an alarm flag;
    其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
  6. 一种实现跨板通道保护装置,包括:A cross-board channel protection device comprising:
    形成端口跨板聚合组模块,设置为在邻接的两个网元中,通过对每个网元中的多块单板级联,在所述两个网元中的线路侧端口形成端口跨板聚合组;A port-to-board aggregation group module is formed, and is configured to form a port spanning board on the line side ports of the two network elements by cascading a plurality of boards in each of the two network elements in the adjacent two network elements. Aggregation group
    监测模块,设置为所述两个网元的每块单板对其线路侧端口的传输质量和/或连接状态进行实时检测;The monitoring module is configured to perform real-time detection on the transmission quality and/or connection status of each line side port of each of the two network elements;
    转发模块,设置为当一个网元的一块单板检测到其单板线路侧端口的传输质量和/或连接状态不正常时,则该单板经由级联的其他单板和所述端口跨板聚合组转发来自客户端的业务给另一个网元的对应单板。The forwarding module is configured to: when a board of a network element detects that the transmission quality and/or the connection status of the line side port of the board is abnormal, the board passes the cascaded other boards and the port cross-board The aggregation group forwards the service from the client to the corresponding board of another network element.
  7. 根据权利要求6所述的装置,其中,所述单板包括多个客户侧端口、多个线路侧端口以及两个级联端口;其中,所述每个网元中的每块单板通过所述两个级联端口进行级联,在所述两个网元中的多块单板的多个线路侧端口形成端口跨板聚合组。The device of claim 6, wherein the board comprises a plurality of client side ports, a plurality of line side ports, and two cascade ports; wherein each board in each of the network elements passes through The two cascade ports are cascaded, and a plurality of line side ports of the plurality of boards in the two network elements form a port cross-board aggregation group.
  8. 根据权利要求6所述的装置,其中,所述检测模块包括:The apparatus of claim 6 wherein said detecting module comprises:
    连接状态检测单元,设置为当每块单板的线路侧端口为10M/100M/1000M电口或100M/GE或10GE光口时,对线路侧端口的物理连接状态进行实时检测;The connection state detecting unit is configured to perform real-time detection on the physical connection state of the line side port when the line side port of each board is a 10M/100M/1000M electrical port or a 100M/GE or 10GE optical port;
    传输质量检测单元,设置为当每块单板的线路侧端口为光传送网OTN端口时,对线路侧端口的传输质量进行实时检测。The transmission quality detecting unit is configured to perform real-time detection on the transmission quality of the line side port when the line side port of each board is the optical transport network OTN port.
  9. 根据权利要求7所述的装置,其中,所述转发模块包括:The apparatus of claim 7, wherein the forwarding module comprises:
    添加报文头单元,设置为所述单板接收到来自客户侧的业务后,在所接收客户侧业务的报文前添加私有报文头;The packet header unit is added, and after the board receives the service from the client side, the private packet header is added before the packet of the received client side service.
    选择其他单板单元,设置为根据所添加的私有报文头选择通过所述级联端口级联的其他单板;Select another board unit, and set the other boards that are cascaded through the expansion port according to the added private packet header.
    转发单元,设置为利用所选择的其他单板和所述端口跨板聚合组转发所述客户端的业务给另一个网元的对应单板。 The forwarding unit is configured to forward the service of the client to the corresponding board of another network element by using the selected other board and the port-span aggregation group.
  10. 根据权利要求9所述的装置,其中,所述每块单板包含一张线路侧端口成员列表,所述每个线路侧端口包括转发标记和告警标记;The apparatus of claim 9, wherein each of the boards comprises a line side port member list, each line side port including a forwarding flag and an alarm flag;
    其中,所述每块单板将所述线路侧端口成员列表中每个线路侧端口的转发标记和告警标记以通知报文的格式经由级联端口通知给其他单板。 Each of the boards notifies the forwarding label and the alarm flag of each line-side port in the line-side port member list to the other boards in the format of the notification message via the cascade port.
PCT/CN2014/087397 2014-04-16 2014-09-25 Method and apparatus for implementing cross-board channel protection WO2015158112A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410151531.0 2014-04-16
CN201410151531.0A CN105024837A (en) 2014-04-16 2014-04-16 Method of realizing bridge plate channel protection and apparatus thereof

Publications (1)

Publication Number Publication Date
WO2015158112A1 true WO2015158112A1 (en) 2015-10-22

Family

ID=54323450

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087397 WO2015158112A1 (en) 2014-04-16 2014-09-25 Method and apparatus for implementing cross-board channel protection

Country Status (2)

Country Link
CN (1) CN105024837A (en)
WO (1) WO2015158112A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021180007A1 (en) * 2020-03-11 2021-09-16 华为技术有限公司 Service bearing method, apparatus and system
CN115333995A (en) * 2022-08-13 2022-11-11 刘学 Method, system, equipment and medium for realizing routing message mechanism

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547452B (en) * 2017-07-11 2020-09-25 新华三技术有限公司 Distributed communication equipment and message forwarding method and device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515835A (en) * 2009-03-27 2009-08-26 中兴通讯股份有限公司 Method and device for backing up across-board optical port
CN101645750A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 Distributed electrical cross device and system and method thereof for realizing SNC cascade protection
CN101931546A (en) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 Ethernet interface device between protection veneers

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242335A (en) * 2008-02-26 2008-08-13 中兴通讯股份有限公司 Multi-link load share processing device and method and MPLS VPN network device
CN101877667B (en) * 2009-04-30 2013-01-09 华为技术有限公司 Message forwarding method, device and system
CN101854567B (en) * 2010-05-14 2013-06-12 中兴通讯股份有限公司 Data transmission method and device of optical transmission layer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515835A (en) * 2009-03-27 2009-08-26 中兴通讯股份有限公司 Method and device for backing up across-board optical port
CN101931546A (en) * 2009-06-25 2010-12-29 大唐移动通信设备有限公司 Ethernet interface device between protection veneers
CN101645750A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 Distributed electrical cross device and system and method thereof for realizing SNC cascade protection

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021180007A1 (en) * 2020-03-11 2021-09-16 华为技术有限公司 Service bearing method, apparatus and system
CN115333995A (en) * 2022-08-13 2022-11-11 刘学 Method, system, equipment and medium for realizing routing message mechanism
CN115333995B (en) * 2022-08-13 2024-03-22 刘学 Method, system, equipment and medium for realizing routing message mechanism

Also Published As

Publication number Publication date
CN105024837A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
US9350680B2 (en) Protection switching over a virtual link aggregation
US9602348B2 (en) Methods and apparatus for detecting and handling split brain issues in a link aggregation group
CN104980372A (en) Relay System And Switching Device
US20080068985A1 (en) Network redundancy method and middle switch apparatus
US9455916B2 (en) Method and system for changing path and controller thereof
CA2311197A1 (en) Enhanced dual counter rotating ring network control system
US11057317B2 (en) Synchronizing multicast router capability towards ethernet virtual private network (EVPN) multi-homed protocol independent multicast (PIM) device
EP2672665B1 (en) Communication system, communication method, and communication device
CN103944828A (en) Method and equipment for transmitting protocol messages
KR101640017B1 (en) Packet transport system and traffic management method thereof
US9515881B2 (en) Method, device, and system for packet processing
CN109691031B (en) Service message transmission method and node equipment
CN110912815B (en) Network element ring formation preventing method, device, equipment and readable storage medium
US9036629B2 (en) Switch module
CN102437919B (en) Access router and link reliability protection method
US9787607B2 (en) End-to-end provisioning of Ethernet Virtual Circuits
WO2015158112A1 (en) Method and apparatus for implementing cross-board channel protection
US10476774B2 (en) Selective transmission of bidirectional forwarding detection (BFD) messages for verifying multicast connectivity
CN109167693B (en) Isolation configuration method and device based on cross-chassis link aggregation group (MLAG)
JP4948320B2 (en) Multi-ring RPR node device
JP2010141845A (en) Communication apparatus including multiple servers and communication method
US8614958B2 (en) Systems and methods of snooping connectivity fault messages to configure maintenance end point for alarm suppression messages
AU2009339348B2 (en) Method for using a computer network
WO2020156355A1 (en) Load sharing method, device, system, single board and storage medium
CN108337162A (en) System and method for supporting dual-homing protection

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

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

Country of ref document: EP

Kind code of ref document: A1