Communication line switching device, method, control module, electronic device, storage medium and product

CN122932784APending Publication Date: 2026-10-16CHINA MOBILE GRP GUANGDONG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611236405.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

[0004]基于此,本发明提供了一种通信线路切换装置、方法、控制模块、电子设备、存储介质及产品,以解决现有技术中无源光纤网络光纤链路中断导致用户网络长时间中断、通信业务无法持续进行的问题

Benefits of technology

[0011]与现有技术相比,本发明实施例公开的通信线路切换装置、方法、控制模块、电子设备、存储介质及产品,首先,通过控制模块的输入端获取光网络单元的状态指示信号;其中,所述状态指示信号用于反馈无源光纤网络中光分配网络的通断状态;随后,控制模块对接收的状态指示信号进行识别判断,根据判断结果输出对应的控制信号;其中,所述控制信号用于控制网络接口模块的连接切换以及备用通信模块的电源通断;然后,控制模块通过其输出端,将所述控制信号分别传输至网络接口模块的受控端和备用通信模块的电源端,控制网络接口模块切换第一接口(与光分配网络连接)和第二接口(与备用通信模块连接)两者与用户侧接口之间的导通状态,同时控制备用通信模块的启停,实现主用无源光纤网络链路与备用通信链路的对应切换,缩短了网络恢复时间,保障通信业务持续开展,提升用户使用体验,满足高可靠性通信场景的使用需求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122932784A_ABST
    Figure CN122932784A_ABST
Patent Text Reader

Abstract

The application discloses a communication line switching device and method, a control module, electronic equipment, a storage medium and a product. A state indication signal of an optical network unit is acquired through an input end of the control module to reflect the on-off state of an optical distribution network link. After signal recognition and judgment, the control module outputs corresponding control signals which are transmitted to a controlled end of a network interface module and a power supply end of a backup communication module respectively, controls the network interface to switch between a first interface and a second interface, and controls the backup communication module to start and stop, thereby realizing automatic switching of a main passive optical network link and a backup communication link. The application can quickly activate a backup route when the link is interrupted, does not need manual intervention, significantly shortens the network recovery time, guarantees the continuous operation of communication services, improves the user experience, and meets the demand of high-reliability communication scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically, to a communication line switching device, method, control module, electronic device, storage medium, and product. Background Technology

[0002] In recent years, my country's economy and technology have developed rapidly, and significant progress has been made in broadband network construction. The country has built the world's largest and most technologically advanced basic network, achieving high levels of gigabit city coverage, 5G administrative village coverage, and mobile IoT terminal user penetration. With working from home and online education becoming commonplace, the importance of broadband networks is increasingly prominent, and users' demands for broadband network quality are constantly rising, bringing new challenges to broadband network operation and maintenance.

[0003] Passive Optical Networks (PONs) are the primary carriers of broadband services, consisting of Optical Line Terminals (OLTs), Optical Distribution Networks (ODNs), and Optical Network Units (ONUs). According to operator statistics, ODN fiber optic link interruptions are the leading cause of broadband outages, accounting for over 70%. Because ODNs are passive networks, fault locations are difficult to pinpoint and resolve quickly, resulting in prolonged network outages and disrupted communication services. Summary of the Invention

[0004] Based on this, the present invention provides a communication line switching device, method, control module, electronic device, storage medium and product to solve the problem in the prior art that the interruption of optical fiber links in passive optical fiber networks leads to long-term interruption of user networks and the inability to continue communication services.

[0005] To achieve the above objectives, embodiments of the present invention provide a communication line switching device, the device comprising a control module and a network interface module; The control module receives a status indication signal from the optical network unit through its input terminal and outputs a control signal according to the status indication signal. The output terminal of the control module is used to connect to the controlled terminal of the network interface module and the power supply terminal of the backup communication module, respectively, and is used to transmit the control signal to the network interface module and the backup communication module, respectively. The network interface module has a first interface for connecting to the optical network unit, a second interface for connecting to the backup communication module, and a user-side interface for connecting to the user terminal; wherein, the optical network unit is used to provide network services to the user terminal when the first interface is connected to the user-side interface, and the backup communication module is used to provide the network services to the user terminal when the second interface is connected to the user-side interface.

[0006] To achieve the above objectives, embodiments of the present invention provide a communication line switching method, comprising: When a fault indication signal is received from the optical network unit, a switching signal is sent to the network interface module and a start signal is sent to the backup communication module. The switching signal is used to instruct the network interface module to switch the user-side data connection from the passive optical fiber network to the backup communication module; the start signal is used to instruct the backup communication module to power on and operate.

[0007] To achieve the above objectives, embodiments of the present invention provide a control module for executing the communication line switching method as described in any of the above embodiments.

[0008] To achieve the above objectives, embodiments of the present invention also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the communication line switching method as described in any of the above embodiments.

[0009] To achieve the above objectives, embodiments of the present invention also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the communication line switching method as described in any of the above embodiments.

[0010] To achieve the above objectives, embodiments of the present invention also provide a computer program product, including a computer program / instructions, which, when executed by a processing unit, implement the communication line switching method as described in any of the above embodiments.

[0011] Compared with existing technologies, the communication line switching device, method, control module, electronic device, storage medium, and product disclosed in this invention first acquires a status indication signal of the optical network unit through the input terminal of the control module; wherein, the status indication signal is used to provide feedback on the on / off status of the optical distribution network in the passive optical fiber network; subsequently, the control module identifies and judges the received status indication signal, and outputs a corresponding control signal according to the judgment result; wherein, the control signal is used to control the connection switching of the network interface module and the power supply switching of the backup communication module; then, the control module transmits the control signal through its output terminal to the controlled terminal of the network interface module and the power supply terminal of the backup communication module respectively, controlling the network interface module to switch the conduction status between the first interface (connected to the optical distribution network) and the second interface (connected to the backup communication module) and the user-side interface, and simultaneously controlling the start and stop of the backup communication module, realizing the corresponding switching between the primary passive optical fiber network link and the backup communication link, shortening the network recovery time, ensuring the continuous operation of communication services, improving the user experience, and meeting the usage requirements of high-reliability communication scenarios. Attached Figure Description

[0012] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments 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.

[0013] Figure 1 This is a schematic diagram of a PON network configuration provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a signal flow direction provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0015] See Figure 1As shown, the Passive Optical Network (PON) is the main carrier of broadband services. It mainly consists of three parts: Optical Line Terminal (OLT), Optical Distribution Network (ODN), and Optical Network Unit (ONU). Among them, the important components of the Optical Distribution Network include the Passive Optical Splitter (POS). The OLT connects to the Public Switched Telephone Network (PSTN), the Internet, and the Cable Television (CATV) network. The ONU connects to user terminal equipment.

[0016] Because ODN networks are passive networks, fault points are difficult for maintenance personnel to quickly locate and handle. Currently, OLTs can monitor service transmission and status through network management systems, Broadband Network Gateways (BNGs), and uplink devices, but this only determines whether the links downstream of the OLT are interrupted; it cannot accurately locate fault points in the passive ODN network. When ODN lines are severely damaged due to construction or other reasons, and the original routes become unusable, it is necessary to re-plan the route and lay cables, resulting in a long fault repair cycle and prolonged network interruptions for users, making it impossible to use services normally. In addition, existing OLT and ONU connectivity testing usually requires additional investment in new equipment and software configuration. Even after configuration, it is still impossible to quickly and accurately locate the fault point when an ODN fiber breakage occurs, requiring manual on-site troubleshooting and repair, further extending the fault handling time and making it difficult to quickly restore network services to users. Specifically, the current PON network fiber optic link interruption-related faults mainly have the following problems: 1. Low efficiency in locating fault points of fiber optic links in PON networks: When a fiber optic link is interrupted in broadband services, maintenance personnel need to go to the site to conduct segment-by-segment troubleshooting, extending from the equipment room to the user end. They must carry testing instruments such as optical power meters, red light pens, and optical time domain reflectometers (OTDRs) to conduct on-site testing in order to accurately locate the fault location, resulting in extremely low efficiency in broadband network fault location and analysis.

[0017] 2. Long processing time for optical path interruption faults: When an optical path interruption fault occurs in the ODN network, maintenance personnel must be dispatched to the site for repair; if the optical cable or drop cable is severely damaged, the cable must be re-laid; for scenarios where there is no route for laying optical cables, new ducts must be designed and constructed before optical cable laying can be carried out. All of the above situations will lead to a significant extension of fault processing time, resulting in long-term interruption of broadband services for users and seriously affecting the user's network experience.

[0018] 3. High resource investment in fault analysis and handling: Currently, troubleshooting PON network faults usually requires segment-by-segment analysis and location, especially ODN network faults. It is necessary to arrange on-site personnel with optical power meters, OTDRs and other related testing instruments to go to the site to carry out testing work. This requires a lot of manpower, vehicles and testing instruments, which significantly increases network maintenance costs.

[0019] Therefore, it can be seen that when the optical fiber link of the passive optical fiber network is interrupted, it is highly likely to cause a long-term interruption of broadband for users, and related communication services cannot continue normally.

[0020] Based on this, embodiments of the present invention provide a communication line switching device, the communication line switching device including a control module and a network interface module; The control module receives a status indication signal from the optical network unit through its input terminal and outputs a control signal according to the status indication signal. The output terminal of the control module is used to connect to the controlled terminal of the network interface module and the power supply terminal of the backup communication module, respectively, and is used to transmit the control signal to the network interface module and the backup communication module, respectively. The network interface module has a first interface for connecting to the optical network unit, a second interface for connecting to the backup communication module, and a user-side interface for connecting to the user terminal; wherein, the optical network unit is used to provide network services to the user terminal when the first interface is connected to the user-side interface, and the backup communication module is used to provide the network services to the user terminal when the second interface is connected to the user-side interface.

[0021] Specifically, see Figure 2The signal flow diagram shown illustrates that the communication line switching device mainly adds two major modules: control module 1 and network interface module 2. An optical distribution network (ODN) connects the OLT and ONU, transmitting optical signals. The ONU and control module 1 (e.g., a microcontroller relay circuit) are connected by wires. The LAN port of the ONU terminal is connected to the A interface of network interface module 2 via a network cable. The network port of the backup communication module 3 (e.g., a 5G IoT module) is connected to the B interface of network interface module 2 via a network cable. Both the network port and the network cable support gigabit speeds. The user-side port of network interface module 2 is connected to user terminal 4. The optical signal indicator light on the ONU terminal integrated circuit board is connected to the signal input terminal of control module 1 via wires. Control module 1 outputs two switches: one switch is connected to the power supply of backup communication module 3, and the other is connected to the network port selection circuit of network interface module 2. Preferably, control module 1, network interface module 2, and backup communication module 3 are all low-power circuits, all powered by the ONU terminal circuit board power supply.

[0022] It is worth noting that the backup communication module is in a power-off or disabled state when the PON network is working normally. The device has low power consumption, low heat generation, small configuration requirements and simple configuration, which is especially suitable for home network services with poor ventilation and heat dissipation.

[0023] In a preferred embodiment, the status indication signal includes a fault indication signal, and the control signal includes a backup switching signal and a start signal; The network interface module is used to disconnect the connection between the first interface and the user-side interface and establish the connection between the second interface and the user-side interface after receiving the backup switching signal, so as to switch the user-side data connection from the passive optical fiber network to the backup communication module. The activation signal is used to indicate that the backup communication module is powered on and put into operation.

[0024] Specifically, this implementation method achieves automatic switching between the PON network and the 5G IoT backup route by real-time monitoring of the optical network unit (ONU) status. The specific working principle is as follows: 1. Normal optical path operation: When the PON network optical path is stable, the device defaults to connecting with the user client through the A interface of the network interface module to provide stable network services to the user via the PON network. At this time, the control module monitors the received optical status of the ONU terminal in real time to determine whether the ONU has a red light alarm. At the same time, the backup communication module is in a power-off and non-working state to reduce equipment power consumption.

[0025] 2. Optical Path Interruption Switching Status: When an ODN link is interrupted (especially in scenarios where the ODN line is severely damaged due to construction or other reasons, requiring redesign of the route for repair, excessive processing time can lead to prolonged network outages for users), the ONU terminal will exhibit a flashing red light. Upon receiving the corresponding pulse current at the control module's signal input, the control module's relay enters a standby state, and the control module simultaneously begins recording the link interruption duration. When the interruption duration reaches a 1-minute set threshold (this duration is set according to actual conditions), the relay's two output switches automatically activate, powering on the backup communication module and activating it. Simultaneously, the network interface module's interface selection switch is triggered, automatically switching the network port from interface A to interface B, enabling communication between the backup communication module's network port and the user client's network port. The user network automatically switches from the original PON network to the backup communication module, achieving rapid network recovery.

[0026] 3. Optical path recovery and reset: After maintenance personnel complete the ODN link repair and restart the ONU terminal, the device will automatically switch back to the initial working state, the network will switch back to the PON network, and all settings will be restored to default.

[0027] In summary, this system adopts a real-time monitoring mode, which can automatically switch to the backup network after the optical path interruption reaches the set conditions, quickly restore the user network, effectively shorten the network interruption time, and solve the problem of long repair cycles after ODN link interruption causing users to be without network for a long time.

[0028] Compared with the prior art, the apparatus disclosed in the embodiments of the present invention has the following advantages: 1. Reduce network outage time: With this device, when an optical path interruption occurs in the ODN network, the network can be quickly restored to the user before maintenance personnel arrive to troubleshoot and repair it, without the need for user operation or operator backend configuration. This can reduce network outage time by 98%, greatly improving the user experience.

[0029] 2. Low system power consumption and high safety factor: When the PON network is working normally, the backup communication module in this embodiment of the invention is in a power-off and non-working state, which effectively reduces the overall power consumption of the equipment. This simplified equipment structure, which uses low-power core components, not only reduces power consumption but also significantly improves the system safety factor.

[0030] In a preferred embodiment, the step of outputting a control signal according to the state indication signal includes: Upon receiving the fault indication signal, the duration of the fault indication signal is recorded. When the duration of the fault indication signal reaches a preset duration threshold, the backup switching signal is output to the network interface module, and the start signal is output to the backup communication module.

[0031] Specifically, the system sets a preset duration threshold for the continuous flashing of the ONU red light as the trigger condition for switching to the second route (i.e., the backup communication module), which can effectively avoid accidental switching caused by occasional factors such as users accidentally touching the cord. The specific design principle is as follows: To address the issue of ONU terminals experiencing temporary optical reception abnormalities and false red light illumination due to human contact or brief shaking on the drop cable of the PON network for home users, this implementation uses a microcontroller configured with a 1-minute (this duration can be set according to actual conditions, such as 30s, 90s, etc.) detection and observation period. Routing is only triggered if the ODN link interruption lasts for a full minute, preventing system misjudgments caused by brief anomalies. Furthermore, during optical cable or drop cable splicing repair, ONU terminal optical reception is prone to intermittent and fluctuating. This implementation does not perform backup communication module network shutdown operations for such transient instability, demonstrating strong anti-interference capabilities.

[0032] This implementation uses the light reception detection result of the ONU optical module as the system trigger signal source, which has high accuracy and can effectively reduce frequent module start-ups and shutdowns caused by short-term anomalies. By setting a delay judgment mechanism and combining it with fault-tolerant processing for link fluctuations, the overall system stability is improved, which can effectively avoid erroneous handovers and improve the reliability of line handovers.

[0033] In a preferred embodiment, the input terminal of the control module is connected to the optical signal indicator of the optical network unit via a wire to receive the status indication signal of the optical network unit.

[0034] Specifically, the control module is one of the core control components of this device. The optical signal indicator lights of the optical network unit are connected to the input terminal of the control module via wires. Taking a single-chip microcomputer relay circuit as an example, its main functions, power supply parameters, interface specifications, and characteristics are as follows: 1. Core monitoring and timing functions: This module supports the acquisition and monitoring of low voltage and low current signals. It can accurately acquire and monitor the red light electrical signal generated when the optical power of the ONU terminal is abnormal. It also has a timing function, which can work with the system to complete the statistics of the link interruption duration and provide a time judgment basis for the routing switching trigger condition.

[0035] 2. Power supply parameters: The module adopts 12V DC power supply, and the working current under normal operating conditions is 20mA. It has low power consumption and stable power supply, which is suitable for the overall low power consumption design requirements of the device.

[0036] 3. Input / Output Interfaces and Switch Characteristics: The module is equipped with one set of input signal terminals (i.e., input terminals) and two sets of output switches. Both sets of output switches are controlled by the same set of input signal terminals. When the preset circuit trigger conditions are met, both sets of output switches will close synchronously. Simultaneously, the module supports a switch locking function, which effectively prevents frequent operation of the microcontroller relays due to optical power fluctuations during emergency repairs of the ODN link, ensuring the stable operation of the backup route during repairs.

[0037] 4. Auxiliary functions: The module supports automatic restoration to the initial state after power failure and restart, eliminating the need for frequent manual parameter configuration, simplifying operation and maintenance, and improving the ease of use of the device.

[0038] 5. Interface specifications: The input interface corresponds to the 3 / 4 terminal, and the output interface is divided into two groups, corresponding to the 5 / 6 terminal and the 7 / 8 terminal respectively. The interface layout is clear and easy to connect and install.

[0039] The microcontroller-relay circuit includes a microcontroller, a transistor, and a two-phase relay. The microcontroller receives the status indication signal from the optical network unit (ODN). When this signal remains abnormal for a preset duration (e.g., 1 minute), the microcontroller determines that the ODN link is interrupted and outputs a high-level signal to the transistor, turning it on and driving the two-phase relay to engage. After the two-phase relay engages, its first output terminal outputs a backup switching signal to the network interface module, and its second output terminal outputs a start signal to the backup communication module, powering on the backup communication module.

[0040] It's worth noting that the control module is not limited to the aforementioned microcontroller-relay circuit. For example, the control module can also be a single microcontroller. This microcontroller receives the status indication signal from the optical network unit (ODN) and, upon determining that the ODN link is interrupted based on this signal, outputs a backup switching signal to the network interface module and a start signal to the backup communication module through two output ports. The specific structure of the control module can be configured according to actual needs, as long as it possesses the function of "receiving status indication signals → determining interruption → outputting two control signals."

[0041] In a preferred embodiment, the first interface of the network interface module is used to connect to the optical network unit, and the second interface of the network interface module is used to connect to the backup communication module; the network interface module is used to disconnect the first interface from the user-side interface of the network interface module and establish the connection between the second interface and the user-side interface when it receives the backup switching signal.

[0042] Specifically, the network interface module is used to switch the interface between the PON network and the backup communication module (such as a 5G IoT module), connecting the ONU terminal, the 5G IoT module, and the user equipment. Its interface specifications, functional characteristics, and deployment advantages are as follows: 1. Interface Configuration: The module has a total of 3 standard gigabit Ethernet ports and 1 power interface. The two uplink gigabit Ethernet ports are interface A and interface B. Interface A is used to connect to the LAN port of the ONU terminal, and interface B is used to connect to the network port of the 5G IoT module. The user side has 1 gigabit Ethernet port, which can be directly connected to user computers, downstream routers, and other internet-connected devices. The module adopts a single-channel conduction design, allowing only one of the two uplink Ethernet ports (A and B) to connect to the user-side network port, ensuring the uniqueness and stability of the network link during routing switching.

[0043] 2. Interface characteristics: All three gigabit Ethernet ports are equipped with metal shielding shells, providing excellent anti-interference performance and effectively preventing network fluctuations caused by external signal interference. They also support both manual and automatic switching modes. The electronic switch is connected to the output of the microcontroller relay circuit module, which can receive control signals to realize automatic interface switching and adapt to the overall automatic control requirements of the system.

[0044] 3. Power supply method: The module adopts a plug-in working mode, is compact in size and adopts a modular design, and can be directly powered through a USB cable, making wiring convenient and adaptable to various deployment scenarios.

[0045] 4. Deployment advantages: This module has a simple structure, requires no complicated on-site debugging, is easy to operate and deploy, and can be quickly installed and put into use, reducing operation and maintenance deployment costs.

[0046] Specifically, the network interface module is used for network switching between the PON network and the backup communication module. The network interface module has a first interface, a second interface, a user-side interface, and a controlled terminal, which are used to connect the optical network unit, the backup communication module, the user terminal, and the control module, respectively.

[0047] As a specific implementation method, the network interface module can be implemented using a relay group. Under normal circumstances, when the controlled end has no backup switching signal, the first interface is connected to the user-side interface, and the user accesses the Internet through the PON network. When the controlled end receives a backup switching signal from the control module, the relay group activates, connecting the second interface to the user-side interface, while simultaneously disconnecting the first interface from the user-side interface, and the user network automatically switches to the backup communication module.

[0048] As another specific implementation method, the network interface module can also use commercially available products such as the Elsail gigabit network port switcher, and the control module drives the switcher to realize network port switching.

[0049] It is worth noting that the specific structure of the network interface module can be set according to actual needs and is not limited to the aforementioned relay group or Elsail switch.

[0050] In one implementation, it further includes: When the status indication signal is a normal status indication signal, the control module outputs a control signal to instruct the network interface module to establish a connection between the first interface and the user-side interface, disconnect the connection between the second interface and the user-side interface, and instruct to disconnect the power supply of the backup communication module, so as to switch the data connection on the user side to a passive optical fiber network.

[0051] Understandably, when the optical path is normal, the control module prioritizes the use of the PON network by the network interface module (interface A connects to the user side), while simultaneously turning off the power to the backup communication module. This ensures normal network service while reducing device power consumption. The specific working principle is detailed in the above-described embodiment and will not be elaborated upon here.

[0052] In a preferred embodiment, the backup communication module is a 5G Internet of Things (IoT) module.

[0053] Specifically, this invention employs 5G IoT technology to provide a second routing backup for the PON network, effectively addressing the problems of difficult fault location, long processing cycles, and prolonged network outages in existing PON networks. This solution is compatible with various current PON network platforms, including XG(S)PON, EPON, GPON, 10G EPON, and 10G GPON, and is also applicable to next-generation 50G PON networks and various ONU terminals. It boasts broad compatibility and strong applicability, and can be widely applied in various scenarios such as home users and public internet access, significantly improving the overall availability and reliability of the network.

[0054] The 5G IoT module uses the current mainstream commercial 5G communication module, which can provide stable and high-speed wireless data transmission capabilities and ensure the quality of network services after the backup route is switched.

[0055] Compared with existing technologies, the communication line switching device provided in this embodiment of the invention connects a control module, a backup communication module, and a network interface module at the ONU side of the PON network end to monitor the ODN fiber optic link status in real time. When the ONU receives abnormal light and the terminal red light illuminates, the system enters a standby state. If the red light lasts for 1 minute, the control module drives the switch to activate, starts the backup communication module, and controls the network interface module to automatically switch the user-side network interface, allowing the backup communication module to replace the original PON main route, achieving rapid network recovery in fault conditions without manual intervention.

[0056] This invention innovatively integrates 5G IoT technology with PON terminal ONU monitoring and electronic switching technology. The device boasts strong real-time performance, high portability, and excellent flexibility. It can automatically detect and quickly switch to a 5G backup network when the PON optical path is interrupted, significantly improving the user's internet experience. The device provided in this embodiment is the industry's first technical solution to combine 5G IoT with PON dual-routing and electronic switching technology to achieve automatic and rapid backup. It outperforms traditional dual-routing solutions in terms of automation, power consumption control, heat dissipation and safety, deployment cost, and applicability, demonstrating significant advantages.

[0057] The beneficial effects of this invention are mainly reflected in the following aspects: 1. Significantly reduces network outage time: After an ODN optical path failure, the backup network can be automatically switched without the need for maintenance personnel to visit or for user or operator backend configuration. The network outage time can be reduced by about 98%, achieving rapid network recovery.

[0058] 2. Low system power consumption and high safety factor: When the PON network is working normally, the 5G IoT module remains powered off, significantly reducing the overall power consumption. The device has a simple structure, low power consumption, and is safer and more reliable in operation.

[0059] 3. Accurate detection, strong anti-interference, and good stability: The actual light receiving status of the ONU optical module is used as the triggering basis, resulting in high accuracy. By setting a 1-minute delay observation period, false switching caused by short-term anomalies such as human touch of the drop cable can be avoided. The optical signal fluctuations during optical cable splicing repair will not shut down the 5G network. The system has strong anti-interference capabilities and stable operation.

[0060] 4. High level of intelligence: The solution integrates automatic monitoring, intelligent judgment, and automatic switching, requiring no manual operation, fully aligning with the trend of network intelligence development, and has a high level of automation.

[0061] 5. Wide compatibility, easy deployment, and outstanding economic benefits: The solution is compatible with various network platforms and all types of ONU terminals, including existing XG(S)PON, EPON, GPON, 10GEPON, 10G GPON, and next-generation 50GPON. It can be widely used in various scenarios such as home and public internet access. The device only requires the addition of a microcontroller relay module, a network interface module, and a 5G IoT module. It does not require the configuration of high-end primary and backup routers and switches, has low requirements for the professional skills of maintenance personnel, is simple to install, and can be deployed in batches. At the same time, it significantly reduces the investment of manpower, vehicles, testing instruments, and other operation and maintenance resources, effectively reducing the overall network construction and maintenance costs and demonstrating significant economic benefits.

[0062] This invention provides a communication line switching method, including: When a fault indication signal is received from the optical network unit, a switching signal is sent to the network interface module and a start signal is sent to the backup communication module. The switching signal is used to instruct the network interface module to switch the user-side data connection from the passive optical fiber network to the backup communication module; the start signal is used to instruct the backup communication module to power on and operate.

[0063] In one embodiment, the step of sending a switching signal to the network interface module and a start signal to the backup communication module when a fault indication signal of the optical network unit is received includes: Upon receiving the fault indication signal, the duration of the fault indication signal is recorded. When the duration of the fault indication signal reaches a preset duration threshold, a backup switching signal is output to the network interface module, and a start signal is output to the backup communication module.

[0064] It is worth noting that the workflow of the communication line switching method provided in the above embodiments can be found in the working principle of the control module in the communication line switching device provided in any of the above embodiments, and will not be repeated here.

[0065] This invention also provides a control module for executing the communication line switching method as described in any of the above embodiments.

[0066] It is worth noting that the working principle of the control module provided in the above embodiments can be found in the workflow of the communication line switching method or the working principle of the control module in the communication line switching device embodiment provided in any of the above embodiments, and will not be repeated here.

[0067] See Figure 3 The present invention also provides an electronic device, including a processor 11, a memory 12, and a computer program stored in the memory 12 and configured to be executed by the processor 11. When the processor 11 executes the computer program, it implements the steps as described in the above-described communication line switching method embodiment; or, when the processor 11 executes the computer program, it implements the functions of each module in the above-described device embodiments.

[0068] For example, the computer program can be divided into one or more modules, which are stored in the memory 12 and executed by the processor 11 to complete the present invention. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device. For example, the computer program can be divided into multiple modules, and the specific working process of each module can be referred to the working process of the communication line switching device described in the above embodiments, which will not be repeated here.

[0069] The electronic device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The electronic device may include, but is not limited to, a processor 11 and a memory 12. Those skilled in the art will understand that the electronic device may also include input / output devices, network access devices, buses, etc.

[0070] The processor 11 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor 11 is the control center of the electronic device, connecting various parts of the electronic device through various interfaces and lines.

[0071] The memory 12 can be used to store the computer programs and / or modules. The processor 11 implements various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory 12 and calling the data stored in the memory 12. The memory 12 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as image playback function), etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory 12 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0072] If the modules integrated into the electronic device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by the processor 11, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0073] This invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the communication line switching method as described in any of the above embodiments.

[0074] Compared with existing technologies, the communication line switching device, method, control module, electronic device, storage medium, and product disclosed in this invention first acquires a status indication signal of the optical network unit through the input terminal of the control module; wherein, the status indication signal is used to provide feedback on the on / off status of the optical distribution network in the passive optical fiber network; subsequently, the control module identifies and judges the received status indication signal, and outputs a corresponding control signal according to the judgment result; wherein, the control signal is used to control the connection switching of the network interface module and the power supply switching of the backup communication module; then, the control module transmits the control signal through its output terminal to the controlled terminal of the network interface module and the power supply terminal of the backup communication module respectively, controlling the network interface module to switch the conduction status between the first interface (connected to the optical distribution network) and the second interface (connected to the backup communication module) and the user-side interface, and simultaneously controlling the start and stop of the backup communication module, realizing the corresponding switching between the primary passive optical fiber network link and the backup communication link, shortening the network recovery time, ensuring the continuous operation of communication services, improving the user experience, and meeting the usage requirements of high-reliability communication scenarios.

[0075] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A communication line switching device, characterized in that, The device includes a control module and a network interface module; The control module receives a status indication signal from the optical network unit through its input terminal and outputs a control signal according to the status indication signal. The output terminal of the control module is used to connect to the controlled terminal of the network interface module and the power supply terminal of the backup communication module, respectively, and is used to transmit the control signal to the network interface module and the backup communication module, respectively. The network interface module has a first interface for connecting to the optical network unit, a second interface for connecting to the backup communication module, and a user-side interface for connecting to the user terminal; wherein, the optical network unit is used to provide network services to the user terminal when the first interface is connected to the user-side interface, and the backup communication module is used to provide the network services to the user terminal when the second interface is connected to the user-side interface.

2. The communication line switching device as described in claim 1, characterized in that, The status indication signal includes a fault indication signal, and the control signal includes a backup switching signal and a start signal; The network interface module is used to disconnect the connection between the first interface and the user-side interface and establish the connection between the second interface and the user-side interface after receiving the backup switching signal. The activation signal is used to indicate that the backup communication module is powered on and put into operation.

3. The communication line switching device as described in claim 2, characterized in that, The step of outputting a control signal based on the status indication signal includes: Upon receiving the fault indication signal, the duration of the fault indication signal is recorded. When the duration of the fault indication signal reaches a preset duration threshold, the backup switching signal is output to the network interface module, and the start signal is output to the backup communication module.

4. The communication line switching device as described in claim 1, characterized in that, The input terminal of the control module is used to connect to the optical signal indicator of the optical network unit via a wire to receive the status indication signal of the optical network unit.

5. The communication line switching device as described in claim 1, characterized in that, Also includes: When the status indication signal is a normal status indication signal, the control module outputs a control signal to instruct the network interface module to establish a connection between the first interface and the user-side interface, disconnect the connection between the second interface and the user-side interface, and instruct the power supply of the backup communication module to be disconnected.

6. The communication line switching device as described in claim 1, characterized in that, The backup communication module is a 5G Internet of Things module.

7. A communication line switching method, characterized in that, include: When a fault indication signal is received from the optical network unit, a switching signal is sent to the network interface module and a start signal is sent to the backup communication module. The switching signal is used to instruct the network interface module to switch the user-side data connection from the passive optical fiber network to the backup communication module; the start signal is used to instruct the backup communication module to power on and operate.

8. The communication line switching method as described in claim 7, characterized in that, When a fault indication signal from an optical network unit is received, a switching signal is sent to the network interface module, and a start signal is sent to the backup communication module, including: Upon receiving the fault indication signal, the duration of the fault indication signal is recorded. When the duration of the fault indication signal reaches a preset duration threshold, a backup switching signal is output to the network interface module, and a start signal is output to the backup communication module.

9. A control module, characterized in that, Used to perform the communication line switching method as described in claim 7 or 8.

10. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the communication line switching method as described in claim 7 or 8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the communication line switching method as described in claim 7 or 8.

12. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the communication line switching method as described in claim 7 or 8.