Light emitting control method and device, storage medium and electronic device
By detecting the uplifting wavelength of ONU, the instruction ONU stops glowing or reports error information, solving the problem that does not match the wavelength of the passive light network that affects other PONs, and ensures the normal nature of data transmission.
Patent Information
- Application Number
- CN202310923170.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-01-28
AI Technical Summary
In some passive optical networks, the uplink wavelength actually used by the ONU does not match the assigned wavelength, resulting in data transmission affecting other PONs.
By determining that ONU allocation targets are inconsistent with the uplink wavelength of actual use, indicate that ONU stops glowing or reported instruction information to eliminate the impact on other PONs.
Effectively solve the problem of ONU's use of error wavelengths that affect other PON data transmission, and ensure the normal operation of other PONs.
Smart Images

Figure CN119383495A_ABST
Abstract
Description
Technical Field
[0001] The 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
[0002] In some passive optical networks (PONs), multiple wavelengths are specified. For example, the 50G-PON standard specifies three upstream wavelength options, of which option 1 uses the XG(S)-PON upstream wavelength, option 2 uses the GPON upstream wavelength, and option 3 is a completely new wavelength. When multiple wavelengths are specified in PON, there may be a risk in the actual network deployment. For example, if the upstream wavelength of the 50G-PON optical network unit (ONU) is used incorrectly, it may affect the GPON and XG(S)-PON systems coexisting in the same optical distribution network (ODN).
[0003] With regard 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, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a light emitting 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, the data transmission of other PONs will be affected.
[0005] 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.
[0006] 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 in a quiet window collaboratively opened by a target optical line terminal OLT and other types of first OLTs according to a target mode, 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 receiving state of the target OLT and the first receiving state of the first OLT, determining 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 receiving state is used to at least indicate whether the target OLT has received the 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.
[0007] 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.
[0008] 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.
[0009] 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: 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 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 has detected that the duration of the existence of upstream light in the quiet window exceeds 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 that the duration of the existence of the upstream light in the quiet window exceeds the predetermined threshold.
[0010] In an exemplary embodiment, the method further includes: when it is determined that the duration for which the first OLT does not detect the presence 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 ONU to continue to emit light; when it is determined that the duration for which the first OLT detects the presence of the upstream light in the quiet window exceeds 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.
[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: 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 that the duration of the presence of upstream light in the quiet window exceeds 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 that the duration of the presence of the upstream light exceeds the predetermined threshold.
[0012] 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.
[0013] 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 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, 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.
[0014] In an exemplary 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 the sub-OLT that can parse 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, 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 other modes except the current mode, wherein the other modes include the 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, 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.
[0015] According to another embodiment of the present invention, a light emitting control device is provided, including: a determination module, used to 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; an indication module, used to instruct the target ONU to stop emitting light; and / or, a reporting module, used to report target indication information, wherein the target indication information is used to indicate that the target upstream wavelength is inconsistent with the upstream wavelength actually used by the target ONU.
[0016] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.
[0017] According to yet another embodiment of the present invention, there is provided an electronic device, including 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.
[0018] Through the present invention, 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 adopted, that is, the ONU will be instructed to stop emitting light to eliminate the influence on other PONs, and / or target indication information will be reported, so that the receiver can timely know that the upstream wavelength allocated to the ONU is inconsistent with the upstream wavelength actually used by the ONU, so as to adopt a corresponding processing method to timely eliminate the influence, ensure that other PONs are not affected, and effectively solve the problem existing 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 will be affected. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a hardware structure block diagram of a mobile terminal of the light emitting control method according to an embodiment of the present invention;
[0020] Figure 2 is a flow chart of a light emitting control method according to an embodiment of the present invention;
[0021] Figure 3 is a general format diagram of uplink transmission according to implementation mode 4 of the embodiment of the present invention;
[0022] Figure 4 It is a general format for uplink transmission according to implementation mode 5 of the embodiment of the present invention. Figure 1 ;
[0023] Figure 5 It is a general format for uplink transmission according to implementation mode 5 of the embodiment of the present invention. Figure 2 ;
[0024] Figure 6 It is a general format for uplink transmission according to implementation mode 5 of the embodiment of the present invention. Figure 3 ;
[0025] Figure 7 is a general format for uplink transmission according to implementation mode 6 of the embodiment of the present invention Figure 1 ;
[0026] Figure 8 is a general format for uplink transmission according to implementation mode 6 of the embodiment of the present invention Figure 2 ;
[0027] Fig. 9 is a general format for uplink transmission according to implementation mode 6 of the embodiment of the present invention Figure 3 ;
[0028] Fig.10 is a structural block diagram of a light emitting control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.
[0030] It should be noted that the terms "first", "second", etc. in the specification 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.
[0031] 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 running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of the light emitting control method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 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 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the light emitting control method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above 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 arranged 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.
[0033] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] In this embodiment, a light emission control method is provided. Figure 2 is a flow chart of a light emitting control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0035] 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;
[0036] Step S204, instructing the target ONU to stop emitting light; and / or,
[0037] 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.
[0038] Through the above embodiments, 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 will be instructed to stop emitting light to eliminate the impact on other PONs, and / or the target indication information will 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, so as to adopt a corresponding processing method to eliminate the impact in time, ensure that other PONs are not affected, and effectively solve 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 will be affected.
[0039] In the above embodiment, the execution subject may be an optical line terminal OLT, that is, an OLT located in the same PON as the ONU. In addition, it may be other control devices associated with the above OLT, for example, a device that can assist the OLT in detection, that is, sending instructions, or other devices or systems with similar processing capabilities. The following takes the OLT located in the same PON as the ONU to perform the above operation as an example:
[0040] In the above embodiment, the OLT can indicate the target upstream wavelength allocated to the target ONU through a specific message, for example, it can be indicated through an upstream wavelength operation message Upstream_Wavelength_Operation Message, wherein the format of the message can be referred to in Table 1. In addition, it should be noted that in the sixth byte, the indication method for indicating the mode of sending the activation response is only an example, and in actual applications, other identifiers or parameters can also be used to indicate the specific mode of sending the activation response, for example, through other binary numbers, or through other characters, etc. In addition, the option indicator in the fifth byte can actually be adjusted based on actual conditions.
[0041] Table 1
[0042]
[0043] In the above embodiment, when the target upstream wavelength allocated to the target ONU is determined to be inconsistent with the upstream wavelength actually used by the target ONU, the OLT can also report the target indication information to the network management system or the network operation and maintenance system. Through this reporting operation, the receiving party can be informed of the current wavelength usage status of the ONU in time, and then, the target ONU upstream luminescence is terminated in time or the working mode of the passive optical network system is adjusted 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 dispatch process of the target ONU, it can be analyzed how it enters the current network deployment, and the logistics dispatch process is adjusted in time to prevent similar events from happening again.
[0044] 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 in a quiet window collaboratively opened by a target optical line terminal OLT and other types of first OLTs according to a target mode, 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, determining 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.
[0045] 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 other PON modes can be GPON, or the target PON can be 50G-PON, and other PONs can be XG-PON, or the target PON can be GPON, and other PONs can be XGS-PON, etc. The examples of the above-mentioned modes are schematically illustrated, and in actual applications, other PONs that can coexist in the same ODN can also be used.
[0046] In the above embodiment, the OLT can parse the response message in the PON mode in which it is located, so the different modes of the ONU sending the response message will result in different OLTs that can parse the response message later. 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 the quiet window 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 reach 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 message sent by the 50G-PON ONU during the activation process will also reach other PON OLTs within the quiet window of other PONs, and will not affect the normal operation of the ONUs of other PONs. In addition, the implementation of coordinated opening of quiet windows can be solidified in the OLT device. After the OLT device is powered on, the quiet windows of 50G-PON OLT and other PON OLT are opened in a natural coordinated manner. Of course, they can also be configured to be coordinated as needed.
[0047] 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 out the content therein, or it may not be able to parse out 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 uses the target PON mode where the target OLT is located to feed back the response message, the first OLT cannot parse out the response message. When the target ONU uses the target PON mode where the first OLT is located to feed back the response message, the first OLT can parse out the response message. These two situations will be explained separately in subsequent embodiments.
[0048] 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 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, the first OLT has not successfully parsed the response message, and the first OLT detects that the duration of the existence of upstream light in the quiet window exceeds a predetermined threshold, and 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):
[0049] Implementation method 1:
[0050] GPON OLT and 50G-PON OLT jointly open quiet windows, and simultaneously open quiet windows of the same position and size.
[0051] The 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelength is inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in the quiet window according to the ITU-T G.9804 series 50G-PON mode, where the 5th byte is 0x02 and the 6th byte is 0x01.
[0052] Even when the upstream wavelength of the 50G-PON ONU is inconsistent with the indication, for example, 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. Then the following phenomena will occur:
[0053] (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.
[0054] (2) The GPON OLT will receive the Serial_Number_ONU, but cannot parse it. Since the quiet window is sent periodically, the GPON OLT side will detect the upstream light in the quiet window for a long time, but cannot parse its specific content.
[0055] By combining (1) and (2) on the OLT side, it can be determined that the upstream wavelength of the 50G-PON ONU does not match.
[0056] 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: 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 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 has detected that the duration of the existence of upstream light in the quiet window exceeds 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 that the duration of the existence of the upstream light in the quiet window exceeds the predetermined threshold.
[0057] In an optional embodiment, the method further includes: when it is determined that the duration for which the first OLT has not detected the presence 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 ONU to continue to emit light; when it is determined that the duration for which the first OLT has detected the presence of the upstream light in the quiet window exceeds 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] 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 existence of an ONU whose actually used upstream wavelength is inconsistent with the indicated upstream supplement. The following example takes the target PON as 50G-PON and the first OLT as 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 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):
[0059] Implementation method 2:
[0060] This implementation is an improvement on the aforementioned implementation one, 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.
[0061] 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:
[0062] (3) The situation where the light is detected for a long time on the GPON OLT side disappears.
[0063] If (2) disappears and (3) appears, the 50G-PON OLT can instruct the 50G-PON ONU to emit light again, and check whether the light detected for a long time on the GPONOLT side reappears to further confirm that the 50G-PON ONU upstream wavelength does not match. This is repeated until it is confirmed that there is a 50G-PON ONU whose upstream wavelength is inconsistent with the indication.
[0064] 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 that the duration of the presence of upstream light in the quiet window exceeds 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 that the duration of the presence of the upstream light exceeds the predetermined threshold.
[0065] In an optional embodiment, the method further includes: reopening the quiet window when it is determined that the first OLT has not detected the existence 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 existence of the upstream light during the quiet window for a period exceeding the predetermined threshold.
[0066] By alternately executing the pause and restart of the quiet window in the above two embodiments, it is possible to accurately identify the ONUs whose actually used upstream wavelength is inconsistent with the indicated upstream supplement. The following example takes the target PON as 50G-PON and the first OLT as 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 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):
[0067] Implementation method three:
[0068] Based on implementation mode 1, 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.
[0069] Based on implementation mode 1, if (1) and (2) are detected, the 50G-PON OLT stops opening the quiet window, stops sending SN grant, and checks whether:
[0070] (3) The situation where the light is detected for a long time on the GPON OLT side disappears.
[0071] 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 of light on the GPON OLT side reappears to further confirm that the 50G-PON ONU upstream wavelength does not match. This is repeated until it is confirmed that there is a 50G-PON ONU whose upstream wavelength is inconsistent with the indication.
[0072] 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 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 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 PON of other types except 50G-PON. The following takes the first PON as GPON, XG-PON and XGS-PON as examples for explanation respectively:
[0073] Implementation Method 4
[0074] Take the coexistence of 50G-PON and GPON in the same ODN as an example.
[0075] GPON OLT and 50G-PON OLT jointly open quiet windows, and simultaneously open quiet windows of the same position and size.
[0076] The 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelength is inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in the G-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x02.
[0077] 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 Serial_Number_ONU message format in GPON format, GPON rate, GPON burst configuration, GPON scrambling format, etc. The 50G-PON upstream rates include 12.5G, 25G, and 50G, which are all integer multiples of the GPON upstream rate of 1.25G. Taking the 50G-PON upstream 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 1bit, and continuously send 10 0 bits to simulate a GPON 0 bit, and use the GPON standard mode for scrambling. The Serial_Number_ONU message format in GPON format can be shown in Table 2:
[0078] Table 2
[0079]
[0080] Figure 3 It is a common format for upstream transmission, and is sent in the PLOu+PLOAMu format. The Serial_Number_ONU message is sent at the PLOAMu position, and the subsequent content of PLOAMu is not sent. The configuration of Preamble and Delimiter can be configured according to the GPON standard and configured to 50G-PON ONU through the 50G-PON standard mode. The transmission format can refer to the corresponding standards of the ITU-TG.984.3 series.
[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 SN parsed 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 GPONOLT reports to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be made to not emit light upstream indirectly through the network management system or directly through the 50G-PON OLT.
[0085] Implementation Method 5
[0086] Similarly, when 50G-PON and XG-PON coexist in the same ODN, the 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelengths are inconsistent, the 50G-PONONU can send a Serial_Number_ONU message in the XG-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x03.
[0087] XG-PON OLT and 50G-PON OLT jointly open quiet windows, and simultaneously open quiet windows of the same position and size.
[0088] The 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelength is inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in the XG-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x03.
[0089] 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 XG-PON mode sends the Serial_Number_ONU message, including the Serial_Number_ONU message format in the XG-PON format, the XG-PON rate, the XG-PON burst configuration, the XG-PON scrambling format, etc. The 50G-PON upstream rates include 12.5G, 25G, and 50G, which are all integer multiples of the XG-PON upstream rate of 2.5G. Taking the 50G-PON upstream rate of 12.5G as an example, it is 5 times of 2.5G. The 50G-PON ONU can continuously send 5 1 bits to simulate a 1 bit of XG-PON, and continuously send 5 0 bits to simulate a 0 bit of XG-PON, and use the XG-PON standard mode for scrambling. The format of the Serial_Number_ONU message in XG-PON format is shown in Table 3:
[0090] Table 3
[0091]
[0092] Figure 4 , Figure 5 and Figure 6 The figure shows the general format of upstream transmission of the ITU-T G.987 series standard, which is sent in the PSBu+XGTCheader 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 Preamble and Delimiter can be configured according to the XG-PON standard and configured to the 50G-PON ONU through the 50G-PON standard mode.
[0093] Then the following phenomena will occur:
[0094] (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.
[0095] (5) The XG-PON OLT receives the Serial_Number_ONU and is able to parse it, but the SN parsed is the SN of the 50G-PON ONU, and the ONU activation cannot be completed.
[0096] Combining (1) and (5), it is possible to accurately determine which 50G-PON ONU's upstream wavelength does not match the indication. XG-PONOLT reports to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be made to not emit light upstream indirectly through the network management system or directly through the 50G-PON OLT.
[0097] Implementation Method 6
[0098] Similarly, when 50G-PON and XGS-PON coexist in the same ODN, the 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelengths are inconsistent, the 50G-PONONU can send a Serial_Number_ONU message in the XGS-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x04.
[0099] XGS-PON OLT and 50G-PON OLT jointly open quiet windows, and simultaneously open quiet windows of the same position and size.
[0100] The 50G-PON OLT gives an upstream wavelength indication through the Upstream_Wavelength_Operation message, and when the upstream wavelength is inconsistent, the 50G-PON ONU can send a Serial_Number_ONU message in the XGS-PON mode within the quiet window, where the 5th byte is 0x02 and the 6th byte is 0x04.
[0101] Even when the upstream wavelength is inconsistent with the indication, the 50G-PON ONU still responds to the SN grant and sends 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 upstream rate is 50G, it is an integer multiple of the XGS-PON upstream rate of 10G. The 50G-PON ONU can continuously send 5 1 bits to simulate a 1 bit of XGS-PON, and continuously send 5 0 bits to simulate a 0 bit of XGS-PON, and use the XGS-PON standard mode for scrambling. The XG-PON format Serial_Number_ONU message format is shown in Table 4 (Table C.11.24-Serial_Number_ONU message):
[0102] Table 4
[0103]
[0104] Table 4
[0105]
[0106] Figure 7 , Figure 8 and Fig. 9 It is the general format for upstream transmission of the ITU-T G.9807.1 series standard in this embodiment, and is sent in the PSBu+XGTC header format, wherein the Serial_Number_ONU message is sent at the PLOAMu position of the XGTC header, and the subsequent content of PLOAMu is not sent, wherein 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.
[0107] Then the following phenomena will occur:
[0108] (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.
[0109] (6) The XGS-PON OLT receives the Serial_Number_ONU and is able to parse it, but the SN parsed is the SN of the 50G-PON ONU, and the ONU activation cannot be completed.
[0110] Combining (1) and (6), it is possible to accurately determine which 50G-PON ONU's upstream wavelength does not match the indication. XG-PONOLT reports to the network management system or notifies the 50G-PON OLT. Subsequently, these 50G-PON ONUs can be made to not emit light upstream indirectly through the network management system or directly through the 50G-PON OLT.
[0111] 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 the sub-OLT that can parse 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, 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 other modes other than the current mode, wherein the other modes include the 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, 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 takes the target PON as 50G-PON as an example, and the first OLT includes multiple OLTs of GPON, XG-PON, and XGS-PON as an example (assuming that 50G-PON coexists with GPON and XG-PON):
[0112] Implementation Method 7
[0113] When 50G-PON coexists with multiple of GPON, XG-PON, and XGS-PON. Assume that 50G-PON coexists with GPON and XG-PON.
[0114] 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 methods.
[0115] Other coexistence situations are handled similarly and will not be described in detail here.
[0116] It can be seen from the above embodiments that the OLT side can provide an upstream wavelength option, and when there is a mismatch, the corresponding ONU execution operation is given, wherein the execution operation may include: stop emitting light, continue emitting light, emit light according to the GPON mode, and emit light according to the XG(S)-PON mode. Moreover, the OLT can switch different execution operation instructions as needed. When the OLT side finds that the upstream wavelength of the 50G-PONONU does not match, and gives an alarm, when it is confirmed that the upstream wavelength of the 50G-PON ONU is inconsistent with the instruction of the OLT, it is asked to stop the upstream light emission or perform the reporting process to avoid the impact on GPON, XG(S)-PON, and the impact on other 50G-PON ONUs.
[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, 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, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0118] In this embodiment, a light control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0119] Fig.10 is a structural block diagram of a light emitting control device according to an embodiment of the present invention. Fig.10 As shown, the device comprises:
[0120] A determination module 1002 is used 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;
[0121] The indication module 1004 is used to instruct the target ONU to stop emitting light; and / or the reporting module 1006 is used 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.
[0122] In an optional embodiment, the device also includes a sending module, which is used to send a first upstream wavelength working message to the target optical network unit ONU 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, so as 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 in a quiet window jointly opened by the target optical line terminal OLT and other types of first OLTs according to the target mode, 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; the determination module 1002 is used 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 the target receiving state of the target OLT and the first receiving state of the first OLT, wherein the target receiving state is used to at least indicate whether the target OLT has received the 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.
[0123] In an optional embodiment, the determination module 1002 includes: a first determination unit, used 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, and the first reception state is that the first OLT has received the response message.
[0124] In an optional embodiment, the determination module 1002 includes: a second determination unit, used 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 the target mode includes the target PON mode, and 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.
[0125] In an optional embodiment, the determination module 1002 includes: a sending unit, used to send 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 mode includes the target PON mode, 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; a third determination unit, used 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 existence of the upstream light in the quiet window for a duration exceeding the predetermined threshold.
[0126] In an optional embodiment, the device also includes: a sending module, which is used to send a third upstream wavelength working message to the target ONU to instruct the target ONU to continue to emit light when it is determined that the first OLT has not detected the existence of upstream data in the quiet window for a period exceeding the predetermined threshold; the determination module 1002 is also used 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 existence of the upstream light in the quiet window for a period exceeding the predetermined threshold.
[0127] In an optional embodiment, the determination module 1002 includes: a processing unit, configured to suspend opening the quiet window when it is determined that the target mode includes the target PON mode, 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 has detected the presence of the upstream light during 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.
[0128] In an optional embodiment, the device also includes: an opening module, used to reopen the quiet window when it is determined that the first OLT has not detected the existence of the upstream light for a period exceeding the predetermined threshold; the determination module 1002 is also used 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 existence of the upstream light in the quiet window for a period exceeding the predetermined threshold.
[0129] In an optional embodiment, the determination module 1002 includes: a fourth determination unit, which is used to 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 the first OLT is located in the first PON and the target mode includes the first PON mode, and 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.
[0130] In an optional implementation, 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 that can parse 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, send a fourth upstream wavelength working message to the target ONU to instruct the target ONU to send the response message within the quiet window in 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, 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.
[0131] It should be noted that the above modules can be implemented by 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.
[0132] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0133] 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.
[0134] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0135] 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.
[0136] 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 herein.
[0137] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0138] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A light emission control method, characterized in that: include: 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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 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, 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.
10. The method according to claim 3, characterized in that: 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 emitting control device, characterized in that: include: A determination module, used 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, used for indicating the target ONU to stop emitting light; and / or, The reporting module is used 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, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 10 when executed by a processor.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 10 are implemented.