Abnormal ONU detection method, electronic equipment and computer readable storage medium
By detecting multiple subcarrier bands in the optical access network and scheduling the abnormal ONU to the test detection band for judgment, the rogue ONU detection problem is solved, and effective identification and processing of abnormal ONU is realized.
Patent Information
- Application Number
- CN202311234501.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
In the existing optical access network, there is a problem of rogue ONU, which causes the normal communication of other ONUs connected under the OLT PON port to be affected, and these abnormal rogue ONUs need to be detected and identified.
By detecting multiple subcarrier bands, if an abnormal subcarrier band is detected, the ONU on it is scheduled to the test detection band in the multiple subcarrier bands, and whether an abnormality occurs in the test detection band, thereby determining the abnormal ONU in the abnormal subcarrier band.
Effectively detect which ONUs in the abnormal subcarrier band are abnormal ONUs, realize effective detection of abnormal ONUs, and ensure the normal operation of the PON system.
Smart Images

Figure CN119676595A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of passive optical networks, and in particular to a method for detecting abnormal ONUs, an electronic device, and a computer-readable storage medium. Background Art
[0002] In recent years, optical access networks based on time division multiplexing passive optical network (TDM-PON) technology have developed rapidly. In related technologies, the uplink and downlink transmission of passive optical networks can be implemented in a multi-subcarrier manner. In the downlink direction, the optical line terminal (OLT) broadcasts each subcarrier data to each optical network unit (ONU) subnode, and each ONU selectively receives data stream information on a single or multiple subcarriers according to the OLT scheduling. In the uplink direction, each ONU sends data to the OLT side for communication according to the protocol scheduling time division frequency division multiplexing (TFDM) method.
[0003] In the current commercial network system of operators, some ONUs may send signals in time slots that do not belong to their allocated bandwidth or are always in the light-emitting state. These ONUs are called rogue ONUs. If there are rogue ONUs in the system, it will affect the normal communication of other ONUs connected to the OLT PON port. Therefore, these abnormal rogue ONUs need to be identified and detected. Summary of the invention
[0004] The present application provides a method for detecting an abnormal ONU, an electronic device, and a computer-readable storage medium, which are used to solve the problem of how to detect an abnormal ONU.
[0005] To solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, a method for detecting an abnormal ONU is provided, comprising:
[0007] Detecting multiple subcarrier bands;
[0008] In the case where an abnormal subcarrier band is detected, scheduling the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands;
[0009] It is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
[0010] In a second aspect, an electronic device is provided, including:
[0011] processor;
[0012] a memory for storing instructions executable by the processor;
[0013] The processor is configured to execute the instructions to implement the method as described in the first aspect.
[0014] According to a third aspect, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to the first aspect.
[0015] In a fourth aspect, a detection system for abnormal ONU is provided, comprising an OLT and a plurality of ONUs, wherein:
[0016] The OLT detects multiple subcarrier bands;
[0017] When the OLT detects an abnormal subcarrier band, it schedules the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands;
[0018] The OLT determines whether an abnormality occurs in the test detection band, and determines an abnormal ONU in the abnormal subcarrier band according to the determination result.
[0019] Based on the technical solution provided in the embodiments of the present application, in a scenario where a PON system uses multiple subcarrier bands for upstream, downstream and / or upstream and downstream transmission, after an abnormal subcarrier band is detected, the characteristics of multiple subcarriers can be utilized to schedule the ONU on the abnormal subcarrier band to other subcarrier bands (i.e., test detection bands) of the multiple subcarrier bands, and whether the scheduled ONU is abnormal is determined by whether abnormalities occur in other subcarrier bands. Therefore, it is possible to effectively detect which ONUs in the abnormal subcarrier band are abnormal ONUs, thereby achieving effective detection of abnormal ONUs. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 It is a schematic diagram of an embodiment of the present application in which a PON adopts multiple subcarriers for uplink and downlink transmission;
[0022] Figure 2 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application;
[0023] Figure 3 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application;
[0024] Figure 4 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application;
[0025] Figure 5 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application;
[0026] Figure 6 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application;
[0027] Figure 7 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;
[0028] Figure 8 It is a structural diagram of an abnormal ONU detection device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in this application will be described clearly and completely below in conjunction with the drawings in one or more embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0030] The terms "first", "second", etc. in the present application and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the data used in this way can be interchanged where appropriate so that the present application can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in the present application and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.
[0031] It should be noted that the technical solution provided in the embodiments of the present application can be applied to a PON system architecture that uses multiple subcarriers for uplink transmission, and can also be applied to a PON system architecture that uses multiple subcarriers for downlink transmission. It can also be applied to a PON system architecture that uses multiple subcarriers for uplink and downlink transmission. These PON system architectures can be, for example, 100G or 200G PON system architectures. In these PON system architectures, based on the technical solution provided in the embodiments of the present application, abnormal ONUs can be effectively detected. The existing PON system architecture adopts a single-carrier method, and all ONUs multiplex an uplink wavelength and a downlink wavelength for data communication. The multi-subcarrier method is to change the previous single-wavelength communication into multiple subcarrier wavelength communication in the uplink and / or downlink direction. The method of generating subcarrier wavelengths can be frequency division multiplexing (FDM), wavelength division multiplexing (WDM) and other methods. Taking the use of multiple subcarriers for uplink and downlink transmission as an example, the schematic diagram of the PON system architecture using multiple subcarriers for uplink and downlink transmission can be as shown below Figure 1 shown. Figure 1 In the OLT, multiple ONUs communicate through an optical distribution network (ODN). The topology of the PON adopts a point-to-multipoint form. When multiple subcarriers are used for uplink and downlink transmission, multiple ONUs can correspond to one subcarrier (for example, Figure 1 ONU1 and ONU2 shown in the figure correspond to one subcarrier 1), and each ONU sends uplink data to the OLT in a time-division manner. Alternatively, a single ONU may completely occupy a single subcarrier (e.g. Figure 1 As shown, ONU3 occupies a subcarrier 2, and ONU4 occupies a subcarrier 3). The OLT can schedule and allocate the ONUs according to the traffic, so that the traffic on each subcarrier is as stable as possible. Figure 1 When an abnormal ONU appears on a certain subcarrier band, the technical solution provided in the embodiment of the present application can effectively detect the abnormal ONU.
[0032] It should be noted that only Figure 1 The example illustrates a scenario in which multiple subcarriers are used for uplink and downlink transmission. In the scenario in which multiple subcarriers are used for uplink and downlink transmission or downlink transmission, the OLT and multiple ONUs can also communicate through the ODN, and multiple ONUs can correspond to one subcarrier, or a single ONU completely occupies one subcarrier. The OLT schedules and allocates ONUs according to the traffic. When an abnormal ONU appears on a subcarrier band, the technical solution provided based on the embodiment of the present application can also effectively detect the abnormal ONU.
[0033] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0034] Figure 2 It is a flowchart of a method for detecting abnormal ONU according to an embodiment of the present application. Figure 2 The abnormal ONU detection method shown can be performed by Figure 1 The OLT shown is implemented. Figure 2 The abnormal ONU detection method shown is as follows.
[0035] S202: Detect multiple subcarrier bands.
[0036] In the scenario where the OLT performs uplink, downlink and / or up and down transmission with multiple ONUs based on a multi-subcarrier mode, multiple subcarrier bands can be detected to determine whether there are abnormal subcarrier bands among the multiple subcarrier bands. The abnormal subcarrier band here can be a subcarrier band where communication abnormality occurs, and the communication abnormality in the subcarrier band can be that one or more ONUs on the subcarrier band have communication abnormality, that is, the subcarrier band includes one or more abnormal ONUs (also referred to as rogue ONUs). Among them, the communication abnormality of the ONU can be that the ONU sends a signal in a time slot that does not belong to its allocated bandwidth, or that the ONU is always in a light-emitting state, etc.
[0037] Optionally, in an implementation manner, when detecting multiple subcarriers, at least one of the following may be included:
[0038] Detect whether there are bit errors in multiple subcarrier bands;
[0039] Detect whether packet loss occurs in multiple subcarrier bands;
[0040] Check whether the power of multiple subcarrier bands fluctuates abnormally.
[0041] Considering that when a subcarrier band includes an abnormal ONU, that is, when a communication abnormality occurs in a subcarrier band, the subcarrier band usually has a bit error, packet loss (which may be packet loss during uplink transmission) and / or abnormal power fluctuation, therefore, when detecting multiple subcarrier bands, at least one of the three items of whether a bit error occurs in the multiple subcarrier bands, whether a packet loss occurs, and whether an abnormal power fluctuation occurs can be detected. Wherein, during the detection, each subcarrier band can be detected separately, that is, for each subcarrier band, at least one of whether a bit error occurs, whether a packet loss occurs, and whether an abnormal power fluctuation occurs can be detected.
[0042] After detecting multiple subcarrier bands, for each subcarrier band, if the detection result includes at least one of the three items of bit error in the subcarrier band, packet loss in the subcarrier band, and abnormal fluctuation in power of the subcarrier band, it can be determined that communication abnormality occurs in the subcarrier band and the subcarrier band is an abnormal subcarrier band. On the contrary, if the detection result is that there is no bit error, no packet loss, and no abnormal fluctuation in power in the subcarrier band, it can be determined that there is no communication abnormality in the subcarrier band and the subcarrier band is a normal subcarrier band. In this way, after detecting multiple subcarrier bands, it can be determined which subcarrier bands among the multiple subcarrier bands are normal subcarrier bands and which subcarrier bands are abnormal subcarrier bands.
[0043] It should be noted that in other possible implementations, other detection methods may also be used to detect multiple subcarrier bands, as long as abnormal subcarrier bands can be detected. Other detection methods will not be described one by one here.
[0044] In an embodiment of the present application, after detecting multiple subcarrier bands, if there are one or more abnormal subcarrier bands, the following S204 can be executed; if there are no abnormal subcarrier bands and they are all normal subcarrier bands, S202 can be continued to be executed, that is, continue to detect multiple subcarrier bands, or the detection process can be ended.
[0045] S204: When an abnormal subcarrier band is detected, the ONU on the abnormal subcarrier band is scheduled to a test detection band among the multiple subcarrier bands.
[0046] In the case where an abnormal subcarrier band is detected, for each abnormal subcarrier band, the ONU on the abnormal subcarrier band can be scheduled to a test detection band among multiple subcarrier bands, and data transmission is performed based on the test detection band.
[0047] When scheduling the ONU on the abnormal subcarrier band to the test detection band, optionally, the ONU on the abnormal subcarrier band can be scheduled to the test detection band in N times, and each ONU is scheduled to the test detection band, and N is the number of ONUs on the abnormal subcarrier band, that is, the ONUs on the abnormal subcarrier band can be scheduled to the test detection band one by one in sequence. For example, assuming that there are 5 ONUs on the abnormal subcarrier band, when scheduling these 5 ONUs to the test detection band, scheduling can be performed in 5 times, and each ONU is scheduled to the test detection band each time. Optionally, in a possible implementation, multiple ONUs can also be scheduled to the test detection band each time. For example, still taking the above-mentioned abnormal subcarrier band including 5 ONUs as an example, when scheduling these 5 ONUs to the test detection band, scheduling can be performed in 3 times, with 2 ONUs being scheduled for the first time, 2 ONUs being scheduled for the second time, and 1 ONU being scheduled for the third time.
[0048] It should be noted that, considering that if multiple ONUs are scheduled to the test detection band each time, when an abnormality occurs in the test detection band, it is impossible to accurately determine which ONU among the multiple scheduled ONUs is the abnormal ONU. Therefore, in an embodiment of the present application, when scheduling the ONU, it is preferred to schedule one ONU to the test detection band each time.
[0049] When scheduling the ONU on the abnormal subcarrier band to the test detection band, in a possible implementation, the OLT can send an indication message to the ONU on the abnormal subcarrier band by broadcasting (here it can correspond to the situation that the uplink communication of the abnormal ONU is abnormal but the downlink communication is not abnormal), and the indication message is used to instruct the ONU on the abnormal subcarrier band to adjust the wavelength of its laser from the abnormal subcarrier band to the test detection band. After receiving the indication message from the OLT, the ONU on the abnormal subcarrier band can adjust the wavelength of the laser from the abnormal subcarrier band to the test detection band according to the indication of the indication message, thereby scheduling the ONU on the abnormal subcarrier band to the test detection band. Of course, in other possible implementations, the ONU on the abnormal subcarrier band can also be scheduled to the test detection band by other methods, and other possible implementations will not be illustrated one by one here.
[0050] The test detection band may be a subcarrier band among the other subcarrier bands except the abnormal subcarrier band among the multiple subcarrier bands. Optionally, in one implementation, the test detection band may be a vacant subcarrier band among the multiple subcarrier bands except the abnormal subcarrier band, that is, a subcarrier band that is not used among the multiple subcarrier bands is used as the test detection band. In another implementation, the test detection band may also be a subcarrier band among the multiple subcarrier bands where no abnormality occurs and the flow is less than a preset threshold (which can be set according to actual needs), that is, a normal subcarrier band with a smaller flow among the multiple subcarrier bands is used as the test detection band. For example, the subcarrier band with the smallest flow among the multiple subcarrier bands may be used as the test detection band, or a band may be randomly selected from the multiple subcarrier bands less than the preset threshold as the test detection band, or a subcarrier band with a smaller flow may be selected as the test detection band according to actual business needs, and the selection method of the small flow subcarrier band is not limited here.
[0051] It should be noted that the reason why the embodiment of the present application uses the normal subcarrier band with smaller traffic as the test detection band is to ensure that after the ONU on the abnormal subcarrier band is scheduled to the normal subcarrier band, the traffic of the normal subcarrier band will not be too large, so as to avoid affecting the normal communication of the original ONU on the normal subcarrier band. In the actual application scenario, if there is an idle subcarrier band among multiple subcarrier bands, the idle subcarrier band can be used as the test detection band, or a subcarrier band with smaller traffic in the normal subcarrier band can be used as the test detection band. If there is no idle subcarrier band among multiple subcarrier bands, a subcarrier band with smaller traffic in the normal subcarrier band can be used as the test detection band.
[0052] S206: Determine whether the test detection band is abnormal, and determine the abnormal ONU in the abnormal subcarrier band according to the determination result.
[0053] After the ONU on the abnormal subcarrier band is scheduled to the test detection band, the ONU on the abnormal subcarrier band can perform data transmission with the OLT based on the test detection band. At this time, it can be determined whether the communication in the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band can be determined based on the judgment result.
[0054] As mentioned above, when scheduling the ONUs on the abnormal subcarrier band to the test detection band, the ONUs on the abnormal subcarrier band can be scheduled to the test detection band one by one. In this way, when judging whether an abnormality occurs in the test detection band, it can be judged whether an abnormality occurs in the test detection band each time an ONU to be tested on the abnormal subcarrier band is scheduled to the test detection band, and the abnormal ONU in the abnormal subcarrier band can be determined based on the judgment result.
[0055] When determining the abnormal ONU in the abnormal subcarrier band according to the judgment result, specifically, after scheduling any ONU to be tested on the abnormal subcarrier band to the test detection band, the ONU to be tested can perform data transmission based on the test detection band. When the ONU to be tested performs data transmission based on the test detection band, the test detection band can be detected, and whether the test detection band is abnormal can be determined according to the detection result. Among them, when detecting the test detection band, the specific implementation method can refer to the specific implementation method of detecting multiple subcarrier bands recorded in the above S202, which will not be described in detail here.
[0056] After determining whether the test detection band is abnormal, the determination result may include that the test detection band is not abnormal and that the test detection band is abnormal. The following will describe how to determine the abnormal ONU in the abnormal subcarrier band for these two determination results.
[0057] If the judgment result is that there is no abnormality in the test detection band, it can explain two situations. The first situation is that the ONU to be tested is a normal ONU, and the second situation is that the ONU to be tested is an abnormal ONU and cannot be successfully scheduled or normally scheduled to the test detection band. In either case, it can be judged whether the ONUs on the abnormal subcarrier band have been traversed, that is, whether all ONUs on the abnormal subcarrier band have been scheduled to the test detection band. If the ONUs on the abnormal subcarrier band have not been traversed, the abnormal ONU detection process can be continued, that is, the ONUs that have not been traversed can be scheduled to the test detection band. If the ONUs on the abnormal subcarrier band have been traversed, it can be further determined whether there are ONUs on the abnormal subcarrier band that have not been successfully scheduled. If there are ONUs that have not been successfully scheduled, it can be explained that these ONUs are abnormal and cannot be successfully scheduled. At this time, the ONUs that have not been successfully scheduled can be determined as abnormal ONUs. If there are no ONUs that have not been successfully scheduled, it can be explained that the ONUs to be tested scheduled this time are normal ONUs. After that, since the ONUs on the abnormal subcarrier band have been traversed, the detection process for abnormal ONUs can be terminated. Wherein, when scheduling the ONUs that have not been traversed to the test detection band, they can be scheduled to the test detection band one by one in sequence, and after each scheduling of an ONU that has not been traversed to the test detection band, S206 can be executed, so that a cyclic detection process for abnormal ONUs can be formed, until all the ONUs that have not been traversed are scheduled to the test detection band, the detection process for abnormal ONUs is terminated.
[0058] If the test detection band is abnormal, it can be explained that the ONU to be tested that is scheduled this time is successfully scheduled to the test detection band, and the function of the ONU to be tested is still abnormal, resulting in an abnormality in the detection band. At this time, the ONU to be tested can be determined as an abnormal ONU. After determining the abnormal ONU, the abnormal ONU can be scheduled to an abandoned subcarrier band of multiple subcarrier bands, or the abnormal ONU can be scheduled to an abnormal subcarrier band. Among them, the abandoned subcarrier band can be a subcarrier band that is not used in multiple subcarrier bands, or it can also be a subcarrier band in multiple subcarrier bands that is dedicated to carrying abnormal ONUs.
[0059] Optionally, if the abnormal ONU is scheduled to the abandoned subcarrier band, after the abnormal ONU is scheduled to the abandoned subcarrier band, the abnormal subcarrier band can be detected, and it is judged whether the abnormal subcarrier band has returned to normal according to the detection result. Wherein, when the abnormal subcarrier band is detected, the specific implementation method can refer to the specific implementation method of detecting multiple subcarrier bands recorded in the above S202, which is not described in detail here. If the abnormal subcarrier band returns to normal, it can be explained that the abnormal ONU on the abnormal subcarrier band has been detected. At this time, the abnormal detection of the ONU can be ended, that is, the detection process of the abnormal ONU can be ended, and other ONUs that have not been traversed on the abnormal subcarrier band need not be scheduled to the test detection band. If the abnormal subcarrier band does not return to normal, it can be explained that there are still abnormal ONUs that have not been detected on the abnormal subcarrier band. At this time, it can be judged whether the ONUs on the abnormal subcarrier band have been traversed. If it has been traversed, it can be explained that there is an ONU on the abnormal subcarrier band that was not successfully scheduled when the scheduling was traversed before, and the ONU that was not successfully scheduled can be determined as an abnormal ONU. If it has not been traversed, the detection process of the abnormal ONU can be continued, and the ONU that has not been traversed is scheduled to the test detection band. Among them, when the ONU that has not been traversed is scheduled to the test detection band, it can be scheduled to the test detection band one by one in sequence, and after each scheduling of an ONU that has not been traversed to the test detection band, S206 can be executed, so that a cyclic detection process for the abnormal ONU can be formed, until all the ONUs that have not been traversed are scheduled to the test detection band, the detection process for the abnormal ONU is terminated.
[0060] Optionally, if abnormal ONU is dispatched to abnormal subcarrier band, after abnormal ONU is dispatched to abnormal subcarrier band, it can be judged whether the ONU on abnormal subcarrier band has been traversed. If traversed, the detection process of abnormal ONU can be terminated, at this time, the ONU on abnormal subcarrier band is abnormal ONU (including abnormal ONU that can be successfully scheduled, and may include abnormal ONU that cannot be successfully scheduled). If not traversed, the detection process of abnormal ONU can be continued, and the ONU that is not traversed is dispatched to the test detection band. Wherein, when the ONU that is not traversed is dispatched to the test detection band, it can be dispatched to the test detection band one by one in turn, and, after each dispatching an ONU that is not traversed to the test detection band, S206 can be performed, so, a cyclic detection process of abnormal ONU can be formed, until the detection process of abnormal ONU is terminated when all the ONUs that are not traversed are dispatched to the test detection band.
[0061] After all the ONUs on the abnormal subcarrier band are scheduled to the test detection band of multiple subcarrier bands based on the above method, and the abnormal ONUs on the abnormal subcarrier band are determined according to whether the test detection band is abnormal, all the abnormal ONUs in the abnormal subcarrier band can be detected eventually, and these abnormal ONUs will exist in the abandoned subcarrier band and / or the abnormal subcarrier band. Specifically, if all abnormal ONUs are abnormal ONUs that cannot be successfully scheduled, all abnormal ONUs will exist on the abnormal subcarrier band; if all abnormal ONUs are abnormal ONUs that can be successfully scheduled, all abnormal ONUs will exist on the abandoned subcarrier band (for the case where the detected abnormal ONUs are scheduled to the abandoned subcarrier band) or on the abnormal subcarrier band (for the case where the detected abnormal ONUs are scheduled to the abnormal subcarrier band); if the abnormal ONUs include abnormal ONUs that can be successfully scheduled and abnormal ONUs that cannot be successfully scheduled, the abnormal ONUs will exist on the abandoned subcarrier band and the abnormal subcarrier band (for the case where the detected abnormal ONUs that can be successfully scheduled are scheduled to the abandoned subcarrier band), or all exist on the abnormal subcarrier band (for the case where the detected abnormal ONUs that can be successfully scheduled are scheduled to the abnormal subcarrier band).
[0062] In order to facilitate understanding of the detection process of the abnormal ONU detection method provided in the embodiment of the present application, please refer to the following Figures 3 to 6 The embodiment shown.
[0063] Figure 3 It is a flowchart of a method for detecting an abnormal ONU according to an embodiment of the present application, which may include the following steps.
[0064] S301: Detect multiple subcarrier bands.
[0065] S302: Determine an abnormal subcarrier band among the multiple subcarrier bands according to the detection result.
[0066] S303: Schedule the ONU on the abnormal subcarrier band to the idle subcarrier band.
[0067] The number of abnormal subcarrier bands may be one or more, and for each abnormal subcarrier band, the abnormal ONU detection process may be performed separately. For any abnormal subcarrier band, when detecting an abnormal ONU, the ONU on the abnormal subcarrier band may be scheduled to an idle subcarrier band. When scheduling, optionally, it may be determined whether there is an idle subcarrier band among multiple subcarrier bands, and if so, the ONU on the abnormal subcarrier band may be scheduled to the idle subcarrier band. If not, the ONU on the abnormal subcarrier band may be scheduled to a subcarrier band with a smaller flow rate among multiple subcarrier bands. This embodiment may be described by taking the existence of an idle subcarrier band as an example. Among them, when scheduling the ONU on the abnormal subcarrier band to the idle subcarrier band, the ONU on the abnormal subcarrier band may be scheduled to the idle subcarrier band one by one. Each time an ONU to be tested is scheduled to the idle subcarrier band, the ONU may perform data transmission based on the idle subcarrier band, and when performing data transmission, S304 may be executed.
[0068] S304: For the scheduled ONU to be tested, determine whether an abnormality occurs in the idle subcarrier band.
[0069] After one scheduling is performed, for the ONU to be tested that is scheduled this time, it can be determined whether the idle subcarrier band is abnormal when the ONU to be tested is transmitting data based on the idle subcarrier band. If the idle subcarrier band is abnormal, S305 can be executed; if the idle subcarrier band is not abnormal, two situations can be explained, one situation is that the ONU to be tested is a normal ONU, so when transmitting data based on the idle subcarrier band, the idle subcarrier band is not abnormal, and the other situation is that the ONU to be tested is an abnormal ONU and cannot be successfully scheduled to the idle subcarrier band, so the idle subcarrier band is not abnormal. At this time, no matter which situation is, S308 can be executed.
[0070] S305: Determine the ONU to be tested as an abnormal ONU.
[0071] S306: Schedule the abnormal ONU to the abandoned subcarrier band.
[0072] S307: Determine whether the abnormal subcarrier band returns to normal.
[0073] If it returns to normal, it means that the abnormal ONU in the abnormal subcarrier band has been detected, and the detection process can be ended at this time, that is, S309 is executed; if it does not return to normal, it can be said that the abnormal subcarrier band also includes abnormal ONUs, and S308 can be executed at this time.
[0074] S308: Determine whether the ONUs on the abnormal subcarrier band have been traversed.
[0075] Determine whether the ONUs on the abnormal subcarrier band have been traversed, that is, determine whether all the ONUs on the abnormal subcarrier band have been scheduled to the idle subcarrier band. If so, the detection process can be ended, that is, S309 is executed. If not, it can return to execute S303, that is, continue to schedule the ONUs on the abnormal subcarrier band to the idle subcarrier band. The scheduling here can be to schedule the ONUs that have not been scheduled on the abnormal subcarrier band to the idle subcarrier band one by one.
[0076] It should be noted that if S308 is executed when it is determined in S304 that there is no abnormality in the idle subcarrier band, and when S308 is executed, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, then it can be further determined whether the abnormal subcarrier band has returned to normal. If it has not returned to normal, it can be explained that there are ONUs on the abnormal subcarrier band that have not been successfully scheduled. These ONUs are abnormal ONUs and are still retained on the abnormal subcarrier band when being scheduled. At this time, these ONUs that have not been successfully scheduled can be determined as abnormal ONUs. If it returns to normal, it can be determined that the ONU to be tested scheduled this time is a normal ONU. If S308 is executed when it is determined in S307 that the abnormal subcarrier band has not returned to normal, and when S308 is executed, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, it can be explained that there are ONUs on the abnormal subcarrier band that have not been successfully scheduled during the previous scheduling. At this time, these ONUs can be determined as abnormal ONUs.
[0077] S309: End.
[0078] based on Figure 3 In the embodiment shown, after the detection process ends, the abnormal ONUs will all exist on the abandoned subcarrier band (for the case where all abnormal ONUs can be successfully scheduled), or all exist on the abnormal subcarrier band (for the case where none of the abnormal ONUs can be successfully scheduled), or exist on the abandoned subcarrier band and the abnormal subcarrier band (for the case where the abnormal ONUs include abnormal ONUs that can be successfully scheduled and abnormal ONUs that cannot be successfully scheduled).
[0079] Figure 4 It is a flowchart of a method for detecting an abnormal ONU according to an embodiment of the present application, which may include the following steps.
[0080] S401: Detect multiple subcarrier bands.
[0081] S402: Determine an abnormal subcarrier band among the multiple subcarrier bands according to the detection result.
[0082] S403: Schedule the ONU on the abnormal subcarrier band to the idle subcarrier band.
[0083] The number of abnormal subcarrier bands may be one or more, and for each abnormal subcarrier band, the abnormal ONU detection process may be performed separately. For any abnormal subcarrier band, when detecting an abnormal ONU, the ONU on the abnormal subcarrier band may be scheduled to an idle subcarrier band. When scheduling, optionally, it may be determined whether there is an idle subcarrier band among multiple subcarrier bands, and if so, the ONU on the abnormal subcarrier band may be scheduled to the idle subcarrier band. If not, the ONU on the abnormal subcarrier band may be scheduled to a subcarrier band with a smaller flow rate among multiple subcarrier bands. This embodiment may be described by taking the existence of an idle subcarrier band as an example. Among them, when scheduling the ONU on the abnormal subcarrier band to the idle subcarrier band, the ONU on the abnormal subcarrier band may be scheduled to the idle subcarrier band one by one. Each time an ONU to be tested is scheduled to the idle subcarrier band, the ONU may perform data transmission based on the idle subcarrier band, and when performing data transmission, S404 may be executed.
[0084] S404: For the scheduled ONU to be tested, determine whether an abnormality occurs in the idle subcarrier band.
[0085] After one scheduling is performed, for the ONU to be tested that is scheduled this time, it can be determined whether the idle subcarrier band is abnormal when the ONU to be tested is transmitting data based on the idle subcarrier band. If the idle subcarrier band is abnormal, S405 can be executed; if the idle subcarrier band is not abnormal, two situations can be explained, one situation is that the ONU to be tested is a normal ONU, so when transmitting data based on the idle subcarrier band, the idle subcarrier band is not abnormal, and the other situation is that the ONU to be tested is an abnormal ONU and cannot be successfully scheduled to the idle subcarrier band, so the idle subcarrier band is not abnormal. At this time, no matter which situation is, S407 can be executed.
[0086] S405: Determine the ONU to be tested as an abnormal ONU.
[0087] S406: Schedule the abnormal ONU to the abnormal subcarrier band.
[0088] S407: Determine whether the ONUs on the abnormal subcarrier band have been traversed.
[0089] Determine whether the ONUs on the abnormal subcarrier band have been traversed, that is, determine whether all the ONUs on the abnormal subcarrier band have been scheduled to the idle subcarrier band. If so, the detection process can be ended, that is, execute S408. If not, it can return to execute S403, that is, continue to schedule the ONUs on the abnormal subcarrier band to the idle subcarrier band. The scheduling here can be to schedule the ONUs that have not been scheduled on the abnormal subcarrier band to the idle subcarrier band one by one.
[0090] It should be noted that if S407 is executed when it is determined in S404 that there is no abnormality in the idle subcarrier band, and when executing S407, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, it can be said that the abnormal ONU only exists on the abnormal subcarrier band. At this time, the ONU on the abnormal subcarrier band can be determined as an abnormal ONU.
[0091] S408: End.
[0092] based on Figure 4 In the illustrated embodiment, after the detection process is finished, all abnormal ONUs will be present on the abnormal subcarrier band, and the abnormal ONUs on the abnormal subcarrier band include abnormal ONUs that can be successfully scheduled and / or abnormal ONUs that cannot be successfully scheduled.
[0093] Figure 5 It is a flowchart of a method for detecting an abnormal ONU according to an embodiment of the present application, which may include the following steps.
[0094] S501: Detect multiple subcarrier bands.
[0095] S502: Determine an abnormal subcarrier band among the multiple subcarrier bands according to the detection result.
[0096] S503: Schedule the ONU on the abnormal subcarrier band to the first subcarrier band.
[0097] The number of abnormal subcarrier bands may be one or more, and for each abnormal subcarrier band, the abnormal ONU detection process may be performed separately. For any abnormal subcarrier band, when detecting an abnormal ONU, the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band. The first subcarrier band may be a normal subcarrier band with a flow rate less than a preset threshold value among multiple subcarrier bands, or may be a normal subcarrier band with the smallest flow rate among multiple subcarrier bands. When scheduling, optionally, the first subcarrier band among multiple subcarrier bands may be determined first, and then the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band. Among them, when scheduling the ONU on the abnormal subcarrier band to the first subcarrier band, the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band one by one. Each time an ONU to be tested is scheduled to the first subcarrier band, the ONU may perform data transmission based on the first subcarrier band, and when performing data transmission, S504 may be executed.
[0098] S504: For the scheduled ONU to be tested, determine whether an abnormality occurs in the first subcarrier band.
[0099] After one scheduling is performed, for the ONU to be tested that is scheduled this time, it can be determined whether the first subcarrier band of the ONU to be tested is abnormal when the ONU to be tested is transmitting data based on the first subcarrier band. If the first subcarrier band is abnormal, S505 can be executed; if the first subcarrier band is not abnormal, two situations can be explained, one situation is that the ONU to be tested is a normal ONU, so when the data is transmitted based on the first subcarrier band, the first subcarrier band is not abnormal, and the other situation is that the ONU to be tested is an abnormal ONU and cannot be successfully scheduled to the first subcarrier band, so the first subcarrier band is not abnormal. At this time, no matter which situation is, S508 can be executed.
[0100] S505: Determine the ONU to be tested as an abnormal ONU.
[0101] S506: Schedule the abnormal ONU to the abandoned subcarrier band.
[0102] S507: Determine whether the abnormal subcarrier band returns to normal.
[0103] If it returns to normal, it means that the abnormal ONU in the abnormal subcarrier band has been detected, and the detection process can be ended at this time, that is, S509 is executed; if it does not return to normal, it means that the abnormal subcarrier band also includes abnormal ONUs, and S508 can be executed at this time.
[0104] S508: Determine whether the ONUs on the abnormal subcarrier band have been traversed.
[0105] Determine whether the ONUs on the abnormal subcarrier band have been traversed, that is, determine whether all the ONUs on the abnormal subcarrier band have been scheduled to the first subcarrier band. If so, the detection process can be ended, that is, S509 is executed. If not, it can return to execute S503, that is, continue to schedule the ONUs on the abnormal subcarrier band to the first subcarrier band. The scheduling here can be to schedule the ONUs that have not been scheduled on the abnormal subcarrier band to the first subcarrier band one by one.
[0106] It should be noted that if S508 is executed when it is determined in S504 that the first subcarrier band is not abnormal, and when S508 is executed, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, then it can be further determined whether the abnormal subcarrier band has returned to normal. If it has not returned to normal, it can be explained that there are ONUs on the abnormal subcarrier band that have not been successfully scheduled. These ONUs are abnormal ONUs and are still retained on the abnormal subcarrier band when being scheduled. At this time, these ONUs that have not been successfully scheduled can be determined as abnormal ONUs. If it returns to normal, it can be determined that the ONUs to be tested scheduled this time are normal ONUs. If S508 is executed when it is determined in S507 that the abnormal subcarrier band has not returned to normal, and when S508 is executed, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, it can be explained that there are ONUs on the abnormal subcarrier band that have not been successfully scheduled during the previous scheduling. At this time, these ONUs can be determined as abnormal ONUs.
[0107] S509: End.
[0108] based on Figure 5 In the embodiment shown, after the detection process ends, the abnormal ONUs will all exist on the abandoned subcarrier band (for the case where all abnormal ONUs can be successfully scheduled), or all exist on the abnormal subcarrier band (for the case where none of the abnormal ONUs can be successfully scheduled), or exist on the abandoned subcarrier band and the abnormal subcarrier band (for the case where the abnormal ONUs include abnormal ONUs that can be successfully scheduled and abnormal ONUs that cannot be successfully scheduled).
[0109] Figure 6 It is a flowchart of a method for detecting an abnormal ONU according to an embodiment of the present application, which may include the following steps.
[0110] S601: Detect multiple subcarrier bands.
[0111] S602: Determine an abnormal subcarrier band among the multiple subcarrier bands according to the detection result.
[0112] S603: Schedule the ONU on the abnormal subcarrier band to the first subcarrier band.
[0113] The number of abnormal subcarrier bands may be one or more, and for each abnormal subcarrier band, the abnormal ONU detection process may be performed separately. For any abnormal subcarrier band, when detecting an abnormal ONU, the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band. The first subcarrier band may be a normal subcarrier band with a flow rate less than a preset threshold value among multiple subcarrier bands, or may be a normal subcarrier band with the smallest flow rate among multiple subcarrier bands. When scheduling, optionally, the first subcarrier band among multiple subcarrier bands may be determined first, and then the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band. Among them, when scheduling the ONU on the abnormal subcarrier band to the first subcarrier band, the ONU on the abnormal subcarrier band may be scheduled to the first subcarrier band one by one. Each time an ONU to be tested is scheduled to the first subcarrier band, the ONU may perform data transmission based on the first subcarrier band, and when performing data transmission, S604 may be executed.
[0114] S604: For the scheduled ONU to be tested, determine whether an abnormality occurs in the first subcarrier band.
[0115] After one scheduling is performed, for the ONU to be tested that is scheduled this time, it can be determined whether the first subcarrier band is abnormal when the ONU to be tested is transmitting data based on the first subcarrier band. If the first subcarrier band is abnormal, S605 can be executed; if the first subcarrier band is not abnormal, two situations can be explained, one situation is that the ONU to be tested is a normal ONU, so when data is transmitted based on the first subcarrier band, the first subcarrier band is not abnormal, and the other situation is that the ONU to be tested is an abnormal ONU and cannot be successfully scheduled to the first subcarrier band, so the first subcarrier band is not abnormal. At this time, no matter which situation is, S607 can be executed.
[0116] S605: Determine the ONU to be tested as an abnormal ONU.
[0117] S606: Schedule the abnormal ONU to the abnormal subcarrier band.
[0118] S607: Determine whether the ONUs on the abnormal subcarrier band have been traversed.
[0119] Determine whether the ONUs on the abnormal subcarrier band have been traversed, that is, determine whether all the ONUs on the abnormal subcarrier band have been scheduled to the first subcarrier band. If so, the detection process can be ended, that is, execute S608. If not, return to execute S603, that is, continue to schedule the ONUs on the abnormal subcarrier band to the first subcarrier band. The scheduling here can be to schedule the ONUs that have not been scheduled on the abnormal subcarrier band to the first subcarrier band one by one.
[0120] It should be noted that if S607 is executed when it is determined in S604 that there is no abnormality in the first subcarrier band, and when executing S607, the judgment result is that the ONUs on the abnormal subcarrier band have been traversed, it can be said that the abnormal ONU only exists on the abnormal subcarrier band. At this time, the ONU on the abnormal subcarrier band can be determined as an abnormal ONU.
[0121] S608: End.
[0122] based on Figure 6 In the illustrated embodiment, after the detection process is finished, all abnormal ONUs will be present on the abnormal subcarrier band, and the abnormal ONUs on the abnormal subcarrier band include abnormal ONUs that can be successfully scheduled and / or abnormal ONUs that cannot be successfully scheduled.
[0123] Above Figures 3 to 6 In the embodiment shown, the specific implementation of each step can refer to the above Figure 2 The specific implementation of the corresponding steps in the illustrated embodiment will not be described in detail here.
[0124] It should be noted that in actual application scenarios, if there are idle subcarrier bands among multiple subcarrier bands, when detecting abnormal ONUs, Figures 3 to 6 Any of the embodiments shown in the figure is implemented. Further, if it is required to use a minimum number of subcarrier bands to detect abnormal ONUs, it can be based on Figure 6 If there is no idle subcarrier band among the multiple subcarrier bands, when detecting abnormal ONUs, it can be based on Figure 5 or Figure 6 The embodiment shown in the figure is implemented. Further, if it is required to use a minimum number of subcarrier bands to detect abnormal ONUs, it can be based on Figure 6 The embodiment shown implements.
[0125] In the embodiment of the present application, after detecting the abnormal ONU on the abnormal subcarrier band, optionally, these abnormal ONUs can also be marked, and the detection result of the abnormal ONU can be reported. The detection result of the abnormal ONU can include the identification of the abnormal ONU. When reporting the detection result, it can be reported to the management device of the background, and the management device can prompt the management personnel of the background which ONUs are abnormal according to the detection result, so as to perform corresponding fault processing on these abnormal ONUs.
[0126] Optionally, in the case where the abnormal subcarrier band includes normal ONUs, for these normal ONUs, in the above abnormal ONU detection process, after the normal ONU is scheduled to the test detection band, it can continue to be retained on the test detection band and perform data transmission based on the test detection band, or the normal ONU can also be scheduled from the test detection band to other normal subcarrier bands of multiple subcarrier bands. In this way, it can be ensured that the normal ONU performs normal data transmission based on the test detection band or other normal subcarrier bands.
[0127] Based on the technical solution provided by the embodiment of the present application, in the scenario where the PON system uses multiple subcarriers for uplink, downlink and / or uplink and downlink transmission, after detecting an abnormal subcarrier band, the ONU on the abnormal subcarrier band can be scheduled to other subcarrier bands (i.e., test detection bands) of multiple subcarrier bands by utilizing the characteristics of multiple subcarriers, and whether the scheduled ONU is abnormal is determined by whether other subcarrier bands are abnormal, so that which ONUs in the abnormal subcarrier band are abnormal ONUs can be effectively detected, thereby achieving effective detection of abnormal ONUs. For the detected abnormal ONU, since it can be scheduled to the abandoned subcarrier band and / or retained on the abnormal subcarrier band, the normal operation of the actual PON system under the existing network can be guaranteed.
[0128] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0129] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 7At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0130] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0131] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0132] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an abnormal ONU detection device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0133] Detecting multiple subcarrier bands;
[0134] In the case where an abnormal subcarrier band is detected, scheduling the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands;
[0135] It is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
[0136] The above application Figure 7The method performed by the abnormal ONU detection device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in software form. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in this application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in this application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0137] The electronic device may also perform Figures 2 to 6 The method and the detection device of abnormal ONU are implemented in Figures 2 to 6 The functions in the illustrated embodiments will not be described in detail in this application.
[0138] Of course, in addition to software implementation methods, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0139] The present application also proposes a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figures 2 to 6 The method of the embodiment shown is specifically used to perform the following operations:
[0140] Detecting multiple subcarrier bands;
[0141] In the case where an abnormal subcarrier band is detected, scheduling the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands;
[0142] It is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
[0143] Figure 8 FIG. 8 is a schematic diagram of the structure of an abnormal ONU detection device 80 according to an embodiment of the present application. Figure 8 In a software implementation, the abnormal ONU detection device 80 may include: a detection module 81, a scheduling module 82 and a determination module 83, wherein:
[0144] A detection module 81 detects multiple subcarrier bands;
[0145] The scheduling module 82 is configured to schedule the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands when an abnormal subcarrier band is detected;
[0146] The determination module 83 determines whether the test detection band is abnormal, and determines the abnormal ONU in the abnormal subcarrier band according to the determination result.
[0147] Optionally, the determining module 83 determines the abnormal ONU in the abnormal subcarrier band according to the judgment result, including:
[0148] For any ONU to be tested on the abnormal subcarrier band, after the ONU to be tested is scheduled to the test detection band, if the judgment result is that the test detection band is abnormal, the ONU to be tested is determined to be an abnormal ONU.
[0149] Optionally, the scheduling module 82 further includes:
[0150] Scheduling the abnormal ONU to a discarded subcarrier band; or,
[0151] The abnormal ONU is scheduled to the abnormal subcarrier band.
[0152] Optionally, in the case where the abnormal ONU is scheduled to the abnormal subcarrier, the scheduling module 82 further includes:
[0153] Determine whether the ONUs on the abnormal subcarrier band have been traversed;
[0154] In the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band;
[0155] In the case that the ONUs on the abnormal subcarrier band have been traversed, the abnormality detection of the ONU is ended.
[0156] Optionally, in the case where the abnormal ONU is scheduled to the abandoned subcarrier band, the scheduling module 82 further includes:
[0157] Determining whether the abnormal subcarrier band returns to normal;
[0158] When the abnormal subcarrier band returns to normal, the abnormality detection on the ONU is ended.
[0159] Optionally, the scheduling module 82 further includes:
[0160] In the case that the abnormal subcarrier band has not returned to normal, determining whether the ONUs on the abnormal subcarrier band have been traversed;
[0161] In the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band;
[0162] In the case that the ONUs on the abnormal subcarrier band have been traversed, it is determined that there is an ONU on the abnormal subcarrier band that has not been successfully scheduled, and the ONU that has not been successfully scheduled is determined as an abnormal ONU.
[0163] Optionally, the determining module 83 determines the abnormal ONU in the abnormal subcarrier band according to the judgment result, including:
[0164] For any ONU to be tested on the abnormal subcarrier band, after scheduling the ONU to be tested to the test detection band, if the judgment result is that no abnormality occurs in the test detection band, judging whether the ONUs on the abnormal subcarrier band have been traversed;
[0165] The scheduling module 82 further includes: in the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band;
[0166] The determination module 83 further includes: after traversing the ONUs on the abnormal subcarrier band, determining whether there is an ONU on the abnormal subcarrier band that has not been successfully scheduled, and if so, determining the ONU that has not been successfully scheduled as an abnormal ONU.
[0167] Optionally, the detection module 81 detects multiple subcarrier bands, including at least one of the following:
[0168] Detecting whether bit errors occur in the multiple subcarrier bands;
[0169] Detecting whether packet loss occurs in the multiple subcarrier bands;
[0170] Detecting whether the power of the multiple subcarrier bands fluctuates abnormally;
[0171] Wherein, for each subcarrier band, when the subcarrier band satisfies at least one of the following conditions, the subcarrier band is characterized as an abnormal subcarrier band:
[0172] A bit error occurs in the subcarrier band;
[0173] Packet loss occurs in the subcarrier band;
[0174] The power of the subcarrier band fluctuates abnormally.
[0175] Optionally, the test detection band is an idle subcarrier band among the multiple subcarrier bands; or,
[0176] The test detection band is a subcarrier band among the multiple subcarrier bands in which no abnormality occurs and the flow rate is less than a preset threshold.
[0177] Optionally, the scheduling module 82 schedules the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands, including:
[0178] Scheduling the ONUs on the abnormal subcarrier band to the test detection band in N times, scheduling one ONU to the test detection band each time, where N is the number of ONUs on the abnormal subcarrier band;
[0179] The determination module 83 determines whether the test detection band is abnormal, and determines the abnormal ONU in the abnormal subcarrier band according to the determination result, including:
[0180] After scheduling an ONU to be tested on the abnormal subcarrier band to the test detection band, it is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
[0181] Optionally, after determining the abnormal ONU in the abnormal subcarrier band, the determining module 83 further includes:
[0182] The abnormal ONU in the abnormal subcarrier band is marked, and the detection result of the abnormal ONU is reported.
[0183] Optionally, the scheduling module 82 further includes:
[0184] For a normal ONU on the abnormal subcarrier band, the normal ONU is retained on the test detection band, or the normal ONU is scheduled to other normal subcarrier bands of the multiple subcarrier bands.
[0185] Optionally, the abnormal ONU detection device 80 is applied to at least one of the following:
[0186] PON system using multiple subcarrier bands for upstream transmission;
[0187] PON systems that use multiple subcarrier bands for downlink transmission;
[0188] A PON system that uses multiple subcarrier bands for upstream and downstream transmission.
[0189] The abnormal ONU detection device 80 provided in the embodiment of the present application can also execute Figures 2 to 6 The method and the abnormal ONU detection device 80 are implemented in Figures 2 to 6 The functions of the illustrated embodiments will not be described in detail in this application.
[0190] The embodiment of the present application also provides a detection system for abnormal ONUs, the detection system includes an OLT and multiple ONUs, the OLT can use multiple subcarrier bands to perform uplink transmission, downlink transmission or uplink and downlink transmission with the multiple ONUs, and one subcarrier band can have one or more ONUs. Among them, when an abnormal ONU appears on a certain subcarrier band, the OLT can effectively detect the abnormal ONU. When the OLT detects the abnormal ONU, it includes the following steps:
[0191] Detecting multiple subcarrier bands;
[0192] In the case where an abnormal subcarrier band is detected, the ONU on the abnormal subcarrier band is scheduled to a test detection band among multiple subcarrier bands;
[0193] Determine whether the test detection band is abnormal, and determine the abnormal ONU in the abnormal subcarrier band according to the determination result.
[0194] The specific implementation of the above steps can be found in Figure 2 The specific implementation of the corresponding steps in the illustrated embodiment will not be repeated here.
[0195] In the abnormal ONU detection system provided in the embodiment of the present application, the OLT can detect whether there is an abnormal subcarrier band among multiple subcarrier bands. After detecting the abnormal subcarrier band, the characteristics of multiple subcarriers can be used to schedule the ONU on the abnormal subcarrier band to other subcarrier bands (i.e., test detection bands) among the multiple subcarrier bands, and determine whether the scheduled ONU is abnormal by determining whether abnormalities occur in other subcarrier bands. In this way, it is possible to effectively detect which ONUs in the abnormal subcarrier band are abnormal ONUs, thereby achieving effective detection of abnormal ONUs.
[0196] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0197] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0198] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0199] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0200] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A method for detecting an abnormal ONU, comprising: Detecting multiple subcarrier bands; In the case where an abnormal subcarrier band is detected, scheduling the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands; It is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
2. The detection method according to claim 1, wherein determining the abnormal ONU in the abnormal subcarrier band according to the judgment result comprises: For any ONU to be tested on the abnormal subcarrier band, after the ONU to be tested is scheduled to the test detection band, if the judgment result is that the test detection band is abnormal, the ONU to be tested is determined to be an abnormal ONU.
3. The detection method according to claim 2, further comprising: Scheduling the abnormal ONU to a discarded subcarrier band; or, The abnormal ONU is scheduled to the abnormal subcarrier band.
4. The detection method according to claim 3, in the case where the abnormal ONU is scheduled to the abnormal subcarrier, the method further comprises: Determine whether the ONUs on the abnormal subcarrier band have been traversed; In the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band; In the case that the ONUs on the abnormal subcarrier band have been traversed, the abnormality detection of the ONU is ended.
5. The detection method according to claim 3, in the case where the abnormal ONU is scheduled to the abandoned subcarrier band, the method further comprises: Determining whether the abnormal subcarrier band returns to normal; When the abnormal subcarrier band returns to normal, the abnormality detection on the ONU is ended.
6. The detection method according to claim 5, further comprising: In the case that the abnormal subcarrier band has not returned to normal, determining whether the ONUs on the abnormal subcarrier band have been traversed; In the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band; In the case that the ONUs on the abnormal subcarrier band have been traversed, it is determined that there is an ONU on the abnormal subcarrier band that has not been successfully scheduled, and the ONU that has not been successfully scheduled is determined as an abnormal ONU.
7. The detection method according to claim 1, wherein determining the abnormal ONU in the abnormal subcarrier band according to the judgment result comprises: For any ONU to be tested on the abnormal subcarrier band, after scheduling the ONU to be tested to the test detection band, if the judgment result is that no abnormality occurs in the test detection band, judging whether the ONUs on the abnormal subcarrier band have been traversed; In the case where the ONUs on the abnormal subcarrier band are not traversed, scheduling the ONUs that have not been traversed to the test detection band; In the case that the ONUs on the abnormal subcarrier band have been traversed, it is determined whether there is an ONU on the abnormal subcarrier band that has not been successfully scheduled, and if so, the ONU that has not been successfully scheduled is determined as an abnormal ONU.
8. The detection method according to claim 1, wherein the detecting of the multiple subcarrier bands comprises at least one of the following: Detecting whether bit errors occur in the multiple subcarrier bands; Detecting whether packet loss occurs in the multiple subcarrier bands; Detecting whether the power of the multiple subcarrier bands fluctuates abnormally; in, For each subcarrier band, if the subcarrier band satisfies at least one of the following conditions, the subcarrier band is characterized as an abnormal subcarrier band: A bit error occurs in the subcarrier band; Packet loss occurs in the subcarrier band; The power of the subcarrier band fluctuates abnormally.
9. The detection method according to claim 1, wherein the test detection band is an idle subcarrier band among the multiple subcarrier bands; or The test detection band is a subcarrier band among the multiple subcarrier bands in which no abnormality occurs and the flow rate is less than a preset threshold.
10. The detection method according to claim 1, wherein scheduling the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands comprises: Scheduling the ONUs on the abnormal subcarrier band to the test detection band in N times, scheduling one ONU to the test detection band each time, where N is the number of ONUs on the abnormal subcarrier band; The step of judging whether the test detection band is abnormal and determining the abnormal ONU in the abnormal subcarrier band according to the judgment result includes: After scheduling an ONU to be tested on the abnormal subcarrier band to the test detection band, it is determined whether the test detection band is abnormal, and the abnormal ONU in the abnormal subcarrier band is determined according to the determination result.
11. The detection method according to claim 1, after determining the abnormal ONU in the abnormal subcarrier band, the method further comprises: The abnormal ONU in the abnormal subcarrier band is marked, and the detection result of the abnormal ONU is reported.
12. The detection method according to claim 1, further comprising: For a normal ONU on the abnormal subcarrier band, the normal ONU is retained on the test detection band, or the normal ONU is scheduled to other normal subcarrier bands of the multiple subcarrier bands.
13. The detection method according to any one of claims 1 to 12, wherein the method is applied to at least one of the following: PON system using multiple subcarrier bands for upstream transmission; PON systems that use multiple subcarrier bands for downlink transmission; A PON system that uses multiple subcarrier bands for upstream and downstream transmission.
14. An electronic device comprising: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 13.
15. A computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 13.
16. A detection system for abnormal ONU, comprising an OLT and a plurality of ONUs, wherein: The OLT detects multiple subcarrier bands; When the OLT detects an abnormal subcarrier band, it schedules the ONU on the abnormal subcarrier band to a test detection band among the multiple subcarrier bands; The OLT determines whether an abnormality occurs in the test detection band, and determines an abnormal ONU in the abnormal subcarrier band according to the determination result.
Citation Information
Cited By
Abnormal ONU detection method, electronic device and computer-readable storage medium
EP4783605A1
Abnormal ONU detection method, electronic device and computer-readable storage medium
WO2025060561A1