CN101944949B - Optical transmission control method in optical network, optical network device and system - Google Patents
Optical transmission control method in optical network, optical network device and system Download PDFInfo
- Publication number
- CN101944949B CN101944949B CN200910108614.0A CN200910108614A CN101944949B CN 101944949 B CN101944949 B CN 101944949B CN 200910108614 A CN200910108614 A CN 200910108614A CN 101944949 B CN101944949 B CN 101944949B
- Authority
- CN
- China
- Prior art keywords
- optical
- time interval
- onu
- optical network
- module
- 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.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
- Optical Communication System (AREA)
Abstract
本发明实施例涉及通信领域,特别公开了一种光网络中光传输控制方法、光网络装置和系,该方法包括:生成多点控制协议MPCP消息,所述MPCP消息中包括被测ONU的标识和为所述被测ONU分配的用于发送上行光信号的时间区间的信息;将所述MPCP消息发送给所述被测ONU;接收所述被测ONU在所述被分配的时间区间内发送的上行光信号;检测接收到的所述上行光信号,确定所述上行光信号的光功率。本发明避免了现有技术中光功率检测过程中,通过DBA模块给被测ONU分配带宽以进行光功率的检测而造成的带宽浪费。
The embodiment of the present invention relates to the field of communication, and particularly discloses an optical transmission control method in an optical network, an optical network device and a system, the method including: generating a multipoint control protocol MPCP message, and the MPCP message includes the identifier of the ONU to be tested and the information of the time interval for sending the upstream optical signal allocated for the ONU under test; sending the MPCP message to the ONU under test; receiving the ONU under test and sending it within the allocated time interval the uplink optical signal; detecting the received uplink optical signal, and determining the optical power of the uplink optical signal. The invention avoids the waste of bandwidth caused by allocating bandwidth to the ONU under test through the DBA module in the optical power detection process in the prior art to detect the optical power.
Description
技术领域 technical field
本发明涉及通信领域,尤其涉及一种光网络中光传输控制方法、光网络装置和系统。The invention relates to the communication field, in particular to an optical transmission control method in an optical network, an optical network device and a system.
背景技术 Background technique
PON(Passive Optical Network,无源光网络)技术是一种点到多点的光纤接入技术。PON一般由局侧的OLT(Optical Line Terminal,光线路终端)、用户侧的ONU(Optical Network Unit,光网络单元)、以及ODN(光分配网络)组成。OLT的一个PON端口可以接入多个ONU。PON (Passive Optical Network) technology is a point-to-multipoint optical fiber access technology. PON is generally composed of OLT (Optical Line Terminal, Optical Line Terminal) on the office side, ONU (Optical Network Unit, Optical Network Unit) on the user side, and ODN (Optical Distribution Network). One PON port of the OLT can be connected to multiple ONUs.
EPON(Ethernet passive Optical Network,以太无源光网络)是PON技术中的一种,它在物理层采用了PON技术,在链路层使用以太网协议,利用PON的拓扑结构实现了以太网的接入。因此,它综合了PON技术和以太网技术的优点。EPON (Ethernet passive Optical Network, Ethernet passive optical network) is a kind of PON technology. It adopts PON technology in the physical layer, uses Ethernet protocol in the link layer, and realizes the connection of Ethernet by using the topology of PON. enter. Therefore, it combines the advantages of PON technology and Ethernet technology.
在EPON系统中,为了对OLT与ONU之间的光纤链路进行监控和维护,需要获得OLT与ONU之间的光纤链路的性能参数。现有技术中采用接收光功率测量RSSI(Received Signal Strength Indication),即OLT对ONU发出的突发光信号的功率进行测量而得到上述参数的。具体过程如下:In the EPON system, in order to monitor and maintain the optical fiber link between the OLT and the ONU, it is necessary to obtain the performance parameters of the optical fiber link between the OLT and the ONU. In the prior art, RSSI (Received Signal Strength Indication) is used to measure the received optical power, that is, the OLT measures the power of the burst optical signal sent by the ONU to obtain the above parameters. The specific process is as follows:
OLT对ONU发送的突发光信号对应的光电流进行电流镜采样,得到光电流的镜像电流,再将镜像电流转换成电压,进而对电压进行采样保持,然后采用模数转换器(Analog-to-Digital Conventer,ADC)对采样保持的电压进行模数转换,得到数字信号,最后进行光功率计算。在上述过程中,ONU必须持续发送光信号,以便于OLT进行光信号采集和光功率的计算。The OLT performs current mirror sampling on the photocurrent corresponding to the burst optical signal sent by the ONU to obtain the mirror current of the photocurrent, then converts the mirror current into a voltage, and then samples and holds the voltage, and then uses an analog-to-digital converter (Analog-to -Digital Converter, ADC) performs analog-to-digital conversion on the sampled and held voltage to obtain a digital signal, and finally calculates the optical power. In the above process, the ONU must continuously send optical signals, so that the OLT can collect optical signals and calculate optical power.
在实现本发明过程中,发明人发现现有技术中存在如下问题:In the course of realizing the present invention, the inventor finds that there are following problems in the prior art:
现有技术中,为了保证ONU发出的突发光信号达到一定的持续时间,需要终止正常业务,利用独立的光功率检测装置或重新启动注册或测距过程对ONU进行光功率测量。这样,会给其他ONU的正常工作造成影响。In the prior art, in order to ensure that the burst optical signal sent by the ONU reaches a certain duration, the normal service needs to be terminated, and the optical power of the ONU is measured by using an independent optical power detection device or restarting the registration or ranging process. In this way, the normal work of other ONUs will be affected.
发明内容 Contents of the invention
本发明实施例要解决的技术问题是提供一种光网络中光传输控制方法、光网络装置和系统,有光线路终端为进行光功率测量的ONU分配用于发送上行光信号的时间区间,使得被测ONU在所述时间区间内发送上行光信号,以便确定所述上行光信号的光功率,使得在不需要重新调整DBA更新周期中各个ONU的带宽的情况下,实现对光功率的测量。The technical problem to be solved by the embodiments of the present invention is to provide an optical transmission control method in an optical network, an optical network device, and a system. An optical line terminal allocates a time interval for sending an upstream optical signal to an ONU that performs optical power measurement, so that The ONU under test sends an upstream optical signal within the time interval, so as to determine the optical power of the upstream optical signal, so that the optical power can be measured without readjusting the bandwidth of each ONU in the DBA update period.
为解决上述技术问题,本发明所提供的实施例是通过以下技术方案实现的:In order to solve the above technical problems, the embodiments provided by the present invention are achieved through the following technical solutions:
本发明实施例提供了一种光网络中光传输控制方法,所述光网络中光线路终端和光网络单元通过以太网无源光网络协议传输数据,其特征在于,包括:An embodiment of the present invention provides an optical transmission control method in an optical network, wherein an optical line terminal and an optical network unit in the optical network transmit data through an Ethernet passive optical network protocol, which is characterized in that it includes:
为已注册到光线路终端上的多个光网络单元中的被测光网络单元分配用于性能检测的第一时间区间,所述第一时间区间和用于业务传输的第二时间区间相邻,所述第二时间区间为无源光网络进行动态带宽分配的更新周期的整数倍;Allocating a first time interval for performance detection to a measured optical network unit among the plurality of optical network units registered on the optical line terminal, where the first time interval is adjacent to the second time interval for service transmission , the second time interval is an integer multiple of an update cycle for dynamic bandwidth allocation by the passive optical network;
利用多点控制协议消息将第一时间区间的时间信息通过光分配网络发送给所述多个光网络单元,所述多点控制协议消息中包括所述被测光网络单元的标识信息和为所述被测光网络单元分配的用于性能检测的第一时间区间的信息;Send the time information of the first time interval to the plurality of optical network units through the optical distribution network by using a multipoint control protocol message, the multipoint control protocol message includes the identification information of the measured optical network unit and the Information about the first time interval allocated by the optical network unit under test for performance testing;
对所述多个光网络单元响应所述多点控制协议消息发送的光信号的接收过程进行控制,使得光线路终端在所述第一时间区间对应的接收区间检测被测光网络单元的以及在所述第二时间区间对应的接收区间接收承载的业务。Controlling the receiving process of the optical signal sent by the plurality of optical network units in response to the multipoint control protocol message, so that the optical line terminal detects the optical network unit under test and in the receiving interval corresponding to the first time interval The receiving interval corresponding to the second time interval receives the bearer service.
本发明实施例提供了一种光线路终端OLT,包括:An embodiment of the present invention provides an optical line terminal OLT, including:
以太网无源光网络MAC模块,用于为已注册到光线路终端上的多个光网络单元中的被测光网络单元分配用于性能检测的第一时间区间,所述第一时间区间和用于业务传输的第二时间区间相邻,所述第二时间区间为无源光网络进行动态带宽分配的更新周期的整数倍,生成多点控制协议消息,所述多点控制协议消息中包括被测光网络单元的标识信息和为所述被测光网络单元分配的用于性能检测的第一时间区间的信息和将所述第二时间区间分配给已注册光网络单元用于业务传输的信息;The Ethernet passive optical network MAC module is configured to allocate a first time interval for performance detection to a measured optical network unit among a plurality of optical network units registered on the optical line terminal, and the first time interval and The second time interval used for service transmission is adjacent, and the second time interval is an integer multiple of the update cycle for dynamic bandwidth allocation of the passive optical network, and a multipoint control protocol message is generated, and the multipoint control protocol message includes The identification information of the measured optical network unit, the information of the first time interval allocated to the measured optical network unit for performance detection, and the time interval for allocating the second time interval to the registered optical network unit for service transmission information;
光模块,用于将所述多点控制协议消息承载在下行光信号中发送给所述多个光网络单元,并接收所述多个光网络单元发送的上行光信号,所述上行光信号包括光网络单元发送的承载有业务的光信号和被测光网络单元发送的不承载业务的光信号,检测所述第一时间区间对应的接收区间内发送的上行光信号,确定所述被测光网络单元发送的光功率。An optical module, configured to carry the multipoint control protocol message in a downlink optical signal and send it to the multiple optical network units, and receive uplink optical signals sent by the multiple optical network units, the uplink optical signal includes The optical signal carrying the service sent by the optical network unit and the optical signal not carrying the service sent by the optical network unit under test, detecting the uplink optical signal sent in the receiving interval corresponding to the first time interval, and determining the measured optical signal The optical power sent by the network element.
本发明实施例提供了一种光网络单元ONU,该ONU包括:The embodiment of the present invention provides a kind of optical network unit ONU, and this ONU comprises:
解析模块、控制模块和光模块,其中,Analysis module, control module and optical module, wherein,
所述解析模块,用于接收并解析来自于光线路终端OLT的多点控制协议MPCP消息,得到被测ONU的标识和所述OLT给所述被测ONU分配的用于发送用于性能检测的上行光信号的第一时间区间的信息和所述OLT将第二时间区间分配给已注册ONU用于业务传输的信息,所述第一时间区间和用于业务传输的第二时间区间相邻,所述第二时间区间为无源光网络进行动态带宽分配的更新周期的整数倍;The parsing module is used to receive and parse the multipoint control protocol MPCP message from the optical line terminal OLT, and obtain the identifier of the ONU under test and the ONU assigned by the OLT to the ONU under test for sending for performance detection. The information of the first time interval of the upstream optical signal and the information that the OLT allocates the second time interval to the registered ONU for service transmission, the first time interval is adjacent to the second time interval for service transmission, The second time interval is an integer multiple of the update cycle for dynamic bandwidth allocation by the passive optical network;
所述控制模块,用于判断所述MPCP消息中的ONU的标识与自身的ONU的标识是否匹配,若匹配,则控制所述光模块在所述第一时间区间内发送不承载业务的上行光信号,以及判断所述OLT将第二时间区间分配给已注册的ONU用于业务传输的信息中是否包含分配给自身的用于业务传输的信息,如果有,则控制所述光模块根据分配给自身的用于业务传输的时间区间的信息发送承载业务的上行光信号。The control module is used to judge whether the ONU identification in the MPCP message matches the ONU identification of itself, and if they match, control the optical module to send an upstream optical module that does not carry services within the first time interval. signal, and determine whether the OLT allocates the second time interval to the registered ONU for service transmission information including the information allocated to itself for service transmission, and if so, control the optical module according to the information allocated to The information of the time interval used for service transmission by itself sends the uplink optical signal carrying the service.
本发明实施例还提供了一种无源光网络,包括一个光线路终端OLT、和多个光网络单元ONU,其中,所述OLT通过光分配网ODN连接到所述多个ONU;The embodiment of the present invention also provides a passive optical network, including an optical line terminal OLT and a plurality of optical network units ONU, wherein the OLT is connected to the plurality of ONUs through an optical distribution network ODN;
所述OLT用于为已注册到光线路终端上的多个光网络单元中的被测光网络单元分配用于性能检测的第一时间区间,所述第一时间区间和用于业务传输的第二时间区间相邻,所述第二时间区间为无源光网络进行动态带宽分配的更新周期的整数倍,并利用多点控制协议消息将第一时间区间的时间信息通过光分配网络发送给所述多个光网络单元,所述多点控制协议消息中包括所述被测光网络单元的标识信息和为所述被测光网络单元分配的用于检测的第一时间区间的信息,对所述多个光网络单元响应所述多点控制协议消息发送的光信号的接收过程进行控制,测得在所述第一时间区间检测被测光网络单元的光功率;The OLT is used to allocate a first time interval for performance detection to a measured optical network unit among the plurality of optical network units registered on the optical line terminal, and the first time interval and the second time interval for service transmission The two time intervals are adjacent, and the second time interval is an integer multiple of the update period of the dynamic bandwidth allocation of the passive optical network, and the time information of the first time interval is sent to the allotment through the optical distribution network by using a multi-point control protocol message. For the plurality of optical network units, the multipoint control protocol message includes the identification information of the measured optical network unit and the information of the first time interval allocated for the measured optical network unit for detection, for the measured optical network unit The multiple optical network units control the receiving process of the optical signal sent in response to the multipoint control protocol message, and measure the optical power of the measured optical network unit in the first time interval;
所述ONU,用于接收并解析来自于所述OLT的所述MPCP消息,获得被测ONU的标识信息和为所述被测ONU分配的用于性能检测的第一时间区间信息;确定所述MPCP消息中的被测ONU的标识是否与自身的ONU标识匹配;若匹配,则在所述第一时间区间内通过所述ODN向所述OLT发送不承载业务的上行光信号。The ONU is used to receive and parse the MPCP message from the OLT, obtain the identification information of the ONU under test and the first time interval information for performance detection assigned to the ONU under test; determine the Whether the identity of the ONU under test in the MPCP message matches its own ONU identity; if it matches, send an uplink optical signal that does not carry a service to the OLT through the ODN within the first time interval.
由此可见,在本发明实施例中,OLT的直接给被测ONU分配一个发送上行光信号的时间区间,将被测ONU的标识和被测ONU发送上行光信号的时间区间的信息封装到MPCP消息中,生成MPCP消息,并将该MPCP消息发送给被测ONU,被测ONU在上述时间区间内发送上行光信号,OLT检测被测ONU在上述时间区间内发送的上行光信号的功率。由此可以发现,本发明实施例不需要重新调整DBA更新周期中每一帧中各个ONU的带宽,而是OLT直接给被测ONU分配一个发送上行突发光信号的时间区间,被测ONU可以在OLT分配的时间区间内占用一个相对较大带宽,而在DBA的更新周期内每个ONU按照DBA模块原先分配的带宽传输数据,因此可以避免带宽的浪费,也不会对不进行RSSI测量的ONU的正常工作造成影响,实现起来简单灵活,可操作性显著增强。It can be seen that in the embodiment of the present invention, the OLT directly allocates a time interval for sending an upstream optical signal to the ONU under test, and encapsulates the information of the identifier of the ONU under test and the time interval for sending the uplink optical signal of the ONU under test into the MPCP In the message, an MPCP message is generated, and the MPCP message is sent to the ONU under test, the ONU under test sends an uplink optical signal within the above time interval, and the OLT detects the power of the uplink optical signal sent by the ONU under test within the above time interval. From this it can be found that the embodiment of the present invention does not need to readjust the bandwidth of each ONU in each frame in the DBA update cycle, but the OLT directly assigns a time interval for sending an upstream burst optical signal to the ONU under test, and the ONU under test can In the time interval allocated by the OLT, a relatively large bandwidth is occupied, and in the update period of the DBA, each ONU transmits data according to the bandwidth originally allocated by the DBA module, so the waste of bandwidth can be avoided, and the RSSI measurement will not be performed. The normal work of the ONU is affected, the implementation is simple and flexible, and the operability is significantly enhanced.
附图说明 Description of drawings
图1示出了DBA模块给被测ONU分配带宽的示意图;Fig. 1 shows the schematic diagram that DBA module allocates bandwidth to tested ONU;
图2示出了本发明实施例中方法实施例的流程图;Fig. 2 shows the flowchart of the method embodiment in the embodiment of the present invention;
图3示出了本发明实施例中分配的时间区间的示意图;Fig. 3 shows a schematic diagram of the time interval allocated in the embodiment of the present invention;
图4示出了本发明实施例中光线路终端OLT的结构示意图;FIG. 4 shows a schematic structural diagram of an optical line terminal OLT in an embodiment of the present invention;
图5示出了本发明实施例中光网络单元ONU的结构示意图;FIG. 5 shows a schematic structural diagram of an optical network unit ONU in an embodiment of the present invention;
图6示出了本发明实施例中系统实施例的结构示意图。Fig. 6 shows a schematic structural diagram of a system embodiment in an embodiment of the present invention.
具体实施方式 Detailed ways
为了便于本领域一般技术人员理解和实现本发明,现结合附图描绘本发明的实施例。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make it easier for those skilled in the art to understand and realize the present invention, the embodiments of the present invention are described in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.
如图1所示,DBA的一个更新周期为m帧,m的典型值为8,本例以更新周期为8帧为例,在正常工作下,即不需要进行RSSI测量时,DBA为OLT一个PON端口下的每一个ONU分配一个工作需要的带宽,如图中ONU1在一帧(125us)内占用的带宽为25us,则ONU1可以在这25us的时间内传输数据。在需要进行RSSI测量时,DBA模块为了给被测ONU(如图1中ONU1为被测ONU)分配一个较大的带宽,将会对OUN2……ONUn的带宽进行调整,即在增大ONU1的带宽的同时,减少为OUN2……ONUn分配的带宽,具体如图1中RSSI测量时的带宽示意图。在RSSI测量完成后,DBA模块再将为各个ONU分配的带宽恢复到正常工作状态,但由于DBA模块每经过m帧,才会对各ONU在每帧中占用的带宽进行一次更新或调整。如图1所示,DBA模块更新的周期为8帧,每帧为125us,即DBA模块的更新周期为1000us,而进行RSSI测量需要给ONU1分配比如至少100us的带宽,如图1中所示,在RSSI测量期间,在DBA的一个更新周期(8帧)内,ONU1在每帧都占用了至少100us;而在实践中,测量一次光功率只需要100us的时间,也就是说在DBA的一个更新周期内第一帧内分配的带宽就能够满足测量的需要,而其它7帧不进行光功率的测量,只用来正常传输数据,而ONU1在正常传输数据时只需要25us的带宽,那么在DBA的一个更新周期内,ONU1至少要浪费75us×7=525us的带宽,在一个DBA的更新周期内,浪费的带宽所占的比例为525us/(125us×8)=52.5%,同时,对于其它不进行RSSI测量的ONU来说,本来需要的带宽又得不到保证。As shown in Figure 1, a DBA update cycle is m frames, and the typical value of m is 8. In this example, the update cycle is 8 frames. Under normal operation, that is, when RSSI measurement is not required, the DBA is one for the OLT. Each ONU under the PON port is allocated a bandwidth required for work. In the figure, ONU1 occupies a bandwidth of 25us in one frame (125us), so ONU1 can transmit data within this 25us time. When RSSI measurement is required, the DBA module will adjust the bandwidth of OUN2...ONUn in order to allocate a larger bandwidth to the ONU under test (ONU1 in Figure 1 is the ONU under test), that is, increase the bandwidth of ONU1 While increasing the bandwidth, reduce the bandwidth allocated for OUN2...ONUn, as shown in the schematic diagram of bandwidth during RSSI measurement in Figure 1. After the RSSI measurement is completed, the DBA module will restore the bandwidth allocated by each ONU to the normal working state, but because the DBA module will update or adjust the bandwidth occupied by each ONU in each frame every m frames. As shown in Figure 1, the update period of the DBA module is 8 frames, each frame is 125us, that is, the update period of the DBA module is 1000us, and the RSSI measurement needs to allocate a bandwidth of at least 100us to ONU1, as shown in Figure 1. During RSSI measurement, ONU1 occupies at least 100us in each frame within an update period (8 frames) of DBA; in practice, it only takes 100us to measure optical power once, that is to say, within an update period of DBA The bandwidth allocated in the first frame of the cycle can meet the needs of the measurement, while the other 7 frames do not perform optical power measurement, but are only used for normal data transmission, and ONU1 only needs 25us of bandwidth for normal data transmission, then in DBA In an update cycle of ONU1, at least 75us×7=525us of bandwidth will be wasted by ONU1. In a DBA update cycle, the proportion of wasted bandwidth is 525us/(125us×8)=52.5%. At the same time, for other For the ONU that performs RSSI measurement, the originally required bandwidth cannot be guaranteed.
本发明实施例提供的光功率测量方法,应用于包含OLT和多个ONU的点到多点通信的以太无源光网络(EPON)中,通过OLT为需要进行RSSI测量的ONU分配一个RSSI测量时间,在不对OLT一个PON端口下的ONU的正常工作带宽进行调整的情况下,来实现接收光功率的测量,从而为分析OLT与ONU之间的链路性能状况提供依据。The optical power measurement method provided by the embodiment of the present invention is applied to an Ethernet passive optical network (EPON) of point-to-multipoint communication including an OLT and a plurality of ONUs, and an RSSI measurement time is allocated to an ONU that needs to perform RSSI measurement through the OLT , without adjusting the normal operating bandwidth of the ONU under one PON port of the OLT, to achieve the measurement of the received optical power, thereby providing a basis for analyzing the link performance between the OLT and the ONU.
本发明实施例中一种光功率测量的方法流程图如图2所示,该方法包括:A flow chart of a method for measuring optical power in an embodiment of the present invention is shown in Figure 2. The method includes:
S101:OLT的MAC芯片为已注册到光线路终端上的多个光网络单元中的被测光网络单元分配用于性能检测的第一时间区间T1。其中,该第一时间区间T1和用于业务传输的第二时间区间T2相邻,所述第二时间区间T2为无源光网络进行动态带宽分配的更新周期的整数倍。S101: The MAC chip of the OLT allocates a first time interval T1 for performance detection to a measured optical network unit among a plurality of optical network units registered on the optical line terminal. Wherein, the first time interval T1 is adjacent to the second time interval T2 used for service transmission, and the second time interval T2 is an integer multiple of an update cycle for dynamic bandwidth allocation by the passive optical network.
OLT的CPU发起对ONU侧的ONU(即为被测ONU)进行接收光功率测量时,向OLT的MAC芯片发送进行接收光功率测量的命令,该命令中包括需要进行光功率测量的ONU(即被测ONU)的标识,OLT的MAC芯片为被测光网络单元分配用于RSSI测量的第一时间区间T1,本发明实施例中的第一时间区间T1是DBA的更新周期整数倍的第二时间区间T2相邻的一个时间区间,具体的如图3所示,图3中,在DBA的一个更新周期内有m个帧,分配的第一时间区间T1为图3中的RSSI测量时间,该第一时间区间T1独立于第二时间区间T2,并与第二时间区间T2相邻。可选的,为了保证测量和业务之间不受影响,可以设置第一时间区间T1起始点和第一时间区间T1之前的第二区间T2结束点之间的时间间隔g1(图中未示出),以及第一时间区间T1结束点和第一时间区间T1之后的第二时间区间T2起始点之间的时间间隔g2(图中未示出),称之为测量保护间隔,其中,时间间隔g1、g2可以相同也可以不同。因此,OLT的MAC芯片在为被测ONU分配上述时间区间时,不需要重新调整DBA更新周期中每一帧中各个ONU的带宽,减少了对其他业务的带宽的影响。其中,第二时间可以是一个DBA的更新周期,或者DBA的更新周期的多倍。在EPON中,以太网协议的帧长为可变帧长,因此,本发明实施例中对上述第一时间区间T1的长度不做限制,只要能够满足测量光功率的精度要求。进一步的,该第一时间区间T1的时间长度最好不要影响到其他ONU的正常业务传输即可。When the CPU of the OLT initiates to measure the received optical power of the ONU on the ONU side (that is, the ONU under test), it sends an order to the MAC chip of the OLT to measure the received optical power. The mark of measured ONU), the MAC chip of OLT distributes the first time interval T1 that is used for RSSI measurement for measured optical network unit, the first time interval T1 in the embodiment of the present invention is the second of the integral multiple of the update cycle of DBA A time interval adjacent to the time interval T2 is specifically shown in Figure 3. In Figure 3, there are m frames in one update period of the DBA, and the allocated first time interval T1 is the RSSI measurement time in Figure 3. The first time interval T1 is independent from the second time interval T2 and adjacent to the second time interval T2. Optionally, in order to ensure that the measurement and the service are not affected, the time interval g1 between the starting point of the first time interval T1 and the end point of the second interval T2 before the first time interval T1 can be set (not shown in the figure ), and the time interval g2 (not shown in the figure) between the end point of the first time interval T1 and the start point of the second time interval T2 after the first time interval T1 is called the measurement guard interval, wherein the time interval g1 and g2 may be the same or different. Therefore, the MAC chip of the OLT does not need to readjust the bandwidth of each ONU in each frame in the DBA update cycle when allocating the above time interval for the ONU under test, reducing the impact on the bandwidth of other services. Wherein, the second time may be a DBA update period, or a multiple of the DBA update period. In EPON, the frame length of the Ethernet protocol is a variable frame length. Therefore, in the embodiment of the present invention, there is no limit to the length of the first time interval T1, as long as the accuracy requirement for measuring optical power can be met. Further, the time length of the first time interval T1 is preferably not to affect the normal service transmission of other ONUs.
进一步的,上述时间区间的信息可以包括时间区间的起始时间信息、时间区间的终止时间信息和时间区间的长度信息,或者其中的任意两种信息。Further, the above information of the time interval may include start time information of the time interval, end time information of the time interval and length information of the time interval, or any two of them.
S102:利用MPCP(Multi-Point Control Protocol,多点控制协议)消息通过光分配网络将为被测光网络单元分配的第一时间区间T1的信息发送给多个光网络单元。其中,该MPCP消息中包括被测光网络单元的标识信息和为所述被测光网络单元分配的用于性能检测的第一时间区间T1的信息。S102: Using an MPCP (Multi-Point Control Protocol, multi-point control protocol) message to send the information of the first time interval T1 allocated to the measured optical network unit to multiple optical network units through the optical distribution network. Wherein, the MPCP message includes the identification information of the optical network unit under test and the information of the first time interval T1 allocated to the optical network unit under test for performance detection.
OLT产生一个突发光功率测量命令,该命令中包含有被测ONU的标识,并根据该突发光功率测量命令中的被测ONU的标识,为被测ONU分配用于发送上行光信号的第一时间区间,并将被测ONU的标识和为被测ONU分配的所述时间区间的信息封装到MPCP消息中,从而生成向被测ONU发送的MPCP消息。The OLT generates a burst optical power measurement command, which contains the identifier of the ONU under test, and according to the identifier of the ONU under test in the burst optical power measurement command, assigns the ONU under test for sending upstream optical signals the first time interval, and encapsulate the information of the ONU under test and the time interval allocated for the ONU under test into an MPCP message, thereby generating an MPCP message sent to the ONU under test.
如上所述,EPON的下行的MPCP消息中,携带有被测ONU的标识信息和第一时间区间T1的信息,OLT将上述MPCP消息发送给多个ONU,被测ONU接收到OLT发送的下行MPCP消息后,从下行帧MPCP消息解析得到所述MPCP消息,从该MPCP消息中获取被测ONU的标识和OLT为被测ONU分配的用于发送上行光信号的第一时间区间T1的信息;然后,被测ONU将MPCP消息中的ONU的标识与自己的ONU标识进行比较,如果不匹配,则在OLT为被测ONU分配的用于发送上行光信号的第一时间区间T1内保持静默;如果匹配,则在OLT为该被测ONU分配的用于发送上行光信号的时间区间T1内发送上行光信号,该上行光信号携带有ONU的标识,即被测ONU的标识,以便OLT在接收到该上行光信号后,可以确定接收区间的开始并检测该上行光信号的功率。As mentioned above, the downlink MPCP message of EPON carries the identification information of the ONU under test and the information of the first time interval T1. The OLT sends the above MPCP message to multiple ONUs, and the ONU under test receives the downlink MPCP message sent by the OLT. After the message, analyze the MPCP message from the downlink frame MPCP message, and obtain the identifier of the ONU under test and the information of the first time interval T1 for sending the upstream optical signal that the OLT distributes for the ONU under test from the MPCP message; then , the ONU under test compares the ONU identification in the MPCP message with its own ONU identification, and if it does not match, it remains silent in the first time interval T1 allocated by the OLT for sending upstream optical signals for the ONU under test; if match, then send the upstream optical signal within the time interval T1 allocated by the OLT for sending the upstream optical signal to the ONU under test. After the uplink optical signal, the start of the receiving interval can be determined and the power of the uplink optical signal can be detected.
S103:对多个光网络单元响应所述多点控制协议消息发送的光信号的接收过程进行控制,使得在所述第一时间区间T1对应的接收区间检测被测光网络单元的光功率。S103: Control the receiving process of the optical signal sent by multiple ONUs in response to the MPC message, so that the optical power of the ONU under test is detected in the receiving interval corresponding to the first time interval T1.
由于连接于OLT上多个ONU不中断业务,对于OLT来说,其持续接收多个ONU发送的上行光信号,其中包括了正常开展业务的ONU发送的光信号和被测ONU发送的光信号,OLT对上行光信号的接收过程进行控制,在第一时间区间T1对应的接收区间检测接收到的光信号的光功率从而获得被测ONU发送的光功率,以及在第二时间区间T2对应的接收区间接收承载的业务。OLT接收被测ONU发送的上行光信号,并检测上行光信号中携带的ONU的标识,当检测到上行光信号中的ONU的标识与OLT中保存的ONU的标识匹配时,确定接收时间的开始,并且根据OLT给被测ONU分配的发送上行光信号的时间区间的信息,确定接收区间的长度。即该接收区间与所述时间区间相同,在该接收区间上检测被测ONU发送的上行光信号,确定被测ONU发送的光功率。其中,具体根据ONU发送的上行光信号确定被测ONU发送的光功率的方法为:OLT的MAC芯片发出RSSI测量的命令RSSI-Trig,控制光模块进行光信号采样,将采样结果进行A/D(模拟信号到数字信号)转换得到光功率的值。在检测完被测ONU发送的上行光信号的光功率后,可以根据检测得到的光功率值,分析OLT和待测ONU之间的链路性能情况。Since multiple ONUs connected to the OLT do not interrupt the service, for the OLT, it continues to receive the upstream optical signals sent by multiple ONUs, including the optical signals sent by the normal ONUs and the optical signals sent by the ONU under test. The OLT controls the receiving process of the uplink optical signal, detects the optical power of the received optical signal in the receiving interval corresponding to the first time interval T1 to obtain the optical power sent by the ONU under test, and receives the optical power corresponding to the second time interval T2 The interval receives the carried services. The OLT receives the upstream optical signal sent by the ONU under test, and detects the ONU identifier carried in the upstream optical signal, and when it detects that the ONU identifier in the upstream optical signal matches the ONU identifier stored in the OLT, determine the start of the receiving time , and determine the length of the receiving interval according to the information of the time interval for sending the upstream optical signal assigned by the OLT to the ONU under test. That is, the receiving interval is the same as the time interval, the uplink optical signal sent by the ONU under test is detected in the receiving interval, and the optical power sent by the ONU under test is determined. Among them, the method of determining the optical power sent by the ONU under test according to the upstream optical signal sent by the ONU is: the MAC chip of the OLT sends the command RSSI-Trig for RSSI measurement, controls the optical module to sample the optical signal, and performs A/D on the sampling result. (analog signal to digital signal) conversion to obtain the value of optical power. After detecting the optical power of the upstream optical signal sent by the ONU under test, the performance of the link between the OLT and the ONU under test can be analyzed according to the detected optical power value.
具体的,OLT可以通过调整第二时间区间和/或第一时间区间的时间长度来满足系统性能检测的要求。由于本发明实施例中第二时间区间为DBA更新周期的整数倍,OLT可以通过调整DBA更新周期的倍数来调整第二时间区间的时间长度,如果系统对实时性检测要求高,则可以降低DBA更新周期的倍数来提高性能检测频度,以保证实时性要求;如果系统对每一个ONU新能检测精度要求高,可以提高第二时间区间的时间长度,以保证精度要求。另一方面,OLT还可以通过调整第一时间区间的有无来控制性能检测频度,同时保证带宽利用率,例如OLT通过统计检测到的光功率值判断系统性能,如果系统性能良好可以控制在一段时间内不分配第一时间区间,即将第一时间区间的时间长度值设为0。这里的DBA更新周期是根据系统需要设置的,通常为m个帧的时间长度,m为正整数,优选取值为1、2、4、8、16;每一个帧提供给一个或多个ONU发送上行数据。下面以用于业务传输的第二时间区间是等长的,即T1、T2…Tn等长,统一为T(Tn表示第n个第二时间区间,图中未示出)为例进行说明,系统的DBA更新周期为4帧,T的初始值设为DBA更新周期的2倍,OLT按照周期T为已注册的多个ONU中的被测ONU分配用于性能检测的第一时间区间,每一个被测ONU分配的第一时间区间的时间长度可以根据需要设定,当然可以为多个ONU分配统一的第一时间区间的时间长度以简化控制;OLT对接收来自多个ONU的上行光信号的接收过程进行控制,从光模块中获得第一时间区间对应的接收区间的光功率作为被测ONU发送的光功率。OLT根据获得被测ONU发送的光功率,分析OLT和被测ONU之间的链路性能情况。OLT还可以通过统计检测到的被测ONU的光功率值确定PON系统性能,如果性能良好可以调整T的值,如将DBA更新周期从2倍提高到4倍,OLT也可以不调整T的值而仅体征分配第一时间区间的值,如在一段时间内设定第一之间的值为0。OLT也可以配置为用于业务传输的第二时间区间是变长的,即T1、T2…Tn变长(Tn表示第n个第二时间区间,图中未示出),而第一时间区间T1的设置可以是变长或等长。的,即T1可以根据需要设定不同的值。Specifically, the OLT may adjust the time length of the second time interval and/or the first time interval to meet the requirements of the system performance detection. Since the second time interval in the embodiment of the present invention is an integer multiple of the DBA update cycle, the OLT can adjust the time length of the second time interval by adjusting the multiple of the DBA update cycle. If the system has high requirements for real-time detection, the DBA can be reduced. The multiple of the update cycle is used to increase the performance detection frequency to ensure real-time requirements; if the system requires high detection accuracy for each ONU new energy, the length of the second time interval can be increased to ensure the accuracy requirements. On the other hand, the OLT can also control the performance detection frequency by adjusting whether the first time interval exists, and at the same time ensure the bandwidth utilization rate. For example, the OLT judges the system performance by statistically detecting the optical power value. The first time interval is not allocated for a period of time, that is, the time length value of the first time interval is set to 0. The DBA update period here is set according to the needs of the system, usually the time length of m frames, m is a positive integer, the preferred value is 1, 2, 4, 8, 16; each frame is provided to one or more ONUs Send uplink data. In the following, the second time intervals used for service transmission are of equal length, that is, T1, T2...Tn are equal in length, and are unified as T (Tn represents the nth second time interval, not shown in the figure) as an example to illustrate, The DBA update period of the system is 4 frames, and the initial value of T is set to twice the DBA update period. The OLT allocates the first time interval for performance detection to the tested ONU among the registered multiple ONUs according to the cycle T. The time length of the first time interval assigned by a tested ONU can be set according to needs, of course, a unified time length of the first time interval can be assigned to multiple ONUs to simplify control; the OLT receives upstream optical signals from multiple ONUs The receiving process is controlled, and the optical power in the receiving interval corresponding to the first time interval is obtained from the optical module as the optical power sent by the ONU under test. The OLT analyzes the link performance between the OLT and the ONU under test based on the optical power sent by the ONU under test. The OLT can also determine the performance of the PON system by statistically detecting the optical power value of the tested ONU. If the performance is good, the value of T can be adjusted, such as increasing the DBA update cycle from 2 times to 4 times. The OLT can also not adjust the value of T. And only the sign is assigned the value of the first time interval, for example, the value of the first interval is set to 0 within a period of time. The OLT can also be configured such that the second time interval for service transmission is variable, that is, T1, T2...Tn becomes longer (Tn represents the nth second time interval, not shown in the figure), and the first time interval The setting of T1 can be variable length or equal length. That is, T1 can be set to different values according to needs.
在本发明的一个实施例中,由接收正常开展业务的ONU发送的光信号的光模块提供被测ONU的光功率检测,该光模块可以连接到提供性能分析的分析处理模块,分析处理模块可以根据检测得到的光功率值,分析OLT和被测ONU之间的链路情况。In one embodiment of the present invention, the optical module that receives the optical signal sent by the ONU that normally conducts business provides the optical power detection of the ONU under test, and the optical module can be connected to the analysis and processing module that provides performance analysis, and the analysis and processing module can According to the detected optical power value, analyze the link between the OLT and the ONU under test.
本实施例中,OLT直接给被测ONU分配一个发送上行光信号的时间区间,将被测ONU的标识和被测ONU发送上行光信号的时间区间的信息封装到MPCP消息中,生成MPCP消息,并将该MPCP消息发送给被测ONU,被测ONU在上述时间区间内发送上行光信号,OLT检测被测ONU在上述时间区间内发送的上行光信号的功率。由此可以发现,本实施例不需要重新调整DBA更新周期中每一帧中各个ONU的带宽,而是OLT直接给被测ONU分配一个发送上行突发光信号的时间区间,被测ONU可以在OLT分配的时间区间内占用一个相对较大带宽,而在DBA的更新周期内每个ONU按照DBA模块原先分配的带宽传输数据,因此可以避免带宽的浪费,也不会对不进行RSSI测量的ONU的正常工作造成影响,实现起来简单灵活,可操作性显著增强。In this embodiment, the OLT directly assigns a time interval for sending an uplink optical signal to the ONU under test, and encapsulates the information of the identifier of the ONU under test and the time interval for sending the uplink optical signal of the ONU under test into an MPCP message to generate an MPCP message, And send the MPCP message to the ONU under test, the ONU under test sends an uplink optical signal within the above time interval, and the OLT detects the power of the uplink optical signal sent by the ONU under test within the above time interval. From this it can be found that the present embodiment does not need to readjust the bandwidth of each ONU in each frame in the DBA update cycle, but the OLT directly assigns a time interval for sending an upstream burst optical signal to the ONU under test, and the ONU under test can be in The time interval allocated by the OLT occupies a relatively large bandwidth, and in the update cycle of the DBA, each ONU transmits data according to the bandwidth originally allocated by the DBA module, so that the waste of bandwidth can be avoided, and the ONU that does not perform RSSI measurement will not be affected. It is simple and flexible to implement, and the operability is significantly enhanced.
本发明实施例提供了一种光线路终端40,该OLT的结构示意图如图4所示,包括:An embodiment of the present invention provides an optical line terminal 40. The structure schematic diagram of the OLT is shown in FIG. 4, including:
EMAC(EPON MAC,以太网无源光网络MAC)模块42,用于生成多点控制协议MPCP消息,所述多点控制协议MPCP消息中携带有被测ONU的标识信息和为所述被测ONU分配的发送上行光信号的第一时间区间的信息,该第一时间区间和用于业务传输的第二时间区间相邻,所述第二时间区间为无源光网络进行动态带宽分配的更新周期的整数倍。其中,EMAC模块42还具有调整第一时间区间和/或第二时间区间的时间长度的功能,具体实现参见上文所述。EMAC (EPON MAC, Ethernet passive optical network MAC) module 42, is used for generating multi-point control protocol MPCP message, carries the identification information of tested ONU and is described tested ONU in the described multi-point control protocol MPCP message Information about the allocated first time interval for sending uplink optical signals, the first time interval is adjacent to the second time interval used for service transmission, and the second time interval is the update period for dynamic bandwidth allocation of the passive optical network Integer multiples of . Wherein, the EMAC module 42 also has the function of adjusting the time length of the first time interval and/or the second time interval, and the specific implementation is referred to above.
光模块43,用于将所述EMAC模块42生成的所述多点控制协议MPCP消息发送给被测ONU,并接收所述被测ONU在所述时间区间内发送的上行光信号,并检测所述上行光信号中携带的ONU的标识信息与所述被测ONU的标识是否匹配,匹配后确定接收区间的开始,并且根据OLT给被测ONU分配的用于发送上行光信号的时间区间的信息,确定接收区间的长度,在该接收区间上检测接收被测ONU发送的上行光信号,确定所述上行光信号的光功率。其中,根据接收到的上行光信号确定上行光信号的光功率的过程同现有技术。The optical module 43 is used to send the multipoint control protocol MPCP message generated by the EMAC module 42 to the ONU under test, and receive the upstream optical signal sent by the ONU under test within the time interval, and detect the ONU under test Whether the identification information of the ONU carried in the upstream optical signal matches the identification of the ONU under test, and determine the start of the receiving interval after matching, and according to the information of the time interval for sending the upstream optical signal allocated by the OLT to the ONU under test , determining the length of the receiving interval, detecting and receiving the upstream optical signal sent by the ONU under test in the receiving interval, and determining the optical power of the upstream optical signal. Wherein, the process of determining the optical power of the uplink optical signal according to the received uplink optical signal is the same as that in the prior art.
上述的光线路终端OLT40还可以进一步包括:The above optical line terminal OLT40 may further include:
调整模块(图中未示出),用于控制所述第一时间区间的有无和/或所述第二时间区间的时间长度以调整性能检测的频度。具体的,调整模块可以根据检测到的PON系统性能或PON系统的需求或外部命令等控制所述第一时间区间的有无和/或所述第二时间区间的时间长度以调整性能检测的频度。调整模块可以是内置于EMAC模块23,也可以独立于EMAC模块23。An adjustment module (not shown in the figure), configured to control the existence of the first time interval and/or the length of the second time interval to adjust the frequency of performance detection. Specifically, the adjustment module may control the existence of the first time interval and/or the length of the second time interval according to the detected performance of the PON system or the requirements of the PON system or external commands to adjust the frequency of performance detection. Spend. The adjustment module may be built in the EMAC module 23 or independent of the EMAC module 23 .
处理器CPU41,用于发起对ONU侧的被测ONU进行光功率的测量,并将需要测量的ONU(即被测ONU)的标识,发送给EMAC模块42。The processor CPU41 is configured to initiate the measurement of the optical power of the ONU under test at the ONU side, and send the identification of the ONU to be measured (ie, the ONU under test) to the EMAC module 42 .
其中,EMAC模块42具体包括:光功率测量命令模块421,DBA模块422、MPCP模块423和控制模块424。其中,Wherein, the EMAC module 42 specifically includes: an optical power measurement command module 421 , a DBA module 422 , an MPCP module 423 and a control module 424 . in,
光功率测量命令模块421,用于根据所述被测ONU的标识,产生包含有所述被测ONU标识的光功率测量命令,并将该光功率测量命令发送给所述DBA模块422和MPCP模块423。Optical power measurement command module 421, for according to the identification of described ONU under test, produces the optical power measurement order that comprises described ONU identification under test, and sends this optical power measurement order to described DBA module 422 and MPCP module 423.
DBA模块422用于接收光功率测量命令模块421发送的测量命令,并根据该测量命令中的被测ONU的标识信息为被测ONU分配时间区间,并将所述时间区间发送给MPCP模块423。在现有技术中,是通过DBA模块422进行动态带宽分配和调整,以更新DBA更新周期内每一帧中各个ONU占用的带宽,从而来给被测ONU分配一个相对的大带宽,以便被测ONU在该大带宽内能够发送一个持续时间较长的上行光信号,供OLT进行突发光功率的测量。而在本实施例中,通过DBA模块422直接给被测ONU分配一个发送上行光信号的时间区间,不需要DBA模块422进行动态带宽调整来更新各ONU占用的带宽,从而给被测ONU分配一个大带宽,因此也就不会造成带宽的浪费。The DBA module 422 is used to receive the measurement command sent by the optical power measurement command module 421, and allocate a time interval for the ONU under test according to the identification information of the ONU under test in the measurement command, and send the time interval to the MPCP module 423. In the prior art, the DBA module 422 is used for dynamic bandwidth allocation and adjustment to update the bandwidth occupied by each ONU in each frame in the DBA update cycle, so as to allocate a relatively large bandwidth to the ONU under test, so that the ONU under test The ONU can send an uplink optical signal with a longer duration within the large bandwidth for the OLT to measure the burst optical power. In this embodiment, the DBA module 422 directly assigns a time interval for sending an uplink optical signal to the ONU under test, without the need for the DBA module 422 to perform dynamic bandwidth adjustment to update the bandwidth occupied by each ONU, thereby assigning a time interval for the ONU under test. Large bandwidth, so there will be no waste of bandwidth.
MPCP模块423,用于接收光功率测量命令模块421发送的被测ONU的标识信息,和DBA模块422为被测ONU分配的时间区间信息,并将被测ONU的标识和为被测ONU分配的所述时间区间的信息封装到MPCP消息中,从而生成向被测ONU发送的MPCP消息。The MPCP module 423 is used to receive the identification information of the ONU under test sent by the optical power measurement command module 421, and the time interval information allocated by the DBA module 422 for the ONU under test, and the ONU under test and the ONU under test The information of the time interval is encapsulated into an MPCP message, thereby generating an MPCP message sent to the ONU under test.
控制模块424,用于产生控制命令给光模块43,所述控制命令用于控制光模块43进行光功率的测量。The control module 424 is configured to generate a control command to the optical module 43, and the control command is used to control the optical module 43 to measure the optical power.
光模块44,还用于在确定所述上行光信号的光功率后,将确定的光功率值上报给CPU41,CPU41根据收到的光功率值分析被测ONU与OLT之间的链路性能,比如分析被测ONU与OLT之间的光纤链路损耗、被测ONU与OLT之间的光纤链路损耗随时间的变化关系等。The optical module 44 is also used to report the determined optical power value to the CPU 41 after determining the optical power of the uplink optical signal, and the CPU 41 analyzes the link performance between the ONU under test and the OLT according to the received optical power value, For example, analyze the optical fiber link loss between the tested ONU and the OLT, the relationship between the optical fiber link loss between the tested ONU and the OLT over time, etc.
本发明实施例提供了一种光网络单元50,该网络单元50的结构示意图图如图5所示,包括:An embodiment of the present invention provides an optical network unit 50. A schematic structural diagram of the network unit 50 is shown in FIG. 5, including:
解析模块51、控制模块52和光模块53;Analysis module 51, control module 52 and optical module 53;
解析模块51,用于接收并解析来自于OLT的多点控制协议MPCP消息,得到被测ONU的标识信息和OLT给被测ONU分配的用于性能检测的第一时间区间的信息和OLT将所述第二时间区间分配给已注册ONU用于业务传输的信息。OLT将所述第二时间区间分配给已注册ONU用于业务传输的信息可以是分配给相应ONU的用于业务传输的时间区间的信息,也可以是分配给相应ONU的数据量和该ONU的环回延时。Parsing module 51 is used for receiving and parsing the multi-point control protocol MPCP message from OLT, obtains the identification information of tested ONU and the information of the first time interval that OLT distributes to tested ONU for performance detection and OLT will Information about the second time interval allocated to the registered ONU for service transmission. The information that the OLT allocates the second time interval to the registered ONU for service transmission may be information about the time interval for service transmission allocated to the corresponding ONU, or may be the amount of data allocated to the corresponding ONU and the time interval of the ONU. Loopback delay.
控制模块52,用于判断所述MPCP消息中的ONU的标识与被测的ONU标识是否匹配,若匹配,则控制光模块53在OLT给待测ONU分配的用于性能检测的第一时间区间内保持静默;若匹配,则控制光模块53在OLT给被测ONU分配的用于性能检测的第一时间区间内发送不承载业务的上行光信号,以及判断所述OLT将所述第二时间区间分配给已注册光网络单元用于业务传输的信息中是否有分配给自身的用于业务传输的信息,如果有,则控制光模块53根据分配给自身的用于业务传输的信息发送承载业务的上行光信号。其中,该不承载业务的上行光信号中携带有ONU(即被测ONU)50的标识,以便OLT接收到该上行光信号后,可以通过该上行光信号中的标识信息,确定该上行光信号是被测ONU发送的上行光信号,进而确定接收区间的开始,接收并检测该上行光信号的功率。值得注意的是,不承载业务的上行光信号中可以不携带有ONU(即被测ONU)50的标识,在这种情况下,由OLT调度并判断接收到的光信号是来自哪个被测ONU.Control module 52, is used for judging whether the mark of ONU in the described MPCP message matches with the ONU mark of being tested, if match, then control optical module 53 in the first time interval that OLT distributes to the ONU to be tested for performance detection If it matches, control the optical module 53 to send an uplink optical signal that does not carry a service within the first time interval for performance detection allocated by the OLT to the ONU under test, and judge that the OLT will use the second time interval Whether there is information for service transmission allocated to the registered optical network unit in the interval, and if so, control the optical module 53 to send the bearer service according to the information for service transmission allocated to itself uplink optical signal. Wherein, the upstream optical signal that does not carry services carries the identification of the ONU (that is, the ONU under test) 50, so that after the OLT receives the upstream optical signal, it can determine the upstream optical signal through the identification information in the upstream optical signal. It is the upstream optical signal sent by the ONU under test, and then the start of the receiving interval is determined, and the power of the upstream optical signal is received and detected. It is worth noting that the uplink optical signal that does not carry traffic may not carry the identity of the ONU (that is, the ONU under test) 50. In this case, the OLT schedules and determines which ONU under test the received optical signal is from .
本发明实施例提供了一种无源光网络,该系统的结构示意图如图6所示,包括:一个光线路终端OLT61和光网络单元ONU63,光网络单元63中包括多个被测ONU,该OLT61的结构如图4所示、光网络单元的结构如图5所示。The embodiment of the present invention provides a passive optical network. The structural diagram of the system is shown in FIG. 6, including: an optical line terminal OLT61 and an optical network unit ONU63. The structure of the optical network unit is shown in Figure 4, and the structure of the optical network unit is shown in Figure 5.
OLT61通过光分配网ODN62连接到多个ONU63,其中,OLT61连接光分配网ODN62的一端,ODN62的另一端连接多个光网络单元。下面以ONU-1为例,具体阐述在该网络中OLT如何实现对ONU的突发光功率的测量。The OLT61 is connected to a plurality of ONU63 through the optical distribution network ODN62, wherein the OLT61 is connected to one end of the ODN62, and the other end of the ODN62 is connected to a plurality of optical network units. Taking ONU-1 as an example below, how the OLT realizes the measurement of the burst optical power of the ONU in this network is described in detail.
假定OLT61发起对ONU-1的突发光功率的测量,以分析光线路终端OLT61与ONU-1之间的光纤链路性能。It is assumed that OLT61 initiates the measurement of the burst optical power of ONU-1 to analyze the performance of the optical fiber link between OLT61 and ONU-1.
OLT61以广播的方式给已注册的ONU发送一条或多条MPCP消息,其中,给ONU-1分配一个用于性能检测的第一时间区间,并将ONU-1的标识和上述用于性能检测的第一时间区间的信息封装到MPCP消息中,将所述第二时间区间分配给已注册ONU用于业务传输的信息也被封装到MPCP消息,然后OLT将MPCP消息通过ODN发送给连接到该ODN62上ONU。其中,MPCP消息的生成过程同方法实施例,此处不再详述。OLT将所述第二时间区间分配给已注册ONU用于业务传输的信息可以是分配给相应ONU的用于业务传输的时间区间的信息,也可以是分配给相应ONU的数据量和该ONU的环回延时。The OLT61 sends one or more MPCP messages to the registered ONUs in a broadcast manner, wherein ONU-1 is assigned a first time interval for performance detection, and the ONU-1 identifier and the above-mentioned performance detection time interval are used The information of the first time interval is encapsulated into the MPCP message, and the information of distributing the second time interval to the registered ONU for service transmission is also encapsulated into the MPCP message, and then the OLT sends the MPCP message through the ODN to the ODN62 connected to the ODN On the ONU. Wherein, the generation process of the MPCP message is the same as the method embodiment, and will not be described in detail here. The information that the OLT allocates the second time interval to the registered ONU for service transmission may be information about the time interval for service transmission allocated to the corresponding ONU, or may be the amount of data allocated to the corresponding ONU and the time interval of the ONU. Loopback delay.
图6中的连接到ODN62的ONU都能接收到OLT发送的MPCP消息。其中,每一个ONU接收并解析上述包含有ONU-1的标识和OLT给ONU-1分配的用于性能检测的第一时间区间的信息和OLT将第二时间区间分配给已注册ONU用于业务传输的信息的一条或多条MPCP消息,得到ONU-1的标识和OLT61给ONU-1分配的用于性能检测的第一时间区间的信息,将ONU-1的标识与自身的标识进行比较;如果不匹配,例如除了ONU-1外的其它ONU都不匹配,则这些ONU在OLT61给ONU-1分配的时间区间内保持静默,即不向OLT61发送任何上行光信号;如果匹配,即ONU-1发现被测ONU的标识和自己的ONU的标识匹配,ONU-1则在OLT给ONU-1分配的第一时间区间内发送不承载业务的上行光信号。进一步的,ONU-1还会判断OLT将第二时间区间分配给已注册ONU用于业务传输的信息中是否包含分配给自身的用于业务传输的信息,如果有,则根据分配给自身的用于业务传输的信息发送承载业务的上行光信号。对于除ONU-1的其它ONU,在第一时间区间保持静默,如果判断OLT将第二时间区间分配给已注册ONU用于业务传输的信息中包含分配给自身的用于业务传输的信息,则根据分配给自身的用于业务传输的信息发送承载业务的上行光信号。All the ONUs connected to ODN62 in Figure 6 can receive the MPCP message sent by the OLT. Wherein, each ONU receives and parses the above-mentioned information including the identification of ONU-1 and the first time interval allocated by the OLT to ONU-1 for performance testing, and the OLT assigns the second time interval to the registered ONU for business One or more MPCP messages of the transmitted information, obtain the identification of ONU-1 and the information of the first time interval for performance detection that OLT61 distributes to ONU-1, and compare the identification of ONU-1 with its own identification; If it does not match, for example, other ONUs except ONU-1 do not match, these ONUs will remain silent within the time interval allocated by OLT61 to ONU-1, that is, they will not send any upstream optical signals to OLT61; if they match, ONU- 1. When it is found that the identity of the ONU under test matches the identity of its own ONU, ONU-1 sends an upstream optical signal that does not carry services within the first time interval allocated by the OLT to ONU-1. Further, ONU-1 will also judge whether the information that the OLT allocates the second time interval to the registered ONU for service transmission includes the information for service transmission allocated to itself, and if so, according to the user allocated to itself Send the uplink optical signal carrying the service based on the service transmission information. For other ONUs except ONU-1, keep silent in the first time interval, if it is judged that the information that the OLT allocates the second time interval to the registered ONU for service transmission contains the information assigned to itself for service transmission, then Send the uplink optical signal bearing the service according to the information allocated to itself for service transmission.
ONU-1发送的上行光信号通过光分配网62发送给OLT61。The upstream optical signal sent by ONU-1 is sent to OLT 61 through optical distribution network 62 .
OLT61接收ONU-1发送的上行光信号,并确定该上行光信号的功率,然后,OLT61会根据检测得到的上行光信号的功率分析ONU-1与OLT62之间的光纤链路的性能。其中,OLT61根据ONU发送的上行光信号确定该上行光信号的功率的方法具体包括:OLT接收被测ONU发送的不承载业务的上行光信号,并检测上行光信号中携带的ONU的标识,当检测到上行光信号中的ONU的标识与OLT中保存的ONU的标识匹配时,确定接收时间的开始,并且根据OLT给被测ONU分配的发送用于性能检测的第一时间区间的信息,确定接收区间的长度。即该接收区间与所述时间区间相同,在该接收区间上检测被测ONU发送的上行光信号;然后,根据检测得到的上行光信号,确定所述上行光信号的光功率。其中,具体根据ONU上报的上行光信号确定光信号的光功率的方法为:OLT的MAC芯片发出RSSI测量的命令RSSI-Trig,控制光模块进行光信号采样,将采样结果进行A/D(模拟信号到数字信号)转换得到光功率的值。OLT61 receives the upstream optical signal sent by ONU-1, and determines the power of the upstream optical signal, and then, OLT61 analyzes the performance of the optical fiber link between ONU-1 and OLT62 according to the detected power of the upstream optical signal. Wherein, the method for the OLT61 to determine the power of the upstream optical signal according to the upstream optical signal sent by the ONU specifically includes: the OLT receives the upstream optical signal sent by the ONU under test that does not carry services, and detects the ONU identifier carried in the upstream optical signal. When it is detected that the identifier of the ONU in the upstream optical signal matches the identifier of the ONU stored in the OLT, determine the start of the receiving time, and determine the first time interval for performance detection assigned by the OLT to the ONU under test. The length of the receive interval. That is, the receiving interval is the same as the time interval, and the upstream optical signal sent by the ONU under test is detected in the receiving interval; then, the optical power of the upstream optical signal is determined according to the detected upstream optical signal. Among them, the specific method of determining the optical power of the optical signal according to the upstream optical signal reported by the ONU is: the MAC chip of the OLT sends the RSSI measurement command RSSI-Trig, controls the optical module to perform optical signal sampling, and performs A/D (simulation) on the sampling result. signal to digital signal) to obtain the value of optical power.
通过上述对本发明实施例的阐述,可以看出本发明实施例的测试过程可以避免带宽的浪费,也不会对各ONU的正常工作带来影响,实现起来简单灵活,可操作性很强。Through the above description of the embodiment of the present invention, it can be seen that the test process of the embodiment of the present invention can avoid the waste of bandwidth and will not affect the normal operation of each ONU. It is simple and flexible to implement and highly operable.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上对本发明实施例所提供的一种光功率测量的方法、系统及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method, system and device for measuring optical power provided by the embodiments of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as a limitation of the invention.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910108614.0A CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910108614.0A CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101944949A CN101944949A (en) | 2011-01-12 |
CN101944949B true CN101944949B (en) | 2014-09-03 |
Family
ID=43436745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910108614.0A Active CN101944949B (en) | 2009-07-03 | 2009-07-03 | Optical transmission control method in optical network, optical network device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101944949B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2997684B1 (en) | 2013-05-15 | 2018-10-31 | ZTE Corporation | Using noisy window for uncalibrated optical network unit activation |
CN105359441B (en) * | 2013-05-15 | 2018-03-02 | 中兴通讯股份有限公司 | It is used for not calibrated optical network unit activating using noise window |
CN108574532B (en) * | 2017-03-13 | 2022-11-08 | 中兴通讯股份有限公司 | Optical signal power control method, device and optical line terminal |
CN113472450B (en) * | 2018-01-26 | 2024-10-18 | 华为技术有限公司 | OLT, ONU, PON system and information transmission method in PON system |
CA3108095C (en) * | 2018-08-02 | 2023-12-05 | Cable Television Laboratories, Inc. | System and methods for coherent burst reception |
CN111526067B (en) * | 2020-04-26 | 2021-11-12 | 恒安嘉新(北京)科技股份公司 | Network shunt and communication method of network shunt |
CN114070389B (en) * | 2020-07-31 | 2025-04-29 | 中兴通讯股份有限公司 | APD performance detection method, device, optical network and medium for optical module |
CN114640906B (en) * | 2020-11-28 | 2023-07-18 | 华为技术有限公司 | Method, device, computing device and storage medium for transmission scheduling |
CN116684763A (en) * | 2022-02-23 | 2023-09-01 | 华为技术有限公司 | An optical distribution network device and a signal processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780223A (en) * | 2004-11-19 | 2006-05-31 | 上海贝尔阿尔卡特股份有限公司 | Scheduling method and system for multi-category services in passive optical network |
CN101127567A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | A method and device for optical line terminal to detect the optical power of optical network unit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7477845B2 (en) * | 2003-08-18 | 2009-01-13 | Teknovus, Inc. | Method and apparatus for reducing data burst overhead in an ethernet passive optical network |
-
2009
- 2009-07-03 CN CN200910108614.0A patent/CN101944949B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780223A (en) * | 2004-11-19 | 2006-05-31 | 上海贝尔阿尔卡特股份有限公司 | Scheduling method and system for multi-category services in passive optical network |
CN101127567A (en) * | 2007-09-20 | 2008-02-20 | 中兴通讯股份有限公司 | A method and device for optical line terminal to detect the optical power of optical network unit |
Also Published As
Publication number | Publication date |
---|---|
CN101944949A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101944949B (en) | Optical transmission control method in optical network, optical network device and system | |
US8712240B2 (en) | Optical power measurement method, optical line terminal and optical network unit | |
US11368223B2 (en) | OLT, ONU, PON system, and message transmission method in PON system | |
CN110213679B (en) | Passive optical network system and implementation method thereof | |
CN101686421B (en) | Passive optical network system and operating method thereof | |
EP2953297B1 (en) | Optical-wireless access system | |
JP2008099050A (en) | Optical signal transmission timing adjustment method | |
KR101403911B1 (en) | A dynamic bandwidth allocation device for a passive optical network system and the method implemented | |
CN102687427A (en) | Ranging method for passive optical network, system, and device | |
CN108370270A (en) | Dynamic bandwidth allocation method, device and passive optical network system | |
CN102387426B (en) | Uplink bandwidth allocation method in EPON | |
JP3698210B2 (en) | Packet communication system, packet communication method, packet communication program, and recording medium recording the packet communication program | |
CN102377481B (en) | Distance-finding method in a kind of EPON and system | |
CN108370271A (en) | Optical network unit detection method, device and passive optical network system | |
WO2015109793A1 (en) | Long luminance detection method and device | |
US8886041B2 (en) | Optical line terminal, bandwidth control method and optical network system | |
CN104184609A (en) | Communication control devices and method | |
EP4040746A1 (en) | Passive optical network-based communication method, related device, and system | |
EP2723015A1 (en) | Method and device for communicating granularity of parameters | |
CN101795158B (en) | Method and device for measuring receiving light power of light network unit | |
Mohammed et al. | Modeling and simulation of EPON with sleep mode enabled using OPNET | |
JP5949228B2 (en) | Communication monitoring apparatus and communication monitoring method | |
JP2013251828A (en) | Communication system and station side device | |
CN117353873B (en) | Uplink frame verification method and device, electronic equipment and storage medium | |
JP2019022157A (en) | Subscriber line terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |