WO2011140873A1 - Data transport method and apparatus for optical transport layer - Google Patents

Data transport method and apparatus for optical transport layer Download PDF

Info

Publication number
WO2011140873A1
WO2011140873A1 PCT/CN2011/072550 CN2011072550W WO2011140873A1 WO 2011140873 A1 WO2011140873 A1 WO 2011140873A1 CN 2011072550 W CN2011072550 W CN 2011072550W WO 2011140873 A1 WO2011140873 A1 WO 2011140873A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
channel
otn
aggregation group
transmission
Prior art date
Application number
PCT/CN2011/072550
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 WO2011140873A1 publication Critical patent/WO2011140873A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2861Point-to-multipoint connection from the data network to the subscribers

Definitions

  • the present invention relates to the field of communications, and in particular to a data transmission method and apparatus for an optical transmission layer.
  • a line side channel is mainly protected by 1+1, 1 : 1 or 1: N. Ways to improve the reliability of the link.
  • the 1+1 protection mode means that the same information (concurrent) is sent on both the active and standby channels, and the receiving end selects to receive the service on the active channel under normal conditions. Since the services on the active and standby channels are the same, when the primary channel is damaged, the active service can be restored by switching to select the service on the standby channel.
  • 1 protection mode means that the sender sends the primary service on the primary channel and sends the extra service (low-level service) on the alternate channel.
  • the receiver receives the primary service from the primary channel and receives the primary service from the secondary channel. Additional business.
  • the transmitting end switches the primary service to the alternate channel for transmission, and the receiving end switches to select the primary service from the alternate channel. At this time, the additional service is terminated, and the primary service is terminated. The service transmission is restored;
  • N protection mode means that N service channels share a protection channel. When one of the N service channels fails, the service on the service channel is switched to the alternate channel for transmission. If multiple service channels in the N service channels are faulty, the protection of multiple services cannot be implemented.
  • M N protection means that N service channels share M protection channels. The inventor has found that, in the above several protection modes, when the service channel is normal, the protection channel does not transmit the service, or transmits the same service as the service channel, or transmits additional services, and each service channel is independent of each other, thereby causing The bandwidth utilization of the line side channel is not high, and the channel bandwidth reusability is not strong. Moreover, these protection modes cannot protect all line side service channels.
  • a primary object of the present invention is to provide a data transmission method and apparatus for an optical transmission layer to solve at least one of the above problems.
  • a data transmission method for an optical transmission layer including: setting an available channel on a line side of an optical transmission layer in an aggregation group; between a layer 2 switching unit and an optical transmission network, The customer side service data is transmitted through the available channels in the above aggregation group.
  • the available channel on the line side is a transmission channel between a layer 2 switch port and an optical transport network OTN transmission unit on the layer 2 switching unit, and an OTN between the OTN transmission unit and the optical transport network.
  • Layer channel composition is a transmission channel between a layer 2 switch port and an optical transport network OTN transmission unit on the layer 2 switching unit, and an OTN between the OTN transmission unit and the optical transport network.
  • the setting of the available channel on the line side of the optical transmission layer to the aggregation group includes: the layer 2 switching unit configuring the aggregation group for the channel on the line side; and the layer 2 switching unit polling the line side Alarm information of each of the OTN layer channels and state information of a transmission channel between each of the Layer 2 switch ports and the OTN transmission unit; the Layer 2 switching unit is in a connected state with a transmission channel between the OTN transmission unit, The Layer 2 switch port with no alarm information on the corresponding OTN layer channel is bound to the aggregation group.
  • the Layer 2 switching unit is configured to be in the connection state with the transmission channel of the OTN transmission unit, and the Layer 2 switching port of the corresponding OTN layer channel without the alarm information is bound to the aggregation group.
  • the method further includes: setting the state of the Layer 2 switching port to a non-forwarding state, and determining whether the Layer 2 switching port corresponding to the OTN layer is bound The aggregation group is determined, and if yes, the Layer 2 switch port is deleted from the aggregation group.
  • the method further includes: setting a state of the Layer 2 switch port to a non-forward state, and determining that the OTN layer corresponds to Whether the Layer 2 switching port is bound to the aggregation group, and if yes, deleting the Layer 2 switching port from the aggregation group.
  • the transmitting the service data of the client side by using the available channel in the aggregation group includes: the layer 2 switching unit receiving service data from the client side; and the layer 2 switching unit passing one or more of the aggregation groups
  • the Layer 2 switching port forwards the service data to the OTN chip; the OTN chip sends the service data to the optical transport network through an OTN layer channel between the OTN chip and the optical transport network.
  • a layer 2 switching unit is provided, including: an aggregation management module and a transmission module.
  • the aggregation management module is configured to set an available channel on the line side of the optical transport layer as an aggregation group, where the available channel is a transmission channel between the Layer 2 switch port and the OTN transmission unit on the Layer 2 switching unit, and the OTN.
  • the OTN layer channel is formed between the transmission unit and the optical transport network; and the transmission module is configured to transmit the service data of the client side between the layer 2 switching unit and the optical transport network through the available channels in the aggregation group.
  • the layer 2 switching unit further includes: a main control module, configured to configure the aggregation group; and a detection module, configured to poll the alarm information of each of the OTN layer channels, and each of the Layer 2 switch ports and the OTN transmission unit Status information of the transmission channel between the two; the aggregation management module is configured to bind the transmission channel of the OTN transmission unit to the connection state, and the corresponding OTN layer channel has no alarm information binding layer 2 switch port to the aggregation group.
  • the main control module is further configured to set the corresponding OTN layer channel with alarm information or a Layer 2 switch port that is not in a connection state with the OTN transmission unit to be in a non-forward state; the aggregation management module further The layer 2 switch port that is configured to have alarm information in the corresponding OTN layer channel in the aggregation group or is not connected to the transmission channel between the OTN transmission unit is deleted from the aggregation group.
  • the solution is solved.
  • FIG. 2 is a flowchart of a data transmission method of an optical transmission layer according to Embodiment 1 of the present invention
  • FIG. 3 is a line side channel link according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a two-layer switching unit according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic structural diagram of a two-layer switching unit according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of optical transmission according to Embodiment 2 of the present invention
  • FIG. 7 is a flowchart of determining whether to bind a layer 2 switch port to an aggregation group of switch chip hardware according to the second embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a DWDM system according to an embodiment of the present invention.
  • a client-side service is accessed through a Layer 2 switching unit 1
  • a client-side service is accessed through a Layer 2 switching unit 1.
  • the transmission to the optical transport network 2 i.e., the DWDM system
  • the side accessing the DWDM system or the optical transport network 2 is referred to as the line side.
  • Link aggregation is to aggregate multiple physical Ethernet ports to form a logical aggregation group.
  • the upper layer entities in the same aggregation group use multiple physical links in the same aggregation group as one logical link.
  • Link aggregation can implement load balancing between the member ports of an aggregation group to increase the bandwidth.
  • each member port of the same aggregation group is dynamically backed up with each other, so the reliability of the connection can be improved.
  • the available channel between the layer 2 switching unit 1 and the optical transport network 2 ie, the line side
  • the available channel between the layer 2 switching unit 1 and the optical transport network 2 is set as an aggregation group.
  • all the line side channels in the same aggregation group can transmit services on any client side.
  • the customer side services can be transmitted through other channels of the aggregation group. Therefore, in the embodiment of the present invention, the service group controls the service transmission, and the protection of all channel services can be realized without other protection switching protocols, and the bandwidth can be increased without using other aggregation devices, and the bandwidth of the channel is fully utilized. Reduce network construction and equipment maintenance costs.
  • the data transmission method and the layer 2 switching unit of the optical transmission layer provided by the embodiment of the present invention are described below with reference to FIG. Embodiment 1 FIG.
  • Step S202 setting an available channel on the line side of the optical transmission layer at In an aggregation group; in practical applications, as shown in FIG. 3, the channel on the line side is transmitted between the Layer 2 switching port on the Layer 2 switching unit and the Optical Transmit Net (OTN) transmission unit.
  • OTN Optical Transmit Net
  • the channel and the OTN layer channel connection between the OTN transmission unit and the optical transport network are formed.
  • the line side port can be configured in the same aggregation group according to the transmission quality of the line side channel.
  • the transmission quality of the line side channel can pass the alarm of the OTN layer channel between the OTN transmission unit and the optical transmission network.
  • the information and the status information of the transmission channel between the Layer 2 switching port and the OTN transmission unit in the Layer 2 switching unit are jointly indicated, for example, if the OTN layer channel between the OTN transmission unit and the optical transport network has no alarm information and the OTN If the status of the transmission channel between the transmission unit and the Layer 2 switch port is the connection state, the line side channel is regarded as an available channel, and the Layer 2 switch port is bound to the aggregation group.
  • the layer 2 switching unit can acquire the alarm information of each channel OTN layer (that is, the OTN layer channel between the OTN transmission unit and the optical transport network) and the OTN transmission unit and the second in a polling manner. Status information of the transmission channel between the layer switch ports. If the OTN layer does not have the alarm information, the status information of the transmission channel between the OTN transmission unit and the Layer 2 switch port is further obtained, if the status information indicates that the transmission channel between the OTN transmission unit and the Layer 2 switch port is currently located. In the connection state, the Layer 2 switch port is bound to the aggregation group. Otherwise, to prevent the Layer 2 switch port from being in the aggregation group, the Layer 2 switch port can be set to not forward.
  • OTN layer that is, the OTN layer channel between the OTN transmission unit and the optical transport network
  • Step S204 The service data of the client side is transmitted between the layer 2 switching unit and the optical transport network through the available channels in the aggregation group.
  • the Layer 2 switching unit may send the service data to the transmission unit through one or more Layer 2 switching ports in the aggregation group, and the transmission unit performs the service.
  • the data is converted and sent to the optical transport network.
  • the line side channel mainly uses a transmission mode of 1+1, 1:1, or 1: , and each service channel is independent of each other, thereby causing problems such as low bandwidth utilization of the line side channel, and in this embodiment,
  • the line side port is configured in the same aggregation group, and the aggregation group controls the service transmission, and all the channel services can be protected without other protection switching protocols, and bandwidth can be realized without other aggregation devices.
  • the foregoing method of the present embodiment can be implemented by extending the existing Layer 2 switching unit.
  • the Layer 2 switching unit mainly includes: Management module 40 and transmission module 42.
  • the aggregation management module 40 is configured to set an available channel on the line side of the optical transport layer as an aggregation group, where the available channel is a transmission channel between the layer 2 switch port and the buffer transmission unit on the layer 2 switch unit, and ⁇ forming a layered channel between the transmission unit and the optical transport network;
  • the transmission module 42 is configured to transmit the service data of the client side between the layer 2 switching unit and the optical transport network through one or more available channels in the foregoing aggregation group .
  • FIG. 5 is a schematic structural diagram of a Layer 2 switching unit according to the embodiment.
  • the Layer 2 switching unit further includes: a main control module 44 and a detection module 46.
  • the main control module 44 is configured to configure the foregoing aggregation group.
  • the detection module 46 is configured to poll the alarm information of each layer channel and the status information of the transmission channel between each layer 2 switch port and the transmission unit.
  • the module 40 is configured to bind the layer 2 switch port with the transmission channel between the transmission channel and the transmission channel, and the corresponding layer 2 channel has no alarm information to the aggregation group configured by the main control module 44.
  • the main control module 44 is further configured to set the corresponding layer channel with alarm information or a layer 2 switch port that is not in a connection state with the transmission channel to be in a non-forward state;
  • the aggregation management module 40 is further configured to correspond to the foregoing aggregation group.
  • the OTN layer channel has the alarm information or the Layer 2 switching port that is not connected to the transmission channel between the OTN transmission unit and is deleted from the aggregation group.
  • the aggregation group can be set in the state of the Layer 2 switching port and the corresponding OTN layer channel alarm information, and the corresponding OTN layer channel has alarm information or Layer 2 that is not in the connected state.
  • the switch port is set to the non-forward state, thereby avoiding the case where the line side channel is looped.
  • FIG. 6 is a flowchart of the data transmission method of the optical transmission layer in the embodiment, which mainly includes the following steps: Step 601: The main control module 44 sets the Layer 2 switching port connected to the OTN transmission unit as an aggregation group. The aggregation group at this time is only the aggregation group definition of the software layer.
  • Step 602 The detection module 46 polls the alarm state of each OTN layer channel on the line side and the connection state of the layer 2 switch port, and sends the alarm information of each OTN layer channel and the connection state of the layer 2 switch port to the aggregation management module 40.
  • Step 603 The aggregation management module 40 determines whether to bind the Layer 2 switch port to the aggregation group of the switch chip hardware according to the alarm and port connection status of the OTN layer channel, and the specific process is shown in FIG. 7; Step 604, when the OTN layer channel and When the connection status of the Layer 2 switching port is normal, the line side channel is set to an aggregation group by the above steps.
  • the Ethernet packets on the client side are forwarded to the Layer 2 switching port through the Layer 2 switching unit.
  • the Layer 2 switching ports on the line side are all in the same aggregation group. It is sent to the OTN transmission unit through the aggregation port.
  • the OTN transmission unit encapsulates the Ethernet 4 into an OTN frame and transmits it to the optical transport network through channels of different wavelengths.
  • Step 605 When the link status of an OTN layer channel or a Layer 2 switch port on the line side fails, the Ethernet side of the client side can be transmitted to the optical transmission network through any one of the wavelength channels in the aggregation group. In practical applications, the probability of failure of all line side channels is very low. Therefore, the optical transmission layer data transmission method provided by the embodiment of the present invention has high reliability.
  • Step 701 Acquire an alarm of a current OTN layer channel; for example, the detection module 46
  • the alarm state of the OTN layer is obtained from the OTN transmission unit, and then transmitted to the aggregation management module 40 for processing.
  • Step 702 Determine whether there is an alarm generated in the OTN layer of the channel. If yes, go to step 703; otherwise, go to step 705.
  • the aggregation management module 40 processes the alarm information sent by the detection module 46 according to the alarm priority order of the OTN layer. One of the listed alarms is considered to have an alarm generated, and the priority of detecting the alarm is from top to bottom. Table 1.
  • Step 703 Determine whether the Layer 2 switch port connected to the channel is configured in the aggregation group of the chip. If yes, go to step 707; otherwise, go to step 704; Step 704: Set the Layer 2 switch port to not forward. By configuring the switch chip, you can control the port to not participate in the exchange and forwarding of packets. This operation is to prevent the line side ringing when the line side port is not in the aggregation group.
  • Step 705 Obtain a connection state of the Layer 2 switch port connected to the channel.
  • the alarm priority of the OTN layer is higher than the link state alarm priority of the switch chip port, and the OTN layer alarm belongs to the external alarm of the device.
  • the link alarm is an internal alarm of the device.
  • Step 706 Determine whether the transmission channel of the Layer 2 switch port and the OTN chip is in a connected state. If yes, go to step 708; otherwise, go to step 707; Step 707, Step 704, set the Layer 2 switch port to not forward.
  • Step 708 Determine whether the Layer 2 switch port is bound to the hardware aggregation group of the switch chip, and if yes, perform step 4 712; otherwise, perform step 4 710; Step 709, perform the Layer 2 switch port The eNB is removed from the hardware aggregation group.
  • Step 710 Bind the Layer 2 switch port to the switch chip hardware aggregation group.
  • Step 711 Set the Layer 2 switch port to the forwarding state. Yan Wen. Step 4 gathers 712 and goes to the next line side port for processing.
  • the line side channel link aggregation can be completed through the above steps.
  • the aggregation group is set on the layer 2 switching unit side as an example in the foregoing embodiment, the present invention is not limited thereto. In practical applications, the optical transport network may also set the client side channel in a similar manner. The aggregation group, the specific implementation is not mentioned. From the above description, it can be seen that the line-side wavelength channel can be protected by the embodiment of the present invention, and the protection mode provided by the embodiment of the present invention is relative to the protection mode of 1+1, 1 : 1 or 1: N. More reliable.
  • the technical solution provided by the embodiment of the present invention can also improve the utilization of the line side channel bandwidth.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be executed by a computing device
  • the program code is implemented so that they can be stored in the storage device by the computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be separately produced.
  • the individual integrated circuit modules are implemented, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Abstract

The invention discloses a data transport method and an apparatus for an optical transport layer. The method includes: setting available channels on the line side of the optical transport layer into an aggregation group (S202), and through the above mentioned available channels of the aggregation group, transporting service data on the client side between a layer 2 switch unit and an optical transport network (S204). The invention enables sufficient utilization of all channels of each wavelength on the line side, and enables protection on Ethernet services of all channels on the line side.

Description

光传输层的数据传输方法 ^置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种光传输层的数据传输方法及 装置。 背景技术 目前, 在密集波分复用 ( Dense Wavelength Division Multiplex, 简称为 DWDM ) 系统中, 对于主千网的光传输层, 线路侧通道主要用 1+1 , 1 : 1或 1 : N等保护方式来提高链路的可靠性。  TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a data transmission method and apparatus for an optical transmission layer. BACKGROUND OF THE INVENTION Currently, in a Dense Wavelength Division Multiplex (DWDM) system, for an optical transmission layer of a primary network, a line side channel is mainly protected by 1+1, 1 : 1 or 1: N. Ways to improve the reliability of the link.
1+1保护方式是指主备两个通道上发同样的信息(并发), 接收端在正常 情况下选择接收主用通道上的业务。 由于主备通道上的业务相同, 因此, 在 主用通道损坏时, 通过切换选择接收备用通道上的业务可以使主用业务得以 恢复; The 1+1 protection mode means that the same information (concurrent) is sent on both the active and standby channels, and the receiving end selects to receive the service on the active channel under normal conditions. Since the services on the active and standby channels are the same, when the primary channel is damaged, the active service can be restored by switching to select the service on the standby channel.
1 : 1保护方式是指在正常时发送端在主用通道上发送主用业务, 在备用 通道上发送额外业务(低级别业务), 接收端从主用通道接收主用业务, 从备 用通道接收额外业务。 当主用通道损坏时, 为保证主用业务的传输, 发送端 将主用业务切换到备用通道上发送, 接收端将切换到从备用通道选择接收主 用业务, 此时额外业务被终结, 主用业务传输得到恢复; 1 : 1 protection mode means that the sender sends the primary service on the primary channel and sends the extra service (low-level service) on the alternate channel. The receiver receives the primary service from the primary channel and receives the primary service from the secondary channel. Additional business. When the primary channel is damaged, in order to ensure the transmission of the primary service, the transmitting end switches the primary service to the alternate channel for transmission, and the receiving end switches to select the primary service from the alternate channel. At this time, the additional service is terminated, and the primary service is terminated. The service transmission is restored;
1 : N保护方式是指 N条业务通道共用一条保护通道, 当 N条业务通道 中的 1条业务通道出现故障时, 将该业务通道上的业务切换到备用通道上传 输, 釆用这种方式, 如果 N条业务通道中有多条业务通道出现故障时, 则无 法实现对多条业务的保护; 类似地, M: N保护是指 N条业务通道共用 M条保护通道。 发明人发现, 在上述几种保护方式中, 在业务通道正常时, 保护通道或 者不传送业务, 或者传输与业务通道一样的业务, 或者传输额外业务, 而且, 每个业务通道相互独立, 从而导致线路侧通道带宽利用率不高, 通道带宽复 用性不强, 并且, 这些保护方式无法对所有线路侧业务通道进行保护。 发明内容 本发明的主要目的在于提供一种光传输层的数据传输方法及装置, 以至 少解决上述问题之一。 根据本发明的一个方面, 提供了一种光传输层的数据传输方法, 包括: 将光传输层的线路侧的可用通道设置在一个聚合组中; 在二层交换单元与光 传送网之间, 通过上述聚合组中的可用通道传输客户侧的业务数据。 其中, 所述线路侧的可用通道由所述二层交换单元上的二层交换端口与 光传送网 OTN传输单元之间的传输通道以及所述 OTN传输单元与所述光传 送网之间的 OTN层通道构成。 其中, 将光传输层的线路侧的可用通道设置为聚合组包括: 所述二层交 换单元为所述线路侧的通道配置所述聚合组; 所述二层交换单元轮询所述线 路侧的各个所述 OTN层通道的告警信息以及各个所述二层交换端口与 OTN 传输单元之间的传输通道的状态信息; 所述二层交换单元将与 OTN传输单 元之间的传输通道处于连接状态、 且对应的 OTN层通道没有告警信息的二 层交换端口绑定到所述聚合组。 其中, 二层交换单元将与 OTN传输单元之间的传输通道处于连接状态、 且对应的 OTN层通道没有告警信息的二层交换端口绑定到所述聚合组包括: 所述二层交换单元判断所述二层交换端口对应的所述 OTN层通道是否有告 警信息产生, 如果不是, 则进一步判断该二层交换端口与 OTN传输单元之 间的传输通道是否处于连接状态, 如果是, 且该二层交换端口没有绑定到所 述聚合组, 则将该二层交换端口绑定到所述通道可用。 其中, 如果判断所述 OTN层通道有告警信息产生, 则还包括: 将所述 二层交换端口的状态设置为不转发状态, 并判断所述 OTN层对应的所述二 层交换端口是否已绑定到所述聚合组, 如果是, 将所述二层交换端口从所述 聚合组中删除。 其中, 如果判断所述二层交换端口与 OTN传输单元之间的传输通道不 处于连接状态, 则还包括: 将所述二层交换端口的状态设置为不转发状态, 并判断所述 OTN层对应的所述二层交换端口是否已绑定到所述聚合组, 如 果是, 将所述二层交换端口从所述聚合组中删除。 其中, 通过所述聚合组中的可用通道传输客户侧的业务数据包括: 所述 二层交换单元接收来自客户侧的业务数据; 所述二层交换单元通过所述聚合 组内的一个或多个所述二层交换端口将所述业务数据转发给所述 OTN芯片; 所述 OTN芯片通过其与所述光传送网之间的 OTN层通道将所述业务数据发 送给所述光传送网。 根据本发明的另一方面, 提供了一种二层交换单元, 包括: 聚合管理模 块和传输模块。 其中, 聚合管理模块, 设置为将光传输层的线路侧的可用通 道设置为聚合组, 其中, 该可用通道由二层交换单元上的二层交换端口与 OTN传输单元之间的传输通道以及 OTN传输单元与光传送网之间的 OTN层 通道构成; 传输模块, 设置为通过聚合组中的可用通道传输二层交换单元与 光传送网之间的客户侧的业务数据。 其中, 该二层交换单元还包括: 主控模块, 用于配置所述聚合组; 检测 模块, 设置为轮询各个所述 OTN层通道的告警信息以及各个所述二层交换 端口与 OTN传输单元之间的传输通道的状态信息; 所述聚合管理模块设置 为将与 OTN传输单元之间的传输通道处于连接状态、 且对应的 OTN层通道 没有告警信息的二层交换端口绑定到所述聚合组。 其中, 所述主控模块还设置为将对应的 OTN层通道有告警信息或与 OTN传输单元之间的传输通道不处于连接状态的二层交换端口设置为不转 发状态; 所述聚合管理模块还设置为将所述聚合组中对应的 OTN层通道有 告警信息或与 OTN传输单元之间的传输通道不处于连接状态的二层交换端 口从所述聚合组中删除。 通过本发明,通过将光传输层的线路侧的可用通道设置在一个聚合组中, 通过该聚合组中的可用通道传输二层交换单元与光传送网之间的客户端侧的 业务数据, 解决了相关技术中线路侧通道带宽利用率不高、 复用性不强的问 题, 进而充分利用所有线路侧的各个波长通道, 并且可以对所有线路侧通道 的以太网业务进行保护。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为根据本发明实施例的 DWDM系统的架构示意图; 图 2为根据本发明实施例一的光传输层的数据传输方法的流程图; 图 3为根据本发明实施例的线路侧通道链路示意图; 图 4为 居本发明实施例二的二层交换单元的结构示意图; 图 5为 居本发明实施例二的二层交换单元的结构示意图; 图 6为根据本发明实施例二的光传输层的数据传输方法的流程图; 图 7为根据本发明实施例二的判断是否将某个二层交换端口绑定到交换 芯片硬件的聚合组的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1为根据本发明实施例的 DWDM系统的架构示意图, 如图 1所示, 在本发明实施例中, 客户侧业务通过二层交换单元 1接入, 通过二层交换单 元 1将客户侧业务传输到光传送网 2 (即 DWDM系统),在本发明实施例中, 将接入 DWDM系统或光传送网 2的一侧称为线路侧。 链路聚合是将多个物理以太网端口聚合在一起形成一个逻辑上的聚合 组, 使用链路聚合服务的上层实体把同一聚合组内的多条物理链路视为一条 逻辑链路。 链路聚合可以实现出 /入负荷在聚合组中各个成员端口之间分担 , 以增加带宽。 同时, 同一聚合组的各个成员端口之间彼此动态备份, 因此可 以提高连接的可靠性。 如图 1所示,在本发明实施例中,二层交换单元 1与光传送网 2之间(即 线路侧) 的可用通道被设置为一个聚合组。 如果线路侧的所有通道都正常, 则同一聚合组下的所有线路侧通道都可以传送任意客户侧的业务, 而当线路 侧有通道出现路障时, 客户侧业务可以通过聚合组的其他通道传送。 因此, 在本发明实施例中, 由聚合组控制业务传输, 无需其他保护倒换协议即可实 现所有通道业务的保护, 而且不用其他汇聚设备即可实现带宽的增加, 同时 充分利用了通道的带宽, 降低了网络建设和设备维护成本。 下面结合图 1对本发明实施例提供的光传输层的数据传输方法和二层交 换单元进行描述。 实施例一 图 2为本实施例中光传输层的数据传输方法的流程图, 该方法主要包括 以下步骤 (步骤 S202 -步骤 S204 ): 步骤 S202, 将光传输层的线路侧的可用通道设置在一个聚合组中; 在实际应用中, 如图 3所示, 线路侧的通道由二层交换单元上的二层交 换端口与光传送网 ( Optical Transmit Net, 简称为 OTN )传输单元之间的传 输通道以及 OTN传输单元与光传送网之间的 OTN层通道连接构成。 在设置聚合组时, 可以根据线路侧通道的传输质量将线路侧端口配置在 同一聚合组下, 其中, 线路侧通道的传输质量可以通过 OTN传输单元与光 传送网之间的 OTN层通道的告警信息以及二层交换单元中的二层交换端口 与 OTN传输单元之间的传输通道的状态信息联合指示,例如,如果某个 OTN 传输单元与光传送网之间 OTN层通道没有告警信息且该 OTN传输单元与二 层交换端口之间的传输通道的状态为连接状态, 则将该线路侧通道视为可用 通道, 将该二层交换端口绑定到聚合组。 在本发明优选实施例中, 二层交换单元可以以轮询的方式实时的获取各 个通道 OTN层 (即 OTN传输单元与光传送网之间的 OTN层通道) 的告警 信息及 OTN传输单元与二层交换端口之间的传输通道的状态信息。 如果某 个 OTN层没有告警信息, 则进一步获取 OTN传输单元与二层交换端口之间 的传输通道的状态信息, 如果该状态信息指示该 OTN传输单元与二层交换 端口之间的传输通道当前处于连接状态,则将该二层交换端口绑定到聚合组, 否则,为了避免该二层交换端口不在聚合组中的时候出现线路侧成环的情况, 可以将该二层交换端口设置为不转发状态, 并且, 如果该二层交换端口已绑 定在聚合组中, 则将该二层交换端口从聚合组中删除。 并且, 某个二层交换 端口对应的 OTN层通道如果有告警信息, 则可以将二层交换端口设置为不 转发状态, 并且, 如果该二层交换端口已绑定在聚合组中, 则将该二层交换 端口从聚合组中删除。 步骤 S204, 在二层交换单元与光传送网之间, 通过所述聚合组中的可用 通道传输客户侧的业务数据。 例如, 二层交换单元在接收来自客户侧的业务数据时, 二层交换单元可 以通过聚合组中的一个或多个二层交换端口将该业务数据发送给 ΟΤΝ传输 单元, ΟΤΝ传输单元对该业务数据进行转换后发送到光传送网。 由于相关技术中, 线路侧通道主要用 1+1、 1 : 1或 1 : Ν的传输方式, 每个业务通道相互独立, 从而导致线路侧通道带宽利用率不高等问题, 而本 实施例中, 根据线路侧通道的传输质量将线路侧端口配置在同一聚合组下, 同聚合组控制业务传输, 无需其他保护倒换协议即可实现所有通道业务的保 护, 并且不需要其他汇聚设备即可实现带宽的增加, 充分利用线路侧各个波 长通道, 降低了网络建立和设备维护的成本。 在实际应用中, 可以通过对现有的二层交换单元进行扩展来实现本实施 例的上述方法, 图 4为本实施例的二层交换单元的结构示意图, 该二层交换 单元主要包括: 聚合管理模块 40和传输模块 42。 其中, 聚合管理模块 40 , 设置为将光传输层的线路侧的可用通道设置为聚合组, 其中, 该可用通道由 二层交换单元上的二层交换端口与 ΟΤΝ传输单元之间的传输通道以及 ΟΤΝ 传输单元与光传送网之间的 ΟΤΝ层通道构成; 传输模块 42 , 设置为通过上 述聚合组中的一个或多个可用通道传输二层交换单元与光传送网之间的客户 侧的业务数据。 通过本实施例的上述二层交换单元, 通过将线路侧的可用通道设置为聚 合组, 通过该聚合组中的一个或多个可用通道传输任意客户侧的业务, 从而 可以提高线路侧通道的利用率和线路侧链路的可靠性。 实施例二 图 5为本实施例的二层交换单元的结构示意图, 在本实施例中, 二层交 换单元还包括: 主控模块 44和检测模块 46。 其中, 主控模块 44 , 用于配置 上述聚合组; 检测模块 46 , 设置为轮询各个 ΟΤΝ层通道的告警信息以及各 个二层交换端口与 ΟΤΝ传输单元之间的传输通道的状态信息; 聚合管理模 块 40设置为将与 ΟΤΝ传输单元之间的传输通道处于连接状态、 且对应的 ΟΤΝ层通道没有告警信息的二层交换端口绑定到主控模块 44配置的聚合组。 在本发明优选实施例中, 主控模块 44还设置为将对应的 ΟΤΝ层通道有 告警信息或与 ΟΤΝ传输单元之间的传输通道不处于连接状态的二层交换端 口设置为不转发状态; 而聚合管理模块 40还设置为将上述聚合组中对应的 OTN层通道有告警信息或与 OTN传输单元之间的传输通道不处于连接状态 的二层交换端口从上述聚合组中删除。 通过本实施例的二层交换单元, 可以 居二层交换端口的状态及其对应 的 OTN层通道的告警信息设置聚合组, 并将对应的 OTN层通道有告警信息 或不处于连接状态的二层交换端口设置为不转发状态, 从而避免了线路侧通 道成环的情况。 图 6为本实施例中光传输层的数据传输方法的流程图, 主要包括以下步 骤: 步骤 601、 主控模块 44将二层交换单元与 OTN传输单元连接的二层交 换端口设置为一个聚合组, 此时的聚合组只是软件层的聚合组定义, 真正绑 定到交换芯片硬件的聚合组端口需要后续步骤选择。 如图 3所示, 由于二层 交换端口和 OTN层通道是——对应的, 因此, 将二层交换端口设为一个聚 合组即相当于将线路侧 OTN通道设为一个聚合组; 步骤 602、 检测模块 46轮询线路侧的每个 OTN层通道的告警状态和二 层交换端口的连接状态, 并将每个 OTN层通道的告警信息和二层交换端口 的连接状态发送给聚合管理模块 40。 步骤 603、 聚合管理模块 40根据 OTN层通道的告警和端口连接状态判 断是否将此二层交换端口绑定到交换芯片硬件的聚合组中,具体流程见图 7; 步骤 604、 当 OTN层通道和二层交换端口的连接状态都正常的情况下, 线路侧通道通过以上步骤被设置到一个聚合组中。 客户侧的以太网报文通过 二层交换单元转发到二层交换端口上, 由于线路侧所有二层交换端口都在同 一聚合组中, 从客户侧转发过来的 4艮文可以通过聚合组协议算法通过聚合端 口发送给 OTN传输单元。 OTN传输单元将以太网 4艮文封装成 OTN帧, 再通 过不同波长的通道传输到光传送网。 步骤 605、 当线路侧某个 OTN层通道或二层交换端口的链接状态出现故 障时, 客户侧的以太网 ^艮文可以通过聚合组中任意一条波长通道传送到光传 送网上。 在实际应用中, 所有线路侧通道都出现故障的概率非常低, 因此, 通过 本发明实施例提供的光传输层数据传输方法的可靠性较强。 图 7为本实施例中判断是否将某个二层交换端口绑定到交换芯片硬件的 聚合组的流程图, 主要包括以下步骤: 步骤 701、 获取当前 OTN层通道的告警; 例如, 检测模块 46从 OTN传输单元获取 OTN层的告警状态, 然后传 送给聚合管理模块 40处理。 步骤 702、 判断此通道 OTN层是否有告警产生, 如果是, 则执行步骤 703; 否则执行步骤 705; 聚合管理模块 40根据 OTN层的告警优先顺序来处理检测模块 46送来 的告警信息, 出现表 1所列告警之一即认为有告警产生, 检测告警的优先顺 序从上到下。 表 1. 1 : N protection mode means that N service channels share a protection channel. When one of the N service channels fails, the service on the service channel is switched to the alternate channel for transmission. If multiple service channels in the N service channels are faulty, the protection of multiple services cannot be implemented. Similarly, M: N protection means that N service channels share M protection channels. The inventor has found that, in the above several protection modes, when the service channel is normal, the protection channel does not transmit the service, or transmits the same service as the service channel, or transmits additional services, and each service channel is independent of each other, thereby causing The bandwidth utilization of the line side channel is not high, and the channel bandwidth reusability is not strong. Moreover, these protection modes cannot protect all line side service channels. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a data transmission method and apparatus for an optical transmission layer to solve at least one of the above problems. According to an aspect of the present invention, a data transmission method for an optical transmission layer is provided, including: setting an available channel on a line side of an optical transmission layer in an aggregation group; between a layer 2 switching unit and an optical transmission network, The customer side service data is transmitted through the available channels in the above aggregation group. The available channel on the line side is a transmission channel between a layer 2 switch port and an optical transport network OTN transmission unit on the layer 2 switching unit, and an OTN between the OTN transmission unit and the optical transport network. Layer channel composition. The setting of the available channel on the line side of the optical transmission layer to the aggregation group includes: the layer 2 switching unit configuring the aggregation group for the channel on the line side; and the layer 2 switching unit polling the line side Alarm information of each of the OTN layer channels and state information of a transmission channel between each of the Layer 2 switch ports and the OTN transmission unit; the Layer 2 switching unit is in a connected state with a transmission channel between the OTN transmission unit, The Layer 2 switch port with no alarm information on the corresponding OTN layer channel is bound to the aggregation group. The Layer 2 switching unit is configured to be in the connection state with the transmission channel of the OTN transmission unit, and the Layer 2 switching port of the corresponding OTN layer channel without the alarm information is bound to the aggregation group. Whether the OTN layer channel corresponding to the Layer 2 switching port has alarm information generated, and if not, further determining whether the transmission channel between the Layer 2 switching port and the OTN transmission unit is in a connected state, and if so, and If the layer switch port is not bound to the aggregation group, the layer 2 switch port is bound to the channel. If it is determined that the OTN layer channel has the alarm information generated, the method further includes: setting the state of the Layer 2 switching port to a non-forwarding state, and determining whether the Layer 2 switching port corresponding to the OTN layer is bound The aggregation group is determined, and if yes, the Layer 2 switch port is deleted from the aggregation group. If it is determined that the transmission channel between the Layer 2 switch port and the OTN transmission unit is not in the connection state, the method further includes: setting a state of the Layer 2 switch port to a non-forward state, and determining that the OTN layer corresponds to Whether the Layer 2 switching port is bound to the aggregation group, and if yes, deleting the Layer 2 switching port from the aggregation group. The transmitting the service data of the client side by using the available channel in the aggregation group includes: the layer 2 switching unit receiving service data from the client side; and the layer 2 switching unit passing one or more of the aggregation groups The Layer 2 switching port forwards the service data to the OTN chip; the OTN chip sends the service data to the optical transport network through an OTN layer channel between the OTN chip and the optical transport network. According to another aspect of the present invention, a layer 2 switching unit is provided, including: an aggregation management module and a transmission module. The aggregation management module is configured to set an available channel on the line side of the optical transport layer as an aggregation group, where the available channel is a transmission channel between the Layer 2 switch port and the OTN transmission unit on the Layer 2 switching unit, and the OTN. The OTN layer channel is formed between the transmission unit and the optical transport network; and the transmission module is configured to transmit the service data of the client side between the layer 2 switching unit and the optical transport network through the available channels in the aggregation group. The layer 2 switching unit further includes: a main control module, configured to configure the aggregation group; and a detection module, configured to poll the alarm information of each of the OTN layer channels, and each of the Layer 2 switch ports and the OTN transmission unit Status information of the transmission channel between the two; the aggregation management module is configured to bind the transmission channel of the OTN transmission unit to the connection state, and the corresponding OTN layer channel has no alarm information binding layer 2 switch port to the aggregation group. The main control module is further configured to set the corresponding OTN layer channel with alarm information or a Layer 2 switch port that is not in a connection state with the OTN transmission unit to be in a non-forward state; the aggregation management module further The layer 2 switch port that is configured to have alarm information in the corresponding OTN layer channel in the aggregation group or is not connected to the transmission channel between the OTN transmission unit is deleted from the aggregation group. According to the present invention, by setting the available channels on the line side of the optical transport layer in an aggregation group, and transmitting the service data of the client side between the layer 2 switching unit and the optical transport network through the available channels in the aggregation group, the solution is solved. In the related art, the bandwidth utilization of the line side channel is not high, and the reusability is not strong, and the wavelength channels on all line sides are fully utilized, and the Ethernet services of all line side channels can be protected. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawing: 1 is a schematic structural diagram of a DWDM system according to an embodiment of the present invention; FIG. 2 is a flowchart of a data transmission method of an optical transmission layer according to Embodiment 1 of the present invention; FIG. 3 is a line side channel link according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a two-layer switching unit according to Embodiment 2 of the present invention; FIG. 5 is a schematic structural diagram of a two-layer switching unit according to Embodiment 2 of the present invention; FIG. 6 is a schematic diagram of optical transmission according to Embodiment 2 of the present invention; A flowchart of a data transmission method of a layer; FIG. 7 is a flowchart of determining whether to bind a layer 2 switch port to an aggregation group of switch chip hardware according to the second embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. 1 is a schematic structural diagram of a DWDM system according to an embodiment of the present invention. As shown in FIG. 1, in the embodiment of the present invention, a client-side service is accessed through a Layer 2 switching unit 1, and a client-side service is accessed through a Layer 2 switching unit 1. The transmission to the optical transport network 2 (i.e., the DWDM system), in the embodiment of the present invention, the side accessing the DWDM system or the optical transport network 2 is referred to as the line side. Link aggregation is to aggregate multiple physical Ethernet ports to form a logical aggregation group. The upper layer entities in the same aggregation group use multiple physical links in the same aggregation group as one logical link. Link aggregation can implement load balancing between the member ports of an aggregation group to increase the bandwidth. At the same time, each member port of the same aggregation group is dynamically backed up with each other, so the reliability of the connection can be improved. As shown in FIG. 1, in the embodiment of the present invention, the available channel between the layer 2 switching unit 1 and the optical transport network 2 (ie, the line side) is set as an aggregation group. If all the channels on the line side are normal, all the line side channels in the same aggregation group can transmit services on any client side. When there are roadblocks on the line side, the customer side services can be transmitted through other channels of the aggregation group. Therefore, in the embodiment of the present invention, the service group controls the service transmission, and the protection of all channel services can be realized without other protection switching protocols, and the bandwidth can be increased without using other aggregation devices, and the bandwidth of the channel is fully utilized. Reduce network construction and equipment maintenance costs. The data transmission method and the layer 2 switching unit of the optical transmission layer provided by the embodiment of the present invention are described below with reference to FIG. Embodiment 1 FIG. 2 is a flowchart of a data transmission method of an optical transmission layer in the embodiment, where the method mainly includes the following steps (step S202 - step S204): Step S202, setting an available channel on the line side of the optical transmission layer at In an aggregation group; in practical applications, as shown in FIG. 3, the channel on the line side is transmitted between the Layer 2 switching port on the Layer 2 switching unit and the Optical Transmit Net (OTN) transmission unit. The channel and the OTN layer channel connection between the OTN transmission unit and the optical transport network are formed. When the aggregation group is set, the line side port can be configured in the same aggregation group according to the transmission quality of the line side channel. The transmission quality of the line side channel can pass the alarm of the OTN layer channel between the OTN transmission unit and the optical transmission network. The information and the status information of the transmission channel between the Layer 2 switching port and the OTN transmission unit in the Layer 2 switching unit are jointly indicated, for example, if the OTN layer channel between the OTN transmission unit and the optical transport network has no alarm information and the OTN If the status of the transmission channel between the transmission unit and the Layer 2 switch port is the connection state, the line side channel is regarded as an available channel, and the Layer 2 switch port is bound to the aggregation group. In a preferred embodiment of the present invention, the layer 2 switching unit can acquire the alarm information of each channel OTN layer (that is, the OTN layer channel between the OTN transmission unit and the optical transport network) and the OTN transmission unit and the second in a polling manner. Status information of the transmission channel between the layer switch ports. If the OTN layer does not have the alarm information, the status information of the transmission channel between the OTN transmission unit and the Layer 2 switch port is further obtained, if the status information indicates that the transmission channel between the OTN transmission unit and the Layer 2 switch port is currently located. In the connection state, the Layer 2 switch port is bound to the aggregation group. Otherwise, to prevent the Layer 2 switch port from being in the aggregation group, the Layer 2 switch port can be set to not forward. If the Layer 2 switch port is bound to the aggregation group, the Layer 2 switch port is removed from the aggregation group. And if the OTN layer channel corresponding to the layer 2 switch port has the alarm information, the layer 2 switch port can be set to the non-forward state, and if the layer 2 switch port is bound to the aggregation group, The Layer 2 switch port is removed from the aggregation group. Step S204: The service data of the client side is transmitted between the layer 2 switching unit and the optical transport network through the available channels in the aggregation group. For example, when the Layer 2 switching unit receives the service data from the client side, the Layer 2 switching unit may send the service data to the transmission unit through one or more Layer 2 switching ports in the aggregation group, and the transmission unit performs the service. The data is converted and sent to the optical transport network. In the related art, the line side channel mainly uses a transmission mode of 1+1, 1:1, or 1: ,, and each service channel is independent of each other, thereby causing problems such as low bandwidth utilization of the line side channel, and in this embodiment, According to the transmission quality of the line side channel, the line side port is configured in the same aggregation group, and the aggregation group controls the service transmission, and all the channel services can be protected without other protection switching protocols, and bandwidth can be realized without other aggregation devices. Increase, make full use of the various wavelength channels on the line side, reducing the cost of network establishment and equipment maintenance. In the actual application, the foregoing method of the present embodiment can be implemented by extending the existing Layer 2 switching unit. FIG. 4 is a schematic structural diagram of a Layer 2 switching unit according to the embodiment. The Layer 2 switching unit mainly includes: Management module 40 and transmission module 42. The aggregation management module 40 is configured to set an available channel on the line side of the optical transport layer as an aggregation group, where the available channel is a transmission channel between the layer 2 switch port and the buffer transmission unit on the layer 2 switch unit, and ΟΤΝ forming a layered channel between the transmission unit and the optical transport network; the transmission module 42 is configured to transmit the service data of the client side between the layer 2 switching unit and the optical transport network through one or more available channels in the foregoing aggregation group . The above-mentioned Layer 2 switching unit of the present embodiment can improve the utilization of the line side channel by setting the available channel on the line side as an aggregation group and transmitting the traffic on any client side through one or more available channels in the aggregation group. Rate and reliability of the line side link. Embodiment 2 FIG. 5 is a schematic structural diagram of a Layer 2 switching unit according to the embodiment. In this embodiment, the Layer 2 switching unit further includes: a main control module 44 and a detection module 46. The main control module 44 is configured to configure the foregoing aggregation group. The detection module 46 is configured to poll the alarm information of each layer channel and the status information of the transmission channel between each layer 2 switch port and the transmission unit. The module 40 is configured to bind the layer 2 switch port with the transmission channel between the transmission channel and the transmission channel, and the corresponding layer 2 channel has no alarm information to the aggregation group configured by the main control module 44. In a preferred embodiment of the present invention, the main control module 44 is further configured to set the corresponding layer channel with alarm information or a layer 2 switch port that is not in a connection state with the transmission channel to be in a non-forward state; The aggregation management module 40 is further configured to correspond to the foregoing aggregation group. The OTN layer channel has the alarm information or the Layer 2 switching port that is not connected to the transmission channel between the OTN transmission unit and is deleted from the aggregation group. With the Layer 2 switching unit of the present embodiment, the aggregation group can be set in the state of the Layer 2 switching port and the corresponding OTN layer channel alarm information, and the corresponding OTN layer channel has alarm information or Layer 2 that is not in the connected state. The switch port is set to the non-forward state, thereby avoiding the case where the line side channel is looped. FIG. 6 is a flowchart of the data transmission method of the optical transmission layer in the embodiment, which mainly includes the following steps: Step 601: The main control module 44 sets the Layer 2 switching port connected to the OTN transmission unit as an aggregation group. The aggregation group at this time is only the aggregation group definition of the software layer. The aggregation group port that is actually bound to the switch chip hardware needs subsequent step selection. As shown in FIG. 3, the Layer 2 switch port and the OTN layer channel are corresponding to each other. Therefore, setting the Layer 2 switch port as an aggregation group is equivalent to setting the line side OTN channel as an aggregation group. Step 602: The detection module 46 polls the alarm state of each OTN layer channel on the line side and the connection state of the layer 2 switch port, and sends the alarm information of each OTN layer channel and the connection state of the layer 2 switch port to the aggregation management module 40. Step 603: The aggregation management module 40 determines whether to bind the Layer 2 switch port to the aggregation group of the switch chip hardware according to the alarm and port connection status of the OTN layer channel, and the specific process is shown in FIG. 7; Step 604, when the OTN layer channel and When the connection status of the Layer 2 switching port is normal, the line side channel is set to an aggregation group by the above steps. The Ethernet packets on the client side are forwarded to the Layer 2 switching port through the Layer 2 switching unit. The Layer 2 switching ports on the line side are all in the same aggregation group. It is sent to the OTN transmission unit through the aggregation port. The OTN transmission unit encapsulates the Ethernet 4 into an OTN frame and transmits it to the optical transport network through channels of different wavelengths. Step 605: When the link status of an OTN layer channel or a Layer 2 switch port on the line side fails, the Ethernet side of the client side can be transmitted to the optical transmission network through any one of the wavelength channels in the aggregation group. In practical applications, the probability of failure of all line side channels is very low. Therefore, the optical transmission layer data transmission method provided by the embodiment of the present invention has high reliability. 7 is a flowchart of determining whether to bind a Layer 2 switch port to an aggregation group of the switch chip hardware in the embodiment, and the method includes the following steps: Step 701: Acquire an alarm of a current OTN layer channel; for example, the detection module 46 The alarm state of the OTN layer is obtained from the OTN transmission unit, and then transmitted to the aggregation management module 40 for processing. Step 702: Determine whether there is an alarm generated in the OTN layer of the channel. If yes, go to step 703; otherwise, go to step 705. The aggregation management module 40 processes the alarm information sent by the detection module 46 according to the alarm priority order of the OTN layer. One of the listed alarms is considered to have an alarm generated, and the priority of detecting the alarm is from top to bottom. Table 1.
Figure imgf000010_0001
Figure imgf000010_0001
步骤 703、 判断此通道所连接的二层交换端口是否已经配置到芯片的聚 合组中, 如果是, 则执行步骤 707; 否则执行步骤 704; 步骤 704、 将此二层交换端口设置成不转发状态; 通过配置交换芯片可以控制此端口不参与报文的交换转发, 此操作是防 止线路侧端口不在聚合组中的时候出现线路侧成环的情况。 步骤 705、 获取此通道所连接的二层交换端口的连接状态; 由于 OTN层的告警优先级比交换芯片端口的链接状态告警优先级要高, 而且 OTN层告警属于设备外部告警, 二层交换端口的链接告警属于设备内 部告警, 因此, 在本实施例中优先考虑获取和处理 OTN层的告警, 当然, 反之亦可。 步骤 706、判断此二层交换端口与 OTN芯片的传输通道是否处于连接状 态, 如果是, 则执行步骤 708; 否则执行步骤 707; 步骤 707、 同步骤 704, 将此二层交换端口设置成不转发状态; 步骤 708: 判断此二层交换端口是否已经绑定到交换芯片的硬件聚合组 中, 如果是, 则执行步 4聚 712; 否则执行步 4聚 710; 步骤 709、 将此二层交换端口从硬件聚合组中删除; 步骤 710、 将此二层交换端口绑定到交换芯片硬件聚合组中; 步骤 711、 将二层交换端口设置成转发状态; 此时该二层交换端口可以正常转发 4艮文。 步 4聚 712、 转到下一个线路侧端口进行处理。 通过上述步骤可以完成线路侧通道链路聚合。 需要说明的是, 虽然在上述实施例中以二层交换单元侧设置聚合组为例 进行说明, 但并不限于此, 在实际应用中光传送网也可以釆用相似的方式设 置客户侧通道的聚合组, 具体实施方式不再赞述。 从以上的描述中, 可以看出, 通过本发明实施例可以对线路侧波长通道 进行保护, 并且, 本发明实施例提供的保护方式相对于 1+1、 1 : 1或 1 : N 等保护方式更加可靠。 并且, 根据本发明实施例提供的技术方案还可以提高 线路侧通道带宽的利用率。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 Step 703: Determine whether the Layer 2 switch port connected to the channel is configured in the aggregation group of the chip. If yes, go to step 707; otherwise, go to step 704; Step 704: Set the Layer 2 switch port to not forward. By configuring the switch chip, you can control the port to not participate in the exchange and forwarding of packets. This operation is to prevent the line side ringing when the line side port is not in the aggregation group. Step 705: Obtain a connection state of the Layer 2 switch port connected to the channel. The alarm priority of the OTN layer is higher than the link state alarm priority of the switch chip port, and the OTN layer alarm belongs to the external alarm of the device. The link alarm is an internal alarm of the device. Therefore, in this embodiment, the alarm of the OTN layer is preferentially acquired and processed, of course, vice versa. Step 706: Determine whether the transmission channel of the Layer 2 switch port and the OTN chip is in a connected state. If yes, go to step 708; otherwise, go to step 707; Step 707, Step 704, set the Layer 2 switch port to not forward. Step 708: Determine whether the Layer 2 switch port is bound to the hardware aggregation group of the switch chip, and if yes, perform step 4 712; otherwise, perform step 4 710; Step 709, perform the Layer 2 switch port The eNB is removed from the hardware aggregation group. Step 710: Bind the Layer 2 switch port to the switch chip hardware aggregation group. Step 711: Set the Layer 2 switch port to the forwarding state. Yan Wen. Step 4 gathers 712 and goes to the next line side port for processing. The line side channel link aggregation can be completed through the above steps. It should be noted that although the aggregation group is set on the layer 2 switching unit side as an example in the foregoing embodiment, the present invention is not limited thereto. In practical applications, the optical transport network may also set the client side channel in a similar manner. The aggregation group, the specific implementation is not mentioned. From the above description, it can be seen that the line-side wavelength channel can be protected by the embodiment of the present invention, and the protection mode provided by the embodiment of the present invention is relative to the protection mode of 1+1, 1 : 1 or 1: N. More reliable. Moreover, the technical solution provided by the embodiment of the present invention can also improve the utilization of the line side channel bandwidth. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be executed by a computing device The program code is implemented so that they can be stored in the storage device by the computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be separately produced. The individual integrated circuit modules are implemented, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above 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 scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种光传输层的数据传输方法, 包括: A data transmission method for an optical transmission layer, comprising:
将光传输层的线路侧的可用通道设置在一个聚合组中; 在二层交换单元与光传送网之间, 通过所述聚合组中的可用通道 传输客户侧的业务数据。  The available channels on the line side of the optical transport layer are set in an aggregation group; between the Layer 2 switching unit and the optical transport network, the service data of the client side is transmitted through the available channels in the aggregation group.
2. 根据权利要求 1所述的方法, 其中, 所述线路侧的可用通道由所述二 层交换单元上的二层交换端口与光传送网 OTN传输单元之间的传输 2. The method according to claim 1, wherein the available channel on the line side is transmitted between a layer 2 switch port on the layer 2 switching unit and an optical transport network OTN transmission unit.
3. 根据权利要求 2所述的方法, 其中, 将光传输层的线路侧的可用通道 设置为聚合组包括: 3. The method according to claim 2, wherein setting the available channels on the line side of the optical transport layer to the aggregation group comprises:
所述二层交换单元为所述线路侧的通道配置所述聚合组; 所述二层交换单元轮询所述线路侧的各个所述 OTN层通道的告 警信息以及各个所述二层交换端口与 OTN传输单元之间的传输通道 的状态信息;  The Layer 2 switching unit configures the aggregation group for the channel on the line side; the Layer 2 switching unit polls the alarm information of each OTN layer channel on the line side and each of the Layer 2 switch ports and Status information of a transmission channel between OTN transmission units;
所述二层交换单元将与 OTN传输单元之间的传输通道处于连接 状态、且对应的 OTN层通道没有告警信息的二层交换端口绑定到所述 聚合组。  The Layer 2 switching unit binds the Layer 2 switching port that is in the connected state with the transmission channel of the OTN transmission unit, and the corresponding OTN layer channel has no alarm information, and is bound to the aggregation group.
4. 才艮据权利要求 3所述的方法, 其中, 所述二层交换单元将与 OTN传输 单元之间的传输通道处于连接状态、且对应的 OTN层通道没有告警信 息的二层交换端口绑定到所述聚合组包括: 4. The method according to claim 3, wherein the Layer 2 switching unit is to be connected to a Layer 2 switching port in which the transmission channel between the OTN transmission unit is in a connected state and the corresponding OTN layer channel has no alarm information. The aggregation group is determined to include:
所述二层交换单元判断所述二层交换端口对应的所述 OTN层通 道是否有告警信息产生, 如果没有产生告警信息, 则进一步判断该二 层交换端口与 OTN传输单元之间的传输通道是否处于连接状态,如果 是处于连接状态, 且该二层交换端口没有绑定到所述聚合组, 则将该 二层交换端口绑定到所述通道可用。  The layer 2 switching unit determines whether the OTN layer channel corresponding to the layer 2 switch port has alarm information generated. If no alarm information is generated, further determining whether the transmission channel between the layer 2 switch port and the OTN transmission unit is If the connection is in the connected state, and the Layer 2 switch port is not bound to the aggregation group, binding the Layer 2 switch port to the channel is available.
5. 根据权利要求 4所述的方法, 其中, 如果判断所述 OTN层通道有告警 信息产生, 则还包括: 将所述二层交换端口的状态设置为不转发状态, 并判断所述 OTN层对应的所述二层交换端口是否已绑定到所述聚合 组, 如果是, 将所述二层交换端口从所述聚合组中删除。 The method according to claim 4, wherein, if it is determined that the OTN layer channel has alarm information generated, the method further includes: setting a state of the layer 2 switch port to a non-forwarding state, And determining, by the OTN layer, that the Layer 2 switch port is bound to the aggregation group, and if yes, deleting the Layer 2 switch port from the aggregation group.
6. 根据权利要求 4所述的方法,其中,如果判断所述二层交换端口与 OTN 传输单元之间的传输通道不处于连接状态, 则还包括: 将所述二层交 换端口的状态设置为不转发状态,并判断所述 OTN层对应的所述二层 交换端口是否已绑定到所述聚合组, 如果是, 将所述二层交换端口从 所述聚合组中删除。 The method according to claim 4, wherein if it is determined that the transmission channel between the Layer 2 switch port and the OTN transmission unit is not in the connected state, the method further includes: setting a state of the Layer 2 switch port to The state of the layer is not forwarded, and it is determined whether the layer 2 switch port corresponding to the OTN layer is bound to the aggregation group. If yes, the layer 2 switch port is deleted from the aggregation group.
7. 根据权利要求 3至 6中任一项所述的方法, 其中, 通过所述聚合组中 的可用通道传输客户侧的业务数据包括: The method according to any one of claims 3 to 6, wherein transmitting the service data of the client side through the available channels in the aggregation group comprises:
所述二层交换单元接收来自客户侧的业务数据;  The layer 2 switching unit receives service data from a client side;
所述二层交换单元通过所述聚合组内的一个或多个所述二层交换 端口将所述业务数据转发给所述 OTN芯片; 所述 OTN芯片通过其与所述光传送网之间的 OTN层通道将所述 业务数据发送给所述光传送网。  The Layer 2 switching unit forwards the service data to the OTN chip through one or more Layer 2 switch ports in the aggregation group; the OTN chip passes between the optical transport network and the optical transport network The OTN layer channel transmits the service data to the optical transport network.
8. 一种二层交换单元, 包括: 8. A Layer 2 switching unit, comprising:
聚合管理模块, 设置为将光传输层的线路侧的可用通道设置为聚 合组, 其中, 所述可用通道由所述二层交换单元上的二层交换端口与 OTN传输单元之间的传输通道以及所述 OTN传输单元与所述光传送 网之间的 OTN层通道构成;  The aggregation management module is configured to set an available channel on the line side of the optical transport layer as an aggregation group, where the available channel is a transmission channel between the layer 2 switch port and the OTN transmission unit on the layer 2 switch unit, and Between the OTN transmission unit and the OTN layer channel between the optical transport network;
传输模块, 设置为通过所述聚合组中的可用通道传输所述二层交 换单元与光传送网之间的客户侧的业务数据。  The transmission module is configured to transmit the service data of the client side between the layer 2 switching unit and the optical transport network through an available channel in the aggregation group.
9. 根据权利要求 8所述的二层交换单元, 其中, 还包括: 9. The layer 2 switching unit according to claim 8, further comprising:
主控模块, 用于配置所述聚合组;  a main control module, configured to configure the aggregation group;
检测模块,设置为轮询各个所述 OTN层通道的告警信息以及各个 所述二层交换端口与 OTN传输单元之间的传输通道的状态信息; 所述聚合管理模块设置为将与 OTN传输单元之间的传输通道处 于连接状态、且对应的 OTN层通道没有告警信息的二层交换端口绑定 到所述聚合组。  a detection module, configured to poll the alarm information of each of the OTN layer channels and status information of a transmission channel between each of the Layer 2 switch ports and the OTN transmission unit; the aggregation management module is configured to be connected to the OTN transmission unit A Layer 2 switching port in which the transmission channel is in the connected state and the corresponding OTN layer channel has no alarm information is bound to the aggregation group.
10. 根据权利要求 9所述的二层交换单元, 其中, 所述主控模块还设置为将对应的 OTN层通道有告警信息或与 OTN传输单元之间的传输通道不处于连接状态的二层交换端口设置为 不转发状态; 10. The layer 2 switching unit according to claim 9, wherein The main control module is further configured to set the corresponding OTN layer channel with alarm information or a Layer 2 switch port that is not in a connection state with the OTN transmission unit to be in a non-forwarding state;
所述聚合管理模块还设置为将所述聚合组中对应的 OTN层通道 有告警信息或与 OTN传输单元之间的传输通道不处于连接状态的二 层交换端口从所述聚合组中删除。  The aggregation management module is further configured to delete, from the aggregation group, a layer 2 switch port in which the corresponding OTN layer channel in the aggregation group has alarm information or is not connected to the transmission channel between the OTN transmission units.
PCT/CN2011/072550 2010-05-14 2011-04-08 Data transport method and apparatus for optical transport layer WO2011140873A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010184266.8 2010-05-14
CN 201010184266 CN101854567B (en) 2010-05-14 2010-05-14 Data transmission method and device of optical transmission layer

Publications (1)

Publication Number Publication Date
WO2011140873A1 true WO2011140873A1 (en) 2011-11-17

Family

ID=42805783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072550 WO2011140873A1 (en) 2010-05-14 2011-04-08 Data transport method and apparatus for optical transport layer

Country Status (2)

Country Link
CN (1) CN101854567B (en)
WO (1) WO2011140873A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11689453B2 (en) 2021-03-29 2023-06-27 Cisco Technology, Inc. Layer 2 virtual private network traffic steering over optical transport networks

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854567B (en) * 2010-05-14 2013-06-12 中兴通讯股份有限公司 Data transmission method and device of optical transmission layer
CN105024837A (en) * 2014-04-16 2015-11-04 中兴通讯股份有限公司 Method of realizing bridge plate channel protection and apparatus thereof
CN111131935B (en) * 2019-12-27 2022-03-29 上海欣诺通信技术股份有限公司 OTN switching method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217496A (en) * 2008-01-17 2008-07-09 中兴通讯股份有限公司 A data transmission method, system and device
JP2008160227A (en) * 2006-12-21 2008-07-10 Hitachi Communication Technologies Ltd Network apparatus and communication system
CN101605091A (en) * 2009-02-13 2009-12-16 华为技术有限公司 A kind of multi-port load sharing method, device and network system
CN101854567A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Data transmission method and device of optical transmission layer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160227A (en) * 2006-12-21 2008-07-10 Hitachi Communication Technologies Ltd Network apparatus and communication system
CN101217496A (en) * 2008-01-17 2008-07-09 中兴通讯股份有限公司 A data transmission method, system and device
CN101605091A (en) * 2009-02-13 2009-12-16 华为技术有限公司 A kind of multi-port load sharing method, device and network system
CN101854567A (en) * 2010-05-14 2010-10-06 中兴通讯股份有限公司 Data transmission method and device of optical transmission layer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11689453B2 (en) 2021-03-29 2023-06-27 Cisco Technology, Inc. Layer 2 virtual private network traffic steering over optical transport networks

Also Published As

Publication number Publication date
CN101854567B (en) 2013-06-12
CN101854567A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
CN102246475B (en) System, apparatus and method for providing aggregated network connections
US9665530B2 (en) Method and system for implementing elastic network interface and interconnection
US7466917B2 (en) Method and system for establishing transmission priority for optical light-trails
EP2618521B1 (en) Method, apparatus and system for link aggregation failure protection
JP4317216B2 (en) Packet communication network and packet communication method
US20080137669A1 (en) Network of nodes
JP5496371B2 (en) Network relay system and network relay device
WO2007109937A1 (en) Resilient optical burst ring failure protecting method, apparatus and failure processing method
WO2014127629A1 (en) Message forwarding system, method and device
US20160014032A1 (en) Method and Device for Flow Path Negotiation in Link Aggregation Group
CN113472646B (en) Data transmission method, node, network manager and system
CN109691031B (en) Service message transmission method and node equipment
WO2011131069A1 (en) Binding links detection method and distributed device
WO2011140873A1 (en) Data transport method and apparatus for optical transport layer
WO2014048128A1 (en) Point-to-multipoint service protecting method for ring network and upper ring node on ring network
WO2016082436A1 (en) Mixed centralized processing method and apparatus for service, and storage medium
WO2012142923A1 (en) Method and device for preventing loop formation
JP5048835B2 (en) Packet processing apparatus and method
WO2011153836A1 (en) M2m system and method for processing services thereof
CN101364940B (en) Internal communication method for router and routing device
WO2008128464A1 (en) Device and method for realizing transferring single stream by multiple network processing units
WO2020156355A1 (en) Load sharing method, device, system, single board and storage medium
JP5651175B2 (en) ASON service routing path separation method and apparatus
WO2016082516A1 (en) Link bundling method and system
JP6499624B2 (en) Network device and frame transfer method

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

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

Country of ref document: EP

Kind code of ref document: A1