Method and device for fusing passive optical control and multi-parameter gpon link dynamic reconstruction
By introducing single-optical modules and passive optical controllers into the GPON network, combined with multi-parameter monitoring, low-power link self-healing and back-switching are achieved, solving the problem of link instability in existing GPON networks and improving link reliability and availability.
Patent Information
- Application Number
- CN202511595768.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2045-11-04
AI Technical Summary
Existing GPON networks suffer from insufficient link stability on transmission lines, especially lacking redundant protection mechanisms in the event of single-point failures, leading to communication interruptions. Furthermore, the self-healing and back-off mechanisms of existing technologies are unstable and prone to erroneous handovers.
A link dynamic reconfiguration method combining a single optical module with passive optical control and multi-parameter fusion is adopted. By real-time monitoring of parameters such as power supply, environment and received power, and using sliding window averaging and mutation rate analysis, low-power link self-healing and back-switching are achieved. Environmental adaptability is judged by combining temperature, voltage and current to avoid false switching.
It improves the stability and reliability of GPON network systems during link switching, reduces power consumption, extends the battery life of solar-powered equipment, and ensures the continuity and availability of communication.
Smart Images

Figure CN121056768B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power communication technology, and in particular to a method and apparatus for dynamic reconfiguration of GPON links that integrates passive optical control and multiple parameters. Background Technology
[0002] With the development of information technology and intelligentization in power systems, the importance of communication networks along transmission lines is increasing, especially in real-time monitoring of line operation and fault early warning, making it a crucial component of smart grids. Currently, power companies widely adopt fiber optic communication to connect terminal equipment such as video surveillance, temperature sensors, and vibration detectors along transmission lines to the power grid backbone via Gigabit Passive Optical Network (GPON). GPON is a high-speed, point-to-multipoint fiber optic communication system, typically composed of three parts: OLT (Optical Line Terminal), ODN (Optical Distribution Network), and ONU (Optical Network Unit). In transmission lines, the OLT is usually deployed in substations, connecting to multiple ONU devices on the towers via OPGW (Optical Fiber Composite Overhead Ground Wire) to collect and control data from various monitoring devices along the line.
[0003] There are generally two related technologies for applying GPON networks on power transmission lines. Specifically, in one related technology, the GPON network adopts a "single-fiber integrated" serial access method. For example, an OLT is deployed at the substation side, transmitting signals through a main optical fiber in the OPGW; single-port ONUs (Optical Network Units) are installed on each tower or pole along the line, and the downlink signal is split by a passive optical splitter to distribute to multiple terminal devices (such as monitoring cameras, temperature sensors, vibration probes, etc.), while the uplink data is then aggregated back to the OLT. However, this "single-fiber integrated" serial access method is prone to single-point failures, causing widespread communication outages, and lacks redundancy protection mechanisms.
[0004] To address the issues with Existing Technology 1, some power communication operators have adopted Existing Technology 2. Specifically, Existing Technology 2 introduces a "dual-fiber dual-optical module hot standby" architecture: two optical fibers, a primary and a backup, are configured simultaneously in the OPGW; each ONU device is equipped with two sets of optical modules A / B, connected to the primary and backup optical fibers respectively; the primary link optical power is monitored locally or through the automatic fault switching logic built into the optical modules; when the primary link power falls below a threshold, an internal electronic switch switches to the backup link to continue operation. However, this Existing Technology 2 only relies on a single RSSI (Raw Optical Received Power, in dBm) threshold switching, failing to achieve dynamic filtering and stable back-switching. Frequent switching is prone to occur when the primary link briefly recovers or experiences jitter, affecting service stability, and it also fails to consider the impact of abnormal situations such as abnormal temperatures.
[0005] Therefore, it is evident that none of the aforementioned existing technologies can achieve stable and intelligent link self-healing and back-switching, resulting in insufficient link stability. Summary of the Invention
[0006] This application provides a method and system for dynamic reconfiguration of GPON links that integrates passive optical control and multi-parameter parameters. First, a low-power redundancy protection mechanism is constructed using a single optical module and passive optical control. Then, the link fast monitoring and self-healing switching algorithm is updated. By fusing and judging multiple parameters such as RSSI, ambient temperature, power supply voltage, and current, the algorithm fully considers the impact of environmental factors, avoiding malfunctions caused by external environmental anomalies. It also avoids erroneous switching caused by triggering a single RSSI threshold, enabling intelligent self-healing and back-switching of primary / backup links. This improves the stability of the GPON network system during link switching and effectively enhances link reliability and availability, solving the problem of link instability caused by the inability to perform stable and intelligent link self-healing and back-switching in existing technologies.
[0007] Firstly, this application provides a method for dynamic reconfiguration of a GPON link that integrates passive optical control and multi-parameter operation, including:
[0008] The GPON network system on the transmission line is continuously monitored in real time. Key variables are periodically collected according to a preset sampling interval, and the cumulative sampling time is determined. The key variables include at least power supply parameters, environmental parameters, receiving power, and the key cumulative time of the timer. The GPON network system is equipped with a single optical module and a passive optical controller.
[0009] Within each cycle, for the sampling time, a smoothing operation is performed based on the received power to obtain a smoothed target power parameter, and an initial link state determination is performed based on the power supply parameters and the environmental parameters to obtain initial determination information;
[0010] When the initial determination information is a non-abnormal state, link status detection is performed based on the target power parameters and the key cumulative time to obtain link status detection information;
[0011] Under a preset target pulse voltage, based on the link status detection information, the single optical module and the passive optical controller are controlled to perform low-power dynamic link reconstruction, obtain the dynamic link reconstruction result, and update the key cumulative time and record status change log.
[0012] Specifically, during dynamic link reconfiguration, the optical fiber physical switching between the primary link and the backup link is performed by controlling the single optical module and the passive optical controller.
[0013] Optionally, within each period, for the sampling time, a smoothing operation is performed based on the received power to obtain a smoothed target power parameter, including:
[0014] Within each period, the size of the moving average window is determined based on the sampling time, and the moving window is constructed.
[0015] Using the received power as input, a smooth target power parameter is obtained by performing a sliding average calculation through a sliding window.
[0016] Optionally, using the received power as input, a smoothed target power parameter is obtained by performing a sliding average calculation through a sliding window, including:
[0017] Within the sliding window, the target power parameter is calculated based on the received power and in conjunction with historical received power.
[0018] Optionally, an initial link state determination is performed based on the power supply parameters and the environmental parameters to obtain initial determination information, including:
[0019] Obtain a preset first parameter threshold, which includes a voltage threshold range, a current threshold, and a temperature threshold.
[0020] Based on the voltage and current parameters in the power supply parameters, power supply monitoring is performed in combination with the voltage threshold range and the current threshold to analyze the power supply situation. Based on the environmental parameters and the temperature threshold, environmental monitoring is performed to analyze the environmental situation and obtain initial judgment information.
[0021] Specifically, the system determines whether a power supply abnormality has occurred based on the analyzed power supply conditions, and determines whether an environmental abnormality has occurred based on the analyzed environmental conditions. When a power supply abnormality or an environmental abnormality occurs, the abnormal state is used as the initial judgment information. When neither a power supply abnormality nor an environmental abnormality occurs, the non-abnormal state is used as the initial judgment information. In the case of an abnormal state, the current cycle ends.
[0022] Optionally, when the initial determination information is a non-abnormal state, link status detection is performed based on the target power parameters and the key cumulative time to obtain link status detection information, including:
[0023] When the initial determination information is in a non-abnormal state, the link status information of the GPON network system operating links in the current period is analyzed based on the sampling time.
[0024] For the link status information, obtain the corresponding preset power parameter baseline value and cumulative time update value;
[0025] Based on the target power parameters and the key cumulative time, combined with the power parameter baseline value and the cumulative time update value, the link status is detected to obtain link status detection information.
[0026] Optionally, based on the target power parameter and the key cumulative time, combined with the power parameter baseline value and the cumulative time update value, link status detection is performed on the operating link to obtain link status detection information, including:
[0027] When the link status information is the main link operation information, a preset fault threshold is obtained as the power parameter reference value;
[0028] Fault detection is performed based on the power parameter baseline and target power parameters. When the fault detection result is the main link fault confirmation result, the main link fault cumulative time in the key cumulative time is updated. Based on the main link fault cumulative time and the preset fault confirmation time threshold, the main link fault confirmation information is used as the link status detection information.
[0029] When the link status information is backup link operation information, the fault threshold and back-off signal margin are obtained as power parameter reference values;
[0030] Back-cut detection is performed based on the baseline and target power parameters. When the back-cut detection result is confirmed as the main link recovery result, the main link recovery cumulative time in the key cumulative time is updated. Based on the main link recovery cumulative time and the preset back-cut confirmation time threshold, the main link back-cut confirmation information is used as the link status detection information.
[0031] Optionally, fault detection is performed based on the power parameter baseline and target power parameters. When the fault detection result is the main link fault confirmation result, the main link fault cumulative time in the key cumulative time is updated. Based on the main link fault cumulative time and a preset fault confirmation time threshold, the main link fault confirmation information is used as link status detection information, including:
[0032] Based on power parameter reference value and target power parameters Perform fault detection, and At that time, the main link failure confirmation result is obtained;
[0033] Based on the main link failure confirmation result, according to ,calculate The main link failure cumulative time in the critical cumulative time at this moment and according to Update the cumulative time of main link failure;
[0034] Obtain the fault confirmation time threshold Based on the fault confirmation time threshold Cumulative time of main link failure The main link failure confirmation information is used as the link status detection information;
[0035] in, The sampling interval is denoted as .
[0036] Optionally, back-cut detection is performed based on the power parameter baseline and target power parameters. When the back-cut detection result is the main link recovery confirmation result, the main link recovery cumulative time in the key cumulative time is updated. Based on the main link recovery cumulative time and a preset back-cut confirmation time threshold, the main link back-cut confirmation information is used as link status detection information, including:
[0037] Based on power parameter reference value and target power parameters Perform backup link failover detection, and in At that time, the main link recovery confirmation result is obtained;
[0038] Based on the confirmation of main link recovery, Calculate the main link recovery cumulative time in the critical cumulative time. and according to Update main link recovery cumulative time ;
[0039] Get the cutback confirmation time threshold Based on the back-cut confirmation time threshold Cumulative time for main link recovery The main link back-switch confirmation information is used as the link status detection information.
[0040] Optionally, under a preset target pulse voltage, based on the link state detection information, the single-optical module and the passive optical controller are controlled to perform low-power dynamic link reconstruction, obtaining the dynamic link reconstruction result, and updating the key cumulative time and recorded state change log, including:
[0041] When the link status detection information is the primary link fault confirmation information, the GPON network system is controlled to enter the primary link fault confirmation state.
[0042] In the case of primary link failure confirmation, the current output of the passive optical controller is adjusted to the backup link through the single optical module, and the target pulse voltage is output to the passive optical controller to control the link state of the GPON network system to switch to the backup link operation state, thus obtaining the first link dynamic reconstruction result.
[0043] Based on the results of the first link dynamic reconstruction, the main link recovery cumulative time in the critical cumulative time is reset, and the status change log is updated;
[0044] When the link status detection information is the main link back-off confirmation information, the GPON network system's link status is controlled to enter the main link recovery confirmation state.
[0045] In the main link recovery confirmation state, the current output of the passive optical controller is adjusted to the main link through the single optical module, and the target pulse voltage is output to the passive optical controller to control the link state of the GPON network system to switch to the main link operation state, thus obtaining the second link dynamic reconstruction result.
[0046] Based on the results of the second link dynamic reconstruction, the primary link failure cumulative time in the critical cumulative time is reset, and the status change log is updated.
[0047] Secondly, this application provides a GPON link dynamic reconfiguration device that integrates passive optical control and multi-parameter functions, comprising:
[0048] The monitoring module is used to continuously monitor the GPON network system on the transmission line in real time. It periodically collects key variables according to the preset sampling interval and determines the cumulative sampling time. The key variables include at least power supply parameters, environmental parameters, receiving power and the key cumulative time of the timer. The GPON network system is equipped with a single optical module and a passive optical controller.
[0049] The smoothing operation module is used to perform smoothing operation processing based on the received power for the sampling time in each cycle to obtain the smoothed target power parameter;
[0050] The link status initial determination module is used to perform an initial determination of the link status based on the power supply parameters and the environmental parameters, and obtain initial determination information.
[0051] The link status detection module is used to perform link status detection based on the target power parameters and the key cumulative time when the initial judgment information is a non-abnormal state, and obtain link status detection information.
[0052] The link dynamic reconfiguration module is used to control the single-optical module and the passive optical controller to perform low-power link dynamic reconfiguration based on the link status detection information under a preset target pulse voltage, obtain the link dynamic reconfiguration result, and update the key cumulative time and record status change log.
[0053] Specifically, during dynamic link reconfiguration, the optical fiber physical switching between the primary link and the backup link is performed by controlling the single optical module and the passive optical controller.
[0054] In summary, this application's embodiments first collect key parameters such as power, temperature, supply voltage, and current. Using a combination of sliding window averaging and mutation rate analysis, power data is smoothed and faults are quickly captured to obtain target power parameters. Then, combining temperature, voltage, and current as constraints for switching decisions, a link fast monitoring and self-healing switching algorithm based on an optical switch is constructed. Environmental analysis is performed using environmental parameters such as temperature. When the environment is normal, link status detection, such as fault monitoring or back-switch determination, is performed on the operating link using key parameters to obtain link status detection information. Finally, a single optical module controls a passive optical controller to dynamically reconstruct the link under low-power pulse voltage based on the link status detection information. This achieves low-power, intelligent self-healing and back-switch of the primary / backup link, improving the stability of the GPON network system during link switching and effectively enhancing link reliability and availability. This solves the problem of link instability caused by the inability to perform stable and intelligent link self-healing and back-switch in existing technologies. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0057] Figure 1 This is a GPON topology diagram of a transmission line based on existing technology 1;
[0058] Figure 2 This is a bidirectional topology diagram of a GPON transmission line based on existing technology 2;
[0059] Figure 3 This is a topology diagram of a low-power transmission line GPON self-healing system provided in this application;
[0060] Figure 4 This is a flowchart illustrating a method for dynamic reconfiguration of a GPON link that integrates passive optical control and multiple parameters, provided in an embodiment of this application.
[0061] Figure 5 This is a flowchart illustrating a method for dynamic reconfiguration of a GPON link that integrates passive optical control and multiple parameters, provided in one embodiment of this application.
[0062] Figure 6This is a block diagram of a GPON link dynamic reconfiguration device that integrates passive optical control and multiple parameters, provided in an embodiment of this application. Detailed Implementation
[0063] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0064] In related technologies, GPON (Gigabit Passive Optical Network) is increasingly being widely used in remote communication and online monitoring systems for power transmission lines, undertaking key tasks including image monitoring, vibration detection, and temperature acquisition. However, power transmission lines are often located in complex outdoor environments such as mountains, forests, and coastlines, and their communication links face the following challenges: ① High probability of fiber optic line failure (physical breakage, poor splicing, moisture, etc.); ② Extreme conditions such as high temperature, humidity, strong sunlight, and electromagnetic interference affect communication stability; ③ ONU equipment mostly uses solar power, resulting in limited energy resources; ④ Lightning interference and electromagnetic induction: causing sudden drops in optical power or short-term communication interruptions; ⑤ Although backup links can improve reliability, they are prone to incorrect switching or switching oscillations.
[0065] Figure 1 Here is a diagram of the existing GPON system architecture, such as... Figure 1 As shown, in the existing technology 1, the GPON system is deployed on the transmission line using the "single-fiber serial access" method. This scheme splits the downlink signal to multiple terminal devices through a passive optical splitter, and the uplink data is then aggregated back to the OLT. The scheme has a simple structure, does not require additional optical module hot standby, and does not require secondary power supply. It only requires solar energy + battery pack to provide continuous power. However, this scheme has serious stability risks: (1) High risk of single-point link failure: Since only one main fiber core is used to connect all ONU devices, once the main chain is broken, the optical connector is loose, or the optical loss increases under bad weather, all ONU devices after the failure point will be disconnected at the same time, forming a "large-area communication blind spot". (2) No link redundancy mechanism: Single-link access lacks a main and backup protection structure and does not have the ability to self-heal the link. After the communication is interrupted, manual inspection and optical cable maintenance must be relied on, which is inefficient and has a long recovery time, and cannot meet the needs of intelligent remote operation and maintenance. (3) The power consumption of the improved scheme is too high.
[0066] Existing technology two has made some improvements to address the link reliability issue, such as... Figure 2As shown, the existing technology 2 introduces a "dual-fiber dual-optical module hot standby" architecture to achieve the purpose of switching to the backup link when the main link is broken, so as to restore communication. However, the solution of this existing technology 2 also has serious hidden dangers, specifically: (1) Power consumption increases significantly: the dual optical modules need to keep the power supply on standby at the same time, and the power consumption almost doubles. For outdoor ONUs that rely on solar energy and battery power, the battery life is greatly shortened and power loss is easy on rainy days; (2) Cost increases significantly: each ONU is equipped with an additional optical module and corresponding driving circuit, and the hardware cost and wiring cost increase significantly; (3) Switching jitter problem: some hot standby logic is only based on a single RSSI threshold switch, without sliding filtering and back-switch locking mechanism. Frequent switching is easy to occur when the main link is briefly restored or jittered, affecting the stability of services; (4) Insufficient environmental awareness: without considering the impact of external environmental parameters such as temperature and voltage on the performance of optical modules, it simply relies on optical power to determine, which cannot effectively avoid malfunctions under high temperature or low voltage conditions.
[0067] To address the technical problems of the prior art and reduce costs to some extent, this application proposes a dynamic reconfiguration method for GPON links that integrates passive optical control and multi-parameter operation. The method simultaneously improves both the algorithm and the structure. The structural improvements can be found in [reference needed]. Figure 3 As shown. Specifically, the concept of this application is to propose a low-power GPON self-healing system for power transmission lines. On the one hand, structural improvements are made to construct a low-power redundant protection mechanism. Specifically, this application introduces a MEMS optical switch to replace the additional optical module. By using only a single optical module in conjunction with a passive MEMS optical switch at the ONU end, rapid switching between the primary and backup optical fibers is achieved. For example, if the primary channel fails, the MEMS optical switch quickly switches to the backup channel, achieving rapid self-healing. This effectively avoids the disadvantage of the traditional "dual optical module standby" scheme where the power consumption is almost doubled due to the continuous power supply of two sets of optical modules in standby mode. It significantly extends the battery life of the solar + battery system, ensuring that the ONU can continue to operate under extreme conditions such as continuous rain and low temperature freezing, without premature power failure or restart due to excessive energy consumption, providing a bidirectional protection channel for the ONU device.
[0068] On the other hand, this application improves the method of dynamic reconfiguration of GPON link states. First, it combines algorithms to achieve dynamic and smooth link switching, reducing communication terminal time, and introduces multi-dimensional parameters to perform fusion judgment on dynamic link switching, ensuring the stability and accuracy of switching decisions and improving link reliability and availability. Second, it combines algorithms to achieve intelligent self-healing and back-switching, continuously monitoring the recovery status of the main link after the backup link is switched, and automatically switching back to the main link when the main link recovers, ensuring that the network always maintains the fastest and optimal communication path. Finally, it also enhances environmental adaptability by incorporating sensor data such as ambient temperature, power supply voltage, and current into the switching judgment logic, actively delaying the switching operation in abnormal environmental conditions such as over-temperature or under-voltage, avoiding malfunctions caused by abnormal external environments, and constructing a low-power redundancy protection mechanism.
[0069] Therefore, this application improves the stability of GPON network systems during link switching and can effectively improve link reliability and availability, solving the problem of link instability caused by the inability of existing technologies to perform stable and intelligent link self-healing and back-switching.
[0070] To facilitate understanding of the embodiments of this application, further explanations and descriptions will be provided below in conjunction with the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of this application.
[0071] Figure 4 This is a flowchart illustrating a method for dynamic reconfiguration of a GPON link integrating passive optical control and multiple parameters, provided in an embodiment of this application. Figure 4 As shown in the embodiments of this application, the method for dynamic reconfiguration of a GPON link integrating passive optical control and multiple parameters may specifically include the following steps:
[0072] Step 410: Continuously monitor the GPON network system on the transmission line in real time, periodically collect key variables according to the preset sampling interval, and determine the cumulative sampling time.
[0073] The key variables include at least power supply parameters, environmental parameters, received power, and key cumulative time of the timer. The GPON network system is equipped with a single optical module and a passive optical controller.
[0074] Specifically, this embodiment improves the structure of the GPON network system by using a MEMS optical switch as a passive optical controller to replace additional optical modules, providing bidirectional protection channels for ONU devices. In the event of a failure in the primary channel, a single optical module can quickly switch to the backup channel by controlling the MEMS optical switch, achieving rapid self-healing.
[0075] In this embodiment, the GPON network system installed on the transmission line is continuously monitored to collect key variables of the GPON system state machine in each cycle according to a certain sampling interval (or sampling time interval).
[0076] For example, the sampling interval can be used This indicates that, preferably, the sampling interval is 1 second (s), i.e. In each sampling interval Below, collect the corresponding time (e.g.) Key variables at time (i.e., the received power). Among these key variables, received power refers to the original received optical power. This indicates that it can be provided by a single optical module of a GPON network system; environmental parameters include ambient temperature, etc. Indicates the unit is Celsius. The power supply parameters mainly include the power supply voltage. and current (Unit Ampere) The critical cumulative time mainly includes the cumulative time of main link failures. Cumulative time for main link recovery All units are This can be recorded using a timer. The primary link failure cumulative time is incremented every consecutive cycle when a primary link failure is detected; otherwise, it is reset to zero. The primary link recovery cumulative time is incremented every consecutive cycle when a backup link is used, until a primary link recovery is detected; otherwise, it is reset to zero.
[0077] Step 420: Within each cycle, for the sampling time, a smoothing operation is performed based on the received power to obtain a smoothed target power parameter; and an initial link state determination is performed based on the power supply parameter and the environmental parameter to obtain initial determination information.
[0078] In each cycle, in order to achieve smoothing of received power and rapid fault capture, this embodiment uses a combination of sliding window averaging and mutation rate analysis to perform smoothing operation on the collected received power in order to obtain accurate smoothed target power parameters.
[0079] In practical implementation, considering the potential for abnormal external environments in extreme mountainous areas, coastal typhoon zones, and desert sandstorm areas, which can easily lead to overheating or undervoltage in the GPON network system, namely, high temperatures, humidity, and unstable power supply in complex outdoor environments, forced link switching may result in increased risk of erroneous disconnection, decreased equipment operational stability, and increased maintenance costs.
[0080] Therefore, to avoid erroneous or missed handovers caused by relying solely on optical power, this embodiment uses temperature, voltage, and current as environmental constraints for handover decisions. In each cycle, when determining whether to perform dynamic link state reconstruction, firstly, an initial link state determination is performed based on key parameters such as current voltage, current, and temperature to conduct an environmental check. When anomalies such as undervoltage, unstable power supply, or high temperature (including environmental and power supply anomalies) are detected, it indicates that dynamic link state reconstruction (i.e., link handover) is not suitable for the current cycle, and the abnormal state is used as the initial determination information. When no environmental anomalies are detected, it indicates that dynamic link state reconstruction can be performed based on the detection status of the primary / backup link in the current cycle, and the non-abnormal state is used as the initial determination information.
[0081] It should be noted that in this embodiment, when an abnormal state occurs, the switchover between the primary and backup links is usually not performed; only the current log is recorded and the current state is maintained.
[0082] Step 430: When the initial determination information is a non-abnormal state, link status detection is performed based on the target power parameters and the key cumulative time to obtain link status detection information.
[0083] In this embodiment, there are several types of link status detection information, mainly divided into two categories: primary link fault confirmation information and primary link switchback confirmation information. The primary link fault confirmation information can be obtained by detecting the status of the primary link when it is the primary link in the GPON network, and is used to switch to the backup link when the primary link fails. The primary link switchback confirmation information can be obtained by detecting the status of the primary link when it is the backup link in the GPON network, determining whether the primary link has recovered, and is used to switch back to the primary link from the backup link when the primary link returns to normal.
[0084] In this implementation, the link switching determination is performed under normal conditions. Specifically, the link switching determination can be based on the currently operating links of the GPON network. According to the target power parameters and the corresponding key cumulative time, it is analyzed whether a link switching should be performed under the currently operating links, and corresponding link status detection information is generated.
[0085] For example, when the current operating link is the primary link, the cumulative time for primary link fault detection is extracted from the critical cumulative time. This is then combined with the target power parameters for link status detection. At this point, link status detection primarily analyzes whether a fault exists in the primary link. If a fault exists, primary link fault confirmation information is generated as link status detection information. Conversely, if the primary link is fault-free, it indicates that no link switching is needed for the current cycle, and the current cycle can be terminated to proceed with the environmental detection process for the next cycle.
[0086] Step 440: Under the preset target pulse voltage, based on the link status detection information, control the single optical module and the passive optical controller to perform low-power dynamic link reconstruction, obtain the dynamic link reconstruction result, and update the key cumulative time and record status change log.
[0087] Specifically, during dynamic link reconfiguration, the optical fiber physical switching between the primary link and the backup link is performed by controlling the single optical module and the passive optical controller.
[0088] To achieve low-power link switching, preferably, the target pulse voltage can be... .
[0089] In practical implementation, when the link status detection information is the main link fault confirmation information, it indicates that the main link has failed. At this time, the MEMS optical switch can be controlled by a single optical module. In low-power mode, the MEMS optical switch switches from the main link to the backup link, achieving low-power dynamic link reconfiguration. Subsequently, the critical cumulative time can be updated, which can be a reset time, such as the main link recovery cumulative time in the reset critical cumulative time, used to accumulate and record the main link recovery time in subsequent cycles.
[0090] When the link status detection information is the main link switchback confirmation information, it indicates that the main link has returned to normal. At this time, the MEMS optical switch can be controlled by a single optical module. In low-power mode, the MEMS optical switch switches back from the backup link to the main link, achieving low-power dynamic link reconfiguration. Subsequently, the main link failure accumulation time in the critical accumulation time can be reset to accumulate and record the time when the main link fails in subsequent cycles.
[0091] Each time a state changes or an environment anomaly occurs, the key parameters and the old and new states at the current moment are recorded, and the state change log (hereinafter referred to as the log) is stored locally or remotely.
[0092] This application improves the stability of GPON network systems during link switching and can effectively improve link reliability and availability, solving the problem of link instability caused by the inability of existing technologies to perform stable and intelligent link self-healing and back-switching.
[0093] As can be seen, this embodiment collects key parameters such as power, temperature, supply voltage, and current. It utilizes a combination of sliding window averaging and mutation rate analysis to smooth power data and quickly capture faults, obtaining the target power parameters. Then, combining temperature, voltage, and current as constraints for switching decisions, a link fast monitoring and self-healing switching algorithm based on an optical switch is constructed. Environmental analysis is performed using environmental parameters such as temperature. When the environment is normal, the operating link is monitored for faults or a back-switch determination using key parameters to obtain link status detection information. Finally, a single optical module controls a passive optical controller to dynamically reconstruct the link based on the link status detection information under low-power pulse voltage. Thus, this embodiment achieves low-power self-healing switching and back-switch using a MEMS optical switch. Only a single optical module is equipped at the ONU end, supplemented by a passive MEMS optical switch, to achieve physical switching between the main and backup optical fibers. The instantaneous switching drive voltage is only a 5V pulse, and the normal power consumption is negligible, meeting the long-term power supply requirements of solar energy and batteries. In addition, this embodiment implements an intelligent fault detection and back-off mechanism. When a fault occurs, a switchover is triggered; when the link recovers, a back-off determination is triggered and a back-off is automatically performed. The threshold + timer design effectively suppresses rapid jitter or short-term interference, ensuring the stability of primary and backup switching.
[0094] Reference Figure 5 This illustration shows a flowchart of an optional embodiment of a GPON link dynamic reconfiguration method integrating passive optical control and multi-parameter parameters. The method specifically includes the following steps:
[0095] Step 510: Continuously monitor the GPON network system on the transmission line in real time, periodically collect key variables according to the preset sampling interval, and determine the cumulative sampling time.
[0096] The key variables include at least power supply parameters, environmental parameters, received power, and key cumulative time of the timer. The GPON network system is equipped with a single optical module and a passive optical controller.
[0097] In specific implementation, this embodiment defines the following four states for the state machine of the GPON network system:
[0098] The main link is normal (using the main fiber). );
[0099] : Primary link failure confirmed (accumulated primary link anomalies detected, awaiting switchover);
[0100] The backup link is operational (has been switched to the backup fiber optic cable). );
[0101] : Main link recovery confirmed (accumulated detections of main link recovery, pending switchback)
[0102] Within each cycle, data collection Key variables at any given time. Among them, The key variables at each moment and their definitions, as well as the relevant parameters involved in this embodiment, are shown in Table 1 below:
[0103] Table 1
[0104]
[0105] Step 520: Within each period, based on the sampling time, determine the size of the moving average window and construct the moving window.
[0106] Step 530: Using the received power as input, perform a sliding average calculation through a sliding window to obtain a smooth target power parameter.
[0107] Steps 520-530 are described uniformly as follows:
[0108] In the specific implementation, for each time interval, based on the sampling time... , construct not less than A sliding window. Received power at any time As input, a moving average is calculated within a sliding window to combine the moving window averaging with mutation rate analysis for... Data is smoothed and rapid fault detection is performed to obtain target power parameters. .
[0109] Optionally, the above-mentioned method of using the received power as input and performing a sliding average calculation through a sliding window to obtain a smooth target power parameter may specifically include: within the sliding window, calculating the target power parameter based on the received power and in combination with historical received power.
[0110] In the specific implementation, Received power collected at all times As input, in a size of Within the sliding window, according to Calculate the target power parameters .
[0111] In this embodiment, the limitation is as follows: This is to ensure that the moving average calculation can be performed smoothly within the sliding window. If so, the current period can be skipped, and the moving average calculation will be performed again in the next sampling.
[0112] For example, take ,like Then we have: .
[0113] Step 540: Perform an initial link status determination based on the power supply parameters and the environmental parameters to obtain initial determination information.
[0114] Optionally, the above-mentioned initial determination of link status based on the power supply parameters and the environmental parameters to obtain initial determination information may specifically include: obtaining a preset first parameter threshold, the first parameter threshold including a voltage threshold range, a current threshold, and a temperature threshold; based on the voltage and current parameters in the power supply parameters, combined with the voltage threshold range and the current threshold, performing power monitoring to analyze the power supply situation, and based on the environmental parameters and the temperature threshold, performing environmental monitoring to analyze the environmental situation, and obtaining initial determination information; wherein, based on the analyzed power supply situation, it is determined whether a power supply abnormality has occurred, and based on the analyzed environmental situation, it is determined whether an environmental abnormality has occurred; when a power supply abnormality or an environmental abnormality occurs, the abnormal state is used as the initial determination information; when no power supply abnormality or no environmental abnormality occurs, the non-abnormal state is used as the initial determination information, and in the abnormal state, the current cycle ends.
[0115] In this embodiment, the first parameter threshold may include a voltage threshold range. Current threshold and temperature threshold .by Voltage parameters in the power supply parameters collected at all times and current parameters and temperature threshold Environmental and power monitoring is performed based on the first parameter threshold. Simultaneously, the power supply and environmental conditions are analyzed to obtain initial judgment information.
[0116] In its implementation, this embodiment presets corresponding thresholds to perform environmental and power supply checks, including but not limited to: voltage threshold ranges. Current threshold and temperature threshold By checking simultaneously Voltage collected at all times Current and temperature A judgment will be made. If any of the above conditions are not met, it will be considered an "environmental abnormality" or "power abnormality," and no switching judgment will be made; only the log will be recorded and the current state will be maintained. .
[0117] In addition, in case of an anomaly, the critical accumulated time of all timers can be reset to zero, such as when set. ,as well as, .
[0118] Step 550: When the initial determination information is in a non-abnormal state, the link status information of the GPON network system operating links in the current cycle is analyzed based on the sampling time.
[0119] Step 560: For the link status information, obtain the corresponding preset power parameter baseline value and cumulative time update value.
[0120] Step 570: Based on the target power parameter and the key cumulative time, and combined with the power parameter baseline value and the cumulative time update value, perform link status detection on the running link to obtain link status detection information.
[0121] Steps 550-570 are described uniformly as follows:
[0122] In practical implementation, the state machine of a GPON network system typically operates on either the primary or backup link. By analyzing the state machine (see the definition of different states in step 510 above), the currently operating link can be determined, such as through... Determine the operational chain. If... This indicates that the currently running link is the primary link, and at this time, the link status information is the primary link's running information; if If the current link is a backup link, then the link status information is the backup link's operational information.
[0123] This embodiment pre-sets corresponding switching decisions for different operating links. Specifically, when the operating link is the primary link, it mainly performs primary link fault detection to analyze whether a fault exists in the primary link; when the operating link is the backup link, it mainly performs a switchback determination to analyze whether the primary link is in a normal state and whether a switchback to the primary link is possible. In this embodiment, different preset thresholds (i.e., fault thresholds) and durations (i.e., cumulative time update values, mainly including fault confirmation time thresholds and switchback confirmation time thresholds) are used for fault confirmation and switchback determination, respectively.
[0124] Subsequently, the corresponding preset thresholds are obtained based on the current operating link. The target power parameters and baseline power parameter values are analyzed and compared, as are the key cumulative time and cumulative time update values. This process then detects the operating link to obtain link status detection information.
[0125] In one optional embodiment, this embodiment performs link status detection on the operating link based on the target power parameter and the key cumulative time, combined with the power parameter baseline value and the cumulative time update value, to obtain link status detection information. This may include: when the link status information is the main link operating information, obtaining a preset fault threshold as the power parameter baseline value; performing fault detection based on the power parameter baseline value and the target power parameter, and updating the main link fault cumulative time in the key cumulative time when the fault detection result is the main link fault confirmation result; using the main link fault confirmation information as link status detection information based on the main link fault cumulative time and the preset fault confirmation time threshold; when the link status information is the backup link operating information, obtaining the fault threshold and the back-cut signal margin as the power parameter baseline value; performing back-cut detection based on the power parameter baseline value and the target power parameter, and updating the main link recovery cumulative time in the key cumulative time when the back-cut detection result is the main link recovery confirmation result; using the main link back-cut confirmation information as link status detection information based on the main link recovery cumulative time and the preset back-cut confirmation time threshold.
[0126] In the specific implementation, considering the detection requirements under different links, namely, primary link back-off determination in backup link mode and fault determination in primary link mode, this embodiment first sets corresponding fault thresholds for primary link fault detection and back-off determination. These fault thresholds can be the same or different. Then, for primary link fault detection, a fault confirmation time threshold is set to ensure the accuracy of fault determination; for primary link back-off determination, the fault threshold and back-off signal margin are used as power parameter benchmark values to ensure that the primary link has returned to normal, and a preset back-off confirmation time threshold is provided to offer multiple safeguards.
[0127] Optionally, the above-mentioned fault detection is based on the power parameter baseline value and the target power parameter. When the fault detection result is the main link fault confirmation result, the main link fault cumulative time in the key cumulative time is updated. Based on the main link fault cumulative time and the preset fault confirmation time threshold, the main link fault confirmation information is used as the link status detection information. Specifically, this may include: based on the power parameter baseline value... and target power parameters Perform fault detection, and At that time, the main link failure confirmation result is obtained; under the main link failure confirmation result, according to ,calculate The main link failure cumulative time in the critical cumulative time at this moment and according to Update the cumulative time of main link failure; obtain the failure confirmation time threshold. Based on the fault confirmation time threshold Cumulative time of main link failure ;in, The sampling interval refers to the function. The value is 1 if the condition is met, and 0 otherwise. hour, ,exist At that time, the main link fault confirmation information will be used as the link status detection information.
[0128] In this embodiment, the main link fault determination is mainly performed under two state machine states, namely status and Status. When When this timeout occurs, it indicates a decrease in the optical received power of the main link, signifying a main link failure. At this point, the main link failure accumulation time in the update timer begins to increment. If the current time is... If the status is clear, then further analysis of the main link failure cumulative time and failure confirmation time threshold can be performed. Then it can be determined that a transfer is required. State; if currently in If the status is invalid, it indicates that the main link is in a fault and is waiting for fault recovery. In other words, fault detection is invalid, and the current cycle can be ended to continue environmental monitoring.
[0129] when When the link status is clear, it indicates that the main link is not faulty. At this time, the link status detection information can be used to indicate that the main link is not faulty, and the current cycle can be ended without the need for dynamic link status reconstruction.
[0130] For example, suppose ,but At that time, the main link failure was confirmed.
[0131] Optionally, the above-mentioned back-cut detection is performed based on the power parameter baseline value and the target power parameter. When the back-cut detection result is the main link recovery confirmation result, the main link recovery cumulative time in the key cumulative time is updated. Based on the main link recovery cumulative time and the preset back-cut confirmation time threshold, the main link back-cut confirmation information is used as the link status detection information. Specifically, this may include: based on the power parameter baseline value... and target power parameters Perform backup link failover detection, and in At that time, the main link recovery confirmation result is obtained;
[0132] Based on the confirmation of main link recovery, Calculate the main link recovery cumulative time in the critical cumulative time. and according to Update main link recovery cumulative time ;
[0133] Get the cutback confirmation time threshold Based on the back-cut confirmation time threshold Cumulative time for main link recovery The main link back-switch confirmation information is used as the link status detection information; among which, in hour, .exist At that time, the main link back-switch confirmation information will be used as the link status detection information.
[0134] In specific implementation, when in standby link operation state (i.e. In the state of ( ), periodic sampling can continue to be performed to obtain the power parameter reference value. and target power parameters Analyze whether the main link has recovered. Once it is confirmed that the main link has been restored, a confirmation result of the main link restoration is obtained. At this point, the cumulative time of the main link restoration is updated. Subsequently, When it is determined that a link switchback can be performed, the link status can be determined by... State transition state.
[0135] like This indicates that the main link has not been restored, and the cumulative time for main link restoration is [not specified]. Reset to 0.
[0136] For example, suppose ,but At that time, confirm the switch back.
[0137] Step 580: Under the preset target pulse voltage, based on the link status detection information, control the single optical module and the passive optical controller to perform low-power dynamic link reconstruction, obtain the dynamic link reconstruction result, and update the key cumulative time and record status change log.
[0138] In an optional embodiment, this embodiment, under a preset target pulse voltage, controls the single-optical module and the passive optical controller to perform low-power dynamic link reconstruction based on the link status detection information, obtains the dynamic link reconstruction result, and updates the key cumulative time and recorded status change log. Specifically, this may include: when the link status detection information is primary link fault confirmation information, controlling the GPON network system's link status to enter the primary link fault confirmation state; in the primary link fault confirmation state, adjusting the current output of the passive optical controller to the backup link through the single-optical module, and outputting the target pulse voltage to the passive optical controller, controlling the GPON network system's link status to switch to the backup link operating state, obtaining the first... The first link dynamic reconstruction result is used to reset the main link recovery cumulative time in the critical cumulative time and update the status change log. When the link status detection information is the main link back-off confirmation information, the link status of the GPON network system is controlled to enter the main link recovery confirmation state. In the main link recovery confirmation state, the current output of the passive optical controller is adjusted to the main link through the single optical module, and the target pulse voltage is output to the passive optical controller to control the link status of the GPON network system to change to the main link operation state, thus obtaining the second link dynamic reconstruction result. Based on the second link dynamic reconstruction result, the main link fault cumulative time in the critical cumulative time is reset and the status change log is updated.
[0139] When the link state detection information is the primary link fault confirmation information, the GPON network system is controlled to enter the primary link fault confirmation state. ;exist Below, passive optical control is executed through a single optical module. Adjusted to and output to passive optical control Pulse voltage controls the GPON network system to switch the link state to standby link operation state. The dynamic reconstruction result of the first link is obtained; based on the dynamic reconstruction result of the first link, the main link recovery cumulative time in the critical cumulative time is reset. And, update the status change log; when the link status detection information is the primary link switchback confirmation information, control the GPON network system's link status to enter the primary link recovery confirmation state. ;exist Below, passive optical control is executed through a single optical module. Adjusted to and output to passive optical control Pulse voltage controls the transition of the GPON network system's link state to the main link operating state. The dynamic reconstruction result of the second link is obtained; based on the dynamic reconstruction result of the second link, the main link failure cumulative time in the critical cumulative time is reset. And, update the status change log.
[0140] The following combines the aforementioned state machine and timer calculation formulas (i.e. Calculation formula and (Calculation formula), using specific numerical examples, demonstrates the algorithm execution process, showcasing the innovation of the solution in logic and threshold judgment:
[0141] First, the settings for each threshold are shown in Table 2 below:
[0142] Table 2
[0143]
[0144] Initial state: System state (Main link normal); Optical switch (Connect to main link); Timer , .
[0145] Numerical example sampling sequence:
[0146] Assuming that the ambient temperature, voltage, and current remain normal, this demonstration only shows the RSSI variation, with data referenced in Table 3 below:
[0147] Table 3
[0148]
[0149] Refer to Table 4 below to show the per second ( Calculation of each variable and state transitions:
[0150] Table 4
[0151]
[0152] The process of the above example will be explained in detail:
[0153] ① When K=3 or 4: The sliding window is filled. The readings were -26.0 and -27.33 respectively, neither of which were lower than -28dBm, maintaining the primary link.
[0154] ② When k=5: ,abnormal, However, it did not reach the 2-second fault threshold.
[0155] ③ When k=6: , When the threshold is reached, the state changes. (Switch to standby) Depend on Turn to .
[0156] ④ Standby operation ( ):from First, check the main link recovery conditions:
[0157] hour: The process can be reset or continue accumulating pending reverts. In this example, the timing starts directly from the first fulfillment.
[0158] hour: ;
[0159] hour: ; accumulated to The count has reached 3 seconds. To simplify the example, let's assume only from... If the condition is met three times consecutively before switching back, then... Cut back.
[0160] ⑤、 : First satisfying the backcut (as in the example) (Satisfies three times), execute SW→0, state → The timer is reset.
[0161] ⑥ Afterwards ( The main link has returned to normal and is maintained. .
[0162] Therefore, this application improves the intelligent fault detection and switchback mechanism. Specifically, during fault confirmation, a switchover is triggered when the moving average RSSI is less than -28dBm and the duration exceeds 2 seconds; during switchback determination, automatic switchback is performed when the moving average RSSI is greater than or equal to (-28dBm + 3dB) and the duration exceeds 3 seconds. By introducing a dual threshold + dual timer design, rapid jitter or short-term interference is effectively suppressed, ensuring the stability of primary / backup switching, realizing intelligent link self-healing and switchback, and improving link reliability and availability.
[0163] In summary, the improved link state reconstruction algorithm in this application firstly constructs a low-power redundancy protection mechanism: by using only a single optical module with a passive MEMS optical switch at the ONU end, rapid switching between the main and backup optical fibers is achieved; this avoids the near doubling of power consumption caused by the continuous power-on standby of the two sets of optical modules in the traditional "dual optical module standby" scheme, significantly extending the battery life of the solar + battery system. Furthermore, the switching instantaneous drive voltage is only a 5V pulse, and the normal power consumption is negligible, meeting the long-term power supply requirements of the solar + battery system; ensuring that the ONU can continue to operate under extreme conditions such as continuous rain and freezing temperatures, without premature power loss or restart due to excessive energy consumption. Secondly, by introducing multi-dimensional parameters for fusion judgment in the algorithm, link reliability and availability are improved. Specifically, when a physical fiber break occurs in the main link or optical power continuously attenuates, the algorithm can automatically complete the moving average judgment and switch to the backup optical fiber within two seconds, reducing communication interruption time. By fusing judgments based on multi-dimensional parameters such as RSSI, ambient temperature, power supply voltage, and current, erroneous switching caused by triggering a single RSSI threshold is avoided. By incorporating sliding window filtering and mutation rate analysis, the system can resist short-term power fluctuations caused by lightning induction, thermal expansion, or obstruction, ensuring the stability and accuracy of switching decisions. Finally, it enables intelligent self-healing and switching back when a primary link failure is detected or when a primary link revert is possible. Specifically, after switching to the backup link, the system continuously monitors the primary link's recovery status. When the primary link's RSSI is significantly higher than the fault threshold (with a 3dB margin) and remains stable for more than 3 seconds, it automatically switches back to the primary link. By setting the revert delay and margin threshold, it avoids "switch-back-switch" oscillations caused by link jitter or environmental disturbances, effectively improving the system's long-term stability. It supports secondary evaluation in case of revert failure or backup link failure, allowing continued switching among available links to ensure the network always maintains the fastest and optimal communication path. Furthermore, the algorithm enhances environmental adaptability and ease of maintenance. Specifically, it incorporates sensor data such as ambient temperature (e.g., 0–70℃), power supply voltage, and current into the switching judgment logic, proactively delaying the switching operation in cases of over-temperature or under-voltage conditions to avoid malfunctions caused by abnormal external environments. Integrating fault and switchover logging functions, it can obtain the status and environmental parameters of each link in real time through SCADA or network management platforms, reducing the frequency of on-site manual inspections and maintenance costs. It can operate stably in extreme mountainous areas, coastal typhoon zones, and desert sandstorm areas, providing technical support for unattended operation and maintenance of power systems.
[0164] Furthermore, the link state dynamic reconstruction method provided in this application embodiment also includes:
[0165] ① Compatibility and Scalability. Specifically, the algorithm uses embedded controllers such as STM32 and ESP32 as platforms and employs a general-purpose SPI / I^2C interface to read the RSSI of sensors and optical modules, allowing for rapid integration into existing ONU devices. Parameters (sliding window length, threshold, timer, etc.) can be flexibly adjusted via remote distribution or local tuning to meet deployment requirements under different fiber lengths, device models, and environmental conditions. Further optimization of the switching strategy can be achieved by introducing more environmental factors such as humidity and vibration, or by combining edge AI models, demonstrating significant upgrade potential.
[0166] ② Adjustable parameters and remote operation and maintenance linkage. Specifically, the sliding window length N, fault / switchback delay, RSSI threshold, and switchback margin can all be dynamically adjusted via the host computer or SCADA system; real-time recording of switching logs and environmental data can be achieved by reporting to the center via NB-IoT / RS-485, enabling remote monitoring, alarms, and online optimization.
[0167] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should know that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps may be performed in other orders or simultaneously.
[0168] like Figure 6 As shown in the figure, this application embodiment also provides a GPON link dynamic reconfiguration device 600 that integrates passive optical control and multi-parameter functions, including:
[0169] The monitoring module 610 is used to continuously monitor the GPON network system on the transmission line in real time. It periodically collects key variables according to a preset sampling interval and determines the cumulative sampling time. The key variables include at least power supply parameters, environmental parameters, receiving power and the key cumulative time of the timer. The GPON network system is equipped with a single optical module and a passive optical controller.
[0170] The smoothing operation module 620 is used to perform smoothing operation processing based on the received power for the sampling time in each cycle to obtain the smoothed target power parameter.
[0171] The link state initial determination module 630 is used to perform an initial determination of the link state based on the power supply parameters and the environmental parameters, and obtain initial determination information.
[0172] The link status detection module 640 is used to perform link status detection based on the target power parameters and the key cumulative time when the initial judgment information is a non-abnormal state, and obtain link status detection information.
[0173] The link dynamic reconfiguration module 650 is used to control the single-optical module and the passive optical controller to perform low-power link dynamic reconfiguration based on the link status detection information under a preset target pulse voltage, obtain the link dynamic reconfiguration result, and update the key cumulative time and record status change log.
[0174] Specifically, during dynamic link reconfiguration, the optical fiber physical switching between the primary link and the backup link is performed by controlling the single optical module and the passive optical controller.
[0175] Optional, smooth operation modules include:
[0176] The sliding window construction submodule is used to determine the size of the moving average window and construct the sliding window based on the sampling time in each period.
[0177] The target power parameter calculation submodule is used to calculate a smooth target power parameter by performing a sliding average through a sliding window, with the received power as input.
[0178] Optionally, the link state detection module includes:
[0179] The link status information analysis submodule is used to analyze the link status information of the GPON network system operating in the current period, based on the sampling time, when the initial judgment information is a non-abnormal state.
[0180] The link status detection submodule is used to obtain the corresponding preset power parameter baseline value and cumulative time update value for the link status information; based on the target power parameter and the key cumulative time, combined with the power parameter baseline value and the cumulative time update value, the link status is detected on the running link to obtain link status detection information.
[0181] Optional, the link state detection submodule includes:
[0182] The fault detection unit is used to obtain a preset fault threshold as a power parameter reference value when the link status information is the main link operation information; perform fault detection based on the power parameter reference value and the target power parameter; and update the main link fault cumulative time in the key cumulative time when the fault detection result is the main link fault confirmation result; and use the main link fault confirmation information as the link status detection information based on the main link fault cumulative time and the preset fault confirmation time threshold.
[0183] The back-cut detection unit is used to obtain the fault threshold and back-cut signal margin as power parameter reference values when the link status information is backup link operation information; perform back-cut detection based on the power parameter reference value and target power parameters; and update the main link recovery cumulative time in the key cumulative time when the back-cut detection result is the main link recovery confirmation result. Based on the main link recovery cumulative time and the preset back-cut confirmation time threshold, the main link back-cut confirmation information is used as link status detection information.
[0184] It should be noted that the GPON link dynamic reconfiguration device integrating passive optical control and multi-parameters provided in the embodiments of this application can execute the GPON link dynamic reconfiguration method integrating passive optical control and multi-parameters provided in any embodiment of this application, and has the corresponding functions and beneficial effects of the method.
[0185] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0186] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A GPON link dynamic reconfiguration method fusing passive optical control and multi-parameters, characterized in that, The application relates to a GPON network system for continuously monitoring a power transmission line in real time, periodically collecting key variables according to a preset sampling interval, and determining accumulated sampling time, wherein the key variables at least include power supply parameters, environmental parameters, received power and key accumulated time of a timer, and the GPON network system is provided with a single optical module and a passive optical control. In each cycle, the received power is subjected to smoothing operation processing according to the sampling time, to obtain a smoothed target power parameter, and initial link state determination is performed according to the power supply parameters and the environmental parameters, to obtain initial determination information. When the initial determination information is in a non-exceptional state, link state detection is performed according to the target power parameter in combination with the key accumulated time, to obtain link state detection information. Under a preset target pulse voltage, the single optical module and the passive optical control are controlled to perform low-power link dynamic reconstruction based on the link state detection information, to obtain a link dynamic reconstruction result, and the key accumulated time is updated and a state change log is recorded. During link dynamic reconstruction, the single optical module and the passive optical control are controlled to perform fiber physical switching of a main link and a backup link. In each cycle, the received power is subjected to smoothing operation processing according to the sampling time, to obtain a smoothed target power parameter, including:
2. The method of claim 1, wherein, In each cycle, the size of a sliding average window is determined based on the sampling time, and a sliding window is constructed. The received power is inputted, and sliding average calculation is performed through the sliding window, to obtain a smoothed target power parameter. The received power is inputted, and sliding average calculation is performed through the sliding window, to obtain a smoothed target power parameter, including:
3. The method of claim 2, wherein, In the sliding window, the target power parameter is calculated based on the received power in combination with historical received power. Initial link state determination is performed according to the power supply parameters and the environmental parameters, to obtain initial determination information, including:
4. The method of claim 1, wherein, A preset first parameter threshold is acquired, and the first parameter threshold includes a voltage threshold interval, a current threshold and a temperature threshold; Power supply monitoring is performed based on voltage parameters and current parameters in the power supply parameters in combination with the voltage threshold interval and the current threshold, to analyze power supply conditions, and environmental monitoring is performed based on the environmental parameters and the temperature threshold, to analyze environmental conditions, to obtain initial determination information; Wherein, whether power supply exceptions occur is determined based on the analyzed power supply conditions, whether environmental exceptions occur is determined based on the analyzed environmental conditions, an exceptional state is taken as the initial determination information when the power supply exceptions or the environmental exceptions occur, a non-exceptional state is taken as the initial determination information when the power supply exceptions do not occur and the environmental exceptions do not occur, and the current cycle is ended in the exceptional state. When the initial determination information is in a non-exceptional state, link state detection is performed according to the target power parameter in combination with the key accumulated time, to obtain link state detection information, including:
5. The method of claim 1, wherein, When the initial determination information is in a non-exceptional state, the link state information of a running link of the GPON network system in the current cycle is analyzed based on the sampling time. The preset power parameter reference value and the accumulated time update value are obtained according to the link state information; The link state detection information is obtained by performing link state detection on the running link based on the target power parameter and the key accumulated time, in combination with the power parameter reference value and the accumulated time update value.
6. The method of claim 5, wherein, The link state detection information is obtained by performing link state detection on the running link based on the target power parameter and the key accumulated time, in combination with the power parameter reference value and the accumulated time update value, including: When the link state information is the main link running information, the preset fault threshold value is obtained as the power parameter reference value; The fault detection is performed based on the power parameter reference value and the target power parameter, and when the fault detection result is the main link fault confirmation result, the main link fault accumulated time in the key accumulated time is updated, and based on the main link fault accumulated time and the preset fault confirmation time threshold value, the main link fault confirmation information is taken as the link state detection information; When the link state information is the standby link running information, the fault threshold value and the switch-back signal margin are obtained as the power parameter reference value; The switch-back detection is performed based on the power parameter reference value and the target power parameter, and when the switch-back detection result is the main link recovery confirmation result, the main link recovery accumulated time in the key accumulated time is updated, and based on the main link recovery accumulated time and the preset switch-back confirmation time threshold value, the main link switch-back confirmation information is taken as the link state detection information.
7. The method of claim 6, wherein, The fault detection is performed based on the power parameter reference value and the target power parameter, and when the fault detection result is the main link fault confirmation result, the main link fault accumulated time in the key accumulated time is updated, and based on the main link fault accumulated time and the preset fault confirmation time threshold value, the main link fault confirmation information is taken as the link state detection information, including: based on a power parameter reference value and a target power parameter performing fault detection, and obtaining a main link fault confirmation result when the main link fault confirmation result is In the main link fault confirmation result, according to , calculate The main link fault cumulative time in the key cumulative time at the moment , and update the main link fault cumulative time according to ; acquiring a fault confirmation time threshold , based on the fault confirmation time threshold and the main link fault cumulative time , taking the main link fault confirmation information as the link state detection information; wherein is the sampling interval.
8. The method of claim 6, wherein, The switch-back detection is performed based on the power parameter reference value and the target power parameter, and when the switch-back detection result is the main link recovery confirmation result, the main link recovery accumulated time in the key accumulated time is updated, and based on the main link recovery accumulated time and the preset switch-back confirmation time threshold value, the main link switch-back confirmation information is taken as the link state detection information, including: based on a power parameter reference value and a target power parameter performing backup link backhaul fault detection, and obtaining a primary link recovery confirmation result when the primary link is recovered Based on the confirmation of main link recovery, Calculate the main link recovery cumulative time in the critical cumulative time. and according to Update main link recovery cumulative time ; Acquiring a handover acknowledgement time threshold , based on the handover acknowledgement time threshold and a main link recovery accumulated time , the main link handover acknowledgement information as link state detection information.
9. The method of claim 6, wherein, Under the preset target pulse voltage, the link dynamic reconstruction result is obtained by controlling the single optical module and the passive optical control to perform low-power link dynamic reconstruction based on the link state detection information, and the key accumulated time is updated and the state change log is recorded, including: When the link state detection information is the main link fault confirmation information, the link state of the GPON network system is controlled to enter the main link fault confirmation state; In the main link fault confirmation state, the current output of the passive optical control is adjusted to the standby link through the single optical module, and the target pulse voltage is output to the passive optical control, so that the link state of the GPON network system is switched to the standby link running state, and the first link dynamic reconstruction result is obtained; Based on the first link dynamic reconstruction result, the main link recovery accumulated time in the key accumulated time is reset, and the state change log is updated. When the link state detection information is the main link back-to-confirmation information, the link state of the GPON network system is controlled to enter a main link recovery confirmation state; In the main link recovery confirmation state, the current output of the passive optical control is adjusted to the main link through the single optical module, and a target pulse voltage is output to the passive optical control, so that the link state of the GPON network system is controlled to switch to a main link running state, and a second link dynamic reconstruction result is obtained; Based on the second link dynamic reconstruction result, the main link fault accumulation time in the key accumulation time is reset, and the state change log is updated.
10. A GPON link dynamic reconfiguration device fusing passive optical control and multi-parameters, characterized in that, Comprise: A monitoring module is configured to continuously and real-timely monitor a GPON network system on a power transmission line, periodically collect key variables according to a preset sampling interval, and determine accumulated sampling time, wherein the key variables at least include power supply parameters, environmental parameters, received power, and key accumulation time of a timer, and the GPON network system is provided with a single optical module and a passive optical control; A smoothing operation module is configured to, for the sampling time in each period, perform smoothing operation processing according to the received power to obtain a smoothed target power parameter; A link state initial judgment module is configured to perform link state initial judgment according to the power supply parameters and the environmental parameters to obtain initial judgment information; A link state detection module is configured to, when the initial judgment information is a non-exceptional state, perform link state detection according to the target power parameter in combination with the key accumulation time to obtain link state detection information; A link dynamic reconstruction module is configured to, under a preset target pulse voltage, control the single optical module and the passive optical control to perform low-power link dynamic reconstruction based on the link state detection information, obtain a link dynamic reconstruction result, update the key accumulation time, and record a state change log; During the link dynamic reconstruction, the single optical module and the passive optical control are controlled to perform fiber physical switching of the main link and the standby link.
Citation Information
Patent Citations
Bidirectional short message communication method used in network-free scene
CN120282107A
Double-core optical fiber link loss self-repairing and redundancy switching method
CN120639169A