CN112771796B - A method and device for allocating uplink light-emitting time slots to optical network equipment - Google Patents
A method and device for allocating uplink light-emitting time slots to optical network equipment Download PDFInfo
- Publication number
- CN112771796B CN112771796B CN201880098177.6A CN201880098177A CN112771796B CN 112771796 B CN112771796 B CN 112771796B CN 201880098177 A CN201880098177 A CN 201880098177A CN 112771796 B CN112771796 B CN 112771796B
- Authority
- CN
- China
- Prior art keywords
- optical
- optical network
- network device
- uplink
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (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 apparatus for allocating uplink light-emitting time slots to optical network equipment.
背景技术Background technique
在时分复用(time division multiplexing,TDM)无源光网络(passive opticalnetwork,PON)系统中,不同的光网络设备,比如光网络终端(optical networktermination,ONT)或者光网络单元(optical network unit,ONU),在光线路终端(opticalline termination,OLT)的控制下,在不同的时隙发送上行光信号。In a time division multiplexing (TDM) passive optical network (PON) system, different optical network devices, such as an optical network termination (ONT) or an optical network unit (ONU) ), under the control of an optical line termination (OLT), the uplink optical signals are sent in different time slots.
各个ONT发送上行光信号的顺序,通常由各个ONT在系统中的上线先后顺序决定或者人工设置的ONT发送上行光信号的顺序决定。The order in which each ONT sends the upstream optical signal is usually determined by the online sequence of each ONT in the system or the order in which the ONT sends the upstream optical signal manually set.
通常各个ONT本身发射光功率的差异性比较小,但是由于不同ONT到OLT之间,由于距离、连接器、连接质量等不同造成的传输链路的不同,从而不同ONT发送的光信号到达OLT的光衰减也不同,进而各个ONT发送的上行光信号到达OLT的光功率也会有差异。Usually, the difference in the optical power transmitted by each ONT itself is relatively small, but due to the difference in transmission links between different ONTs and OLTs, due to differences in distance, connector, connection quality, etc., the optical signals sent by different ONTs reach the OLT. The optical attenuation is also different, and thus the optical power of the upstream optical signal sent by each ONT to the OLT will also be different.
但是,当发送光信号顺序相邻的两个ONT发送的光信号到达OLT时,若前面ONT发送的光信号到达OLT的光功率P1远大于后面ONT发送的光信号到达OLT的光功率P2,即P1远大于P2,则OLT接收到的前面ONT发送的光信号对接收的后面ONT发送的光信号产生影响,可能产生误码,或者导致丢包。However, when the optical signals sent by two adjacent ONTs in the order of sending optical signals reach the OLT, if the optical power P1 of the optical signal sent by the previous ONT reaching the OLT is much greater than the optical power P2 of the optical signal sent by the later ONT reaching the OLT, that is, If P1 is much larger than P2, the optical signal received by the OLT and sent by the previous ONT will affect the received optical signal sent by the later ONT, which may cause bit errors or packet loss.
现有一般采用动态调节各个ONT发射光功率的方式,使得各个ONT发送的上行光信号到达OLT的光功率大小相差较小。该种动态调整各个ONT发射光功率大小的方式,需要针对每个ONT的光功率进行调整,调整比较复杂,成本较高。At present, a method of dynamically adjusting the optical power transmitted by each ONT is generally adopted, so that the optical power of the uplink optical signal sent by each ONT reaching the OLT has a small difference in magnitude. This method of dynamically adjusting the transmit optical power of each ONT needs to be adjusted for the optical power of each ONT, and the adjustment is complicated and the cost is high.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种对光网络设备上行发光时隙的分配方法及装置,用于解决现有存在的调整各个ONT发射光功率大小时调整复杂度较高,成本较高的问题。Embodiments of the present application provide a method and apparatus for allocating uplink light-emitting time slots to optical network equipment, which are used to solve the existing problems of high adjustment complexity and high cost when adjusting the transmit optical power of each ONT.
第一方面,本申请实施例提供了一种对光网络设备上行发光时隙的分配方法,包括:In a first aspect, an embodiment of the present application provides a method for allocating uplink light-emitting time slots to optical network equipment, including:
光线路终端OLT获取多个光网络设备分别对应的光功率。其中,第一光网络设备对应的光功率为所述OLT接收所述第一光网络设备发送的光信号的功率,或者为所述第一光网络设备接收所述OLT发送的光信号的功率,所述第一光网络设备为所述多个光网络设备中的一个。所述光网络设备可以为光网络终端ONT或者光网络单元ONU。OLT获取所述第一光网络设备接收所述OLT发送的光信号的功率,可以是第一光网络设备确定接收到OLT发送的光信号的功率后,将该功率通知给OLT。The optical line terminal OLT obtains the respective optical powers of the multiple optical network devices. The optical power corresponding to the first optical network device is the power at which the OLT receives the optical signal sent by the first optical network device, or the power at which the first optical network device receives the optical signal sent by the OLT, The first optical network device is one of the multiple optical network devices. The optical network device may be an optical network terminal ONT or an optical network unit ONU. The OLT acquires the power at which the first optical network device receives the optical signal sent by the OLT, which may be that the first optical network device notifies the OLT of the power after determining the power of the optical signal sent by the OLT.
所述OLT获取所述多个光网络设备分别对应的光功率后,所述OLT根据多个光网络设备分别对应的光功率为所述多个光网络设备分配在动态带宽分配DBA周期中用于发送上行光信号的上行发光时隙;After the OLT obtains the optical powers corresponding to the multiple optical network devices, the OLT allocates the optical powers corresponding to the multiple optical network devices to the multiple optical network devices in the dynamic bandwidth allocation DBA cycle for use in the dynamic bandwidth allocation DBA cycle. The uplink light-emitting time slot for sending the uplink optical signal;
其中,所述多个光网络设备中第j个光网络设备发送上行光信号的上行发光时隙早于第j+1个光网络设备发送上行光信号的上行发光时隙,且第j个光网络设备对应的光功率小于第j+1个的光网络设备对应的光功率,j取值为小于n的整数,n等于与所述OLT通信的光网络设备的数量。或者,还可以是所述多个光网络设备被划分为M个组,一个组包括至少一个光网络设备,第i组包括的任一光网络设备发送上行光信号的上行发光时隙早于第i+1组包括的任一光网络设备发送上行光信号的上行发光时隙,且第i组包括的任一光网络设备对应的光功率小于第i+1组包括的任一光网络设备对应的光功率,M为大于1的整数,i取值为小于M的整数。Among the plurality of optical network devices, the uplink light-emitting time slot of the jth optical network device for sending the uplink optical signal is earlier than the uplink light-emitting time slot of the j+1th optical network device to send the uplink optical signal, and the jth optical network device transmits the uplink light-emitting time slot of the uplink optical signal earlier. The optical power corresponding to the network device is less than the optical power corresponding to the j+1th optical network device, where j is an integer less than n, where n is equal to the number of optical network devices communicating with the OLT. Alternatively, the multiple optical network devices may also be divided into M groups, one group includes at least one optical network device, and the uplink light-emitting time slot of any optical network device included in the i-th group to send the uplink optical signal is earlier than the i+th light-emitting time slot. Any optical network device included in group 1 sends an uplink light-emitting time slot of an uplink optical signal, and the optical power corresponding to any optical network device included in the i-th group is less than the optical power corresponding to any optical network device included in the i+1-th group, and M is greater than 1 is an integer, i is an integer less than M.
本申请实施例中通过比较各个ONT发送的上行光信号到达OLT的光功率大小,来确定各个ONT发送上行光信号的顺序,从而使得光功率较大的ONT发送光信号时间晚于光功率较小的OTN发送光信号的时间。进而避免光功率较大的ONT在光功率较小的OTN之前发送,对光功率较小的OTN发送的光信号的接收产生影响。或者对各个ONT进行分组,使得属于同一组中的光功率大小相差较小,同一组的ONT之间的光信号之间基本不会产生影响,基于分组结果来确定各个组发送上行光信号的顺序,使得光功率较大的ONT发送光信号时间晚于光功率较小的OTN发送光信号的时间,从而也可以避免光功率较大的ONT在光功率较小的OTN之前发送,对光功率较小的OTN发送的光信号的接收产生影响。In the embodiment of the present application, the order in which each ONT sends the uplink optical signal is determined by comparing the optical power of the uplink optical signal sent by each ONT to the OLT, so that the ONT with higher optical power sends the optical signal later than the lower optical power. The time when the OTN sends the optical signal. In this way, it is avoided that the ONT with larger optical power transmits before the OTN with smaller optical power, which affects the reception of the optical signal sent by the OTN with smaller optical power. Or group each ONT so that the optical powers in the same group differ little, and the optical signals between the ONTs in the same group will not be affected. The order in which each group sends uplink optical signals is determined based on the grouping result. , so that the ONT with higher optical power sends the optical signal later than the OTN with lower optical power sends the optical signal, which can also prevent the ONT with higher optical power from sending the optical signal before the OTN with lower optical power. The reception of the optical signal sent by the small OTN has an impact.
在一种可能的设计中,所述DBA周期包括保护时间间隔,所述保护时间间隔位于为最后一个发送上行光信号的光网络设备分配的上行发光时隙后,或者位于为第一个发送上行光信号的光网络设备分配的上行发光时隙前。通过上述设计,能够避免前后两个DBA上行周期交界处,前面光功率较大的光信号影响后面光功率较小的光信号,进而提高光信号接收质量。In a possible design, the DBA period includes a guard time interval, and the guard time interval is located after the upstream light-emitting time slot allocated for the last optical network device that sends the upstream optical signal, or after the first upstream light-emitting time slot that sends the upstream optical signal Before the upstream light-emitting time slot allocated by the optical network equipment of the optical signal. Through the above design, it can be avoided that at the junction of the two DBA uplink periods before and after, the optical signal with higher optical power in the front affects the optical signal with lower optical power in the rear, thereby improving the receiving quality of the optical signal.
第二方面,本申请实施例提供了一种装置,该装置可以是OLT,也可以是其它能够支持OLT实现该方法的装置,例如是可以OLT中的装置,该装置包括获取模块和调整模块,这些模块可以执行第一方面或第一方面的任一种设计示例中的OLT的相应功能,所述OLT可以与多个光网络设备通信。所述光网络设备为光网络终端ONT或者光网络单元ONU,具体的:In the second aspect, an embodiment of the present application provides a device, which may be an OLT, or other devices that can support the OLT to implement the method, such as a device that can be used in the OLT, and the device includes an acquisition module and an adjustment module, These modules may perform the corresponding functions of the OLT in the first aspect or any one of the design examples of the first aspect, and the OLT may communicate with a plurality of optical network devices. The optical network device is an optical network terminal ONT or an optical network unit ONU, specifically:
获取模块,用于获取所述多个光网络设备分别对应的光功率,其中,第一光网络设备对应的光功率为所述OLT接收所述第一光网络设备发送的光信号的功率,或者为所述第一光网络设备接收所述OLT发送的光信号的功率,所述第一光网络设备为所述多个光网络设备中的一个;an acquisition module, configured to acquire the optical powers corresponding to the multiple optical network devices respectively, wherein the optical power corresponding to the first optical network device is the power of the optical signal sent by the OLT to receive the first optical network device, or receiving the power of the optical signal sent by the OLT for the first optical network device, where the first optical network device is one of the multiple optical network devices;
调整模块,用于根据多个光网络设备分别对应的光功率为所述多个光网络设备分配在动态带宽分配DBA周期中用于发送上行光信号的上行发光时隙。The adjustment module is configured to allocate, according to the respective optical powers of the plurality of optical network devices, an uplink light-emitting time slot for sending the uplink optical signal in the dynamic bandwidth allocation DBA period to the plurality of optical network devices.
在一种可能的设计中,所述多个光网络设备中第j个光网络设备发送上行光信号的时间早于第j+1个光网络设备发送上行光信号的时间,且第j个光网络设备对应的光功率小于第j+1个的光网络设备对应的光功率,j取值为小于n的整数,n等于与所述OLT通信的光网络设备的数量。In a possible design, the time when the jth optical network device among the multiple optical network devices sends the uplink optical signal is earlier than the time when the j+1th optical network device sends the uplink optical signal, and the jth optical network device sends the uplink optical signal earlier than the j+1th optical network device. The optical power corresponding to the network device is less than the optical power corresponding to the j+1th optical network device, where j is an integer less than n, where n is equal to the number of optical network devices communicating with the OLT.
在另一种可能的设计中,所述多个光网络设备被划分为M个组,一个组包括至少一个光网络设备,第i组包括的任一光网络设备发送上行光信号的时间早于第i+1组包括的任一光网络设备发送上行光信号的时间,且第i组包括的任一光网络设备对应的光功率小于第i+1组包括的任一光网络设备对应的光功率,M为大于1的整数,i取值为小于M的整数。In another possible design, the multiple optical network devices are divided into M groups, one group includes at least one optical network device, and any optical network device included in the i-th group sends an uplink optical signal earlier than the i-th optical network device The time when any optical network device included in the +1 group sends the uplink optical signal, and the optical power corresponding to any optical network device included in the i-th group is smaller than the optical power corresponding to any optical network device included in the i+1-th group, M is an integer greater than 1 , i is an integer less than M.
示例性的,所述DBA周期可以包括保护时间间隔,所述保护时间间隔可以位于为最后一个发送上行光信号的光网络设备分配的上行发光时隙后,也可以位于为第一个发送上行光信号的光网络设备分配的上行发光时隙前。Exemplarily, the DBA period may include a guard time interval, and the guard time interval may be located after the uplink light-emitting time slot allocated for the last optical network device that sends the uplink optical signal, or may be located after the first uplink optical network device that sends the uplink optical signal. Signal before the upstream light-emitting time slot allocated by the optical network equipment.
第三方面,本申请实施例还提供了一种装置,该装置可以是OLT,用于实现第一方面描述的方法;该装置也可以是其它能够支持OLT实现第一方面描述的方法的装置,例如是可以设置在OLT中的装置。其中,可以是设置在OLT中的芯片系统、模块或电路等,本申请对此不作具体限定。所述装置包括处理器,用于实现上述第一方面描述的方法中OLT的功能。所述装置还可以包括存储器,用于存储程序指令和数据。所述存储器与所述处理器耦合,所述处理器调用并执行所述存储器中存储的程序指令,用于实现上述第一方面描述的方法中OLT的功能。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信。示例性地,该其它设备为ONT或者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 ONT or 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和多个ONT(或者ONU)。一方面,ONT用于向OLT发送光信号,OLT用于接收光信号,并基于光信号执行上述第一方面或者第一方面的任一设计所述的方法。另一方面,OLT向多个ONT分别发送光信号,每个ONT确定接收光信号的光功率并通知给OLT,从而OLT基于每个ONT的光功率执行上述第一方面或者第一方面的任一设计所述的方法。In a seventh aspect, an embodiment of the present application provides a system, where the system includes an OLT and a plurality of ONTs (or ONUs). In one aspect, the ONT 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. On the other hand, the OLT sends optical signals to multiple ONTs respectively, and each ONT determines the optical power of the received optical signal and notifies the OLT, so that the OLT performs the first aspect or any one of the first aspect based on the optical power of each ONT Design the method described.
附图说明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为本申请实施例提供的一种对光网络设备上行发光时隙的分配方法流程示意图;2 is a schematic flowchart of a method for allocating uplink light-emitting time slots to optical network equipment according to an embodiment of the present application;
图3为本申请实施例提供的一种DBA周期中不同的ONT光功率对应的发送上行光信号的顺序示意图;3 is a schematic diagram of a sequence of sending uplink optical signals corresponding to different ONT optical powers in a DBA cycle provided by an embodiment of the present application;
图4A和图4B为本申请实施例提供的一种保护时间间隔示意图;4A and 4B are schematic diagrams of a guard time interval provided by an embodiment of the present application;
图5为本申请实施例提供的另一种DBA周期中不同的ONT光功率对应的发送上行光信号的顺序示意图;5 is a schematic diagram of the sequence of sending uplink optical signals corresponding to different ONT optical powers in another DBA cycle provided by an embodiment of the present application;
图6A和图6B为本申请实施例提供的一种保护时间间隔示意图;6A and 6B are schematic diagrams of a guard time interval provided by an embodiment of the present application;
图7为本申请实施例提供的装置700结构示意图;FIG. 7 is a schematic structural diagram of an apparatus 700 provided by an embodiment of the present application;
图8为本申请实施例提供的OLT800结构示意图。FIG. 8 is a schematic structural diagram of an OLT800 provided by an embodiment of the present application.
具体实施方式Detailed ways
本发明实施例可以应用于光通信系统中,光通信系统可以是TDM PON系统。TDMPON系统可以是吉比特无源光网络(gigabit-capable PON,GPON)系统、以太网无源光网络(ethernet PON,EPON)系统、10G以太无源光网络(10Gb/s ethernet passive opticalnetwork,10G-EPON)系统、10G比特无源光网络(10gigabit-capable passive opticalnetwork,XG-PON)系统或者10G比特对称无源光网络(10-gigabit-capable symmetricpassive optical network,XGS-PON)系统等。The embodiments of the present invention may be applied to an optical communication system, and the optical communication system may be a TDM PON system. The TDMPON system can be a gigabit-capable PON (GPON) system, an Ethernet passive optical network (ethernet PON, EPON) system, a 10G Ethernet passive optical network (10Gb/s ethernet passive optical network, 10G- EPON) system, 10Gbit passive optical network (10gigabit-capable passive optical network, XG-PON) system or 10Gbit symmetric passive optical network (10-gigabit-capable symmetricpassive optical network, XGS-PON) system and so on.
光通信系统中至少包括OLT和多个ONT,OLT分别与多个ONT进行通信。本申请实施例中光通信系统也可以包括OLT和多个ONU,OLT分别与多个ONU进行通信,本申请实施例中对此不作具体限定,后续以ONT为例进行说明。参见图1所示,OLT通过分光器与n个ONT通信。图1中,n个ONT分别为ONT1、ONT2、......、ONTn。The optical communication system includes at least an OLT and a plurality of ONTs, and the OLT communicates with the plurality of ONTs respectively. The optical communication system in the embodiment of the present application may also include an OLT and multiple ONUs, and the OLT communicates with the multiple ONUs respectively, which is not specifically limited in the embodiment of the present application, and the ONT is used as an example for description in the following. Referring to Figure 1, the OLT communicates with n ONTs through an optical splitter. In FIG. 1, the n ONTs are respectively ONT1, ONT2, . . . , ONTn.
目前,各个ONT发送上行光信号的顺序,通常由各个ONT在系统中的上线先后顺序决定或者人工设置的ONT发送上行光信号的顺序,也就是说,在动态带宽分配(dynamicallybandwidth assignment,DBA)周期中,OLT为各个ONT分配的时隙所对应时间顺序是ONT的上线先后顺序,或者人工配置的ONT发送上行光信号的顺序。各个ONT本身发射光功率的差异性比较小,但是由于不同ONT到OLT之间,由于距离、连接器、连接质量等不同造成的传输链路的不同,从而不同ONT发送的光信号到达OLT的光衰减也不同,进而各个ONT发送的上行光信号到达OLT的光功率也会有差异。At present, the order in which each ONT sends the upstream optical signal is usually determined by the online order of each ONT in the system or the order in which the ONT sends the upstream optical signal manually set, that is, in the dynamic bandwidth assignment (dynamically bandwidth assignment, DBA) cycle , the time sequence corresponding to the time slots allocated by the OLT to each ONT is the online order of the ONTs, or the order in which the manually configured ONTs send upstream optical signals. The difference in the optical power emitted by each ONT itself is relatively small, but due to the difference in transmission links between different ONTs and OLTs, due to differences in distance, connector, connection quality, etc., the optical signals sent by different ONTs reach the optical signal of the OLT. The attenuation is also different, and thus the optical power of the upstream optical signals sent by each ONT reaching the OLT will also be different.
当发送光信号的顺序相邻的两个ONT发送的上行光信号到达OLT时,如果前面的ONT发送的上行光信号到达OLT的光功率P1小于后面ONT发送的光信号到达OLT的光功率P2,即P1<P2;或者前面ONT发送的光信号到达OLT的光功率P1稍稍大于后面ONT发送的光信号到达OLT的光功率P2,即P1-P2<功率阈值,功率阈值为OLT接收的前面ONT发送的发信号不对接收后面ONT的光信号产生影响的经验值,在上述两种情况下,发送的光信号基本不受影响。When the upstream optical signals sent by two adjacent ONTs in the order of sending optical signals reach the OLT, if the optical power P1 of the upstream optical signal sent by the previous ONT to the OLT is less than the optical power P2 of the optical signal sent by the later ONT to the OLT, That is, P1<P2; or the optical power P1 of the optical signal sent by the previous ONT reaching the OLT is slightly larger than the optical power P2 of the optical signal sent by the later ONT reaching the OLT, that is, P1-P2<power threshold, the power threshold is the previous ONT sent by the OLT. The empirical value that the transmitted signal does not affect the optical signal received by the following ONT. In the above two cases, the transmitted optical signal is basically unaffected.
但是,若前面ONT发送的上行光信号到达OLT的光功率P1远大于后面ONT发送的上行光信号到达OLT的光功率P2,即P1远大于P2,则OLT接收到的前面ONT发送的上行光信号可能对接收的后面ONT发送的光信号产生影响,由于在接收后面ONT发送的上行光信号时,而OLT对前面接收的ONT的光功率进行放电处理,因此前面接收的ONT的上行光信号的光功率较高时,放电时间较长,对接收到后面ONT的光功率较小的光信号的影响较大,可能产生误码,或者导致丢包。However, if the optical power P1 of the upstream optical signal sent by the previous ONT reaching the OLT is much greater than the optical power P2 of the upstream optical signal sent by the later ONT reaching the OLT, that is, P1 is much larger than P2, then the upstream optical signal sent by the previous ONT received by the OLT It may affect the received optical signal sent by the later ONT. When receiving the upstream optical signal sent by the later ONT, the OLT discharges the optical power of the previously received ONT. Therefore, the optical power of the upstream optical signal of the previously received ONT is When the power is higher, the discharge time is longer, which has a greater impact on the optical signal received by the following ONT with lower optical power, which may cause bit errors or packet loss.
以图1所示为例,ONT1发送的上行光信号到达OLT的光功率为P1,ONT2发送的上行光信号到达OLT的光功率为P2,ONT3发送的上行光信号到达OLT的光功率为P3。其中,ONT1、ONT2和ONT3发送上行光信号的顺序分别为ONT1、ONT2、ONT3,P1<P2,P2>P3。OLT接收到的ONT1的上行光信号不会影响OLT对ONT2的上行光信号的接收,而由于P2>P3且P2与P3相差较大,因此OLT接收到的ONT1的上行光信号会影响OLT接收对ONT2的上行光信号的接收。Taking Figure 1 as an example, the optical power of the upstream optical signal sent by ONT1 to the OLT is P1, the optical power of the upstream optical signal sent by ONT2 to the OLT is P2, and the optical power of the upstream optical signal sent by ONT3 to the OLT is P3. Wherein, the order in which ONT1, ONT2 and ONT3 send upstream optical signals are ONT1, ONT2, ONT3 respectively, P1<P2, P2>P3. The upstream optical signal of ONT1 received by the OLT will not affect the reception of the upstream optical signal of ONT2 by the OLT. Since P2>P3 and the difference between P2 and P3 is large, the upstream optical signal of ONT1 received by the OLT will affect the receiving pair of the OLT. Receive the upstream optical signal of ONT2.
为解决上述问题,现有一般采用动态调节各个ONT的发射光功率的方式,使得调整后的各个ONT发送的光信号到达OLT的光功率大小相当。一种方式是,预先为每个ONT配置一个光功率范围,ONT通过接收到的OLT发送的光信号的光功率大小来调整发射光功率大小,比如接收到的光功率位于光功率范围之外,且与光功率范围中的最小光功率相比偏小,意味着ONT对应的插损偏大,ONT可以调大发射光功率,反之,调小发射光功率。另一种方式是,OLT测试各个ONT发送的光信号到达OLT的实际光功率大小,如果发现某个ONT发送的光信号到达OLT的光功率位于光功率范围之外,且与光功率范围中的最小光功率相比偏小,可以向ONT发送指令,指示ONT增大发射光功率;如果发现偏大,可以发指令给ONT,指示ONT减小发射光功率。该种动态调整各个ONT的发射光功率大小的方式,需要针对多个ONT进行调整,可能需要多次调整,调整起来复杂度较高,成本较高。In order to solve the above-mentioned problem, the existing method of dynamically adjusting the transmit optical power of each ONT is generally adopted, so that the optical powers of the optical signals sent by the adjusted ONTs reaching the OLT are equivalent. One way is to configure an optical power range for each ONT in advance, and the ONT adjusts the transmitted optical power according to the optical power of the received optical signal sent by the OLT. For example, if the received optical power is outside the optical power range, And compared with the minimum optical power in the optical power range, it is small, which means that the insertion loss corresponding to the ONT is large. The ONT can increase the transmitted optical power, and vice versa, reduce the transmitted optical power. Another way is that the OLT tests the actual optical power of the optical signals sent by each ONT to the OLT. If the minimum optical power is too small, you can send an instruction to the ONT to instruct the ONT to increase the transmitted optical power; if it is found to be too high, you can send an instruction to the ONT to instruct the ONT to reduce the transmitted optical power. This method of dynamically adjusting the transmit optical power of each ONT needs to be adjusted for multiple ONTs, and may need to be adjusted multiple times, which is highly complex and expensive to adjust.
基于此,本申请实施例提供一种对光网络设备上行发光时隙的分配方法及装置,用以解决现有技术中存在的调整复杂度高,且成本较高的问题。本申请实施例中通过比较各个ONT发送的上行光信号到达OLT的光功率大小,来确定各个ONT发送上行光信号的顺序,从而使得光功率较大的ONT发送光信号时间晚于光功率较小的OTN发送光信号的时间。其中,方法和装置是基于同一发明构思的,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。Based on this, the embodiments of the present application provide a method and apparatus for allocating uplink light-emitting time slots to optical network equipment, so as to solve the problems of high adjustment complexity and high cost in the prior art. In the embodiment of the present application, the order in which each ONT sends the uplink optical signal is determined by comparing the optical power of the uplink optical signal sent by each ONT to the OLT, so that the ONT with higher optical power sends the optical signal later than the lower optical power. The time when the OTN sends the optical signal. 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.
需要说明的是,本申请涉及的多个,是指两个或两个以上。另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。It should be noted that the plural referred to in this application refers to two or more. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and should not be understood as indicating or implying relative importance, nor should it be understood as indicating or implied order.
下面对本申请实施例提供的方案进行详细说明。The solutions provided by the embodiments of the present application will be described in detail below.
参见图2所示,为本申请实施例提供的对光网络设备上行发光时隙的分配方法的流程示意图。以OLT与n个ONT通信为例。Referring to FIG. 2 , it is a schematic flowchart of a method for allocating uplink light-emitting time slots to an optical network device according to an embodiment of the present application. Take the communication between the OLT and n ONTs as an example.
S201,OLT获取所述n个ONT分别对应的光功率。其中,第j个ONT对应的光功率为所述OLT与所述第j个ONT进行通信的接收光功率。j取值为小于n的整数。S201, the OLT acquires the optical powers corresponding to the n ONTs respectively. Wherein, the optical power corresponding to the jth ONT is the received optical power for the communication between the OLT and the jth ONT. j is an integer less than n.
示例性地,所述OLT与所述第j个ONT通信的接收光功率,可以是OLT接收到所述第j个ONT发送的光信号的功率,还可以是第j个ONT接收到所述OLT发送的OLT发送的光信号的功率。Exemplarily, the received optical power of the communication between the OLT and the jth ONT may be the power at which the OLT receives an optical signal sent by the jth ONT, or the jth ONT receives the OLT. The power of the optical signal sent by the OLT.
进一步地,所述OLT获取所述n个ONT分别对应的光功率,可以通过如下方式实现:Further, obtaining the optical powers corresponding to the n ONTs by the OLT may be implemented in the following manner:
方式一:method one:
所述OLT测量接收到的n个ONT分别发送的光信号的光功率。The OLT measures the optical power of the received optical signals respectively sent by the n ONTs.
方式二:Method two:
所述OLT接收n个ONT中每个ONT反馈的该ONT接收到OLT发送的光信号的光功率。示例性的,第j个ONT测量接收到的OLT发送的光信号的光功率,并将测量到的光功率反馈给OLT。The OLT receives the optical power of the optical signal sent back by the ONT received by each ONT among the n ONTs. Exemplarily, the jth ONT measures the received optical power of the optical signal sent by the OLT, and feeds back the measured optical power to the OLT.
S202,所述OLT根据n个ONT分别对应的光功率为所述多个ONT分配在DBA周期中用于发送上行光信号的上行发光时隙。S202, the OLT allocates, according to the optical powers corresponding to the n ONTs respectively, to the plurality of ONTs an uplink light-emitting time slot used for sending an uplink optical signal in the DBA cycle.
OLT为n个ONT分配上行发光时隙之后,分别通知给各个ONT,从而各个ONT基于OLT分配的上行发光时隙向OLT发送上行光信号。After the OLT allocates the upstream light-emitting time slot to the n ONTs, it notifies each ONT respectively, so that each ONT sends the upstream optical signal to the OLT based on the upstream light-emitting time slot allocated by the OLT.
在一种可能的实施方式中,所述OLT根据n个ONT分别对应的光功率为所述多个ONT分配在DBA周期中用于发送上行光信号的上行发光时隙,可以是OLT根据n个ONT分别对应的光功率的大小排列顺序,为所述多个ONT分配在DBA周期中用于发送上行光信号的上行发光时隙。In a possible implementation manner, the OLT allocates uplink light-emitting time slots for sending uplink optical signals in the DBA cycle to the plurality of ONTs according to the optical powers corresponding to the n ONTs, which may be the OLT according to the n ONTs. The order of the size of the optical powers corresponding to the ONTs, respectively, allocates the uplink light-emitting time slots for sending the uplink optical signals in the DBA cycle to the plurality of ONTs.
其中,所述n个ONT中第j个ONT发送上行光信号的时间早于第j+1个ONT发送上行光信号的时间,且第j个ONT对应的光功率小于第j+1个的ONT对应的光功率,j取值为小于n的整数。Among the n ONTs, the time when the jth ONT sends the uplink optical signal is earlier than the time when the j+1th ONT sends the uplink optical signal, and the optical power corresponding to the jth ONT is less than the j+1th ONT For the corresponding optical power, j is an integer less than n.
另外,所述n个ONT中第j个ONT发送上行光信号的时间早于第j+1个ONT发送上行光信号的时间,可以描述为所述n个ONT中第j个ONT发送上行光信号的上行发光时隙早于第j+1个ONT发送上行光信号的上行发光时隙。In addition, the time when the jth ONT among the n ONTs sends the upstream optical signal is earlier than the time when the j+1th ONT sends the upstream optical signal, which can be described as the jth ONT among the n ONTs sending the upstream optical signal The upstream light-emitting time slot of j+1 is earlier than the upstream light-emitting time slot of the j+1 th ONT sending the upstream optical signal.
示例性的,以4个ONT为例,4个ONT对应的接收光功率大小排列顺序,参见图3所示。图3中,通过矩形框的高度来表明各个ONT对应接收光功率大小,即ONT3<ONT1<ONT 4<ONT 2。Illustratively, taking 4 ONTs as an example, the order of received optical power corresponding to the 4 ONTs is shown in FIG. 3 . In FIG. 3 , the received optical power corresponding to each ONT is indicated by the height of the rectangular frame, that is, ONT3 < ONT1 < ONT 4 < ONT 2 .
基于此,OLT为4个ONT分配的上行发光时隙的时间顺序,参见图3所示。Based on this, the time sequence of the uplink light-emitting time slots allocated by the OLT to the four ONTs is shown in FIG. 3 .
另外,为了避免前后两个DBA上行周期交界处,前面光功率较大的光信号影响后面光功率较小的光信号,可以在所述DBA周期中配置保护时间间隔。该保护时间间隔可以位于DBA周期的尾部,即位于为最后一个发送上行光信号的OTN分配的上行发光时隙后。该保护时间间隔也可以位于DBA周期的头部,即也可以位于为第一个发送上行光信号的ONT分配的上行发光时隙前。以图3所示的为4个ONT分配的上行发光时隙的时间顺序为例,则该保护时间间隔位于DBA周期的尾部时,参见图4A所示,保护时间间隔位于为DBA周期中最晚发送上行光信号的ONT2分配的上行发光时隙后。若保护间隔位于DBA周期的头部,参见图4B所示,保护间隔位于为DBA周期最早发送上行光信号的ONT3分配的上行发光时隙前。In addition, in order to prevent the optical signal with higher optical power in the front from affecting the optical signal with lower optical power in the back at the junction of the two DBA uplink periods before and after, a guard time interval can be configured in the DBA period. The guard time interval may be located at the end of the DBA period, that is, after the upstream light-emitting time slot allocated for the last OTN that sends the upstream optical signal. The guard time interval can also be located at the head of the DBA cycle, that is, it can also be located before the upstream light-emitting time slot allocated for the first ONT that sends the upstream optical signal. Taking the time sequence of the uplink light-emitting time slots allocated for 4 ONTs as shown in FIG. 3 as an example, when the guard time interval is located at the end of the DBA cycle, referring to FIG. 4A , the guard time interval is located at the latest in the DBA cycle. After the upstream light-emitting time slot allocated by the ONT2 that sends the upstream optical signal. If the guard interval is located at the head of the DBA cycle, as shown in FIG. 4B , the guard interval is located before the upstream light-emitting time slot allocated for the ONT3 that sends the upstream optical signal earliest in the DBA cycle.
在保护时间间隔不分配给任何ONT用来发送上行光信号。从而OLT可以在保护时间间隔中实现从光功率较大光信号到光功率较小的光信号的切换和调整,从而避免前面光功率较大的光信号对后面相邻的光功率较小的光信号的接收产生的影响。The guard time interval is not allocated to any ONT for sending upstream optical signals. Therefore, the OLT can realize the switching and adjustment from the optical signal with higher optical power to the optical signal with lower optical power in the guard time interval, so as to avoid the optical signal with higher optical power in front of the adjacent optical signal with lower optical power. effect on the reception of the signal.
在另一种可能的实施方式中,所述OLT根据n个ONT分别对应的光功率在DBA周期为所述n个ONT分配用于发送上行光信号的上行发光时隙,也可以是OLT根据n个ONT分别对应的光功率对n个ONT进行分组。比如n个ONT分为M个组,每个组中包括至少一个ONT。每个组对应一个光功率范围,不同组对应的光功率范围之间不存在重叠,为各个组分配的上行发光时隙的时间先后顺序也就是光功率范围的由小到大的排列顺序。换句话说,第i组包括的任一ONT发送上行光信号的时间早于第i+1组包括的任一ONT发送上行光信号的时间,且第i组包括的任一ONT对应的光功率小于第i+1组包括的任一ONT对应的光功率,i取值为小于M的整数。In another possible implementation manner, the OLT allocates an uplink light-emitting time slot for sending an uplink optical signal to the n ONTs in the DBA cycle according to the optical powers corresponding to the n ONTs respectively, or the OLT may be based on n ONTs. The optical powers corresponding to the ONTs respectively group the n ONTs. For example, n ONTs are divided into M groups, and each group includes at least one ONT. Each group corresponds to an optical power range, and there is no overlap between the optical power ranges corresponding to different groups. The time sequence of the uplink light-emitting time slots allocated to each group is the order of the optical power ranges from small to large. In other words, the time when any ONT included in the i-th group sends the upstream optical signal is earlier than the time when any ONT included in the i+1-th group sends the upstream optical signal, and the optical power corresponding to any ONT included in the i-th group is less than the optical power corresponding to any ONT included in the i+1th group, where i is an integer less than M.
其中,在将n个ONT分别对应的光功率分为多个范围时,可以尽量保证属于同一范围的最大光功率对应的光信号与最小光功率对应的光信号之间的影响是系统可以接受的。Among them, when the optical power corresponding to the n ONTs is divided into multiple ranges, it can be ensured that the influence between the optical signal corresponding to the maximum optical power and the optical signal corresponding to the minimum optical power belonging to the same range is acceptable to the system. .
示例性地,以将n个ONT分别对应的光功率分为两个光功率范围为例。比如,将小于某个光功率值称为小光段,大于等于这个光功率值的称为大光段。光功率值位于小光段的ONT属于一组,光功率值位于大光段的ONT属于另一组。为了描述方便,将光功率值位于小光段的ONT所属的组称为小光段组,将光功率值位于大光段的ONT所属的组称为大光段组。OLT在为属于同一组的ONT分配上行发光时隙时,可以不限定该组中OTN的发光时隙的排列顺序,可以根据该组包括的ONT的上线顺序确定该组中包括的OTN的上行发光时隙的时间先后顺序。当然还可以自定义该组包括的ONT的上行发光时隙的时间先后顺序,本申请实施例中对此不作具体限定。Exemplarily, take the optical power corresponding to the n ONTs divided into two optical power ranges as an example. For example, a value less than a certain optical power is called a small optical segment, and an optical power value greater than or equal to this value is called a large optical segment. The ONTs whose optical power values are located in the small optical segment belong to one group, and the ONTs whose optical power values are located in the large optical segment belong to another group. For convenience of description, the group to which the ONTs whose optical power values are located in the small optical segment belong is called the small optical segment group, and the group to which the ONTs whose optical power value is located in the large optical segment belongs is called the large optical segment group. When the OLT allocates the upstream light-emitting time slots to the ONTs belonging to the same group, it may not limit the arrangement order of the light-emitting time slots of the OTNs in the group, and may determine the upstream light-emitting time slots of the OTNs included in the group according to the online order of the ONTs included in the group The chronological order of the time slots. Of course, the time sequence of the uplink light-emitting time slots of the ONTs included in the group can also be customized, which is not specifically limited in this embodiment of the present application.
比如对于属于小光段组的ONT,可以按照小光段组包括的ONT的上线的从前往后的排列顺序作为小光段组包括的ONT的上行发光时隙的时间先后顺序。对于属于大光段的组ONT,可以按照大光段组包括的ONT的上线的从后往前的排列顺序作为大光段组包括的ONT的上行发光时隙的时间先后顺序。For example, for the ONTs belonging to the small optical segment group, the chronological order of the uplink light-emitting time slots of the ONTs included in the small optical segment group can be taken as the chronological order of the ONTs included in the small optical segment group from front to back. For group ONTs belonging to a large optical segment, the chronological sequence of the upstream light-emitting time slots of the ONTs included in the large optical segment group can be taken according to the back-to-front arrangement order of the online ONTs included in the large optical segment group.
示例性的,以4个ONT为例,分别为ONT1-ONT4,ONT1和ONT3属于小光段组,ONT2和ONT4属于大光段组。4个ONT对应的接收光功率大小排列顺序为ONT3<ONT1<ONT 4<ONT2。针对同一组包括的ONT,下面以上线顺序来确定分配的上行发光时隙的时间先后顺序为例,比如4个ONT的上线先后顺序为ONT1、ONT2、ONT3、ONT4。Exemplarily, taking 4 ONTs as an example, they are ONT1-ONT4, ONT1 and ONT3 belong to the small optical segment group, and ONT2 and ONT4 belong to the large optical segment group. The order of the received optical power corresponding to the four ONTs is ONT3 < ONT1 < ONT 4 < ONT2 . For the ONTs included in the same group, the following is an example of determining the time sequence of the allocated upstream light-emitting time slots based on the online sequence. For example, the online sequence of four ONTs is ONT1, ONT2, ONT3, and ONT4.
ONT1属于小光段组,则为ONT1分配的上行发光时隙在DBA周期中的时间最早。ONT2属于大光段组,则为ONT1分配的上行发光时隙在DBA周期中的时间最晚。ONT3属于小光段组,则为ONT3分配的上行发光时隙位于ONT1的上行发光时隙之后,ONT4属于大光段组,则为ONT4分配的上行发光时隙位于ONT2的上行发光时隙之前,但不早于ONT3分配的上行发光时隙,参见图5所示。图5中通过矩形框的高度来表明各个ONT对应接收光功率大小。需要说明的是,虽然ONT3的光功率小于ONT1,但ONT3和ONT1属于同一组,并且属于同一组中ONT的光信号之间影响较小,可以忽略,因此,可以不把ONT3调整到ONT1之前,而是把它放在ONT1之后。ONT1 belongs to the small optical segment group, and the upstream light-emitting time slot allocated to ONT1 has the earliest time in the DBA cycle. ONT2 belongs to the large optical segment group, and the upstream light-emitting time slot allocated to ONT1 is the latest in the DBA cycle. ONT3 belongs to the small optical segment group, the upstream light-emitting time slot allocated to ONT3 is located after the upstream light-emitting time slot of ONT1, and ONT4 belongs to the large optical segment group, the upstream light-emitting time slot allocated to ONT4 is located before the upstream light-emitting time slot of ONT2. But not earlier than the upstream light-emitting time slot allocated by ONT3, as shown in FIG. 5 . In FIG. 5 , the received optical power corresponding to each ONT is indicated by the height of the rectangular frame. It should be noted that although the optical power of ONT3 is smaller than that of ONT1, ONT3 and ONT1 belong to the same group, and the optical signals of ONTs in the same group have little influence and can be ignored. Therefore, it is not necessary to adjust ONT3 to ONT1. Instead put it after ONT1.
另外,为了避免前后两个DBA上行周期交界处,前面光功率较大的光信号影响后面光功率较小的光信号,可以在所述DBA周期中配置保护时间间隔。该保护时间间隔可以位于DBA周期的尾部,即位于为最后一个发送上行光信号的OTN分配的上行发光时隙后。该保护时间间隔也可以位于DBA周期的头部,即也可以位于为第一个发送上行光信号的ONT分配的上行发光时隙前。以图5所示的为4个ONT分配的上行发光时隙的时间顺序为例,则该保护时间间隔位于DBA周期的尾部时,参见图6A所示,保护时间间隔位于为DBA周期中最晚发送上行光信号的ONT2分配的上行发光时隙后。若保护间隔位于DBA周期的头部,参见图6B所示,保护间隔位于为DBA周期最早发送上行光信号的ONT1分配的上行发光时隙前。In addition, in order to prevent the optical signal with higher optical power in the front from affecting the optical signal with lower optical power in the back at the junction of the two DBA uplink periods before and after, a guard time interval can be configured in the DBA period. The guard time interval may be located at the end of the DBA period, that is, after the upstream light-emitting time slot allocated for the last OTN that sends the upstream optical signal. The guard time interval can also be located at the head of the DBA cycle, that is, it can also be located before the upstream light-emitting time slot allocated for the first ONT that sends the upstream optical signal. Taking the time sequence of the uplink light-emitting time slots allocated for 4 ONTs as shown in FIG. 5 as an example, when the guard time interval is located at the end of the DBA cycle, referring to FIG. 6A , the guard time interval is located at the latest in the DBA cycle. After the upstream light-emitting time slot allocated by the ONT2 that sends the upstream optical signal. If the guard interval is located at the head of the DBA cycle, as shown in FIG. 6B , the guard interval is located before the upstream light-emitting time slot allocated for the ONT1 that sends the upstream optical signal earliest in the DBA cycle.
基于与上述实施例同样的发明构思,本申请实施例还提供了一种装置。该装置应用于OLT。该装置具体可以是处理器、芯片、芯片系统,或是用于发送的功能模块等。如图7所示,所述装置包括获取模块701、调整模块702;其中,获取模块701用于执行S201,调整模块702用于执行S202。可选地,上述两个模块还可以执行前述任一实施例提及的OLT执行的其他相关可选步骤,此处不再赘述。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. 7 , the apparatus includes an
本申请实施例中对模块的划分是示意性的,仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。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结构,如图8所示,OLT800包括通信接口810、处理器820以及存储器830。This embodiment of the present application further provides an OLT structure. As shown in FIG. 8 , the
上述图7中所示的获取模块701、调整模块702均可以由处理器820实现。处理器820通过通信接口810接收光信号,并用于实现图2中的OLT所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器820中的硬件的集成逻辑电路或软件形式的指令完成上述任一实施例中OLT所执行的方法。The
本申请实施例中通信接口810可以是电路、总线、收发器或其它任意可以用于进行信息交互的装置。其中,示例性地,该其它装置可以是与该设备800相连的设备,比如其它装置可以是ONT或者ONU。In this embodiment of the present application, the
本申请实施例中处理器820可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件,可以实现或执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或用处理器中的硬件及软件单元组合执行完成。处理器820用于实现上述方法所执行的程序代码可以存储在存储器830中。存储器830和处理器820耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器820可能和存储器830协同操作。存储器830可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-statedrive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器830是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。In this embodiment of the present application, the
本申请实施例中不限定上述通信接口810、处理器820以及存储器830之间的具体连接介质。本申请实施例在图8中以存储器830、处理器820以及通信接口810之间通过总线连接,总线在图8中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the
基于以上实施例,本申请实施例还可以提供了一种系统,该系统中包括OLT以及多个ONT(或者ONU)。OLT用于向ONT发送光信号或者接收ONT发送的光信号。Based on the above embodiments, the embodiments of the present application may further provide a system including an OLT and a plurality of ONTs (or ONUs). The OLT is used to send optical signals to the ONT or receive optical signals sent by the ONT.
一种可能的实施方式中,ONT向OLT发送光信号,OLT针对接收到的ONT发送的光信号,执行上述任一实施例中OLT所执行的方法,获取接收多个ONT发送的光信号的光功率,从而根据光功率在DBA周期为每个ONT分配上行发光时隙,具体分配方式可以参见上述方法实施例中的详细描述,此处不再赘述。OLT将为每个ONT分配的上行发光时隙分别通知给各个ONT。从而ONT接收OLT发送的用于通知上行发送时隙的通知信息。ONT根据通知信息在对应的时间发送上行光信号。In a possible implementation manner, the ONT sends an optical signal to the OLT, and the OLT executes the method performed by the OLT in any of the foregoing embodiments for the received optical signal sent by the ONT, and obtains the optical signal that receives the optical signals sent by multiple ONTs. Therefore, according to the optical power, each ONT is allocated an uplink light-emitting time slot in the DBA period. For a specific allocation method, reference may be made to the detailed descriptions in the above method embodiments, which will not be repeated here. The OLT will notify each ONT of the uplink light-emitting time slot allocated to each ONT. Therefore, the ONT receives the notification information sent by the OLT for notifying the uplink transmission time slot. The ONT sends the uplink optical signal at the corresponding time according to the notification information.
一种可能的实施方式中,ONT接收OLT发送的光信号,根据接收的光信号确定接收信号的光功率,并将光功率发送给OLT。从而OLT根据每个ONT发送的光功率,在DBA周期中为多个ONT分配上行发光时隙,具体分配方式可以参见上述方法实施例中的详细描述,此处不再赘述。OLT将为每个ONT分配的上行发光时隙分别通知给各个ONT。从而ONT接收OLT发送的用于通知上行发送时隙的通知信息。ONT根据通知信息在对应的时间发送上行光信号。In a possible implementation manner, the ONT receives the optical signal sent by the OLT, determines the optical power of the received signal according to the received optical signal, and sends the optical power to the OLT. Therefore, the OLT allocates uplink light-emitting time slots to multiple ONTs in the DBA cycle according to the optical power sent by each ONT. For a specific allocation method, refer to the detailed description in the above method embodiments, which will not be repeated here. The OLT will notify each ONT of the uplink light-emitting time slot allocated to each ONT. Therefore, the ONT receives the notification information sent by the OLT for notifying the uplink transmission time slot. The ONT sends the uplink optical signal at the corresponding time according to the notification information.
基于以上实施例,本申请实施例还提供了一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括: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 (8)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/108752 WO2020062162A1 (en) | 2018-09-29 | 2018-09-29 | Method and apparatus for allocating uplink light-emitting time slots to optical network device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112771796A CN112771796A (en) | 2021-05-07 |
CN112771796B true CN112771796B (en) | 2022-05-10 |
Family
ID=69950187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880098177.6A Active CN112771796B (en) | 2018-09-29 | 2018-09-29 | A method and device for allocating uplink light-emitting time slots to optical network equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112771796B (en) |
WO (1) | WO2020062162A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118102144A (en) * | 2022-11-17 | 2024-05-28 | 中兴通讯股份有限公司 | Data transmission method, device, system, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499853A (en) * | 2008-01-30 | 2009-08-05 | 华为技术有限公司 | Optical path measuring method, optical network and network appliance |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101615956A (en) * | 2008-06-28 | 2009-12-30 | 华为技术有限公司 | Method and system for adjusting ONU and optical power |
US8326152B2 (en) * | 2010-04-15 | 2012-12-04 | Alcatel Lucent | System and method for scheduling timeslots for transmission by optical nodes in an optical network |
CN102523539A (en) * | 2011-12-15 | 2012-06-27 | 北京讯风光通信技术开发有限责任公司 | Passive optical network system having dynamic bandwidth allocation function |
KR20140011544A (en) * | 2012-07-04 | 2014-01-29 | (주)유비쿼스 | Method for detecting and removing error ont |
ES2664076T3 (en) * | 2013-12-09 | 2018-04-18 | Huawei Technologies Co., Ltd. | Apparatus and method for detecting an uplink optical signal |
-
2018
- 2018-09-29 WO PCT/CN2018/108752 patent/WO2020062162A1/en active Application Filing
- 2018-09-29 CN CN201880098177.6A patent/CN112771796B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499853A (en) * | 2008-01-30 | 2009-08-05 | 华为技术有限公司 | Optical path measuring method, optical network and network appliance |
Also Published As
Publication number | Publication date |
---|---|
CN112771796A (en) | 2021-05-07 |
WO2020062162A1 (en) | 2020-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10432626B2 (en) | Optical network unit ONU registration method, apparatus, and system | |
US8965206B2 (en) | Network system, station-side apparatus, and method of controlling communications | |
US20180316992A1 (en) | Dynamic bandwidth assignment method and apparatus, and passive optical network system | |
ES2705376T3 (en) | Method of control of data transmission, equipment and passive optical network device, and passive optical network | |
US9042407B2 (en) | Delivered-bandwidth adjustment method and module, and dynamic bandwidth assignment device | |
US10798472B2 (en) | Data transmission method, data receiving method, optical line terminal and optical network unit | |
CN102160342A (en) | Method and apparatus for configuring upgraded bandwidth map for ten gigabit passive optical network | |
US11026002B2 (en) | Method for managing ONU in passive optical network, OLT and system | |
JP2019515556A (en) | Channel bonding in multi-wavelength passive optical networks (PONs) | |
CN107395315A (en) | Distance-finding method, optical line terminal and optical network unit in a kind of EPON | |
EP2645608A1 (en) | Optical line terminal, optical network unit and passive optical network system | |
US9859975B2 (en) | Apparatus and method for detecting uplink optical signal | |
CN102377481B (en) | Distance-finding method in a kind of EPON and system | |
US10256910B2 (en) | Control and management of passive optical network reach extenders | |
WO2019128953A1 (en) | Single board of optical line terminal and optical line terminal | |
CN112771796B (en) | A method and device for allocating uplink light-emitting time slots to optical network equipment | |
US10320514B2 (en) | Method and apparatus for reducing preamble length in passive optical network (PON) systems | |
CN104981990A (en) | Uplink optical signal power detecting method, device, optical line terminal and optical network system | |
WO2024222033A1 (en) | Information request method, optical network unit, and optical line terminal | |
CN119450261A (en) | Bandwidth allocation method and device, electronic equipment and system | |
JP6093282B2 (en) | Optical communication system, communication control method, and station side optical line terminator | |
JP6093281B2 (en) | Optical communication system, signal transmission control method, and station side optical line termination device | |
WO2014134200A1 (en) | Bandwidth distribution based on prior granting cycles | |
US20250227398A1 (en) | Method for determining network connection relationship and communication apparatus | |
US20230403488A1 (en) | Optical bus communication method and system, device, and medium |
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 |