CN111356038A - A method for realizing channel adaptation in a PON and related equipment - Google Patents
A method for realizing channel adaptation in a PON and related equipment Download PDFInfo
- Publication number
- CN111356038A CN111356038A CN201811583472.9A CN201811583472A CN111356038A CN 111356038 A CN111356038 A CN 111356038A CN 201811583472 A CN201811583472 A CN 201811583472A CN 111356038 A CN111356038 A CN 111356038A
- Authority
- CN
- China
- Prior art keywords
- channel
- onu
- channels
- olt
- registration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 230000006978 adaptation Effects 0.000 title claims description 36
- 230000005540 biological transmission Effects 0.000 claims abstract description 55
- 230000008569 process Effects 0.000 claims abstract description 37
- 230000004044 response Effects 0.000 claims description 39
- 230000003287 optical effect Effects 0.000 claims description 37
- 238000012423 maintenance Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 230000010365 information processing Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 2
- 108091006146 Channels Proteins 0.000 description 321
- 238000010586 diagram Methods 0.000 description 9
- 238000007726 management method Methods 0.000 description 9
- 230000009977 dual effect Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/27—Arrangements for networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及但不限于无源光网络PON技术,更具体的涉及一种PON中实现通道自适应的方法及相关设备。The embodiments of the present invention relate to, but are not limited to, the passive optical network PON technology, and more particularly relate to a method and related equipment for realizing channel adaptation in a PON.
背景技术Background technique
随着交互式网络等大流量大带宽业务的开展与普及,用户对带宽的需求将以每3年一个数量级的增长趋势,为了满足更远期用户对大带宽,低延时的需求,能够满足更高速率要求的PON系统中通道绑定技术应运而生。With the development and popularization of high-traffic and high-bandwidth services such as interactive networks, users' demand for bandwidth will increase by an order of magnitude every three years. The channel bonding technology in the PON system with higher rate requirements emerges as the times require.
例如NG-PON2系统,提出了基于多波长多通道提高整个系统容量的概念,即PON系统可以聚集两个或者多个通道。但是如何灵活地进行多通道绑定,现有技术中并没有详细的实现方案。For example, in the NG-PON2 system, the concept of improving the capacity of the entire system based on multi-wavelength and multi-channel is proposed, that is, the PON system can aggregate two or more channels. However, there is no detailed implementation scheme in the prior art on how to flexibly perform multi-channel binding.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供了一种无源光网络PON中实现通道自适应的方法,包括:In view of this, an embodiment of the present invention provides a method for implementing channel adaptation in a passive optical network PON, including:
在进行数据传输的过程中,当光线路终端OLT发现的新ONU的序列号SN与已经注册的ONU的序列号相同时,通知所述ONU重新开始通道注册。In the process of data transmission, when the serial number SN of the new ONU found by the optical line terminal OLT is the same as the serial number of the already registered ONU, the ONU is notified to restart the channel registration.
本发明实施例还提供了一种PON中实现通道自适应的方法,包括:Embodiments of the present invention also provide a method for implementing channel adaptation in a PON, including:
光网络单元ONU接收OLT发送的重新开始通道注册的通知;The ONU of the optical network unit receives the notification of restarting the channel registration sent by the OLT;
所述ONU选择在数据传输的空闲期内掉线,重新开始通道注册。The ONU chooses to drop the line during the idle period of data transmission and restart the channel registration.
本发明实施例还提供了一种PON中实现通道自适应的装置,包括:An embodiment of the present invention also provides a device for implementing channel adaptation in a PON, including:
发现单元,用于在进行数据传输的过程中,发现新ONU的序列号SN是否与已经注册的ONU的序列号相同;The discovery unit is used to find out whether the serial number SN of the new ONU is the same as the serial number of the already registered ONU in the process of data transmission;
通知单元,用于当发现新ONU的序列号SN与已经注册的ONU的序列号相同时,通知所述ONU重新开始通道注册。The notification unit is configured to notify the ONU to restart the channel registration when it is found that the serial number SN of the new ONU is the same as the serial number of the already registered ONU.
本发明实施例还提供了一种PON中实现通道自适应的装置,包括:An embodiment of the present invention also provides a device for implementing channel adaptation in a PON, including:
接收单元,用于接收OLT发送的重新开始通道注册的通知;a receiving unit, configured to receive the notification of restarting the channel registration sent by the OLT;
注册单元,用于在数据传输的空闲期内掉线,重新开始通道注册。The registration unit is used to drop the line during the idle period of data transmission and restart the channel registration.
本发明实施例还提供了一种光线路终端OLT,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述OLT执行的所述PON中实现通道自适应的方法。An embodiment of the present invention also provides an optical line terminal OLT, which is characterized by comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the computer program is executed by the When executed by the processor, the method for implementing channel adaptation in the PON executed by the above-mentioned OLT is implemented.
本发明实施例还提供了一种光网络单元ONU,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述ONU执行的所述PON中实现通道自适应的方法。Embodiments of the present invention also provide an optical network unit ONU, which is characterized by comprising a memory, a processor, and a computer program stored in the memory and running on the processor, the computer program being When executed by the processor, the method for implementing channel adaptation in the PON executed by the above ONU is implemented.
本发明实施例还提供了一种PON中实现通道自适应的系统,包括上述的光线路终端OLT和上述的光网络单元ONU。An embodiment of the present invention further provides a system for realizing channel adaptation in a PON, including the above-mentioned optical line terminal OLT and the above-mentioned optical network unit ONU.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现上述任一项所述PON中实现通道自适应的方法的步骤。Embodiments of the present invention further provide a computer-readable storage medium, where an information processing program is stored on the computer-readable storage medium, and when the information processing program is executed by a processor, implements any one of the above-mentioned implementation channels in the PON The steps of the adaptive method.
与相关技术相比,本发明实施例提供了一种PON中实现通道自适应的方法及相关设备,其中该方法之一包括:在进行数据传输的过程中,当光线路终端OLT发现的新ONU的序列号SN与已经注册的ONU的序列号相同时,通知所述ONU重新开始通道注册。如此,可以选择最大程度的带宽进行数据传输,提高了数据传输速率。Compared with the related art, the embodiment of the present invention provides a method and related equipment for realizing channel adaptation in a PON, wherein one of the methods includes: in the process of data transmission, when the optical line terminal OLT discovers a new ONU; When the serial number SN is the same as the serial number of the already registered ONU, the ONU is notified to restart the channel registration. In this way, the maximum bandwidth can be selected for data transmission, which increases the data transmission rate.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the description, claims and drawings.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.
图1为本发明实施例一提供的PON中实现通道自适应的方法的流程示意图1 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 1 of the present invention
图2为本发明实施例二提供的PON中实现通道自适应的方法的流程示意图FIG. 2 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 2 of the present invention
图3为本发明实施例三提供的PON中实现通道自适应的系统的示意图;3 is a schematic diagram of a system for implementing channel adaptation in a PON according to Embodiment 3 of the present invention;
图4为本发明实施例三提供的PON中实现通道自适应的方法的流程示意图;4 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 3 of the present invention;
图5为传统WDM与本发明实施例中数据包传输方式的示意图;5 is a schematic diagram of a data packet transmission mode in a conventional WDM and an embodiment of the present invention;
图6为本发明实施例四提供的实现通道自适应的方法的流程示意图;6 is a schematic flowchart of a method for implementing channel adaptation according to Embodiment 4 of the present invention;
图7为本发明实施例四中单通道,两通道,三通道、四通道ONU的绑定示意图;7 is a schematic diagram of binding of single-channel, two-channel, three-channel, and four-channel ONUs in Embodiment 4 of the present invention;
图8为本发明实施例四中绑定的四个通道中的一个通道出现问题时的绑定示意图;8 is a schematic diagram of binding when a problem occurs in one of the four channels bound in Embodiment 4 of the present invention;
图9为本发明实施例五提供的一种PON中实现通道自适应的装置的结构示意图;9 is a schematic structural diagram of an apparatus for implementing channel adaptation in a PON according to Embodiment 5 of the present invention;
图10为本发明实施例六提供的另一种PON中实现通道自适应的装置的结构示意图。FIG. 10 is a schematic structural diagram of another apparatus for implementing channel adaptation in a PON according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
本发明实施例提供的一种无源光网络PON中实现通道自适应的方案,能够在正常工作的通道数发生变化时,重新进行通道注册,为用户提供更宽广的带宽选择。The embodiment of the present invention provides a solution for realizing channel adaptation in a passive optical network PON, which can re-register the channel when the number of channels in normal operation changes, so as to provide users with wider bandwidth options.
实施例一Example 1
图1为本发明实施例一提供的PON中实现通道自适应的方法的流程示意图,如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes:
步骤101,在进行数据传输的过程中,当光线路终端OLT发现的新ONU的序列号SN与已经注册的ONU的序列号相同时,通知所述ONU重新开始通道注册。
其中,在通知所述ONU重新开始通道注册之前,该方法还包括:Wherein, before notifying the ONU to restart the channel registration, the method further includes:
判断所述ONU的带宽是否够用;Determine whether the bandwidth of the ONU is sufficient;
如果不够用,则通知所述ONU重新开始通道注册。If not enough, the ONU is notified to restart the channel registration.
其中,在进行数据传输之前,所述OLT和所述ONU进行通道注册,包括:Wherein, before performing data transmission, the OLT and the ONU perform channel registration, including:
所述OLT检测支持的全部通道与所述ONU的连通状态;The connected state of all channels supported by the OLT detection and the ONU;
将所述全部通道中处于连通状态的通道与所述ONU绑定;Binding the channel in the connected state in all channels with the ONU;
通过所述绑定的通道与所述ONU进行数据传输。Data transmission is performed with the ONU through the bound channel.
其中,所述OLT检测支持的全部通道与ONU的连通状态,包括:Wherein, the OLT detects the connectivity status of all channels supported by the ONU, including:
所述OLT在所述全部通道中的每一个通道上与所述ONU分别交互发送物理层操作管理和维护ploam消息进行通道注册,The OLT interacts with the ONU on each of the all channels to send physical layer operation management and maintenance ploam messages to perform channel registration, respectively,
在所述通道注册的过程中,如果所述OLT没有收到所述ONU通过所述全部通道中至少一个通道发送的ploam响应消息,则认为所述至少一个通道处于不连通状态,其他能够收到所述ONU发送的ploam响应消息的通道处于连通状态。During the channel registration process, if the OLT does not receive the ploam response message sent by the ONU through at least one of the all channels, it is considered that the at least one channel is in a disconnected state, and other channels can receive The channel of the ploam response message sent by the ONU is in a connected state.
其中,所述ploam响应消息包括以下之一:Wherein, the ploam response message includes one of the following:
序列号SN响应消息、测距Ranging响应消息。Sequence number SN response message, ranging response message.
其中,该方法还包括:Wherein, the method also includes:
在进行数据传输的过程中,如果所述绑定的通道中至少一个通道发生故障,则所述ONU掉线重新开始通道注册。In the process of data transmission, if at least one of the bound channels fails, the ONU disconnects and restarts the channel registration.
其中,所述重新开始通道注册,包括:Wherein, the restarting the channel registration includes:
所述OLT在所述全部通道中的每一个通道上与所述ONU分别交互发送物理层操作管理和维护ploam消息重新进行通道注册,The OLT interacts with the ONU on each of the all channels to send physical layer operation management and maintenance ploam messages respectively to re-register the channel,
在所述重新进行通道注册的过程中,如果所述OLT没有收到所述ONU通过所述全部通道中至少一个通道发送的ploam响应消息,则认为所述至少一个通道处于不连通状态,其他能够收到所述ONU发送的ploam响应消息的通道处于连通状态;In the process of re-registering the channel, if the OLT does not receive the ploam response message sent by the ONU through at least one of the all channels, it is considered that the at least one channel is in a disconnected state, and other channels can be The channel receiving the ploam response message sent by the ONU is in a connected state;
将所述全部通道中处于连通状态的通道重新与所述ONU绑定;Re-binding the channel in the connected state in the all channels with the ONU;
通过所述重新绑定的通道与所述ONU进行数据传输。Data transmission is performed with the ONU through the re-bound channel.
其中,在所述通道注册的过程中或者所述重新进行通道注册的过程中,对所述全部通道中的每一个通道单独测距,所述每一个通道对应各自的均衡延时。Wherein, in the process of channel registration or the process of re-performing channel registration, the ranging is independently measured for each channel in all the channels, and each channel corresponds to its own equalization delay.
实施例二Embodiment 2
图2为本发明实施例二提供的PON中实现通道自适应的方法的流程示意图,如图2所示,该方法包括:FIG. 2 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 2 of the present invention. As shown in FIG. 2 , the method includes:
步骤201,光网络单元ONU接收OLT发送的重新开始通道注册的通知;
步骤202,所述ONU选择在数据传输的空闲期内掉线,重新开始通道注册。
其中,在ONU接收OLT发送的重新开始通道注册的通知之前,所述ONU和所述OLT进行通道注册,包括:Wherein, before the ONU receives the notification of restarting the channel registration sent by the OLT, the ONU and the OLT perform channel registration, including:
ONU在支持的全部通道中的每一个通道上与光线路终端OLT分别交互发送物理层操作管理和维护ploam消息进行通道注册,以便所述OLT将所述全部通道中处于连通状态的通道与所述ONU绑定;The ONU interacts with the optical line terminal OLT on each of all the supported channels to send physical layer operation management and maintenance ploam messages respectively to register the channels, so that the OLT connects the channels in the connected state among the all channels with the ONU binding;
通过所述绑定的通道与所述OLT进行数据传输。Data transmission is performed with the OLT through the bound channel.
其中,在所述通道注册的过程中,对所述全部通道中的每一个通道单独测距,接收所述OLT发送的绑定的每一个通道对应的均衡延时。Wherein, in the process of the channel registration, ranging is independently measured for each of the all channels, and the equalization delay corresponding to each bound channel sent by the OLT is received.
其中,所述通过所述绑定的通道与所述OLT进行数据传输,包括:Wherein, the data transmission with the OLT through the bound channel includes:
将待发送的每一个第一数据包分割成第一数量的子数据包,所述第一数量为所述绑定的通道的个数;Divide each first data packet to be sent into a first quantity of sub-packets, where the first quantity is the number of the bound channels;
根据绑定的每一个通道对应的均衡延时,将每一个子数据包分别通过绑定的每一个通道进行数据传输。According to the equalization delay corresponding to each of the bound channels, each sub-packet is transmitted through each of the bound channels respectively.
其中,该方法还包括:在进行所述数据传输的过程中,如果所述绑定的通道中至少一个通道发生故障,则所述ONU掉线重新开始通道注册。Wherein, the method further includes: in the process of performing the data transmission, if at least one of the bound channels fails, the ONU is disconnected and restarts the channel registration.
其中,所述重新开始通道注册,包括:Wherein, the restarting the channel registration includes:
所述ONU在所述全部通道中的每一个通道上与所述OLT分别交互发送物理层操作管理和维护ploam消息重新进行通道注册,以便所述OLT将所述全部通道中处于连通状态的通道重新与所述ONU绑定;The ONU interacts with the OLT on each of the all channels to send physical layer operation management and maintenance ploam messages to re-register the channel, so that the OLT re-registers the channel in the connected state among the all channels. Bind with the ONU;
通过所述重新绑定的通道与所述OLT进行数据传输。Data transmission is performed with the OLT through the re-bound channel.
其中,在所述重新进行通道注册的过程中,对所述全部通道中的每一个通道单独测距,所述每一个通道对应各自的均衡延时。Wherein, in the process of re-registering the channels, ranging is independently measured for each channel in all the channels, and each channel corresponds to its own equalization delay.
其中,所述通过所述重新绑定的通道与所述OLT进行数据传输,包括:Wherein, performing data transmission with the OLT through the re-bound channel includes:
将待发送的每一个第二数据包分割成第二数量的子数据包,所述第二数量为所述重新绑定的通道的个数;Divide each second data packet to be sent into a second quantity of sub-packets, where the second quantity is the number of the re-bound channels;
根据重新绑定的每一个通道对应的均衡延时,将每一个子数据包分别通过绑定的每一个通道进行数据传输。According to the equalization delay corresponding to each re-bound channel, each sub-packet is transmitted through each of the bound channels respectively.
下面通过两个具体的实施例详细阐述本发明实施例一、二提供的技术方案。The technical solutions provided by Embodiments 1 and 2 of the present invention are described in detail below through two specific embodiments.
实施例三Embodiment 3
无源光网络(Passive Optical Network,PON)是用户接入的一种重要技术手段。现有PON系统中,通常光线路终端OLT(optical line terminal)通过主光纤与光分路器splitter连接,光分路器splitter通过分支光纤与多个用户侧光网络单元ONU(OpticalNetwork Unit)连接。目前,相关技术中提出,ONU和OLT可以支持在多通道(波长)上发送和接收数据。例如,其中一种技术是单通道(波长)速率实现25千兆比特每秒(Gbps)(简称为25G),并且可以使得支持单通道(单波长,通道数为1)、双通道(2波长,通道数为2)、三通道(3波长,通道数为3)或者四通道(4波长,通道数为4)等的ONU和OLT在同一个光配线网络ODN(optical distribution network)下共存和兼容。如图3所示,OLT支持四通道,分别为四个上下行波长对λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7;ONU有三种,一种是25GONU,即支持单通道。如图3所示支持上下行波长对λ0/λ4;一种是50G ONU,即支持双通道,如图3所示支持上下行波长对λ0/λ4、λ1/λ5;一种是100G ONU,即支持四通道,如图3所示支持上下行波长对λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7。ONU通过波分复用器WDM(Wavelength Division Multiplexing)将不同波长的光信号合成一束,沿着单根光纤传输。A passive optical network (Passive Optical Network, PON) is an important technical means for user access. In an existing PON system, an optical line terminal (OLT) is usually connected to an optical splitter through a main fiber, and the optical splitter is connected to multiple user-side optical network units (ONUs) through branch fibers. Currently, it is proposed in the related art that the ONU and the OLT can support sending and receiving data on multiple channels (wavelengths). For example, one of the technologies is that a single channel (wavelength) rate achieves 25 gigabits per second (Gbps) (abbreviated as 25G), and can make it possible to support single channel (single wavelength, the number of channels is 1), dual channel (2 wavelengths) , the number of channels is 2), three channels (3 wavelengths, the number of channels is 3) or four channels (4 wavelengths, the number of channels is 4) and other ONUs and OLTs coexist under the same optical distribution network ODN (optical distribution network) and compatible. As shown in Figure 3, the OLT supports four channels, which are four uplink and downlink wavelength pairs λ0/λ4, λ1/λ5, λ2/λ6, λ3/λ7; there are three ONUs, one is 25GONU, which supports a single channel. As shown in Figure 3, it supports the uplink and downlink wavelength pairs λ0/λ4; one is a 50G ONU, which supports dual channels, as shown in Figure 3, supports the uplink and downlink wavelength pairs λ0/λ4, λ1/λ5; one is a 100G ONU, that is Four channels are supported, as shown in Figure 3, the uplink and downlink wavelength pairs λ0/λ4, λ1/λ5, λ2/λ6, λ3/λ7 are supported. The ONU combines the optical signals of different wavelengths into a bundle through a wavelength division multiplexer WDM (Wavelength Division Multiplexing), and transmits them along a single optical fiber.
当局端(OLT)和终端(ONU)支持的通道数不同时,包括两种情况:1)两端支持的通道数不同,如图3所示;2)两端可能有些通道有物理损坏(例如光模块某通道损坏等)。When the number of channels supported by the office end (OLT) and the terminal (ONU) are different, there are two cases: 1) The number of channels supported by both ends is different, as shown in Figure 3; 2) Some channels at both ends may be physically damaged (for example, A certain channel of the optical module is damaged, etc.).
基于图3所示的系统,本发明实施例三提供了一个实现单通道(25G),双通道(50G),四通道(100G)兼容的方案,能够为用户提供更宽广的带宽选择。Based on the system shown in FIG. 3 , Embodiment 3 of the present invention provides a solution for realizing single-channel (25G), dual-channel (50G), and four-channel (100G) compatibility, which can provide users with wider bandwidth options.
图4为本发明实施例三提供的PON中实现通道自适应的方法的流程示意图,应用于ONU注册的过程中,如图4所示,该方法包括:4 is a schematic flowchart of a method for implementing channel adaptation in a PON according to Embodiment 3 of the present invention, which is applied to the process of ONU registration. As shown in FIG. 4 , the method includes:
步骤401,OLT在支持的4个通道上发送ploam(Physical Layer Operations,Administration and Maintenance,物理层操作管理和维护)请求消息;
其中,所述ploam请求消息可以是序列号SN(Serial Number)request请求消息、测距Ranging request请求消息等Wherein, the ploam request message may be a serial number SN (Serial Number) request request message, a ranging request request message, etc.
步骤402,25G ONU在单通道λ0/λ4上回复ploam响应消息;
步骤403,50G ONU在双通道λ0/λ4、λ1/λ5上回复ploam响应消息;
步骤404,100G ONU在四通道λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7上回复ploam响应消息;
上述步骤402-404不存在固定的前后顺序,其中所述响应消息对应于请求消息可以是序列号SN(Serial Number)response响应消息、测距Ranging response响应消息等,响应消息中携带ONU标识。The above steps 402-404 do not have a fixed sequence, wherein the response message corresponding to the request message may be a serial number SN (Serial Number) response response message, a ranging response message, etc., and the response message carries the ONU identifier.
步骤405,OLT根据从各个通道收到的响应消息,判断与25G ONU在单通道λ0/λ4上处于连通状态,与50G ONU在双通道λ0/λ4、λ1/λ5上处于连通状态,与100G ONU在四通道λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7上处于连通状态;Step 405: According to the response messages received from each channel, the OLT determines that it is in a connected state with the 25G ONU on the single-channel λ0/λ4, is connected with the 50G ONU on the dual-channel λ0/λ4 and λ1/λ5, and is in a connected state with the 100G ONU. Connected on four channels λ0/λ4, λ1/λ5, λ2/λ6, λ3/λ7;
步骤406,OLT将单通道λ0/λ4与25G ONU进行绑定,将双通道λ0/λ4、λ1/λ5与50GONU绑定,将四通道λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7与100G ONU绑定;
步骤407,OLT通过单通道λ0/λ4与25G ONU进行数据交互;
步骤408,OLT通过双通道λ0/λ4、λ1/λ5与50G ONU进行数据交互;
步骤409,OLT通过四通道λ0/λ4、λ1/λ5、λ2/λ6、λ3/λ7与100G ONU进行数据交互。In
上述步骤407-409没有固定的前后顺序。The above steps 407-409 have no fixed sequence.
还例如,对于25G/50G/75G/100G兼容的方案:Also for example, for 25G/50G/75G/100G compatible solutions:
一种情况下,OLT支持四通道(4X25G),有四类ONU,包括单通道(1X25G),双通道(2X25G),三通道(3X25G),四通道(4X25G)。以支持双通道的ONU为例,且ONU的两个通道分别对应OLT的第1和第3通道,OLT同时从0~3通道发送ploam请求消息,发现只有第1和3通道收到了来自所述支持双通道的ONU的ploam响应消息,就会据此来绑定1,3通道作为与所述支持双通道的ONU交互的通道。其他单通道,三通道、四通道的ONU的通道绑定过程类似。In one case, the OLT supports four channels (4X25G), and there are four types of ONUs, including single channel (1X25G), dual channel (2X25G), three channels (3X25G), and four channels (4X25G). Take an ONU that supports dual channels as an example, and the two channels of the ONU correspond to the first and third channels of the OLT, respectively. The OLT sends ploam request messages from channels 0 to 3 at the same time, and it is found that only channels 1 and 3 receive messages from the According to the ploam response message of the ONU supporting dual channels, channels 1 and 3 will be bound as channels for interaction with the ONU supporting dual channels. The channel binding process of other single-channel, three-channel, and four-channel ONUs is similar.
另外一种情况,在ONU注册过程中,如果对于支持四通道(通道0、1、2、3)的ONU,有某个通道出现问题,例如光模块误码过高等,导致这条通道无法正常工作。例如ONU的第2通道异常,此时OLT一旦收不到第2通道来自所述支持四通道的ONU的回应,就会把四通道的ONU当做三通道的来用,认为此ONU的第0,1,3通道分别对应OLT的0,1,3通道,据此进行三通道绑定与此ONU通信,而不是直接认为这个ONU不能继续使用。In another case, during the ONU registration process, if there is a problem with a channel of an ONU that supports four channels (channel 0, 1, 2, 3), for example, the bit error of the optical module is too high, etc., this channel cannot be normal. Work. For example, the second channel of the ONU is abnormal. At this time, once the OLT cannot receive the response of the second channel from the ONU that supports four channels, it will use the four channel ONU as a three channel, and consider the 0th channel of this ONU. Channels 1 and 3 correspond to channels 0, 1, and 3 of the OLT, respectively. Based on this, three-channel binding is performed to communicate with the ONU, instead of directly thinking that the ONU cannot be used any more.
还有一种情况,已经绑定了多通道的ONU,如果在数据交互的过程中,某一个通道无法正常工作,例如无法发送数据包,则该ONU可以掉线后重新进行通道注册。例如该ONU为支持四通道(通道0、1、2、3)的ONU,在数据交互的过程中,第2通道无法正常工作,该ONU掉线,重新注册,OLT会为该ONU重新绑定通道0、1、3,即该ONU变成支持三通道的ONU。如果第2通道恢复正常,OLT会定时广播发现新的ONU,此时OLT发现从第2通道发生的新的ONU的标识例如序列号SN,与已经注册的ONU一样,则说明该ONU有新的通道可以使用,可以通知ONU进行重新注册,该ONU可以在数据传输的空闲器掉线,重新进行通道注册,OLT会为该ONU重新绑定通道0、1、2、3,即该ONU又变成支持四通道的ONU;另外,在OLT通知ONU重新进行通道注册之前,也可以先判断该ONU的带宽是否够用,如果不够用,则通知所述ONU重新开始通道注册;如果够用,可以不发通知,ONU保持三通道,并且此时OLT也可以通知该ONU关掉新恢复的通道对应的发光器。In another case, a multi-channel ONU has been bound. If a certain channel fails to work normally during data exchange, for example, data packets cannot be sent, the ONU can re-register the channel after being disconnected. For example, the ONU is an ONU that supports four channels (channel 0, 1, 2, 3). During the data exchange process, the second channel cannot work normally. The ONU is disconnected and re-registered, and the OLT will re-bind the ONU. Channels 0, 1, and 3, that is, the ONU becomes an ONU supporting three channels. If the second channel returns to normal, the OLT will regularly broadcast to discover the new ONU. At this time, the OLT finds that the identifier of the new ONU generated from the second channel, such as the serial number SN, is the same as the registered ONU, indicating that the ONU has a new ONU. The channel can be used, and the ONU can be notified to re-register. The ONU can be disconnected in the idle device of data transmission and re-register the channel. The OLT will re-bind channels 0, 1, 2, and 3 for the ONU, that is, the ONU changes again. become an ONU supporting four channels; in addition, before the OLT notifies the ONU to re-register the channel, it can also judge whether the bandwidth of the ONU is sufficient, if not, notify the ONU to restart the channel registration; If no notification is sent, the ONU maintains three channels, and at this time, the OLT can also notify the ONU to turn off the light emitter corresponding to the newly restored channel.
本实施例三中,每一个波长(通道)的速率是相同的且都是25G,但是在实际应用中,可以存在每个波长速率不完全相同的情况,例如每个波长的速率可以不同于25G,每个波长的上下行速率也可以不完全一样。当每个通道速率完全相同时,待发送的数据包是完全均匀地分配在各个通道上的,而当每个通道的速率不完全相同时,待发送的数据包可以按照各个通道的速率比均匀地分配在各个通道上。如图5所示,左侧为传统WDM系统数据包的传输方式,第一个数据包分为4个子数据在通道0(波长λ0)上按顺序发送,第二个数据包分为4个子数据在通道1(波长λ1)上按顺序发送,第三个数据包分为4个子数据在通道2(波长λ2)上按顺序发送,第四个数据包分为4个子数据在通道3(波长λ3)上按顺序发送,以此类推,接收每一个数据包的时间都需要4个子数据的传输时间,而且需要缓存中间数据;右侧为本发明实施例中通道绑定后系统数据包的传输方式,第一个数据包分为4个子数据分别在通道0、1、2、3(波长λ0、λ1、λ2、λ3)上同时发送,其他数据包也是如此,可以同时接收每一个数据包,也不再需要缓存全部中间数据。In the third embodiment, the rate of each wavelength (channel) is the same and is 25G, but in practical applications, there may be cases where the rate of each wavelength is not exactly the same, for example, the rate of each wavelength may be different from 25G , the uplink and downlink rates of each wavelength may not be exactly the same. When the rate of each channel is exactly the same, the data packets to be sent are completely and evenly distributed on each channel, and when the rates of each channel are not exactly the same, the data packets to be sent can be evenly distributed according to the rate ratio of each channel distributed to each channel. As shown in Figure 5, the left side is the transmission method of traditional WDM system data packets. The first data packet is divided into 4 sub-data and sent in sequence on channel 0 (wavelength λ0), and the second data packet is divided into 4 sub-data It is sent in sequence on channel 1 (wavelength λ1), the third packet is divided into 4 sub-data and sent in sequence on channel 2 (wavelength λ2), and the fourth data packet is divided into 4 sub-data on channel 3 (wavelength λ3). ) in order, and by analogy, the time to receive each data packet requires the transmission time of 4 sub-data, and the intermediate data needs to be cached; the right side is the transmission mode of the system data packet after the channel is bound in the embodiment of the present invention , the first data packet is divided into 4 sub-data and sent at the same time on channels 0, 1, 2, 3 (wavelengths λ0, λ1, λ2, λ3), the same is true for other data packets, each data packet can be received at the same time, also It is no longer necessary to cache all intermediate data.
本发明实施例三提供的技术方案,提供了一种25G/50G/75G/100G共存和升级的网络架构的实现方式,使用户在带宽的选择上有更进一步的选择空间,与传统的WDM(Wavelength Division Multiplexing,波分复用)系统对比,数据包的延时降为1/4,对于同样速率接收方的缓存要求也能有所降低。同时对于物理异常,可以进行最大程度的补救,即支持多通道的ONU在通道故障时,只需要减少绑定的通道数量,而不是完全不可以用;并在故障通道恢复正常时,OLT能够通过发现机制发现恢复正常的通道,然后通过重新注册,可以选择最大程度的带宽进行数据传输,提高了数据传输速率。The technical solution provided by the third embodiment of the present invention provides an implementation method of 25G/50G/75G/100G coexistence and upgrade network architecture, so that users have a further choice in bandwidth selection, which is different from traditional WDM ( Compared with the Wavelength Division Multiplexing (Wavelength Division Multiplexing) system, the delay of the data packet is reduced to 1/4, and the buffer requirement for the receiver at the same rate can also be reduced. At the same time, the physical abnormality can be remedied to the greatest extent, that is, the ONU supporting multi-channel only needs to reduce the number of bound channels when the channel fails, instead of being completely unavailable; and when the faulty channel returns to normal, the OLT can pass The discovery mechanism discovers the restored channel, and then re-registers to select the maximum bandwidth for data transmission, which improves the data transmission rate.
实施例四Embodiment 4
本发明实施例四以100G GPON ONU(支持四通道)的注册过程为例,详细说明实现通道自适应的方案。其中,OLT支持四通道(通道0:λ0/λ4、通道1:λ1/λ5、通道2:λ2/λ6、通道3:λ3/λ7),ONU也支持四通道(通道0:λ0/λ4、通道1:λ1/λ5、通道2:λ2/λ6、通道3:λ3/λ7),同时每个通道速率均为25G。Embodiment 4 of the present invention takes the registration process of a 100G GPON ONU (supporting four channels) as an example to describe in detail a solution for realizing channel adaptation. Among them, OLT supports four channels (channel 0: λ0/λ4, channel 1: λ1/λ5, channel 2: λ2/λ6, channel 3: λ3/λ7), and ONU also supports four channels (channel 0: λ0/λ4, channel 1: λ1/λ5, channel 2: λ2/λ6, channel 3: λ3/λ7), and the rate of each channel is 25G.
图6为本发明实施例四提供的实现通道自适应的方法的流程示意图,如图6所示,该方法包括:FIG. 6 is a schematic flowchart of a method for implementing channel adaptation provided in Embodiment 4 of the present invention. As shown in FIG. 6 , the method includes:
步骤601,OLT在四个通道分别独立下发profile_ploam消息;
其中,在此之前,ONU被激活并在四个通道上分别获取对下行PHY帧的同步,进入O2状态。Among them, before this, the ONU is activated and obtains the synchronization of the downlink PHY frame on the four channels respectively, and enters the O2 state.
其中,现有ONU有7种状态,初始状态Initial-state(O1)、待机状态Standby-state(O2)、序列号状态Serial-Number-state(O3)、测距状态(O4)、运行状态Operation-state(O5)、POPUP状态POPUP-state(O6)、紧急停止状态Emergency-Stop-state(O7)。Among them, the existing ONU has 7 states, initial state Initial-state (O1), standby state Standby-state (O2), serial number state Serial-Number-state (O3), ranging state (O4), running state Operation -state(O5), POPUP state POPUP-state(O6), Emergency-Stop-state(O7).
步骤602,ONU在四个通道上回复ploam响应消息;
其中,ONU处于O2状态后,通过对应通道分别获取上行突发参数模板。Wherein, after the ONU is in the O2 state, it obtains the upstream burst parameter template through the corresponding channel.
其中,当所述ploam消息为序列号SN请求消息时,所述ploam响应消息为SN响应消息,ONU处于O3状态;之后OLT为ONU分配ONU-ID,并进入O4状态。即当ONU收到SN请求时,分别上发SN ploam消息(4通道对应同一个SN号);OLT收到SN ploam响应消息后,通过四通道分别发送对应的assign onuid ploam(一个SN对应一个onuid,所以四通道对应同一个onuid),ONU收到此ploam消息,设置自己的onuid,默认alloc_id,port_id进入测距状态(O4)。Wherein, when the ploam message is a serial number SN request message, the ploam response message is an SN response message, and the ONU is in the O3 state; then the OLT allocates an ONU-ID for the ONU and enters the O4 state. That is, when the ONU receives the SN request, it sends SN ploam messages respectively (four channels correspond to the same SN number); after the OLT receives the SN ploam response message, it sends the corresponding assign onuid ploam (one SN corresponds to one onuid) through four channels. , so the four channels correspond to the same onuid), the ONU receives the ploam message, sets its own onuid, the default alloc_id, and port_id enter the ranging state (O4).
其中,当所述ploam消息为测距Ranging请求消息时,所述ploam响应消息为Ranging响应消息。之后,OLT为每一个通道进行测距,即OLT单独测得ONU每个通道的距离(由于每个通道波长不一样,同样的物理距离,每个通道的延时会有一定的偏差),对于每一个通道单独测距,在OLT端四通道接收数据理论上都不需要再去对齐,通过测距就能保证收到的4路数据是对齐的(由于OLT对ONU是1对多,这样相当于可以将实现通道对齐平分给每个ONU,而不是集中让OLT来做,而且发送方主动补偿比接受方被动对齐更容易实现)OLT通过ranging_time ploam消息下发每个通道的均衡延时。ONU即可进入O5状态。Wherein, when the ploam message is a ranging request message, the ploam response message is a Ranging response message. After that, the OLT performs ranging for each channel, that is, the OLT measures the distance of each channel of the ONU separately (due to the different wavelengths of each channel and the same physical distance, the delay of each channel will have a certain deviation). Each channel measures the distance independently. In theory, the four channels of received data on the OLT end do not need to be aligned. Through ranging, the received data of the four channels can be guaranteed to be aligned (because the OLT is one-to-many to the ONU, this is equivalent to Since the channel alignment can be divided equally among each ONU, instead of letting the OLT do it centrally, and the sender's active compensation is easier to implement than the receiver's passive alignment.) The OLT sends the equalization delay of each channel through the ranging_time ploam message. ONU can enter the O5 state.
步骤603,OLT将所述四个通道与所述ONU进行绑定;
其中,由于ONU四个通道是分开注册的,当ONU在O5状态时,OLT是知道ONU有几个通道,即可将这几个通道绑定与ONU进行数据交互,ONU也是同样的,根据每一个通道的状态也可知道自己通道的绑定情况,可通过对应的绑定形式与OLT进行通信。Among them, since the four channels of the ONU are registered separately, when the ONU is in the O5 state, the OLT knows how many channels the ONU has, and can bind these channels to the ONU for data exchange. The ONU is also the same. The state of a channel can also know the binding status of its own channel, and can communicate with the OLT through the corresponding binding form.
其中,当ONU为单通道,两通道,三通道时,与上述过程类似,OLT也可根据四个通道收到同一个SN的数目来识别每一个ONU的通道数,进而进行对应的绑定通信。如图7所示,从左到右依次为单通道(λ0/λ4),两通道(λ1/λ5、λ2/λ6),三通道(0/λ4、λ1/λ5、λ3/λ7)、四通道(0/λ4、λ1/λ5、λ2/λ6、λ3/λ7)ONU的绑定示意图。Among them, when the ONU is single-channel, two-channel, or three-channel, similar to the above process, the OLT can also identify the number of channels of each ONU according to the number of the same SN received by the four channels, and then perform the corresponding binding communication . As shown in Figure 7, from left to right are single-channel (λ0/λ4), two-channel (λ1/λ5, λ2/λ6), three-channel (0/λ4, λ1/λ5, λ3/λ7), four-channel (0/λ4, λ1/λ5, λ2/λ6, λ3/λ7) Binding diagram of ONU.
步骤604,所述OLT与所述ONU通过绑定的四个通道进行数据传输;
其中,下行方向上,进行数据传输的方式,如图5右侧图所示,第一个数据包分为4个子数据分别在通道0、1、2、3(波长λ0、λ1、λ2、λ3)上同时发送,其他数据包也是如此,可以同时发送每一个数据包。Among them, in the downstream direction, the way of data transmission, as shown in the right side of Figure 5, the first data packet is divided into 4 sub-data on channels 0, 1, 2, 3 (wavelengths λ0, λ1, λ2, λ3 respectively). ) at the same time, and the same is true for other packets, each of which can be sent at the same time.
其中,上行方向上,每一个数据包都可以分割为4个子数据。由于每一个通道的延时会有一定的偏差,ONU可以根据测距时得到的每一个通道对应的均衡延时,延时发送对应的子数据,从而保证OLT可以同时收到所述数据包的子数据。当然,ONU也可以同时发送每一个数据包的子数据,OLT可以在一定时隙内接收子数据并按照一定的规则对子数据进行排序合并为所述数据包。Among them, in the upstream direction, each data packet can be divided into 4 sub-data. Since the delay of each channel will have a certain deviation, the ONU can send the corresponding sub-data with a delay according to the equalized delay corresponding to each channel obtained during ranging, so as to ensure that the OLT can receive the data packets at the same time. subdata. Of course, the ONU can also send the sub-data of each data packet at the same time, and the OLT can receive the sub-data in a certain time slot and sort and merge the sub-data into the data packet according to certain rules.
其中,本实施例中每一个通道的速率是相同的,可以按照绑定通道的个数均匀分割数据包。如果每一个通道的速率不同,则可以按照绑定通道的个数和各个通道的速率比分割数据包,从而保证OLT可以同时收到所述数据包的子数据。Wherein, in this embodiment, the rate of each channel is the same, and the data packets can be evenly divided according to the number of bound channels. If the rate of each channel is different, the data packets can be divided according to the number of bound channels and the rate ratio of each channel, so as to ensure that the OLT can receive the sub-data of the data packets at the same time.
步骤605,当所述ONU的绑定的通道中的至少一个出现问题时,所述ONU掉线重新注册。
其中,例如,如图8所示,绑定的四个通道中的一个通道(例如通道0,λ0/λ4)出现问题(例如通道物理异常),无法传输数据,则返回步骤501,此时ONU只能通过剩下的三个通道(通道1、2、3(λ1/λ5、λ2/λ6、λ3/λ7))上回复ploam响应消息,从而将该三个通道1、2、3与所述ONU进行绑定,进行数据交互。此时,由于OLT只能与此ONU的三个通道建立同步关系,则认为这个ONU是三通道ONU。另外,在后续通信过程中,如果通道0恢复正常,OLT会定时广播发现新的ONU,此时OLT发现从第0通道发生的新的ONU的标识例如序列号SN,与已经注册的该ONU一样,则说明该ONU有新的通道可以使用,可以通知ONU进行重新注册,该ONU可以在数据传输的空闲器掉线,重新进行通道注册,OLT会为该ONU重新绑定通道0、1、2、3,即该ONU又变成支持四通道的ONU;另外,在OLT通知ONU重新进行通道注册之前,也可以先判断该ONU的带宽是否够用,如果不够用,则通知所述ONU重新开始通道注册;如果够用,可以不发通知,ONU保持三通道,并且此时OLT也可以通知该ONU关掉新恢复的通道对应的发光器。Among them, for example, as shown in Figure 8, if there is a problem (such as channel physical abnormality) in one of the four bound channels (such as channel 0, λ0/λ4), and the data cannot be transmitted, then return to step 501, at which time the ONU The ploam response message can only be replied on the remaining three channels (channels 1, 2, 3 (λ1/λ5, λ2/λ6, λ3/λ7)), so that the three channels 1, 2, 3 are connected with the described ONU performs binding and data interaction. At this time, since the OLT can only establish a synchronization relationship with the three channels of the ONU, it is considered that the ONU is a three-channel ONU. In addition, in the subsequent communication process, if the channel 0 returns to normal, the OLT will periodically broadcast to discover the new ONU. At this time, the OLT finds the identifier of the new ONU generated from the 0th channel, such as the serial number SN, which is the same as the ONU that has already been registered. , it means that the ONU has a new channel that can be used, and the ONU can be notified to re-register. The ONU can be disconnected from the idle device of data transmission and re-register the channel. The OLT will re-bind channels 0, 1, and 2 for the ONU. 3, that is, the ONU becomes an ONU supporting four channels; in addition, before the OLT notifies the ONU to re-register the channel, it can also judge whether the bandwidth of the ONU is sufficient, and if not, notify the ONU to restart Channel registration; if it is enough, no notification can be sent, the ONU maintains three channels, and the OLT can also notify the ONU to turn off the light emitter corresponding to the newly restored channel at this time.
实施例五Embodiment 5
图9为本发明实施例五提供的一种PON中实现通道自适应的装置的结构示意图,如图9所示,该装置包括:FIG. 9 is a schematic structural diagram of a device for implementing channel adaptation in a PON according to Embodiment 5 of the present invention. As shown in FIG. 9 , the device includes:
发现单元,用于在进行数据传输的过程中,发现新ONU的序列号SN是否与已经注册的ONU的序列号相同;The discovery unit is used to find out whether the serial number SN of the new ONU is the same as the serial number of the already registered ONU in the process of data transmission;
通知单元,用于当发现新ONU的序列号SN与已经注册的ONU的序列号相同时,通知所述ONU重新开始通道注册。The notification unit is configured to notify the ONU to restart the channel registration when it is found that the serial number SN of the new ONU is the same as the serial number of the already registered ONU.
其中,还包括判断单元,用于在通知所述ONU重新开始通道注册之前,wherein, it also includes a judging unit for notifying the ONU to restart the channel registration,
判断所述ONU的带宽是否够用;Determine whether the bandwidth of the ONU is sufficient;
如果不够用,则通知单元通知所述ONU重新开始通道注册。If it is not enough, the notification unit notifies the ONU to restart the channel registration.
其中,在进行数据传输之前,和所述ONU进行通道注册,包括:Wherein, before performing data transmission, perform channel registration with the ONU, including:
检测支持的全部通道与所述ONU的连通状态;Detect the connectivity status of all supported channels and the ONU;
将所述全部通道中处于连通状态的通道与所述ONU绑定;Binding the channel in the connected state in all channels with the ONU;
通过所述绑定的通道与所述ONU进行数据传输。Data transmission is performed with the ONU through the bound channel.
其中,检测支持的全部通道与ONU的连通状态,包括:Among them, the connection status of all supported channels and ONUs is detected, including:
在所述全部通道中的每一个通道上与所述ONU分别交互发送物理层操作管理和维护ploam消息进行通道注册,On each of the all channels, the ONU interacts with the ONU to send physical layer operation management and maintenance ploam messages respectively to perform channel registration,
在所述通道注册的过程中,如果没有收到所述ONU通过所述全部通道中至少一个通道发送的ploam响应消息,则认为所述至少一个通道处于不连通状态,其他能够收到所述ONU发送的ploam响应消息的通道处于连通状态。In the process of the channel registration, if the ploam response message sent by the ONU through at least one of the all channels is not received, it is considered that the at least one channel is in a disconnected state, and other channels can receive the ONU The channel on which the ploam response message was sent is connected.
其中,所述ploam响应消息包括以下之一:Wherein, the ploam response message includes one of the following:
序列号SN响应消息、测距Ranging响应消息。Sequence number SN response message, ranging response message.
其中,在进行数据传输的过程中,如果所述绑定的通道中至少一个通道发生故障,则所述ONU掉线重新开始通道注册。Wherein, in the process of data transmission, if at least one of the bound channels fails, the ONU is disconnected and restarts the channel registration.
其中,所述重新开始通道注册,包括:Wherein, the restarting the channel registration includes:
在所述全部通道中的每一个通道上与所述ONU分别交互发送物理层操作管理和维护ploam消息重新进行通道注册,On each of the all channels, the physical layer operation management and maintenance ploam messages are respectively exchanged with the ONU to re-register the channel,
在所述重新进行通道注册的过程中,如果没有收到所述ONU通过所述全部通道中至少一个通道发送的ploam响应消息,则认为所述至少一个通道处于不连通状态,其他能够收到所述ONU发送的ploam响应消息的通道处于连通状态;During the process of re-registering the channel, if the ploam response message sent by the ONU through at least one of the all channels is not received, it is considered that the at least one channel is in a disconnected state, and the others can receive all the channels. The channel of the ploam response message sent by the ONU is in a connected state;
将所述全部通道中处于连通状态的通道重新与所述ONU绑定;Re-binding the channel in the connected state in the all channels with the ONU;
通过所述重新绑定的通道与所述ONU进行数据传输。Data transmission is performed with the ONU through the re-bound channel.
其中,在所述通道注册的过程中或者所述重新进行通道注册的过程中,对所述全部通道中的每一个通道单独测距,所述每一个通道对应各自的均衡延时。Wherein, in the process of channel registration or the process of re-performing channel registration, the ranging is independently measured for each channel in all the channels, and each channel corresponds to its own equalization delay.
实施例六Embodiment 6
图10为本发明实施例六提供的另一种PON中实现通道自适应的装置的结构示意图,如图10所示,该装置包括:FIG. 10 is a schematic structural diagram of another device for implementing channel adaptation in a PON according to Embodiment 6 of the present invention. As shown in FIG. 10 , the device includes:
接收单元,用于接收OLT发送的重新开始通道注册的通知;a receiving unit, configured to receive the notification of restarting the channel registration sent by the OLT;
注册单元,用于在数据传输的空闲期内掉线,重新开始通道注册。The registration unit is used to drop the line during the idle period of data transmission and restart the channel registration.
其中,在接收OLT发送的重新开始通道注册的通知之前,和所述OLT进行通道注册,包括:Wherein, before receiving the notification of restarting the channel registration sent by the OLT, perform channel registration with the OLT, including:
在支持的全部通道中的每一个通道上与光线路终端OLT分别交互发送物理层操作管理和维护ploam消息进行通道注册,以便所述OLT将所述全部通道中处于连通状态的通道与所述装置绑定;On each of all the supported channels, the OLT interacts with the optical line terminal OLT to send physical layer operation management and maintenance ploam messages respectively for channel registration, so that the OLT connects the channels in the connected state of all the channels with the device. bind;
通过所述绑定的通道与所述OLT进行数据传输。Data transmission is performed with the OLT through the bound channel.
其中,在所述通道注册的过程中,对所述全部通道中的每一个通道单独测距,接收所述OLT发送的绑定的每一个通道对应的均衡延时。Wherein, in the process of the channel registration, ranging is independently measured for each of the all channels, and the equalization delay corresponding to each bound channel sent by the OLT is received.
其中,所述通过所述绑定的通道与所述OLT进行数据传输,包括:Wherein, the data transmission with the OLT through the bound channel includes:
将待发送的每一个第一数据包分割成第一数量的子数据包,所述第一数量为所述绑定的通道的个数;Divide each first data packet to be sent into a first quantity of sub-packets, where the first quantity is the number of the bound channels;
根据绑定的每一个通道对应的均衡延时,将每一个子数据包分别通过绑定的每一个通道进行数据传输。According to the equalization delay corresponding to each of the bound channels, each sub-packet is transmitted through each of the bound channels respectively.
其中,在进行所述数据传输的过程中,如果所述绑定的通道中至少一个通道发生故障,则所述装置掉线重新开始通道注册。Wherein, during the data transmission process, if at least one of the bound channels fails, the device is disconnected and restarts the channel registration.
其中,所述重新开始通道注册,包括:Wherein, the restarting the channel registration includes:
在所述全部通道中的每一个通道上与所述OLT分别交互发送物理层操作管理和维护ploam消息重新进行通道注册,以便所述OLT将所述全部通道中处于连通状态的通道重新与所述装置绑定;Send physical layer operation management and maintenance ploam messages with the OLT on each of the all channels respectively to re-register the channels, so that the OLT reconnects the channels in the connected state among the all channels with the device binding;
通过所述重新绑定的通道与所述OLT进行数据传输。Data transmission is performed with the OLT through the re-bound channel.
其中,在所述重新进行通道注册的过程中,对所述全部通道中的每一个通道单独测距,所述每一个通道对应各自的均衡延时。Wherein, in the process of re-registering the channels, ranging is independently measured for each channel in all the channels, and each channel corresponds to its own equalization delay.
其中,所述通过所述重新绑定的通道与所述OLT进行数据传输,包括:Wherein, performing data transmission with the OLT through the re-bound channel includes:
将待发送的每一个第二数据包分割成第二数量的子数据包,所述第二数量为所述重新绑定的通道的个数;Divide each second data packet to be sent into a second quantity of sub-packets, where the second quantity is the number of the re-bound channels;
根据重新绑定的每一个通道对应的均衡延时,将每一个子数据包分别通过绑定的每一个通道进行数据传输。According to the equalization delay corresponding to each re-bound channel, each sub-packet is transmitted through each of the bound channels respectively.
本发明实施例还提供了一种光线路终端OLT,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述OLT执行的任一项所述PON中实现通道自适应的方法。Embodiments of the present invention further provide an optical line terminal OLT, including a memory, a processor, and a computer program stored on the memory and running on the processor, when the computer program is executed by the processor A method for implementing channel adaptation in a PON performed by any one of the above-mentioned OLTs is implemented.
本发明实施例还提供了一种光网络单元ONU,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述ONU执行的任一项所述PON中实现通道自适应的方法。Embodiments of the present invention further provide an optical network unit ONU, including a memory, a processor, and a computer program stored on the memory and running on the processor, when the computer program is executed by the processor A method for implementing channel adaptation in the PON performed by any one of the above ONUs is implemented.
本发明实施例还提供了一种PON中实现通道自适应的系统,包括上述任一项所述的光线路终端OLT和上述任一项所述的光网络单元ONU。An embodiment of the present invention further provides a system for realizing channel adaptation in a PON, including the optical line terminal OLT described in any of the above and the optical network unit ONU described in any of the above.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现上述任一项所述PON中实现通道自适应的方法的步骤。Embodiments of the present invention further provide a computer-readable storage medium, where an information processing program is stored on the computer-readable storage medium, and when the information processing program is executed by a processor, implements any one of the above-mentioned implementation channels in the PON The steps of the adaptive method.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, functional modules/units in the systems, and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of the patent protection of the present invention still needs to be The scope defined by the appended claims shall prevail.
Claims (22)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811583472.9A CN111356038B (en) | 2018-12-24 | 2018-12-24 | A method and related equipment for realizing channel self-adaptation in PON |
| PCT/CN2019/098393 WO2020134069A1 (en) | 2018-12-24 | 2019-07-30 | Method and related device for implementing channel adaptation in a pon |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811583472.9A CN111356038B (en) | 2018-12-24 | 2018-12-24 | A method and related equipment for realizing channel self-adaptation in PON |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111356038A true CN111356038A (en) | 2020-06-30 |
| CN111356038B CN111356038B (en) | 2023-08-08 |
Family
ID=71127553
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811583472.9A Active CN111356038B (en) | 2018-12-24 | 2018-12-24 | A method and related equipment for realizing channel self-adaptation in PON |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111356038B (en) |
| WO (1) | WO2020134069A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025167960A1 (en) * | 2024-02-08 | 2025-08-14 | 华为技术有限公司 | Communication method and apparatus, and passive optical network system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101064719A (en) * | 2006-04-27 | 2007-10-31 | 华为技术有限公司 | Cryptographic algorithm negotiating method in PON system |
| CN101237254A (en) * | 2008-02-27 | 2008-08-06 | 杭州华三通信技术有限公司 | Optical fiber protection inverse device, method and passive optical network system with the device |
| US20080304834A1 (en) * | 2007-06-06 | 2008-12-11 | At&T Knowledge Ventures, L.P. | System and method for registration of network units |
| CN108023835A (en) * | 2016-11-04 | 2018-05-11 | 中兴通讯股份有限公司 | Data sending, method of reseptance and device, ONU, OLT |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101674501B (en) * | 2009-09-22 | 2013-04-03 | 中兴通讯股份有限公司 | Realization method and system of gigabit passive optical network registration process |
| CN102368692B (en) * | 2011-09-23 | 2014-07-16 | 烽火通信科技股份有限公司 | Passive optical network unit replacing method based on logic serial number |
| CN103763020B (en) * | 2014-02-12 | 2016-04-13 | 烽火通信科技股份有限公司 | ONU real-time detection management method and optical line terminal equipment in WDM-PON system |
| KR102286577B1 (en) * | 2015-04-03 | 2021-08-06 | 한국전자통신연구원 | Apparatus and Method for Registration and Deregistration of ONU(Optical Network Unit) using Multiple Subchannels in Optical Communication Network |
| EP3349479A4 (en) * | 2015-09-22 | 2018-08-15 | Huawei Technologies Co., Ltd. | Optical network unit registration method, device and system |
-
2018
- 2018-12-24 CN CN201811583472.9A patent/CN111356038B/en active Active
-
2019
- 2019-07-30 WO PCT/CN2019/098393 patent/WO2020134069A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101064719A (en) * | 2006-04-27 | 2007-10-31 | 华为技术有限公司 | Cryptographic algorithm negotiating method in PON system |
| US20080304834A1 (en) * | 2007-06-06 | 2008-12-11 | At&T Knowledge Ventures, L.P. | System and method for registration of network units |
| CN101237254A (en) * | 2008-02-27 | 2008-08-06 | 杭州华三通信技术有限公司 | Optical fiber protection inverse device, method and passive optical network system with the device |
| CN108023835A (en) * | 2016-11-04 | 2018-05-11 | 中兴通讯股份有限公司 | Data sending, method of reseptance and device, ONU, OLT |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025167960A1 (en) * | 2024-02-08 | 2025-08-14 | 华为技术有限公司 | Communication method and apparatus, and passive optical network system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111356038B (en) | 2023-08-08 |
| WO2020134069A1 (en) | 2020-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6004509B2 (en) | Multi-wavelength passive optical network wavelength negotiation method and apparatus, and multi-wavelength passive optical network system | |
| US10652635B2 (en) | Passive optical network communications method and apparatus, and system | |
| EP3065321B1 (en) | Communication method, apparatus and system for passive optical network | |
| JP6445706B2 (en) | Communication method, apparatus, and system applied to multi-wavelength passive optical network | |
| CN101677415B (en) | Optical network system data link switching method, optical network unit and system | |
| CN103378918B (en) | Channel adjustment method and device | |
| WO2010082290A1 (en) | Communication system, subscriber accommodating apparatus and communication method | |
| WO2013053248A1 (en) | Method and apparatus for processing uplink data abnormity | |
| US20150215033A1 (en) | Protection Switching Method, System, and Apparatus For Passive Optical Network | |
| WO2013082936A1 (en) | Method and system for allocating uplink bandwidth in passive optical network (pon) system | |
| US20050047332A1 (en) | Gigabit Ethernet passive optical network having double link structure | |
| KR102418709B1 (en) | Information transmission method, optical fiber termination device, optical communication network unit and communication system | |
| CN106576012A (en) | Rogue optical network unit mitigation in passive optical networks | |
| CN102377481B (en) | Distance-finding method in a kind of EPON and system | |
| CN101692716A (en) | Optical line terminal, optical network unit and passive optical network system | |
| JP6285611B2 (en) | Station side device and wavelength switching monitoring method | |
| WO2011094990A1 (en) | Method and system for path switching and method for transmitting downlink data | |
| CN102740171B (en) | A kind of EPON loop detecting method and system | |
| WO2012071828A1 (en) | Method and system for transmitting data based on full protection mode in passive optical network | |
| CN111356038B (en) | A method and related equipment for realizing channel self-adaptation in PON | |
| CN102006525A (en) | Optical communication control device | |
| CN113228539B (en) | Method, storage medium and corresponding equipment for allocating point-to-point channels to user modules of optical communication networks | |
| JP6296834B2 (en) | Parent station device, control device, optical communication system, and fault switching method | |
| JP5640724B2 (en) | Subscriber communication system, communication control method, and program | |
| JP2018113588A (en) | Optical transmission device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |