PON gateway fault self-checking method and system
Through the PON gateway fault self-test method, including connection status monitoring, data transmission error detection and hardware self-test, the problem of failures cannot be prevented and timely detected in the existing technology is solved, timely identification and prediction of faults is achieved, and maintenance costs are reduced , improves network stability and user experience.
Patent Information
- Application Number
- CN202411412031.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-10-11
AI Technical Summary
The existing technology cannot effectively prevent and promptly detect PON gateway failures, resulting in data loss, network interruption, service quality decline and maintenance costs, and lack of rapid analysis and processing and fault prediction mechanisms.
The PON gateway fault self-test method is adopted, including connection status monitoring, data transmission error detection and hardware self-test. Through statistical algorithms, statistical line charts are generated, the distance difference between outliers and mean values is calculated, and packet loss threshold comparison is performed. , predict the failure trend and generate an alarm report.
It realizes timely identification and prediction of PON gateway failures, reduces maintenance costs, improves fault detection accuracy, reduces data loss and economic losses, and improves network stability and user experience.
Smart Images

Figure CN118921582A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network management security detection, and in particular to a PON gateway fault self-detection method and system. Background Art
[0002] Passive optical network (PON) is a fiber access technology that transmits fiber signals from the service provider's central equipment to the user terminal through a passive optical distribution network. Its basic architecture includes an optical line terminal (OLT), an optical distribution network (ODN) and multiple optical network units (ONU). The advantage of PON is that it does not require power equipment, reduces maintenance costs, and can support multiple users to share bandwidth, achieving efficient broadband access. It is widely used in residential and enterprise networks.
[0003] PON is a single-fiber bidirectional optical access network with a point-to-multipoint (P2MP) structure. The PON system consists of an optical line terminal (OLT) at the central office, an optical distribution network (ODN) and an optical network unit (ONU) at the user side. It is a single-fiber bidirectional system. In the downstream direction (OLT to ONU), the signal sent by the OLT reaches each ONU through the ODN. In the upstream direction (ONU to OLT), the signal sent by the ONU will only reach the OLT and not other ONUs. In order to avoid data conflicts and improve network efficiency, the upstream direction adopts TDMA multiple access mode and manages the data transmission of each ONU. ODN provides an optical channel between OLT and ONU.
[0004] PON gateway failure usually refers to the failure of the gateway device to work properly in the passive optical network, which may cause service interruption. Common failures include: optical signal loss: fiber connection problem or equipment failure; equipment overheating: cooling system failure or excessive ambient temperature; power failure: power outage or instability; configuration error: improper network parameter settings.
[0005] The impact of PON gateway failure on data transmission is mainly reflected in the following aspects: Data loss: Failures may prevent data packets from reaching user terminals, resulting in information loss; Connectivity disruptions: Users may experience network disconnections, impacting online activities and service availability; Degraded service quality: Even if some data can be transmitted, delays and packet loss will lead to a degraded user experience and affect application performance; Increased maintenance costs: Frequent failures require more maintenance and technical support, increasing operating costs.
[0006] When analyzing and calculating data loss, many monitoring technologies are unable to detect faults immediately, resulting in prolonged data loss. Most technologies focus on post-failure processing and lack effective prevention mechanisms. In addition, large amounts of transmitted data are inefficient when being analyzed and calculated, making it impossible to achieve rapid analysis and processing, and unable to predict faults.
[0007] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0008] In view of the problems in the related art, the present invention proposes a PON gateway fault self-detection method and system to overcome the above technical problems existing in the existing related art.
[0009] To this end, the specific technical solution adopted by the present invention is as follows: A PON gateway fault self-detection method comprises the following steps: When the device is started, it can monitor the connection status, detect data transmission errors and perform hardware self-test on the PON gateway. It can also compare the thresholds of the connection status monitoring and hardware self-test results, and calculate and analyze the data information of data transmission error detection. The data information of data transmission error detection is counted by using a statistical algorithm, and a statistical line graph of the data information is established based on the statistical results; According to the generation of the statistical line graph, the outliers in the collected data information are calculated, and the distance difference between the outliers and the mean in the data information is calculated, and the distance difference is compared with the packet loss threshold; By comparing the distance difference with the packet loss threshold, the subsequent use failure prediction of the PON gateway is carried out, showing the trend of data information of data transmission error detection over time, helping to identify the increase or decrease of the probability of PON gateway failure; PON gateway fault alarm: after the PON gateway fault self-check, the collected data information, the comparison results after analysis and processing, and the PON gateway fault probability are printed into a report and uploaded through the communication module.
[0010] As a preferred embodiment, the connection status monitoring, data transmission error detection and hardware self-checking of the PON gateway include: The connection status monitoring is used to check the connection between the PON gateway and the OLT; The data transmission error detection is performed by monitoring the loss rate and error rate of data packets collected by the PON gateway; The hardware self-check is used to check the CPU, memory and storage, and detect the temperature, voltage and current of the hardware device through sensors.
[0011] As a preferred embodiment, the connection status monitoring also includes monitoring the optical signal strength, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor the intensity of the optical signal and set the threshold value of the intensity of the optical signal respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The threshold for setting the optical signal strength is usually between -20dBm and -28dBm. A value below -30dB indicates that the signal is too weak.
[0012] As a preferred embodiment, the connection status monitoring also includes delay monitoring, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor delays and set delay thresholds respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The delay threshold is generally required to be within 10 milliseconds, and a delay exceeding 20 milliseconds is considered high.
[0013] As a preferred embodiment, the steps of data transmission error detection are as follows: Encode the transmitted data packets using error detection codes; The encoded data packet is sent to the receiving end through the network; the receiving end obtains the transmitted data and saves it as a receiving buffer; The receiving end performs corresponding error detection calculations on the received data packets; The calculated result is compared with the received error detection code to determine whether an error has occurred.
[0014] As a preferred embodiment, the steps of the hardware self-check are as follows: When the device is turned on, the system will automatically run the self-test program; The self-test program is used to check whether the CPU is working properly and test the read and write capabilities and capacity of the memory; Check storage devices to verify the connection status and health of hard drives or SSDs; And the equipment is tested at intervals through temperature sensors, voltage collection circuits and current collection circuits, and the interval testing time is 3 hours; And the temperature threshold is set from 0°C to 80°C; The voltage threshold is set within ±13% of the rated voltage of the equipment; The current threshold is set to 110%-150% of the rated value as the overload protection point.
[0015] As a preferred embodiment, the steps of calculating and analyzing the data transmission error detection are as follows: Clean and organize data information to remove duplicate and erroneous values; Use descriptive statistics to summarize data characteristics, including mean, median, and variance; Inferential statistics, analyzing data information using hypothesis testing and confidence intervals; Use charts to display analysis results and help understand data information, including bar charts, pie charts, and line charts; The mean is calculated as follows: ; in, ; in, is the weight of each data information. Usually the latest data has a greater weight. is the data information in the time series, is the noise error, is the moving average coefficient of the weight, is the smoothing factor, and ; The median is calculated as follows: ; in, is the calculation formula for odd number of data information, is the calculation formula for an even number of data, and n is the total number of data, and is the noise error; The formula for calculating variance is as follows: The variance of the updated data information is calculated, and the total number is ; The mean is ,in, is the mean after updating the data information, is the mean of the existing data information, ,in, is the variance after updating the data information, is the variance of the existing data information; The final variance calculation formula is as follows: .
[0016] As a preferred embodiment, the calculation formula of the outlier value is as follows: According to the mean and standard deviation Determine the threshold for outliers, And the standard deviation The calculation of is as follows: , is the determined outlier after comparison; The calculation formula for the distance difference between the outlier and the mean is as follows: , in, is the calculated distance difference between the outlier and the mean, is the error value obtained by calculation and analysis; Set the packet loss threshold to 3, and It means that the loss of data information is within the error range. This indicates that data information loss is large and there is a PON gateway failure.
[0017] As a preferred embodiment, the usage failure prediction of the PON gateway is: ; in, is the predicted value at the current moment, which is calculated based on the historical distance difference and the corresponding weight. is the total number of historical distance differences, The actual distance difference at the current moment, usually the most recently collected distance difference, The distance difference from the i-th history at the current time t, The weight of the j-th historical distance difference. As time goes by, the weight of the earlier distance difference gradually decreases; Adaptively update weights; ; in, Attenuation factor controls the degree of influence of historical data on current predictions. The value is between 0 and 1. The larger the value, the greater the Make the most recent data points more important; By predicting the distance difference of subsequent data , predict the usage failure of PON gateway.
[0018] A PON gateway fault self-checking system includes a monitoring module, a self-checking module, a data processing module, a diagnosis module, an alarm module and a report generating module; The monitoring module includes connection status monitoring, data transmission error detection and hardware self-test, which respectively realize the connection status of OLT, data packet loss rate and error rate, temperature, voltage and current of CPU, memory, storage and hardware equipment, and the temperature, voltage and current are detected by sensors, including temperature sensors, voltage acquisition circuits and current acquisition circuits, and the monitoring of CPU, memory and storage is detected by self-test programs, and self-test is performed when the equipment is started; The self-check module is used to start the monitoring module to detect the device when there is a loss rate and error rate in data transmission during the operation of the device; The data processing module is used to store and analyze the data information, including cleaning, converting, filtering and gaining the data information; The diagnostic module is used to compare the data information according to the set thresholds after the data information processing module processes the data information, and determine whether there is a PON gateway fault; and perform in-depth analysis and processing on the data information, establish a line graph through a statistical algorithm, obtain the abnormal value of the data information through the line graph, calculate the distance difference between the abnormal value and the mean, and compare the distance difference with the packet loss threshold to determine whether there is a data transmission loss fault, and finally predict the subsequent use fault of the PON gateway through the calculation result between the distance difference and the threshold, so as to facilitate the prediction of whether the PON gateway will fail in the subsequent use; The alarm module is used to notify the administrator via SMS, email or network when a fault is detected; The report generation module generates a report based on the collected data information and the results of the calculation processing, displays the data through charts and graphs, and supports exporting the report to PDF and Excel formats.
[0019] The beneficial effects of the present invention are: 1. The present invention performs connection status monitoring, data transmission error detection and hardware self-check on the PON gateway, and sets a threshold value. After the detection result is processed, if the threshold value is exceeded, it is determined that the PON gateway has a fault, and an alarm is issued, which is convenient for repairing the PON gateway. A report has been generated and stored, which is convenient for understanding the fault of the PON gateway, and for subsequent review and comparative analysis; 2. When the present invention is used, the data information of the data transmission error detection of the data packet transmitted by the PON gateway is calculated and analyzed. In order to improve the visualization of the data, a statistical line graph is established for the data information of the data transmission error detection. By generating the statistical line graph, it is easy to understand the data information of the data transmission error detection, and the trend of the data information of the data transmission error detection can be clearly seen, which is convenient for predicting the PON gateway failure; 3. When the present invention is used, the abnormal data is detected according to the statistical line graph, the abnormal value in the data information of the data transmission error detection obtained by the existing collection is obtained, and the abnormal value in the data information of the data transmission error detection is calculated, and the distance difference between the abnormal value and the mean of the data information of the data transmission error detection is compared with the packet loss threshold, and the distance data obtained by the calculation is used to determine whether it exceeds the packet loss threshold, and the packet loss threshold is set to 3, and It means that the loss of data information is within the error range. This means that the data loss is large and there is a PON gateway failure; 4. When the present invention is used, the calculation result between the distance difference and the threshold value is used to predict the subsequent use failure of the PON gateway, which can clearly show the trend of data information of data transmission error detection over time, help identify the increase or decrease of the probability of PON gateway failure, and introduce the distance difference between the outlier and the mean. , to predict the distance difference of subsequent data , predict the usage failure of PON gateway; 5. When the present invention is used, in order to reduce errors, a noise error factor is introduced in the calculation to eliminate the influence of noise and improve the accuracy of data. The fault is predicted in time through historical data, and adaptive update of weights is introduced to control the influence of historical data on the current prediction. The influence of possible errors on the weights is eliminated through noise errors, the accuracy of weight calculation is improved, the reliability of prediction results is maintained, and the PON gateway is repaired in advance; The present invention performs multiple tests on the PON gateway, thereby facilitating the improvement of the fault detection accuracy of the PON gateway, especially the detection of data transmission loss. In the event of data loss, the present invention can automatically start a self-test program to complete the detection of the PON gateway, thereby achieving early repair and reducing economic losses. In addition, for data loss, visual data display is used to facilitate the understanding of the fault, and based on the calculation of abnormal values and average values, it can be determined whether the data loss is caused by the fault, thereby eliminating errors. In addition, predictions can be made based on the data of data loss, and the fault of the PON gateway can be repaired in advance, thereby improving the use performance of the PON gateway, reducing maintenance costs and technical requirements, and reducing operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a schematic flow chart of the steps of a PON gateway fault self-detection method according to an embodiment of the present invention; Figure 2 4 is a schematic diagram of the structure of a PON gateway fault self-checking system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0023] According to an embodiment of the present invention, a PON gateway fault self-detection method and system are provided.
[0024] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, a PON gateway fault self-detection method according to an embodiment of the present invention includes the following steps: Step 1: When the equipment is started, the connection status monitoring, data transmission error detection and hardware self-test of the PON gateway are realized, and the threshold comparison is performed on the results of the connection status monitoring and hardware self-test, and the data information of the data transmission error detection is calculated and analyzed; It should be noted that for the detection of the PON gateway, multiple detections are implemented to accurately determine the fault problem, and the data information of the data transmission error detection is fully calculated and processed. When in use, multiple detections are started according to the results of the calculation of the data information of the data transmission error detection, and then the PON gateway is detected and processed; The connection status monitoring, data transmission error detection and hardware self-checking of the PON gateway include: The connection status monitoring is used to check the connection between the PON gateway and the OLT; The data transmission error detection is performed by monitoring the loss rate and error rate of data packets collected by the PON gateway; The hardware self-check is used to check the CPU, memory and storage, and detect the temperature, voltage and current of the hardware device through sensors; It should be noted that the connection status detection of the PON gateway can maintain the stability of the network, the optical power level detection can maintain the stability of network data transmission, and the data transmission error detection can improve the accuracy of data transmission and prevent data loss. The hardware detection can prevent the failure of the PON gateway due to the stability of the equipment. Specifically, the connection status monitoring also includes monitoring the optical signal strength, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor the intensity of the optical signal and set the threshold value of the intensity of the optical signal respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The threshold for setting the optical signal strength is usually between -20dBm and -28dBm. A value below -30dB indicates that the signal is too weak.
[0025] Specifically, the connection status monitoring also includes delay monitoring, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor delays and set delay thresholds respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The threshold for delay setting is generally required to be within 10 milliseconds, and a delay exceeding 20 milliseconds is considered high; It should be noted that by monitoring the connection status to ensure network connectivity, and determining the fault of the PON gateway based on the optical signal strength and delay, a stable connection can be achieved; The steps of data transmission error detection are as follows: Encode the transmitted data packets using error detection codes such as parity check, CRC and hash; The encoded data packet is sent to the receiving end through the network; the receiving end obtains the transmitted data and saves it as a receiving buffer; The receiving end performs corresponding error detection calculations on the received data packets, such as recalculating CRC or checking; Compare the calculated result with the received error detection code to determine whether an error has occurred; It should be noted that data packets are detected to prevent loss or error during transmission, thereby improving the accuracy of data transmission.
[0026] The steps of the hardware self-test are as follows: When the device is turned on, the system will automatically run the self-test program; The self-test program is used to check whether the CPU is working properly and test the read and write capabilities and capacity of the memory; Check storage devices to verify the connection status and health of hard drives or SSDs; And the equipment is tested at intervals through temperature sensors, voltage collection circuits and current collection circuits, and the interval testing time is 3 hours; And the temperature threshold is set from 0°C to 80°C; The voltage threshold is set within ±13% of the rated voltage of the equipment; The current threshold is set to 110%-150% of the rated value as the overload protection point; It should be noted that the hardware of the device is tested to prevent the device from being damaged due to excessive temperature, high voltage or high current, and the CPU and hard disk or SSD are tested to maintain the normal operation of the device and the normality of storage and reading.
[0027] Step 2: Statistic the data information of data transmission error detection through a statistical algorithm, and establish a statistical line graph of the data information according to the statistical results; The steps of calculating and analyzing the data transmission error detection are as follows: Clean and organize data information to remove duplicate and erroneous values; Use descriptive statistics to summarize data characteristics, including mean, median, and variance; Inferential statistics, analyzing data information using hypothesis testing and confidence intervals; Use charts to display analysis results and help understand data information, including bar charts, pie charts, and line charts; The mean is calculated as follows: ; in, is the calculated mean value of the data information, is the weight of each data information. Usually the latest data has a greater weight. is the data information in the time series, is the noise error, is the noise error, is the smoothing factor, and ; The median is calculated as follows: ; in, is the calculation formula for odd number of data information, is the calculation formula for an even number of data, and n is the total number of data, and is the noise error; The formula for calculating variance is as follows: The variance of the updated data information is calculated, and the total number is ; The mean is ,in, is the mean after updating the data information, is the mean after updating the data information, ,in, is the variance after updating the data information, is the variance of the existing data information; The final variance calculation formula is as follows: ; It should be noted that the data information of data transmission error detection is processed and analyzed, and a statistical line graph is established for the data information of data transmission error detection. Through the generation of the statistical line graph, it is convenient to understand the data information of data transmission error detection, and the trend of the data information of data transmission error detection can be clearly seen, which is convenient for predicting PON gateway failures.
[0028] Step 3: According to the generation of the statistical line graph, calculate the outliers in the collected data information, calculate the distance difference between the outliers and the mean in the data information, and compare the distance difference with the packet loss threshold; The calculation formula of the outlier value is as follows: According to the mean and standard deviation Determine the threshold for outliers, And the standard deviation The calculation of is as follows: , The specific calculation formula is as follows: ,and is the determined outlier after comparison; The calculation formula for the distance difference between the outlier and the mean is as follows: , in, is the calculated distance difference between the outlier and the mean, is the error value obtained by calculation and analysis; Set the packet loss threshold to 3, and It means that the loss of data information is within the error range. This means that the data loss is large and there is a PON gateway failure; It should be noted that the subsequent use failure of the PON gateway can be predicted through the calculation result between the distance difference and the threshold, which can clearly show the trend of the data information of data transmission error detection over time and help identify the increase or decrease of the probability of PON gateway failure; Step 4: By comparing the distance difference with the packet loss threshold, the subsequent use failure of the PON gateway is predicted, and the trend of the data information of data transmission error detection over time is displayed to help identify the increase or decrease of the probability of PON gateway failure; Failure prediction of the PON gateway: ; in, is the predicted value at the current moment, which is calculated based on the historical distance difference and the corresponding weight. is the total number of historical distance differences, The actual distance difference at the current moment, usually the most recently collected distance difference, Distance from current time No. The historical distance difference, The weight of the j-th historical distance difference. As time goes by, the weight of the earlier distance difference gradually decreases; Adaptively update weights; ; in, Attenuation factor controls the degree of influence of historical data on current predictions. The value is between 0 and 1. The larger the value, the greater the Make the most recent data points more important; By predicting the distance difference of subsequent data , predict the usage failure of PON gateway; It should be noted that the processed data is convenient for predicting the failure of the PON gateway, and the distance difference between the abnormal value and the mean value is introduced. , to predict the distance difference of subsequent data , predict the usage failure of PON gateway.
[0029] Step 5: PON gateway fault alarm. After the PON gateway fault self-check, the collected data information, the comparison results after analysis and processing, and the PON gateway fault probability are printed into a report and uploaded through the communication module; It should be noted that when a fault is detected, the administrator will be notified via SMS, email or the Internet; the collected data information and the results of the calculation processing will be used to generate a report, and the data will be displayed through charts and graphs to make the report easier to understand. The report can be exported to PDF and Excel formats for easy archiving and sharing, and the generated report can be saved for subsequent review and comparative analysis.
[0030] A PON gateway fault self-checking system includes a monitoring module, a self-checking module, a data processing module, a diagnosis module, an alarm module and a report generating module; The monitoring module includes connection status monitoring, data transmission error detection and hardware self-test, which respectively realize the connection status of OLT, data packet loss rate and error rate, temperature, voltage and current of CPU, memory, storage and hardware equipment, and the temperature, voltage and current are detected by sensors, including temperature sensors, voltage acquisition circuits and current acquisition circuits, and the monitoring of CPU, memory and storage is detected by self-test programs, and self-test is performed when the equipment is started; The self-check module is used to start the monitoring module to detect the device when there is a loss rate and error rate in data transmission during the operation of the device; The data processing module is used to store and analyze the data information, including cleaning, converting, filtering and gaining the data information; The diagnostic module is used to compare the data information according to the set thresholds after the data information processing module processes the data information, and determine whether there is a PON gateway fault; and perform in-depth analysis and processing on the data information, establish a line graph through a statistical algorithm, obtain the abnormal value of the data information through the line graph, calculate the distance difference between the abnormal value and the mean, and compare the distance difference with the packet loss threshold to determine whether there is a data transmission loss fault, and finally predict the subsequent use fault of the PON gateway through the calculation result between the distance difference and the threshold, so as to facilitate the prediction of whether the PON gateway will fail in the subsequent use; The alarm module is used to notify the administrator via SMS, email or network when a fault is detected; The report generation module generates a report based on the collected data information and the results of the calculation processing, and displays the data through charts and graphs to make the report easier to understand. It supports exporting the report to PDF and Excel formats for easy archiving and sharing, and saves the generated report for subsequent reference and comparative analysis.
[0031] In summary, the present invention facilitates improving the fault detection accuracy of the PON gateway by performing multiple tests on the PON gateway, especially detecting the loss of data transmission. In the event of data loss, the self-test program can be automatically started to complete the detection of the PON gateway, thereby achieving early maintenance and reducing economic losses. In addition, for data loss, visual data display is used to facilitate understanding of the fault, and based on the calculation of abnormal values and means, it can be determined whether the data loss is caused by the fault and eliminate errors. In addition, predictions can be made based on the data of data loss to repair the fault of the PON gateway in advance, thereby improving the performance of the PON gateway, reducing maintenance costs and technical requirements, and reducing operating costs.
[0032] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A PON gateway fault self-detection method, characterized in that: The following steps are included: When the device is started, it can monitor the connection status, detect data transmission errors and perform hardware self-test on the PON gateway. It can also compare the thresholds of the connection status monitoring and hardware self-test results, and calculate and analyze the data information of data transmission error detection. The data information of data transmission error detection is counted by using a statistical algorithm, and a statistical line graph of the data information is established based on the statistical results; According to the generation of the statistical line graph, the outliers in the collected data information are calculated, and the distance difference between the outliers and the mean in the data information is calculated, and the distance difference is compared with the packet loss threshold; By comparing the distance difference with the packet loss threshold, the subsequent use failure prediction of the PON gateway is carried out, showing the trend of data information of data transmission error detection over time, helping to identify the increase or decrease of the probability of PON gateway failure; PON gateway fault alarm: after the PON gateway fault self-check, the collected data information, the comparison results after analysis and processing, and the PON gateway fault probability are printed into a report and uploaded through the communication module.
2. A PON gateway fault self-detection method according to claim 1, characterized in that: The connection status monitoring, data transmission error detection and hardware self-checking of the PON gateway include: The connection status monitoring is used to check the connection between the PON gateway and the OLT; The data transmission error detection is performed by monitoring the loss rate and error rate of data packets collected by the PON gateway; The hardware self-check is used to check the CPU, memory and storage, and detect the temperature, voltage and current of the hardware device through sensors.
3. A PON gateway fault self-detection method according to claim 2, characterized in that: The connection status monitoring also includes monitoring the optical signal strength, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor the intensity of the optical signal and set the threshold value of the intensity of the optical signal respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The threshold for setting the optical signal strength is usually between -20dBm and -28dBm. A value below -30dB indicates that the signal is too weak.
4. A PON gateway fault self-detection method according to claim 2, characterized in that: The connection status monitoring also includes delay monitoring, specifically: Obtain link status information through SNMP, find OIDs related to link status, use SNMP tools in the command line to obtain information, check the returned results, and understand the current status of the link; Monitor delays and set delay thresholds respectively; By comparing with the set threshold, when it exceeds the threshold, a fault alarm is triggered and the link quality is judged; The delay threshold is generally required to be within 10 milliseconds, and a delay exceeding 20 milliseconds is considered high.
5. A PON gateway fault self-detection method according to claim 2, characterized in that: The steps of data transmission error detection are as follows: Encoding data packets using error detection codes; The encoded data packet is sent to the receiving end through the network; the receiving end obtains the transmitted data packet and saves it as a receiving buffer; The receiving end performs corresponding error detection calculations on the received data packets; The calculated result is compared with the received error detection code to determine whether an error has occurred.
6. A PON gateway fault self-detection method according to claim 2, characterized in that: The steps of the hardware self-test are as follows: When the device is turned on, the system will automatically run the self-test program; The self-test program is used to check whether the CPU is working properly and test the read and write capabilities and capacity of the memory; Check storage devices to verify the connection status and health of hard drives or SSDs; And the equipment is tested at intervals through temperature sensors, voltage collection circuits and current collection circuits, and the interval testing time is 3 hours; And the temperature threshold is set from 0°C to 80°C; The voltage threshold is set within ±13% of the rated voltage of the equipment; The current threshold is set to 110%-150% of the rated value as the overload protection point.
7. A PON gateway fault self-detection method according to claim 1, characterized in that: The steps of calculating and analyzing the data information of the data transmission error detection are as follows: Clean and organize data information to remove duplicate and erroneous values; Use descriptive statistics to summarize data characteristics, including mean, median, and variance; Inferential statistics, analyzing data information using hypothesis testing and confidence intervals; Use charts to display analysis results and help understand data information, including bar charts, pie charts, and line charts; The mean is calculated as follows: ; in, is the calculated mean value of the data information, is the weight of each data information. Usually the latest data has a greater weight. is the data information in the time series, is the noise error, is the moving average coefficient of the weight, is the smoothing factor, and ; The median is calculated as follows: ; in, is the calculation formula for odd number of data information, is the calculation formula for an even number of data, and n is the total number of data, and is the noise error; The formula for calculating variance is as follows: The variance of the updated data information is calculated, and the total number is ; The mean is ,in, is the mean after updating the data information, is the mean of the existing data information, ,in, is the variance after updating the data information, is the variance of the existing data information; The final variance calculation formula is as follows: 。 8. A PON gateway fault self-detection method according to claim 7, characterized in that: The calculation formula of the outlier value is as follows: According to the mean and standard deviation Determine the threshold for outliers, And the standard deviation The calculation of is as follows: , The specific calculation formula is as follows: ,and is the determined outlier after comparison; The calculation formula for the distance difference between the outlier and the mean is as follows: , in, is the calculated distance difference between the outlier and the mean, is the error value obtained by calculation and analysis; Set the packet loss threshold to 3, and It means that the loss of data information is within the error range. This indicates that data information loss is large and there is a PON gateway failure.
9. A PON gateway fault self-detection method according to claim 8, characterized in that: Failure prediction of the PON gateway: ; in, is the predicted value at the current moment, which is calculated based on the historical distance difference and the corresponding weight. is the total number of historical distance differences, The actual distance difference at the current moment, usually the most recently collected distance difference, The distance difference from the i-th history at the current time t, The weight of the j-th historical distance difference. As time goes by, the weight of the earlier distance difference gradually decreases; Adaptively update weights; ; in, Attenuation factor controls the degree of influence of historical data on current predictions. The value is between 0 and 1. The larger the value, the greater the Make the most recent data points more important; By predicting the distance difference of subsequent data , predict the usage failure of PON gateway.
10. A PON gateway fault self-checking system, used to implement a PON gateway fault self-checking method according to any one of claims 1 to 9, characterized in that: It includes monitoring module, self-checking module, data processing module, diagnosis module, alarm module and report generation module; The monitoring module includes connection status monitoring, data transmission error detection and hardware self-test, which respectively realize the connection status of OLT, data packet loss rate and error rate, temperature, voltage and current of CPU, memory, storage and hardware equipment, and the temperature, voltage and current are detected by sensors, including temperature sensors, voltage acquisition circuits and current acquisition circuits, and the monitoring of CPU, memory and storage is detected by self-test programs, and self-test is performed when the equipment is started; The self-check module is used to start the monitoring module to detect the device when there is a loss rate and error rate in data transmission during the operation of the device; The data processing module is used to store and analyze the data information, including cleaning, converting, filtering and gaining the data information; The diagnostic module is used to compare the data information according to the set thresholds after the data information processing module processes the data information, and determine whether there is a PON gateway fault; and perform in-depth analysis and processing on the data information, establish a line graph through a statistical algorithm, obtain the abnormal value of the data information through the line graph, calculate the distance difference between the abnormal value and the mean, and compare the distance difference with the packet loss threshold to determine whether there is a data transmission loss fault, and finally predict the subsequent use fault of the PON gateway through the calculation result between the distance difference and the threshold, so as to facilitate the prediction of whether the PON gateway will fail in the subsequent use; The alarm module is used to notify the administrator via SMS, email or network when a fault is detected; The report generation module generates a report based on the collected data information and the results of the calculation processing, displays the data through charts and graphs, and supports exporting the report to PDF and Excel formats.
Citation Information
Patent Citations
Fault detection method for PON gateway
CN110267129A
Fault diagnosis and rapid processing method based on PON access network service
CN111885440A
Method and device for passive optical network (PON) failure detection, as well as passive optical network (PON) system
WO2008131690A1
Cited By
Data security transmission system for vehicle-mounted meteorological monitoring equipment
CN119402390A
Fault self-checking method and system of PON (Passive Optical Network) gateway
CN120378001A
