CN111970049B - Optical power detection method and device - Google Patents
Optical power detection method and device Download PDFInfo
- Publication number
- CN111970049B CN111970049B CN201910420815.8A CN201910420815A CN111970049B CN 111970049 B CN111970049 B CN 111970049B CN 201910420815 A CN201910420815 A CN 201910420815A CN 111970049 B CN111970049 B CN 111970049B
- Authority
- CN
- China
- Prior art keywords
- optical power
- port
- optical
- received optical
- olt
- 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
Images
Classifications
-
- 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
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07955—Monitoring or measuring power
-
- 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
- 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
- H04Q2011/0083—Testing; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本申请涉及光通信技术领域,尤其涉及一种光功率的检测方法及装置。The present application relates to the technical field of optical communication, and in particular, to a method and device for detecting optical power.
背景技术Background technique
无源光网络(passive optical network,PON)Type B保护的典型组网中,将一台光线路终端(optical line termination,OLT)中的两个PON口加入一个保护组中,从而对光线路终端(optical line termination,OLT)PON口和主干光纤进行保护,当某一个OLTPON口或主干光纤发生故障时,可以自动切换到另外一个OLT PON口或主干光纤。保护组中的两个PON口一个作为工作端口,另一个作为保护端口。在正常工作状态下,工作端口承载业务,当工作端口所在的链路发生故障时,系统自动将工作端口的业务切换到保护端口上,保证业务的正常传送。保护组成员的状态有两种:激活状态(active)和备选状态(standby)。状态为active的端口转发数据,状态为standby的端口不转发数据。In the typical networking of passive optical network (PON) Type B protection, two PON ports in an optical line termination (OLT) are added to a protection group, so as to protect the optical line termination. (optical line termination, OLT) PON port and trunk fiber are protected. When a certain OLTPON port or trunk fiber fails, it can automatically switch to another OLT PON port or trunk fiber. One of the two PON ports in the protection group is a working port and the other is a protection port. In the normal working state, the working port carries services. When the link where the working port is located fails, the system automatically switches the services of the working port to the protection port to ensure the normal transmission of services. There are two states of protection group members: active and standby. Ports in the active state forward data, and ports in the standby state do not forward data.
为能够执行在两个端口的正常的业务切换,需要保证TypeB保护组的active端口和standby端口的光功率预算符合GPON光功率预算的要求。In order to perform normal service switching on two ports, it is necessary to ensure that the optical power budget of the active port and standby port of the TypeB protection group meets the requirements of the GPON optical power budget.
由于光网络单元(optical network unit,ONU)只在active端口上线,从而standby端口只接收上行光信号不会发下行光信号,在standby端口不发光信号的情况下无法精准测量standby端口的光功率。Since the optical network unit (ONU) only goes online on the active port, the standby port only receives the upstream optical signal and does not send the downstream optical signal. The optical power of the standby port cannot be accurately measured when the standby port does not emit any signal.
现有通过定时检查standby端口是否有SD(signal detect)来判断standby端口是否有光信号,从而判断standby端口的光功率是否符合GPON光功率预算的要求。而SD信号在光强度-35dbm以上才能够判断光路有光,而GPON光预算通常要求OLT接收到的光强度在-28dbm至-8dbm之间,所以通过是否有SD信号判断standby端口光路光功率是否符合GPON光预算要求的准确率较低,进而部分ONU切换业务后无法满足光功率预算要求,导致切换失败,业务中断。In the prior art, whether the standby port has an optical signal is determined by regularly checking whether the standby port has SD (signal detect), so as to determine whether the optical power of the standby port meets the requirements of the GPON optical power budget. The SD signal can only judge that the optical path has light when the optical intensity is above -35dbm, and the GPON optical budget usually requires the optical intensity received by the OLT to be between -28dbm and -8dbm. Therefore, whether there is an SD signal can determine whether the optical path optical power of the standby port is The accuracy rate of meeting the GPON optical budget requirements is low, and some ONUs cannot meet the optical power budget requirements after switching services, resulting in switching failures and service interruptions.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种光功率的检测方法及装置,用于解决现有存在的通过是否有SD信号判断standby端口光路光功率是否符合GPON光预算要求的准确率较低的问题。Embodiments of the present application provide an optical power detection method and device, which are used to solve the existing problem of low accuracy in judging whether the optical path optical power of the standby port meets the GPON optical budget requirement by whether there is an SD signal.
本申请实施例提供一种光功率的检测方法,包括:OLT检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率和第一最小接收光功率中的至少一个,所述第一端口处于非工作状态;所述OLT确定满足条件一、条件二或者条件三中的至少一个,输出告警信息,所述告警信息用于指示所述第一端口的光功率不满足光功率预算的要求;其中,所述条件一为所述第一最大接收光功率小于第一阈值,所述条件二为所述第一最大接收光功率大于第二阈值,所述条件三为所述第一最小接收光功率小于第三阈值,所述第二阈值大于所述第一阈值。An embodiment of the present application provides a method for detecting optical power, including: an OLT detecting a first maximum received optical power among received optical powers of optical signals received by a first optical module installed on a first port within a first preset time period at least one of the power and the first minimum received optical power, the first port is in a non-working state; the OLT determines that at least one of the first condition, the second condition or the third condition is satisfied, and outputs alarm information, and the alarm information is used to indicate that the optical power of the first port does not meet the requirements of the optical power budget; wherein, the first condition is that the first maximum received optical power is less than a first threshold, and the second condition is that the first maximum received optical power The power is greater than a second threshold, and the third condition is that the first minimum received optical power is less than a third threshold, and the second threshold is greater than the first threshold.
其中,第一端口处于非工作状态时,第一端口可以接收光信号但不发射光信号。非工作状态也可以称为备用状态,或者称为standby状态。第一端口也可称为standby端口。Wherein, when the first port is in a non-working state, the first port can receive the optical signal but not transmit the optical signal. The non-working state can also be called the standby state, or the standby state. The first port may also be referred to as a standby port.
示例性地,第一阈值、第二阈值以及第三阈值均与光功率预算相关。由于在standby端口能够接收光信号,因此本申请实施例通过检测standby端口的最大接收光功率和最小接收光功率中的至少一个,来判断standby端口的光功率是否满足光功率预算的要求。进而提高了判断的准确性,进而在一定程度上避免部分ONU切换业务后无法满足光功率预算要求,导致切换失败和业务中断。Exemplarily, the first threshold, the second threshold and the third threshold are all related to the optical power budget. Since the standby port can receive optical signals, this embodiment of the present application determines whether the optical power of the standby port meets the requirements of the optical power budget by detecting at least one of the maximum received optical power and the minimum received optical power of the standby port. Thus, the accuracy of judgment is improved, and to a certain extent, it is avoided that some ONUs cannot meet the optical power budget requirements after switching services, resulting in switching failure and service interruption.
在一种可能的设计中,所述方法还可以包括:所述OLT检测安装在第二端口上的第二光模块在第二预设时长内接收的光信号的接收光功率中的第二最大接收光功率以及第二最小接收光功率,所述第二端口处于工作状态,所述接收的光信号来自多个光网络单元ONU;其中,所述第一阈值与第一差值相关,且所述第一差值等于所述第二最大接收光功率与所述第二最小接收光功率的差。In a possible design, the method may further include: detecting, by the OLT, a second maximum received optical power of the optical signals received by the second optical module installed on the second port within a second preset time period The received optical power and the second minimum received optical power, the second port is in a working state, and the received optical signals come from a plurality of optical network units ONU; wherein, the first threshold is related to the first difference, and all The first difference is equal to the difference between the second maximum received optical power and the second minimum received optical power.
其中,第二端口处于工作状态时,第二端口可以接收光信号也可以发射光信号。工作状态也可以称为主用状态,或者称为active状态。第二端口也可称为active端口。Wherein, when the second port is in a working state, the second port can receive an optical signal or transmit an optical signal. The working state can also be called the active state or the active state. The second port may also be referred to as an active port.
在该设计中,通过在active端口确定最大接收光功率和最小接收光功率,由此可以推断出在standby端口和standby端口对应的链路正常传输光信号的情况下,standby端口上最大接收光功率和最小接收光功率应该与active端口的最大接收光功率和最小接收光功率相差较小。因此通过active端口的最大接收光功率和最小接收光功率之差来确定第一阈值,进而根据standby端口的最大接收光功率与第一阈值的关系确定,standby端口是否存在个别光信号过低,不符合光功率预算的要求,可以提高判定的准确性。In this design, by determining the maximum received optical power and the minimum received optical power on the active port, it can be inferred that when the standby port and the link corresponding to the standby port transmit optical signals normally, the maximum received optical power on the standby port can be inferred. and the minimum received optical power should be smaller than the maximum and minimum received optical power of the active port. Therefore, the first threshold is determined by the difference between the maximum received optical power and the minimum received optical power of the active port, and then according to the relationship between the maximum received optical power of the standby port and the first threshold, it is determined whether there is an individual optical signal on the standby port that is too low or not. Meeting the requirements of the optical power budget can improve the accuracy of the determination.
示例性地,所述第二阈值小于或等于所述第一光模块光功率的接收灵敏度最大值。示例性地,所述第三阈值大于或等于所述第一光模块光功率的接收灵敏度极小值。Exemplarily, the second threshold is less than or equal to the maximum receiving sensitivity of the optical power of the first optical module. Exemplarily, the third threshold is greater than or equal to a minimum receiving sensitivity value of the optical power of the first optical module.
在一种可能的设计中,所述第一最大接收光功率为N个检测周期中检测到的N×M个时间点位置中光信号的最大接收光功率;其中,N个检测周期的时长小于或者等于所述第一预设时长,每个检测周期中采集M个时间点位置的光信号,任意相邻两个检测周期中采集光信号的时间点位置均不相同,N为大于1的整数,M为大于1的整数。In a possible design, the first maximum received optical power is the maximum received optical power of the optical signal at N×M time points detected in the N detection cycles; wherein the duration of the N detection cycles is less than or equal to the first preset duration, the optical signals at M time point positions are collected in each detection period, the time point positions of the collected optical signals in any two adjacent detection periods are different, and N is an integer greater than 1 , M is an integer greater than 1.
上述设计中,任意相邻两个检测周期中采集光信号的时间点位置均不相同,也就是说,在每个检测周期不会采用固定的时间点位置采集光信号,获取采集光信号的接收光功率。In the above design, the time points and positions of the collected optical signals in any two adjacent detection periods are not the same, that is to say, in each detection period, a fixed time point position will not be used to collect the optical signals to obtain the reception of the collected optical signals. Optical power.
在一种可能的设计中,所述M与所述OLT支持的最小采样间隔相关。In one possible design, the M is related to the minimum sampling interval supported by the OLT.
在一种可能的设计中,所述OLT检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率和第一最小接收光功率中的至少一个之前,还包括:In a possible design, the OLT detects a first maximum received optical power and a first minimum received optical power among the received optical powers of the optical signals received by the first optical module installed on the first port within a first preset time period Before receiving at least one of the optical powers, it also includes:
所述OLT将除第一ONU当前占用的第一发光时隙外,所述第二端口上未被所述多个ONU占用的第二发光时隙分配给所述第一ONU,以便于所述第一ONU在第一发光时隙以及第二发光时隙向所述OLT发送光信号,所述第一ONU为所述多个ONU中第二最大接收光功率对应的ONU。The OLT allocates to the first ONU a second light-emitting time slot that is not occupied by the plurality of ONUs on the second port except the first light-emitting time slot currently occupied by the first ONU, so that the The first ONU sends an optical signal to the OLT in the first light-emitting time slot and the second light-emitting time slot, and the first ONU is the ONU corresponding to the second maximum received optical power among the plurality of ONUs.
通常情况的PON端口上行流量远小于PON端口理论带宽,上述设计中,把active端口剩余带宽尽可能多地分配给在线active端口的最大接收光功率对应的ONU,增加发出最大接收光功率的光信号的ONU的分配带宽占比,进而提高采样点命中到最大接收光功率的概率。In general, the upstream traffic of the PON port is much smaller than the theoretical bandwidth of the PON port. In the above design, the remaining bandwidth of the active port is allocated as much as possible to the ONU corresponding to the maximum received optical power of the online active port, and the optical signal with the maximum received optical power is increased. The proportion of the allocated bandwidth of the ONU is increased, thereby increasing the probability that the sampling point hits the maximum received optical power.
基于与第一方面同样的发明构思,第二方面,本申请实施例提供一种光功率的检测装置,所述装置应用于光线路终端OLT,包括:Based on the same inventive concept as the first aspect, in the second aspect, an embodiment of the present application provides an optical power detection device, and the device is applied to an optical line terminal OLT, including:
第一检测模块,用于检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率和第一最小接收光功率中的至少一个,所述第一端口处于非工作状态;The first detection module is used to detect the first maximum received optical power and the first minimum received optical power among the received optical powers of the optical signals received by the first optical module installed on the first port within the first preset time period At least one of the first ports is in a non-working state;
处理模块,用于确定满足件一、条件二或者条件三中的至少一个,输出告警信息,所述告警信息用于指示所述第一端口的光功率不满足光功率预算的要求;a processing module, configured to determine that at least one of
其中,所述条件一为所述第一最大接收光功率小于第一阈值,所述条件二为所述第一最大接收光功率大于第二阈值,所述条件三为所述第一最小接收光功率小于第三阈值,所述第二阈值大于所述第一阈值。The first condition is that the first maximum received optical power is less than a first threshold, the second condition is that the first maximum received optical power is greater than a second threshold, and the third condition is that the first minimum received optical power is The power is less than a third threshold, and the second threshold is greater than the first threshold.
在一种可能的设计中,所述装置还包括:In a possible design, the device further includes:
第二检测模块,用于检测安装在第二端口上的第二光模块在第二预设时长内接收的光信号的接收光功率中的第二最大接收光功率以及第二最小接收光功率,所述第二端口处于工作状态,所述接收的光信号来自多个光网络单元ONU;a second detection module, configured to detect the second maximum received optical power and the second minimum received optical power among the received optical powers of the optical signals received by the second optical module installed on the second port within the second preset time period, The second port is in a working state, and the received optical signals come from a plurality of ONUs;
其中,所述第一阈值与第一差值相关,且所述第一差值等于所述第二最大接收光功率与所述第二最小接收光功率的差。The first threshold value is related to a first difference value, and the first difference value is equal to the difference between the second maximum received optical power and the second minimum received optical power.
在一种可能的设计中,所述第二阈值小于或等于所述第一光模块光功率的接收灵敏度最大值。In a possible design, the second threshold is less than or equal to the maximum receiving sensitivity of the optical power of the first optical module.
在一种可能的设计中,所述第三阈值大于或等于所述第一光模块光功率的接收灵敏度极小值。In a possible design, the third threshold is greater than or equal to a minimum receiving sensitivity value of the optical power of the first optical module.
在一种可能的设计中,所述第一最大接收光功率为N个检测周期中检测到的N×M个时间点位置中光信号的最大接收光功率;In a possible design, the first maximum received optical power is the maximum received optical power of the optical signal at N×M time points detected in N detection cycles;
其中,N个检测周期的时长小于或者等于所述第一预设时长,每个检测周期中采集M个时间点位置的光信号,任意相邻两个检测周期中采集光信号的时间点位置均不相同,N为大于1的整数,M为大于1的整数。The duration of the N detection cycles is less than or equal to the first preset duration, the optical signals at M time points are collected in each detection cycle, and the time points at which the optical signals are collected in any two adjacent detection cycles are Not the same, N is an integer greater than 1, and M is an integer greater than 1.
在一种可能的设计中,所述M与所述OLT支持的最小采样间隔相关。In one possible design, the M is related to the minimum sampling interval supported by the OLT.
在一种可能的设计中,还包括:In one possible design, also include:
分配模块,用于在所述第一检测模块检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率和第一最小接收光功率中的至少一个之前,将除第一ONU当前占用的第一发光时隙外,所述第二端口上未被所述多个ONU占用的第二发光时隙分配给所述第一ONU,以便于所述第一ONU在第一发光时隙以及第二发光时隙向所述OLT发送光信号,所述第一ONU为所述多个ONU中第一最大接收光功率对应的ONU。a distribution module, configured to detect, at the first detection module, the first maximum received optical power and the first received optical power of the optical signals received by the first optical module installed on the first port within the first preset time period Before at least one of the minimum received optical powers, in addition to the first light-emitting time slot currently occupied by the first ONU, the second light-emitting time slot that is not occupied by the plurality of ONUs on the second port is allocated to the first ONU. An ONU, so that the first ONU can send optical signals to the OLT in the first light-emitting time slot and the second light-emitting time slot, and the first ONU is the first ONU corresponding to the first maximum received optical power among the plurality of ONUs ONU.
第三方面,本申请实施例还提供了一种装置,该装置可以是OLT,用于实现第一方面描述的方法;该装置也可以是其它能够支持OLT实现第一方面描述的方法的装置,例如是可以设置在OLT中的装置。其中,可以是设置在OLT中的芯片系统、模块或电路等,本申请对此不作具体限定。所述装置包括处理器,用于实现上述第一方面描述的方法中OLT的功能。所述装置还可以包括存储器,用于存储程序指令和数据。所述存储器与所述处理器耦合,所述处理器调用并执行所述存储器中存储的程序指令,用于实现上述第一方面描述的方法中OLT的功能。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信。示例性地,该其它设备为ONU。在本申请实施例中,通信接口可以包括电路、总线、接口、通信接口或者其它任意能够实现通信功能的装置。In a third aspect, an embodiment of the present application further provides a device, which may be an OLT, for implementing the method described in the first aspect; the device may also be another device capable of supporting the OLT to implement the method described in the first aspect, For example, a device that can be provided in an OLT. Wherein, it may be a chip system, a module or a circuit etc. provided in the OLT, which is not specifically limited in this application. The apparatus includes a processor for implementing the function of the OLT in the method described in the first aspect above. The apparatus may also include a memory for storing program instructions and data. The memory is coupled to the processor, and the processor invokes and executes program instructions stored in the memory, so as to implement the function of the OLT in the method described in the first aspect above. The apparatus may also include a communication interface for the apparatus to communicate with other devices. Exemplarily, the other device is an ONU. In this embodiment of the present application, the communication interface may include a circuit, a bus, an interface, a communication interface, or any other device capable of implementing a communication function.
第四方面,本申请实施例中还提供一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述第一方面或者第一方面的任一设计所述的方法。In a fourth aspect, the embodiments of the present application further provide a computer storage medium, where a software program is stored in the storage medium, and the software program can implement the first aspect or the first aspect when read and executed by one or more processors The method of any design of the aspect.
第五方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或者第一方面的任一设计所述的方法。In a fifth aspect, embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method described in the first aspect or any design of the first aspect.
第六方面,本申请实施例提供了一种芯片系统,该芯片系统中包括处理器,还可以包括存储器,用于实现上述方法中OLT的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a sixth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor, and may also include a memory, for implementing the function of the OLT in the above method. The chip system can be composed of chips, and can also include chips and other discrete devices.
第七方面,本申请实施例提供了一种系统,所述系统中包括OLT和多个ONU。ONU用于向OLT发送光信号,OLT用于接收光信号,并基于光信号执行上述第一方面或者第一方面的任一设计所述的方法。In a seventh aspect, an embodiment of the present application provides a system, where the system includes an OLT and a plurality of ONUs. The ONU is configured to send an optical signal to the OLT, and the OLT is configured to receive the optical signal, and perform the method described in the first aspect or any design of the first aspect based on the optical signal.
附图说明Description of drawings
图1为本申请实施例提供的一种光通信系统架构示意图;FIG. 1 is a schematic diagram of an optical communication system architecture provided by an embodiment of the present application;
图2为本申请实施例提供的一种type B保护单归属组网结构示意图;FIG. 2 is a schematic structural diagram of a type B protection single-homed networking according to an embodiment of the present application;
图3为本申请实施例提供的一种光功率的检测方法流程图;3 is a flowchart of a method for detecting optical power provided by an embodiment of the present application;
图4为本申请实施例提供的一种DBA周期中不同的ONU接收光功率的示意图;4 is a schematic diagram of different ONU receiving optical powers in a DBA cycle provided by an embodiment of the present application;
图5为本申请实施例提供的不同的检测周期中检测点平移示意图;FIG. 5 is a schematic diagram of translation of detection points in different detection periods provided by an embodiment of the present application;
图6为本申请实施例提供的一种带宽分配示意图;FIG. 6 is a schematic diagram of bandwidth allocation according to an embodiment of the present application;
图7为本申请实施例提供的另一种光功率的检测方法流程图;FIG. 7 is a flowchart of another method for detecting optical power provided by an embodiment of the present application;
图8为本申请实施例提供的另一种带宽分配示意图;FIG. 8 is another schematic diagram of bandwidth allocation provided by an embodiment of the present application;
图9为本申请实施例提供的装置900结构示意图;FIG. 9 is a schematic structural diagram of an apparatus 900 provided by an embodiment of the present application;
图10为本申请实施例提供的OLT1000结构示意图。FIG. 10 is a schematic structural diagram of an OLT1000 according to an embodiment of the present application.
具体实施方式Detailed ways
应理解,说明书通篇中提到的“一个实施例”、“一个实现方式”、“一个实施方式”或“一示例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”、“一个实现方式”、“一个实施方式”或“在一示例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that references throughout the specification to "one embodiment," "one implementation," "one implementation," or "an example" mean that a particular feature, structure, or characteristic associated with the embodiment is included within the scope of this application. in at least one embodiment. Thus, appearances of "in one embodiment," "one implementation," "one implementation," or "in an example" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。以及,除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。此外,本申请实施例和权利要求书及附图中的术语“包括”和“具有”不是排他的。例如,包括了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,还可以包括没有列出的步骤或模块。Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship. It should be understood that, in this embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean that B is only determined according to A, and B may also be determined according to A and/or other information. And, unless stated to the contrary, the ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority or priority of multiple objects. Importance. In addition, the terms "comprising" and "having" in the embodiments and claims of the present application and the drawings are not exclusive. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, and may also include unlisted steps or modules.
本申请实施例可以应用于光通信系统中,光通信系统可以是PON系统。PON系统可以是吉比特无源光网络(gigabit-capable PON,GPON)系统、以太网无源光网络(ethernetPON,EPON)系统、十吉以太无源光网络(10Gb/s ethernet passive optical network,10G-EPON)系统、时分和波分复用无源光网络(time and wavelength division multiplexingpassive optical network,TWDM-PON)、十吉比特无源光网络(10gigabit-capablepassive optical network,XG-PON)系统或者十吉比特对称无源光网络(10-gigabit-capable symmetric passive optical network,XGS-PON)系统等。未来演进的新技术,将会将PON的速率提升到25Gbps、50Gbps甚至100Gbps,因此可以本申请还可以应用更高传输速率的PON系统。The embodiments of the present application may be applied to an optical communication system, and the optical communication system may be a PON system. The PON system can be a gigabit-capable PON (GPON) system, an Ethernet passive optical network (ethernetPON, EPON) system, a 10Gb/s ethernet passive optical network (10G) -EPON) system, time and wavelength division multiplexing passive optical network (TWDM-PON), ten gigabit passive optical network (10 gigabit-capable passive optical network, XG-PON) system or ten Gigabit symmetric passive optical network (10-gigabit-capable symmetric passive optical network, XGS-PON) system, etc. New technologies evolving in the future will increase the PON rate to 25 Gbps, 50 Gbps or even 100 Gbps, so this application can also apply a PON system with a higher transmission rate.
光通信系统中至少包括OLT和多个ONU,OLT分别与多个ONU进行通信。光通信系统中还可以包括光分配网络(Optical Distribute Network,ODN),多个ONU可以通过ODN连接到同一个OLT的PON端口。The optical communication system includes at least an OLT and a plurality of ONUs, and the OLT communicates with the plurality of ONUs respectively. The optical communication system may further include an optical distribution network (Optical Distribute Network, ODN), and multiple ONUs may be connected to the PON port of the same OLT through the ODN.
示例性的,光通信系统中还可以包括其它网络设备,比如用户终端,服务器、移动基站等。如图1所示,示例性的描述一种光通信系统拓扑结构。在图1所示的拓扑结构中,可以根据通信设备连接关系将通信设备划分为“用户侧”和“网络侧”。对于终结业务的用户终端,如个人计算机(personal computer,PC)来说,在图1所示的网络拓扑中,只有网络侧;而对于终结部分业务的通信设备,如动态主机设置协议(dynamic host configurationprotocol,DHCP)拨号服务器,可能只有用户侧。OLT将用户侧的设备和网络侧的路由器设备连接起来,起到汇聚和接入的作用,OLT可以接入多种网络设备,比如PC,移动基站,ONU等。Exemplarily, the optical communication system may also include other network devices, such as user terminals, servers, mobile base stations, and the like. As shown in FIG. 1 , an optical communication system topology is exemplarily described. In the topology shown in FIG. 1 , the communication devices can be divided into "user side" and "network side" according to the connection relationship of the communication devices. For a user terminal that terminates services, such as a personal computer (PC), in the network topology shown in FIG. 1, there is only the network side; while for a communication device that terminates some services, such as a dynamic host setup protocol (dynamic host configurationprotocol, DHCP) dial-up server, possibly only the user side. The OLT connects the equipment on the user side with the router equipment on the network side, and plays the role of aggregation and access. The OLT can access a variety of network equipment, such as PCs, mobile base stations, and ONUs.
下面针对本申请实施例涉及到的技术术语进行解释说明。The following describes the technical terms involved in the embodiments of the present application.
1、xPON Type B保护1. xPON Type B protection
xPON Type B保护是指在xPON网络中OLT的PON口、主干光纤均双路冗余的保护。xPON Type B保护可以提高ODN网络的可靠性,确保业务不中断。The xPON Type B protection refers to the dual redundant protection of the OLT's PON port and the backbone fiber in the xPON network. xPON Type B protection can improve the reliability of the ODN network and ensure uninterrupted services.
参见图2所示,示例一种xPON Type B保护单归属的组网结构。Type B保护单归属主要对OLT PON口和主干光纤进行保护,当OLT PON口或主干光纤发生故障时,可以自动切换到另外一个OLT PON口或主干光纤。Referring to Fig. 2, an example is a networking structure of xPON Type B protection single-homing. Type B protection single-homing mainly protects the OLT PON port and the trunk fiber. When the OLT PON port or the trunk fiber fails, it can automatically switch to another OLT PON port or the trunk fiber.
2、保护组2. Protection group
在xPON Type B保护单归属的场景中,将一台OLT上的两个PON接入端口加入一个保护组中。一台OLT上的两个PON接入端口可以在同一块PON板上,也可以在两块PON板上。当使用一块PON板上的两个PON接入端口构成一个保护组时,可以节省硬件资源,但是当该块PON板失效时会导致整板的业务中断。当使用两块PON板上的两个PON接入端口构成一个保护组时,虽然较一块PON来说增加硬件成本,但是当其中一个PON板(可以称为主用PON板)失效时,业务能倒换到另一个PON板上的PON端口进行业务接入,不会导致业务中断。In the xPON Type B protection single-homing scenario, add two PON access ports on an OLT to a protection group. Two PON access ports on one OLT can be on the same PON board or on two PON boards. When two PON access ports on a PON board are used to form a protection group, hardware resources can be saved, but when the PON board fails, services of the entire board will be interrupted. When two PON access ports on two PON boards are used to form a protection group, although the hardware cost is increased compared with one PON board, when one of the PON boards (can be called the main PON board) fails, the service can Switching to a PON port on another PON board for service access will not cause service interruption.
1)、保护组成员的角色有两种:工作(work)和保护(protect)。1) There are two roles for members of the protection group: work and protect.
一个保护组中包含一个工作端口(即work端口),和一个保护端口(即protect端口),工作端口和保护端口分别是两个接入PON端口。工作端口也可以称为主用端口,保护端口也可以称为备用端口。A protection group includes a working port (ie, a work port) and a protection port (ie, a protection port). The working port and the protection port are respectively two access PON ports. The working port can also be called the active port, and the protected port can also be called the standby port.
在正常工作状态下,工作端口承载业务。当工作端口所在的链路发生故障时,系统自动将工作端口的业务切换到保护端口上,保证业务的正常传送。In the normal working state, the working port carries services. When the link where the working port is located fails, the system automatically switches the services of the working port to the protection port to ensure the normal transmission of services.
2)、保护组成员状态。2), the protection group member status.
保护组成员的状态有两种:工作状态和非工作状态。其中工作状态也可以称为激活(active)状态,非工作状态也可以称为备用(standby)状态。状态为active的端口转发数据,状态为standby的端口不转发数据。There are two states of protection group members: working state and non-working state. The working state may also be referred to as an active (active) state, and the non-working state may also be referred to as a standby (standby) state. Ports in the active state forward data, and ports in the standby state do not forward data.
应理解的是,在正常工作状态下,工作端口处于active状态,保护端口处于standby状态。当工作端口所在链路发生故障时,工作端口由active状态变为standby状态,保护端口由standby状态更新为active状态。It should be understood that, in a normal working state, the working port is in an active state, and the protection port is in a standby state. When the link where the working port is located fails, the working port changes from the active state to the standby state, and the protection port changes from the standby state to the active state.
3)、倒换类型。3), switching type.
保护组发生倒换的类型有两种:由于故障触发的自动倒换和人为执行的保护倒换。会引起保护倒换的人为操作包括手工倒换、强制倒换和锁定。自动倒换是指在满足倒换的条件下,OLT和ONU无需人为干预,自动进行光链路倒换。手工倒换是手工控制保护组发生倒换的一种方式,比如通过在OLT上运行manual-switch命令来实现。强制倒换是认为强制执行,比如通过在OLT上运行force-switch命令,使得无论指定的目标成员是否正常都发生光链路倒换。There are two types of protection group switching: automatic switching triggered by faults and protection switching performed manually. Human operations that cause protection switching include manual switching, forced switching, and locking. Automatic switching means that the OLT and ONU automatically perform optical link switching without human intervention when the switching conditions are met. Manual switching is a way to manually control the switching of protection groups, for example, by running the manual-switch command on the OLT. Forced switching is considered to be enforced. For example, by running the force-switch command on the OLT, the optical link switching occurs regardless of whether the specified target member is normal or not.
当发生倒换后,工作端口的active状态变为standby状态时,如果OLT上运行锁定(lockout)命令锁定保护组成员端口,Type B单归属场景下可以锁定work端口和protect端口,将发生保护倒换,work端口的状态由standby变为active。After the switchover occurs, when the active state of the working port changes to the standby state, if the OLT runs the lockout command to lock the member ports of the protection group, the work port and the protection port can be locked in the Type B single-homing scenario, and protection switching will occur. The status of the work port changes from standby to active.
4)发生倒换的条件为:Type B保护组的active端口和standby端口的光功率符合PON光功率预算的要求。4) The condition for switching occurs: the optical power of the active port and the standby port of the Type B protection group meets the requirements of the PON optical power budget.
Type B保护组为典型的冷备份保护机制,ONU只在active端口上线,从而standby端口只接收上行光信号不会发下行光信号,在standby端口不发光信号的情况下无法精准测量standby端口的发射光功率。现有通过定时检查standby端口是否有SD(signaldetect)来判断standby端口是否有光信号,从而判断standby端口的光功率是否符合GPON光功率预算的要求。而SD信号在光强度-35dbm以上才能够判断光路有光,而GPON光预算通常要求OLT接收到的光强度在-28dbm至-8dbm之间,所以无法通过是否有SD信号判断standby端口光路光功率是否符合GPON光预算要求。部分ONU切换业务后无法满足光功率预算要求,到时切换失败,业务中断。Type B protection group is a typical cold backup protection mechanism. The ONU only goes online on the active port, so the standby port only receives upstream optical signals and does not send downstream optical signals. When the standby port does not emit light, it is impossible to accurately measure the emission of the standby port. Optical power. At present, it is judged whether the standby port has an optical signal by regularly checking whether the standby port has SD (signal detect), so as to determine whether the optical power of the standby port meets the requirements of the GPON optical power budget. The SD signal can only judge that the optical path has light when the optical intensity is above -35dbm, and the GPON optical budget usually requires the optical intensity received by the OLT to be between -28dbm and -8dbm, so the optical power of the standby port cannot be judged by whether there is an SD signal. Whether it meets the GPON optical budget requirements. Some ONUs cannot meet the optical power budget requirements after switching services, and the switching fails and services are interrupted.
基于此,本申请实施例提供一种光功率的检测方法及装置,用于提高光功率检测的准确率。其中,方法和装置是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。Based on this, embodiments of the present application provide an optical power detection method and device, which are used to improve the accuracy of optical power detection. Among them, the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.
本申请实施例中,以保护组中包括一个工作端口和一个保护端口为例进行说明。应理解的是,系统配置时不限定保护组中包括工作端口和保护端口的数量。本申请主要为了实现检测保护端口的光功率是否符合光功率预算要求。In the embodiment of the present application, the protection group includes one working port and one protection port as an example for description. It should be understood that the number of working ports and protection ports included in the protection group is not limited during system configuration. The main purpose of this application is to detect whether the optical power of the protection port meets the optical power budget requirement.
本申请实施例可以通过检测到的保护端口的接收光功率的最大值和/或最小值,根据接收光功率的最大值和/或最小值来确定保护端口的光功率是否符合光功率预算要求。例性地,所述OLT根据保护端口的接收光功率的最大值和/或最小值确定满足条件一、条件二或者条件三中的至少一个,确定所述保护端口的光功率不满足光功率预算的要求。In this embodiment of the present application, it can be determined whether the optical power of the protection port meets the optical power budget requirement according to the maximum value and/or the minimum value of the received optical power of the detected protection port. Exemplarily, the OLT determines that at least one of
条件一:所述第一最大接收光功率小于第一阈值;Condition 1: the first maximum received optical power is less than a first threshold;
条件二:所述第一最大接收光功率大于第二阈值;Condition 2: the first maximum received optical power is greater than the second threshold;
条件三:所述第一最小接收光功率小于第三阈值。Condition 3: The first minimum received optical power is less than the third threshold.
其中,所述第二阈值大于所述第一阈值,第三阈值小于第一阈值。Wherein, the second threshold is greater than the first threshold, and the third threshold is less than the first threshold.
如下从配置条件一的角度以及配置条件二和条件三的角度示例性地对本申请实施例提供的方案进行详细描述,对于其他组合的方式可以参见配置条件一、和条件二、条件三的方式,不再赘述。The solutions provided by the embodiments of the present application are exemplarily described in detail as follows from the perspective of
下面首先对上述通过确定是否满足所述第一最大接收光功率小于第一阈值的实现方案进行详细说明。The following first describes in detail the above implementation solution by determining whether the first maximum received optical power is less than the first threshold.
参见图3所示,为本申请实施例中一种光功率的检测方法流程示意图。Referring to FIG. 3 , it is a schematic flowchart of a method for detecting optical power in an embodiment of the present application.
S301,OLT检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率,第一端口处于非工作状态。S301 , the OLT detects a first maximum received optical power among received optical powers of optical signals received by a first optical module installed on a first port within a first preset time period, and the first port is in a non-working state.
其中,第一端口处于非工作状态时,第一端口可以接收光信号但不发射光信号。非工作状态也可以称为备用状态,或者称为standby状态。第一端口也可称为standby端口。后续描述时,将处于非工作状态的第一端口称为standby端口为例进行说明。Wherein, when the first port is in a non-working state, the first port can receive the optical signal but not transmit the optical signal. The non-working state can also be called the standby state, or the standby state. The first port may also be referred to as a standby port. In the subsequent description, the first port in the non-working state is referred to as a standby port as an example for description.
S302,所述OLT确定第一最大接收光功率小于第一阈值(即条件一)时,输出告警信息,所述告警信息用于指示第一端口的光功率不满足光功率预算的要求。S302: When the OLT determines that the first maximum received optical power is less than a first threshold (ie, condition 1), output alarm information, where the alarm information is used to indicate that the optical power of the first port does not meet the requirements of the optical power budget.
示例性地,告警信息中可以包括如下至少一项:Exemplarily, the alarm information may include at least one of the following:
OLT的标识(例如机框号),槽位号(每个单板插接在一个槽位上,一个OLT有多个槽位),端口号。通过在告警信息中包括如上信息来指示不满足光功率预算要求的端口。Identifier of the OLT (for example, chassis number), slot number (each board is plugged into one slot, and an OLT has multiple slots), and port number. Ports that do not meet the optical power budget requirements are indicated by including the above information in the alarm information.
第一阈值可以通过多种方式来确定,如下示例性地描述两种确定第一阈值的方式:The first threshold can be determined in various ways, and two ways of determining the first threshold are exemplarily described as follows:
第一种示例,第一阈值可以与处于工作状态的第二端口的最大接收光功率与最小接收光功率的差相关。In the first example, the first threshold may be related to the difference between the maximum received optical power and the minimum received optical power of the second port in the working state.
基于此,所述方法还可以包括:Based on this, the method may also include:
S303,所述OLT检测安装在第二端口上的第二光模块在第二预设时长内接收的光信号的接收光功率中的第二最大接收光功率以及第二最小接收光功率;其中,所述第一阈值与第一差值相关,且所述第一差值等于所述第二最大接收光功率与所述第二最小接收光功率的差。所述第二端口处于工作状态,所述接收的光信号来自多个光网络单元ONU。S303, the OLT detects the second maximum received optical power and the second minimum received optical power among the received optical powers of the optical signals received by the second optical module installed on the second port within the second preset time period; wherein, The first threshold value is related to a first difference value, and the first difference value is equal to the difference between the second maximum received optical power and the second minimum received optical power. The second port is in a working state, and the received optical signals come from a plurality of ONUs.
示例性地,第二端口处于工作状态时,第二端口可以接收光信号也可以发射光信号。工作状态也可以称为主用状态,或者称为active状态。第二端口也可称为active端口。Exemplarily, when the second port is in a working state, the second port can receive an optical signal and can also transmit an optical signal. The working state can also be called the active state or the active state. The second port may also be referred to as an active port.
示例性地,第一阈值可以等于第一差值与预配置阈值的和。预配置阈值可以小于或者等于第一光模块光功率的接收灵敏度极小值,比如,预配置阈值可以等于第一光模块光功率的接收灵敏度极小值。Exemplarily, the first threshold may be equal to the sum of the first difference and the preconfigured threshold. The preconfigured threshold may be less than or equal to the minimum receiving sensitivity of the optical power of the first optical module, for example, the preconfigured threshold may be equal to the minimum receiving sensitivity of the optical power of the first optical module.
第二种示例,第一阈值可以经验值。比如,可以是通过多次实验得到的经验值。In the second example, the first threshold may be an empirical value. For example, it can be an empirical value obtained through multiple experiments.
在一种示例中,在动态带宽分配(dynamically bandwidth assignment,DBA)周期中,不同的ONU在不同的时隙发送光信号。为了描述方便,将处于工作状态的第二端口称为active端口。在检测第二最大接收光功率和第二最小接收光功率时,OLT可以依次对active端口下所有在线ONU进行接收信号轻度指示(received signal strength indication,RSSI)测量,记录active端口接收到的每一个ONU的光功率值。取记录中的最大值作为Active端口的第二最大接收光功率;取记录中的最小值作为active端口的第二最小接收光功率。比如,参见图4所示,光通信系统中包括OLT和4个ONU,OLT分别与4个ONU进行通信。4个ONU分别是ONU1、ONU2、ONU3和ONU4。4个ONU占用的带宽可能未占满整个带宽。OLT在active端口上检测ONU1-OTN4的光信号的接收光功率中的最大值和最小值,最大值即为第二最大接收光功率,最小值即为第二最小接收光功率。图4中,通过矩形框的高度来表明各个ONU对应接收光功率大小,因此,针对图4来说,第二最大接收光功率为ONU2的接收光功率,第二最小接收光功率为ONU3的接收光功率。In one example, in a dynamically bandwidth assignment (DBA) cycle, different ONUs transmit optical signals in different time slots. For the convenience of description, the second port in the working state is called the active port. When detecting the second maximum received optical power and the second minimum received optical power, the OLT may measure the received signal strength indication (RSSI) on all online ONUs under the active port in turn, and record the received signal strength indication (RSSI) of the active port. Optical power value of an ONU. The maximum value in the record is taken as the second maximum received optical power of the active port; the minimum value in the record is taken as the second minimum received optical power of the active port. For example, as shown in FIG. 4 , the optical communication system includes an OLT and 4 ONUs, and the OLT communicates with the 4 ONUs respectively. The four ONUs are ONU1, ONU2, ONU3 and ONU4 respectively. The bandwidth occupied by the four ONUs may not occupy the entire bandwidth. The OLT detects the maximum and minimum received optical powers of the optical signals of ONU1-OTN4 on the active port, where the maximum value is the second maximum received optical power, and the minimum value is the second minimum received optical power. In Figure 4, the height of the rectangular frame indicates the corresponding received optical power of each ONU. Therefore, for Figure 4, the second maximum received optical power is the received optical power of ONU2, and the second minimum received optical power is the received optical power of ONU3. Optical power.
作为一种示例,第二预设时长可以配置为1个或者多个DBA周期,比如第二预设时长等于1个DBA周期。第二预设时长配置的时长可以根据需要配置,本申请对此不作具体限定。As an example, the second preset duration may be configured as one or more DBA cycles, for example, the second preset duration is equal to one DBA cycle. The duration of the second preset duration configuration may be configured as required, which is not specifically limited in this application.
应理解的是,第一预设时长与第二预设时长可以相等也可以不相等。It should be understood that the first preset duration and the second preset duration may or may not be equal.
示例性的,由于OLT一般不会对standby端口传输的光信号进行任何处理,在本申请实施例对OLT配置接收standby端口传输的光信号,并可以对standby端口传输的光信号进行采样检测光信号的接收光功率。Exemplarily, since the OLT generally does not perform any processing on the optical signal transmitted by the standby port, in this embodiment of the present application, the OLT is configured to receive the optical signal transmitted by the standby port, and can sample the optical signal transmitted by the standby port to detect the optical signal. received optical power.
需要说明的是,OLT中的active端口和standby端口可以配置在同一个单板上,也可以配置在不同的单板上,在需要确定standby端口是否符合光功率预算的要求时,OLT在standby端口可以启动最大接收光功率检测。It should be noted that the active port and the standby port in the OLT can be configured on the same board or on different boards. When it is necessary to determine whether the standby port meets the requirements of the optical power budget, the OLT is configured on the standby port. The maximum received optical power detection can be started.
本申请实施例中,通过在active端口确定最大接收光功率和最小接收光功率,由此可以推断出在standby端口和standby端口对应的链路正常传输光信号的情况下,standby端口上最大接收光功率和最小接收光功率应该与active端口的最大接收光功率和最小接收光功率相差较小。而在实际测量时,测量standby端口的最小接收光功率准确率较低,因此,本申请实施例,通过基于光功率预测确定的第一阈值作为standby端口可能的最小接收光功率,如果standby端口的最大接收光功率(第二最大接收光功率)与第一阈值的差小于active端口的最大接收光功率和最小接收光功率的差,则判定standby端口存在个别光信号过低,不符合光功率预算的要求。In the embodiment of the present application, by determining the maximum received optical power and the minimum received optical power on the active port, it can be inferred that when the standby port and the link corresponding to the standby port normally transmit optical signals, the maximum received optical power on the standby port can be inferred. The power and minimum received optical power should be smaller than the maximum and minimum received optical power of the active port. In actual measurement, the accuracy of measuring the minimum received optical power of the standby port is relatively low. Therefore, in this embodiment of the present application, the first threshold determined based on optical power prediction is used as the possible minimum received optical power of the standby port. If the difference between the maximum received optical power (the second maximum received optical power) and the first threshold is smaller than the difference between the maximum received optical power and the minimum received optical power of the active port, it is determined that individual optical signals on the standby port are too low and do not meet the optical power budget. requirements.
示例性的,在如下公式(1)所示的条件得到满足时,standby端口不满足光功率预算的要求:Exemplarily, when the conditions shown in the following formula (1) are satisfied, the standby port does not meet the requirement of the optical power budget:
ROPmaxS<thres+(ROPmaxA-ROPminA);公式(1)ROPmaxS<thres+(ROPmaxA-ROPminA); formula (1)
其中,ROPmaxS表示standby端口的最大接收光功率,第一阈值=thres+(ROPmaxA-ROPminA)。ROPmaxA表示active端口的最大接收光功率,ROPminA表示active端口的最小接收光功率,thres表示预配置阈值。Wherein, ROPmaxS represents the maximum received optical power of the standby port, and the first threshold=thres+(ROPmaxA-ROPminA). ROPmaxA represents the maximum received optical power of the active port, ROPminA represents the minimum received optical power of the active port, and thres represents the preconfigured threshold.
在如下公式(2)所示的条件得到满足时,standby端口满足光功率预算的要求。When the conditions shown in the following formula (2) are satisfied, the standby port meets the requirements of the optical power budget.
ROPmaxS≥thres+(ROPmaxA-ROPminA);公式(2)。ROPmaxS≥thres+(ROPmaxA-ROPminA); formula (2).
在一种可能的示例中,在检测第一端口上第一光模块的最大接收光功率时,可以配置N个检测周期,每个检测周期设置M个时间点位置。N个检测周期的时长等于或者小于第一预设时长。应理解的是,N个检测周期可以正好等于第一预设时长,当然还可以N个检测周期不足第一预设时长,比如,N个半周期等于第一预设时长,可以仅在N个检测周期内测量,剩余的半个周期不作测量,当然,剩余的半个周期也可以做测量,本申请对此不作具体限定。N为大于1的整数,M为大于1的整数。在该示例下,standby端口的最大接收光功率(第一最大接收光功率)为N个检测周期中检测到的N×M个时间点位置中光信号的最大接收光功率;其中,每个检测周期中采集M个时间点位置的光信号,任意相邻两个检测周期中采集光信号的时间点位置均不相同。任意相邻两个检测周期中采集光信号的时间点位置均不相同,也就是说,在每个检测周期不会采用固定的时间点位置采集光信号,获取采集光信号的接收光功率。In a possible example, when detecting the maximum received optical power of the first optical module on the first port, N detection periods may be configured, and M time point positions may be set for each detection period. The duration of the N detection cycles is equal to or less than the first preset duration. It should be understood that the N detection periods may be exactly equal to the first preset duration, and of course, the N detection periods may be less than the first preset duration. Measurement is performed within the detection period, and the remaining half period is not measured. Of course, the remaining half period may also be measured, which is not specifically limited in this application. N is an integer greater than 1, and M is an integer greater than 1. In this example, the maximum received optical power of the standby port (the first maximum received optical power) is the maximum received optical power of optical signals in N×M time points detected in N detection cycles; The optical signals at M time-point positions are collected in a cycle, and the time-point positions of the collected optical signals in any two adjacent detection cycles are different. In any two adjacent detection periods, the time points and positions of the collected optical signals are different, that is, in each detection period, a fixed time point position is not used to collect the optical signals to obtain the received optical power of the collected optical signals.
示例性的,一个检测周期可以等于一个DBA周期,或者等于多个DBA周期。Exemplarily, one detection period may be equal to one DBA period, or equal to multiple DBA periods.
作为一种示例,可以采用“检测点平移”的方式,测量standby端口的最大接收光功率。在配置采集的时间点时,下一个检测周期的采集的时间点的起始位置是在上一个检测周期的采集的时间点的起始位置的定量平移。一个检测周期中,任意两个时间点间隔相同。例如,参见图5所示,以两个检测周期为例。第一检测周期中采集光信号的时间点为A1-A7。第二检测周期中采集光信号的时间点为B1-B7,平移量为X。通过采用不同的检测周期采用不同检测点的方式,可以提高standby采集到最大接收光功率的概率。As an example, the "detection point shift" method can be used to measure the maximum received optical power of the standby port. When configuring the acquisition time point, the start position of the acquisition time point of the next detection cycle is a quantitative translation of the start position of the acquisition time point of the previous detection cycle. In a detection cycle, the interval between any two time points is the same. For example, referring to FIG. 5 , two detection periods are taken as an example. The time points at which the optical signals are collected in the first detection cycle are A1-A7. The time points at which the optical signals are collected in the second detection period are B1-B7, and the translation amount is X. By using different detection periods and different detection points, the probability that the standby collects the maximum received optical power can be improved.
应理解的是,在上述第一阈值采用第一种示例确定的方式下,也可以采用检测点平移的方式,测量active端口的最大接收光功率和最小接收光功率。It should be understood that, in the manner in which the first threshold is determined in the first example, the detection point shift method may also be used to measure the maximum received optical power and the minimum received optical power of the active port.
作为另一种示例,可以采用随机确定检测的方式,比如每个检测周期随机确定检测点。从而通过采用不同的检测周期采用不同检测点的方式,可以提高standby采集到最大接收光功率的概率。As another example, the detection method may be randomly determined, for example, the detection point is randomly determined in each detection period. Therefore, by using different detection periods and different detection points, the probability that the standby collects the maximum received optical power can be improved.
在另一种可能的示例中,可以采用“密集触发”的方式,也就是说每个检测周期的检测点尽可以能的多。比如每个检测周期的检测点的数量可以根据OLT支持的最小采样间隔来确定,比如每个检测周期的检测点的数量等于按照OLT支持的最小采样间隔以及检测周期的时长确定的数量。再比如,每个检测周期的检测点的数量等于按照OLT支持的最小采样间隔以及检测周期的时长确定的数量的3/4。再比如,每个检测周期的检测点的数量等于按照OLT支持的最小采样间隔以及检测周期的时长确定的数量的1/2。示例性的,采样间隔的范围可以为125us–500us。OLT支持的最小采样间隔与OLT的RSSI采样能力和CPU处理能力相关。In another possible example, a "dense triggering" approach may be used, that is, there are as many detection points as possible in each detection cycle. For example, the number of detection points in each detection period can be determined according to the minimum sampling interval supported by the OLT. For example, the number of detection points in each detection period is equal to the number determined according to the minimum sampling interval supported by the OLT and the duration of the detection period. For another example, the number of detection points in each detection cycle is equal to 3/4 of the number determined according to the minimum sampling interval supported by the OLT and the duration of the detection cycle. For another example, the number of detection points in each detection cycle is equal to 1/2 of the number determined according to the minimum sampling interval supported by the OLT and the duration of the detection cycle. Exemplarily, the sampling interval may range from 125us to 500us. The minimum sampling interval supported by the OLT is related to the RSSI sampling capability and CPU processing capability of the OLT.
示例性的,不同的检测周期中采样点的数量也可以不同,本申请对此不作具体限定。Exemplarily, the number of sampling points in different detection periods may also be different, which is not specifically limited in this application.
应理解的是,在上述第一阈值采用第一种示例确定的方式下,也可以采用检测点平移密集触发的方式,测量active端口的最大接收光功率和最小接收光功率。It should be understood that, in the manner in which the above-mentioned first threshold is determined in the first example, a manner of dense triggering of detection point translation can also be used to measure the maximum received optical power and the minimum received optical power of the active port.
在又一种可能的示例中,通常情况的PON端口上行流量远小于PON端口理论带宽,直接在standby端口进行光功率检测有较大概率错过真实的最大值,为减小错漏最大值的可能性,提高命中最大接收光功率的概率,可以把active端口剩余带宽尽可能多地分配给在线active端口的最大接收光功率对应的ONU,增加发出最大接收光功率的光信号的ONU的分配带宽占比。比如,第一ONU为所述多个ONU中第二最大接收光功率对应的ONU。示例性的,OLT在执行检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率之前,可以将除第一ONU当前占用的第一发光时隙外,所述active端口上未被所述多个ONU占用的第二发光时隙分配给所述第一ONU,以便于所述第一ONU在第一发光时隙以及第二发光时隙向所述OLT发送光信号。由于发出最大接收光功率的光信号的ONU的分配带宽占比在检测周期中占比增大,从而提高standby端口检测到最大接收光功率的概率。比如,参见图6所示,将所述active端口上未被所述多个ONU占用其它带宽均分配给ONU2,在分配前,采样点可能没有命中到最大接收光功率,将其它的小于该最大接收光功率的值作为了最大接收光功率。而在分配后,采样点D2和D3均命中了最大接收光功率,从而通过分配其它带宽给active端口的最大接收光功率的ONU,可以提高采样点命中到最大接收光功率的概率。In another possible example, the upstream traffic of the PON port is usually much smaller than the theoretical bandwidth of the PON port, and the optical power detection directly on the standby port has a high probability of missing the real maximum value. In order to reduce the possibility of missing the maximum value , to improve the probability of hitting the maximum received optical power, the remaining bandwidth of the active port can be allocated as much as possible to the ONU corresponding to the maximum received optical power of the online active port, and the proportion of the allocated bandwidth of the ONU that sends out the optical signal with the maximum received optical power can be increased. . For example, the first ONU is the ONU corresponding to the second maximum received optical power among the plurality of ONUs. Exemplarily, before the OLT performs detection of the first maximum received optical power of the optical signals received by the first optical module installed on the first port within the first preset time period, the OLT may remove the first ONU In addition to the currently occupied first light-emitting time slot, the second light-emitting time slot on the active port that is not occupied by the plurality of ONUs is allocated to the first ONU, so that the first ONU can use the first light-emitting time slot in the first light-emitting time slot. and the second light-emitting time slot sends an optical signal to the OLT. Since the proportion of the allocated bandwidth of the ONU that transmits the optical signal with the maximum received optical power increases in the detection period, the probability that the standby port detects the maximum received optical power is increased. For example, as shown in FIG. 6 , other bandwidths on the active port that are not occupied by the ONUs are allocated to ONU2. Before the allocation, the sampling points may not hit the maximum received optical power, and other bandwidths smaller than the maximum received optical power may not be reached. The value of the received optical power is taken as the maximum received optical power. After the allocation, the sampling points D2 and D3 both hit the maximum received optical power, so by assigning other bandwidths to the ONU with the maximum received optical power of the active port, the probability that the sampling point hits the maximum received optical power can be improved.
需要说明的是,第二发光时隙可以是所述active端口上未被所述多个ONU占用的全部带宽。或者是所述active端口上未被所述多个ONU占用的部分带宽,本申请实施例对此不作具体限定。It should be noted that, the second light-emitting time slot may be the entire bandwidth on the active port that is not occupied by the multiple ONUs. Or part of the bandwidth on the active port that is not occupied by the multiple ONUs, which is not specifically limited in this embodiment of the present application.
在一种可能的示例中,一般性的,在active端口对应的最大接收光功率的ONU发送的光信号,通过standby端口传过来时,接收光功率很大可能也为最大接收光功率。基于此,所述OLT检测第一预设时长内在standby端口上接收到的光信号的接收光功率中的第一最大接收光功率时,可以通过如下方式实现:In a possible example, generally, when the optical signal sent by the ONU with the maximum received optical power corresponding to the active port is transmitted through the standby port, the received optical power is very likely to be the maximum received optical power. Based on this, when the OLT detects the first maximum received optical power among the received optical powers of the optical signals received on the standby port within the first preset time period, it may be implemented in the following manner:
所述OLT检测第一预设时长内在第一端口上的第一光模块的来自第一ONU的光信号的接收光功率作为第一最大接收光功率。第一ONU为所述多个ONU中第二最大接收光功率对应的ONU。The OLT detects the received optical power of the optical signal from the first ONU of the first optical module on the first port within the first preset time period as the first maximum received optical power. The first ONU is an ONU corresponding to the second maximum received optical power among the plurality of ONUs.
具体的,所述OLT检测第一预设时长内在standby端口上来自第一ONU的光信号的接收光功率,可以在第一ONU的对应的发光时隙上检测光信号的接收光功率。比如,第一ONU在第一发光时隙上发送光信号,则OLT在第一发光时隙上检测从standby端口接收到的光信号的接收光功率。Specifically, the OLT detects the received optical power of the optical signal from the first ONU on the standby port within the first preset time period, and can detect the received optical power of the optical signal on the corresponding light-emitting time slot of the first ONU. For example, if the first ONU sends an optical signal on the first light-emitting time slot, the OLT detects the received optical power of the optical signal received from the standby port on the first light-emitting time slot.
示例性的,可以确定active端口对应的最大接收光功率的ONU后,可以将active端口剩余带宽尽可能多地分配给在线active端口的最大接收光功率对应的ONU,增加发出最大接收光功率的光信号的ONU的分配带宽占比。比如,OLT在执行检测第一预设时长内在standby端口上来自第一ONU的光信号的接收光功率时,可以将除第一ONU当前占用的第一发光时隙外,所述active端口上未被所述多个ONU占用的第二发光时隙分配给所述第一ONU,以便于所述第一ONU在第一发光时隙以及第二发光时隙向所述OLT发送光信号。从而,OLT可以在第一ONU的对应的第一发光时隙和第二发光时隙上检测光信号的接收光功率。示例性的,在该示例下,第二预设时长可以仅等于1个检测周期。当然为了提高检测的准确性,可以在多个检测周期中多次在第一ONU的对应的第一发光时隙和第二发光时隙上检测光信号的接收光功率。将多次检测中检测到的最大值作为standby端口的最大接收光功率,即第一最大接收光功率。Exemplarily, after the ONU with the maximum received optical power corresponding to the active port can be determined, the remaining bandwidth of the active port can be allocated as much as possible to the ONU corresponding to the maximum received optical power of the online active port, and the optical output with the maximum received optical power can be increased. The proportion of the allocated bandwidth of the ONU of the signal. For example, when the OLT detects the received optical power of the optical signal from the first ONU on the standby port within the first preset time period, it can detect the received optical power on the active port except the first light-emitting time slot currently occupied by the first ONU. The second light-emitting time slot occupied by the plurality of ONUs is allocated to the first ONU, so that the first ONU sends an optical signal to the OLT in the first light-emitting time slot and the second light-emitting time slot. Therefore, the OLT can detect the received optical power of the optical signal on the corresponding first light-emitting time slot and the second light-emitting time slot of the first ONU. Exemplarily, in this example, the second preset duration may only be equal to one detection period. Of course, in order to improve the detection accuracy, the received optical power of the optical signal may be detected on the corresponding first light-emitting time slot and the second light-emitting time slot of the first ONU multiple times in multiple detection periods. The maximum value detected in multiple detections is taken as the maximum received optical power of the standby port, that is, the first maximum received optical power.
作为一种示例,OLT在第一ONU的对应的第一发光时隙和第二发光时隙上检测光信号的接收光功率时,可以在第一发光时隙和第二发光时隙上多个检测时间点上检测光信号的接收光功率。As an example, when the OLT detects the received optical power of the optical signal on the corresponding first light-emitting time slot and the second light-emitting time slot of the first ONU, it can detect multiple light-emitting powers on the first light-emitting time slot and the second light-emitting time slot. The received optical power of the detected optical signal at the detection time point.
下面对本申请实施例中通过确定是否满足条件二和/或条件三来实现的方案进行详细说明。The solution implemented by determining whether the second condition and/or the third condition is satisfied in the embodiments of the present application will be described in detail below.
参见图7所示,为本申请实施例中提供的另一种光功率的检测方法流程示意图。Referring to FIG. 7 , it is a schematic flowchart of another optical power detection method provided in an embodiment of the present application.
S701,所述OLT检测安装在第一端口上的第一光模块在第一预设时长内接收的光信号的接收光功率中的第一最大接收光功率和第一最小接收光功率。S701, the OLT detects a first maximum received optical power and a first minimum received optical power among received optical powers of optical signals received by a first optical module installed on a first port within a first preset time period.
S702,所述OLT确定standby端口的第一最小接收光功率小于第三阈值和/或standby端口的第一最大接收光功率大于第二阈值,输出告警信息。S702, the OLT determines that the first minimum received optical power of the standby port is less than a third threshold and/or the first maximum received optical power of the standby port is greater than a second threshold, and outputs alarm information.
示例性地,所述第二阈值小于或等于所述第一光模块光功率的接收灵敏度最大值。所述第三阈值大于或等于所述第一光模块光功率的接收灵敏度极小值。比如光模块光功率预算的范围为-28dB~-8dB,第一光模块光功率的接收灵敏度最大值可以等于-8dB或者稍小于-8dB,第一光模块光功率的接收灵敏度极小值可以等于-28dB或者稍大于-28dB。Exemplarily, the second threshold is less than or equal to the maximum receiving sensitivity of the optical power of the first optical module. The third threshold value is greater than or equal to the minimum receiving sensitivity value of the optical power of the first optical module. For example, the optical power budget of the optical module ranges from -28dB to -8dB, the maximum receiving sensitivity of the optical power of the first optical module can be equal to -8dB or slightly less than -8dB, and the minimum receiving sensitivity value of the optical power of the first optical module can be equal to -28dB or slightly more than -28dB.
在一种可能的设计中,在确定standby端口的第一最小接收光功率大于或者等于第三阈值,且standby端口的第一最大接收光功率小于或者等于第二阈值,输出告警恢复信息,告警恢复信息用于指示standby端口的光功率满足光功率预算的要求。In a possible design, after it is determined that the first minimum received optical power of the standby port is greater than or equal to the third threshold, and the first maximum received optical power of the standby port is less than or equal to the second threshold, alarm recovery information is output, and the alarm is recovered. The information is used to indicate that the optical power of the standby port meets the requirements of the optical power budget.
其中,standby端口的第一最小接收光功率小于第三阈值时,standby端口存在的个别光信号的接收光功率过低,standby端口的最大接收光功率大于第二阈值时,standby端口存在的个别光信号的接收光功率过高。当standby端口存在的个别光信号的接收光功率过高和/或过低时,可以将输出的告警信息发送给网络管理器,从而网络管理人员能够及时调整不满足要求的链路或者端口。Wherein, when the first minimum received optical power of the standby port is less than the third threshold, the received optical power of the individual optical signals existing on the standby port is too low, and when the maximum received optical power of the standby port is greater than the second threshold, the individual optical signals of the standby port exist. The received optical power of the signal is too high. When the received optical power of individual optical signals on the standby port is too high and/or too low, the output alarm information can be sent to the network manager, so that the network manager can adjust the links or ports that do not meet the requirements in time.
在一种可能的示例中,在执行S701时,可以采用“检测点平移”的方式,具体参见图3所示的实施例中的相关说明,此处不再赘述。In a possible example, when S701 is executed, a method of "detection point translation" may be adopted. For details, please refer to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
在另一种可能的示例中,在执行S701,可以采用“密集触发”的方式,具体参见图3所示的实施例中的相关说明,此处不再赘述。In another possible example, in the execution of S701, a "intensive triggering" manner may be adopted. For details, please refer to the relevant description in the embodiment shown in FIG. 3, which will not be repeated here.
在又一种可能的示例中,OLT在执行S701之前,所述OLT检测第二预设时长内在active端口的第二光模块上来自多个ONU的光信号的接收光功率中的第二最大接收光功率以及第二最小接收光功率。通常情况的PON端口上行流量远小于PON端口理论带宽,直接在standby端口进行光功率检测有较大概率错过真实的最大值,为减小错漏最大值的可能性,提高命中最大和最小接收光功率的概率,可以把active端口剩余带宽尽可能多地分配给在线active端口的最大接收光功率和最小接收光功率对应的ONU,增加发出最大和最小接收光功率的光信号的ONU的分配带宽占比。In another possible example, before the OLT performs S701, the OLT detects the second maximum received optical power among the received optical powers of the optical signals from the multiple ONUs on the second optical module of the active port within the second preset time period optical power and the second minimum received optical power. In general, the upstream traffic of the PON port is much smaller than the theoretical bandwidth of the PON port, and the optical power detection directly on the standby port has a high probability of missing the real maximum value. In order to reduce the possibility of missing the maximum value, the maximum and minimum received optical power are improved The probability that the remaining bandwidth of the active port can be allocated as much as possible to the ONU corresponding to the maximum received optical power and the minimum received optical power of the online active port, and the proportion of the allocated bandwidth of the ONU that sends out the optical signal with the maximum and minimum received optical power is increased. .
比如,以图4为例,ONU2为所述4个ONU中第二最大接收光功率对应的ONU,OTN3为4个ONU中第二最小接收光功率对应的ONU。For example, taking FIG. 4 as an example, ONU2 is the ONU corresponding to the second maximum received optical power among the four ONUs, and OTN3 is the ONU corresponding to the second minimum received optical power among the four ONUs.
示例性的,OLT在执行S701之前,可以将除ONU2当前占用的发光时隙1和除ONU2当前占用的发光时隙2外,所述active端口上未被所述4个ONU占用的其它发光时隙分配给所述ONU2和ONU3。由于发出最大和最下接收光功率的光信号的ONU的分配带宽占比在检测周期中占比增大,从而提高standby端口检测到最大和最小接收光功率的概率。比如,参见图8所示,将所述active端口上未被所述4个ONU占用其它带宽均分配给ONU2和OTN3。Exemplarily, before the OLT executes S701, except for the light-emitting
基于与上述实施例同样的发明构思,本申请实施例还提供了一种装置。该装置应用于OLT。该装置具体可以是处理器、芯片、芯片系统,或是用于发送的功能模块等。如图9所示,所述装置包括第一检测模块901、第二检测模块902以及处理模块903;其中,第一检测模块901用于执行S301或者S701,第二检测模块902用于执行S303,处理模块903用于执行S302或者用于执行S702。Based on the same inventive concept as the above-mentioned embodiment, the embodiment of the present application further provides an apparatus. The device is applied to OLT. Specifically, the apparatus may be a processor, a chip, a chip system, or a functional module for sending, or the like. As shown in FIG. 9 , the device includes a
可选地,上述三个模块还可以执行前述任一实施例提及的OLT执行的其他相关可选步骤,此处不再赘述。Optionally, the above three modules may also perform other relevant optional steps performed by the OLT mentioned in any of the foregoing embodiments, which will not be repeated here.
本申请实施例中对模块的划分是示意性的,仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。The division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into one processor, or may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
本申请实施例还提供了一种OLT结构,如图10所示,OLT1000包括通信接口1010A和通信接口1001B、处理器1020以及存储器1030。示例性的,通信接口1010A为active端口,通信接口1010B为standb端口。The embodiment of the present application further provides an OLT structure. As shown in FIG. 10 , the
上述图9中所示的第一检测模块901、第二检测模块902以及处理模块903均可以由处理器1020实现。处理器1020通过通信接口1010A接收光信号,以及在启动standby端口的光功率预算检测时,通过通信接口1010B接收光信号,并用于实现图3和图7中的OLT所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器1020中的硬件的集成逻辑电路或软件形式的指令完成上述任一实施例中OLT所执行的方法。The
本申请实施例中通信接口1010A和通信接口1010B可以是电路、总线、收发器或其它任意可以用于进行信息交互的装置。其中,示例性地,该其它装置可以是与该设备1000相连的设备,比如其它装置可以是ONU。In this embodiment of the present application, the
本申请实施例中处理器1020可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件,可以实现或执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或用处理器中的硬件及软件单元组合执行完成。处理器1020用于实现上述方法所执行的程序代码可以存储在存储器1030中。存储器1030和处理器1020耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1020可能和存储器1030协同操作。存储器1030可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1030是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。In this embodiment of the present application, the
本申请实施例中不限定上述通信接口1010、处理器1020以及存储器1030之间的具体连接介质。本申请实施例在图10中以存储器1030、处理器1020以及通信接口1010之间通过总线连接,总线在图10中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 1010 , the
基于以上实施例,本申请实施例还可以提供了一种系统,该系统中包括OLT以及多个ONU。OLT用于向ONU发送光信号或者接收ONU发送的光信号。Based on the above embodiments, the embodiments of the present application may further provide a system including an OLT and a plurality of ONUs. The OLT is used to send optical signals to the ONU or receive optical signals sent by the ONU.
基于以上实施例,本申请实施例还提供了一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器等各种可以存储程序代码的介质。Based on the above embodiments, the embodiments of the present application further provide a computer storage medium, where a software program is stored in the storage medium, and when the software program is read and executed by one or more processors, it can implement any one or more of the above Methods provided by the examples. The computer storage medium may include: U disk, removable hard disk, read-only memory, random access memory and other media that can store program codes.
基于以上实施例,本申请实施例还提供了一种芯片,该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的数据帧。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, an embodiment of the present application further provides a chip, where the chip includes a processor for implementing the functions involved in any one or more of the above embodiments, such as acquiring or processing the data frames involved in the above method . Optionally, the chip further includes a memory, and the memory is used for necessary program instructions and data to be executed by the processor. The chip may consist of chips, or may include chips and other discrete devices.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910420815.8A CN111970049B (en) | 2019-05-20 | 2019-05-20 | Optical power detection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910420815.8A CN111970049B (en) | 2019-05-20 | 2019-05-20 | Optical power detection method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111970049A CN111970049A (en) | 2020-11-20 |
| CN111970049B true CN111970049B (en) | 2022-05-13 |
Family
ID=73358254
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910420815.8A Active CN111970049B (en) | 2019-05-20 | 2019-05-20 | Optical power detection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111970049B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102130720A (en) * | 2010-12-03 | 2011-07-20 | 华为技术有限公司 | Optical power detection method, system and device for passive optical network |
| WO2015101763A1 (en) * | 2013-12-31 | 2015-07-09 | British Telecommunications Public Limited Company | Operationally resilient optical network |
| CN104779994A (en) * | 2014-01-10 | 2015-07-15 | 深圳市双翼科技有限公司 | Ethernet passive optical network protection method and device |
| CN107979413A (en) * | 2018-01-16 | 2018-05-01 | 北京益安佳光电科技发展有限责任公司 | The PON optical communications SOT state of termination generally investigates instrument |
| CN109039444A (en) * | 2017-06-08 | 2018-12-18 | 中国电信股份有限公司 | ONU method for detecting abnormality, device, OLT and optical-fiber network |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6944143B1 (en) * | 2000-03-31 | 2005-09-13 | Qualcomm Incorporated | Prioritization of searching by a remote unit in a wireless communication system |
| CN101262680A (en) * | 2007-03-09 | 2008-09-10 | 华为技术有限公司 | Channel measurement resource allocation method and system in wireless broadband access |
| CN102612128B (en) * | 2011-01-25 | 2014-07-02 | 鼎桥通信技术有限公司 | Uplink-closed-loop power control method and uplink-closed-loop power control system |
-
2019
- 2019-05-20 CN CN201910420815.8A patent/CN111970049B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102130720A (en) * | 2010-12-03 | 2011-07-20 | 华为技术有限公司 | Optical power detection method, system and device for passive optical network |
| WO2015101763A1 (en) * | 2013-12-31 | 2015-07-09 | British Telecommunications Public Limited Company | Operationally resilient optical network |
| CN104779994A (en) * | 2014-01-10 | 2015-07-15 | 深圳市双翼科技有限公司 | Ethernet passive optical network protection method and device |
| CN109039444A (en) * | 2017-06-08 | 2018-12-18 | 中国电信股份有限公司 | ONU method for detecting abnormality, device, OLT and optical-fiber network |
| CN107979413A (en) * | 2018-01-16 | 2018-05-01 | 北京益安佳光电科技发展有限责任公司 | The PON optical communications SOT state of termination generally investigates instrument |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111970049A (en) | 2020-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8538261B2 (en) | Immediate protection scheme for passive optical network | |
| US9515725B2 (en) | Rogue optical network interface device detection | |
| US10110301B2 (en) | Method, apparatus, and system for detecting rogue optical network unit | |
| CN108370271B (en) | Detection method and device of optical network unit and passive optical network system | |
| US20150358076A1 (en) | Port-dualized optical line terminal and passive optical network system capable of measuring rssi of standby line in standby port, and method of determining stability of standby line using the same | |
| CN106303763A (en) | The detection method of a kind of abnormal PON terminal and device | |
| WO2017166546A1 (en) | Method and device for detecting continuously emitting optical network unit and optical line terminal | |
| WO2017219984A1 (en) | Link state detection method and system | |
| US20160285546A1 (en) | Apparatus and Method for Detecting Uplink Optical Signal | |
| CN101047443B (en) | Fault detection debugging method of passive optical network system and communication message device | |
| WO2019128953A1 (en) | Single board of optical line terminal and optical line terminal | |
| JP2009100426A (en) | Signal monitoring device, communication system, signal monitoring method, and program for signal monitoring device | |
| CN111970049B (en) | Optical power detection method and device | |
| CN107078793B (en) | A kind of fiber fault diagnosis method, apparatus and system | |
| US20240048237A1 (en) | Link status measurement method, apparatus, and system, and storage medium | |
| US20220224595A1 (en) | Optical communication device and control method | |
| WO2016192285A1 (en) | System and method for detecting abnormal light emission of ont by olt in pon system | |
| KR100914635B1 (en) | Optical line termination | |
| JP2012257163A (en) | Band control device, band control program and termination device | |
| CN118101051A (en) | Fault detection method, device and terminal | |
| CN117674989A (en) | Method and device for detecting optical power | |
| WO2025020594A1 (en) | Link switching method and system, and electronic device and storage medium | |
| CN115767329A (en) | Fault detection method, device, equipment and storage medium | |
| HK1188045A1 (en) | Optical line terminal olt | |
| HK1188045B (en) | Optical line terminal olt |
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 |