Optical network unit anomaly detection method, device and system, computer equipment, storage medium and computer program product

By constructing the matrix information of the target luminescence information and actual luminescence information of the optical network unit, the problem of unstable reception times in the traditional detection method is solved, and the accuracy and stability of abnormal detection are improved.

CN119696677APending Publication Date: 2025-03-25CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411984930.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

Traditional optical network unit abnormality detection methods are susceptible to accidental factors, resulting in unstable reception times, thereby reducing the accuracy of abnormality detection.

Method used

By determining the target luminescence information of the optical network unit to be detected, it is sent to the optical network unit, so that it emits light during the monitoring period, and receiving the actual luminescence information, constructing matrix information corresponding to the target luminescence information and the actual luminescence information, and determining the abnormal detection result based on the difference in matrix information.

Benefits of technology

The accuracy of abnormal detection of optical network units is improved, the influence of accidental factors is reduced, and the stability and accuracy of detection results are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696677A_ABST
    Figure CN119696677A_ABST
Patent Text Reader

Abstract

The invention relates to an optical network unit anomaly detection method, device and system, computer equipment, a storage medium and a computer program product. The method comprises the following steps: determining target light emitting information corresponding to a to-be-detected optical network unit in each monitoring period, and sending the target light emitting information to the optical network unit, so that the optical network unit emits light in a detection period corresponding to each monitoring period based on the target light emitting information; receiving corresponding actual light emitting information of the optical network unit in a detection period corresponding to each monitoring period, and constructing first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information; and determining an anomaly detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information. By adopting the method, the anomaly detection accuracy of the optical network unit can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an optical network unit anomaly detection method, device, system, computer equipment, computer-readable storage medium and computer program product. Background Art

[0002] At present, in order to ensure the stable transmission capacity of optical communication systems, it is crucial to detect abnormalities in optical network units.

[0003] In traditional technology, in the process of abnormality detection of optical network units, the method of counting the number of times the optical signal of the optical network unit is received is generally adopted; however, this method is easily affected by various accidental factors and fluctuates, resulting in unstable number of times the optical signal is received, which in turn causes low accuracy in abnormality detection of the optical network unit. Summary of the invention

[0004] Based on this, it is necessary to provide an optical network unit anomaly detection method, device, system, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of optical network unit anomaly detection in response to the above technical problems.

[0005] In a first aspect, the present application provides an optical network unit anomaly detection method, which is applied to an optical line terminal, comprising:

[0006] Determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information;

[0007] Receive actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information;

[0008] According to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit is determined.

[0009] In one embodiment, determining the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information includes:

[0010] In a case where the first matrix information is different from the second matrix information, determining that the abnormality detection result is that an abnormal optical network unit exists in the optical network unit;

[0011] In a case where the first matrix information is identical to the second matrix information, it is determined that the abnormality detection result is that no abnormal optical network unit exists in the optical network unit.

[0012] In one of the embodiments, after determining the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information, the method further includes:

[0013] When the abnormality detection result is that there is an abnormal optical network unit in the optical network unit, determining an abnormal value between the first matrix information and the second matrix information;

[0014] From the optical network units, an abnormal optical network unit associated with the abnormal value is identified as a target abnormal optical network unit among the optical network units.

[0015] In one of the embodiments, after identifying an abnormal optical network unit associated with the abnormal value from the optical network unit as a target abnormal optical network unit in the optical network unit, the method further includes:

[0016] Generate a shutdown instruction corresponding to the target abnormal optical network unit;

[0017] The shutdown instruction is sent to the target abnormal optical network unit, so that the target abnormal optical network unit performs shutdown processing according to the shutdown instruction.

[0018] In one of the embodiments, after sending the shutdown instruction to the target abnormal optical network unit so that the target abnormal optical network unit performs shutdown processing according to the shutdown instruction, it also includes:

[0019] Determine updated light emitting information corresponding to the optical network unit; the updated light emitting information does not include the light emitting information of the target abnormal optical network unit;

[0020] The updated light emitting information is sent to other optical network units; the other optical network units refer to the optical network units other than the target abnormal optical network unit.

[0021] In one of the embodiments, determining the target luminescence information corresponding to the optical network unit to be detected in each monitoring cycle includes:

[0022] Determine a time slot identifier corresponding to the optical network unit and estimated light emission information corresponding to the time slot identifier in each monitoring period;

[0023] The target luminescence information is determined according to the time slot identifier and the expected luminescence information.

[0024] In one embodiment, constructing the first matrix information corresponding to the target luminescence information and the second matrix information corresponding to the actual luminescence information includes:

[0025] Respectively extracting the target time slot identifier in the target light emitting information and the actual time slot identifier in the actual light emitting information;

[0026] First matrix information corresponding to the target time slot identifier and second matrix information corresponding to the actual time slot identifier are constructed.

[0027] In a second aspect, the present application provides an optical network unit anomaly detection method, which is applied to an optical network unit to be detected, comprising:

[0028] Receiving target luminescence information corresponding to the optical network unit in each monitoring cycle sent by the optical line terminal;

[0029] Based on the target luminescence information, luminescence is performed in a detection period corresponding to each monitoring period;

[0030] The actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period is sent to the optical line terminal; the optical line terminal is used to construct the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0031] In a third aspect, the present application also provides an optical network unit abnormality detection device, which is applied to an optical line terminal, comprising:

[0032] An information processing module, used to determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring period, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection period corresponding to each monitoring period based on the target light emitting information;

[0033] A matrix construction module, used to receive the actual light emission information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct the first matrix information corresponding to the target light emission information and the second matrix information corresponding to the actual light emission information;

[0034] A result determination module is used to determine the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0035] In a fourth aspect, the present application further provides an optical network unit abnormality detection device, which is applied to an optical network unit to be detected, comprising:

[0036] An information receiving module, used for receiving target luminescence information corresponding to the optical network unit in each monitoring cycle sent by the optical line terminal;

[0037] A unit light emitting module, configured to emit light in a detection period corresponding to each monitoring period based on the target light emitting information;

[0038] An information sending module is used to send the actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period to the optical line terminal; the optical line terminal is used to construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0039] In a fifth aspect, the present application further provides an optical network unit anomaly detection system, the system comprising: an optical line terminal and an optical network unit to be detected;

[0040] The optical line terminal is used to determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit;

[0041] The optical network unit is used to emit light in the detection period corresponding to each monitoring period based on the target light emission information, and send the actual light emission information corresponding to the detection period corresponding to each monitoring period of the optical network unit to the optical line terminal;

[0042] The optical line terminal is also used to construct first matrix information corresponding to the target luminescence information and second matrix information corresponding to the actual luminescence information, and determine the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0043] In a sixth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0044] Determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information;

[0045] Receive actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information;

[0046] According to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit is determined.

[0047] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0048] Determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information;

[0049] Receive actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information;

[0050] According to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit is determined.

[0051] In an eighth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0052] Determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information;

[0053] Receive actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information;

[0054] According to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit is determined.

[0055] The above optical network unit abnormality detection method, device, system, computer equipment, storage medium and computer program product first determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information, then receive the actual light emitting information corresponding to the optical network unit in the detection cycle corresponding to each monitoring cycle, and construct the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information, and finally, according to the difference between the first matrix information and the second matrix information, determine the abnormality detection result corresponding to the optical network unit. In this way, in the process of abnormality detection of the optical network unit, by periodically obtaining the target light emitting information and the actual light emitting information corresponding to the optical network unit to be detected, and based on the way of constructing the matrix, it is possible to achieve the comparison between multiple groups of data, thereby avoiding the occurrence of various accidental factors, resulting in the defect of low abnormality detection accuracy of the optical network unit, so that the abnormality detection result corresponding to the optical network unit can be accurately obtained, which is conducive to improving the determination accuracy of the abnormality detection result corresponding to the optical network unit, thereby improving the abnormality detection accuracy of the optical network unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A diagram of an application environment of an optical network unit anomaly detection method in an embodiment;

[0058] Figure 2 A schematic diagram of a process of an optical network unit abnormality detection method in one embodiment;

[0059] Figure 3 A schematic diagram of a flow chart of a method for real-time detection of rogue ONUs in optical communication based on a model algorithm in one embodiment;

[0060] Figure 4 is a schematic diagram of the A matrix in one embodiment;

[0061] Figure 5 is a schematic diagram of the A matrix in another embodiment;

[0062] Figure 6 is a schematic diagram of a B matrix in one embodiment;

[0063] Figure 7 is a schematic diagram of a B matrix in another embodiment;

[0064] Figure 8 A schematic diagram of AB matrix matching in one embodiment;

[0065] Fig. 9 A schematic diagram of a matrix A in the next monitoring cycle after the ONU light emission is turned off in one embodiment;

[0066] Fig.10 A schematic diagram of a matrix A in the next monitoring cycle after the ONU light emission is turned off in another embodiment;

[0067] Fig.11 is a flow chart of an optical network unit abnormality detection method in another embodiment;

[0068] Fig.12 A schematic diagram of a flow chart of an optical network unit abnormality detection method in another embodiment;

[0069] Fig.13 A schematic diagram of a system architecture of a method for real-time detection of rogue ONUs in optical communication based on a model algorithm in an embodiment;

[0070] Fig.14 A schematic diagram of a detection system of a real-time detection method for rogue ONUs in optical communication based on a model algorithm in one embodiment;

[0071] Fig.15 is a structural block diagram of an optical network unit abnormality detection device in one embodiment;

[0072] Fig.16 is a structural block diagram of an optical network unit abnormality detection device in another embodiment;

[0073] Fig.17 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0075] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0076] The optical network unit anomaly detection method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the optical line terminal 102 communicates with the optical network unit 104 to be detected through a network. Specifically, refer to Figure 1 , the optical line terminal 102 determines the target light emission information corresponding to the optical network unit 104 to be detected in each monitoring cycle, and sends the target light emission information to the optical network unit 104; the optical network unit 104 emits light in the detection cycle corresponding to each monitoring cycle based on the target light emission information, and sends the actual light emission information corresponding to the optical network unit 104 in the detection cycle corresponding to each monitoring cycle to the optical line terminal 102; the optical line terminal 102 constructs the first matrix information corresponding to the target light emission information and the second matrix information corresponding to the actual light emission information, and determines the abnormal detection result corresponding to the optical network unit 104 according to the difference between the first matrix information and the second matrix information. Among them, the optical line terminal 102 is also called OLT (Optical Line Terminal), which is the core equipment in the PON (Passive Optical Network) system, used for PON data aggregation and exchange, and issuing instructions to ONU (Optical Network Unit), which can be but not limited to various personal computers, laptops, smart phones and tablets. The optical network unit 104 to be detected includes multiple optical network units, also called ONUs, which are devices connected to user terminals in a PON system and are used to execute instructions issued by an OLT.

[0077] In an exemplary embodiment, Figure 2 As shown, a method for detecting anomalies in an optical network unit is provided. Figure 1 Taking the optical line terminal in the embodiment as an example, in this embodiment, the method includes the following steps:

[0078] Step S201, determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information.

[0079] The monitoring period refers to the period corresponding to the target luminescence information sent by the optical line terminal to the optical network unit. In actual scenarios, the monitoring period = Xμs {X = 25, 50, 75, 100... That is, X is an integer multiple of 25}.

[0080] The target light emission information includes the expected light emission information of the optical network unit in each monitoring cycle and the target time slot identifier corresponding to the optical network unit.

[0081] The detection period refers to the period corresponding to the actual light emission information sent by the optical network unit to the optical line terminal. In actual scenarios, the detection period is the next second corresponding to the monitoring period, that is, the detection period = (X+1)μs {X=25, 50, 75, 100...that is, X is an integer multiple of 25}.

[0082] The actual light emission information refers to the actual light emission information of the optical network unit in each detection cycle, and the actual time slot identifier corresponding to the optical network unit.

[0083] It should be noted that the data packet structures corresponding to the target luminescence information and the actual luminescence information are both "fixed header file + non-fixed data packet", wherein the fixed header file is the time slot identifier and the non-fixed data packet is the luminescence information.

[0084] Exemplarily, the optical line terminal generates authorization information corresponding to the optical network unit in response to the online request of the optical network unit to be detected; then, the optical line terminal establishes a link with the optical network unit based on the authorization information; then, the optical line terminal determines the expected light emitting information of the optical network unit to be detected in each monitoring cycle as the target light emitting information; then, the optical line terminal sends the target light emitting information to the optical network unit through the link, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information.

[0085] For example, see Figure 3 In the first monitoring cycle, the optical line terminal authorizes the optical network unit to register and go online, and establishes a link with the optical network unit, and allocates time slots to each optical network unit through the link; in the first detection cycle, after the optical network unit goes online, the optical line terminal synchronizes the online information of these optical network units and records the real-time light emission gap.

[0086] Step S202, receiving actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and constructing first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information.

[0087] The first matrix information refers to the matrix information corresponding to the target luminous information. In the actual scenario, the first matrix information refers to the A matrix. It should be noted that each element in the first matrix information contains the luminous information of the corresponding optical network unit (for example, element A1 in the matrix, such as Figure 4 As shown) and time slot identifier (for example, optical network unit 1 corresponds to a1, such as Figure 5 as shown).

[0088] The second matrix information refers to the matrix information corresponding to the actual light emission information. In the actual scenario, the second matrix information refers to the B matrix. It should be noted that each element in the second matrix information contains the light emission information of the corresponding optical network unit (for example, element B1 in the matrix, such as Figure 6 As shown) and time slot identifier (for example, optical network unit 1 corresponds to a1 or b1, such as Figure 7 as shown).

[0089] Exemplarily, the optical line terminal receives the actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period through the link between the optical line terminal and the optical network unit; then, the optical line terminal performs integrity verification on the target light emitting information and the actual light emitting information respectively to obtain the verification result; then, when the verification result indicates that both the target light emitting information and the actual light emitting information pass, the optical line terminal constructs matrix information corresponding to the target light emitting information as the first matrix information, and constructs matrix information corresponding to the actual light emitting information as the second matrix information.

[0090] Step S203: Determine an abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0091] The difference between the first matrix information and the second matrix information is used to indicate whether the elements of the first matrix information and the second matrix information are different. It should be noted that the difference between the first matrix information and the second matrix information is obtained by comparing the elements in the first matrix information and the second matrix information one by one, such as Figure 8 shown.

[0092] The abnormality detection result is used to indicate whether there is an abnormal optical network unit in the optical network unit.

[0093] Exemplarily, the optical line terminal determines, based on a difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the difference as the abnormality detection result corresponding to the optical network unit.

[0094] In the above optical network unit abnormality detection method, the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle is first determined, and the target light emitting information is sent to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information, then the actual light emitting information corresponding to the optical network unit in the detection cycle corresponding to each monitoring cycle is received, and the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information are constructed, and finally, according to the difference between the first matrix information and the second matrix information, the abnormality detection result corresponding to the optical network unit is determined. In this way, in the process of abnormality detection of the optical network unit, by periodically obtaining the target light emitting information and the actual light emitting information corresponding to the optical network unit to be detected, and based on the method of constructing the matrix, it is possible to achieve the comparison between multiple groups of data, thereby avoiding the occurrence of various accidental factors, resulting in the defect of low abnormality detection accuracy of the optical network unit, so that the abnormality detection result corresponding to the optical network unit can be accurately obtained, which is conducive to improving the determination accuracy of the abnormality detection result corresponding to the optical network unit, thereby improving the abnormality detection accuracy of the optical network unit.

[0095] In an exemplary embodiment, the above step S203 determines the abnormality detection result corresponding to the optical network unit based on the difference between the first matrix information and the second matrix information, and specifically includes the following contents: when the first matrix information and the second matrix information are different, it is determined that the abnormality detection result is that there is an abnormal optical network unit in the optical network unit; when the first matrix information and the second matrix information are the same, it is determined that the abnormality detection result is that there is no abnormal optical network unit in the optical network unit.

[0096] Among them, the abnormal optical network unit refers to the rogue ONU. It should be noted that the PON upstream direction adopts time division multiplexing. The ONU must send data in the upstream direction according to the time slot assigned by the OLT to ensure that the data is sequentially upstreamed to the OLT device without conflict. The ONU that does not send optical signals in the upstream direction according to the assigned timestamp is called a rogue ONU.

[0097] Exemplarily, the optical line terminal compares the first matrix information with the second matrix information to obtain a comparison result; when the comparison result indicates that the first matrix information is different from the second matrix information, the optical line terminal determines that the abnormal detection result is that an abnormal optical network unit exists in the optical network unit; when the comparison result indicates that the first matrix information is the same as the second matrix information, the optical line terminal determines that the abnormal detection result is that no abnormal optical network unit exists in the optical network unit.

[0098] In this embodiment, by comparing the first matrix information and the second matrix information, it is possible to directly determine whether there is an abnormality in the optical network unit as a whole, thereby achieving a rapid judgment on whether the optical network unit is abnormal or not, which is conducive to quickly locating the optical network unit that may have problems and improving the troubleshooting efficiency of the optical network unit.

[0099] In an exemplary embodiment, the above step S203, after determining the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information, specifically includes the following contents: when the abnormal detection result is that there is an abnormal optical network unit in the optical network unit, determine the abnormal value between the first matrix information and the second matrix information; from the optical network unit, identify the abnormal optical network unit associated with the abnormal value as the target abnormal optical network unit in the optical network unit.

[0100] Among them, the outlier is used to represent the elements in the second matrix information that are different from the first matrix information. In the actual scenario, the outlier is b1, such as Fig. 9 shown.

[0101] The target abnormal optical network unit refers to an abnormal optical network unit associated with an abnormal value in the optical network unit.

[0102] Exemplarily, when the abnormality detection result is that there is an abnormal optical network unit in the optical network unit, the optical line terminal determines the elements in the second matrix information that are different from the first matrix information as the abnormal values ​​between the first matrix information and the second matrix information; then, the optical line terminal identifies the abnormal optical network unit associated with the abnormal value from the optical network unit according to the abnormal value combination model library, and uses the abnormal optical network unit as the target abnormal optical network unit in the optical network unit; for example, the optical line terminal determines that the abnormal value is b1, and finds b1=a1+a2 through the abnormal value combination model library, and a2 should not appear in the time slot, then it is judged that optical network unit 2 seizes the time slot of optical network unit 1 to emit light, and optical network unit 2 is a rogue ONU.

[0103] It should be noted that the rules of the outlier combination model library are as follows: when two time slots are superimposed, there are n*(n-1) abnormal combinations: a1+an; when three time slots are superimposed, there are (n-2)*(n-3)*(n-4) abnormal combinations: a+an-x+an; and so on, when n time slots are superimposed, there is 1 abnormal combination: a1+a2+...+an.

[0104] In this embodiment, after determining that there is an abnormal optical network unit, the abnormal value between the first matrix information and the second matrix information is further found, so that the investigation scope can be narrowed to a specific target abnormal optical network unit, greatly improving the accuracy of fault location, avoiding indiscriminate investigation of all optical network units, and greatly saving the required time and manpower.

[0105] In an exemplary embodiment, after an abnormal optical network unit associated with an abnormal value is identified from the optical network unit as a target abnormal optical network unit among the optical network units, the following contents are specifically included: generating a shutdown instruction corresponding to the target abnormal optical network unit; sending the shutdown instruction to the target abnormal optical network unit, so that the target abnormal optical network unit performs a shutdown process according to the shutdown instruction.

[0106] The shutdown instruction refers to instruction information corresponding to the shutdown process of the optical network unit.

[0107] Exemplarily, the optical line terminal obtains identification information corresponding to the target abnormal optical network unit; then, the optical line terminal generates a shutdown instruction corresponding to the target abnormal optical network unit based on the identification information; then, the optical line terminal sends the shutdown instruction to the target abnormal optical network unit through the link between the optical line terminal and the target abnormal optical network unit, so that the target abnormal optical network unit performs a shutdown process according to the shutdown instruction.

[0108] In this embodiment, by generating a corresponding shutdown instruction and sending it to the target abnormal optical network unit to shut it down, the abnormal source can be cut off in time, and the target abnormal optical network unit can be isolated from other normal optical network units to avoid the expansion of the impact range, which is beneficial to ensuring the stability of the PON system where the optical line terminal is located.

[0109] In an exemplary embodiment, after a shutdown command is sent to a target abnormal optical network unit and the target abnormal optical network unit is shut down according to the shutdown command, the following contents are specifically included: determining updated light-emitting information corresponding to the optical network unit; the updated light-emitting information does not contain the light-emitting information of the target abnormal optical network unit; sending the updated light-emitting information to other optical network units; other optical network units represent optical network units other than the target abnormal optical network unit in the optical network units.

[0110] The updated luminescence information does not include the luminescence information of the target abnormal optical network unit. For example, when optical network unit 1 is the target abnormal optical network unit, the luminescence information corresponding to optical network unit 1 in the next monitoring cycle of the first matrix information is null, such as Fig. 9 As shown; in the case where ONU2 is the target abnormal optical network unit, the first matrix information is in the next monitoring cycle, and the luminous information corresponding to ONU2 is null, such as Fig.10 shown.

[0111] Among them, other optical network units are used to represent optical network units other than the target abnormal optical network unit in the optical network units.

[0112] Exemplarily, the optical line terminal determines the luminescence information that does not include the target abnormal optical network unit as the updated luminescence information corresponding to the optical network unit; then, the optical line terminal verifies the updated luminescence information (for example, checks whether the luminescence information corresponding to the target abnormal optical network unit in the updated luminescence information is empty) to obtain the verification result; then, the optical line terminal determines the optical network units other than the target abnormal optical network unit in the optical network units as other optical network units; then, the optical line terminal sends the updated luminescence information to the other optical network units through the links between the other optical network units.

[0113] In this embodiment, by determining the updated light information that does not contain the light information of the target abnormal optical network unit and sending it to other normal optical network units, it is possible to avoid the abnormal light information from being mixed into the normal communication data, so that other optical network units receive relatively valid light information, which is beneficial to improving the accuracy of data transmission.

[0114] In an exemplary embodiment, the above step S201 determines the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and specifically includes the following contents: determining the time slot identifier corresponding to the optical network unit, and the expected light emitting information corresponding to the time slot identifier in each monitoring cycle; determining the target light emitting information based on the time slot identifier and the expected light emitting information.

[0115] The time slot identifier is used to indicate the identification information corresponding to the luminescence information of the optical network unit. For example, the time slot identifier corresponding to the luminescence information A1 / A11 / A111... / A1...1 is a1, the time slot identifier corresponding to the luminescence information A2 / A22 / A222... / A2...2 is a2, and the time slot identifier corresponding to the luminescence information An / Ann / Annn... / An...n is an.

[0116] The expected light emission information is used to indicate the expected light emission condition of the optical network unit (such as light emission wavelength, etc.).

[0117] Exemplarily, the optical line terminal obtains the time slot identifier corresponding to the optical network unit based on the correspondence between the optical network unit and the time slot identifier; then, the optical line terminal determines the expected light information corresponding to the time slot identifier in each monitoring cycle; then, the optical line terminal combines the time slot identifier and the expected light information according to a preset combination method to obtain the target light information.

[0118] In this embodiment, by determining the time slot identifier corresponding to the optical network unit and the expected light emitting information of each time slot identifier in each monitoring cycle, the light emitting conditions of each optical network unit in different time stages can be clearly determined, thereby providing a data basis for subsequent abnormal detection and processing of the optical network unit.

[0119] In an exemplary embodiment, the above step S202 constructs the first matrix information corresponding to the target luminescence information and the second matrix information corresponding to the actual luminescence information, which specifically includes the following contents: respectively extracting the target time slot identifier in the target luminescence information and the actual time slot identifier in the actual luminescence information; constructing the first matrix information corresponding to the target time slot identifier and the second matrix information corresponding to the actual time slot identifier.

[0120] The target time slot identifier refers to the time slot identifier corresponding to the optical network unit contained in the target luminescence information.

[0121] The actual time slot identifier refers to the time slot identifier corresponding to the optical network unit contained in the actual light emitting information.

[0122] Exemplarily, the optical line terminal extracts the target time slot identifier in the target light emitting information according to the data packet structure corresponding to the target light emitting information, and extracts the actual time slot identifier in the actual light emitting information according to the data packet structure corresponding to the actual light emitting information; then, the optical line terminal constructs matrix information corresponding to the target time slot identifier as the first matrix information, and constructs matrix information corresponding to the actual time slot identifier as the second matrix information.

[0123] In this embodiment, by extracting the target time slot identifier in the target luminescence information and the actual time slot identifier in the actual luminescence information, and constructing the corresponding first matrix information and second matrix information, it is convenient to subsequently accurately locate the abnormality of the time slot and the optical network unit associated with the time slot, thereby narrowing the scope of troubleshooting.

[0124] In an exemplary embodiment, Fig.11 As shown, the present application also provides another optical network unit abnormality detection method, which is applied to Figure 1 The optical network unit to be detected in is taken as an example to illustrate, and specifically includes the following contents:

[0125] Step S1101, receiving target light emitting information corresponding to an optical network unit in each monitoring cycle sent by an optical line terminal.

[0126] Step S1102, based on the target luminescence information, luminescence is performed in the detection period corresponding to each monitoring period.

[0127] Step S1103, sending the actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period to the optical line terminal; the optical line terminal is used to construct the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0128] Exemplarily, the optical network unit to be detected sends an online request to the optical line terminal, so that the optical line terminal responds to the online request, generates authorization information corresponding to the optical network unit, establishes a link with the optical network unit according to the authorization information, and determines the target light-emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and sends the target light-emitting information to the optical network unit to be detected; the optical network unit to be detected emits light in a detection cycle corresponding to each monitoring cycle based on the target light-emitting information; then, the optical network unit to be detected sends the actual light-emitting information corresponding to the optical network unit in the detection cycle corresponding to each monitoring cycle to the optical line terminal; the optical line terminal constructs matrix information corresponding to the target light-emitting information as the first matrix information, and constructs matrix information corresponding to the actual light-emitting information as the second matrix information, and determines the abnormality detection result corresponding to the difference according to the difference between the first matrix information and the second matrix information as the abnormality detection result corresponding to the optical network unit.

[0129] It should be noted that, for specific limitations of the above steps, reference may be made to the relevant embodiments of steps S201 to S203, which will not be described in detail here.

[0130] In this embodiment, during the process of performing abnormality detection on the optical network unit, the target luminescence information and actual luminescence information corresponding to the optical network unit to be detected are periodically obtained, and based on the method of constructing a matrix, comparison between multiple groups of data can be achieved, thereby avoiding the occurrence of various accidental factors, which leads to the defect of low abnormality detection accuracy of the optical network unit. The abnormality detection result corresponding to the optical network unit can be accurately obtained, which is beneficial to improving the determination accuracy of the abnormality detection result corresponding to the optical network unit, thereby improving the abnormality detection accuracy of the optical network unit.

[0131] In an exemplary embodiment, Fig.12 As shown, another optical network unit abnormality detection method is provided, and the method is applied to Figure 1 The optical line terminal in the example is used as an example to illustrate, including the following steps:

[0132] Step S1201, determining the time slot identifier corresponding to the optical network unit and the estimated light emission information corresponding to the time slot identifier in each monitoring cycle.

[0133] Step S1202, determining target luminous information according to the time slot identifier and the expected luminous information.

[0134] Step S1203: Send the target light emitting information to the optical network unit, so that the optical network unit emits light in a detection period corresponding to each monitoring period based on the target light emitting information.

[0135] Step S1204, receiving actual light emission information corresponding to the optical network unit in the detection period corresponding to each monitoring period.

[0136] Step S1205, extracting the target time slot identifier in the target light emitting information and the actual time slot identifier in the actual light emitting information respectively.

[0137] Step S1206: construct first matrix information corresponding to the target time slot identifier and second matrix information corresponding to the actual time slot identifier.

[0138] Step S1207: when the first matrix information is different from the second matrix information, it is determined that the abnormality detection result is that an abnormal optical network unit exists in the optical network unit.

[0139] Step S1208: When the first matrix information and the second matrix information are the same, it is determined that the abnormality detection result is that there is no abnormal optical network unit in the optical network unit.

[0140] In the above-mentioned optical network unit anomaly detection method, in the process of anomaly detection of the optical network unit, the target luminescence information and actual luminescence information corresponding to the optical network unit to be detected are periodically obtained, and based on the method of constructing a matrix, comparison between multiple groups of data can be achieved, thereby avoiding the occurrence of various accidental factors, which leads to the defect of low anomaly detection accuracy of the optical network unit. Therefore, the anomaly detection result corresponding to the optical network unit can be accurately obtained, which is conducive to improving the determination accuracy of the anomaly detection result corresponding to the optical network unit, thereby improving the anomaly detection accuracy of the optical network unit.

[0141] In an exemplary embodiment, in order to more clearly illustrate the optical network unit abnormality detection method provided in the embodiment of the present application, the optical network unit abnormality detection method is specifically described below with a specific embodiment. In one embodiment, Fig.13As shown, the present application also provides a real-time detection method and system for rogue ONUs in optical communication based on a model algorithm. In the process of abnormal detection of an optical network unit, the target light-emitting information corresponding to the optical network unit to be detected in each monitoring cycle is first determined, and the target light-emitting information is sent to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light-emitting information. Then, the actual light-emitting information corresponding to the detection cycle corresponding to each monitoring cycle of the optical network unit is received, and the first matrix information corresponding to the target light-emitting information and the second matrix information corresponding to the actual light-emitting information are constructed. Finally, according to the difference between the first matrix information and the second matrix information, the abnormal detection result corresponding to the optical network unit is determined. Specifically including the following contents:

[0142] The system architecture of this embodiment is as follows Fig.13 As shown, the model algorithm is adopted to load the algorithm for real-time monitoring and detecting abnormal light emission of ONU on the OLT smart board. If there is a rogue ONU, its light emission can be stopped in time, thereby ensuring the normal upstream communication of PON and effectively improving the reliability of PON upstream communication.

[0143] This embodiment implements the process Figure 3 As shown, the system of this embodiment includes an OLT and all ONUs hanging under the OLT. Through multiple cycles of reciprocating monitoring and detection, it is used to locate whether there is a rogue ONU. If there is a rogue ONU, the OLT immediately sends a command to turn off the light of the ONU and the ONU executes the command to remove the rogue ONU and restore the normal upstream communication of the PON system.

[0144] The detection method of the system in this embodiment includes three modules: Fig.14 shown.

[0145] According to the standard definition, the ONU data packet structure is "fixed header file + unfixed data packet", and the ONU header file data is converted into a time slot identifier an, where the n identifier is consistent with the n of ONUn, that is, the time slot identifier of optical network unit 1 is converted to a1, the time slot identifier of ONU2 is converted to a2, and the time slot identifier of ONUn is converted to an.

[0146] like Fig.14 As shown, the specific implementation of the three modules includes:

[0147] Real-time detection module: preset monitoring period = Xμs {X = 25, 50, 75, 100... that is, X is an integer multiple of 25}, in the detection period, real-time record OLT to ONU distribution of light interval record A matrix (such as Figure 4 as shown).

[0148] The A matrix records the time slot identifiers an of all ONUs from the first to the Nth monitoring cycle, that is:

[0149] A1 / A11 / A111... / A1...1=a1;

[0150] A2 / A22 / A222... / A2...2=a2;

[0151] An / Ann / Annn... / An...n=an.

[0152] Model matching detection module: Preset detection period = monitoring period = (X+1)μs {X=25, 50, 75, 100... That is, X is an integer multiple of 25}, record the actual light emission interval of the ONU in the detection period and record the B matrix (such as Figure 6 ), and compared with the AB matrix (as Figure 8 The following is a matching conclusion: if the matching results are the same, it is normal, indicating that there is no rogue ONU; if the matching results are different, it is abnormal, indicating that there is a rogue ONU. By comparing the abnormal value combination model library, the abnormal ONU 1 / 2 / ... / n is confirmed.

[0153] Rules of the outlier combination model library: When two time slots are superimposed, there are n*(n-1) outlier combinations: a1+an; when three time slots are superimposed, there are (n-2)*(n-3)*(n-4) outlier combinations: a+an-x+an; and so on, when n time slots are superimposed, there is 1 outlier combination: a1+a2+...+an.

[0154] The B matrix records the time slot identifiers an of all ONUs from the first to the Nth detection cycle, that is:

[0155] B1 / B11 / B111... / B1...1=a1;

[0156] B2 / B22 / B222... / B2...2=a2;

[0157] Bn / Bnn / Bnnn... / Bn...n=an.

[0158] Shutdown abnormal light processing module: OLT sends a command to shut down the light of the ONU, and the ONU executes the command to shut down the light. At this time, the influence of the ONU as a rogue ONU on the upstream transmission of the PON network is relieved. In the next monitoring cycle, the data of the ONU whose light is shut down in the A matrix is ​​empty and marked as null in the A matrix. Fig. 9 As shown, if ONU1 is turned off, the A matrix ONU1 data recorded in the next monitoring cycle is empty and marked as null in the matrix.

[0159] When all ONUs in the PON system are registered and online normally, a rogue ONU (assuming it is ONU2) exists at a certain point in time. Based on the above implementation process and detection method, the patented method is used to describe the following example:

[0160] 1. Real-time monitoring module:

[0161] When the monitoring period = 100μs:

[0162] When 100μs, the monitoring period records the optical allocation information A1 set [A1 A2 A3]:

[0163] A1=ONU1 luminous interval a1;

[0164] A2=ONU1 luminous interval a2;

[0165] A3=ONU1 luminous interval a3.

[0166] When 200μs, the monitoring period records the optical allocation information A2 set [A11 A22 A33]:

[0167] A11=ONU1 luminous interval a1;

[0168] A22 = ONU1 luminous interval a2;

[0169] A33=ONU1 luminous interval a3. ......

[0171] When n*100μs, the monitoring period records the optical allocation information AN set [A1...1 A2...2 A3...3]:

[0172] A1...1=ONU1 luminous interval a1;

[0173] A2...2=ONU1 luminous interval a2;

[0174] A3...3=ONU1 luminous interval a3.

[0175] When (n+1)*100μs, the monitoring period records the optical allocation information A(N+1) set [A1...1 A2...2 A3...3]:

[0176] A1...1=ONU1 luminous interval a1;

[0177] A2...2=ONU1 luminous interval a2;

[0178] A3...3=ONU1 luminous interval a3.

[0179] At this time, the A matrix recorded by the monitoring module is as follows Figure 5shown.

[0180] 2. Model matching detection module:

[0181] When the detection period = monitoring period = (100+1) μs:

[0182] When 101μs, the detection cycle records the actual luminescence information B1 set [B1 B2 B3]:

[0183] B1=ONU1 luminous interval a1;

[0184] B2=ONU1 luminous interval a2;

[0185] B3=ONU1 luminous interval a3.

[0186] Match the B1 set and the A1 set. The light-emitting interval of each ONU is the same. The detection result is: normal.

[0187] At 201μs, the detection cycle records the actual luminescence information B2 set [B11 B22 B33]:

[0188] B11=ONU1 luminous interval a1;

[0189] B22 = ONU1 luminous interval a2;

[0190] B33=ONU1 luminous interval a3.

[0191] Match the B2 set and the A2 set. The light-emitting interval of each ONU is the same. The detection result is: normal. ......

[0193] When n*100+1μs, the detection period records the actual luminescence information BN set [B1...1 B2...2 B3...3]:

[0194] B1...1=ONU1 luminous interval a1;

[0195] B2...2=ONU1 luminous interval a2;

[0196] B3...3=ONU1 luminous interval a3.

[0197] Match the BN set and the AN set. The light emission interval of each ONU is the same. The detection result is: normal.

[0198] When (n+1)*100+1μs, the detection period records the actual luminous information B(N+1) set [B1...1 B2...2B3...3]:

[0199] B1...1=ONU1 luminous interval b1;

[0200] B2...2=ONU1 luminous interval a2;

[0201] B3...3=ONU1 luminous interval a3.

[0202] Matching the B(N+1) set with the A(N+1) set, the light-emitting intervals of ONU1 are different. Through the abnormal value combination model library, we find that b1=a1+a2. a2 should not appear in this time slot. It is determined that ONU2 seizes the time slot of ONU1 to emit light, and ONU2 is a rogue ONU.

[0203] At this time, the B matrix recorded by the monitoring module is as follows Figure 7 shown.

[0204] 3. Model matching detection module:

[0205] At (n+1)*100+1μs, the OLT sends an instruction to close the light-emitting interval of ONU2, and ONU2 executes the instruction.

[0206] When (n+2)*100μs, ONU2 is turned off. At this time, the A matrix ONU2 data recorded in the monitoring period is empty and marked as null in the matrix. Fig.10 shown.

[0207] In the above embodiment, in the process of abnormal detection of the optical network unit, by periodically obtaining the target luminescence information and actual luminescence information corresponding to the optical network unit to be detected, and based on the method of constructing a matrix, it is possible to achieve comparison between multiple groups of data, thereby avoiding the occurrence of various accidental factors, resulting in the defect of low abnormal detection accuracy of the optical network unit, so that the abnormal detection result corresponding to the optical network unit can be accurately obtained, which is conducive to improving the determination accuracy of the abnormal detection result corresponding to the optical network unit, thereby improving the abnormal detection accuracy of the optical network unit. At the same time, this embodiment realizes the method of monitoring the luminescence of the ONU in real time based on the model algorithm, and dynamically matching the model combination to determine whether there is a rogue ONU and turning on and off the luminescence for the rogue ONU; this embodiment realizes the conversion of the ONU header file data into the luminescence time slot identifier assigned to the ONU, and collects the identifier data group in the monitoring period, performs matching analysis in the detection period, and determines that there is an ONU with abnormal luminescence when the match is inconsistent. At this time, the rogue ONU is determined by comparing the abnormal value combination model library. Which ONU or those ONUs; moreover, the ONU is luminescent according to the fixed luminescence interval, and at this time, the rogue ONU is not luminescent in the time slot allocated by the OLT.

[0208] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0209] Based on the same inventive concept, the embodiment of the present application also provides an optical network unit anomaly detection device for implementing the optical network unit anomaly detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more optical network unit anomaly detection devices provided below can refer to the limitations of the optical network unit anomaly detection method above, and will not be repeated here.

[0210] In an exemplary embodiment, Fig.15 As shown, an optical network unit abnormality detection device is provided, which is applied to an optical line terminal, including: an information processing module 1501, a matrix construction module 1502 and a result determination module 1503, wherein:

[0211] The information processing module 1501 is used to determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information.

[0212] The matrix construction module 1502 is used to receive the actual light emission information of the optical network unit in the detection period corresponding to each monitoring period, and construct the first matrix information corresponding to the target light emission information and the second matrix information corresponding to the actual light emission information.

[0213] The result determination module 1503 is used to determine the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0214] In an exemplary embodiment, the result determination module 1503 is also used to determine that the abnormal detection result is that there is an abnormal optical network unit in the optical network unit when the first matrix information is different from the second matrix information; and to determine that the abnormal detection result is that there is no abnormal optical network unit in the optical network unit when the first matrix information is the same as the second matrix information.

[0215] In an exemplary embodiment, the optical network unit anomaly detection device also includes a task storage module, which is used to determine the abnormal value between the first matrix information and the second matrix information when the abnormal detection result is that there is an abnormal optical network unit in the optical network unit; and identify the abnormal optical network unit associated with the abnormal value from the optical network unit as the target abnormal optical network unit in the optical network unit.

[0216] In an exemplary embodiment, the optical network unit abnormality detection device also includes a unit shutdown module, which is used to generate a shutdown instruction corresponding to the target abnormal optical network unit; send the shutdown instruction to the target abnormal optical network unit, so that the target abnormal optical network unit performs shutdown processing according to the shutdown instruction.

[0217] In an exemplary embodiment, the optical network unit abnormality detection device also includes an information update module, which is used to determine the updated light-emitting information corresponding to the optical network unit; the updated light-emitting information does not include the light-emitting information of the target abnormal optical network unit; the updated light-emitting information is sent to other optical network units; the other optical network units represent the optical network units other than the target abnormal optical network unit in the optical network unit.

[0218] In an exemplary embodiment, the information processing module 1501 is also used to determine the time slot identifier corresponding to the optical network unit and the expected light information corresponding to the time slot identifier in each monitoring cycle; and determine the target light information based on the time slot identifier and the expected light information.

[0219] In an exemplary embodiment, the matrix construction module 1502 is also used to extract the target time slot identifier in the target luminescence information and the actual time slot identifier in the actual luminescence information respectively; construct the first matrix information corresponding to the target time slot identifier and the second matrix information corresponding to the actual time slot identifier.

[0220] Each module in the above optical network unit anomaly detection device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0221] In an exemplary embodiment, Fig.16As shown, an optical network unit abnormality detection device is provided, including: an information receiving module 1601, a unit light emitting module 1602 and an information sending module 1603, wherein:

[0222] The information receiving module 1601 is used to receive the target light emitting information corresponding to the optical network unit in each monitoring cycle sent by the optical line terminal.

[0223] The unit light emitting module 1602 is used to emit light in a detection period corresponding to each monitoring period based on the target light emitting information.

[0224] The information sending module 1603 is used to send the actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period to the optical line terminal; the optical line terminal is used to construct the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

[0225] Each module in the above optical network unit anomaly detection device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0226] In an exemplary embodiment, referring to Figure 1 , provides an optical network unit anomaly detection system, the system comprising: an optical line terminal 102 and an optical network unit 104 to be detected;

[0227] The optical line terminal 102 is used to determine the target light emitting information corresponding to the optical network unit 104 to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit 104;

[0228] The optical network unit 104 is used to emit light in a detection period corresponding to each monitoring period based on the target light emission information, and send the actual light emission information corresponding to the detection period corresponding to each monitoring period of the optical network unit 104 to the optical line terminal 102;

[0229] The optical line terminal 102 is also used to construct first matrix information corresponding to the target luminescence information and second matrix information corresponding to the actual luminescence information, and determine the abnormality detection result corresponding to the optical network unit 104 according to the difference between the first matrix information and the second matrix information.

[0230] In the above-mentioned optical network unit anomaly detection system, in the process of performing anomaly detection on the optical network unit, the target luminescence information and actual luminescence information corresponding to the optical network unit to be detected are periodically obtained, and based on the method of constructing a matrix, comparison between multiple groups of data can be achieved, thereby avoiding the occurrence of various accidental factors, which leads to the defect of low anomaly detection accuracy of the optical network unit. In this way, the anomaly detection result corresponding to the optical network unit can be accurately obtained, which is conducive to improving the determination accuracy of the anomaly detection result corresponding to the optical network unit, thereby improving the anomaly detection accuracy of the optical network unit.

[0231] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.17 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as target luminescence information and actual luminescence information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an optical network unit anomaly detection method is implemented.

[0232] Those skilled in the art will understand that Fig.17 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0233] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0234] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0235] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0236] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0237] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0238] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting anomalies in an optical network unit, characterized in that: Applied to an optical line terminal, the method comprises: Determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection cycle corresponding to each monitoring cycle based on the target light emitting information; Receive actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information; According to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit is determined.

2. The method according to claim 1, characterized in that The determining, according to the difference between the first matrix information and the second matrix information, an abnormality detection result corresponding to the optical network unit includes: In a case where the first matrix information is different from the second matrix information, determining that the abnormality detection result is that an abnormal optical network unit exists in the optical network unit; In a case where the first matrix information is identical to the second matrix information, it is determined that the abnormality detection result is that no abnormal optical network unit exists in the optical network unit.

3. The method according to claim 1, characterized in that After determining the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information, the method further includes: When the abnormality detection result is that there is an abnormal optical network unit in the optical network unit, determining an abnormal value between the first matrix information and the second matrix information; From the optical network units, an abnormal optical network unit associated with the abnormal value is identified as a target abnormal optical network unit among the optical network units.

4. The method according to claim 3, characterized in that After identifying an abnormal optical network unit associated with the abnormal value from the optical network units as a target abnormal optical network unit in the optical network units, the method further includes: Generate a shutdown instruction corresponding to the target abnormal optical network unit; The shutdown instruction is sent to the target abnormal optical network unit, so that the target abnormal optical network unit performs shutdown processing according to the shutdown instruction.

5. The method according to claim 4, characterized in that After sending the shutdown instruction to the target abnormal optical network unit so that the target abnormal optical network unit performs shutdown processing according to the shutdown instruction, the method further includes: Determine updated light emitting information corresponding to the optical network unit; the updated light emitting information does not include the light emitting information of the target abnormal optical network unit; The updated light emitting information is sent to other optical network units; the other optical network units refer to the optical network units other than the target abnormal optical network unit.

6. The method according to claim 1, characterized in that The step of determining target luminescence information corresponding to the optical network unit to be detected in each monitoring cycle includes: Determine a time slot identifier corresponding to the optical network unit and estimated light emission information corresponding to the time slot identifier in each monitoring period; The target luminescence information is determined according to the time slot identifier and the expected luminescence information.

7. The method according to any one of claims 1 to 6, characterized in that: The constructing of the first matrix information corresponding to the target luminescence information and the second matrix information corresponding to the actual luminescence information includes: Respectively extracting the target time slot identifier in the target light emitting information and the actual time slot identifier in the actual light emitting information; First matrix information corresponding to the target time slot identifier and second matrix information corresponding to the actual time slot identifier are constructed.

8. A method for detecting anomalies in an optical network unit, characterized in that: Applied to an optical network unit to be detected, the method comprises: Receiving target luminescence information corresponding to the optical network unit in each monitoring cycle sent by the optical line terminal; Based on the target luminescence information, luminescence is performed in a detection period corresponding to each monitoring period; The actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period is sent to the optical line terminal; the optical line terminal is used to construct the first matrix information corresponding to the target light emitting information and the second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

9. An optical network unit anomaly detection device, characterized in that: Applied to an optical line terminal, the device comprises: An information processing module, used to determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring period, and send the target light emitting information to the optical network unit, so that the optical network unit emits light in the detection period corresponding to each monitoring period based on the target light emitting information; A matrix construction module, used to receive the actual light emission information corresponding to the optical network unit in the detection period corresponding to each monitoring period, and construct the first matrix information corresponding to the target light emission information and the second matrix information corresponding to the actual light emission information; A result determination module is used to determine the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

10. An optical network unit abnormality detection device, characterized in that: Applied to an optical network unit to be detected, the device comprises: An information receiving module, used for receiving target luminescence information corresponding to the optical network unit in each monitoring cycle sent by the optical line terminal; A unit light emitting module, configured to emit light in a detection period corresponding to each monitoring period based on the target light emitting information; An information sending module is used to send the actual light emitting information corresponding to the optical network unit in the detection period corresponding to each monitoring period to the optical line terminal; the optical line terminal is used to construct first matrix information corresponding to the target light emitting information and second matrix information corresponding to the actual light emitting information, and determine the abnormal detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

11. An optical network unit anomaly detection system, characterized in that: The system comprises: an optical line terminal and an optical network unit to be detected; The optical line terminal is used to determine the target light emitting information corresponding to the optical network unit to be detected in each monitoring cycle, and send the target light emitting information to the optical network unit; The optical network unit is used to emit light in the detection period corresponding to each monitoring period based on the target light emission information, and send the actual light emission information corresponding to the detection period corresponding to each monitoring period of the optical network unit to the optical line terminal; The optical line terminal is also used to construct first matrix information corresponding to the target luminescence information and second matrix information corresponding to the actual luminescence information, and determine the abnormality detection result corresponding to the optical network unit according to the difference between the first matrix information and the second matrix information.

12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.