ONU gateway indicator light control method and device of PON network, equipment and medium

By collecting and integrating environmental data and network data transmission status, dynamic flashing control commands are generated, solving the problem of a single and fixed flashing control method for ONU gateway indicator lights in PON networks, and realizing dynamic adaptation and flexible feedback of indicator light flashing status.

CN121728633APending Publication Date: 2026-03-24SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

The existing ONU gateway indicator light flashing control method in PON networks is simple and fixed, and cannot be linked and adapted to the surrounding environment data and network transmission status. This results in poor adaptability of the indicator light flashing status to the actual operating scenario and insufficient flexibility in status feedback.

Method used

The system collects environmental data and network data transmission status from the ONU gateway, performs data fusion processing through preset fusion rules, generates dynamic flashing control commands, and controls the indicator lights to perform flashing actions that match the flashing control commands, thus eliminating the need for fixed hardware control logic.

Benefits of technology

It enables dynamic adjustment of indicator light flashing status according to environmental and network conditions, enriches the reference basis for indicator light control, and improves the flexibility and adaptability of status feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121728633A_ABST
    Figure CN121728633A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer networks, in particular to an ONU (Optical Network Unit) gateway indicator light control method, device and equipment of a PON (Passive Optical Network) and a medium. The ONU gateway indicating lamp control method of the PON network can also be applied to a fiber to room (FTTR), an enterprise-level fiber to room (FTTR-B) and a broadband fusion terminal product, and the ONU gateway indicating lamp control method of the PON network can also be applied to the FTTR, the enterprise-level FTTR-B and the broadband fusion terminal product. Collecting environment data and a network data transmission state of an ONU gateway; based on a preset fusion rule, performing fusion processing on the environment data and the data transmission state to obtain fusion data; based on the fusion data, generating a flicker control instruction corresponding to an indicator lamp; and issuing the flicker control instruction to an indicating lamp corresponding to the ONU gateway, and controlling the indicating lamp to execute a flicker action matched with the flicker control instruction. The problem that in the prior art, an ONU indicator light flicker control mode is single and solidified is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer network technology, and in particular to a method, apparatus, device, and medium for controlling the indicator lights of an ONU gateway in a PON network. Background Technology

[0002] In existing technologies, the blinking control method of the ONU gateway indicator light in PON networks is simple and fixed. The blinking state of the indicator light is controlled solely by the network transmission status of the ONU gateway through fixed hardware logic. It can only provide simple feedback on single states such as network connectivity and data transmission, and cannot be linked and adapted to the surrounding environment data and network transmission status. The blinking parameters of the indicator light cannot be dynamically adjusted according to the actual scenario. This results in technical defects such as poor adaptability of the indicator light blinking state to the actual operating scenario and insufficient flexibility of status feedback, making it difficult to meet diverse usage needs. Summary of the Invention

[0003] This invention provides a method, apparatus, device, and medium for controlling the ONU gateway indicator light in a PON network, which solves the problem of the single and fixed control method for ONU indicator light flashing in the prior art.

[0004] On one hand, the ONU gateway indicator light control method for a PON network provided by the present invention includes: Collect environmental data and network data transmission status of the ONU gateway; Based on preset fusion rules, environmental data and data transmission status are fused to obtain fused data. Based on the fused data, generate flashing control commands for the indicator lights; The flashing control command is sent to the corresponding indicator light on the ONU gateway, which then controls the indicator light to perform a flashing action that matches the flashing control command.

[0005] Optionally, environmental data and network data transmission status of the ONU gateway are collected, including: Collect environmental data using sensors; Obtain the network data transmission status of the ONU gateway; Preprocess environmental data and network data transmission status; The preprocessed environmental data and network data transmission status are associated and marked.

[0006] Optionally, the ONU gateway indicator control method for a PON network also includes: Collect the status information corresponding to the flashing action of the indicator light; The status information of the flashing action is standardized and encoded, and the encoded status information is transmitted to an external configuration terminal.

[0007] Optionally, the ONU gateway indicator control method for a PON network also includes: Receive configuration commands sent from an external configuration terminal; The configuration instructions are parsed, and combined with the processed environmental data and data transmission status, to generate the flashing control instructions corresponding to the indicator lights.

[0008] Optionally, based on the fused data, a flashing control command corresponding to the indicator light is generated, specifically including: The fused data is matched with the preset indicator light control strategy to generate indicator light flashing control instructions that include on / off duration, flashing frequency, and luminous intensity.

[0009] Optionally, a flashing control command is sent to the corresponding indicator light on the ONU gateway, controlling the indicator light to perform a flashing action matching the flashing control command, specifically including: The flashing control command is transmitted to the indicator light driver circuit of the ONU gateway; The flashing control command is parsed and converted by the indicator light driver circuit, and the corresponding drive signal is output. The indicator light is turned on or off based on the drive signal, and the corresponding flashing action is executed.

[0010] Optionally, based on preset fusion rules, environmental data and data transmission status are fused to obtain fused data, specifically including: Feature extraction is performed on the associated labeled environmental data and network data transmission status to obtain the association feature values ​​of the two types of data; The associated feature values ​​are weighted and fused according to the preset fusion rules to obtain fused data.

[0011] Secondly, the ONU gateway indicator light control device for a PON network provided by the present invention includes: The data acquisition module is used to collect environmental data and the network data transmission status of the ONU gateway; The fusion module is used to fuse environmental data and data transmission status based on preset fusion rules to obtain fused data; The generation module is used to generate flashing control commands for the indicator lights based on the fused data; The control module is used to send flashing control commands to the corresponding indicator lights on the ONU gateway, and control the indicator lights to perform flashing actions that match the flashing control commands.

[0012] Thirdly, the computer device provided by the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the ONU gateway indicator control method for the PON network provided by the present invention.

[0013] Fourthly, the computer-readable storage medium provided by the present invention stores a computer program, which, when executed by a processor, implements the ONU gateway indicator control method for the PON network provided by the present invention.

[0014] This invention provides a method, device, equipment, and storage medium for controlling ONU gateway indicator lights in a PON network. It overcomes the limitations of existing technologies that only collect single network status data, simultaneously collecting both environmental data and ONU gateway network data transmission status data, thus enriching the reference basis for indicator light control. It abandons the fixed hardware control logic of existing technologies by adding a data fusion processing stage. Through preset fusion rules, environmental data and network status data are fused to obtain fused data that reflects the actual operating conditions of the scenario. Based on the fused data, adaptive flashing control commands are dynamically generated. The flashing action of the indicator light is determined by the fused data rather than fixed hardware logic, realizing the dynamic adjustment of the indicator light flashing state according to the environment and network conditions. This solves the problem of the single, fixed ONU indicator light flashing control method in existing technologies. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating the ONU gateway indicator control method for a PON network provided in this embodiment of the invention. Figure 2 This is a schematic diagram of the structure of the ONU gateway indicator light control device for a PON network provided in an embodiment of the present invention; Detailed Implementation To make the technical problems solved, the technical solutions, and the beneficial effects of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0017] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0018] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0019] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0020] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0021] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0022] Please refer to Figure 1 This is a flowchart illustrating a method for controlling the indicator light of an ONU gateway in a PON network, as disclosed in an embodiment of the present invention. Figure 1 As shown, the steps for controlling the ONU gateway indicator lights in this PON network can be as follows: S11, collect environmental data and network data transmission status of the ONU gateway.

[0023] Collecting environmental data and the network data transmission status of the ONU gateway refers to simultaneously acquiring two types of basic data from different dimensions during the operation of the ONU gateway in the PON network. One type is environmental data related to the physical space where the gateway is located, and the other is network communication operation status data of the gateway itself. The two types of data complement each other and form a correlation. Environmental data reflects the actual working scenario requirements of the indicator lights, while network data reflects the core operating status of the gateway. By synchronously collecting dual-dimensional data, the limitation of collecting only single network status data in existing technologies is broken, providing complete data support for subsequent fusion processing and dynamic generation of flashing instructions. This is a core prerequisite technology for solving the problem of single and fixed indicator light control methods.

[0024] The network data transmission status of the ONU gateway is the core operational status data of the ONU gateway itself during PON network communication. It is the core working status representation of the ONU gateway and the only indicator light control basis in the current technology. This type of data directly reflects the core operational status of the gateway, such as network connection, data transmission and reception, and link health. For example, the network link connectivity status: such as normal / disconnected / abnormal connection between the gateway and the PON central office equipment; network data transmission rate: such as uplink / downlink data transmission rate (high-speed transmission / low-speed transmission / zero transmission); network transmission health status: such as data packet loss rate and bit error rate (no packet loss / minor packet loss / severe packet loss); network service operation status: such as broadband service online / offline, voice service normal / abnormal; gateway network load status: such as the gateway's current data throughput and concurrent connection count (light load / high load).

[0025] Environmental data refers to the physical environment data related to the actual installation and deployment location of the ONU gateway, reflecting the actual working environment characteristics of the indicator lights. For example, ambient brightness / illuminance data: such as low brightness at night, high brightness during the day, dimly lit corridors, or strong indoor light; ambient temperature and humidity data: such as whether the temperature / humidity at the gateway installation location exceeds the standard (high temperature / high humidity will affect gateway operation and requires special indication from the indicator lights); trends in ambient light: such as the gradual change in ambient brightness from bright to dark, or from dark to bright; spatial characteristics of the environment: such as the luminous intensity adaptation requirements of the indicator lights when the gateway is installed in a closed weak current box / on an open wall.

[0026] S12, based on preset fusion rules, performs fusion processing on environmental data and data transmission status to obtain fused data.

[0027] This step refers to the process of associating, integrating features, and performing logical operations on the two independent types of data, namely the environmental data and the ONU gateway network data transmission status, according to the pre-set fusion rules. Through this fusion process, the originally independent environmental features and network operation features are organically combined to form fused data that can comprehensively represent the environmental and network conditions. This fused data is a comprehensive data body that combines environmental adaptability and network status authenticity.

[0028] The fusion rules are a flexible, software-level logical rule base, rather than immutable, fixed hardware parameters.

[0029] In one example, dynamic weighting can be set for two types of data based on the core functional requirements of the ONU gateway. For example, network data transmission status is a core operating indicator and has a higher weighting, while environmental data is an adaptability indicator and has a lower weighting. When the network data transmission status is abnormal, the weighting of the network data transmission status is increased, and when the environmental data changes drastically, the weighting of the environmental data is increased.

[0030] S13, based on the fused data, generates flashing control commands for the indicator lights.

[0031] In one embodiment, based on the fused data, a flashing control command corresponding to the indicator light is generated, specifically including: matching the fused data with a preset indicator light control strategy to generate an indicator light flashing control command that includes the on / off duration, flashing frequency, and luminous intensity.

[0032] In this embodiment, fused data is used as input. By querying a preset indicator light control strategy library, a precise mapping relationship between fused data and indicator light control strategies is established. Finally, standardized control commands containing three core dimensions—on / off duration, flashing frequency, and luminous intensity—are output. The preset indicator light control strategies are corresponding rules pre-defined based on different fused data from the ONU gateway. They are not the single logic fixed in hardware as in the prior art, but have flexible adaptability at the software level, realizing the precise conversion of fused data into flashing commands.

[0033] In one example, if the fused data is [low brightness environment + normal high-speed network transmission]: the fused data is matched with the preset control strategy, and the strategy entry corresponding to "low brightness environment - normal network" is matched, generating a flashing control command containing [short on / off duration (balanced adaptation), low flicker frequency (feedback of normal state), low luminous intensity (avoiding strong light glare)]. If the fused data is [high brightness environment + network disconnection / severe packet loss]: the fused data is matched with the preset control strategy, and the strategy entry corresponding to "high brightness environment - network failure" is matched, generating a flashing control command containing [extremely short on / off duration (increase warning frequency), high flicker frequency (enhance fault reminder), high luminous intensity (ensure strong light glare under strong light)]. The following are examples of flashing control instructions: If the fused data is [high temperature environment + low network speed transmission]: the fused data is matched with the preset control strategy, and the strategy entry corresponding to "abnormal environment - inefficient network" is matched, generating a flashing control instruction containing [long on / short off duration (highlighting reminder), medium to low flashing frequency (feedback of low speed status), medium luminous intensity (balancing warning and energy consumption)]. If the fused data is [normal brightness environment + slight network packet loss]: the fused data is matched with the preset control strategy, and the strategy entry corresponding to "normal environment - slight network anomaly" is matched, generating a flashing control instruction containing [balanced on / off duration, medium flashing frequency, medium luminous intensity], which both provides feedback on the anomaly and avoids excessive warning.

[0034] In other examples, such as the scenario of a low-voltage electrical box in a building corridor: the fused data is [dim environment (nighttime corridor) + normal network transmission] → matching the "low illumination - normal network" item in the preset strategy → generating instructions: [1 second on, 1 second off (on / off duration), 1 time / second (flicker frequency), low light intensity], adapting to dim environments to avoid disturbing neighbors, while clearly indicating that the network is normal; or in the scenario of a living room in a home: the fused data is [bright environment (daytime living room) + network disconnection] → matching the "high illumination - network failure" item in the preset strategy → Generate instructions: [On for 0.2 seconds, off for 0.2 seconds (on / off duration), 5 times / second (flickering frequency), high luminous intensity], to ensure users can quickly detect faults in bright environments; or in a data center scenario: merge data as [high temperature environment (dense data center equipment) + high-speed network transmission but slight packet loss] → match the "high temperature - slight network anomaly" item in the preset strategy → generate instructions: [On for 0.5 seconds, off for 0.3 seconds (on / off duration), 2 times / second (flickering frequency), medium luminous intensity], to balance fault feedback with data center environment adaptation.

[0035] S14, send the flashing control command to the corresponding indicator light of the ONU gateway, and control the indicator light to perform a flashing action that matches the flashing control command.

[0036] This step involves sending the flashing control command to the corresponding indicator light on the ONU gateway, controlling the indicator light to perform a flashing action matching the command. This means that the aforementioned generated control command is transmitted to the indicator light's driver unit via the communication link within the ONU gateway. The driver unit parses the command and converts it into hardware-executable drive signals, ultimately driving the indicator light's light-emitting element to perform on / off and flashing actions according to the parameters set in the command. The indicator light's actions are no longer fixed hardware logic but dynamically determined by the command parameters. The same indicator light can perform various differentiated actions such as low brightness and slow flashing, high brightness and fast flashing, and continuous on / short off based on different commands, completely overcoming the limitation of single-action behavior in existing technologies.

[0037] In one example, if the issued flashing control command is [low luminous intensity + slow flashing frequency + on / off duration of 1 second on and 1 second off]: after the control command is parsed by the indicator light driver unit, a low-power drive signal is output, driving the indicator light to perform a slow flashing action in a cycle of [on for 1 second, off for 1 second]. The luminous intensity is soft and suitable for low-brightness environments and normal network transmission conditions. If the issued flashing control command is [high luminous intensity + fast flashing frequency + on / off duration of 0.2 seconds on and 0.2 seconds off]: after the driver unit parsed the command, a high-power drive signal is output, driving the indicator light to perform a fast flashing action in a high-frequency cycle of [on for 0.2 seconds, off for 0.2 seconds]. The luminous intensity is conspicuous and suitable for high-brightness environments and network disconnection fault conditions.

[0038] The aforementioned ONU gateway indicator light control method for PON networks overcomes the limitations of existing technologies that only collect single network status data. It simultaneously collects environmental data and ONU gateway network data transmission status data, enriching the reference basis for indicator light control. It abandons the hardware-fixed control logic of existing technologies by adding a data fusion processing stage. Through preset fusion rules, it fuses environmental data and network status data to obtain fused data that reflects the actual operating conditions of the scenario. Based on the fused data, it dynamically generates adaptive flashing control commands. The flashing action of the indicator light is determined by the fused data rather than fixed hardware logic, realizing the dynamic adjustment of the indicator light flashing state according to the environment and network conditions. This solves the problem of the single, fixed ONU indicator light flashing control method in existing technologies.

[0039] Optionally, in one embodiment, collecting environmental data and the network data transmission status of the ONU gateway includes: collecting environmental data through sensors; obtaining the network data transmission status of the ONU gateway; preprocessing the environmental data and the network data transmission status; and associating and marking the preprocessed environmental data and the network data transmission status.

[0040] This embodiment refers to obtaining basic data with two dimensions of accuracy, effectiveness, and relevance through a complete process of "data acquisition → preprocessing → association tagging". Among them, sensor acquisition ensures the real-time and authenticity of environmental data, gateway interface acquisition ensures the accuracy of network data, preprocessing removes data noise and unifies data format, and association tagging establishes the time / scene correspondence between the two types of data.

[0041] Environmental data collection via sensors refers to deploying corresponding sensors at the installation location of the ONU gateway to collect real-time characteristic data of the physical environment in which the gateway is located. Matching the sensor type with the data type ensures the authenticity and scenario adaptability of the data, representing a key data collection method missing in existing technologies. For example, installing a light sensor on the gateway casing collects ambient brightness data (such as low-light data in a hallway at night, high-light data in a living room during the day, and stable-light data in a server room); installing a temperature and humidity sensor inside the gateway collects ambient temperature and humidity data (such as high-temperature data in a sealed low-voltage box, normal-temperature data in an outdoor low-voltage cabinet, and high-humidity data during the rainy season); and installing an infrared sensor to assist in collecting data on ambient light change trends (such as the gradual change from bright to dark at dusk).

[0042] Obtaining the network data transmission status of the ONU gateway refers to reading the gateway's operational status data in the PON network through the ONU gateway's own communication interface, chip registers, or network management module. This requires no additional hardware and directly obtains the gateway's native core network parameters, ensuring data accuracy and real-time performance. For example, the gateway's PON port communication module can be used to obtain the network link connectivity status (e.g., normal / disconnected / link jitter with OLT devices); the gateway's traffic statistics module can be used to obtain the data transmission rate (e.g., high-speed transmission data of 100Mbps uplink / 500Mbps downlink, low-speed transmission data of 10Mbps uplink); the gateway's error control module can be used to obtain the network transmission health status (e.g., normal data with 0% packet loss, abnormal data with 15% packet loss, slightly abnormal data with 5% bit error rate); and the gateway's CPU load monitoring module can be used to obtain the network load status (e.g., light load data of 20% load, high load data of 80% load).

[0043] Preprocessing environmental and network data transmission status refers to the "cleaning, noise reduction, and format standardization" of the collected raw environmental and network data. This process removes invalid data, corrects outliers, and standardizes data formats to ensure that the two types of data are compatible and to avoid interference factors in the raw data from affecting subsequent processing results. It is a core step in ensuring data quality. Preprocessing methods generally include: Data cleaning: removing abnormal jump data caused by momentary obstruction of light sensors (such as invalid data where "brightness suddenly drops to 0" due to someone passing by and obstructing the sensor), and removing abnormal data from network data where "transmission rate suddenly drops to 0" due to momentary power outages; Data denoising: smoothing fluctuating data collected by temperature and humidity sensors (such as correcting temperature data fluctuating by ±0.5℃ within 10 seconds to the average value to avoid high-frequency fluctuation interference), and filtering data with jitter in network transmission rate (such as correcting abnormal jitter data that jumps from 500Mbps to 10Mbps and back to 500Mbps within 1 second to a stable value); Format standardization: converting the "illuminance unit lux" of environmental data and the "transmission rate unit Mbps" of network data into a preset digital format (such as mapping illuminance data from 0-1000lux to a digital level of 0-10, and mapping transmission rate from 0-1000Mbps to a digital level of 0-20) to ensure that the two types of data have the same format, which is convenient for subsequent fusion calculations.

[0044] Associating and marking the preprocessed environmental data and network data transmission status means adding a unified association identifier (such as timestamp, scene number) to the preprocessed environmental data and network data, establishing a correspondence between "environmental data and network data under the same time / same scene", and ensuring that "dual-dimensional data under the same working condition" can be called for calculation during subsequent fusion processing, rather than unrelated independent data. This is a prerequisite for realizing "dual data fusion". For example, timestamp association: the "low ambient brightness (digitalization level 2)" data collected at "2024-XX-XX 19:30:00" is given the same timestamp as the "network transmission rate 500Mbps (digitalization level 18)" data collected at the same timestamp, and is marked as "Operating Condition-2024XXXX193000"; scene number association: the "ambient temperature 32℃ (digitalization level 8)" data collected in the "corridor weak current box" scene is given the same scene number "scene-001" as the "network packet loss rate 10% (digitalization level 6)" data in the same scene; operating condition association: the combined data of "low brightness at night + normal network transmission" is marked with the association tag "Operating Condition-Normal-Low Brightness", and the combined data of "high temperature + abnormal network packet loss" is marked with the association tag "Operating Condition-Abnormal-High Temperature", which facilitates rapid matching of subsequent fusion rules.

[0045] Optionally, in one embodiment, the ONU gateway indicator control method of the PON network further includes: collecting the status information corresponding to the flashing action performed by the indicator; performing standardized encoding processing on the status information of the flashing action; and transmitting the encoded status information to an external configuration terminal.

[0046] This embodiment refers to a closed-loop optimization process that adds indicator light action status feedback and code upload after the indicator light completes the adapted flashing action. This embodiment first collects the actual flashing action performed by the indicator light in real time, then converts the physical action into a transmittable digital signal through standardized coding, and finally uploads it to an external configuration terminal to realize remote monitoring, data retention and reverse configuration optimization of the actual working status of the indicator light.

[0047] The external configuration terminal can receive the indicator light's status in real time, allowing maintenance personnel / users to remotely know the indicator light's flashing mode and working status, thus solving the problem of the indicator light's status being invisible and untraceable in existing technologies.

[0048] The status information corresponding to the flashing action of the indicator light is collected in real time through the indicator light status detection module / drive circuit feedback interface built into the ONU gateway. The status data related to the actual flashing action completed by the indicator light is collected in real time. Instead of the pre-issued control commands, the actual physical execution result of the indicator light is collected, which can accurately reflect the actual working status of the indicator light and avoid the deviation problem of inconsistency between command issuance and actual execution.

[0049] Standardizing the state information of flashing actions involves converting the collected flashing action state information of indicator lights (mostly scattered physical description data / analog signals) into a unified format digital coded signal according to preset standardized encoding rules. For example, the state of [low light intensity + slow flashing frequency + balanced on / off timing] is encoded into a standardized digital code stream (e.g., mapped to 001-001-001 according to preset rules); the state of [high light intensity + fast flashing frequency + short on / off timing] is encoded as 003-003-002.

[0050] Transmitting the encoded status information to the external configuration terminal refers to uploading the standardized encoded indicator light status digital signals to the external configuration terminal, which has established a communication connection with the gateway, via the ONU gateway's own communication links (such as PON uplink, LAN communication link, and wireless communication link). This terminal is the gateway's management device, requiring no additional hardware, and reuses the gateway's existing communication channels during transmission. The external configuration terminal is the user's local management terminal / smart terminal: the encoded status information is transmitted to the user's mobile APP / computer management software via the LAN. The user can view the flashing status of their ONU gateway indicator lights; for example, if the indicator light is encoded as low brightness and slow flashing, the user can know that the network is normal and the ambient light is low, without needing to get close to the gateway to check.

[0051] Optionally, in one embodiment, the ONU gateway indicator control method of the PON network further includes: receiving a configuration command sent by an external configuration terminal; parsing the configuration command, and combining the processed environmental data and data transmission status to generate a flashing control command corresponding to the indicator light.

[0052] This embodiment relies on the bidirectional communication link between the ONU gateway and the external configuration terminal to receive manual / automatic configuration instructions issued by the terminal. After parsing, the configuration rules are integrated into the original two-dimensional data processing logic, and adaptive flashing control instructions are regenerated, giving the indicator light control logic the ability to be remotely adjustable, adapted on demand, and flexibly updated.

[0053] Receiving configuration commands from external configuration terminals refers to the ONU gateway receiving standardized configuration instructions from external configuration terminals with which it has established a stable communication connection via its own communication links (PON uplink, LAN, wireless communication link). These configuration instructions are not direct flashing commands, but rather control strategy rules, parameter adaptation requirements, and scenario-based configuration logic for the indicator lights. They supplement, adjust, or update the gateway's original preset integration rules / indicator light control strategies, rather than being simple on / off signals. For example, receiving configuration commands from the user side: the user sends a configuration command via a mobile app to ensure that the indicator light on their gateway remains constantly lit (not flashing slowly) when the network is normal, flashes rapidly as a reminder when there is a network failure, and automatically increases the indicator light brightness when the ambient light exceeds a threshold.

[0054] Optionally, in one embodiment, a flashing control command is sent to the corresponding indicator light of the ONU gateway, and the indicator light is controlled to perform a flashing action matching the flashing control command. Specifically, this includes: transmitting the flashing control command to the indicator light driving circuit of the ONU gateway; parsing and converting the flashing control command through the indicator light driving circuit, and outputting a corresponding driving signal; and controlling the light-emitting element of the indicator light to be turned on or off based on the driving signal, thereby performing the corresponding flashing action.

[0055] This step involves converting the flashing control command into an electrical signal and then a physical action through the gateway's built-in indicator light driver circuit. This is a pure hardware-based execution process, which differs from the single, fixed driver logic in existing technologies. The driver link in this embodiment can parse multi-dimensional dynamic commands, output adapted driver signals, and ultimately achieve differentiated flashing of the indicator light.

[0056] Optionally, in one embodiment, based on a preset fusion rule, environmental data and data transmission status are fused to obtain fused data. Specifically, this includes: extracting features from the associated tagged environmental data and network data transmission status to obtain associated feature values ​​of the two types of data; and performing a weighted fusion operation on the associated feature values ​​according to the preset fusion rule to obtain fused data.

[0057] This embodiment, based on the association and labeling of preprocessed environmental data and network data transmission status, uses a two-step data processing logic of feature extraction and weighted fusion to transform the originally scattered and multidimensional environmental data and network data transmission status into unified feature values ​​with quantifiable characteristics and computability. Then, the fusion is completed through weighted rules, and finally, fused data that can accurately represent the comprehensive characteristics of environmental and network operating conditions is obtained.

[0058] Environmental data (such as brightness, temperature and humidity) and network data (such as speed and packet loss rate) are two types of raw data with different dimensions and physical meanings. They have different units and numerical ranges, and cannot be directly added, subtracted or spliced ​​together. This embodiment uses feature extraction to transform the two types of raw data into dimensionless, quantifiable, and related feature values ​​within the same range.

[0059] The importance of environmental data and network data transmission status to indicator light flashing control differs. The core attribute of the ONU gateway is a network communication device, and network data transmission status is the core priority data, while environmental data is the auxiliary priority data for scenario adaptability. This embodiment uses weighted fusion calculation to assign differentiated weight proportions to the correlation feature values ​​of the two types of data, so that the fused data includes both the adaptability features of the environment and highlights the core operating features of the network. The fusion result is more in line with the actual application needs of the ONU gateway, avoiding the distortion of indicator light status feedback caused by indiscriminate fusion. It further improves dynamic adaptability from the data fusion level and avoids the single and fixed ONU indicator light flashing control method.

[0060] In one example, let's take the most critical ambient light and ambient temperature and humidity data of the ONU gateway as examples: Ambient brightness data: The preprocessed ambient illuminance (lux) is mapped to a brightness-related feature value of 0~10 according to the brightness characteristics of [dark → dark → normal → bright → bright]. The higher the brightness, the larger the feature value. For example, the low brightness of the corridor at night is mapped to a low feature value, the high brightness of the living room during the day is mapped to a high feature value, and the constant brightness of the computer room is mapped to a medium feature value.

[0061] Ambient temperature and humidity data: The pre-processed ambient temperature / humidity is mapped to a temperature and humidity correlation feature value of 0~8 according to the abnormal characteristics of [normal → slightly exceeding the standard → severely exceeding the standard]. The more abnormal the temperature and humidity, the larger the feature value. For example, a high temperature in a low-voltage box is mapped to a high feature value, and a normal temperature environment is mapped to a low feature value.

[0062] In another example, taking the most critical aspects of the ONU gateway—network transmission rate and network link health status—as examples: Network transmission rate: The preprocessed uplink / downlink rates are mapped to a rate-related feature value of 0 to 10 according to the transmission characteristics of [zero transmission → low speed → medium speed → high speed → full speed]. The higher the rate, the larger the feature value. For example, zero transmission due to network disconnection is mapped to a value of 0, high-speed stable transmission is mapped to a high feature value, and low-speed stuttering transmission is mapped to a low feature value.

[0063] Network link health status: The preprocessed packet loss rate / bit error rate is mapped to a health-related feature value of 0 to 8 according to the fault characteristics of [no abnormality → minor abnormality → moderate abnormality → severe abnormality]. The more severe the fault, the larger the feature value. For example, normal transmission with no packet loss is mapped to a value of 0, while severe packet loss and network disconnection are mapped to a high feature value.

[0064] After feature extraction, each set of associated environmental and network data corresponds to a pair of environmental and network associated feature values, such as [low brightness at night (feature value 2) + high-speed network transmission (feature value 9)], which are paired, computable feature values. According to preset fusion rules, the above-mentioned pairs of environmental and network associated feature values ​​are weighted and fused. The core of the preset fusion rules is the weighting allocation rule. Weighted fusion operation refers to assigning differentiated weight proportions to environmental and network feature values ​​respectively, and then completing the numerical fusion through preset operation logic (such as weighted summation and weighted multiplication), ultimately obtaining a single, comprehensive fused data.

[0065] Please refer to Figure 2 The ONU gateway indicator light control device for this PON network may include a data acquisition module 21, a fusion module 22, a generation module 23, and a control module 24. Detailed descriptions of each functional module are as follows: Acquisition module 21 is used to collect environmental data and network data transmission status of the ONU gateway; The fusion module 22 is used to perform fusion processing on environmental data and data transmission status based on preset fusion rules to obtain fused data; The generation module 23 is used to generate flashing control commands for the indicator lights based on the fused data; The control module 24 is used to send the flashing control command to the corresponding indicator light of the ONU gateway, and control the indicator light to perform a flashing action that matches the flashing control command.

[0066] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the ONU gateway indicator control method of the PON network described in the above embodiment.

[0067] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the ONU gateway indicator control method of the PON network described above.

[0068] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0069] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0070] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for controlling indicator lights on an ONU gateway in a PON network, characterized in that, include: Collect environmental data and network data transmission status of the ONU gateway; Based on preset fusion rules, the environmental data and data transmission status are fused to obtain fused data. Based on the fused data, a flashing control command corresponding to the indicator light is generated; The flashing control command is sent to the indicator light corresponding to the ONU gateway, controlling the indicator light to perform a flashing action that matches the flashing control command.

2. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 1, characterized in that, The data collection environment data and the network data transmission status of the ONU gateway include: Collect environmental data using sensors; Obtain the network data transmission status of the ONU gateway; The environmental data and the network data transmission status are preprocessed; The preprocessed environmental data and network data transmission status are associated and marked.

3. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 1, characterized in that, Also includes: Collect the status information corresponding to the flashing action performed by the indicator light; The status information of the flashing action is standardized and encoded, and the encoded status information is transmitted to an external configuration terminal.

4. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 1, characterized in that, Also includes: Receive configuration commands sent from an external configuration terminal; The configuration instructions are parsed, and combined with the processed environmental data and data transmission status, to generate flashing control instructions for the indicator lights.

5. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 1, characterized in that, The step of generating flashing control commands for the indicator lights based on the fused data specifically includes: The fused data is matched with a preset indicator light control strategy to generate an indicator light flashing control command that includes on / off duration, flashing frequency, and luminous intensity.

6. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 1, characterized in that, The step of sending the flashing control command to the indicator light corresponding to the ONU gateway, and controlling the indicator light to perform a flashing action matching the flashing control command, specifically includes: The flashing control command is transmitted to the indicator light driver circuit of the ONU gateway; The indicator light driving circuit parses and converts the flashing control command and outputs the corresponding driving signal. The driving signal controls the light-emitting element of the indicator light to turn on or off, and executes the corresponding flashing action.

7. The method for controlling the indicator light of the ONU gateway in a PON network according to claim 2, characterized in that, The process of fusing the environmental data and data transmission status based on preset fusion rules to obtain fused data specifically includes: Feature extraction is performed on the associated labeled environmental data and network data transmission status to obtain the association feature values ​​of the two types of data; The associated feature values ​​are weighted and fused according to the preset fusion rules to obtain fused data.

8. A control device for an ONU gateway indicator light in a PON network, characterized in that, include: The data acquisition module is used to collect environmental data and the network data transmission status of the ONU gateway; The fusion module is used to perform fusion processing on the environmental data and data transmission status based on preset fusion rules to obtain fused data; The generation module is used to generate flashing control commands for the indicator lights based on the fused data; The control module is used to send the flashing control command to the indicator light corresponding to the ONU gateway, and control the indicator light to perform a flashing action that matches the flashing control command.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the ONU gateway indicator control method for the PON network as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the ONU gateway indicator control method for the PON network as described in any one of claims 1 to 7.