WO2017032136A1 - 一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端 - Google Patents

一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端 Download PDF

Info

Publication number
WO2017032136A1
WO2017032136A1 PCT/CN2016/085482 CN2016085482W WO2017032136A1 WO 2017032136 A1 WO2017032136 A1 WO 2017032136A1 CN 2016085482 W CN2016085482 W CN 2016085482W WO 2017032136 A1 WO2017032136 A1 WO 2017032136A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
onu
optical network
trigger message
state
Prior art date
Application number
PCT/CN2016/085482
Other languages
English (en)
French (fr)
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 WO2017032136A1 publication Critical patent/WO2017032136A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems

Definitions

  • the present application relates to, but is not limited to, the field of communications technologies, and in particular, to a Gigabit passive optical network system switching method, apparatus, optical network unit, and optical line terminal.
  • Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology.
  • the passive optical network is composed of an optical line terminal (OLT), an optical network unit (ONU), and an optical distribution network (ODN).
  • ODN optical distribution network
  • the ODN is a point-to-multipoint structure, and one OLT can connect multiple ONUs through an ODN.
  • the essential feature of PON is that the ODN is composed entirely of passive optical components and does not contain any active electronic devices. This avoids interference from external devices, reduces the failure rate of the line and external devices, simplifies the power supply configuration and network management complexity, improves system reliability, and saves maintenance costs.
  • the main features of PON technology are simple maintenance, low cost and high transmission bandwidth.
  • the protection switching mechanism of the PON is introduced.
  • the Gigabit-Capable Passive Optical Network (GPON) ONU registration process involves several states: O1 initial state, O2 standby state, O3 serial number state, O4 ranging state, O5 running state. , O6 temporarily waiting for the POPUP state, O7 emergency stop state.
  • O6POPUP state a timer TO2 is involved. This timer is used to control the time when the ONU is in the O6POPUP state. The default setting is 100 milliseconds. If the timer expires, the ONU migrates to the O2 standby state, and the switch fails.
  • the ONU switching process involves a downlink physical layer operation (Administration and Maintenance, PLOAM) message, that is, a POPUP message.
  • PLOAM administration and Maintenance
  • the switchover starts, that is, after the ONU enters the O6 state, the ONU waits for the OLT to send a POPUP message to perform state transition, thereby achieving successful switching.
  • the POPUP message sent by the OLT cannot be stably received. Because in the actual switching process, the standby PON port does not receive the optical signal immediately.
  • the optical signal synchronization and clearing of the optical signal loss (LOS) alarm must be performed before the downlink message can be received normally.
  • the optical signal synchronization time is not equal and the difference is large. Therefore, if the POPUP message sent by the OLT arrives at the ONU just within the optical signal synchronization time, the ONU will not receive it, and can only wait for the TO2 to time out and then drop the line.
  • the ONU cannot stably receive the POPUP message in the O6 state during the switching process. If the OLT sends the POPUP message for too short, the ONU may not receive the optical signal, and the message will not be received. If the time is too long, the switching time of some ONUs will become longer and the performance of the switching will be affected.
  • the embodiments of the present invention provide a Gigabit passive optical network system switching method, device, optical network unit, and optical line terminal, which solves the problem that the ONU cannot be stabilized after entering the O6 state during the switching process.
  • the POPUP message sent by the OLT is received, which causes the switchover to fail.
  • a switching method for a Gigabit passive optical network system is applied to an ONU, and the method includes:
  • the timer If the timer does not time out, it is detected whether a trigger message sent by the OLT for triggering migration from the POPUP state to the ranging state is detected.
  • a notification message for notifying the OLT to resend the trigger message is sent to the OLT according to a predetermined time interval until the timer Timeout or receiving the trigger message and causing the ONU to migrate from the POPUP state to the ranging state according to the trigger message.
  • the determining whether the timer of the POPUP state times out includes:
  • the POPUP state is entered, the timer is started, and downlink optical signal synchronization is performed.
  • the method further includes:
  • the ONU When the timer expires, the ONU is moved to a standby state.
  • the trigger message includes an identifier (ID) of the ONU that sends the trigger message and a message type (Message ID) of the trigger message.
  • ID identifier
  • Message ID message type
  • a switching method for a Gigabit passive optical network system is applied to an OLT, and the method includes:
  • a trigger message for migrating the ONU from the POPUP state to the ranging state is sent to the ONU in the POPUP state.
  • the notification message carries an identifier (ID) of the ONU that sends the notification message and a message type (Message ID) of the notification message.
  • ID identifier
  • Message ID message type
  • the resending the trigger message to the ONU according to the notification message includes:
  • the notification message is parsed to obtain an ID of the ONU that sends the notification message and the Message ID.
  • a switching device for a Gigabit passive optical network system, applied to an ONU comprising:
  • the judging module sets whether the timer for determining the POPUP state times out.
  • the detecting module is configured to: if the result of the determining by the determining module is that the timer does not time out, detecting whether a trigger message sent by the OLT for triggering migration from the POPUP state to the ranging state is detected.
  • An execution module configured to: if the trigger message is not received, send a notification message to the OLT to notify the OLT to resend the trigger message according to a predetermined time interval before the timer expires, Until the timer expires or the trigger message is received and the ONU is migrated from the POPUP state to the ranging state according to the trigger message.
  • the determining module includes:
  • the first determining unit is configured to determine whether the LOS interrupt is detected.
  • a synchronization unit configured to: when the judgment result of the determining unit is that the LOS interrupt is detected, enter the POPUP state, start the timer, and perform downlink optical signal synchronization;
  • the second determining unit is configured to determine whether the timer expires when the synchronization of the downlink optical signal is completed.
  • the device further includes:
  • the migration module is configured to: when the determination result of the determining module is that the timer expires, move the ONU to a standby state.
  • the trigger message includes an ID of the ONU that sends the trigger message and a Message ID of the trigger message.
  • An optical network unit includes the above-described switching device for a Gigabit passive optical network system applied to an ONU.
  • a switching device for a Gigabit passive optical network system is applied to an OLT, and the device includes:
  • the first sending module is configured to send, to the ONU in the POPUP state, a trigger message for migrating the ONU from the POPUP state to the ranging state.
  • the receiving module is configured to receive a notification message periodically sent by the ONU to notify the OLT to resend the trigger message when the trigger message is not received.
  • the second sending module is configured to resend the trigger message to the ONU according to the notification message received by the receiving module.
  • the notification message carries an ID of the ONU that sends the notification message and a Message ID of the notification message.
  • the second sending module includes:
  • the parsing unit is configured to parse the notification message, and obtain an ID of the ONU that sends the notification message and the Message ID.
  • the sending unit is configured to resend the trigger message to the ONU corresponding to the ID according to the parsed message ID.
  • An optical line terminal comprising the above-mentioned switching device for a Gigabit passive optical network system applied to an OLT.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of switching a gigabit passive optical network system.
  • the switching method of the Gigabit passive optical network system in the embodiment of the present invention adds a detection mechanism on the ONU side, that is, after entering the POPUP state, detecting whether the OLT is received during the timing of the timer in the state.
  • the trigger message for triggering the ONU to migrate from the POPUP state to the ranging state if not receiving the trigger message, sending a notification message to the OLT to notify the OLT to resend the trigger message that triggers the ONU to migrate from the POPUP state to the ranging state.
  • the timer expires or the trigger message is received and the ONU is migrated from the POPUP state to the ranging state according to the trigger message.
  • the switching method of the Gigabit passive optical network system in the embodiment of the present invention effectively solves the problem of switching failure caused by the ONU being unable to receive the POPUP message through the detection mechanism and the sending of the notification message, thereby improving the system design. Flexibility and reliability effectively increase the stability of the switching while reducing the switching time of some ONUs.
  • FIG. 1 is a flow chart showing a method for switching a Gigabit passive optical network system applied to an ONU according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a method for switching a Gigabit passive optical network system applied to an OLT according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing the structure of a switching device of a Gigabit passive optical network system applied to an ONU according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing the structure of a judging module according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a switching device of a Gigabit passive optical network system applied to an OLT according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a second transmitting module according to an embodiment of the present invention.
  • a method for switching a Gigabit passive optical network system is provided, which is applied to an ONU, where the method first determines whether a timer of a POPUP state times out; and then, if the timer does not time out, detects Whether a trigger message sent by the OLT for triggering migration from the POPUP state to the ranging state is received; finally, if the trigger message is not received, the timer is scheduled according to a predetermined time interval before the timer expires Sending, to the OLT, a notification message for informing the OLT to resend the trigger message, until the timer expires or receiving the trigger message, and the ONU is migrated from the POPUP state to the ranging state according to the trigger message.
  • the switching method of the Gigabit passive optical network system in the embodiment of the present invention increases the detection mechanism for triggering the trigger message from the POPUP state to the ranging state on the ONU side relative to the related technology, and is in the timing time. If the trigger message is not detected, the OLT is required to resend the trigger message by sending a notification message, which effectively solves the problem that the ONU fails to receive the trigger message sent by the OLT after the ONU enters the POPUP state. .
  • the method includes steps S11-S13:
  • Step S11 Determine whether the timer of the POPUP state times out.
  • the registration process of GPON ONU involves seven states: O1 initial state, O2 standby state, O3 serial number state, O4 ranging state, O5 running state, O6POPUP state, O7 emergency stop state.
  • O1 initial state O2 standby state
  • O3 serial number state O4 ranging state
  • O5 running state O6POPUP state
  • O7 emergency stop state O7 emergency stop state.
  • the timer of the state starts timing and synchronizes the downlink optical signals.
  • the timing time is generally 100 milliseconds by default, and in general, the time required for the synchronization of the downlink optical signals does not exceed the timer timing.
  • the ONU when the timer expires, the ONU will migrate from the POPUP state to the O2 standby state.
  • the switch fails. Therefore, in order to know whether the ONU can be successfully switched, it is first necessary to determine whether the timer expires.
  • Step S12 If the timer does not time out, it is detected whether a trigger message sent by the OLT for triggering the transition from the POPUP state to the ranging state is detected.
  • the switching method of the Gigabit passive optical network system in the embodiment of the present invention adds a detection mechanism on the ONU side. Since the ONU can receive corresponding messages sent by other devices after the downlink optical signals are synchronized, the detection is performed. Whether the detection mechanism of receiving the trigger message sent by the OLT is performed after the synchronization of the downlink optical signal is completed.
  • the trigger message refers to a downlink PLOAM message involved in the ONU switching process, that is, a POPUP message, which can trigger the ONU to migrate from the POPUP state to the ranging state, so that the ONU re-measures the online line, and the switching succeeds. .
  • Step S13 If the trigger message is not received, before the timer expires, periodically send a notification message to the OLT to notify the OLT to resend the trigger message according to a predetermined time interval.
  • the timer expires or receives the trigger message and causes the ONU to migrate from the POPUP state to the ranging state according to the trigger message.
  • the timer of the POPUP state if it detects that the trigger message is not received, it sends a notification message to the OLT to notify the OLT to resend the trigger.
  • the notification message is a custom uplink PLOAM message (Request_POPUP), and the message structure can be as follows:
  • Byte 1 The ONU-ID defined for the standard PLOAM message to identify the ONU.
  • Byte 2 The message ID defined for the standard PLOAM message is used to identify the message type.
  • the message type is “Request_POPUP”, and the Message ID is 0x8F, that is, the binary 10001111.
  • Cyclic Redundancy Check defined for standard PLOAM messages for frame check.
  • the message structure of the notification message in the embodiment of the present invention is not limited.
  • the notification message is required to carry the ID of the ONU that sends the trigger message and the Message ID of the trigger message.
  • the ONU sends a notification message to the OLT for a period of time (for example, 10 milliseconds), that is, the notification message is periodically sent to the OLT according to a predetermined time interval.
  • a period of time for example, 10 milliseconds
  • a method for switching a Gigabit passive optical network system is provided, which is applied to an OLT.
  • the method first sends an ONU to a ONU in a POPUP state. a trigger message for migrating the POPUP state to the ranging state; and then receiving a notification message periodically sent by the ONU to notify the OLT to resend the trigger message when the trigger message is not received; The notification message resends the trigger message to the ONU.
  • the OLT On the OLT side, when the ONU enters the POPUP state, the OLT will automatically send a trigger message to the ONU first. However, due to the uncontrollable optical signal synchronization time of the ONU, the ONU may not receive the trigger message under certain circumstances. Therefore, in the switching method of the Gigabit passive optical network system in the embodiment of the present invention, after receiving the notification message sent by the ONU, the OLT sends a trigger message to the ONU again until the timer expires or ONU of the ONU in the POPUP state. Received a trigger message and entered the ranging state.
  • the method includes S21-S23:
  • Step S21 Send a trigger message for migrating the ONU from the POPUP state to the ranging state to the ONU in the POPUP state.
  • the trigger message sent to the ONU in this step is automatically sent before the notification message of the ONU is received. If the trigger message sent by the ONU is received by the ONU when the timer is not timed out, the ONU transitions from the POPUP state to the ranging state to implement successful switching. If the trigger message is not received by the ONU in the POPUP state, the process proceeds to step S22.
  • Step S22 Receive a notification message periodically sent by the ONU to notify the OLT to resend the trigger message when the trigger message is not received.
  • the notification message is an uplink custom PLAOM message on the ONU side, that is,
  • the Request_POPUP message carries the ID of the ONU that sent the notification message and the Message ID of the notification message.
  • the notification message is parsed.
  • the process proceeds to step S23. If the OLT does not support the notification message, it will not respond.
  • Step S23 Resend the trigger message to the ONU according to the notification message.
  • the method for switching the Gigabit passive optical network system in the embodiment of the present invention on the OLT side, after receiving the notification message sent by the ONU, re-sends the trigger message to the ONU until the ONU receives the trigger message and enters the test. From the state, or the timer of the ONU in the POPUP state times out.
  • a switching device 300 for a Gigabit passive optical network system is provided, which is applied to an ONU. As shown in FIG. 3, the device 300 includes:
  • the judging module 301 is configured to determine whether the timer of the POPUP state times out.
  • the detecting module 302 is configured to detect whether a trigger message sent by the OLT is triggered to trigger a transition from the POPUP state to the ranging state, if the result of the determining by the determining module 301 is that the timer has not expired.
  • the executing module 303 is configured to: if the trigger message is not received, send a notification message to the OLT to notify the OLT to resend the trigger message according to a predetermined time interval before the timer expires. Until the timer expires or the trigger message is received and the ONU is moved from the POPUP state to the ranging state according to the trigger message.
  • the determining module 301 includes:
  • the first determining unit 3011 is configured to determine whether an LOS interrupt is detected.
  • the synchronization unit 3012 is configured to enter the POPUP state when the determination result of the determination unit 3011 is that the LOS interrupt is detected, start the timer, and perform downlink optical signal synchronization.
  • the second determining unit 3013 is configured to determine whether the timer expires when the synchronization of the downlink optical signal is completed.
  • the apparatus further includes:
  • the migration module 304 is configured to move the ONU to the standby state when the judgment result of the determination module 301 is that the timer expires.
  • the trigger message includes an ID of the ONU that sends the trigger message, and a Message ID of the trigger message.
  • an optical network unit comprising the above-described switching device for a Gigabit passive optical network system applied to an ONU.
  • a switching device for a Gigabit passive optical network system is provided, which is applied to an OLT.
  • the device 500 includes:
  • the first sending module 501 is configured to send, to the ONU in the POPUP state, a trigger message for migrating the ONU from the POPUP state to the ranging state.
  • the receiving module 502 is configured to receive a notification message periodically sent by the ONU to notify the OLT to resend the trigger message when the trigger message is not received.
  • the second sending module 503 is configured to resend the trigger message to the ONU according to the notification message received by the receiving module 502.
  • the notification message carries an ID of the ONU that sends the notification message, and a Message ID of the notification message.
  • the second sending module 503 includes:
  • the parsing unit 5031 is configured to parse the notification message, and obtain an ID of the ONU that sends the notification message and the Message ID.
  • the sending unit 5032 is configured to resend the trigger message to the ONU corresponding to the ID according to the parsed message ID.
  • an optical line terminal comprising the above-described switching device for a Gigabit passive optical network system applied to an OLT.
  • a computer readable storage medium storing computer executable instructions, the computer being executable
  • the switching method of the gigabit passive optical network system is implemented when the line instruction is executed by the processor.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the switching method of the Gigabit passive optical network system in the embodiment of the present invention effectively solves the problem of switching failure caused by the ONU being unable to receive the POPUP message through the detection mechanism and the sending of the notification message, thereby improving the system design. Flexibility and reliability effectively increase the stability of the switching while reducing the switching time of some ONUs.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本申请提供了一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端,其中,应用于光网络单元的吉比特无源光网络系统的倒换方法包括:判断临时等待的断纤POPUP状态的定时器是否超时;如果定时器未超时,则检测是否接收到光线路终端OLT发送的,用于触发由POPUP状态迁移到测距状态的触发消息;如果未接收到触发消息,则在定时器超时前,按照预定的时间间隔定时向OLT发送用于通知OLT重新发送触发消息的通知消息,直到定时器超时或者接收到触发消息并依据触发消息使ONU由POPUP状态迁移到测距状态。

Description

一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端 技术领域
本申请涉及但不限于通信技术领域,尤其涉及一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端。
背景技术
无源光网络(Passive Optical Network,PON)技术是点到多点的光纤接入技术。无源光网络由光线路终端(Optical Line Terminal,OLT)、光网络单元(Optical Network Unit,ONU)和光分配网络(Optical Distribution Network,ODN)组成。其中,ODN为点到多点结构,一个OLT可以通过ODN连接多个ONU。PON的本质特征就是ODN全部由无源光器件组成,不包含任何有源电子器件。这样避免了外部设备的干扰,减少了线路及外部设备的故障率,简化了供电配置和网管复杂度,提高了系统可靠性,同时节省了维护成本。与点到点的有源光网络相比,PON技术的主要特点在于维护简单,成本较低和较高的传输带宽。但是,随着PON网络的广泛运用,如何在PON网络中保证客户和用户的业务可靠运行成了设备商和运营商普遍关注的问题。因此引入了PON的保护倒换机制。
其中,吉比特无源光网络(Gigabit-Capable Passive Optical Network,GPON)的ONU注册过程中涉及到几个状态:O1初始状态,O2待机状态,O3序列号状态,O4测距状态,O5运行状态,O6临时等待的断纤(POPUP)状态,O7紧急停止状态。其中,在O6POPUP状态中涉及到一个定时器TO2,此定时器用于控制ONU处于O6POPUP状态的时间,默认设置为100毫秒,如果定时器超时,ONU迁移到O2待机状态,倒换失败。
此外,ONU倒换过程中涉及到一条下行物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,PLOAM)消息,即POPUP消息。当倒换开始,即ONU进入到处于O6状态后,ONU会等待OLT下发POPUP消息来进行状态迁移,从而实现成功倒换。
然而,有些情况下,进入O6状态后不能稳定接收到OLT下发的POPUP消息。因为在实际倒换过程中,备用PON口并不是立刻就能收到光信号,需 要首先进行光信号同步、清除光信号丢失(LOS)告警之后,才能正常接收下行消息。其中,由于介质访问控制(mac)芯片、光模块以及环境的不同,使得光信号同步时间并不相等且差异较大。因此,如果OLT下发的POPUP消息恰好在光信号同步时间内到达ONU,ONU就会接收不到,只能等TO2超时后掉线。即由于光信号同步时间的不可控,导致倒换过程中,ONU不能稳定的在O6状态接收到POPUP消息。而如果OLT下发POPUP消息的时间太短,可能出现部分ONU尚未光信号同步完成,导致接收不到消息;如果时间太长,就会导致部分ONU的倒换时间变长,影响倒换的性能。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
为了克服相关技术中的上述问题,本发明实施例提供了一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端,解决了倒换过程中ONU进入O6状态后不能稳定接收到OLT下发的POPUP消息从而导致倒换失败的问题。
一种吉比特无源光网络系统的倒换方法,应用于ONU,所述方法包括:
判断POPUP状态的定时器是否超时。
如果所述定时器未超时,则检测是否接收到OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息。
如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使所述ONU由所述POPUP状态迁移到测距状态。
可选地,所述判断POPUP状态的定时器是否超时包括:
判断是否检测到LOS中断;
当检测到所述LOS中断时,进入到所述POPUP状态,启动所述定时器,并进行下行光信号同步。
当下行光信号同步完成时,判断所述定时器是否超时。
可选地,所述方法还包括:
当所述定时器超时时,使所述ONU迁移到待机状态。
可选地,所述触发消息中包括发送所述触发消息的ONU的识别码(ID)和所述触发消息的消息类型(Message ID)。
一种吉比特无源光网络系统的倒换方法,应用于OLT,所述方法包括:
向处于POPUP状态的ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息。
接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息。
依据所述通知消息向所述ONU重新发送所述触发消息。
可选地,所述通知消息中携带有发送所述通知消息的ONU的识别码(ID)和所述通知消息的消息类型(Message ID。
所述依据所述通知消息向所述ONU重新发送所述触发消息包括:
对所述通知消息进行解析,获取发送所述通知消息的ONU的ID和所述Message ID。
依据解析出的所述Message ID,向所述ID对应的ONU重新发送所述触发消息。
一种吉比特无源光网络系统的倒换装置,应用于ONU,包括:
判断模块,设置为判断POPUP状态的定时器是否超时。
检测模块,设置为如果所述判断模块的判断结果为所述定时器未超时,则检测是否接收到OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息。
执行模块,设置为如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使所述ONU由所述POPUP状态迁移到测距状态。
可选地,所述判断模块包括:
第一判断单元,设置为判断是否检测到LOS中断。
同步单元,设置为当所述判断单元的判断结果为检测到所述LOS中断时,进入到所述POPUP状态,启动所述定时器,并进行下行光信号同步;
第二判断单元,设置为当下行光信号同步完成时,判断所述定时器是否超时。
可选地,所述装置还包括:
迁移模块,设置为当所述判断模块的判断结果为所述定时器超时时,使所述ONU迁移到待机状态。
可选地,所述触发消息中包括发送所述触发消息的ONU的ID和所述触发消息的Message ID。
一种光网络单元,包括上述应用于ONU的吉比特无源光网络系统的倒换装置。
一种吉比特无源光网络系统的倒换装置,应用于OLT,所述装置包括:
第一发送模块,设置为向处于POPUP状态的ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息。
接收模块,设置为接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息。
第二发送模块,设置为依据所述接收模块接收的所述通知消息向所述ONU重新发送所述触发消息。
可选地,所述通知消息中携带有发送所述通知消息的ONU的ID和所述通知消息的Message ID。
所述第二发送模块包括:
解析单元,设置为对所述通知消息进行解析,获取发送所述通知消息的ONU的ID和所述Message ID。
发送单元,设置为依据解析出的所述Message ID,向所述ID对应的ONU重新发送所述触发消息。
一种光线路终端,包括上述应用于OLT的吉比特无源光网络系统的倒换装置。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的吉比特无源光网络系统的倒换方法。
本发明实施例的有益效果是:
本发明实施例的吉比特无源光网络系统的倒换方法,在ONU一侧增加了检测机制,即进入到POPUP状态后,检测在该状态下的定时器的定时时间内,是否接收到OLT发送的,用于触发ONU由POPUP状态迁移到测距状态的触发消息,如果未接收到触发消息,则向OLT发送通知消息,通知OLT重新发送触发ONU由POPUP状态迁移到测距状态的触发消息,直到定时器超时或者接收到所述触发消息并依据所述触发消息使ONU由POPUP状态迁移到测距状态。本发明实施例的吉比特无源光网络系统的倒换方法,通过检测机制和通知消息的发送,有效解决了倒换过程中ONU因无法接收到POPUP消息而导致的倒换失败问题,提高了系统设计的灵活性和可靠性,有效增加了倒换的稳定性,同时缩短了部分ONU的倒换时间。
附图概述
图1表示本发明实施例的应用于ONU的吉比特无源光网络系统的倒换方法流程图;
图2表示本发明实施例的应用于OLT的吉比特无源光网络系统的倒换方法流程图;
图3表示本发明实施例的应用于ONU的吉比特无源光网络系统的倒换装置的结构框图;
图4表示本发明实施例的判断模块的结构框图;
图5表示本发明实施例的应用于OLT的吉比特无源光网络系统的倒换装置的结构框图;
图6表示本发明实施例的第二发送模块的结构框图。
本发明的实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
实施例一
依据本发明实施例的一个方面,提供了一种吉比特无源光网络系统的倒换方法,应用于ONU,该方法首先判断POPUP状态的定时器是否超时;接着,如果定时器未超时,则检测是否接收到OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息;最后,如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使ONU由POPUP状态迁移到测距状态。
因此,本发明实施例的吉比特无源光网络系统的倒换方法,相对相关技术,在ONU一侧,增加了对触发由POPUP状态迁移到测距状态的触发消息的检测机制,并在定时时间内,未检测到该触发消息时,通过发送通知消息,要求OLT重新发送该触发消息,有效解决了倒换过程中ONU进入POPUP状态后不能稳定接收到OLT下发的触发消息从而导致倒换失败的问题。
如图1所示,该方法包括步骤S11-S13:
步骤S11、判断POPUP状态的定时器是否超时。
GPON ONU的注册过程涉及到七个状态:O1初始状态,O2待机状态,O3序列号状态,O4测距状态,O5运行状态,O6POPUP状态,O7紧急停止状态。其中,ONU正常启动后,分别经O1初始状态、O2待机状态、O3序列号状态、O4测距状态至O5运行状态,并在O5状态停留稳定运行。其中,当ONU检测到LOS中断时,会由O5运行状态迁移至O6POPUP状态,即倒换开始。
当ONU进入到POPUP状态时,该状态的定时器开始定时,并进行下行光信号同步。其中,定时时间一般默认为100毫秒,并且在一般情况下,下行光信号同步所需的时间并不会超过定时器的定时时间。
此外,当定时器超时,ONU会从POPUP状态迁移至O2待机状态,从 而导致倒换失败;因此,为了能够得知ONU是否能够倒换成功,首先需要判断定时器是否超时。
步骤S12、如果定时器未超时,检测是否接收到OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息。
本发明实施例的吉比特无源光网络系统的倒换方法,在ONU侧增加了检测机制,由于ONU在下行光信号同步完成后,才能够接收到其他设备发送来的相应的消息,因此,检测是否接收到OLT发送的触发消息的检测机制是在下行光信号同步完成之后执行的。
其中,所述触发消息指的是ONU倒换过程中涉及到的一条下行PLOAM消息,即POPUP消息,该POPUP消息能够触发ONU由POPUP状态迁移到测距状态,进而使得ONU重新测距上线,倒换成功。
步骤S13、如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使ONU由POPUP状态迁移到测距状态。
在本发明实施例的吉比特无源光网络系统的倒换方法中,POPUP状态的定时器未超时时,如果检测到未接收到触发消息,则向OLT发送一个通知消息,通知OLT重新发送该触发消息。其中,该通知消息为一个自定义上行PLOAM消息(Request_POPUP),其消息结构可如下:
字节1:为标准PLOAM消息所定义的ONU-ID,用于标识ONU。
字节2:为标准PLOAM消息所定义的Message ID,用于标识消息类型,本发明实施例中定义该消息类型为“Request_POPUP”,Message ID为0x8F,即二进制的10001111。
字节3-12:为标准PLOAM消息所定义的信息数据(Message Data),本发明实施例中定义为预留,即内容任意。
字节13:为标准PLOAM消息所定义的循环冗余校验码(Cyclic Redundancy Check,CRC),用于帧校验。
当然,可以理解的是,本发明实施例中的通知消息的消息结构,并不限 于此,但是,要求该通知消息中携带有发送触发消息的ONU的ID,和所述触发消息的Message ID。
其中,在定时时间内,ONU每向OLT发送一次通知消息,会相应地延迟一段时间(例如10毫秒),即该通知消息是按照预定的时间间隔定时向OLT发送的。
实施例二
依据本发明实施例的另一个方面,还提供了一种吉比特无源光网络系统的倒换方法,应用于OLT,该方法首先,向处于POPUP状态的ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息;接着,接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息;最后,依据所述通知消息向所述ONU重新发送所述触发消息。
在OLT一侧,当ONU进入到POPUP状态时,OLT会首先自动向ONU发送一次触发消息。但是,由于ONU的光信号同步时间的不可控,导致ONU在某些情况下可能接收不到该触发消息。因此,本发明实施例的吉比特无源光网络系统的倒换方法中,OLT会在接收到ONU发送的通知消息后,重新向ONU发送触发消息,直到ONU在POPUP状态下的定时器超时或者ONU接收到触发消息而进入到测距状态。
如图2所示,该方法包括S21-S23:
步骤S21、向处于POPUP状态的ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息。
该步骤中向ONU发送的触发消息,是未接收到ONU的通知消息之前自动发送的。如果本次发送的触发消息,被ONU在定时器未超时时接收到,则ONU由POPUP状态迁移到测距状态,实现成功倒换。如果本次触发消息未被处于POPUP状态的ONU接收到,则进入到步骤S22。
步骤S22、接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息。
其中,该通知消息是ONU侧的上行自定义PLAOM消息,即 Request_POPUP消息,且该通知消息中携带有发送所述通知消息的ONU的ID和所述通知消息的Message ID。当OLT接收到该通知消息时,会对该通知消息进行解析,当解析到该通知消息的消息类型属于Request_POPUP消息时,会进入步骤S23。其中,如果OLT不支持该通知消息,则不会响应。
步骤S23、依据所述通知消息向所述ONU重新发送所述触发消息。
本发明实施例的吉比特无源光网络系统的倒换方法,在OLT侧,会在每一次收到ONU发送的通知消息后,向ONU重新发送触发消息,直到ONU接收到触发消息并进入到测距状态,或者ONU在POPUP状态中的定时器超时。
实施例三
依据本发明实施例的一个方面,提供了一种吉比特无源光网络系统的倒换装置300,应用于ONU,如图3所示,该装置300包括:
判断模块301,设置为判断POPUP状态的定时器是否超时。
检测模块302,设置为如果所述判断模块301的判断结果为定时器未超时,则检测是否接收到OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息。
执行模块303,设置为如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使、ONU由、POPUP状态迁移到测距状态。
可选地,如图4所示,所述判断模块301包括:
第一判断单元3011,设置为判断是否检测到LOS中断。
同步单元3012,设置为在所述判断单元3011的判断结果为检测到LOS中断时,进入到所述POPUP状态,启动所述定时器,并进行下行光信号同步。
第二判断单元3013,设置为当下行光信号同步完成时,判断所述定时器是否超时。
可选地,如图3所示,所述装置还包括:
迁移模块304,设置为当所述判断模块301的判断结果为定时器超时时,使ONU迁移到待机状态。
可选地,所述触发消息中包括发送所述触发消息的ONU的ID,和所述触发消息的Message ID。
实施例四
依据本发明实施例的另一个方面,还提供了一种光网络单元,包括上述所述的应用于ONU的吉比特无源光网络系统的倒换装置。
实施例五
依据本发明实施例的另一个方面,还提供了一种吉比特无源光网络系统的倒换装置,应用于OLT,如图5所示,所述装置500包括:
第一发送模块501,设置为向处于POPUP状态的ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息。
接收模块502,设置为接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息。
第二发送模块503,设置为依据所述接收模块502接收的所述通知消息向所述ONU重新发送所述触发消息。
可选地,所述通知消息中携带有发送所述通知消息的ONU的ID,和所述通知消息的Message ID。
如图6所示,所述第二发送模块503包括:
解析单元5031,设置为对所述通知消息进行解析,获取发送所述通知消息的ONU的ID和所述Message ID。
发送单元5032,设置为依据解析出的所述Message ID,向所述ID对应的ONU重新发送所述触发消息。
实施例六
依据本发明实施例的另一个方面,还提供了一种光线路终端,包括上述所述的应用于OLT的吉比特无源光网络系统的倒换装置。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执 行指令被处理器执行时实现所述的吉比特无源光网络系统的倒换方法。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例的吉比特无源光网络系统的倒换方法,通过检测机制和通知消息的发送,有效解决了倒换过程中ONU因无法接收到POPUP消息而导致的倒换失败问题,提高了系统设计的灵活性和可靠性,有效增加了倒换的稳定性,同时缩短了部分ONU的倒换时间。

Claims (15)

  1. 一种吉比特无源光网络系统的倒换方法,应用于光网络单元ONU,所述方法包括:
    判断临时等待的断纤POPUP状态的定时器是否超时;
    如果所述定时器未超时,则检测是否接收到光线路终端OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息;
    如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使所述ONU由所述POPUP状态迁移到所述测距状态。
  2. 如权利要求1所述的吉比特无源光网络系统的倒换方法,其中,所述判断临时等待的断纤POPUP状态的定时器是否超时包括:
    判断是否检测到光信号丢失LOS中断;
    当检测到所述LOS中断时,进入到所述POPUP状态,启动所述定时器,并进行下行光信号同步;
    当下行光信号同步完成时,判断所述定时器是否超时。
  3. 如权利要求1所述的吉比特无源光网络系统的倒换方法,所述方法还包括:
    当所述定时器超时时,使所述ONU迁移到待机状态。
  4. 如权利要求1所述的吉比特无源光网络系统的倒换方法,其中,所述触发消息中包括发送所述触发消息的ONU的识别码ID和所述触发消息的消息类型Message ID。
  5. 一种吉比特无源光网络系统的倒换方法,应用于光线路终端OLT,所述方法包括:
    向处于临时等待的断纤POPUP状态的光网络单元ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息;
    接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述 OLT重新发送所述触发消息的通知消息;
    依据所述通知消息向所述ONU重新发送所述触发消息。
  6. 如权利要求5所述的吉比特无源光网络系统的倒换方法,其中,所述通知消息中携带有发送所述通知消息的ONU的识别码ID和所述通知消息的消息类型Message ID;
    所述依据所述通知消息向所述ONU重新发送所述触发消息包括:
    对所述通知消息进行解析,获取发送所述通知消息的ONU的ID和所述Message ID;
    依据解析出的所述Message ID,向所述ID对应的ONU重新发送所述触发消息。
  7. 一种吉比特无源光网络系统的倒换装置,应用于光网络单元ONU,包括:
    判断模块,设置为判断临时等待的断纤POPUP状态的定时器是否超时;
    检测模块,设置为如果所述判断模块的判断结果为所述定时器未超时,则检测是否接收到光线路终端OLT发送的,用于触发由所述POPUP状态迁移到测距状态的触发消息;
    执行模块,设置为如果未接收到所述触发消息,则在所述定时器超时前,按照预定的时间间隔定时向所述OLT发送用于通知所述OLT重新发送所述触发消息的通知消息,直到所述定时器超时或者接收到所述触发消息并依据所述触发消息使所述ONU由所述POPUP状态迁移到所述测距状态。
  8. 如权利要求7所述的吉比特无源光网络系统的倒换装置,其中,所述判断模块包括:
    第一判断单元,设置为判断是否检测到光信号丢失LOS中断;
    同步单元,设置为当所述判断单元的判断结果为检测到所述LOS中断时,进入到所述POPUP状态,启动所述定时器,并进行下行光信号同步;
    第二判断单元,设置为当下行光信号同步完成时,判断所述定时器是否超时。
  9. 如权利要求7所述的吉比特无源光网络系统的倒换装置,所述装置还包括:
    迁移模块,设置为当所述判断模块的判断结果为所述定时器超时时,使所述ONU迁移到待机状态。
  10. 如权利要求7所述的吉比特无源光网络系统的倒换装置,其中,所述触发消息中包括发送所述触发消息的ONU的识别码ID和所述触发消息的消息类型Message ID。
  11. 一种光网络单元,包括如权利要求7~10任意一项所述的吉比特无源光网络系统的倒换装置。
  12. 一种吉比特无源光网络系统的倒换装置,应用于光线路终端OLT,所述装置包括:
    第一发送模块,设置为向处于临时等待的断纤POPUP状态的光网络单元ONU,发送用于将所述ONU由所述POPUP状态迁移到测距状态的触发消息;
    接收模块,设置为接收所述ONU在未接收到所述触发消息时周期性发送的用于通知所述OLT重新发送所述触发消息的通知消息;
    第二发送模块,设置为依据所述接收模块接收的所述通知消息向所述ONU重新发送所述触发消息。
  13. 如权利要求12所述的吉比特无源光网络系统的倒换装置,其中,所述通知消息中携带有发送所述通知消息的ONU的识别码ID和所述通知消息的消息类型Message ID;
    所述第二发送模块包括:
    解析单元,设置为对所述通知消息进行解析,获取发送所述通知消息的ONU的ID和所述Message ID;
    发送单元,设置为依据解析出的所述Message ID,向所述ID对应的ONU重新发送所述触发消息。
  14. 一种光线路终端,包括如权利要求12~13任意一项所述的吉比特无源光网络系统的倒换装置。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至4任意一项所述的吉比特无源光网络系统的倒换方法,以及权利要求5至6任意一项所述的吉比特无源光网络系统的倒换方法。
PCT/CN2016/085482 2015-08-21 2016-06-12 一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端 WO2017032136A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510515619.0 2015-08-21
CN201510515619.0A CN106470068A (zh) 2015-08-21 2015-08-21 一种吉比特无源光网络系统的倒换方法、倒换装置及设备

Publications (1)

Publication Number Publication Date
WO2017032136A1 true WO2017032136A1 (zh) 2017-03-02

Family

ID=58099569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085482 WO2017032136A1 (zh) 2015-08-21 2016-06-12 一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端

Country Status (2)

Country Link
CN (1) CN106470068A (zh)
WO (1) WO2017032136A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520892A (zh) * 2020-11-18 2022-05-20 华为技术有限公司 通信控制方法、装置及光网络单元

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080131124A1 (en) * 2006-12-05 2008-06-05 Electronics And Telecommunications Research Institute Method and apparatus for partial duplex protection switching by using single splitter in pon
CN102084665A (zh) * 2008-03-17 2011-06-01 爱立信电话股份有限公司 用于无源光网络的即时保护方案
CN102823270A (zh) * 2010-04-08 2012-12-12 瑞典爱立信有限公司 用于光网络中的保护的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080131124A1 (en) * 2006-12-05 2008-06-05 Electronics And Telecommunications Research Institute Method and apparatus for partial duplex protection switching by using single splitter in pon
CN102084665A (zh) * 2008-03-17 2011-06-01 爱立信电话股份有限公司 用于无源光网络的即时保护方案
CN102823270A (zh) * 2010-04-08 2012-12-12 瑞典爱立信有限公司 用于光网络中的保护的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520892A (zh) * 2020-11-18 2022-05-20 华为技术有限公司 通信控制方法、装置及光网络单元

Also Published As

Publication number Publication date
CN106470068A (zh) 2017-03-01

Similar Documents

Publication Publication Date Title
US9084034B2 (en) Method and system for realizing power saving mechanism management between optical network unit (ONU) and optical line terminal (OLT)
US9270406B2 (en) Communication method, optical communication system, station-side optical-line terminal apparatus, and user-side optical-line terminal apparatus
US9179204B2 (en) Optical network system
US10027405B2 (en) Method and device for channel switching, optical network unit, and time wavelength division multiplexing system
US10110301B2 (en) Method, apparatus, and system for detecting rogue optical network unit
EP2697982B1 (en) Mitigating rogue optical network unit (onu) behavior in a passive optical network (pon)
WO2015120695A1 (zh) 光线路终端/光网络单元波长调节方法及装置
CN101877611A (zh) 降低无源光网络线路功耗的方法、光网络单元设备及终端
US8942555B2 (en) Fiber protection and power save with security
KR20150042630A (ko) 슬립모드 onu 제어 기법
WO2011153791A1 (zh) 一种识别恶意光网络单元的方法及系统
JP2012142698A (ja) 局側装置、通信システムおよび通信制御方法
WO2017032136A1 (zh) 一种吉比特无源光网络系统的倒换方法、装置、光网络单元及光线路终端
US8165173B2 (en) Data transmission method, system and terminal
JP2012095089A (ja) 局側装置、宅側装置、光通信システム、および光通信システムの制御方法
JP2016143950A (ja) Ponシステム
JP2002344466A (ja) 受動光ネットワークにおけるミニスロット制御システム
JP6372345B2 (ja) 局側通信装置、受動型光ネットワークシステムおよび再登録処理方法
JP2012257341A (ja) 通信方法、光通信システム、利用者側光回線終端装置、局側光回線終端装置および制御装置
CN116744155A (zh) 一种全光网络节能处理方法及装置
JP5425692B2 (ja) Mpcpリンク管理回路
JP2018148482A (ja) 子局装置及び光通信システム
KR20150079181A (ko) 로그 유닛 감지 장치 및 방법
WO2017166454A1 (zh) Xg-pon系统及其通道倒换的重测距控制方法

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

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

Country of ref document: EP

Kind code of ref document: A1