WO2012034384A1 - Method and system for link maintenance under energy-saving state in ethernet passive optical networks - Google Patents

Method and system for link maintenance under energy-saving state in ethernet passive optical networks Download PDF

Info

Publication number
WO2012034384A1
WO2012034384A1 PCT/CN2011/071624 CN2011071624W WO2012034384A1 WO 2012034384 A1 WO2012034384 A1 WO 2012034384A1 CN 2011071624 W CN2011071624 W CN 2011071624W WO 2012034384 A1 WO2012034384 A1 WO 2012034384A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
onu
olt
maintaining
saving state
Prior art date
Application number
PCT/CN2011/071624
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 WO2012034384A1 publication Critical patent/WO2012034384A1/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0088Signalling aspects
    • 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 Ethernet Passive Optical Network (EPON), and more particularly to a method and system for maintaining a link in an energy-saving state in an EPON system.
  • EPON Ethernet Passive Optical Network
  • the system usually consists of optical line terminals (OLT, Optical Line Terminal).
  • the optical network unit (ONU), the optical network termination (ONT), and the optical distribution network (ODN) are formed on the user side, as shown in FIG. 1 .
  • the ODN is composed of a single-mode optical fiber, a passive optical device such as an optical splitter, and an optical connector.
  • the ODN provides an optical transmission medium for the physical connection between the OLT and the ONU/ONT.
  • the ODN is usually a point-to-multipoint structure, that is, one OLT connects multiple ONUs.
  • a link maintenance mechanism is defined in IEEE 802.3-2005 Section 5 Clause 64.3.
  • the OLT does not send a GATE Multi-Point Control Protocol (MPCP) message to the ONU within 50 ms, then The ONU sends an empty GATE MPCP packet. If the OLT does not receive the report (REPORT) MPCP packet within 1 second, the OLT considers that a serious link error has occurred between the OLT and the ONU.
  • the state machine corresponding to the ONU migrates to the deregistered state, and then re-initiates the registration process of the ONU.
  • MPCP GATE Multi-Point Control Protocol
  • An ONU that is in the registered state sends an empty REPORT MPCP packet to the OLT if it does not send a REPORT MPCP packet to the OLT within 50 ms. If the ONU does not receive the OLT within 1 second A GATE MPCP message sent to itself is considered to have a link critical error, migrated to the WATCHDOG TIMEOUT state, and then re-registered. It can be seen from the above rules that for an ONU in the registered state, the OLT needs to send 4 messages to the ONU at intervals of up to 50 ms. Similarly, the ONU needs to send packets to the OLT at intervals of up to 50 ms.
  • Some business layer protocols also have a link maintenance mechanism.
  • IGMP Internet Group Management Protocol
  • QUERY IGMP Query
  • REPORT IGMP Report
  • the ONU's reception and transmission are turned off, or the transmission is turned off.
  • the prior art needs to send a data frame for maintaining a link between the ONU and the OLT to implement a link maintenance mechanism, and the data frame cannot be sent in a power saving state (including the data frame that maintains the link cannot be normally sent), Therefore, in fact, in the energy-saving state, the existing technology is still used, and the link maintenance mechanism cannot be implemented. In this case, there is a possibility that the ONU is deregistered or the service-level link is interrupted. However, the requirement for energy saving cannot affect the registration of the service and ONU. Therefore, how to maintain the link in the energy-saving state has become a problem to be solved, and there is no effective solution at present. Summary of the invention
  • the main object of the present invention is to provide a method and system for maintaining a link in an energy-saving state of an Ethernet passive optical network, which can implement link maintenance in an energy-saving state.
  • a method for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: an optical network unit (ONU) periodically waking up in an energy-saving state according to a default sleep cycle or a sleep cycle configured by an optical line terminal (OLT); Receive and send data to maintain the link when it is awake frame.
  • ONU optical network unit
  • OLT optical line terminal
  • the manner in which the OLT configures the sleep cycle for the ONU includes: an OLT extended operation management and maintenance (OAM) message, and the configured sleep cycle is added to the extended OAM message and sent to the ONU.
  • OAM OLT extended operation management and maintenance
  • the default sleep period or the configured sleep period is smaller than the maximum transmission time interval of the data frame that the system requires to maintain the link.
  • the implementation manner of the periodic wakeup includes: a manner of triggering after a timer or a counter expires, or a manner in which the ONU responds to an OLT message.
  • a system for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: a configuration unit and a first link maintenance unit;
  • a configuration unit configured by the OLT to configure a sleep cycle for the ONU
  • the first link maintaining unit is configured to perform link maintenance by receiving and transmitting data frames for maintaining the link when the ONU periodically wakes up in the power saving state according to a default sleep cycle or a sleep cycle configured by the OLT.
  • the configuration unit is further configured to: extend the OAM message by the OLT, add the configured sleep period to the extended OAM message, and send the sleep period to the ONU, and implement the OLT to configure the ONU for the ONU. Sleep cycle.
  • the default sleep period or the configured sleep period is smaller than the maximum transmission time interval of the data frame that the system requires to maintain the link.
  • a method for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: setting a transmission frequency of a protocol packet or a data packet between an ONU and an OLT for maintaining a link; and transmitting a signal for maintaining a link
  • the transmission time interval is greater than or equal to the sleep period of the ONU according to the set transmission frequency.
  • the method further includes: setting, by the OLT, the sending time interval by using an extended OAM message, or adjusting, by the ONU, the sending time interval according to the sleep period.
  • a system for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: a setting unit and a second link maintaining unit;
  • a setting unit configured to set a sending frequency of a protocol packet or a data packet used by the ONU and the OLT to maintain the link
  • the second link maintaining unit is configured to enable the link period to be greater than or equal to the sleep period of the ONU according to the set transmission frequency, and implement link maintenance by sending a protocol packet or a data packet for maintaining the link.
  • the second link maintaining unit is further configured to set the sending time interval by the OLT by using an extended OAM message, or adjust the sending time interval according to the sleep period by the ONU.
  • the present invention has two solutions, one of which includes: The ONU periodically wakes up in a power saving state according to a default sleep cycle or an OLT configured sleep cycle; and receives and transmits a data frame for maintaining a link when periodically waking up.
  • the present invention since there is a sleep cycle, even in a power-saving state, it can periodically wake up in a power-saving state according to a sleep cycle, and can receive and transmit a data frame for maintaining a link, thereby realizing a chain in a power-saving state.
  • FIG. 1 is a schematic diagram of a basic structure of a prior art EPON network
  • FIG. 2 is a flowchart of maintaining an ONU of an MPCP protocol link in a sleep mode according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of an ONU of a link for maintaining a service layer protocol in a sleep mode according to Embodiment 2 of the present invention. detailed description
  • the basic idea of the invention is: The invention has two sets of solutions, one of which includes: ONU
  • the power cycle is periodically awakened according to the default sleep cycle or the sleep cycle configured by the OLT; the data frame for maintaining the link is received and transmitted during the periodic wakeup.
  • a method for maintaining a link in an energy-saving state of an Ethernet passive optical network mainly includes the following two aspects:
  • the ONU periodically wakes up in a power-saving state according to a default sleep cycle or a sleep cycle configured by the OLT; and receives and transmits a data frame for maintaining the link when periodically waking up.
  • the manner in which the OLT configures the sleep cycle for the ONU includes: the OLT extends the OAM message, and adds the configured sleep period to the extended OAM message, and sends the OAM message to the ONU.
  • the 0 AM is an abbreviation of Operation, Administraion & Maintenance, and refers to operation, management, and maintenance.
  • the default sleep period or the configured sleep period is less than the maximum transmission interval of the data frame that the system requires to maintain the link.
  • the implementation of the periodic wakeup includes: a method of triggering after a timer or a counter is timed out, or a manner of responding to the 0LT message by the 0NU.
  • the energy saving state includes multiple implementation modes such as a sleep mode or a hiccup mode.
  • the sleep mode refers to a case where the reception and transmission of the ONU are both closed;
  • the hiccup mode refers to a case where the transmission of the ONU is turned off, and the reception of the ONU is turned on.
  • a system for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: a configuration unit and a first link maintenance unit.
  • the configuration unit is configured to configure a sleep cycle for the ONU to be 0NU;
  • the first link maintenance unit is configured to receive and transmit the link for maintaining the link when the ONU periodically wakes up in the energy-saving state according to the default sleep cycle or the sleep cycle configured by the OLT.
  • the data frame implements link maintenance.
  • the configuration unit is further configured to add the configured sleep period to the extended 0AM message by using the 0LT extended 0AM message, and send the method to the ONU to implement the 0LT as 0NU. Configure the sleep cycle.
  • the default sleep period or configured sleep period is less than the maximum transmission interval of the data frame that the system requires to maintain the link.
  • the second aspect is: setting a transmission frequency of a protocol packet or a data packet for maintaining a link between the ONU and the OLT; sending a protocol packet or a data packet for maintaining the link, and setting a transmission interval according to the set transmission frequency Greater than or equal to the sleep period of the ONU.
  • the sending time interval may be set by the OLT by extending the OAM message, or may be adjusted by the ONU according to the sleep cycle. This ensures that the data packets sent between the ONU and the OLT can meet the requirements of maintaining the link.
  • the sleep cycle referred to herein is not limited to the present description, and any description that can implement the sleep cycle function is within the scope of the present invention, such as a wake-up cycle, a wake-up interval, and the like.
  • a system for maintaining a link in an energy-saving state of an Ethernet passive optical network comprising: a setting unit and a second link maintaining unit.
  • the setting unit is configured to set a transmission frequency of a protocol packet or a data packet between the ONU and the OLT for maintaining a link; and the second link maintaining unit is configured to make the transmission time interval greater than or equal to the ONU according to the set transmission frequency.
  • link maintenance is achieved by sending protocol messages or data packets for maintaining the link.
  • the second link maintaining unit is further configured to set a transmission time interval by the OLT through the extended OAM message, or adjust the transmission time interval according to the sleep period by the ONU.
  • the present invention is a solution for implementing a link maintenance mechanism in an energy-saving state, which can meet the needs of system energy conservation, and can close the receiving and/or transmitting of the optical module during sleep or snoring to achieve The purpose of energy saving. At the same time, it cooperates with the media access control (MAC layer) and the link maintenance mechanism of the service layer to avoid the ONU deregistration or service disconnection.
  • MAC layer media access control
  • the invention is illustrated by way of example below.
  • Embodiment 1 In the sleep mode, the process of maintaining an ONU of the MPCP protocol link is used for In the sleep mode, the maintenance link mechanism of the MPCP protocol is guaranteed to operate normally. It should be noted that the MPCP protocol is a link maintenance mechanism for the MAC layer, and will not be described.
  • Step 101 The ONU of the EPON system starts the energy saving mode.
  • Step 102 The ONU enters the sleep mode and turns off the sending and receiving functions of the optical module.
  • Step 103 The ONU starts the timer T while entering the sleep mode.
  • Step 104 Determine whether the timer ⁇ times out, if yes, execute step 105; otherwise, wait, continue to determine whether the timer ⁇ times out.
  • Step 105 The ONU receives the GATE frame from the OLT after the timer expires.
  • Step 106 Determine whether there is uplink traffic. If yes, go to step 107; otherwise, go to step 108.
  • Step 107 If there is uplink traffic, the corresponding REPORT frame is sent according to the rule of Dynamic Bandwidth Allocation (DBA) to achieve the purpose of allocating the uplink bandwidth for the ONU; and then step 102 is performed.
  • DBA Dynamic Bandwidth Allocation
  • Step 108 If there is no uplink traffic, send an empty REPORT frame to the OLT in the time slot specified by the GATE frame, and the empty REPORT frame is the data frame for maintaining the link; then step 102 is performed.
  • the timeout period of the timer T should be less than the maximum REPORT frame acceptance interval specified by the OLT, and the value of the timer T can be set to 50 ms by default.
  • the OLT can configure the value of the timer T by extending the OAM message.
  • the format of the extended OAM message is shown in Table 1. It is a table for configuring the extended OAM packet frame format of the sleep cycle.
  • Variable Width is used to indicate the length of the Variable value field, its value is 04 4 Sleep cycle identifies the time that the ONU is held in sleep mode, in units of time quantification
  • Octet(s) in Table 1 represents bytes; Branch represents variable parts; Leaf represents variable pages; Variable Width represents variable widths.
  • Embodiment 2 The process of maintaining the ONU of the link of the service layer protocol in the sleep mode, and ensuring the normal operation of the maintenance link mechanism of the service layer protocol in the sleep mode.
  • the MPCP maintain link mechanism uses other methods than the above-mentioned first embodiment to perform link maintenance, or the system captures the MPCP timer, the manner of interfering with the MPCP state machine,
  • the PON system If the PON system can operate normally, the PON system only needs to ensure that the maintenance link mechanism of the service layer protocol runs normally.
  • Step 201 The ONU of the EPON system starts the energy saving mode.
  • Step 202 The ONU enters a sleep mode to disable the sending and receiving functions of the optical module.
  • Step 203 The ONU starts the timer T while entering the sleep mode.
  • Step 204 Determine whether the timer ⁇ times out. If yes, execute step 205; otherwise, wait, continue to determine whether the timer ⁇ has timed out.
  • Step 205 The ONU receives the GATE frame from the OLT after the timer expires.
  • Step 206 The ONU sends an uplink protocol frame for maintaining the link in a time slot specified by the GATE frame; and then step 202 is performed.
  • the OLT should send a GATE frame to the ONU before the timer expires to ensure that the uplink protocol frame of the ONU can be sent.
  • the timeout period of the timer T should be less than the maximum maintenance link frame acceptance interval specified by the protocol.
  • the default value of timer T is different, and the value of timer T can be set to 50ms by default.
  • the OLT can configure the value of the timer T by extending the OAM message.
  • the format of the extended OAM is as shown in Table 1 above.
  • Embodiment 3 For the doze mode, the ONU responds to the OLT message, and ensures that the MPCP protocol and other protocols maintain the link mechanism in the hiccup mode.
  • the flow of this embodiment includes the following steps:
  • Step 301 The EPON ONU starts the energy-saving mode, enters the hiccup mode, and disables the sending function of the optical module.
  • Step 302 The OLT periodically sends a data packet for maintaining the link to 0 during the ONU snoring.
  • Step 303 The ONU responds to the OLT requesting the ONU during the hiccup mode.
  • the ONU data transmission is temporarily turned on and the response is made.
  • the maintenance link data packet includes two types of packets of the MPCP maintenance link and extended OAM messages for querying the status.
  • the extended OAM message definition is as shown in Table 2 below, in order to configure a table of extended OAM packet frame formats for maintaining the data packet transmission period of the link.
  • the implementation that the OLT periodically sends the data packet for maintaining the link to the ONU during the ONU snoring can be achieved by, but not limited to, the following:
  • Manner 1 Set a timer or counter inside the OLT. The timer expires or the counter reaches a certain value to trigger the OLT to send a data packet to maintain the link to the ONU.
  • Manner 2 The OLT is controlled by the service module to deliver data packets for maintaining the link.
  • Manner 3 The OLT is controlled by the message from the upper device and sends the data packet for maintaining the link.
  • Embodiment 4 Maintaining MPCP in a sleep mode by adjusting the frequency of sending MPCP packets
  • the ONU process of the protocol link is used to ensure that the MPCP protocol maintains the link mechanism in normal operation by adjusting the frequency of sending MPCP packets in the sleep mode.
  • the flow of this embodiment is similar to the flow of the first embodiment. The difference is that the transmission frequency needs to be adjusted in this embodiment, but the transmission frequency is fixed in the first embodiment.
  • Step 401 The EPON ONU starts the power saving mode, and adjusts the frequency of the GATE frame sent to maintain the link to once every 200 ms.
  • the MPCP state machine on the OLT sends a GATE frame to the ONU every 200ms.
  • Step 402 The ONU enters the sleep mode and turns off the sending and receiving functions of the optical module.
  • Step 403 The ONU starts the timer T while entering the sleep mode, and the timeout period is 200ms.
  • Step 404 The ONU receives the GATE frame from the OLT after the timer expires.
  • Step 405 If there is no upstream traffic, send an empty REPORT frame to the OLT within the time slot specified by the GATE frame; return to step 402.
  • Step 406 If there is uplink traffic, the corresponding REPORT frame is sent according to the rules of the DBA. Go back to step 402.
  • the manner in which the ONU obtains the timer T timeout period includes but is not limited to the following two types:
  • the OLT sends the OAM message to the ONU through the extended OAM message.
  • Table 2 shows the extended OAM message.
  • Mode 2 The ONU is obtained according to the length of the wakeup period.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention discloses two solutions for a method for link maintenance under an energy-saving state in Ethernet Passive Optical Networks, wherein one solution includes: an Optical Network Unit (ONU) wakes up periodically in an energy-saving state according to a default sleep period or a sleep period configured by an Optical Line Terminal (OLT), and receives and transmits data frames for maintaining links when it wakes up periodically. The present invention also discloses two solutions for a link maintenance system for link maintenance under an energy-saving state in Ethernet Passive Optical Networks, wherein in one solution a configuration unit of the system is used by an OLT to configure a sleep period for an ONU; a link maintenance unit is used by the ONU to implement link maintenance by receiving and transmitting data frames for maintaining links when the ONU periodically wakes up in the energy-saving state according to a default sleep period or a sleep period configured by the OLT. Application of the method and system of the present invention enables link maintenance under the energy-saving state.

Description

一种以太网无源光网络节能状态下维持链路的方法及系统 技术领域  Method and system for maintaining link in energy-saving state of Ethernet passive optical network
本发明涉及以太网无源光网络 ( EPON , Ethernet Passive Optical Network )领域, 尤其涉及一种 EPON系统中在节能状态下维持链路的方法 及系统。 背景技术  The present invention relates to the field of Ethernet Passive Optical Network (EPON), and more particularly to a method and system for maintaining a link in an energy-saving state in an EPON system. Background technique
1G-EPON和 10G-EPON分别^ ^于 IEEE802.3-2005 Section 5和 IEEE 802.3av标准的新一代宽带无源光综合接入技术, 系统通常由局侧的光线路 终端 (OLT, Optical Line Terminal ), 用户侧的光网络单元(ONU, Optical Network Unit ) /光网络终端 (ONT, Optical Network Termination ), 和光分 配网络(ODN, Optical Distribution Network )组成, 如图 1所示。 其中, ODN由单模光纤和光分路器、 光连接器等无源光器件组成, ODN为 OLT 与 ONU/ONT之间的物理连接提供光传输媒质。 ODN通常为点到多点结构, 即一个 OLT连接多个 ONU。  1G-EPON and 10G-EPON respectively. A new generation of broadband passive optical access technology based on IEEE802.3-2005 Section 5 and IEEE 802.3av standards. The system usually consists of optical line terminals (OLT, Optical Line Terminal). The optical network unit (ONU), the optical network termination (ONT), and the optical distribution network (ODN) are formed on the user side, as shown in FIG. 1 . The ODN is composed of a single-mode optical fiber, a passive optical device such as an optical splitter, and an optical connector. The ODN provides an optical transmission medium for the physical connection between the OLT and the ONU/ONT. The ODN is usually a point-to-multipoint structure, that is, one OLT connects multiple ONUs.
IEEE802.3-2005 Section 5 Clause 64.3中规定了一种链路维持机制。 以 用户侧终端为 ONU为例, 对每个处于已注册(registered )状态的 ONU, OLT 若在 50ms 时间内没有向该 ONU发送选通(GATE ) 多点控制协议 ( MPCP )报文, 则向该 ONU发送一个空的 GATE MPCP报文; OLT若在 1秒内没有收到其发送的报告( REPORT ) MPCP报文,则认为 OLT与 ONU 间发生了链路严重错误, 将 OLT 自身内部和该 ONU对应的状态机迁移到 去注册(deregistered )状态, 然后重新发起该 ONU的注册过程。 处于已注 册状态的 ONU, 若在 50ms内没有向 OLT发送 REPORT MPCP报文, 则向 OLT发送一个空的 REPORT MPCP报文。 ONU若在 1秒内没有收到 OLT 发给自己的 GATE MPCP报文, 则认为发生了链路严重错误, 迁移到看门 狗超时( WATCHDOG TIMEOUT )状态, 然后重新进行注册过程。 由上述 规则可以看出, 对于处于已注册状态的 ONU而言, OLT需要以最长 50ms 的间隔向 ONU发送 4艮文, 同样 ONU也需要以最长 50ms的间隔向 OLT发 送报文。 A link maintenance mechanism is defined in IEEE 802.3-2005 Section 5 Clause 64.3. Taking the user-side terminal as an ONU as an example, for each ONU that is in the registered state, if the OLT does not send a GATE Multi-Point Control Protocol (MPCP) message to the ONU within 50 ms, then The ONU sends an empty GATE MPCP packet. If the OLT does not receive the report (REPORT) MPCP packet within 1 second, the OLT considers that a serious link error has occurred between the OLT and the ONU. The state machine corresponding to the ONU migrates to the deregistered state, and then re-initiates the registration process of the ONU. An ONU that is in the registered state sends an empty REPORT MPCP packet to the OLT if it does not send a REPORT MPCP packet to the OLT within 50 ms. If the ONU does not receive the OLT within 1 second A GATE MPCP message sent to itself is considered to have a link critical error, migrated to the WATCHDOG TIMEOUT state, and then re-registered. It can be seen from the above rules that for an ONU in the registered state, the OLT needs to send 4 messages to the ONU at intervals of up to 50 ms. Similarly, the ONU needs to send packets to the OLT at intervals of up to 50 ms.
一些业务层的协议也有链路维持机制。 如互联网组管理协议(IGMP, Internet Group Management Protocol )协议, 每隔一定时间, 服务器会向用 户发送 IGMP查询( QUERY )协议帧,用户必须返回 IGMP报告 ( REPORT ) 协议帧。 如果服务器在一定时间内没有收到 IGMP REPORT响应, 会认为 用户已经不再需要该组播流, 会停止向用户发送组播数据。  Some business layer protocols also have a link maintenance mechanism. For example, the Internet Group Management Protocol (IGMP) protocol sends an IGMP Query (QUERY) protocol frame to the user at regular intervals. The user must return an IGMP Report (REPORT) protocol frame. If the server does not receive an IGMP REPORT response within a certain period of time, it will consider that the user no longer needs the multicast stream and will stop sending multicast data to the user.
EPON系统处于节能状态时, ONU的接收和发送都关闭, 或者发送关 闭。 由于现有技术需要在 ONU与 OLT之间互相发送维持链路的数据帧, 来实现链路维持机制, 而在节能状态下无法发送数据帧 (包括维持链路的 数据帧也不能正常发送), 因此, 实际上在节能状态下仍然釆用现有技术, 是无法实现链路维持机制的,在这种情况下有可能出现 ONU被解注册或者 业务级链接中断的问题。 然而节能的要求是不能影响业务和 ONU的注册, 因此, 在节能状态下如何维持链路成为了一个待解决的问题, 目前尚未存 在有效的解决方案。 发明内容  When the EPON system is in a power-saving state, the ONU's reception and transmission are turned off, or the transmission is turned off. Because the prior art needs to send a data frame for maintaining a link between the ONU and the OLT to implement a link maintenance mechanism, and the data frame cannot be sent in a power saving state (including the data frame that maintains the link cannot be normally sent), Therefore, in fact, in the energy-saving state, the existing technology is still used, and the link maintenance mechanism cannot be implemented. In this case, there is a possibility that the ONU is deregistered or the service-level link is interrupted. However, the requirement for energy saving cannot affect the registration of the service and ONU. Therefore, how to maintain the link in the energy-saving state has become a problem to be solved, and there is no effective solution at present. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种以太网无源光网络节能状 态下维持链路的方法及系统, 能在节能状态下实现链路维持。  In view of the above, the main object of the present invention is to provide a method and system for maintaining a link in an energy-saving state of an Ethernet passive optical network, which can implement link maintenance in an energy-saving state.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种以太网无源光网络节能状态下维持链路的方法, 该方法包括: 光 网络单元(ONU )根据默认睡眠周期或光线路终端 (OLT ) 配置的睡眠周 期在节能状态周期性苏醒; 周期性苏醒时接收和发送用于维持链路的数据 帧。 A method for maintaining a link in an energy-saving state of an Ethernet passive optical network, the method comprising: an optical network unit (ONU) periodically waking up in an energy-saving state according to a default sleep cycle or a sleep cycle configured by an optical line terminal (OLT); Receive and send data to maintain the link when it is awake frame.
其中, 所述 OLT为所述 ONU配置所述睡眠周期的方式包括: OLT扩 展操作管理维护(OAM )消息, 将配置的所述睡眠周期加入扩展后的 OAM 消息中, 并下发给 ONU。  The manner in which the OLT configures the sleep cycle for the ONU includes: an OLT extended operation management and maintenance (OAM) message, and the configured sleep cycle is added to the extended OAM message and sent to the ONU.
其中, 所述默认睡眠周期或配置的睡眠周期小于系统要求维持链路的 数据帧的最大发送时间间隔。  The default sleep period or the configured sleep period is smaller than the maximum transmission time interval of the data frame that the system requires to maintain the link.
其中, 所述周期性苏醒的实现方式包括: 通过定时器或计数器超时后 触发的方式、 或 ONU响应 OLT消息的方式。  The implementation manner of the periodic wakeup includes: a manner of triggering after a timer or a counter expires, or a manner in which the ONU responds to an OLT message.
一种以太网无源光网络节能状态下维持链路的系统, 该系统包括: 配 置单元和第一链路维持单元; 其中,  A system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a configuration unit and a first link maintenance unit;
配置单元, 用于 OLT为 ONU配置睡眠周期;  a configuration unit, configured by the OLT to configure a sleep cycle for the ONU;
第一链路维持单元, 用于 ONU根据默认睡眠周期或 OLT配置的睡眠 周期在节能状态周期性苏醒时, 通过接收和发送用于维持链路的数据帧实 现链路维持。  The first link maintaining unit is configured to perform link maintenance by receiving and transmitting data frames for maintaining the link when the ONU periodically wakes up in the power saving state according to a default sleep cycle or a sleep cycle configured by the OLT.
其中, 所述配置单元, 进一步用于通过 OLT扩展 OAM消息, 将配置 的所述睡眠周期加入扩展后的 OAM消息中, 并下发给 ONU的方式, 实现 所述 OLT为所述 ONU配置所述睡眠周期。  The configuration unit is further configured to: extend the OAM message by the OLT, add the configured sleep period to the extended OAM message, and send the sleep period to the ONU, and implement the OLT to configure the ONU for the ONU. Sleep cycle.
其中, 所述默认睡眠周期或配置的睡眠周期小于系统要求维持链路的 数据帧的最大发送时间间隔。  The default sleep period or the configured sleep period is smaller than the maximum transmission time interval of the data frame that the system requires to maintain the link.
一种以太网无源光网络节能状态下维持链路的方法, 该方法包括: 设 置 ONU与 OLT之间用于维持链路的协议报文或数据包的发送频率; 发送 用于维持链路的协议报文或数据包时, 按照设置的发送频率使发送时间间 隔大于或等于 ONU的睡眠周期。  A method for maintaining a link in an energy-saving state of an Ethernet passive optical network, the method comprising: setting a transmission frequency of a protocol packet or a data packet between an ONU and an OLT for maintaining a link; and transmitting a signal for maintaining a link In the case of a protocol message or a data packet, the transmission time interval is greater than or equal to the sleep period of the ONU according to the set transmission frequency.
其中, 该方法还包括: 由 OLT通过扩展 OAM消息设置所述发送时间 间隔、 或由 ONU根据睡眠周期调整所述发送时间间隔。 一种以太网无源光网络节能状态下维持链路的系统, 该系统包括: 设 置单元和第二链路维持单元; 其中, The method further includes: setting, by the OLT, the sending time interval by using an extended OAM message, or adjusting, by the ONU, the sending time interval according to the sleep period. A system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a setting unit and a second link maintaining unit;
设置单元, 用于设置 ONU与 OLT之间用于维持链路的协议报文或数 据包的发送频率;  a setting unit, configured to set a sending frequency of a protocol packet or a data packet used by the ONU and the OLT to maintain the link;
第二链路维持单元, 用于按照设置的发送频率使发送时间间隔大于或 等于 ONU的睡眠周期,通过发送用于维持链路的协议报文或数据包实现链 路维持。  The second link maintaining unit is configured to enable the link period to be greater than or equal to the sleep period of the ONU according to the set transmission frequency, and implement link maintenance by sending a protocol packet or a data packet for maintaining the link.
其中, 所述第二链路维持单元, 进一步用于由 OLT通过扩展 OAM消 息设置所述发送时间间隔、 或由 ONU根据睡眠周期调整所述发送时间间 隔。  The second link maintaining unit is further configured to set the sending time interval by the OLT by using an extended OAM message, or adjust the sending time interval according to the sleep period by the ONU.
本发明有两套方案,其中一套方案包括: ONU根据默认睡眠周期或 OLT 配置的睡眠周期在节能状态周期性苏醒; 周期性苏醒时接收和发送用于维 持链路的数据帧。  The present invention has two solutions, one of which includes: The ONU periodically wakes up in a power saving state according to a default sleep cycle or an OLT configured sleep cycle; and receives and transmits a data frame for maintaining a link when periodically waking up.
釆用本发明, 由于存在睡眠周期, 即便处于节能状态下, 也可以根据 睡眠周期在节能状态下周期性苏醒, 能接收和发送用于维持链路的数据帧, 从而实现在节能状态下的链路维持机制。 附图说明  According to the present invention, since there is a sleep cycle, even in a power-saving state, it can periodically wake up in a power-saving state according to a sleep cycle, and can receive and transmit a data frame for maintaining a link, thereby realizing a chain in a power-saving state. Road maintenance mechanism. DRAWINGS
图 1为现有技术的 EPON网络基本结构示意图;  1 is a schematic diagram of a basic structure of a prior art EPON network;
图 2为本发明实施例一的在睡眠模式下为维持 MPCP协议链路的 ONU 的流程图;  2 is a flowchart of maintaining an ONU of an MPCP protocol link in a sleep mode according to Embodiment 1 of the present invention;
图 3 为本发明实施例二的在睡眠模式下为维持业务层协议的链路的 ONU的流程图。 具体实施方式  FIG. 3 is a flowchart of an ONU of a link for maintaining a service layer protocol in a sleep mode according to Embodiment 2 of the present invention. detailed description
本发明的基本思想是: 本发明有两套方案, 其中一套方案包括: ONU 才艮据默认睡眠周期或 OLT配置的睡眠周期在节能状态周期性苏醒; 周期性 苏醒时接收和发送用于维持链路的数据帧。 The basic idea of the invention is: The invention has two sets of solutions, one of which includes: ONU The power cycle is periodically awakened according to the default sleep cycle or the sleep cycle configured by the OLT; the data frame for maintaining the link is received and transmitted during the periodic wakeup.
下面结合附图对技术方案的实施作进一步的详细描述。  The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
一种以太网无源光网络节能状态下维持链路的方法, 该方法主要包括 以下两方面内容:  A method for maintaining a link in an energy-saving state of an Ethernet passive optical network, the method mainly includes the following two aspects:
第一方面: ONU根据默认睡眠周期或 OLT配置的睡眠周期在节能状态 周期性苏醒; 周期性苏醒时接收和发送用于维持链路的数据帧。  The first aspect: The ONU periodically wakes up in a power-saving state according to a default sleep cycle or a sleep cycle configured by the OLT; and receives and transmits a data frame for maintaining the link when periodically waking up.
进一步的, OLT为 ONU配置睡眠周期的方式包括: OLT扩展 OAM消 息, 并将配置的睡眠周期加入扩展后的 OAM消息中, 并下发给 ONU。 其 中, 所述 0 AM是 Operation、 Administraion& Maintenance的缩写, 指操作、 管理与维护。  Further, the manner in which the OLT configures the sleep cycle for the ONU includes: the OLT extends the OAM message, and adds the configured sleep period to the extended OAM message, and sends the OAM message to the ONU. The 0 AM is an abbreviation of Operation, Administraion & Maintenance, and refers to operation, management, and maintenance.
进一步的, 默认睡眠周期或配置的睡眠周期要小于系统要求维持链路 的数据帧的最大发送时间间隔。  Further, the default sleep period or the configured sleep period is less than the maximum transmission interval of the data frame that the system requires to maintain the link.
进一步的, 周期性苏醒的实现方式包括: 通过定时器或计数器超时后 触发的方式、 或 0NU响应 0LT消息的方式。  Further, the implementation of the periodic wakeup includes: a method of triggering after a timer or a counter is timed out, or a manner of responding to the 0LT message by the 0NU.
进一步的, 所述节能状态包括睡眠模式、 或打盹模式等多种实现方式。 其中, 所述睡眠模式指: 0NU的接收和发送都关闭的情况; 所述打盹模式 指: ONU的发送关闭, 而 ONU的接收是打开的情况。  Further, the energy saving state includes multiple implementation modes such as a sleep mode or a hiccup mode. The sleep mode refers to a case where the reception and transmission of the ONU are both closed; the hiccup mode refers to a case where the transmission of the ONU is turned off, and the reception of the ONU is turned on.
对应上述实现方案, 一种以太网无源光网络节能状态下维持链路的系 统, 该系统包括: 配置单元和第一链路维持单元。 其中, 配置单元用于 0LT 为 0NU配置睡眠周期; 第一链路维持单元用于 0NU根据默认睡眠周期或 0LT 配置的睡眠周期在节能状态周期性苏醒时, 通过接收和发送用于维持 链路的数据帧实现链路维持。  Corresponding to the foregoing implementation scheme, a system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a configuration unit and a first link maintenance unit. Wherein, the configuration unit is configured to configure a sleep cycle for the ONU to be 0NU; the first link maintenance unit is configured to receive and transmit the link for maintaining the link when the ONU periodically wakes up in the energy-saving state according to the default sleep cycle or the sleep cycle configured by the OLT. The data frame implements link maintenance.
这里, 配置单元进一步用于通过 0LT扩展 0AM消息, 将配置的睡眠 周期加入扩展后的 0AM消息中,并下发给 0NU的方式,实现 0LT为 0NU 配置睡眠周期。 Here, the configuration unit is further configured to add the configured sleep period to the extended 0AM message by using the 0LT extended 0AM message, and send the method to the ONU to implement the 0LT as 0NU. Configure the sleep cycle.
这里, 默认睡眠周期或配置的睡眠周期小于系统要求维持链路的数据 帧的最大发送时间间隔。  Here, the default sleep period or configured sleep period is less than the maximum transmission interval of the data frame that the system requires to maintain the link.
第二方面: 设置 ONU与 OLT之间用于维持链路的协议报文或数据包 的发送频率; 发送用于维持链路的协议报文或数据包时, 按照设置的发送 频率使发送时间间隔大于或等于 ONU的睡眠周期。  The second aspect is: setting a transmission frequency of a protocol packet or a data packet for maintaining a link between the ONU and the OLT; sending a protocol packet or a data packet for maintaining the link, and setting a transmission interval according to the set transmission frequency Greater than or equal to the sleep period of the ONU.
进一步的, 发送时间间隔可以由 OLT通过扩展 OAM消息设置, 也可 以由 ONU根据睡眠周期来调整。从而保证 ONU和 OLT之间发送的数据包 可以满足维持链路的要求。  Further, the sending time interval may be set by the OLT by extending the OAM message, or may be adjusted by the ONU according to the sleep cycle. This ensures that the data packets sent between the ONU and the OLT can meet the requirements of maintaining the link.
这里需要指出的是: 本文涉及的睡眠周期并不限于目前的描述, 只要 能实现该睡眠周期功能的描述都在本发明的保护范围内, 比如唤醒周期、 唤醒时间间隔等等。  It should be noted here that the sleep cycle referred to herein is not limited to the present description, and any description that can implement the sleep cycle function is within the scope of the present invention, such as a wake-up cycle, a wake-up interval, and the like.
对应上述实现方案, 一种以太网无源光网络节能状态下维持链路的系 统, 该系统包括: 设置单元和第二链路维持单元。 其中, 设置单元用于设 置 ONU与 OLT之间用于维持链路的协议报文或数据包的发送频率; 第二 链路维持单元用于按照设置的发送频率使发送时间间隔大于或等于 ONU 的睡眠周期, 通过发送用于维持链路的协议报文或数据包实现链路维持。  Corresponding to the foregoing implementation scheme, a system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a setting unit and a second link maintaining unit. The setting unit is configured to set a transmission frequency of a protocol packet or a data packet between the ONU and the OLT for maintaining a link; and the second link maintaining unit is configured to make the transmission time interval greater than or equal to the ONU according to the set transmission frequency. During the sleep cycle, link maintenance is achieved by sending protocol messages or data packets for maintaining the link.
这里, 第二链路维持单元进一步用于由 OLT通过扩展 OAM消息设置 发送时间间隔、 或由 ONU根据睡眠周期调整发送时间间隔。  Here, the second link maintaining unit is further configured to set a transmission time interval by the OLT through the extended OAM message, or adjust the transmission time interval according to the sleep period by the ONU.
综上所述, 本发明是一种在节能状态下实现链路维持机制的方案, 一 方面能够满足系统节能的需要, 在睡眠或者打盹时间内可以关闭光模块的 接收和 /或发送, 以达到节能的目的。 同时配合媒体接入控制(MAC层)和 业务层的链路维持机制, 避免出现 ONU解注册或业务断链的情况。  In summary, the present invention is a solution for implementing a link maintenance mechanism in an energy-saving state, which can meet the needs of system energy conservation, and can close the receiving and/or transmitting of the optical module during sleep or snoring to achieve The purpose of energy saving. At the same time, it cooperates with the media access control (MAC layer) and the link maintenance mechanism of the service layer to avoid the ONU deregistration or service disconnection.
以下对本发明进行举例阐述。  The invention is illustrated by way of example below.
实施例一: 在睡眠模式下为维持 MPCP协议链路的 ONU的流程,用于 在睡眠模式下保证 MPCP协议的维持链路机制正常运行。 需要指出的是, 本文涉及 MPCP协议的都是针对 MAC层的链路维持机制, 不作赘述。 Embodiment 1: In the sleep mode, the process of maintaining an ONU of the MPCP protocol link is used for In the sleep mode, the maintenance link mechanism of the MPCP protocol is guaranteed to operate normally. It should be noted that the MPCP protocol is a link maintenance mechanism for the MAC layer, and will not be described.
如图 2所示的流程, 包括以下步骤:  The process shown in Figure 2 includes the following steps:
步骤 101 : EPON系统的 ONU启动节能方式。  Step 101: The ONU of the EPON system starts the energy saving mode.
步骤 102: ONU 进入睡眠模式, 关闭光模块的发送和接收功能。  Step 102: The ONU enters the sleep mode and turns off the sending and receiving functions of the optical module.
步骤 103: ONU在进入睡眠模式的同时启动定时器 T。  Step 103: The ONU starts the timer T while entering the sleep mode.
步骤 104: 判断定时器 Τ是否超时, 如果是, 则执行步骤 105; 否则, 等待, 继续判断定时器 Τ是否超时。  Step 104: Determine whether the timer 超时 times out, if yes, execute step 105; otherwise, wait, continue to determine whether the timer 超时 times out.
步骤 105: ONU在定时器 Τ超时后, 接收来自 OLT的 GATE帧。  Step 105: The ONU receives the GATE frame from the OLT after the timer expires.
步骤 106: 判断是否有上行流量, 如果是, 则执行步骤 107; 否则, 执 行步骤 108。  Step 106: Determine whether there is uplink traffic. If yes, go to step 107; otherwise, go to step 108.
步骤 107: 如果有上行流量, 则按照动态带宽分配 (DBA, Dynamic Bandwidth Allocation )的规则发送相应的 REPORT帧, 以达到为 ONU分配 上行带宽的目的; 之后执行步骤 102。  Step 107: If there is uplink traffic, the corresponding REPORT frame is sent according to the rule of Dynamic Bandwidth Allocation (DBA) to achieve the purpose of allocating the uplink bandwidth for the ONU; and then step 102 is performed.
步骤 108: 如果没有上行流量, 则在 GATE帧规定的时隙内向 OLT发 送空的 REPORT帧, 该空的 REPORT帧即为用于维持链路的数据帧; 之后 执行步骤 102。  Step 108: If there is no uplink traffic, send an empty REPORT frame to the OLT in the time slot specified by the GATE frame, and the empty REPORT frame is the data frame for maintaining the link; then step 102 is performed.
这里, 本实施例中, 定时器 T 的超时时间应该小于 OLT规定的最大 REPORT帧接受间隔, 可以将定时器 T的值默认设置为 50ms。  Here, in this embodiment, the timeout period of the timer T should be less than the maximum REPORT frame acceptance interval specified by the OLT, and the value of the timer T can be set to 50 ms by default.
这里, 本实施例中, OLT可以通过扩展 OAM消息配置定时器 T的值。 扩展 OAM消息的格式如表 1所示,为配置睡眠周期的扩展 OAM包帧格式 的表。  Here, in this embodiment, the OLT can configure the value of the timer T by extending the OAM message. The format of the extended OAM message is shown in Table 1. It is a table for configuring the extended OAM packet frame format of the sleep cycle.
Octet(s) Field Notes  Octet(s) Field Notes
1 Branch ( 0XC9 ) 扩展的操作  1 Branch ( 0XC9 ) extended operation
2 Leaf (待定) 配置 ONU在睡眠方式下睡眠周期的通知消息  2 Leaf (to be determined) Configure the notification message of the sleep cycle of the ONU in sleep mode.
1 Variable Width 用于指示 Variable值字段长度时, 其值为 04 4 睡眠周期 标识 ONU在睡眠模式中保持的时间, 单位是时间定量 1 Variable Width is used to indicate the length of the Variable value field, its value is 04 4 Sleep cycle identifies the time that the ONU is held in sleep mode, in units of time quantification
( TQ , Time Quantum )  ( TQ , Time Quantum )
表 1  Table 1
表 1 中的 Octet(s)表示字节; Branch表示变量部; Leaf表示变量页; Variable Width表示变量宽度。  Octet(s) in Table 1 represents bytes; Branch represents variable parts; Leaf represents variable pages; Variable Width represents variable widths.
实施例二: 在睡眠模式下为维持业务层协议的链路的 ONU的流程, 用 于在睡眠模式下保证业务层协议的维持链路机制正常运行。  Embodiment 2: The process of maintaining the ONU of the link of the service layer protocol in the sleep mode, and ensuring the normal operation of the maintenance link mechanism of the service layer protocol in the sleep mode.
因为如果 MPCP的维持链路机制用除上述实施例一外的其他方法进行 链路维持,或者系统釆取了关闭 MPCP定时器,干预 MPCP状态机的方式,  Because if the MPCP maintain link mechanism uses other methods than the above-mentioned first embodiment to perform link maintenance, or the system captures the MPCP timer, the manner of interfering with the MPCP state machine,
能正常运行, 则 PON系统仅需保证业务层协议的维持链路机制正常运行。 If the PON system can operate normally, the PON system only needs to ensure that the maintenance link mechanism of the service layer protocol runs normally.
如图 3所示的流程, 包括以下步骤:  The process shown in Figure 3 includes the following steps:
步骤 201: EPON系统的 ONU启动节能方式。  Step 201: The ONU of the EPON system starts the energy saving mode.
步骤 202: ONU进入睡眠模式, 关闭光模块的发送和接收功能。  Step 202: The ONU enters a sleep mode to disable the sending and receiving functions of the optical module.
步骤 203: ONU在进入睡眠模式的同时启动定时器 T。  Step 203: The ONU starts the timer T while entering the sleep mode.
步骤 204: 判断定时器 Τ是否超时, 如果是, 则执行步骤 205; 否则, 等待, 继续判断定时器 Τ是否超时。  Step 204: Determine whether the timer 超时 times out. If yes, execute step 205; otherwise, wait, continue to determine whether the timer 超时 has timed out.
步骤 205: ONU在定时器 Τ超时后, 接收来自 OLT的 GATE帧。  Step 205: The ONU receives the GATE frame from the OLT after the timer expires.
步骤 206: ONU在 GATE帧规定的时隙内发送用于维持链路的上行协 议帧; 之后执行步骤 202。  Step 206: The ONU sends an uplink protocol frame for maintaining the link in a time slot specified by the GATE frame; and then step 202 is performed.
这里,本实施例中, OLT应该在定时器超时之前向 ONU发送 GATE帧, 保证 ONU的上行协议帧能够发送。  Here, in this embodiment, the OLT should send a GATE frame to the ONU before the timer expires to ensure that the uplink protocol frame of the ONU can be sent.
这里, 本实施例中, 定时器 T的超时时间应该小于协议规定的最大维 持链路帧接受间隔。 对于不同的协议, 定时器 T的默认值不同, 可以将定 时器 T的值默认设置为 50ms。  Here, in this embodiment, the timeout period of the timer T should be less than the maximum maintenance link frame acceptance interval specified by the protocol. For different protocols, the default value of timer T is different, and the value of timer T can be set to 50ms by default.
这里, 本实施例中, OLT可以通过扩展 OAM消息配置定时器 T的值。 扩展 OAM的格式如上述表 1所示。 Here, in this embodiment, the OLT can configure the value of the timer T by extending the OAM message. The format of the extended OAM is as shown in Table 1 above.
实施例三: 针对打盹模式而言, 釆用 ONU响应 OLT消息的方式, 用 于在打盹模式下保证 MPCP协议和其他协议的维持链路机制正常运行。 本 实施例的流程包括以下步骤:  Embodiment 3: For the doze mode, the ONU responds to the OLT message, and ensures that the MPCP protocol and other protocols maintain the link mechanism in the hiccup mode. The flow of this embodiment includes the following steps:
步骤 301 : EPON ONU启动节能方式, 进入打盹模式, 关闭光模块的 发送功能。  Step 301: The EPON ONU starts the energy-saving mode, enters the hiccup mode, and disables the sending function of the optical module.
步骤 302: OLT在 ONU打盹期间定期发送用于维持链路的数据包给 0而。  Step 302: The OLT periodically sends a data packet for maintaining the link to 0 during the ONU snoring.
步骤 303: ONU在打盹模式期间对来自 OLT的要求 ONU响应的链路 维持数据包时暂时打开 ONU的数据发送, 进行响应。  Step 303: The ONU responds to the OLT requesting the ONU during the hiccup mode. When the data packet is maintained, the ONU data transmission is temporarily turned on and the response is made.
这里, 维持链路数据包包括 MPCP维持链路的报文和用于查询状态的 扩展 OAM消息两种。 扩展 OAM消息定义如以下表 2所示, 为配置维持链 路的数据包发送周期的扩展 OAM包帧格式的表。  Here, the maintenance link data packet includes two types of packets of the MPCP maintenance link and extended OAM messages for querying the status. The extended OAM message definition is as shown in Table 2 below, in order to configure a table of extended OAM packet frame formats for maintaining the data packet transmission period of the link.
Figure imgf000011_0002
Figure imgf000011_0002
Figure imgf000011_0001
Figure imgf000011_0001
这里, OLT在 ONU打盹期间定期发送用于维持链路的数据包给 ONU 的实现可以通过但不限于以下方式:  Here, the implementation that the OLT periodically sends the data packet for maintaining the link to the ONU during the ONU snoring can be achieved by, but not limited to, the following:
方式一: 在 OLT的内部设置定时器或计数器, 定时器超时或计数器到 达某个数值触发 OLT发送维持链路的数据包给 ONU。  Manner 1: Set a timer or counter inside the OLT. The timer expires or the counter reaches a certain value to trigger the OLT to send a data packet to maintain the link to the ONU.
方式二: OLT受业务模块控制下发用于维持链路的数据包。  Manner 2: The OLT is controlled by the service module to deliver data packets for maintaining the link.
方式三: OLT 受来自上层设备的消息控制, 下发用于维持链路的数据 包。  Manner 3: The OLT is controlled by the message from the upper device and sends the data packet for maintaining the link.
实施例四:在睡眠模式下用调整 MPCP报文发送频率的方式维持 MPCP 协议链路的 ONU的流程,用于在睡眠模式下,用调整 MPCP报文发送频率 的方式保证 MPCP协议的维持链路机制正常运行。 本实施例的流程类似于 上述实施例一的流程, 区别在于本实施例需要调整发送频率, 而上述实施 例一不需要, 发送频率是固定的。 Embodiment 4: Maintaining MPCP in a sleep mode by adjusting the frequency of sending MPCP packets The ONU process of the protocol link is used to ensure that the MPCP protocol maintains the link mechanism in normal operation by adjusting the frequency of sending MPCP packets in the sleep mode. The flow of this embodiment is similar to the flow of the first embodiment. The difference is that the transmission frequency needs to be adjusted in this embodiment, but the transmission frequency is fixed in the first embodiment.
本实施例的流程包括以下步骤:  The process of this embodiment includes the following steps:
步骤 401 : EPON ONU启动节能方式, 并将发送用于维持链路的 GATE 帧的频率调整到每 200ms一次。 OLT上的 MPCP状态机每隔 200ms发送一 个 GATE帧到 ONU。  Step 401: The EPON ONU starts the power saving mode, and adjusts the frequency of the GATE frame sent to maintain the link to once every 200 ms. The MPCP state machine on the OLT sends a GATE frame to the ONU every 200ms.
步骤 402: ONU 进入睡眠模式, 关闭光模块的发送和接收功能。  Step 402: The ONU enters the sleep mode and turns off the sending and receiving functions of the optical module.
步骤 403 : ONU 在进入睡眠模式的同时启动定时器 T, 超时时间为 200ms。  Step 403: The ONU starts the timer T while entering the sleep mode, and the timeout period is 200ms.
步骤 404: ONU在定时器超时后接收来自 OLT的 GATE帧。  Step 404: The ONU receives the GATE frame from the OLT after the timer expires.
步骤 405: 如果没有上行流量, 则在 GATE帧规定的时隙内向 OLT发 送空的 REPORT帧; 回到步骤 402。  Step 405: If there is no upstream traffic, send an empty REPORT frame to the OLT within the time slot specified by the GATE frame; return to step 402.
步骤 406: 如果有上行流量, 则按照 DBA的规则发送相应的 REPORT 帧。 回到步骤 402。  Step 406: If there is uplink traffic, the corresponding REPORT frame is sent according to the rules of the DBA. Go back to step 402.
在本实施例中, ONU获得定时器 T超时时间的方式包括但不限于以下 两种:  In this embodiment, the manner in which the ONU obtains the timer T timeout period includes but is not limited to the following two types:
方式一、 OLT通过扩展 OAM消息发送给 ONU, 扩展 OAM消息如表 2所示。  The OLT sends the OAM message to the ONU through the extended OAM message. Table 2 shows the extended OAM message.
方式二、 ONU根据唤醒周期长度获取。  Mode 2: The ONU is obtained according to the length of the wakeup period.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种以太网无源光网络节能状态下维持链路的方法, 其特征在于, 该方法包括: 光网络单元(ONU )根据默认睡眠周期或光线路终端(OLT ) 配置的睡眠周期在节能状态周期性苏醒; 周期性苏醒时接收和发送用于维 持链路的数据帧。  A method for maintaining a link in an energy-saving state of an Ethernet passive optical network, the method comprising: the optical network unit (ONU) saving energy according to a default sleep cycle or a sleep cycle configured by an optical line terminal (OLT) The state periodically wakes up; receives and transmits data frames for maintaining the link when periodically waking up.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 OLT为所述 ONU 配置所述睡眠周期的方式包括: OLT扩展操作管理维护 (OAM ) 消息, 将 配置的所述睡眠周期加入扩展后的 OAM消息中, 并下发给 ONU。  The method according to claim 1, wherein the manner in which the OLT configures the sleep cycle for the ONU comprises: an OLT extended operation management and maintenance (OAM) message, adding the configured sleep cycle to the extension The subsequent OAM message is sent to the ONU.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述默认睡眠周期 或配置的睡眠周期小于系统要求维持链路的数据帧的最大发送时间间隔。  The method according to claim 1 or 2, wherein the default sleep period or the configured sleep period is smaller than a maximum transmission time interval of a data frame that the system requires to maintain the link.
4、 根据权利要求 1所述的方法, 其特征在于, 所述周期性苏醒的实现 方式包括: 通过定时器或计数器超时后触发的方式、 或 ONU响应 OLT消 息的方式。  The method according to claim 1, wherein the manner of implementing the periodic wakeup comprises: a manner of triggering after a timer or a counter is timed out, or a manner in which the ONU responds to the OLT message.
5、 一种以太网无源光网络节能状态下维持链路的系统, 其特征在于, 该系统包括: 配置单元和第一链路维持单元; 其中,  A system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a configuration unit and a first link maintenance unit;
配置单元, 用于 OLT为 ONU配置睡眠周期;  a configuration unit, configured by the OLT to configure a sleep cycle for the ONU;
第一链路维持单元, 用于 ONU根据默认睡眠周期或 OLT配置的睡眠 周期在节能状态周期性苏醒时, 通过接收和发送用于维持链路的数据帧实 现链路维持。  The first link maintaining unit is configured to perform link maintenance by receiving and transmitting data frames for maintaining the link when the ONU periodically wakes up in the power saving state according to a default sleep cycle or a sleep cycle configured by the OLT.
6、 根据权利要求 5所述的系统, 其特征在于, 所述配置单元, 进一步 用于通过 OLT扩展 OAM消息,将配置的所述睡眠周期加入扩展后的 OAM 消息中, 并下发给 ONU的方式, 实现所述 OLT为所述 ONU配置所述睡眠 周期。  The system according to claim 5, wherein the configuration unit is further configured to: extend the OAM message by the OLT, add the configured sleep cycle to the extended OAM message, and send the OAM message to the ONU. In a manner, the OLT is configured to configure the sleep cycle for the ONU.
7、 根据权利要求 5或 6所述的系统, 其特征在于, 所述默认睡眠周期 或配置的睡眠周期小于系统要求维持链路的数据帧的最大发送时间间隔。 7. The system according to claim 5 or 6, wherein the default sleep period or the configured sleep period is less than a maximum transmission time interval of a data frame that the system requires to maintain the link.
8、 一种以太网无源光网络节能状态下维持链路的方法, 其特征在于, 该方法包括: 设置 ONU与 OLT之间用于维持链路的协议报文或数据包的 发送频率; 发送用于维持链路的协议报文或数据包时, 按照设置的发送频 率使发送时间间隔大于或等于 ONU的睡眠周期。 A method for maintaining a link in an energy-saving state of an Ethernet passive optical network, the method comprising: setting a transmission frequency of a protocol packet or a data packet for maintaining a link between an ONU and an OLT; When the protocol packet or data packet of the link is used, the transmission time interval is greater than or equal to the sleep period of the ONU according to the set transmission frequency.
9、 根据权利要求 8所述的方法, 其特征在于, 该方法还包括: 由 OLT 通过扩展 OAM消息设置所述发送时间间隔、 或由 ONU根据睡眠周期调整 所述发送时间间隔。  The method according to claim 8, wherein the method further comprises: setting, by the OLT, the sending time interval by using an extended OAM message, or adjusting, by the ONU, the sending time interval according to the sleep period.
10、 一种以太网无源光网络节能状态下维持链路的系统, 其特征在于, 该系统包括: 设置单元和第二链路维持单元; 其中,  A system for maintaining a link in an energy-saving state of an Ethernet passive optical network, the system comprising: a setting unit and a second link maintaining unit;
设置单元, 用于设置 ONU与 OLT之间用于维持链路的协议报文或数 据包的发送频率;  a setting unit, configured to set a sending frequency of a protocol packet or a data packet used by the ONU and the OLT to maintain the link;
第二链路维持单元, 用于按照设置的发送频率使发送时间间隔大于或 等于 ONU的睡眠周期,通过发送用于维持链路的协议报文或数据包实现链 路维持。  The second link maintaining unit is configured to enable the link period to be greater than or equal to the sleep period of the ONU according to the set transmission frequency, and implement link maintenance by sending a protocol packet or a data packet for maintaining the link.
11、 根据权利要求 10所述的系统, 其特征在于, 所述第二链路维持单 元, 进一步用于由 OLT通过扩展 OAM消息设置所述发送时间间隔、 或由 ONU根据睡眠周期调整所述发送时间间隔。  The system according to claim 10, wherein the second link maintaining unit is further configured to set the sending time interval by an OLT by using an extended OAM message, or adjust the sending by the ONU according to a sleep period. time interval.
PCT/CN2011/071624 2010-09-14 2011-03-09 Method and system for link maintenance under energy-saving state in ethernet passive optical networks WO2012034384A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102825373A CN102404188A (en) 2010-09-14 2010-09-14 Method and system capable of maintaining link in energy saving state of Ethernet passive optical network
CN201010282537.3 2010-09-14

Publications (1)

Publication Number Publication Date
WO2012034384A1 true WO2012034384A1 (en) 2012-03-22

Family

ID=45830967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071624 WO2012034384A1 (en) 2010-09-14 2011-03-09 Method and system for link maintenance under energy-saving state in ethernet passive optical networks

Country Status (2)

Country Link
CN (1) CN102404188A (en)
WO (1) WO2012034384A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347221B (en) * 2013-07-04 2016-08-10 北京邮电大学 A kind of threshold values discussion power-economizing method for EPON (Ethernet Passive Optical Network)
CN105049115B (en) * 2015-08-17 2017-09-19 上海斐讯数据通信技术有限公司 A kind of dormancy method and system based on EPON
CN109479023B (en) * 2016-07-22 2021-11-23 日本电信电话株式会社 Link control circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859438A (en) * 2005-09-23 2006-11-08 华为技术有限公司 Operation method for passive optic network user terminal
CN101820349A (en) * 2009-01-25 2010-09-01 Pmc-斯尔若有限公司 Electric power in IEEE 802 type networks is saved

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765030B (en) * 2008-11-04 2012-10-31 西安新邮通信设备有限公司 Method for realizing sleeping and waking mechanism of optical network unit of passive optical network
US8498534B2 (en) * 2008-11-05 2013-07-30 Broadcom Corporation Epon with power-saving features
CN101741689B (en) * 2008-11-11 2012-02-08 中兴通讯股份有限公司 Method and system for maintaining link as well as optical line terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859438A (en) * 2005-09-23 2006-11-08 华为技术有限公司 Operation method for passive optic network user terminal
CN101820349A (en) * 2009-01-25 2010-09-01 Pmc-斯尔若有限公司 Electric power in IEEE 802 type networks is saved

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KUBO R. ET AL.: "Sleep and Adaptive Link Rate Control for Power Saving in IOG-EPON Systems", GLOBAL TELECOMMUNICATIONS CONFERENCE, 2009. GLOBECOM 2009. IEEE, 30 November 2009 (2009-11-30) - 4 December 2009 (2009-12-04) *

Also Published As

Publication number Publication date
CN102404188A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
Zhang et al. Toward energy-efficient 1G-EPON and 10G-EPON with sleep-aware MAC control and scheduling
TWI434540B (en) Epon with power-saving features
Shi et al. Energy-efficient PON with sleep-mode ONU: progress, challenges, and solutions
Kani Power saving techniques and mechanisms for optical access networks systems
WO2012034385A1 (en) Method and system for realizing power saving mechanism management between optical network unit (onu) and optical line terminal (olt)
JP5568449B2 (en) Passive optical network system, station side apparatus, and power consumption control method
KR100932908B1 (en) Power Saving Method of Optical Termination Device and Optical Line Terminal in Optical Access Network
US8554077B2 (en) Energy efficiency and cost efficient protection in passive optical networks
US20120166819A1 (en) Power Management of Optical Access Networks
KR101466183B1 (en) Energy efficient ethernet power management via siepon protocol
Kubo et al. Sleep and adaptive link rate control for power saving in 10G-EPON systems
WO2012136102A1 (en) Method and system for controlling coaxial broadband access terminal
WO2012034384A1 (en) Method and system for link maintenance under energy-saving state in ethernet passive optical networks
JP2012142698A (en) Station side device, communication system and communication control method
JP2009170986A (en) Ont and network system
Zanini et al. Introducing cognition in TDM PONs with cooperative cyclic sleep through runtime sleep time determination
US20120263469A1 (en) Method for Reducing Power Consumption of a Passive Optical Network
WO2011160382A1 (en) Method and system for selecting optical network unit management and maintenance manner
WO2012034382A1 (en) Method for controlling the deregistering of optical network unit (onu) and onu thereof
Mukai et al. Energy efficient 10G-EPON system
WO2012034381A1 (en) Negotiation control method and system for energy-saving mode
US9356699B2 (en) Dynamic readjustment of energy efficient network control policy parameters in an optical network unit based on a SIEPON protocol
US9351057B2 (en) Service provisioning enabled management in SIEPON switching subsystem
Valcarenghi Cognitive PONs: A novel approach toward energy efficiency
JP5318739B2 (en) OSU, OLT, optical access system, and link power saving control 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: 11824455

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

Country of ref document: EP

Kind code of ref document: A1