WO2013082804A1 - 光网络系统的数据通信方法、光线路终端以及光网络系统 - Google Patents

光网络系统的数据通信方法、光线路终端以及光网络系统 Download PDF

Info

Publication number
WO2013082804A1
WO2013082804A1 PCT/CN2011/083752 CN2011083752W WO2013082804A1 WO 2013082804 A1 WO2013082804 A1 WO 2013082804A1 CN 2011083752 W CN2011083752 W CN 2011083752W WO 2013082804 A1 WO2013082804 A1 WO 2013082804A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
time
optical network
network terminal
optical
Prior art date
Application number
PCT/CN2011/083752
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 华为技术有限公司
Priority to CN2011800032581A priority Critical patent/CN102725974A/zh
Priority to PCT/CN2011/083752 priority patent/WO2013082804A1/zh
Publication of WO2013082804A1 publication Critical patent/WO2013082804A1/zh
Priority to US14/299,640 priority patent/US20140286639A1/en

Links

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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • H04B10/0773Network aspects, e.g. central monitoring of transmission parameters
    • 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/27Arrangements for networking

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a data communication method, an optical line terminal, and an optical network system of an optical network system. Background technique
  • PON Passive Optical Network
  • the existing PON is specifically configured as: a PON port of an optical line terminal (OLT) located at a central control station, and an optical distribution network (ODN) and a plurality of optical network terminals (Optical Network terminal,
  • ONT optical line terminal
  • ODN optical distribution network
  • the PON port connections of the ONT form a service channel, wherein the ODN includes a backbone fiber and a passive optical splitter or coupler. Since the number of optical network terminals connected to the PON port of each optical line terminal through the backbone optical fiber is large, the system cannot work normally due to a failure. Therefore, the prior art protects by arranging the second port of the optical line terminal and the corresponding trunk fiber.
  • each optical network terminal sends a cell according to the delay time sent by the first port, and the first port of the optical line terminal responds to the received cell, and second The port does not respond and only synchronizes information.
  • the second port of the optical path terminal replaces the first port of the optical line terminal to continue transmitting optical signals to the corresponding optical network terminal and processing the cells transmitted by the optical network terminal.
  • the embodiments of the present invention provide a data communication method, an optical line terminal, and an optical network system of an optical network system.
  • An embodiment of the present invention provides a data communication method for an optical network system, including: The optical line terminals in the optical network system are respectively connected to the at least one optical network terminal by using the first port and the second port, where the data communication method includes:
  • the optical line terminal After the optical line terminal is switched from the first port to the second port, the optical line terminal sends the equalization delay from the second port, and the second port and the light The network terminal performs data communication.
  • optical line terminal including:
  • the first processing unit is connected to the at least one optical network terminal by using a first port, configured to send a downlink message to the optical network terminal by using the first port, and the second processing unit is configured to pass the second port.
  • the at least one optical network terminal is configured to receive an uplink message returned by the optical network terminal from the second port, acquire a second time of receiving the uplink message, and obtain the arrival of the uplink message. a first time of the first port; obtaining, according to the first time and the second time, an equalization delay of the second port to the optical network terminal; when the optical line terminal is from the first After the port is switched to the second port, the optical line terminal sends the equalization delay from the second port, and performs data communication with the optical network terminal through the second port.
  • a further aspect of the embodiments of the present invention provides an optical network system, where the system includes: an optical line terminal and an optical network terminal, where
  • the optical line terminal is connected to the at least one optical network terminal through the first port and the second port, respectively, configured to send a downlink message to the optical network terminal by using the first port; and receive the An uplink message returned by the optical network terminal, and acquiring a second time of receiving the uplink message, and acquiring a first time that the uplink message reaches the first port; according to the first time and the second time Obtaining an equalization delay of the second port to the optical network terminal; after the optical line terminal switches from the first port to the second port, the optical line terminal is from the second port Distributing the equalization delay, by using the second port and the The optical network terminal performs data communication.
  • the data communication method, the optical line terminal, and the optical network system of the optical network system provided by the embodiment of the present invention, when the optical line terminal sends the downlink message to the optical network terminal through the first port, and receives the uplink returned by the optical network terminal from the second port.
  • the equalization delay can be directly sent from the second port to the optical network terminal, and the optical network terminal must be re-ranged differently from the prior art, so that the optical line terminal passes the
  • the two ports communicate with the optical network terminal for data communication. Therefore, when the second port succeeds the first port to continue working, the port is quickly switched, the processing time is minimized, and the stability of the system is improved.
  • FIG. 1 is a flowchart of an embodiment of a data communication method of an optical network system according to the present invention
  • FIG. 2 is a flowchart of another embodiment of a data communication method of an optical network system according to the present invention
  • FIG. 3 is an embodiment of an optical network system according to the present invention
  • Schematic diagram of the structure The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • the optical line terminal in the optical network system in the method embodiment shown in FIG. 1 passes through a first port and a second port, respectively, and at least one optical network.
  • Terminal connection, data communication methods include: Step 100: Send a downlink message to the optical network terminal by using the first port, receive an uplink message returned by the optical network terminal from the second port, and acquire a second time of receiving the uplink message, and Acquiring the first time that the uplink message arrives at the first port; the optical line terminal in the optical network system sends the downlink message to the optical network terminal by using the first port.
  • the optical network terminal in the embodiment of the present invention may also be an optical network.
  • the optical network terminal obtains an equivalent delay of the optical network terminal to the first port specified by the optical line terminal according to the received downlink message, so that the optical network terminal returns the uplink message to the optical line terminal according to the equivalent delay control. time.
  • the first port and the second port of the optical line terminal receive the uplink message sent by the optical network terminal, because the first port and The distance between the second port and the optical network terminal is different, and the time when the uplink message sent by the optical network terminal reaches the first port and the second port is different. Because the optical network terminal controls the sending time of the uplink message according to the equivalent time delay sent by the first port, the uplink message does not collide with the uplink message sent by other optical network terminals when the first message arrives at the first port at the first time. The first port thus responds to the received upstream message.
  • the second port of the optical network terminal receives the uplink message returned by the optical network terminal at the second time, so as to record the second time, and obtain the first time that the uplink message arrives at the first port; Step 101, according to the first time and Obtaining, by the second time, an equalization delay of the second port to the optical network terminal;
  • the second port of the optical network terminal obtains the equalization delay of the second port to the optical network terminal according to the first time when the uplink message arrives at the first port and the second time when the uplink message reaches the second port.
  • the equalization delay is equivalent to the optical path length difference between the first port and the second port, that is, the equivalent delay allocated to the optical network terminal when the first port works normally, and the optical network is allocated to the optical network when the second port is working normally. The difference in the equivalent delay of the terminal.
  • Step 102 After the optical line terminal is switched from the first port to the second port, the optical line terminal sends the equalization delay from the second port, and the second port is used to The optical network terminal performs data communication.
  • the first port and the second port are switched, so that the second port takes over the first port and continues to process the received uplink message. Since the first port and the second port receive the uplink message, there is a certain time difference, if the optical network terminal is sending the uplink. During the message, the transmission time is controlled according to the equivalent delay delivered by the first port, and a collision may occur when the second port is reached. Therefore, the optical line terminal sends the acquired equalization delay to the optical network terminal through the second port, and performs data communication with the optical network terminal through the second port, so that the optical network terminal adjusts the time for sending the uplink message according to the equalization delay, so that the transmission is performed. When the uplink message arrives at the second port, it does not collide with the uplink message sent by other optical network terminals.
  • the second port when the first port of the optical line terminal fails to work normally, after the second port takes over the work of the first port, the second port needs to perform ranging on all the optical network terminals by using the ranging technology to obtain a new one.
  • the equivalent time delay controls the time for the optical network terminal to send the uplink message. Because the ranging process needs to consume time, the more the number of optical network terminals, the longer the communication interruption time, and the service interruption if it is serious.
  • the second port when the first port works normally, acquires the second time when the uplink message arrives at the local time and the uplink message arrives at the first port.
  • the first time according to the first time and the second time, the equalization delay of the second port to the optical network terminal is obtained; after the first port is switched to the second port, the optical line terminal sends the optical line terminal from the second port to the optical network terminal Equilibrium delay, thereby controlling the time when the optical network terminal sends the uplink message to the second port, avoiding the second port re-ranging all the optical network terminals to obtain a new equivalent delay, saving a lot of time and realizing the port. Fast switching, minimizing processing time and improving system stability.
  • FIG. 2 is a flowchart of another embodiment of a data communication method of an optical network system according to the present invention. As shown in FIG. 2, the method includes:
  • Step 200 Send a downlink message to the optical network terminal by using the first port, receive an uplink message returned by the optical network terminal from the second port, and acquire a second time of receiving the uplink message, and
  • the specific implementation process of the step 200 in this embodiment may be referred to step 100 in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the first time that the second port of the optical line terminal obtains the uplink message to reach the first port may be selected according to the software and hardware of the system. This embodiment does not specifically limit this, and only two specific applications are used.
  • the scene is specified:
  • Scenario 1 The first port and the second port applicable to the optical line terminal are located on the same control board or different control boards of the optical line terminal;
  • Step (1) The optical line terminal sends the downlink message carrying the first time to the optical network terminal by using the first port, where the first time is the uplink message sent by the optical network terminal Time of a port;
  • Step (2) the optical network terminal returns an uplink message including the first time
  • Step (3) The second port receives the uplink message returned by the optical network terminal, and parses the uplink message to obtain the first time that the uplink message arrives at the first port.
  • Scenario 2 The first port and the second port applicable to the optical line terminal are located on the same control board of the optical line terminal;
  • Step (1) The first port receives an uplink message returned by the optical network terminal, and acquires a first time of receiving the uplink message;
  • Step (2) the first port sends a notification message carrying the first time to the second port;
  • Step 201 Calculate a difference between the first time and the second time according to the first time and the second time; and obtain, according to the difference, the second port to the optical network terminal Equilibrium delay.
  • the second port of the optical network terminal calculates the difference between the first time and the second time according to the first time when the uplink message arrives at the first port and the second time when the uplink message reaches the second port, and obtains the second port according to the difference.
  • Equilibrium delay to the optical network terminal is equivalent to the optical path length difference between the first port and the second port, that is, the equivalent delay allocated to the optical network terminal when the first port works normally, and the optical network is allocated to the optical network when the second port is working normally.
  • the difference in the equivalent delay of the terminal may be set as the difference between the first time minus the second time; or set to the second time minus the difference of the first time.
  • Step 202 After the optical line terminal is switched from the first port to the second port, the optical line terminal sends the equalization delay from the second port, and the second port is used to The optical network terminal performs data communication.
  • the first port and the second port are switched, so that the second port takes over the first port and continues to process the received uplink message.
  • the optical line terminal sends the acquired equalization delay to the optical network terminal through the second port, and performs data communication with the optical network terminal through the second port, and the optical network terminal adjusts the time for sending the uplink message according to the equalization delay, that is, according to the equalization time. Delay extending the equivalent delay of sending upstream messages, or shortening the sending of upstream messages The equivalent delay should be adjusted according to the specific situation, so that the sent uplink message does not collide with the uplink message sent by other optical network terminals when it reaches the second port.
  • the second port acquires the second time when the uplink message arrives at the local time and the first time when the uplink message arrives at the first port, where The second port obtains the difference between the first time and the second time of the uplink message to the first port, and obtains the equalization delay of the second port to the optical network terminal; when the first port switches to the second port, the optical line The terminal sends an equalization delay from the second port to the optical network terminal, so as to control the time when the optical network terminal sends the uplink message to the second port, and the second port is prevented from re-ranging all the optical network terminals to obtain a new equivalent.
  • the delay saves a lot of time, realizes the rapid switching of the port, minimizes the processing time, and improves the stability of the system.
  • FIG. 3 is a schematic structural diagram of an embodiment of an optical network system according to the present invention.
  • the system includes: an optical line terminal 1 and an optical network terminal 2, wherein the optical line terminal 1 passes through the first port 11 and the second port, respectively. 12 is connected to at least one optical network terminal 2, and the optical line terminal 1 is configured to send a downlink message to the optical network terminal 2 through the first port 11, and receive an uplink message returned by the optical network terminal 2 from the second port 12, and obtain the received uplink.
  • the optical line terminal 1 After switching from the first port 11 to the second port 12, the optical line terminal 1 delivers the acquired equalization delay from the second port 12, and performs data communication with the optical network terminal 2 through the second port 12.
  • the manner in which the second port 12 of the optical line terminal 1 acquires the first time that the uplink message arrives at the first port 11 may be selected according to the software and hardware of the system.
  • this embodiment does not specifically limit this.
  • the optical line terminal 1 is configured to send, by using the first port 11, a downlink message carrying the first time to the optical network terminal 2, where the first time is that the uplink message sent by the optical network terminal 2 reaches the first The time of the port 1 is 1; the optical network terminal 2 is configured to return an uplink message including the first time; the second port 12 is configured to receive the uplink message returned by the optical network terminal 2, and parse the uplink message to obtain the uplink message to reach the first port 11 first timing.
  • the first port 11 is configured to receive the uplink message returned by the optical network terminal 2, and acquire the first time of receiving the uplink message. And sending a notification message carrying the first time to the second port 12; the second port 12 is configured to receive the notification message sent by the first port 11 and perform parsing to obtain the first time that the uplink message arrives at the first port 11.
  • the second port 12 of the optical network terminal 1 is configured to calculate a difference between the first time and the second time according to the first time when the uplink message arrives at the first port 11 and the second time when the uplink message reaches the second port 12 Obtaining an equalization delay of the second port 12 to the optical network terminal 2 according to the difference.
  • the difference between the first time and the second time in this embodiment may be set to the difference between the first time and the second time; or set to the second time minus the difference of the first time.
  • the optical line terminal 1 includes: a first processing unit 13 and a second processing unit 14, wherein the first processing unit 13 passes through the first port 11 and at least one optical network.
  • the terminal 2 is connected to send the downlink message to the optical network terminal 2 through the first port 11;
  • the second processing unit 14 is connected to the at least one optical network terminal 2 through the second port 12, and is configured to receive the optical network terminal from the second port 12.
  • the optical line terminal 1 After the optical line terminal 1 is switched from the first port 11 to the second port 12, the optical line terminal sends the acquired equalization delay from the second port 12, and performs the second port 12 and the optical network terminal 2. data communication.
  • the second processing unit 14 is specifically configured to calculate a difference between the first time and the second time according to the first time and the second time; and acquire, according to the difference, the equalization time of the second port 12 to the optical network terminal 2 Delay.
  • the manner in which the second processing unit 14 of the optical line terminal 1 obtains the first time that the uplink message reaches the first port 1 1 through the second port 12 may be selected according to the system setting, which is not specifically limited in this embodiment.
  • the specific description is only made in two specific application scenarios: When the first port 11 and the second port 12 are both located on the same control board on the optical line terminal 1 or on different control boards, the first processing unit 13 is specifically used for Transmitting, by the first port 11, a downlink message carrying the first time to the optical network terminal 2, where the first time is the time when the uplink message sent by the optical network terminal 2 reaches the first port 1 1; 14 is specifically configured to: receive an uplink message returned by the optical network terminal 2 from the second port 12, where the returned uplink message carries the first time.
  • the first processing unit 13 is further configured to: receive the uplink message returned by the optical network terminal 2 from the first port 111, and obtain Receiving the first time of the uplink message, and sending the notification message carrying the first time to the second port 12;
  • the second processing unit 14 is specifically configured to: receive the notification message sent by the first port 11 from the second port 12, and obtain first timing.

Landscapes

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

Abstract

本发明提供一种光网络系统的数据通信方法、光线路终端以及光网络系统,其中,该方法包括:通过光线路终端的第一端口发送下行消息给光网络终端;从光线路终端的第二端口接收光网络终端返回的上行消息,并获取接收到上行消息的第二时间,以及获取上行消息到达第一端口的第一时间;根据第一时间和第二时间,获取第二端口到光网络终端的均衡时延;当光线路终端从第一端口切换到第二端口后,光线路终端从第二端口下发均衡时延,通过第二端口与光网络终端进行数据通信。通过本发明提供的光网络系统的数据通信方法、光线路终端以及光网络系统,实现了端口的快速倒换,最大限度的减少处理时间,提高了系统的稳定性。

Description

光网络系统的数据通信方法、 光线路终端以及光网络系统 技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种光网络系统的数据通 信方法、 光线路终端以及光网络系统。 背景技术
由于无源光网络 (Passive Optical Network, PON)具有运行稳定、 可靠 等优点, 因此近年来得到了广泛应用。
现有的 PON, 其具体架构为: 位于中心控制站的光线路终端(optical line terminal, OLT ) 的 PON端口, 通过光分配网络( Optical Distribution Network, ODN )与若干光网络终端(Optical Network terminal , ONT)的 PON 端口连接组成业务通道, 其中, ODN包含了主干光纤以及无源分光器或 者耦合器。 由于每个光线路终端 的 PON端口通过主干光纤连接的光网络 终端数量很多, 出现故障时导致, 系统无法正常工作。 因此, 现有技术通 过配置光线路终端的第二端口以及对应的主干光纤进行保护。 从而当光线 路终端的第一端口正常工作时, 每个光网络终端根据第一端口下发的延迟 时间发送信元, 光线路终端的第一端口对接收到的信元做出响应, 第二端 口不做响应只进行信息同步。 当光线路终端的第一端口出现故障时, 光线 路终端的第二端口会接替光线路终端的第一端口继续向对应的光网络终 端发送光信号并处理光网络终端发送的信元。
但是,现有技术中,第二端口接替第一端口继续工作时需要中断通信, 而光网络终端的数量越多, 通信中断的时间越长, 而光网络终端如果在预 设的时间内没有与第二端口恢复通信, 则导致光网络终端业务中断。 发明内容
针对现有技术的上述缺陷, 本发明实施例提供一种光网络系统的数据 通信方法、 光线路终端以及光网络系统。
本发明实施例一方面提供一种光网络系统的数据通信方法, 包括: 所述光网络系统中的光线路终端分别通过第一端口和第二端口与至 少一个光网络终端连接, 所述数据通信方法包括:
通过所述第一端口发送下行消息给所述光网络终端; 从所述第二端口 接收所述光网络终端返回的上行消息, 并获取接收到所述上行消息的第二 时间, 以及获取所述上行消息到达所述第一端口的第一时间;
根据所述第一时间和所述第二时间, 获取所述第二端口到所述光网络 终端的均衡时延;
当所述光线路终端从所述第一端口切换到所述第二端口后, 所述光线 路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所述光网 络终端进行数据通信。
本发明实施例另一方面提供一种光线路终端, 包括:
第一处理单元和第二处理单元, 其中,
所述第一处理单元, 通过第一端口与所述至少一个光网络终端连接, 用于通过所述第一端口发送下行消息给所述光网络终端; 所述第二处理单 元, 通过第二端口与所述至少一个光网络终端连接, 用于从所述第二端口 接收所述光网络终端返回的上行消息, 并获取接收到所述上行消息的第二 时间, 以及获取所述上行消息到达所述第一端口的第一时间; 根据所述第 一时间和所述第二时间, 获取所述第二端口到所述光网络终端的均衡时 延; 当所述光线路终端从所述第一端口切换到所述第二端口后, 所述光线 路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所述光网 络终端进行数据通信。
本发明实施例又一方面提供一种光网络系统, 所述系统包括: 光线路终端和光网络终端, 其中,
所述光线路终端, 分别通过第一端口和第二端口与至少一个光网络终 端连接, 用于通过所述第一端口发送下行消息给所述光网络终端; 从所述 第二端口接收所述光网络终端返回的上行消息, 并获取接收到所述上行消 息的第二时间, 以及获取所述上行消息到达所述第一端口的第一时间; 根 据所述第一时间和所述第二时间, 获取所述第二端口到所述光网络终端的 均衡时延; 当所述光线路终端从所述第一端口切换到所述第二端口后, 所 述光线路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所 述光网络终端进行数据通信。
本发明实施例提供的光网络系统的数据通信方法、 光线路终端以及光 网络系统, 当光线路终端通过第一端口发送下行消息给光网络终端时; 从 第二端口接收光网络终端返回的上行消息到达第二端口的第二时间, 以及 获取上行消息到达第一端口的第一时间, 从而根据第一时间和第二时间, 获取第二端口到光网络终端的均衡时延; 当光线路终端从第一端口切换到 所述第二端口后, 可以从第二端口直接向光网络终端下发均衡时延, 而不 同于现有技术必须对光网络终端重新测距, 从而光线路终端通过第二端口 与光网络终端进行数据通信。 从而在第二端口接替第一端口继续工作时, 实现了端口的快速倒换,最大限度的减少处理时间,提高了系统的稳定性。 附图说明
实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本发明光网络系统的数据通信方法一个实施例的流程图; 图 2为本发明光网络系统的数据通信方法另一实施例的流程图; 图 3为本发明光网络系统一个实施例的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明光网络系统的数据通信方法一个实施例的流程图, 图 1 所示方法实施例中的光网络系统中的光线路终端分别通过第一端口和第 二端口与至少一个光网络终端连接, 数据通信方法包括: 步骤 100 , 通过所述第一端口发送下行消息给所述光网络终端; 从所 述第二端口接收所述光网络终端返回的上行消息, 并获取接收到所述上行 消息的第二时间, 以及获取所述上行消息到达所述第一端口的第一时间; 光网络系统中的光线路终端通过第一端口发送下行消息给光网络终 端 (本发明实施例中的光网络终端也可以为光网络单元) , 光网络终端根 据接收的下行消息获取光线路终端所规定的光网络终端到第一端口的等 效时延, 从而光网络终端根据等效时延控制向光线路终端返回上行消息的 发送时间。
当光网络终端延迟等效时延所规定的时间后向光线路终端发送上行 消息, 光线路终端的第一端口和第二端口均会接收到光网络终端发送的上 行消息, 由于第一端口和第二端口距离光网络终端的距离不同, 则光网络 终端发送的上行消息到达第一端口和第二端口的时间不同。 由于光网络终 端根据第一端口发送的等效时延控制了上行消息的发送时间, 因此, 该上 行消息在第一时间到达第一端口时不会与其它光网络终端发送的上行消 息发生碰撞, 从而第一端口响应所接收到的上行消息。
光网络终端的第二端口在第二时间接收到光网络终端返回的上行消 息, 从而记录第二时间, 并且获取上行消息到达第一端口的第一时间; 步骤 101 , 根据所述第一时间和所述第二时间, 获取所述第二端口到 所述光网络终端的均衡时延;
光网络终端的第二端口根据上行消息到达第一端口的第一时间和上 行消息到达第二端口的第二时间, 获取第二端口到光网络终端的均衡时 延。 其中, 均衡时延相当于第一端口和第二端口的光路长度差,也就是说, 第一端口正常工作时分配给光网络终端的等效时延与第二端口正常工作 时分配给光网络终端的等效时延的差值。
步骤 102 ,当所述光线路终端从所述第一端口切换到所述第二端口后, 所述光线路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与 所述光网络终端进行数据通信。
当第一端口无法正常工作时, 需要进行第一端口和第二端口切换, 使 第二端口接替第一端口工作继续处理所接收到的上行消息。 由于第一端口 和第二端口接收上行消息具有一定的时间差, 如果光网络终端在发送上行 消息时, 继续根据第一端口下发的等效时延来控制发送时间, 到达第二端 口时有可能发生碰撞。 因此, 光线路终端通过第二端口向光网络终端下发 获取的均衡时延, 通过第二端口与光网络终端进行数据通信, 从而光网络 终端根据均衡时延调整发送上行消息的时间, 使得发送的上行消息到达第 二端口时不会与其它光网络终端发送的上行消息产生碰撞。
现有技术中, 当光线路终端的第一端口不能正常工作时, 第二端口接 替第一端口工作后, 第二端口需要通过测距技术重新对所有的光网络终端 进行测距以获取新的等效时延控制光网络终端发送上行消息的时间, 由于 测距过程需要消耗时间, 光网络终端数量越多, 通信中断的时间越长, 严 重时还会导致业务中断。 与现有技术相比, 本实施例提供的光网络系统的 数据通信方法在第一端口正常工作的情况下, 第二端口就获取上行消息到 达本地的第二时间以及上行消息到达第一端口的第一时间, 根据第一时间 和第二时间, 获取第二端口到光网络终端的均衡时延; 当第一端口切换到 第二端口后, 光线路终端从第二端口向光网络终端下发均衡时延, 从而控 制光网络终端发送上行消息到达第二端口的时间, 避免了第二端口对所有 的光网络终端重新测距获取新的等效时延, 节约了大量的时间, 实现了端 口的快速倒换, 最大限度的减少处理时间, 提高了系统的稳定性。
图 2为本发明光网络系统的数据通信方法另一实施例的流程图, 如图 2所示, 该方法包括:
步骤 200 , 通过所述第一端口发送下行消息给所述光网络终端; 从所 述第二端口接收所述光网络终端返回的上行消息, 并获取接收到所述上行 消息的第二时间, 以及获取所述上行消息到达所述第一端口的第一时间; 本实施例中的步骤 200的具体实施过程可以参见图 1所示实施例中的 步骤 100 , 此处不再赘述。 需要说明的是, 针对光线路终端的第二端口获 取上行消息到达第一端口的第一时间可以根据系统的软硬件进行选择, 本 实施例对此不做具体限制, 仅以两种具体的应用场景进行具体说明:
场景一: 适用于光线路终端的第一端口和第二端口位于光线路终端的 同一控制板或不同的控制板;
步骤 (1 ) : 光线路终端通过第一端口发送携带第一时间的下行消息 给光网络终端, 其中, 所述第一时间为光网络终端发送的上行消息到达第 一端口的时间;
步骤 (2 ) : 光网络终端返回包括第一时间的上行消息;
步骤 (3 ) : 第二端口接收光网络终端返回的上行消息, 并解析上行 消息获取上行消息到达第一端口的第一时间。
场景二: 适用于光线路终端的第一端口和第二端口位于光线路终端的 同一控制板;
步骤 ( 1 ) : 第一端口接收光网络终端返回的上行消息, 并获取接收 到上行消息的第一时间;
步骤 (2 ) : 第一端口向第二端口发送携带第一时间的通知消息; 步骤 (3 ) : 第二端口接收第一端口发送的通知消息并进行解析获取 上行消息到达第一端口的第一时间。
步骤 201 , 根据所述第一时间和所述第二时间, 计算所述第一时间和 所述第二时间的差值; 根据所述差值, 获取所述第二端口到所述光网络终 端的均衡时延。
光网络终端的第二端口根据上行消息到达第一端口的第一时间和上 行消息到达第二端口的第二时间, 计算第一时间和第二时间的差值, 根据 差值, 获取第二端口到光网络终端的均衡时延。 其中, 均衡时延相当于第 一端口和第二端口的光路长度差, 也就是说, 第一端口正常工作时分配给 光网络终端的等效时延与第二端口正常工作时分配给光网络终端的等效 时延的差值。 需要注意的是, 本实施例中第一时间和第二时间的差值可以 设置为第一时间减去第二时间的差值; 或者设置为第二时间减去第一时间 的差值。
步骤 202 ,当所述光线路终端从所述第一端口切换到所述第二端口后 , 所述光线路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与 所述光网络终端进行数据通信。
当第一端口无法正常工作时, 需要进行第一端口和第二端口切换, 使 第二端口接替第一端口工作继续处理所接收到的上行消息。 光线路终端通 过第二端口向光网络终端下发获取的均衡时延, 通过第二端口与光网络终 端进行数据通信, 光网络终端根据均衡时延调整发送上行消息的时间, 即 应根据均衡时延延长发送上行消息的等效时延, 还是缩短发送上行消息的 等效时延应根据具体情况进行调整, 从而使得发送的上行消息到达第二端 口时不会与其它光网络终端发送的上行消息产生碰撞。
本实施例提供的光网络系统的数据通信方法, 在第一端口正常工作的 情况下, 第二端口就获取上行消息到达本地的第二时间以及上行消息到达 第一端口的第一时间, 其中, 第二端口获取上行消息到达第一端口的第一 一时间和第二时间两者的差值获取第二端口到光网络终端的均衡时延; 当 第一端口切换到第二端口后, 光线路终端从第二端口向光网络终端下发均 衡时延, 从而控制光网络终端发送上行消息到达第二端口的时间, 避免了 第二端口对所有的光网络终端重新测距获取新的等效时延, 节约了大量的 时间, 实现了端口的快速倒换, 最大限度的减少处理时间, 提高了系统的 稳定性。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程 序代码的介质。
图 3为本发明光网络系统一个实施例的结构示意图, 如图 3所示, 该 系统包括: 光线路终端 1和光网络终端 2, 其中, 光线路终端 1分别通过 第一端口 11和第二端口 12与至少一个光网络终端 2连接, 光线路终端 1 用于通过第一端口 11发送下行消息给光网络终端 2; 从第二端口 12接收 光网络终端 2返回的上行消息, 并获取接收到上行消息的第二时间, 以及 获取上行消息到达第一端口 1 1 的第一时间; 根据第一时间和第二时间, 获取第二端口 12到光网络终端 2的均衡时延; 当光线路终端 1从第一端 口 1 1切换到第二端口 12后, 光线路终端 1从第二端口 12下发获取的均 衡时延, 通过第二端口 12与光网络终端 2进行数据通信。
本实施例提供的光网络系统中各模块的功能和处理流程, 可以参见上 述图 1所示的方法实施例, 其实现原理和技术效果类似, 此处不再赘述。
基于上述实施例, 具体地, 针对光线路终端 1的第二端口 12获取上 行消息到达第一端口 11的第一时间的方式可以根据系统的软硬件进行选 择,本实施例对此不做具体限制,仅以两种具体的应用场景进行具体说明: 当光线路终端 1的第一端口 11和第二端口 12位于光线路终端 1的同 一控制板或位于不同的控制板; 光线路终端 1用于通过第一端口 1 1发送 携带第一时间的下行消息给光网络终端 2, 其中, 所述第一时间为光网络 终端 2发送的上行消息到达第一端口 1 1的时间; 光网络终端 2用于返回 包括第一时间的上行消息; 第二端口 12用于接收光网络终端 2返回的上 行消息, 并解析上行消息获取上行消息到达第一端口 11的第一时间。
当光线路终端 1的第一端口 11和第二端口 12位于光线路终端的同一 控制板; 第一端口 11用于接收光网络终端 2返回的上行消息, 并获取接 收到上行消息的第一时间, 并向第二端口 12发送携带第一时间的通知消 息; 第二端口 12用于接收第一端口 11发送的通知消息并进行解析获取上 行消息到达第一端口 11的第一时间。
具体地, 光网络终端 1的第二端口 12用于根据上行消息到达第一端 口 11的第一时间和上行消息到达第二端口 12的第二时间, 计算第一时间 和第二时间的差值, 根据差值获取第二端口 12到光网络终端 2的均衡时 延。 需要注意的是, 本实施例中第一时间和第二时间的差值可以设置为第 一时间减去第二时间的差值; 或者设置为第二时间减去第一时间的差值。
本实施例提供的光网络系统中各模块的功能和处理流程, 可以参见上 述图 2所示的方法实施例, 其实现原理和技术效果类似, 此处不再赘述。
参见图 3所示的光网络系统的结构示意图,其中,光线路终端 1包括: 第一处理单元 13和第二处理单元 14, 其中, 第一处理单元 13通过第一端 口 11与至少一个光网络终端 2连接, 用于通过第一端口 11发送下行消息 给光网络终端 2; 第二处理单元 14通过第二端口 12与至少一个光网络终 端 2连接, 用于从第二端口 12接收光网络终端 2返回的上行消息, 并获 取接收到上行消息的第二时间, 以及获取上行消息到达第一端口 11 的第 一时间; 根据第一时间和第二时间, 获取第二端口 12到光网络终端 2的 均衡时延; 当光线路终端 1从第一端口 11切换到第二端口 12后, 光线路 终端从第二端口 12下发获取的均衡时延, 通过第二端口 12与光网络终端 2进行数据通信。
本实施例提供的光线路终端中各模块的功能和处理流程, 可以参见上 述图 1所示的方法实施例, 其实现原理和技术效果类似, 此处不再赘述。 基于上述实施例, 第二处理单元 14具体用于根据第一时间和第二时 间, 计算第一时间和第二时间的差值; 根据差值获取第二端口 12到光网 络终端 2的均衡时延。
进一步地, 针对光线路终端 1的第二处理单元 14通过第二端口 12获 取上行消息到达第一端口 1 1 的第一时间的方式可以根据系统设置进行选 择,本实施例对此不做具体限制,仅以两种具体的应用场景进行具体说明: 当第一端口 11和第二端口 12均位于光线路终端 1上的同一个控制板 或位于不同的控制板, 第一处理单元 13具体用于: 通过第一端口 1 1发送 携带第一时间的下行消息给光网络终端 2, 其中, 所述第一时间为光网络 终端 2发送的上行消息到达第一端口 1 1的时间; 第二处理单元 14具体用 于: 从第二端口 12接收光网络终端 2返回的上行消息, 其中返回的上行 消息中携带所述第一时间。
当第一端口 11和第二端口 12均位于光线路终端 1上的同一个控制板, 第一处理单元 13还用于: 从第一端口 1 1接收光网络终端 2返回的上行消 息, 并获取接收到上行消息的第一时间, 且向第二端口 12发送携带第一 时间的通知消息; 第二处理单元 14具体用于: 从第二端口 12接收第一端 口 11发送的通知消息, 并获取第一时间。
本实施例提供的光线路终端中各模块的功能和处理流程, 可以参见上 述图 2所示的方法实施例, 其实现原理和技术效果类似, 此处不再赘述。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种光网络系统的数据通信方法, 其特征在于, 包括: 所述光网 络系统中的光线路终端分别通过第一端口和第二端口与至少一个光网络 终端连接, 所述数据通信方法包括:
通过所述第一端口发送下行消息给所述光网络终端; 从所述第二端口 接收所述光网络终端返回的上行消息, 并获取接收到所述上行消息的第二 时间, 以及获取所述上行消息到达所述第一端口的第一时间;
根据所述第一时间和所述第二时间, 获取所述第二端口到所述光网络 终端的均衡时延;
当所述光线路终端从所述第一端口切换到所述第二端口后, 所述光线 路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所述光网 络终端进行数据通信。
2、 根据权利要求 1所述的光网络系统的数据通信方法, 其特征在于, 所述根据所述第一时间和第二时间, 获取所述第二端口到所述光网络终端 的均衡时延包括:
根据所述第一时间和所述第二时间, 计算所述第一时间和所述第二时 间的差值;
根据所述差值, 获取所述第二端口到所述光网络终端的均衡时延。
3、 根据权利要求 1或 2所述的光网络系统的数据通信方法, 其特征 在于, 所述通过所述第一端口发送下行消息给所述光网络终端包括:
通过所述第一端口发送携带第一时间的下行消息给所述光网络终端, 其中, 所述第一时间为所述光网络终端发送的上行消息到达所述第一端口 的时间;
所述获取所述上行消息到达所述第一端口的第一时间包括:
从所述第二端口接收所述光网络终端返回的上行消息, 其中所述返回 的上行消息中携带所述第一时间。
4、 根据权利要求 1或 2所述的光网络系统的数据通信方法, 其特征 在于, 所述数据通信方法还包括:
从所述第一端口接收所述光网络终端返回的上行消息, 并获取接收到 所述上行消息的第一时间, 且向所述第二端口发送携带所述第一时间的通 知消息;
所述获取所述上行消息到达所述第一端口的第一时间包括:
从所述第二端口接收所述第一端口发送的所述通知消息, 并获取所述 第一时间。
5、 一种光线路终端, 其特征在于, 所述光线路终端包括: 第一处理 单元和第二处理单元, 其中,
所述第一处理单元, 通过第一端口与所述至少一个光网络终端连接, 用于通过所述第一端口发送下行消息给所述光网络终端; 所述第二处理单 元, 通过第二端口与所述至少一个光网络终端连接, 用于从所述第二端口 接收所述光网络终端返回的上行消息, 并获取接收到所述上行消息的第二 时间, 以及获取所述上行消息到达所述第一端口的第一时间; 根据所述第 一时间和所述第二时间, 获取所述第二端口到所述光网络终端的均衡时 延; 当所述光线路终端从所述第一端口切换到所述第二端口后, 所述光线 路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所述光网 络终端进行数据通信。
6、 根据权利要求 5 所述的光线路终端, 其特征在于, 所述第二处理 单元具体用于根据所述第一时间和所述第二时间, 计算所述第一时间和所 述第二时间的差值; 根据所述差值, 获取所述第二端口到所述光网络终端 的均衡时延。
7、 根据权利要求 5或 6所述的光线路终端, 其特征在于, 所述第一 处理单元具体用于: 通过所述第一端口发送携带第一时间的下行消息给所 述光网络终端, 其中, 所述第一时间为所述光网络终端发送的上行消息到 达所述第一端口的时间;
所述第二处理单元具体用于: 从所述第二端口接收所述光网络终端返 回的上行消息, 其中所述返回的上行消息中携带所述第一时间。
8、 根据权利要求 5或 6所述的光线路终端, 其特征在于, 所述第一 处理单元还用于: 从所述第一端口接收所述光网络终端返回的上行消息, 并获取接收到所述上行消息的第一时间, 且向所述第二端口发送携带所述 第一时间的通知消息;
所述第二处理单元具体用于: 从所述第二端口接收所述第一端口发送 的所述通知消息, 并获取所述第一时间。
9、 一种光网络系统, 其特征在于, 所述系统包括: 光线路终端和光 网络终端, 其中,
所述光线路终端, 分别通过第一端口和第二端口与至少一个光网络终 端连接, 用于通过所述第一端口发送下行消息给所述光网络终端; 从所述 第二端口接收所述光网络终端返回的上行消息, 并获取接收到所述上行消 息的第二时间, 以及获取所述上行消息到达所述第一端口的第一时间; 根 据所述第一时间和所述第二时间, 获取所述第二端口到所述光网络终端的 均衡时延; 当所述光线路终端从所述第一端口切换到所述第二端口后, 所 述光线路终端从所述第二端口下发所述均衡时延, 通过所述第二端口与所 述光网络终端进行数据通信。
10、 根据权利要求 9所述的光网络系统, 其特征在于, 所述光线路终 端具体用于, 根据所述第一时间和所述第二时间, 计算所述第一时间和所 述第二时间的差值; 根据所述差值, 获取所述第二端口到所述光网络终端 的均衡时延。
PCT/CN2011/083752 2011-12-09 2011-12-09 光网络系统的数据通信方法、光线路终端以及光网络系统 WO2013082804A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2011800032581A CN102725974A (zh) 2011-12-09 2011-12-09 光网络系统的数据通信方法、光线路终端以及光网络系统
PCT/CN2011/083752 WO2013082804A1 (zh) 2011-12-09 2011-12-09 光网络系统的数据通信方法、光线路终端以及光网络系统
US14/299,640 US20140286639A1 (en) 2011-12-09 2014-06-09 Method for data communication in optical network system, optical line terminal, and optical network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/083752 WO2013082804A1 (zh) 2011-12-09 2011-12-09 光网络系统的数据通信方法、光线路终端以及光网络系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/299,640 Continuation US20140286639A1 (en) 2011-12-09 2014-06-09 Method for data communication in optical network system, optical line terminal, and optical network system

Publications (1)

Publication Number Publication Date
WO2013082804A1 true WO2013082804A1 (zh) 2013-06-13

Family

ID=46950473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083752 WO2013082804A1 (zh) 2011-12-09 2011-12-09 光网络系统的数据通信方法、光线路终端以及光网络系统

Country Status (3)

Country Link
US (1) US20140286639A1 (zh)
CN (1) CN102725974A (zh)
WO (1) WO2013082804A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378311A (zh) * 2007-08-27 2009-03-04 华为技术有限公司 一种保护倒换的方法、系统和设备
US20100166419A1 (en) * 2008-12-30 2010-07-01 Broadlight, Ltd. Techniques for protecting passive optical networks
CN101873166A (zh) * 2009-04-21 2010-10-27 中兴通讯股份有限公司 一种吉比特无源光网络系统的测距方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2008353014B2 (en) * 2008-03-17 2013-09-12 Telefonaktiebolaget L M Ericsson (Publ) Fast protection scheme for passive optical network
CN101547044B (zh) * 2008-03-27 2012-08-08 华为技术有限公司 降低主备光线路终端切换时延的方法、系统和中继器
CN102239664B (zh) * 2009-08-26 2014-07-09 华为技术有限公司 光网络倒换保护方法、装置及系统
CN102026048A (zh) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 无源光网络系统调整测距值及恢复的方法、光线路终端
US9025949B2 (en) * 2011-12-09 2015-05-05 Zte Corporation Equalization delay agnostic protection switching in protected passive optical networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378311A (zh) * 2007-08-27 2009-03-04 华为技术有限公司 一种保护倒换的方法、系统和设备
US20100166419A1 (en) * 2008-12-30 2010-07-01 Broadlight, Ltd. Techniques for protecting passive optical networks
CN101873166A (zh) * 2009-04-21 2010-10-27 中兴通讯股份有限公司 一种吉比特无源光网络系统的测距方法

Also Published As

Publication number Publication date
CN102725974A (zh) 2012-10-10
US20140286639A1 (en) 2014-09-25

Similar Documents

Publication Publication Date Title
US9179204B2 (en) Optical network system
JP6445706B2 (ja) 多波長パッシブ光ネットワークに適用される通信方法、装置、及びシステム
US20140178067A1 (en) Data communication method in optical network system, optical network unit and system
JP7308931B2 (ja) データ伝送方法、関連する装置、及びシステム
US20160329980A1 (en) Access System, Communication Method and Device for Optical Fiber Network
CN110073613B (zh) 数据通信系统、光线路终端及基带单元
EP2897309B1 (en) Protection switching method, system and apparatus for passive optical network
WO2012071894A1 (zh) 一种无源光网络及其保护倒换方法
US11329720B2 (en) Ranging method for optical network, OLT, ONU, and optical network system
JP2017511039A (ja) 光回線終端/光ネットワークユニット波長調節方法及び装置
RU2765991C1 (ru) Сеть связи и соответствующие устройства
US9749076B2 (en) Method and apparatus for reconfiguring wavelength of optical network unit
JP2022540600A (ja) 受動光ネットワークの上り遅延を低減する方法および関連機器
WO2016015216A1 (zh) 以太网无源光网络系统中设备注册和波长切换的方法和装置
CN107342973B (zh) 一种无源光网络的注册方法、装置和无源光网络系统
US20240098392A1 (en) Intelligent fiber to the room (fttr) gateway
EP4040746A1 (en) Passive optical network-based communication method, related device, and system
US11425474B2 (en) Ranging method and communication method for optical network, OLT, ONU, and optical network system
US9137195B2 (en) Method, network device and user equipment for switching media access control address
WO2012136089A1 (zh) 一种无源光网络环路检测方法及系统
WO2012071828A1 (zh) 一种全保护模式下无源光网络中的传输数据的方法及系统
WO2013082804A1 (zh) 光网络系统的数据通信方法、光线路终端以及光网络系统
JP2016086222A (ja) ネットワークシステム、ファームウェア更新方法、局側終端装置及び加入者側終端装置
JP6093281B2 (ja) 光通信システム、信号送信制御方法及び局側光回線終端装置
EP4160942A1 (en) Optical line terminal (olt) device and optical path processing method

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180003258.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11877116

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

Country of ref document: EP

Kind code of ref document: A1