A backup port link state detection method and a PON protection system

CN115941033BActive Publication Date: 2026-03-31SHENZHEN C-DATA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

目前市场上大多数olt(Optical Line Terminal,光线路终端)设备对该功能都采用硬件上附加硬件电路或软件上利用光模块读取ddm(Digital DiagnosticMonitoring,数字诊断监控)信息的方式来检测备用端口链路,在这些方法中,外加硬件电路会产生电磁干扰误判和加大成本开销等问题,而软件中采用光模块读取ddm信息来进行备用端口链路状态检测则需要所使用的光模块支持ddm功能,对于那些不支持ddm功能的光模块,备用端口链路状态则无法确定

Benefits of technology

[0017]This invention utilizes a PON chip-supported method for detecting optical loss events, the effectiveness of allocated resources, and an efficient detection method that does not affect services. This reduces additional hardware circuitry overhead, is unaffected by electromagnetic interference, and does not rely on the optical module supporting DDM functionality, significantly improving detection efficiency and accuracy. Furthermore, it can effectively detect the status of backup links, ensuring safe and efficient failover between primary and backup ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941033B_ABST
    Figure CN115941033B_ABST
Patent Text Reader

Abstract

The application discloses a kind of backup port link state detection method and PON protection system, the method includes: whether the optical module of backup port is in place;If no, backup port link state is invalid;If yes, restore backup port to receive light, carry out chip light loss event detection;If receiving light loss event, it indicates that backup port link does not receive optical signal, i.e. The backup port link state is invalid;If receiving optical signal, it judges whether the received optical signal is valid optical signal;Received optical signal is converted into electrical signal by optical module and then transmitted to pon chip, and chip onu resource allocation is carried out;If chip onu resource allocation record is valid, it is valid optical signal, indicating that backup port link state is normal;Otherwise, it is invalid, i.e. Backup port link state is invalid.The application carries out backup port optical link detection through the efficient detection method of light loss event supported by pon chip, resource allocation validity and not affecting service, which greatly improves detection efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of network device redundant port link status detection technology, specifically relating to a backup port link status detection method and a PON protection system. Background Technology

[0002] PON (Passive Optical Network) is a fiber optic broadband access technology covering the last mile. It only requires a simple optical splitter at the optical branch point, thus offering advantages such as saving optical cable resources and sharing bandwidth resources. Saving backbone fiber is a significant advantage for PON systems, but it also introduces substantial risks. When the backbone fiber of a PON system fails, all Optical Network Units (ONUs) connected to the backbone fiber will simultaneously experience service interruption. In addition, the system may also experience failures in optical modules and ports connected to the backbone fiber. To ensure service stability in engineering applications and handle service interruptions caused by various communication failures, an effective and reliable protection and switching scheme is essential to address the problem in the event of backbone fiber failure. This scheme must be fast, restoring service in the shortest possible time without affecting users; this is the essence of PON protection technology.

[0003] Backup port link status detection plays a crucial role in PON protection systems. It serves as a criterion for evaluating the effectiveness of automatic switchover to a backup port or manual switchover by network maintenance personnel when the primary port fails. Currently, most OLT (Optical Line Terminal) devices on the market detect backup port links by adding hardware circuitry or by using optical modules to read DDM (Digital Diagnostic Monitoring) information. These methods suffer from several drawbacks: adding hardware circuitry can lead to electromagnetic interference, misjudgments, and increased costs. Software-based backup port link status detection requires optical modules to support DDM functionality; for modules that do not support DDM, the backup port link status cannot be determined. Summary of the Invention

[0004] To address the problems existing in the prior art, this invention provides a backup port link status detection method and a PON protection system. It utilizes the optical loss event supported by the PON chip, the effectiveness of resource allocation, and an efficient detection method that does not affect services to detect the backup port link status. This reduces the overhead of additional external hardware circuits and lowers the requirement for optical modules to support DDM functionality, thereby improving detection speed and accuracy.

[0005] The technical solution provided by this invention is as follows:

[0006] A method for detecting the status of a backup port link includes the following steps:

[0007] Determine if the optical module of the backup port is in place; if not, the backup port link status is invalid; if yes, restore the backup port to receive light and perform chip optical loss event detection.

[0008] If a light loss event is received, it means that the backup port link has not received an optical signal, i.e., the backup port link is invalid; if the backup port link receives an optical signal, it is determined whether the received optical signal is a valid optical signal.

[0009] The received optical signal is converted into an electrical signal by the optical module and then transmitted to the PON chip. The PON chip performs signal sensing and validity identification. If the signal is valid, the chip performs ONU resource allocation. If the chip's ONU resource allocation record is valid, the received optical signal is a valid optical signal, indicating that the backup port link status is normal. If the chip has no relevant ONU resource allocation record, the received optical signal is invalid, that is, the backup port link status is invalid.

[0010] Furthermore, the presence information of the optical module on the backup port is read through the IIC protocol to determine whether the optical module on the backup port is in place.

[0011] Furthermore, chip optical loss event detection is performed by checking whether a light loss event reported by the chip is received through software.

[0012] A PON protection system that uses the aforementioned backup port link status detection method to detect the backup port link status;

[0013] Determine if the primary port is faulty; if the primary port is faulty and the backup port link is normal, perform a primary / backup port switchover, switching the service to the backup port for carrying.

[0014] Furthermore, the main port is checked for faults by reading the chip's ONU registration information; if the chip's ONU registration information is invalid, the main port is faulty.

[0015] Furthermore, if the backup port is manually configured to shutdown, then no primary / backup port switchover will be performed.

[0016] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0017] This invention utilizes a PON chip-supported method for detecting optical loss events, the effectiveness of allocated resources, and an efficient detection method that does not affect services. This reduces additional hardware circuitry overhead, is unaffected by electromagnetic interference, and does not rely on the optical module supporting DDM functionality, significantly improving detection efficiency and accuracy. Furthermore, it can effectively detect the status of backup links, ensuring safe and efficient failover between primary and backup ports. Attached Figure Description

[0018] Figure 1 This is a flowchart of the backup port link status detection method of the present invention;

[0019] Figure 2 This is a flowchart illustrating the automatic failover process of the primary and backup ports according to the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages 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 for explaining the invention and are not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of the invention described below can be combined with each other as long as they do not conflict with each other.

[0021] This invention utilizes the optical loss event detection, resource allocation effectiveness detection, and efficient detection method supported by the PON chip that does not affect services to detect the status of the backup port link. The primary port switchover to the backup port consists of two parts: 1. First, the backup port link status is detected to determine if the backup port link is normal and meets the conditions for primary-backup switchover; 2. When the primary port fails, if the detected backup port link status is normal, primary-backup switchover can be automatically performed, and services are switched to the backup port to ensure uninterrupted service and unaffected user network usage. The main process is as follows: Figure 1 and Figure 2 As shown, the specific process is described below:

[0022] I. Backup Port Link Status Detection

[0023] 1. Determine if an optical module is connected to the backup port. If no optical module is connected, it means the backup port is not connected to an optical fiber, so there is no need to perform backup port link status detection; the backup port link can be directly determined as invalid. The method for determining whether an optical module is present is hardware-related and depends on the hardware design. Generally, it is determined by reading the optical module's presence information through the IIC protocol.

[0024] 2. If the optical module is detected to be in place, initiate backup port link status detection:

[0025] (1) First, set the optical signal detection flag variable with an initial value of 0, which means that no valid optical signal was detected.

[0026] (2) Next, restore the backup port optical link and perform chip optical loss event detection. The operation of restoring port optical reception is performed by configuring the PON chip. Different chips provide different SDK API interfaces. Here, we take the CS8022 EPON chip as an example. The SDK API called is OLT_PSG_PON_Restore(CS_dev_id_t dev_id, CS_port_id_t port), where the input parameter dev_id is the ID of the chip to be operated, and port is the port to be operated. Then wait for 3 seconds, and the software checks whether it has received an optical loss event reported by the chip (the optical loss event in GPON is LOS, and the optical loss event in EPON is Fibercut). If an optical loss event is received, it means that the link has not received an optical signal, and it can be determined that the backup port link status is invalid. If an optical signal is received, it cannot be determined that the backup port link status is normal. It is necessary to further confirm whether the received optical signal is a valid optical signal that the system can recognize. This is determined by reading the ONU registration information of the PON chip.

[0027] (3) The received optical signal is converted into an electrical signal by the optical module and then transmitted to the PON chip. The PON chip performs signal sensing and validity identification. If the signal is valid, the chip's internal message processing logic is executed to extract valid fields from the message. In EPON, this includes LLID information, and in GPON, it includes ONU TCont, Gemport, and other information. The chip's ONU resources are allocated, and this information is recorded in the chip's database. By reading these databases, it can be determined whether the received optical signal is valid. If the chip's ONU resource allocation record is valid, then a valid optical signal from the corresponding system has been received. If the chip does not have a relevant ONU resource allocation record, then the received optical signal is invalid.

[0028] (4) Through the above process, it can be known whether the backup port has received a valid optical signal. If so, the optical signal detection flag variable in step (1) is set to 1, indicating that a valid optical signal has been detected, which means that the backup port link status is normal at this time, and vice versa.

[0029] 2. Automatic failover to backup port in case of primary port failure.

[0030] 1. First, confirm the primary port failure to prevent accidental failover. The method is to read the chip ONU registration information to confirm whether the primary port has really failed. If the chip ONU registration information is invalid and the resources automatically allocated by the relevant chip have been reclaimed, then it can be determined that the primary port has failed.

[0031] 2. If the backup port is manually configured as shutdown, the primary / backup port switchover will not be performed automatically because the priority of manual configuration is higher than that of automatic switchover.

[0032] 3. If the backup port link status detected by "backup port link status detection" is normal, the primary and backup ports will be automatically switched over, and the service will be switched to the backup port to carry the service, ensuring that the service will not be interrupted and the user's network can be used normally.

[0033] A PON protection system is provided, which uses the above-mentioned backup port link status detection method to detect the backup port link status and determine whether the primary port is faulty; if the primary port is faulty and the backup port link status is normal, the primary and backup ports are switched over, and the service is switched to the backup port for carrying.

[0034] This invention utilizes a highly efficient detection method supported by the PON chip, focusing on optical loss events, resource allocation effectiveness, and operational efficiency without impacting services, to detect the status of backup port links. This reduces the overhead of additional external hardware circuitry and lowers the requirement for optical modules to support DDM functionality, thereby improving detection speed and accuracy. The method and chip communication link of this invention are identical, using high-speed protocols such as PCIe, resulting in a significant performance improvement compared to other methods that interact via the IIC protocol.

[0035] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Any modifications, equivalent substitutions, or direct or indirect applications in other related fields made within the spirit and principles of the present invention are within the scope of protection of the present invention.

[0036] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A method for detecting the status of a backup port link, characterized in that, The method comprises the following steps: judging whether the optical module of the backup port is in place; if not, the backup port link state is invalid; if yes, resuming the backup port light receiving and performing the chip light loss event detection; if the light loss event is received, it indicates that the backup port link does not receive the optical signal, i.e. the backup port link state is invalid; if the backup port link receives the optical signal, it is judged whether the received optical signal is a valid optical signal; the received optical signal is converted into an electrical signal by the optical module and then transmitted to the pon chip, and the pon chip internally performs signal sensing and validity identification; if the signal is valid, the chip onu resource allocation is performed; if the chip onu resource allocation record is valid, the received optical signal is a valid optical signal, indicating that the backup port link state is normal; if the chip has no related onu resource allocation record, the received optical signal is invalid, i.e. the backup port link state is invalid.

2. The method of detecting the status of a backup port link according to claim 1, wherein, The in-place information of the optical module of the backup port is read through the IIC protocol to judge whether the optical module of the backup port is in place.

3. The method of claim 1, wherein, The chip light loss event detection is performed by detecting whether the light loss event reported by the chip is received through software.

4. A PON protection system, characterized by, The system detects the backup port link state by using the backup port link state detection method in any one of claims 1 to 3. It is judged whether the main port is faulty; if the main port is faulty and the backup port link state is normal, the main and backup port switching is performed to switch the service to the backup port and the backup port is used to bear the service.

5. The PON protection system of claim 4, wherein, It is judged whether the main port is faulty by reading the chip onu registration information; if the chip onu registration information is invalid, the main port is faulty.

6. The PON protection system of claim 4, wherein, If the backup port is manually configured as shutdown, the main and backup port switching is not performed.

Citation Information

Patent Citations

  • Communication method and communication system

    CN102740176A