Light-emitting control method and apparatus, storage medium and electronic apparatus

By detecting the uplifting wavelength of ONU, it is not matched, indicating that it stops glowing and reports to the instruction information, solving the problem of onu using the error wavelength to affect other PON data transmission, ensuring the normal operation of the network.

WO2025020582A1PCT designated stage expired Publication Date: 2025-01-30ZTE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/087586
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-25
Filing Date
2024-04-12
Publication Date
2025-01-30

Smart Images

  • Figure CN2024087586_30012025_PF_FP_ABST
    Figure CN2024087586_30012025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present invention are a light-emitting control method and apparatus, a storage medium and an electronic apparatus, the method comprising: determining that a target uplink wavelength allocated to a target optical network unit (ONU) is inconsistent with the uplink wavelength actually used by the target ONU; instructing the target ONU to stop emitting light; and / or reporting target indication information, wherein the target indication information is used for indicating that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.
Need to check novelty before this filing date? Find Prior Art

Description

Light emitting control method and device, storage medium and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure is based on Chinese patent application CN 202310923170.6, filed on July 25, 2023, entitled “Light-Emitting Control Method and Device, Storage Medium and Electronic Device”, and claims the priority of the patent application, and all the contents disclosed therein are incorporated into this disclosure by reference. Technical Field

[0003] Embodiments of the present invention relate to the field of communications, and in particular, to a light emitting control method and device, a storage medium, and an electronic device. Background Art

[0004] Some passive optical networks (PONs) specify multiple wavelengths. For example, the 50G-PON standard specifies three upstream wavelength options: Option 1 uses the XG(S)-PON upstream wavelength, Option 2 uses the GPON upstream wavelength, and Option 3 is a completely new wavelength. Specifying multiple wavelengths in a PON can create risks in actual network deployment. For example, if the incorrect upstream wavelength is used in a 50G-PON optical network unit (ONU), it could impact GPON and XG(S)-PON systems coexisting in the same optical distribution network (ODN).

[0005] Currently, no effective solution has been proposed to the problem in the related art that when the wavelength actually used by some ONUs does not match the allocated wavelength, data transmission of other PONs will be affected.

[0006] Summary of the Invention

[0007] The embodiments of the present invention provide a light control method and device, a storage medium, and an electronic device to at least solve the problem in the related art that when the wavelength actually used by the ONU does not match the allocated wavelength, data transmission of other PONs will be affected.

[0008] According to one embodiment of the present invention, a light emitting control method is provided, comprising: determining that a target uplink wavelength allocated to a target optical network unit (ONU) is inconsistent with an uplink wavelength actually used by the target ONU; instructing the target ONU to stop emitting light; and / or reporting target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with an uplink wavelength actually used by the target ONU.

[0009] In an exemplary embodiment, before determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU, the method further includes: sending a first upstream wavelength working message to the target ONU to instruct the target ONU to transmit data according to the target upstream wavelength indicated in the first upstream wavelength working message, and instructing the target ONU to send a response message according to a target mode within a quiet window jointly opened by a target optical line terminal (OLT) and another type of first OLT, wherein the target OLT and the target ONU are located in a target passive optical network (PON), and the target OLT and the first OLT are located in the same optical distribution network (ODN); and determining whether the target upstream wavelength allocated to the target ONU is consistent with the upstream wavelength actually used by the target ONU based on a target receiving state of the target OLT and a first receiving state of the first OLT, wherein the target receiving state is used to at least indicate whether the target OLT has received response information fed back by the target ONU, and the first receiving state is used to at least indicate whether the first OLT has received the response message.

[0010] In an exemplary embodiment, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: when determining that the target reception state is that the target OLT has not received the response message, and the first reception state is that the first OLT has received the response message, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0011] In an exemplary embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU when the target reception state is determined to be that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the presence of upstream light in the quiet window exceeds a predetermined threshold.

[0012] In an exemplary embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU includes: when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light during the quiet window for a duration exceeding a predetermined threshold, sending a second upstream wavelength working message to the target ONU to instruct the ONU to stop emitting light when it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU; and when it is determined that the first OLT does not detect the presence of upstream light during the quiet window for a duration exceeding the predetermined threshold, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0013] In an exemplary embodiment, the method further includes: when it is determined that the first OLT does not detect the presence of upstream data in the quiet window for a period exceeding the predetermined threshold, sending a third upstream wavelength working message to the target ONU to instruct the ONU to continue emitting light; when it is determined that the first OLT detects the presence of the upstream light in the quiet window for a period exceeding the predetermined threshold, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0014] In an exemplary embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: suspending opening the quiet window when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light in the quiet window for a duration exceeding a predetermined threshold; and determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has not detected the presence of upstream light for a duration exceeding the predetermined threshold.

[0015] In an exemplary embodiment, the method further includes: reopening the quiet window when it is determined that the first OLT has not detected the presence of the upstream light for a period exceeding the predetermined threshold; and determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has detected the presence of the upstream light during the quiet window for a period exceeding the predetermined threshold.

[0016] In an exemplary embodiment, when the first OLT is located in a first PON and the target mode includes a first PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: when determining that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, and the first OLT parses the response message as a response message of the target ONU, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0017] In an exemplary embodiment, when the first OLT includes multiple sub-OLTs located in different PONs, determining that a target upstream wavelength allocated to a target optical network unit (ONU) is inconsistent with an upstream wavelength actually used by the target ONU includes: sequentially performing the following operations until a sub-OLT capable of parsing the response message is determined: when it is determined that the target reception status is that the target OLT has not received the response message, the first reception status is that a target sub-OLT included in the first OLT has received the response message, the target sub-OLT has not successfully parsed the response message, and a duration for which the target sub-OLT detects the presence of upstream light in the quiet window exceeds a predetermined threshold, sending a fourth upstream wavelength operation message to the target ONU to instruct the target ONU to send the response message within the quiet window according to another mode other than the current mode, wherein the another mode includes a PON mode in which any sub-OLT included in the first OLT is located; and after the first OLT capable of parsing the response message is determined, determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU.

[0018] According to another embodiment of the present invention, a light emitting control device is provided, including: a determination module, configured to determine that a target uplink wavelength allocated to a target optical network unit (ONU) is inconsistent with an uplink wavelength actually used by the target ONU; an indication module, configured to instruct the target ONU to stop emitting light; and / or a reporting module, configured to report target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.

[0019] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.

[0020] According to another embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] 1 is a hardware structure block diagram of a mobile terminal according to an embodiment of the present invention;

[0022] FIG2 is a flow chart of a light emitting control method according to an embodiment of the present invention;

[0023] FIG3 is a general format diagram of uplink transmission according to implementation mode 4 of the embodiment of the present invention;

[0024] FIG4 is a diagram showing a general format of uplink transmission according to implementation mode 5 of the present invention;

[0025] FIG5 is a second diagram of a general format of uplink transmission according to implementation mode five of the present invention;

[0026] FIG6 is a third diagram of a general format of uplink transmission according to implementation mode five of the embodiment of the present invention;

[0027] FIG7 is a general format diagram of uplink transmission according to implementation mode 6 of the embodiment of the present invention;

[0028] FIG8 is a second diagram of a general format of uplink transmission according to implementation mode 6 of the present invention;

[0029] FIG9 is a third diagram of a general format of uplink transmission according to implementation mode 6 of the present invention;

[0030] FIG10 is a structural block diagram of a light emitting control device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with embodiments.

[0032] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0033] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of the light emitting control method of an embodiment of the present invention. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is only for illustration, and it does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .

[0034] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the light control method in the embodiment of the present invention. The processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0035] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's telecommunications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0036] In this embodiment, a light emitting control method is provided. FIG2 is a flow chart of the light emitting control method according to an embodiment of the present invention. As shown in FIG2 , the flow chart includes the following steps:

[0037] Step S202, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU;

[0038] Step S204, instructing the target ONU to stop emitting light; and / or,

[0039] Step S206: reporting target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.

[0040] Through the above embodiment, when it is determined that the upstream wavelength allocated to the ONU is inconsistent with the upstream wavelength actually used by the ONU, certain measures can be taken, that is, the ONU can be instructed to stop emitting light to eliminate the impact on other PONs, and / or target indication information can be reported, so that the receiver can promptly know that the upstream wavelength allocated to the ONU is inconsistent with the upstream wavelength actually used by the ONU, and thus adopt a corresponding processing method to promptly eliminate the impact, ensuring that other PONs are not affected. This effectively solves the problem in the related art that when the wavelength actually used by the ONU does not match the allocated wavelength, the data transmission of other PONs may be affected.

[0041] In the above embodiment, the execution subject can be an optical line terminal (OLT), that is, an OLT located in the same PON as the ONU. In addition, it can also be other control devices associated with the above OLT, for example, a device that can assist the OLT in detection and sending instructions, or other devices or systems with similar processing capabilities. The following takes the OLT located in the same PON as the ONU as an example to perform the above operation:

[0042] In the above embodiment, the OLT can indicate the target upstream wavelength to the target ONU through a specific message. For example, this can be done through the Upstream_Wavelength_Operation Message. The format of this message can be found in Table 1. It should be noted that the indication of the activation response sending mode in the sixth byte is merely an example. In actual applications, other identifiers or parameters can be used to indicate the specific activation response sending mode, such as other binary numbers or other characters. Furthermore, the option indicator in the fifth byte can be adjusted based on actual circumstances.

[0043] Table 1

[0044] In the above embodiment, when the OLT determines that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU, it can also report target indication information to the network management system or network operation and maintenance system. Through this reporting operation, the recipient can promptly know the current wavelength usage status of the ONU, and then, promptly terminate the target ONU upstream luminescence or adjust the operating mode of the passive optical network system so that the entire passive optical network system can operate normally. In addition, a network maintenance engineer can be sent to the target ONU site to replace the target ONU so that the target ONU can operate normally. By tracing the logistics distribution process of the target ONU, it can be analyzed how it enters the current network deployment and promptly adjust the logistics distribution process to prevent similar events from happening again.

[0045] In an optional embodiment, before determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU, the method further includes: sending a first upstream wavelength working message to the target ONU to instruct the target ONU to transmit data according to the target upstream wavelength indicated in the first upstream wavelength working message, and instructing the target ONU to send a response message according to a target mode within a quiet window collaboratively opened by a target optical line terminal (OLT) and other types of first OLTs, wherein the target OLT and the target ONU are located in a target passive optical network (PON), and the target OLT and the first OLT are located in the same optical distribution network (ODN); and determining whether the target upstream wavelength allocated to the target ONU is consistent with the upstream wavelength actually used by the target ONU based on a target receiving state of the target OLT and a first receiving state of the first OLT, wherein the target receiving state is used to at least indicate whether the target OLT has received response information fed back by the target ONU, and the first receiving state is used to at least indicate whether the first OLT has received the response message.

[0046] In the above embodiment, the format of the first upstream wavelength operation message can refer to the aforementioned Table 1, that is, it can be set according to the format of Upstream_Wavelength_Operation Message. The above-mentioned "target mode" can be configured based on actual conditions. For example, it can be configured as a target PON mode, or it can be set to other PON modes other than the target PON mode, wherein the other PON and the target PON can coexist in the same ODN. For example, the target PON can be 50G-PON and the other PON mode can be GPON, or the target PON can be 50G-PON and the other PON can be XG-PON, or the target PON can be GPON and the other PON can be XGS-PON, etc. The examples of the above-mentioned modes are schematically explained. In actual applications, other PONs that can coexist in the same ODN can also be used.

[0047] In the above embodiment, the OLT can parse the response message in the PON mode in which it is located. Therefore, different modes of sending response messages by the ONU will result in different OLTs that can subsequently parse the response message. In the above embodiment, the quiet window is a quiet window jointly opened by multiple OLTs. For example, when 50G-PON and other PONs coexist in the same ODN, the 50G-PON OLT and other PON OLTs can support the coordinated opening of the quiet window, that is, opening quiet windows of the same size at the same time position. Therefore, the response messages sent by the 50G-PON ONU and other PON ONUs during the activation process will arrive at their respective OLTs within the same quiet window. If the upstream wavelength of the 50G-PON overlaps or is the same as the upstream wavelength of the other PON, the response messages sent by the 50G-PON ONU during the activation process will also arrive at the other PON OLTs within the quiet window of the other PON, and will not affect the normal operation of the ONUs of the other PONs. In addition, the implementation of coordinated opening of the quiet window can be solidified in the OLT device. After the OLT device is powered on, the quiet window opening of the 50G-PON OLT and other PON OLTs will naturally coordinate. Of course, it can also be configured to coordinate as needed.

[0048] In an optional embodiment, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: when determining that the target reception state is that the target OLT has not received the response message, and the first reception state is that the first OLT has received the response message, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU. In this embodiment, when the target OLT does not receive a response message, but other OLTs receive a response message, it can be determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU. In addition, in this embodiment, after the first OLT receives the response message, it may be able to parse the content therein or may not be able to parse the content therein. Whether it can be parsed is determined by the mode in which the target ONU feeds back the response message. When the target ONU feeds back the response message using the target PON mode in which the target OLT is located, the first OLT cannot parse the response message. When the target ONU feeds back the response message using the target PON mode in which the first OLT is located, the first OLT can parse the response message. These two situations will be explained separately in subsequent embodiments.

[0049] In an optional embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: determining that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the presence of upstream light in the quiet window exceeds a predetermined threshold, then determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU. The following example takes the target PON as 50G-PON and the first OLT as GPON OLT, that is, taking the coexistence of 50G-PON and GPON in the same ODN as an example for explanation (of course, the processing mechanisms of 50G-PON and XG-PON in the same ODN, and 50G-PON and XGS-PON in the same ODN are similar and will not be repeated one by one):

[0050] Implementation method one:

[0051] The GPON OLT and 50G-PON OLT collaborate to open quiet windows, simultaneously opening quiet windows of the same position and size.

[0052] The 50G-PON OLT provides an upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelengths are inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message within the quiet window according to the ITU-T G.9804 series 50G-PON mode, where the fifth byte is 0x02 and the sixth byte is 0x01.

[0053] Even if the upstream wavelength of a 50G-PON ONU is inconsistent with the indication, for example, if its upstream wavelength option is Option 2, which is the same as the GPON upstream wavelength, it still responds to the SN grant and sends the Serial_Number_ONU message in 50G-PON mode. The following phenomena may occur:

[0054] (1) The 50G-PON OLT cannot receive the Serial_Number_ONU sent by the 50G-PON ONU, and the 50G-PON ONU cannot be activated.

[0055] (2) The GPON OLT will receive the Serial_Number_ONU but will not be able to parse it. Since the quiet window is sent periodically, the GPON OLT will detect upstream light for a long time within the quiet window but will not be able to parse its specific content.

[0056] Combining (1) and (2) on the OLT side, it can be determined that there is a mismatch in the upstream wavelength of the 50G-PON ONU.

[0057] In an optional embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light during the quiet window for a duration exceeding a predetermined threshold, sending a second upstream wavelength working message to the target ONU to instruct the target ONU to stop emitting light when it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU; when it is determined that the first OLT does not detect the presence of upstream light during the quiet window for a duration exceeding the predetermined threshold, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0058] In an optional embodiment, the method further includes: when it is determined that the first OLT has not detected the presence of upstream data in the quiet window for a period exceeding the predetermined threshold, sending a third upstream wavelength working message to the target ONU to instruct the ONU to continue emitting light; when it is determined that the first OLT has detected the presence of the upstream light in the quiet window for a period exceeding the predetermined threshold, determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

[0059] By alternately instructing the target ONU to emit light and not emit light in the above two embodiments, it is possible to accurately identify the presence of an ONU whose actually used upstream wavelength is inconsistent with the instructed upstream supplement. The following example takes a 50G-PON as the target PON and a GPON OLT as the first OLT, that is, the coexistence of 50G-PON and GPON in the same ODN as an example for explanation (of course, the processing mechanisms of 50G-PON and XG-PON in the same ODN, and 50G-PON and XGS-PON in the same ODN are similar and will not be repeated here):

[0060] Implementation method 2:

[0061] This embodiment is an improvement on the aforementioned embodiment 1, that is, the 50G-PON OLT can alternately send Upstream_Wavelength_Operation messages with different configuration information (that is, the content corresponding to the 6th byte is different) as needed, and detect corresponding changes.

[0062] On the basis of implementation mode 1, if (1) and (2) are detected, the 50G-PON OLT switches the upstream light-emitting indication (i.e., adjusts the content corresponding to the sixth byte), that is, instructs the 50G-PON ONU not to emit light when the upstream wavelength does not match, wherein the fifth byte of the Upstream_Wavelength_Operation message is 0x02 and the sixth byte is 0x00, and checks whether the following is detected:

[0063] (3) The situation where light is detected for a long time on the GPON OLT side disappears.

[0064] If (2) disappears and (3) appears, the 50G-PON OLT can instruct the 50G-PON ONU to emit light again and check whether the long-term detection light on the GPON OLT side reappears to further confirm that the 50G-PON ONU upstream wavelength does not match. This process is repeated until it is confirmed that there is a 50G-PON ONU whose upstream wavelength is inconsistent with the instruction.

[0065] In an optional embodiment, when the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: suspending opening the quiet window when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light in the quiet window for a duration exceeding a predetermined threshold; and determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has not detected the presence of upstream light for a duration exceeding the predetermined threshold.

[0066] In an optional embodiment, the method further includes: reopening the quiet window when it is determined that the first OLT has not detected the presence of the upstream light for a period exceeding the predetermined threshold; and determining that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has detected the presence of the upstream light during the quiet window for a period exceeding the predetermined threshold.

[0067] By alternately pausing and restarting the quiet window in the two aforementioned embodiments, it is possible to accurately identify the presence of ONUs whose actually used upstream wavelength is inconsistent with the indicated upstream supplement. Below, we take the target PON as an example of 50G-PON and the first OLT as an example of GPON OLT, that is, the coexistence of 50G-PON and GPON in the same ODN as an example for explanation (of course, the processing mechanisms for 50G-PON and XG-PON in the same ODN, and 50G-PON and XGS-PON in the same ODN are similar and will not be repeated here):

[0068] Implementation method three:

[0069] Based on the first implementation mode, an improvement is made, whereby the 50G-PON OLT can suspend the coordinated opening of the quiet window with the GPON OLT as needed and detect corresponding changes.

[0070] Based on implementation method 1, if (1) and (2) are detected, the 50G-PON OLT suspends opening the quiet window and sending SN grants, and checks whether:

[0071] (3) The situation where light is detected for a long time on the GPON OLT side disappears.

[0072] If (2) disappears and (3) appears, the 50G-PON OLT can restart the coordinated opening of the quiet window with the GPON OLT and check whether the long-term detection light on the GPON OLT side reappears to further confirm that the 50G-PON ONU upstream wavelength does not match. This process is repeated until it is confirmed that there is a 50G-PON ONU whose upstream wavelength is inconsistent with the indication.

[0073] In an optional embodiment, when the first OLT is located in the first PON and the target mode includes the first PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, and the first OLT parses the response message as the response message of the target ONU, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU. In this embodiment, the target ONU can be an ONU under 50G-PON, and the first PON can be a type of PON other than 50G-PON. The following takes the first PON as GPON, XG-PON and XGS-PON as examples for explanation:

[0074] Implementation Method 4

[0075] Take the coexistence of 50G-PON and GPON in the same ODN as an example.

[0076] The GPON OLT and 50G-PON OLT collaborate to open quiet windows, simultaneously opening quiet windows of the same position and size.

[0077] The 50G-PON OLT gives the upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelength is inconsistent, the 50G-PON ONU can send the Serial_Number_ONU message according to the G-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x02.

[0078] Even when the upstream wavelength is inconsistent with the indication, the 50G-PON ONU still responds to the SN grant and sends the Serial_Number_ONU according to the G-PON mode. The GPON mode sends the Serial_Number_ONU message, including the GPON format Serial_Number_ONU message format, GPON rate, GPON burst configuration, GPON scrambling format, etc. 50G-PON uplink rates include 12.5G, 25G, and 50G, which are all integer multiples of the GPON uplink rate of 1.25G. Taking the 50G-PON uplink rate of 12.5G as an example, it is 10 times of 1.25G. The 50G-PON ONU can continuously send 10 1 bits to simulate a GPON 1 bit, and continuously send 10 0 bits to simulate a GPON 0 bit, and use the GPON standard mode for scrambling. The GPON format of the Serial_Number_ONU message can be shown in Table 2:

[0079] Table 2

[0080] Figure 3 shows the general format for uplink transmission, which follows the PLOu+PLOAMu format. The Serial_Number_ONU message is sent in the PLOAMu position, and the content following the PLOAMu is not sent. The Preamble and Delimiter configurations can be configured according to the GPON standard and configured to the 50G-PON ONU in 50G-PON standard mode. For transmission formats, refer to the corresponding ITU-T G.984.3 series standards.

[0081] Then the following phenomena will occur:

[0082] (1) The 50G-PON OLT cannot receive the Serial_Number_ONU sent by the 50G-PON ONU, and the 50G-PON ONU cannot be activated.

[0083] (4) The GPON OLT receives the Serial_Number_ONU and is able to parse it, but the parsed SN is the SN of the 50G-PON ONU, and the ONU activation cannot be completed.

[0084] Combining (1) and (4), it is possible to accurately determine which 50G-PON ONU's upstream wavelength does not match the indication. The GPON OLT reports this to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be silenced upstream, either indirectly through the network management system or directly through the 50G-PON OLT.

[0085] Implementation Method Five

[0086] Similarly, when 50G-PON and XG-PON coexist in the same ODN, the 50G-PON OLT provides an upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelengths are inconsistent, the 50G-PON ONU can send the Serial_Number_ONU message in XG-PON mode within the quiet window, where the fifth byte is 0x02 and the sixth byte is 0x03.

[0087] XG-PON OLT and 50G-PON OLT jointly open quiet windows, simultaneously opening quiet windows of the same position and size.

[0088] The 50G-PON OLT provides an upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelengths are inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in XG-PON mode within the quiet window, where the fifth byte is 0x02 and the sixth byte is 0x03.

[0089] Even if the upstream wavelength does not match the indication, the 50G-PON ONU still responds to the SN grant and sends the Serial_Number_ONU message according to the XG-PON mode. The Serial_Number_ONU message sent in the XG-PON mode includes the XG-PON format, XG-PON rate, XG-PON burst configuration, and XG-PON scrambling format. 50G-PON uplink rates include 12.5G, 25G, and 50G, all of which are integer multiples of the XG-PON uplink rate of 2.5G. For example, the 50G-PON uplink rate of 12.5G is five times 2.5G. A 50G-PON ONU can simulate an XG-PON 1 bit by sending five consecutive 1 bits and an XG-PON 0 bit by sending five consecutive 0 bits. Scrambling is performed using the standard XG-PON mode. The format of the Serial_Number_ONU message in XG-PON format is shown in Table 3:

[0090] Table 3

[0091] Figures 4, 5, and 6 show the general format for uplink transmission according to the ITU-T G.987 series standards. These messages are sent in the PSBu+XGTC header format. The Serial_Number_ONU message is sent in the PLOAMu position of the XGTC header, and the content following the PLOAMu is not sent. The Preamble and Delimiter can be configured according to the XG-PON standard and configured for the 50G-PON ONU in the 50G-PON standard mode.

[0092] Then the following phenomena will occur:

[0093] (1) The 50G-PON OLT cannot receive the Serial_Number_ONU sent by the 50G-PON ONU, and the 50G-PON ONU cannot be activated.

[0094] (5) The XG-PON OLT receives the Serial_Number_ONU and is able to parse it, but the parsed SN is the SN of the 50G-PON ONU, and the ONU activation cannot be completed.

[0095] Combining (1) and (5), it is possible to accurately determine which 50G-PON ONU's upstream wavelength does not match the indication. The XG-PON OLT reports this to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be silenced indirectly through the network management system or directly through the 50G-PON OLT.

[0096] Implementation Method 6

[0097] Similarly, when 50G-PON and XGS-PON coexist in the same ODN, the 50G-PON OLT provides an upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelengths are inconsistent, the 50G-PON ONU can send the Serial_Number_ONU message in XGS-PON mode within the quiet window, where the fifth byte is 0x02 and the sixth byte is 0x04.

[0098] The XGS-PON OLT and 50G-PON OLT collaborate to open quiet windows, simultaneously opening quiet windows of the same position and size.

[0099] The 50G-PON OLT provides an upstream wavelength indication through the Upstream_Wavelength_Operation message. When the upstream wavelengths are inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in the XGS-PON mode within the quiet window, where the fifth byte is 0x02 and the sixth byte is 0x04.

[0100] Even when the upstream wavelength is inconsistent with the indication, the 50G-PON ONU still responds to the SN grant and sends the Serial_Number_ONU according to the XG-PON mode. The XGS-PON mode sends the Serial_Number_ONU message, including the Serial_Number_ONU message format in the XGS-PON format, the XGS-PON rate, the XGS-PON burst configuration, the XGS-PON scrambling format, etc. When the 50G-PON uplink rate is 50G, it is an integer multiple of the XGS-PON uplink rate of 10G. The 50G-PON ONU can continuously send 5 1 bits to simulate an XGS-PON 1 bit, and continuously send 5 0 bits to simulate an XGS-PON 0 bit, and use the XGS-PON standard mode for scrambling. The format of the Serial_Number_ONU message in the XG-PON format is shown in Table 4 (Table C.11.24-Serial_Number_ONU message):

[0101] Table 4

[0102] Table 4

[0103] Figures 7, 8, and 9 show the general format for uplink transmission according to the ITU-T G.9807.1 series standards in this embodiment, which are sent in the PSBu+XGTC header format. The Serial_Number_ONU message is sent at the PLOAMu position of the XGTC header, and the subsequent content of PLOAMu is not sent. The configuration of the Preamble and Delimiter can be configured according to the XGS-PON standard and configured to the 50G-PON ONU through the 50G-PON standard mode.

[0104] Then the following phenomena will occur:

[0105] (1) The 50G-PON OLT cannot receive the Serial_Number_ONU sent by the 50G-PON ONU, and the 50G-PON ONU cannot be activated.

[0106] (6) The XGS-PON OLT receives the Serial_Number_ONU and is able to parse it, but the parsed SN is the SN of the 50G-PON ONU, and the ONU activation cannot be completed.

[0107] Combining (1) and (6), it is possible to accurately determine which 50G-PON ONU's upstream wavelength does not match the indication. The XG-PON OLT reports this to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be silenced indirectly through the network management system or directly through the 50G-PON OLT.

[0108] In an optional embodiment, when the first OLT includes multiple sub-OLTs located in different PONs, determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU includes: performing the following operations in sequence until a sub-OLT that can parse the response message is determined: when it is determined that the target reception status is that the target OLT has not received the response message, the first reception status is that the target sub-OLT included in the first OLT has received the response message, the target sub-OLT has not successfully parsed the response message, and the duration for which the target sub-OLT detects the presence of upstream light in the quiet window exceeds a predetermined threshold, sending a fourth upstream wavelength working message to the target ONU to instruct the target ONU to send the response message within the quiet window according to another mode other than the current mode, wherein the another mode includes a PON mode in which any sub-OLT included in the first OLT is located; and after determining the first OLT that can parse the response message, determining that the target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with the upstream wavelength actually used by the target ONU. The following example uses 50G-PON as the target PON and multiple OLTs including GPON, XG-PON, and XGS-PON as examples (assuming 50G-PON coexists with GPON and XG-PON):

[0109] Implementation Method Seven

[0110] When 50G-PON coexists with multiple of GPON, XG-PON, and XGS-PON. Assume that 50G-PON coexists with GPON and XG-PON.

[0111] The 50G-PON OLT can try to send Upstream_Wavelength_Operation messages with different configurations, where the 5th byte is 0x02 and the 6th byte can be one of 0x01, 0x02, and 0x03. If the GPON OLT or XG-PON side detects long-term light emission but cannot parse the information, the 6th byte can be replaced with 0x02 or 0x03 until the GPON OLT or XG-PON OLT parses the corresponding SN, and makes a judgment based on the fourth or fifth implementation method.

[0112] Other coexistence situations are handled similarly and will not be described in detail here.

[0113] As can be seen from the above embodiments, the OLT side can provide an upstream wavelength option and, when a mismatch occurs, an execution operation for the corresponding ONU, where the execution operation may include: stopping light emission, continuing light emission, emitting light according to the GPON mode, and emitting light according to the XG(S)-PON mode. Furthermore, the OLT can switch between different execution operation instructions as needed. If the OLT side detects a mismatch in the upstream wavelength of a 50G-PON ONU and issues an alarm, upon confirming that the upstream wavelength of the 50G-PON ONU is inconsistent with the OLT's instruction, the ONU is instructed to stop upstream light emission or perform a reporting process to avoid impacting GPON, XG(S)-PON, and other 50G-PON ONUs.

[0114] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0115] This embodiment also provides a light control device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0116] FIG10 is a structural block diagram of a light emitting control device according to an embodiment of the present invention. As shown in FIG10 , the device includes:

[0117] A determination module 1002 is configured to determine that a target upstream wavelength allocated to a target optical network unit (ONU) is inconsistent with an upstream wavelength actually used by the target ONU;

[0118] The indication module 1004 is configured to instruct the target ONU to stop emitting light; and / or the reporting module 1006 is configured to report target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.

[0119] In an optional embodiment, the apparatus further includes a sending module configured to, before determining that a target upstream wavelength allocated to a target optical network unit (ONU) is inconsistent with an upstream wavelength actually used by the target ONU, send a first upstream wavelength working message to the target ONU to instruct the target ONU to transmit data according to the target upstream wavelength indicated in the first upstream wavelength working message, and to instruct the target ONU to send a response message according to a target mode within a quiet window collaboratively opened by a target optical line terminal (OLT) and another type of first OLT, wherein the target OLT and the target ONU are located in a target passive optical network (PON), and the target OLT and the first OLT are located in the same optical distribution network (ODN); and the determining module 1002 is configured to determine whether the target upstream wavelength allocated to the target ONU is consistent with the upstream wavelength actually used by the target ONU based on a target receiving state of the target OLT and a first receiving state of the first OLT, wherein the target receiving state is used to at least indicate whether the target OLT has received response information fed back by the target ONU, and the first receiving state is used to at least indicate whether the first OLT has received the response message.

[0120] In an optional embodiment, the determination module 1002 includes: a first determination unit, configured to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the target reception status is that the target OLT has not received the response message, and the first reception status is that the first OLT has received the response message.

[0121] In an optional embodiment, the determination module 1002 includes: a second determination unit, configured to include the target PON mode in the target mode, and to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light in the quiet window for a duration exceeding a predetermined threshold.

[0122] In an optional embodiment, the determination module 1002 includes: a sending unit, configured to include the target PON mode in the target mode, and to send a second upstream wavelength working message to the target ONU when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light in the quiet window for a duration exceeding a predetermined threshold, to instruct the target ONU to stop emitting light when it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU; a third determining unit, configured to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT does not detect the presence of upstream light in the quiet window for a duration exceeding the predetermined threshold.

[0123] In an optional embodiment, the device further includes: a sending module, configured to send a third upstream wavelength working message to the target ONU to instruct the target ONU to continue emitting light when it is determined that the first OLT has not detected the presence of upstream data in the quiet window for a period exceeding the predetermined threshold; the determination module 1002 is also configured to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has detected the presence of the upstream light in the quiet window for a period exceeding the predetermined threshold.

[0124] In an optional embodiment, the determination module 1002 includes: a processing unit, configured to include the target PON mode in the target mode, and suspend opening the quiet window when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects the presence of upstream light in the quiet window for a duration exceeding a predetermined threshold; the determination module 1002 is also configured to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has not detected the presence of the upstream light for a duration exceeding the predetermined threshold.

[0125] In an optional embodiment, the device further includes: an opening module, configured to reopen the quiet window when it is determined that the first OLT has not detected the presence of the upstream light for a period exceeding the predetermined threshold; the determination module 1002 is further configured to determine that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the first OLT has detected the presence of the upstream light during the quiet window for a period exceeding the predetermined threshold.

[0126] In an optional embodiment, the determination module 1002 includes: a fourth determination unit, which is configured to, when the first OLT is located in the first PON and the target mode includes the first PON mode, determine that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU when it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, and the first OLT parses the response message as a response message of the target ONU.

[0127] In an optional embodiment, the determination module 1002 includes: a fifth determination unit, configured to, when the first OLT includes multiple sub-OLTs located in different PONs, sequentially perform the following operations until a sub-OLT capable of parsing the response message is determined: when it is determined that the target reception status is that the target OLT has not received the response message, the first reception status is that the target sub-OLT included in the first OLT has received the response message, the target sub-OLT has not successfully parsed the response message, and the duration for which the target sub-OLT detects the presence of upstream light in the quiet window exceeds a predetermined threshold, sending a fourth upstream wavelength operation message to the target ONU to instruct the target ONU to send the response message within the quiet window in a mode other than the current mode, wherein the other mode includes a PON mode in which any sub-OLT included in the first OLT is located; and after determining the first OLT capable of parsing the response message, determining that a target upstream wavelength allocated to the target optical network unit (ONU) is inconsistent with an upstream wavelength actually used by the target ONU.

[0128] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0129] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0130] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0131] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0132] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0133] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0134] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0135] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A light emission control method, comprising: Determining that a target upstream wavelength allocated to a target optical network unit ONU is inconsistent with an upstream wavelength actually used by the target ONU; Instructing the target ONU to stop emitting light; and / or, Reporting target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.

2. The method according to claim 1, wherein: Before determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU, the method further includes: Sending a first upstream wavelength working message to the target ONU to instruct the target ONU to perform data transmission according to the target upstream wavelength indicated in the first upstream wavelength working message, and instructing the target ONU to send a response message according to the target mode within a quiet window collaboratively opened by a target optical line terminal OLT and other types of first OLTs, wherein the target OLT and the target ONU are located in a target passive optical network PON, and the target OLT and the first OLT are located in the same optical distribution network ODN; Based on the target reception state of the target OLT and the first reception state of the first OLT, it is determined whether the target upstream wavelength allocated to the target ONU is consistent with the upstream wavelength actually used by the target ONU, wherein the target reception state is used to at least indicate whether the target OLT has received response information fed back by the target ONU, and the first reception state is used to at least indicate whether the first OLT has received the response message.

3. The method according to claim 2, wherein: Determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: When it is determined that the target reception state is that the target OLT has not received the response message and the first reception state is that the first OLT has received the response message, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

4. The method according to claim 3, wherein: In a case where the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: When it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the presence of upstream light in the quiet window exceeds a predetermined threshold, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

5. The method according to claim 3, wherein: In a case where the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: When it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the existence of the upstream light in the quiet window exceeds a predetermined threshold, sending a second upstream wavelength working message to the target ONU to instruct the target ONU to stop emitting light when it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU; When it is determined that the duration for which the first OLT does not detect the existence of the upstream light in the quiet window exceeds the predetermined threshold, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

6. The method according to claim 5, wherein: The method further comprises: When it is determined that the duration for which the first OLT does not detect the existence of upstream data in the quiet window exceeds the predetermined threshold, sending a third upstream wavelength working message to the target ONU to instruct the target ONU to continue emitting light; When it is determined that the duration for which the first OLT detects the existence of the upstream light in the quiet window exceeds the predetermined threshold, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

7. The method according to claim 3, wherein: In a case where the target mode includes the target PON mode, determining that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU includes: When it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the first OLT has received the response message, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the existence of the upstream light in the quiet window exceeds a predetermined threshold, suspending the opening of the quiet window; When it is determined that the duration for which the first OLT does not detect the existence of the upstream light exceeds the predetermined threshold, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

8. The method according to claim 7, wherein: The method further comprises: reopening the quiet window if it is determined that the duration for which the first OLT does not detect the presence of the upstream light exceeds the predetermined threshold; When it is determined that the duration for which the first OLT detects the existence of the upstream light in the quiet window exceeds the predetermined threshold, it is determined that the target upstream wavelength allocated to the target ONU is inconsistent with the upstream wavelength actually used by the target ONU.

9. The method according to claim 3, wherein: In a case where the first OLT is located in a first PON and the target mode includes the first PON mode, determining that a target upstream wavelength allocated to a target optical network unit ONU is inconsistent with an upstream wavelength actually used by the target ONU includes: When it is determined that the target receiving state is that the target OLT has not received the response message, the first receiving state is that the first OLT has received the response message, and the first OLT parses the response message as a response message of the target ONU, determining that the target upstream wavelength allocated to the target optical network unit ONU is the same as the target ONU The actual upstream wavelengths used are inconsistent.

10. The method according to claim 3, wherein: In a case where the first OLT includes a plurality of sub-OLTs located in different PONs, determining that a target upstream wavelength allocated to a target optical network unit ONU is inconsistent with an upstream wavelength actually used by the target ONU includes: The following operations are performed in sequence until a sub-OLT capable of parsing the response message is determined: When it is determined that the target reception state is that the target OLT has not received the response message, the first reception state is that the target sub-OLT included in the first OLT has received the response message, the target sub-OLT has not successfully parsed the response message, and the target sub-OLT detects that the duration of the existence of upstream light in the quiet window exceeds a predetermined threshold, a fourth upstream wavelength operation message is sent to the target ONU to instruct the target ONU to send the response message in the quiet window according to other modes except the current mode, wherein the other modes include a PON mode in which any sub-OLT included in the first OLT is located; After determining the first OLT that can parse the response message, it is determined that the target upstream wavelength allocated to the target optical network unit ONU is inconsistent with the upstream wavelength actually used by the target ONU.

11. A light control device, comprising: A determination module, configured to determine that a target upstream wavelength allocated to a target optical network unit ONU is inconsistent with an upstream wavelength actually used by the target ONU; An indication module, configured to instruct the target ONU to stop emitting light; and / or, The reporting module is configured to report target indication information, wherein the target indication information is used to indicate that the target uplink wavelength is inconsistent with the uplink wavelength actually used by the target ONU.

12. A computer-readable storage medium having a computer program stored therein, wherein: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 10 are implemented.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of claims 1 to 10 when executing the computer program.

Citation Information

Patent Citations

  • Method and device for processing uplink data exception

    CN103051983A

  • Method and device for processing uplink data abnormity

    CN105228183A

  • Optical subscriber system and communication method

    JP2015084470A