WO2012024940A1 - 全光纤保护系统中实现业务控制的方法及装置 - Google Patents

全光纤保护系统中实现业务控制的方法及装置 Download PDF

Info

Publication number
WO2012024940A1
WO2012024940A1 PCT/CN2011/073406 CN2011073406W WO2012024940A1 WO 2012024940 A1 WO2012024940 A1 WO 2012024940A1 CN 2011073406 W CN2011073406 W CN 2011073406W WO 2012024940 A1 WO2012024940 A1 WO 2012024940A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
spanning tree
state
epon
bpdu
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2011/073406
Other languages
English (en)
French (fr)
Inventor
梁会发
胡扶同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2012024940A1 publication Critical patent/WO2012024940A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1301Optical transmission, optical switches

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for implementing service control in an all-fiber protection system.
  • OAN Optical Access Network
  • EPON Ethernet Passive Optical Network
  • VOIP Voice over Internet Protocol
  • IPTV Internet Protocol Television
  • OLT Optical Line Terminal
  • ODN Optical Distribution Network
  • the ODN is a point-to-multipoint structure, and one OLT connects multiple ONUs through an ODN.
  • a fiber protection switching mechanism is adopted in the EPON system.
  • Figure 2 shows the all-fiber protection switching mode.
  • the device configuration requirements of the all-fiber protection mode are that the OLT and the ONU both have multiple EPON ports to support switching.
  • the manual protocol switchover is performed according to the configuration command.
  • the ONU needs two EPON ports to implement all-fiber protection.
  • the redundant link should be in the hot backup state. After the switchover, the ONU does not need to perform ranging again.
  • the main control board mainly includes a switch chip and a CPU, and the switch chip is connected to the CPU through a management port to implement functions such as configuration, management, and protocol.
  • the CPU manages the EPON daughter card through the inter-board communication message.
  • the two GE (Gigabit Ethernet, Gigabit Ethernet) interfaces of the switch chip are connected to the primary and secondary EPON cards through the two GE ports.
  • the UNI User Network Interface
  • the FE is the FE (Fast Ethernet) interface of the switch chip and is used to connect to the user equipment.
  • the EPON chip runs on the EPON daughter card in firmware mode.
  • the EPON chip manufacturer provides a set of SDK (software development kit) running on the CPU of the main control board, and the CPU manages the EPON chip.
  • SDK software development kit
  • the management message between the CPU and the EPON chip is a standard Ethernet message.
  • the MAC address is specified by the manufacturer and is only used for inter-board communication.
  • the OLT and the ONU side backup link are in the hot backup state, and the OLT is responsible for the control of the downlink service flow.
  • the ONU is responsible for the control of the uplink service flow, and the service flow can only be sent through the primary link.
  • the main points are as follows:
  • the problem to be solved by the present invention is to provide a method and apparatus for implementing service control in an all-fiber protection system, and to solve problems such as service flow control of an ONU in an all-fiber protection system.
  • the present invention provides a method for implementing service control in an all-fiber protection system, the method comprising:
  • the main control board After determining the primary and secondary ports of the network node interface (NNI), set the spanning tree protocol status of the primary port to the forwarding state, and set the spanning tree protocol status of the standby port to the listening state. (BPDU) mode processing.
  • the main control board communicates with the electronic card through a private medium access control (MAC) address, and the main control board writes a private MAC of inter-board communication to a custom MAC address of the switching chip. table.
  • MAC medium access control
  • the method further includes:
  • the switch chip sets, by using the BPDU flag bit, whether to process the inter-board communication message between the main control board and the EPON sub-card in a BPDU manner.
  • the method further includes:
  • the spanning tree protocol status of the original standby port is set to the forwarding state
  • the MAC address of the original primary port is cleared, the upstream service is flooded, and the status of the original primary port spanning tree protocol is set to the listening state.
  • the present invention also provides an apparatus for implementing service control in an all-fiber protection system, the apparatus comprising:
  • the switching management module is configured to detect a link, and after determining the primary port and the standby port, notify the service control module;
  • the service control module is configured to set the spanning tree protocol status of the primary port to the forwarding state, set the spanning tree protocol status of the standby port to the listening state, and set the main control board and the EPON.
  • the inter-board communication packets between the sub-cards are processed in BPDU mode.
  • the service control module is further configured to write a private MAC address of the inter-board communication between the main control board and the EPON sub-card to the custom MAC address table of the switch chip.
  • the service control module is further configured to: set, by using a BPDU flag, whether to process the inter-board communication message between the main control board and the EPON sub-card in a BPDU manner.
  • the switching management module is further configured to: when the switching occurs, set the spanning tree protocol state of the original standby port to the forwarding state; at the same time, clear the MAC address of the original primary port, flood the uplink service, and use the original primary port.
  • the spanning tree protocol state is set to the listening state.
  • the present invention is directed to the service flow control problem of an ONU in an all-fiber protection system, and provides a solution for implementing service control in an all-fiber protection system, so that the service flow only passes through the primary link.
  • the service flows are quickly switched on the active and standby links to reduce packet loss. Increased protection performance.
  • FIG. 1 is a schematic structural diagram of an EPON optical distribution network in the prior art
  • FIG. 2 is a schematic structural diagram of an optical distribution network of an EPON all-fiber protection mode in the prior art
  • FIG. 3 is a schematic diagram of communication between a main control board and an EPON card in an all-fiber protection mode according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an apparatus for implementing service control in an all-fiber protection system according to an embodiment of the present invention
  • FIG. 5 is a specific processing procedure of a method for implementing service control in an all-fiber protection system according to an embodiment of the present invention
  • FIG. 6 is a specific processing procedure of a service flow switching between active and standby links according to an embodiment of the present invention.
  • One technical problem to be solved by the present invention is how to control the uplink traffic to be sent to the OLT only through the primary link in the all-fiber protection system.
  • the switch chip can set the STP (Spanning Tree Protocol) status of the port.
  • STP Shorting Tree Protocol
  • the STP status of the port includes the following five types:
  • the port in this state does not forward data packets, but can receive STP configuration messages, such as BPDUs (Bridge Protocol Data Units), cannot send BPDUs, and does not perform address learning.
  • STP configuration messages such as BPDUs (Bridge Protocol Data Units)
  • the port in this state does not forward data packets, can receive and send BPDUs, and does not perform MAC (Media Access Control) address learning.
  • MAC Media Access Control
  • the port in this state does not forward data packets, and can receive and send BPDUs for MAC address learning.
  • Forwarding The port in this state can receive and forward any data for MAC address learning.
  • the switch chip can customize some MAC addresses.
  • the switch chip can treat these packets as BPDUs.
  • the BPDU flag can be used to set whether to process the MAC in BPDU mode.
  • the present invention provides a method for implementing service control in an all-fiber protection system, and specifically uses the following technical solutions to implement service control:
  • the switch chip processes the inter-board communication packets between the main control board and the EPON daughter card in BPDU mode (that is, as a BPDU).
  • the initial STP state of the primary port and the standby port is forwarding.
  • the main control board communicates with the EPON daughter card through a private MAC address, and the main control board writes the private MAC of the inter-board communication to the custom MAC address table of the chip change.
  • the switch chip sets whether to process in BPDU mode by using a BPDU flag bit.
  • service control is implemented through an EPON chip, but the EPON chip itself is managed by the CPU, and the management interface is relatively complicated, and therefore, the implementation efficiency is not high.
  • the service control is implemented by using the switch chip, and the inter-board communication message is treated as bpdu.
  • the STP state of the standby N I port is set to listen, and the service flow is prohibited from being forwarded to ensure normal communication between the boards.
  • Another technical problem to be solved by the present invention is how to implement fast switching of service flows between active and standby links and reduce packet loss when switching occurs.
  • the embodiment provided by the present invention only needs to reset the STP state of the active NM port and the standby NNI port to implement the switching of the service flow between the active and standby links.
  • the embodiment provided by the present invention specifically uses the following technical solution: When the switching occurs, the STP state of the original standby port is changed to forwarding;
  • the MAC address of the original primary port is cleared, and the uplink service is flooded; and the STP status of the original primary port is changed to listening.
  • the embodiment of the invention provides a device for implementing service control in an all-fiber protection system. As shown in FIG. 4, the device mainly includes the following modules:
  • the switching management module 401 is mainly configured to be responsible for link detection, processing of the switching protocol, and notifying the service control module 402 of the active and standby N I port numbers;
  • Service control module 402 The main configuration is that the control service is only sent through the primary link, and the active and standby links are quickly switched when the switchover occurs.
  • the switching management module 401 is configured to notify the service control module after determining the primary port and the standby port;
  • the service control module 402 is configured to: after receiving the notification of the switch management module 401, set the spanning tree protocol state of the active port to the forwarding state, set the spanning tree protocol state of the standby port to the listening state, and set the main control board.
  • the inter-board communication packet with the EPON daughter card is processed in BPDU mode.
  • the service control module 402 is further configured to write the inter-board communication private MAC of the main control board and the EPON daughter card to the custom MAC address table of the switch chip.
  • the service control module 402 is further configured to set whether to process in a BPDU manner by using a BPDU flag bit.
  • the switching management module 401 is further configured to: when the switching occurs, set the spanning tree protocol state of the original standby port to the forwarding state; at the same time, clear the MAC address of the original primary port, flood the uplink service, and use the original primary service.
  • the port spanning tree protocol state is set to the listening state.
  • Step 101 The service control module writes the private MAC address of the inter-board communication into the custom MAC address table, and sets the MAC address to be processed in the BPDU manner.
  • the custom MAC address table is a function of the switch chip, and each entry includes a MAC-ADDR, BPDU, etc. field, and a special MAC (such as the inter-board communication MAC of the present invention) can be written into the table.
  • the destination MAC is MAC-ADDR and the BPDU is processed.
  • the switch chip receives the packet, it first searches for the user-defined MAC address entry. If the BPDU flag is set, the MAC-ADDR of the entry is treated as a BPDU. If the BPDU flag of an entry is not set, the switch will not The MAC-ADDR of this entry is treated as a BPDU.
  • Step 102 The switching management module determines the active and standby N I ports, and notifies the service control module.
  • Step 103 The service control module sets the STP state of the primary NNI port to forward, and the primary N I can forward any data to learn the MAC address.
  • Step 104 The service control module sets the STP state of the standby NNI port to listening, and the standby NM port only sends and receives EPON configuration management messages, and the service stream is prohibited from being sent and received.
  • Step 201 The switching management module monitors the active/standby link switching event, and notifies the service control module when the switching occurs;
  • Step 202 The service control module changes the STP status of the standby NM port to forwarding;
  • Step 203 The service control module clears the MAC address of the active NNI port, and floods the business;
  • the source MAC address of the downlink data stream before the switchover is learned on the original primary NNI port, and the uplink service flow is forwarded to the original primary NI port according to the destination MAC address.
  • the upstream service flow is still sent to the original primary NM port.
  • the MAC address of the original active NM is aged, it is forwarded to other ports, and the MAC address of the original active NNI port is directly cleared. This can save the aging time.
  • Upstream The data is directly flooded, which can improve the speed of data stream switching.
  • Step 204 The service control module changes the STP status of the primary NM port to listening.
  • the present invention provides a method and apparatus for implementing service control in an all-fiber protection system. After determining a primary port and an alternate port of a network node interface (NNI), the state of the spanning tree protocol of the primary port is set to be forwarded. Status, set the spanning tree protocol status of the standby port to the listening state; the switch chip compares the inter-board communication message between the main control board and the Ethernet passive optical network (EPON) daughter card by the bridge protocol data unit (BPDU) The method is to solve the problem of service flow control of the ONU in the all-fiber protection system.
  • NNI network node interface
  • the solution of the invention realizes that the service flow only passes through the primary link.
  • the service flows are quickly switched on the active and standby links to reduce packet loss and improve protection performance.

Landscapes

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

Abstract

本发明要提供了一种全光纤保护系统中实现业务控制的方法及装置,所述方法包括:通过确定网络节点接口(NNI)主用端口和备用端口后,将主用端口的生成树协议状态设置为转发状态,将备用端口的生成树协议状态设置为侦听状态;交换芯片将主控板与以太网无源光网络(EPON)子卡之间的板间通信报文按网桥协议数据单元(BPDU)方式处理。本发明的技术方案解决了全光纤保护系统中ONU的业务流控制等问题。

Description

全光纤保护系统中实现业务控制的方法及装置
技术领域
本发明涉及通信技术领域, 更具体地, 涉及一种全光纤保护系统中实现 业务控制的方法及装置。
背景技术
随着宽带接入技术发展,运营商正逐渐接受并部署光纤接入网络( Optical Access Network, 简称 OAN ) , 给用户提供更快速率和更高质量的服务。
以太网无源光网络( Ethernet Passive Optical Network , 简称 EPON ) 于以太网的无源光接入技术, 遵循 IEEE ( Institute of Electrical and Electronics Engineers, 美国电气和电子工程师协会) 8203. ah 系列标准。 EPON 由以太 网技术发展而来, 适合承载基于以太网的业务, 例如宽带上网、 VOIP ( Voice Over Internet Protocol , 互联网语音传输协议) 、 IPTV ( Internet Protocol Television,交互式网络电视)等应用。如图 1所示, EPON主要由 OLT( Optical Line Terminal, 光线路终端) 、 ONU ( Optical Network Unit, 光网络单元)和 ODN ( Optical Distribution Network, 光分配网络)组成。 其中, ODN为点到 多点结构, 一个 OLT通过 ODN连接多个 ONU。
在 EPON部署应用中, 有一部分类型的用户需要较高的安全性, 希望运 营商能够提供一种保障机制来确保其业务通路不中断, 或者次一级的要求是 能够在业务通路中断后快速恢复。 这就对承载用户业务运行的 EPON网络提 出了保护和快速切换的要求。
为了提高网络可靠性性, 在 EPON系统中釆用光纤保护倒换机制。 光纤 保护倒换配置主要有两种: 主干光纤保护倒换和全光纤保护倒换, 图 2所示 为全光纤保护倒换模式。 全光纤保护模式的设备配置要求是 OLT和 ONU都 具备多个 EPON口, 以支持倒换。 全光纤保护倒换包括两种: 自动倒换和手 动协议倒换。 自动倒换指检测到主用链路故障的倒换, 手动协议倒换指根据 配置命令进行主备链路倒换。 ONU需要两个 EPON口来实现全光纤保护,冗余链路应处于热备份状态, 倒换后 ONU无需重新进行测距。 主控板主要包括交换芯片和与 CPU, 交换 芯片通过一个管理口连接 CPU, 实现配置、 管理、 协议等功能。 CPU通过板 间通信报文管理 EPON子卡。 主用 N I ( Network Node Interface, 网络节点 接口 )和备用 N I表示交换芯片的两个 GE ( Gigabit Ethernet , 千兆以太网) 接口, 通过这两个 GE口连接主备 EPON卡。 UNI ( User Network Interface, 用户网络接口 )为交换芯片的 FE ( Fast Ethernet, 快速以太网)接口, 用于连 接用户设备。
目前, EPON芯片都以固件的方式运行在 EPON子卡上, EPON芯片厂 商提供一套 SDK(软件开发包)运行在主控板的 CPU上,由此 CPU管理 EPON 芯片。 CPU与 EPON芯片之间管理报文是标准的以太网报文, MAC地址由 厂商指定, 只用作板间通信。
在全光纤保护系统中, OLT与 ONU侧备用链路处于热备份状态, OLT 负责下行业务流的控制, ONU负责上行业务流的控制, 要求业务流只能通过 主用链路发送。 关于业务控制, 主要关注如下两点:
1. 如何实现业务控制, 即业务流只通过主用链路收发;
2、如何控制业务流在主备链路间的快速切换, 这是评价全光纤保护性能 的重要因素, 一般根据丟包率来衡量。 发明内容
本发明要解决的问题是提供一种全光纤保护系统中实现业务控制的方法 及装置, 解决全光纤保护系统中 ONU的业务流控制等问题。
为解决上述技术问题, 本发明提供了一种在全光纤保护系统中实现业务 控制的方法, 所述方法包括:
确定网络节点接口 (NNI )主用端口和备用端口后, 将主用端口的生成 树协议状态设置为转发状态,将备用端口的生成树协议状态设置为侦听状态; 文按网桥协议数据单元(BPDU )方式处理。 其中 ,所述主控板与所述 ΕΡΟΝ子卡之间通过私有媒质访问控制( MAC ) 地址进行通信, 所述主控板将板间通信的私有 MAC写入所述交换芯片的自 定义 MAC地址表。
其中, 所述方法还包括:
所述交换芯片通过 BPDU标志位设置是否按 BPDU方式处理所述主控板 与以所述 EPON子卡之间的板间通信报文。
其中, 所述方法还包括:
所述全光纤保护系统发生倒换时, 将原备用端口的生成树协议状态设置 为转发状态;
同时, 清除原主用端口的 MAC地址, 洪泛上行业务, 并将原主用端口 生成树协议状态设置为侦听状态。
本发明还提供了一种在全光纤保护系统中实现业务控制的装置 , 所述装 置包括:
倒换管理模块, 设置为检测链路, 在确定主用端口和备用端口后, 通知 业务控制模块; 以及
业务控制模块, 设置为收到倒换管理模块的通知后, 将主用端口的生成 树协议状态设置为转发状态,将备用端口的生成树协议状态设置为侦听状态; 并将主控板与 EPON子卡之间的板间通信报文按 BPDU方式处理。
其中, 所述业务控制模块进一步用于, 将主控板与所述 EPON子卡的板 间通信私有 MAC写入所述交换芯片的自定义 MAC地址表。
其中,所述业务控制模块还设置为,通过 BPDU标志位设置是否按 BPDU 方式处理所述主控板与以所述 EPON子卡之间的板间通信报文。
其中, 所述倒换管理模块还设置为, 在发生倒换时, 将原备用端口的生 成树协议状态设置为转发状态; 同时, 清除原主用端口的 MAC地址, 洪泛 上行业务, 并将原主用端口生成树协议状态设置为侦听状态。
本发明针对全光纤保护系统中 ONU的业务流控制问题,提供一种全光纤 保护系统中实现业务控制的解决方案, 实现业务流只通过主用链路。 此外, 在主备用链路发生倒换时, 实现业务流在主备链路快速切换, 减少丟包, 提 升了保护性能。
附图概述
图 1为现有技术中 EPON光分配网络的结构示意图;
图 2为现有技术中 EPON全光纤保护模式的光分配网络的结构示意图; 图 3为本发明实施例的釆用全光纤保护模式的主控板与 EPON卡的通信 示意图;
图 4为本发明实施例提供的一种全光纤保护系统中实现业务控制的装置 示意图;
图 5为本发明实施例的全光纤保护系统中实现业务控制的方法的具体处 理步骤;
图 6为本发明实施例的业务流在主备链路间的切换的具体处理步骤。
本发明的较佳实施方式
本发明所要解决的一个技术问题是, 在全光纤保护系统中, 如何控制上 行业务流只经过主用链路送往 OLT。
为解决上述技术问题, 本发明实施方式的基本构思如下:
交换芯片可以设置端口的 STP ( Spanning Tree Protocol, 生成树协议)状 态, 端口的 STP状态包括如下 5种:
Disabled (禁用) : 禁用端口;
Blocking (阻塞): 处于该状态的端口不转发数据报文, 但可以接收 STP 配置消息如 BPDU ( Bridge Protocol Data Unit, 网桥协议数据单元) , 不能发 送 BPDU, 也不进行地址学习;
Listening (侦听): 处于该状态的端口不转发数据报文, 可以接收并发送 BPDU, 不进行 MAC ( Media Access Control, 媒质访问控制)地址学习;
Learning (学习): 处于该状态的端口不转发数据报文, 可以接收并发送 BPDU, 进行 MAC地址学习; Forwarding (转发) : 处于该状态的端口可以接收转发任何数据, 进行 MAC地址学习。
此外, 交换芯片可自定义一些 MAC地址, 在转发目的 MAC是已定义 MAC的报文时, 交换芯片可以将这些报文当作 BPDU处理。 已有技术中, 可 以通过 BPDU标志位设置是否按 BPDU方式处理此 MAC。
基于交换芯片的上述两个功能, 本发明提供一种全光纤保护系统中实现 业务控制的方法, 具体釆用如下技术方案来实现业务控制:
确定 NNI 主用端口和备用端口后, 将主用端口的 STP 状态设置为 forwarding, 将备用端口的 STP状态设置为 listening;
交换芯片将主控板与 EPON子卡之间的板间通信报文按 BPDU方式(即 当作 BPDU才艮文)处理。
其中, 主用端口和备用端口的初始 STP状态是 forwarding。
优选地, 所述主控板与所述 EPON子卡之间通过私有 MAC地址进行通 信,所述主控板将板间通信的私有 MAC写入所述换芯片的自定义 MAC地址 表。
优选地, 交换芯片通过 BPDU标志位设置是否按 BPDU方式处理。 现有技术中是通过 EPON芯片实现业务控制, 但是 EPON芯片本身要通 过 CPU来管理, 而且管理接口比较复杂, 因此, 实现起来效率不高。 而本发 明则是通过交换芯片实现业务控制, 将板间通信报文作为 bpdu处理, 可以通 过设置备用 N I端口的 STP状态为 listening, 禁止业务流的转发, 保证板间 通信正常。
通过上述技术方案, 即可实现备用链路只有 EPON的配置管理消息, 没 有业务流, 而业务流只通过主用链路送往 OLT。
本发明所要解决的另一技术问题是, 在发生倒换时, 如何实现业务流在 主备链路间快速切换, 减少丟包。
针对该技术问题, 本发明所提供的实施方式只需重新设置主用 NM端口 和备用 NNI端口的 STP状态就可以实现业务流在主备链路间的切换。 为解决该技术问题, 本发明所提供的实施方式具体釆用如下技术方案: 倒换发生时, 将原备用端口的 STP状态改为 forwarding;
同时, 清除原主用端口的 MAC地址, 洪泛上行业务; 并将原主用端口 的 STP状态改为 listening。
以下将结合附图及具体实施例对本发明实施例的技术方案的实施作进一 步详细描述。
本发明实施例提供了一种全光纤保护系统中实现业务控制的装置, 如图 4所示, 该装置主要包括以下模块:
倒换管理模块 401 : 主要设置为负责链路检测, 倒换协议的处理, 通知 业务控制模块 402主备 N I端口号;
业务控制模块 402: 主要设置为控制业务只经过主用链路发送, 倒换发 生时实现主备链路快速切换。
优选地, 倒换管理模块 401设置为, 在确定主用端口和备用端口后, 通 知业务控制模块;
业务控制模块 402, 设置为收到倒换管理模块 401 的通知后, 将主用端 口的生成树协议状态设置为转发状态, 将备用端口的生成树协议状态设置为 侦听状态;并将主控板与 EPON子卡之间的板间通信报文按 BPDU方式处理。
此外, 所述业务控制模块 402还设置为, 将主控板与所述 EPON子卡的 板间通信私有 MAC写入所述交换芯片的自定义 MAC地址表。
此外, 所述业务控制模块 402还设置为, 通过 BPDU标志位设置是否按 BPDU方式处理。
此外, 所述倒换管理模块 401还设置为, 在发生倒换时, 将原备用端口 的生成树协议状态设置为转发状态; 同时, 清除原主用端口的 MAC地址, 洪泛上行业务, 并将原主用端口生成树协议状态设置为侦听状态。
结合上述实施例中提供的装置, 如图 5所示, 本发明实施例的全光纤保 护系统中实现业务控制的方法的具体处理步骤描述如下:
步骤 101 : 业务控制模块将板间通信的私有 MAC写入自定义 MAC地址 表, 设置按 BPDU方式处理此 MAC地址;
其中, 自定义 MAC 地址表是交换芯片的一个功能, 每个条目包括 MAC— ADDR, BPDU等字段,可以将特殊的 MAC(如本发明的板间通信 MAC ) 写入这个表。
通过将特殊 MAC写入 MAC— ADDR, 同时设置 BPDU标志位, 可实现 目的 MAC是 MAC— ADDR的报文当 BPDU处理。 交换芯片收到报文时先查 找用户 自定义 MAC 表项, 如果设置了 BPDU 标志位, 则将该条目的 MAC— ADDR当作 BPDU处理; 如果某条目的 BPDU标志位未设置, 则不会 将该条目的 MAC— ADDR当作 BPDU处理。
步骤 102: 倒换管理模块确定主备 N I端口, 通知业务控制模块; 步骤 103: 业务控制模块将主用 NNI端口的 STP状态设置为 forwarding, 主用 N I可以转发任何数据, 学习 MAC地址;
步骤 104: 业务控制模块将备用 NNI端口的 STP状态设置为 listening, 备用 NM端口只收发 EPON的配置管理消息, 禁止业务流收发。
本发明实施例的全光纤保护系统中实现业务控制的方法中,如图 6所示, 业务流在主备链路间的切换的具体处理步骤描述如下:
步骤 201 : 倒换管理模块监测主备链路倒换事件, 倒换发生时通知业务 控制模块; 除了
步骤 202: 业务控制模块将备用 NM端口的 STP状态改为 forwarding; 步骤 203: 业务控制模块清除主用 NNI端口的 MAC地址, 洪泛上行业 务;
其中, 倒换发生前下行数据流的源 MAC地址学习在原主用 NNI端口, 上行业务流根据目的 MAC转发到原主用 N I端口。 倒换发生后, 上行业务 流仍向原主要 NM端口发送, 要等到原主用 NM的 MAC地址老化后才向其 它端口转发, 直接清除原主用 NNI端口的 MAC, 可以省去老化时间。 上行 数据直接洪泛, 可以提升数据流切换速度。
步骤 204: 业务控制模块将主用 NM端口的 STP状态改为 listening 以 上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易想到的变化 或替换, 都应涵盖在本发明的保护范围之内。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
工业实用性 本发明要提供一种全光纤保护系统中实现业务控制的方法及装置, 通过 确定网络节点接口 (NNI )主用端口和备用端口后, 将主用端口的生成树协 议状态设置为转发状态, 将备用端口的生成树协议状态设置为侦听状态; 交 换芯片将主控板与以太网无源光网络 ( EPON )子卡之间的板间通信报文按网 桥协议数据单元(BPDU )方式处理, 来解决全光纤保护系统中 ONU的业务 流控制等问题。
本发明的解决方案, 实现了业务流只通过主用链路。 此外, 在主备用链 路发生倒换时, 实现业务流在主备链路快速切换, 减少丟包, 提升了保护性 能。

Claims

权 利 要 求 书
1、 一种在全光纤保护系统中实现业务控制的方法, 包括:
确定网络节点接口 (NNI )主用端口和备用端口后, 将主用端口的生成 树协议状态设置为转发状态,将备用端口的生成树协议状态设置为侦听状态; 文按网桥协议数据单元(BPDU )方式处理。
2、 如权利要求 1所述的方法, 其还包括:
所述主控板与所述 EPON子卡之间通过私有媒质访问控制( MAC )地址 进行通信, 所述主控板将板间通信的私有 MAC写入所述交换芯片的自定义 MAC地址表。
3、 如权利要求 2所述的方法, 其还包括:
所述交换芯片通过 BPDU标志位设置是否按 BPDU方式处理所述主控板 与以所述 EPON子卡之间的板间通信报文。
4、 如权利要求 1、 2或 3所述的方法, 其还包括:
所述全光纤保护系统发生倒换时, 将原备用端口的生成树协议状态设置 为转发状态;
同时, 清除原主用端口的 MAC地址, 洪泛上行业务, 并将原主用端口 生成树协议状态设置为侦听状态。
5、 一种在全光纤保护系统中实现业务控制的装置, 包括:
倒换管理模块, 其设置为检测链路, 在确定主用端口和备用端口后, 通 知业务控制模块; 以及
所述业务控制模块, 其设置为收到所述倒换管理模块的通知后, 将所述 主用端口的生成树协议状态设置为转发状态, 将所述备用端口的生成树协议 状态设置为侦听状态; 并将主控板与以太网无源光网络 EPON子卡之间的板 间通信报文按网桥协议数据单元 BPDU方式处理。
6、 如权利要求 5所述的装置, 其中,
所述业务控制模块还设置为: 将所述主控板与所述 EPON子卡的板间通 信私有 MAC写入所述交换芯片的自定义 MAC地址表。
7、 如权利要求 6所述的装置, 其中,
所述业务控制模块还设置为: 通过 BPDU标志位设置是否按 BPDU方式 处理所述主控板与以所述 EPON子卡之间的板间通信报文。
8、 如权利要求 5、 6或 7所述的装置, 其中,
所述倒换管理模块还设置为: 在发生倒换时, 将原备用端口的生成树协 议状态设置为转发状态; 同时, 清除原主用端口的 MAC地址, 洪泛上行业 务, 并将所述主用端口生成树协议状态设置为侦听状态。
PCT/CN2011/073406 2010-08-27 2011-04-27 全光纤保护系统中实现业务控制的方法及装置 Ceased WO2012024940A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010269297.3A CN101917648B (zh) 2010-08-27 2010-08-27 全光纤保护系统中实现业务控制的方法及装置
CN201010269297.3 2010-08-27

Publications (1)

Publication Number Publication Date
WO2012024940A1 true WO2012024940A1 (zh) 2012-03-01

Family

ID=43325013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073406 Ceased WO2012024940A1 (zh) 2010-08-27 2011-04-27 全光纤保护系统中实现业务控制的方法及装置

Country Status (2)

Country Link
CN (1) CN101917648B (zh)
WO (1) WO2012024940A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917648B (zh) * 2010-08-27 2014-06-11 中兴通讯股份有限公司 全光纤保护系统中实现业务控制的方法及装置
CN102684782A (zh) * 2012-05-08 2012-09-19 成都瑞凌科信息技术有限公司 Epon系统的保护装置和数据冗余备份方法及监控方法
CN104038355B (zh) * 2013-03-04 2018-03-06 中兴通讯股份有限公司 一种通信设备及其主备倒换方法
CN104125083A (zh) * 2013-04-24 2014-10-29 中兴通讯股份有限公司 一种网络设备的主备倒换方法、装置、设备及系统
CN104125517B (zh) * 2013-04-26 2019-02-22 中兴通讯股份有限公司 一种光传输系统、模式耦合器和光传输方法
CN109391493B (zh) * 2017-08-09 2022-01-28 深圳市傲睿智存科技有限公司 一种服务器集群的子服务器集群及其自启动加载方法
CN109379647A (zh) * 2018-10-18 2019-02-22 盛科网络(苏州)有限公司 一种用于实现分布式olt中线卡上联主控盘的方法和装置
CN112218181B (zh) * 2019-07-12 2022-08-30 烽火通信科技股份有限公司 一种保护倒换方法及系统
CN110868366A (zh) * 2019-12-09 2020-03-06 盛科网络(苏州)有限公司 基于asic的通信设备板级保护方法和系统
CN114584866A (zh) * 2020-11-18 2022-06-03 中兴通讯股份有限公司 业务保护方法、光传送网设备和存储介质
CN115334376A (zh) * 2021-04-26 2022-11-11 华为技术有限公司 一种数据传输方法、网络节点、光系统及存储介质
CN113839816B (zh) * 2021-09-23 2024-01-19 新华三信息安全技术有限公司 一种配线装置及其故障切换方法
CN114205207B (zh) * 2021-11-02 2024-06-04 武汉光迅信息技术有限公司 一种网络管理方法、装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032194A (en) * 1997-12-24 2000-02-29 Cisco Technology, Inc. Method and apparatus for rapidly reconfiguring computer networks
CN1980142A (zh) * 2005-11-30 2007-06-13 西门子通信技术(北京)有限公司 一种缩短网络保护时间的方法及装置
CN101001165A (zh) * 2006-01-11 2007-07-18 大唐移动通信设备有限公司 具有冗余端口的网络故障恢复方法
CN101917648A (zh) * 2010-08-27 2010-12-15 中兴通讯股份有限公司 全光纤保护系统中实现业务控制的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032194A (en) * 1997-12-24 2000-02-29 Cisco Technology, Inc. Method and apparatus for rapidly reconfiguring computer networks
CN1980142A (zh) * 2005-11-30 2007-06-13 西门子通信技术(北京)有限公司 一种缩短网络保护时间的方法及装置
CN101001165A (zh) * 2006-01-11 2007-07-18 大唐移动通信设备有限公司 具有冗余端口的网络故障恢复方法
CN101917648A (zh) * 2010-08-27 2010-12-15 中兴通讯股份有限公司 全光纤保护系统中实现业务控制的方法及装置

Also Published As

Publication number Publication date
CN101917648A (zh) 2010-12-15
CN101917648B (zh) 2014-06-11

Similar Documents

Publication Publication Date Title
WO2012024940A1 (zh) 全光纤保护系统中实现业务控制的方法及装置
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN101557313B (zh) 一种电信级宽带接入设备上联板卡保护的方法
CN102204129B (zh) 以太网无源光网络的保护切换的方法和系统
CN102137009B (zh) 网络中的二层业务处理方法和系统以及设备
US20130021896A1 (en) Method, system, and device for protecting multicast in communication network
CN101986626B (zh) 一种设备的保护方法及装置
WO2012000254A1 (zh) 实现无源光网络光链路保护的系统、装置及方法
JP2007507990A (ja) 分散スイッチング構造を備えるスイッチングシステム
WO2011157021A1 (zh) 实现无源光网络光纤保护的方法、系统及装置
EP2966798B1 (en) Active and standby changeover method, apparatus, device, and system for network device
WO2015131360A1 (zh) 一种链路切换方法、设备和系统
CN104025511A (zh) 一种无源光网络中的业务保护方法、光线路终端及系统
CN102231703A (zh) 一种实现虚拟集群交换机跨设备数据转发的方法和设备
CN102611519B (zh) 一种对无源光网络进行链路保护的方法和装置
CN1964249B (zh) 一种实现点到多点网络链路状态穿通的方法及其设备
CN102984014A (zh) 数据发送方法及网络系统
CN101964719B (zh) 基于主控板倒换的数据处理方法、线卡及主控板
CN1921357A (zh) 一种全光纤保护装置及其方法
CN103248508A (zh) 端口保护方法、装置及系统
WO2023065750A1 (zh) 一种状态同步方法、装置及设备
CN102025561A (zh) 一种以太环网中刷新mac的方法及系统
CN101291258B (zh) 用于通讯平台多框互连时的以太网环路处理方法
CN102740171B (zh) 一种无源光网络环路检测方法及系统
CN116054929B (zh) 业务保护系统

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

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

Country of ref document: EP

Kind code of ref document: A1