WO2024255578A1 - 一种主干光纤保护方法、装置、设备及可读存储介质 - Google Patents

一种主干光纤保护方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2024255578A1
WO2024255578A1 PCT/CN2024/095499 CN2024095499W WO2024255578A1 WO 2024255578 A1 WO2024255578 A1 WO 2024255578A1 CN 2024095499 W CN2024095499 W CN 2024095499W WO 2024255578 A1 WO2024255578 A1 WO 2024255578A1
Authority
WO
WIPO (PCT)
Prior art keywords
pon
main
pon port
port
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2024/095499
Other languages
English (en)
French (fr)
Inventor
余辰东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2024255578A1 publication Critical patent/WO2024255578A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/038Arrangements for fault recovery using bypasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Definitions

  • the present application relates to the field of optical communications, and in particular to a trunk optical fiber protection method, device, equipment and readable storage medium.
  • PON Passive Optical Network
  • P2MP point-to-multipoint
  • EPON Error Optical Network
  • G-PON Gigabit-capable Passive Optical Network
  • passive optical network devices have the same system architecture, including central office equipment OLT (Optical Line Terminal), ODN (optical distribution network) and user-side equipment ONU (Optical Network Unit).
  • OLT completes the aggregation of multiple ONUs through the PON port, forming a point (OLT) to multipoint (ONU) topology.
  • trunk fiber protection In a passive optical network, if the trunk fiber connecting the PON port of the OLT and the primary optical splitter in the ODN is interrupted, all ONU services under the trunk fiber will be interrupted. Therefore, the trunk fiber is usually protected by active-standby switching. However, in some scenarios, trunk fiber protection has problems such as invalid switching and frequent switching, which consumes a lot of system resources and reduces system performance, becoming one of the technical problems that need to be solved in the existing technology.
  • the purpose of the embodiments of the present application is to provide a trunk optical fiber protection method, device, equipment and readable storage medium, which can solve the problem of ineffective switching and frequent switching of trunk optical fibers and improve system performance.
  • a trunk optical fiber protection method comprising: establishing PON port status information based on a passive optical network (PON) protection group, wherein the PON protection group includes at least two PON ports, and the at least two PON ports are connected to at least one optical network unit (ONU) corresponding to the PON protection group through respective trunk optical fibers, and the PON port status information includes at least a main PON port status and a backup PON port status, the main PON port is a currently working PON port among the at least two PON ports, and the backup PON port is a currently non-working PON port among the at least two PON ports; when confirming that an ONU is online in at least one ONU corresponding to the PON protection group, based on detection of uplink optical signals of the main and backup PON ports, detecting and updating the status of the main and backup PON ports; and when the status of the main PON port is abnormal, controlling the execution of the main and backup switching of the trunk optical fiber based on the status of the PON
  • a trunk optical fiber protection device comprising: an establishment module, used to establish PON port status information based on a PON protection group, wherein the PON protection group includes at least two PON ports, and the at least two PON ports are connected to at least one ONU corresponding to the PON protection group through respective trunk optical fibers, and the PON port status information at least includes a main PON port status and a backup PON port status, the main PON port is a currently working PON port among the at least two PON ports, and the backup PON port is a currently non-working PON port among the at least two PON ports; a detection and update module, used to detect and update the status of the main and backup PON ports based on the detection of uplink optical signals of the main and backup PON ports when confirming that there is an ONU online in at least one ONU corresponding to the PON protection group; and a switching control module, used to control the execution of the main and backup switching of the trunk optical fiber based on the status of the
  • an electronic device comprising a processor and a memory, wherein the memory stores A program or instruction that can be run on the processor, wherein the program or instruction is executed by the processor to implement the method as described in the first aspect.
  • a readable storage medium is provided.
  • the program or instruction in the readable storage medium is executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect.
  • FIG1 is a schematic diagram of an implementation environment of a trunk optical fiber protection method provided by an embodiment of the present application.
  • FIG2 is a schematic flow chart of a trunk optical fiber protection method provided by an embodiment of the present application.
  • FIG3 is a flow chart of a trunk optical fiber protection method based on enabling two primary and standby PON ports of an OLT according to an embodiment of the present application;
  • FIG4 is a schematic structural diagram of a trunk optical fiber protection device provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.
  • any communication system of a passive optical network adopting a P2MP topology structure in the access network is collectively referred to as an xPON system.
  • the adoption of a P2MP topology structure is a significant feature of the xPON system.
  • the xPON system may include a communication system that adopts a passive optical network or a networked structure similar to a P2MP topology structure.
  • a common xPON system networking structure is usually composed of EMS (network management server), OLT, ODN and several ONUs.
  • EMS network management server
  • OLT as a local end device, connects and aggregates multiple ONUs through ODN based on PON ports.
  • ONU realizes the access of user services, thereby realizing functions such as data services and configuration management.
  • the passive optical network multiple ONUs are accessed in units of PON ports, thereby realizing a P2MP topology structure, where "point” refers to the PON port of the central office device OLT, and “multipoint” refers to multiple ONUs connected to the PON port.
  • the number of ONUs connected to the PON port is 1 to 128.
  • the convergence of multiple ONU connections is generally realized by an optical splitter.
  • multi-level splitting is generally realized by cascading optical splitters.
  • the optical splitter directly connected to the PON port of the OLT is called a primary optical splitter, which is hereinafter referred to as a secondary optical splitter, a tertiary optical splitter, etc.
  • a primary optical splitter which is hereinafter referred to as a secondary optical splitter, a tertiary optical splitter, etc.
  • the optical link connecting the PON port of the OLT and the primary optical splitter in the ODN is called a trunk optical fiber/optical path, and other optical links are called branch optical fibers/optical paths.
  • the original first-level splitter can be changed from 1:N to 2:N, where 1 and 2 refer to the number of trunk fibers in the first-level splitter, that is, the trunk fiber becomes two, and the two fibers work in the master-slave mode.
  • the PON port connected to the trunk fiber is also set to two, and the two PON ports are mutually master-slave.
  • the currently working PON port of the two PON ports can be called the main PON port, and the currently non-working PON port can be called the backup PON port.
  • the trunk fiber connected to the main PON port can be called the main trunk fiber
  • the main trunk fiber connected to the backup PON port can be called the main trunk fiber
  • the trunk fiber can be called the backup trunk fiber.
  • the ONU is connected to the main PON port of the OLT through the main trunk fiber.
  • the main trunk fiber is abnormal, that is, when the OLT detects that the main trunk fiber has a PON LOS
  • the OLT controls the ONU service to switch to the backup trunk fiber
  • the ONU is connected to the backup PON port of the OLT through the backup trunk fiber.
  • the above protection mechanism is called trunk fiber protection, which can also be called PON trunk protection or PON TYPEB protection.
  • Trunk fiber protection is currently the main optical link protection method under the PON port, which is based on the PON LOS detection of the main and backup PON ports to protect the ONU service.
  • PON LOS usually means that when the PON port does not detect a valid upstream optical signal for 4 consecutive frames, it is considered that the PON port has generated a PON LOS.
  • the xPON system will initiate a trunk optical fiber master-slave switch based on the PON LOS.
  • the business scenarios that cause the central office equipment OLT to detect the PON LOS can be distinguished based on the ONU status under the PON port, including but not limited to the following business scenario examples:
  • PON cell power outage (or power outage): that is, all ONUs under the PON port are powered off (generally a power outage in a centralized area), then the corresponding PON port side will detect a PON LOS alarm, but it has nothing to do with the trunk fiber failure.
  • Scenario 2 The last ONU under the PON port is powered off: When the last ONU under the PON port is powered off (DGi), the PON port side will detect a PON LOS alarm.
  • the PON port is configured with only one ONU and it is powered off (DGi); or, the PON port is configured with multiple ONUs, but only one ONU is online and it is powered off (DGi). In these two cases, the PON LOS alarm will be detected on the corresponding PON port side.
  • Scenario 4 The last ONU under the PON port is offline: When the last ONU under the PON port is offline (LOSi), the PON port side will detect a PON LOS alarm.
  • Scenario 5 Only one ONU is configured on the PON port and it is offline (LOSi); or, multiple ONUs are configured on the PON port but only one ONU is online and is offline (LOSi). In these two cases, the PON LOS alarm will be detected on the corresponding PON port side.
  • Scenario 6 All ONUs have never been online: The system is initially configured with offline ONUs. In this case, the PON port side will detect a PON LOS alarm.
  • Scenario 7 The trunk optical fiber is broken.
  • the cause of PON LOS in scenarios 1 to 3 is ONU power failure, and the cause of PON LOS in scenarios 4 to 5 may be trunk fiber breakage or branch fiber breakage; in scenario 6, it is impossible to determine whether the cause of PON LOS is trunk fiber breakage.
  • the ONU status involved includes:
  • the OLT detects that a single ONU has not detected a valid upstream optical signal for four consecutive frames.
  • ONU DGi The power-off alarm reported when the ONU is powered off through the discharge of its capacitor.
  • the above-mentioned backbone fiber protection (PON backbone protection or PON TYPE B protection) mechanism can protect the ONU services under the PON port based on PON LOS, that is, when the current working main PON port generates PON LOS, the ONU services can be switched to the backup PON port.
  • PON backbone protection or PON TYPE B protection PON backbone protection or PON TYPE B protection
  • Problem 1 Invalid switching: If the backup link in the PON protection group is abnormal, or the above scenarios 1 to 3 (ONU power failure), or the above scenarios 4 to 5 and the non-trunk fiber is broken, or the above scenario 6, the OLT initiates the main and backup switching of the trunk fiber, and the ONU service will not be restored on the backup PON port, which is an invalid switching.
  • the trunk fiber protection mechanism initiates active-standby switching based on PON LOS.
  • PON LOS occurs on both the primary and standby links, such as when both the primary and standby trunk fibers are broken in the above scenarios 1 to 3 and scenario 6, and when the branch fibers are broken in the above scenarios 4 to 5, frequent switching will occur.
  • the embodiment of the present application aims to provide a trunk optical fiber protection method, which is applicable to any xPON system of a passive optical network adopting a P2MP topology structure in an optical access network, and can realize automatic detection of trunk optical fiber protection reversal, thereby solving the problem of invalid switching and frequent switching of the trunk optical fiber, and improving system performance.
  • the embodiment of the present application firstly, it involves the detection and synchronization of the status of the main and backup PON ports, and further updates the status of the main and backup PON ports according to different business scenarios of PON LOS; secondly, it involves the control of the main and backup switching of the trunk optical fiber.
  • the main and backup switching is not performed. Further in this case, the detection and synchronization of the status of the backup PON port is controlled to accelerate the update of the status of the backup PON port.
  • the xPON system includes EMS 101 , OLT 102 , ODN 103 , and ONU 104 , wherein:
  • EMS101 is responsible for the configuration, management, and maintenance of OLT102 and its ONU104, and manages the historical information of OLT102 and ONU104 as well as related alarms and notification messages. It can also dynamically maintain the related network and remind manual intervention according to the alarms or notification messages related to the main fiber primary and standby switching reported by OLT102.
  • OLT102 implements ONU registration and maintenance based on PON ports.
  • at least two PON ports are enabled on the OLT.
  • the at least two PON ports can adopt a one-master-multiple-standby mode.
  • the currently working PON port is the main PON port
  • the currently non-working PON port is the standby PON port.
  • two main and standby PON ports can be enabled on the OLT, and the corresponding ONUs can be linked through a 2:N optical splitter.
  • the OLT can automatically switch the ONU to the standby link to keep the business normal.
  • Figure 1 only takes the example of enabling two main and standby PON ports on the OLT for schematic illustration. In specific implementation, more PON ports can be enabled on the OLT according to networking requirements.
  • ODN 103 is used to connect different numbers of ONUs 104 under OLT 102, and serves as a direct physical connection channel between OLT 102 and ONU 104. It may be composed of a plurality of physical devices, including but not limited to:
  • the trunk optical fiber/optical path (primary and backup) is used to connect the first-level splitter and the PON port corresponding to the OLT. Generally, a single PON port is used. When the trunk optical fiber protection mechanism is adopted, two primary and backup PON ports will be enabled, or even three or more PON ports will be enabled. When three or more PON ports are enabled, each PON port adopts the form of one primary and multiple backups.
  • Optical splitters are combined with one or more optical splitters to achieve the splitting ratio.
  • the maximum splitting ratio is 1:128 or 1:256. Since the optical splitter will introduce optical attenuation, the cascade of optical splitters generally does not exceed three levels.
  • the optical splitter directly connected to the OLT PON port is a primary optical splitter, and the other cascaded optical splitters are called secondary optical splitters or tertiary optical splitters (referred to as n-level optical splitters).
  • Branch optical fiber the optical path connecting the multi-stage splitters and the optical path directly connected to the ONU is called branch optical fiber.
  • ONU 104 is a terminal device for accessing home users, and is managed by OLT 102. During the registration process, it accepts the link identifier assigned by OLT 102 to complete ONU registration; and uploads data in the time slot window uniformly assigned by OLT 102 to complete service forwarding.
  • the trunk optical fiber protection detection method provided in the embodiment of the present application can be executed by the OLT in the xPON system or by software installed in the OLT, or can be executed by the network management server in the xPON system or by software installed in the network management server.
  • FIG. 2 is a schematic flow chart of a trunk optical fiber protection method provided by an embodiment of the present application.
  • the method may include:
  • the PON protection group is a logical aggregation concept, including at least two physical PON ports enabled on the same OLT. If there are two PON ports, one active and one standby can be used. If there are three or more PON ports, one active and multiple standby can be used. For the at least two PON ports included in the PON protection group, they can be distinguished by the names of active PON port and standby PON port. In general, the PON port with an ONU online is the currently working PON port (abbreviated as The PON protection group is a PON protection group that is connected to the main PON port. ...
  • the PON port status information includes at least the following field types: the main PON port status and the standby PON port status.
  • the PON port status information may also include at least one of the following field types: the PON protection group index, the currently working PON port identifier, and the switching indication information.
  • the PON protection group has an index value, and each PON port in the PON protection group corresponds to a unique identification value.
  • the field contents of the PON protection group index and the currently working PON port identifier can be set according to the actual index value and the identification value, while the field contents of the main PON port status, the standby PON port status, and the switching indication information are generally initialized to "empty", and subsequently based on the detection of the uplink optical signals of the main and standby PON ports, the corresponding PON port status is detected and updated, and the switching flag information is set.
  • the steps of detecting the upstream optical signal based on the main and backup PON ports and detecting and updating the status of the main and backup PON ports are performed.
  • the steps of detecting the upstream optical signal based on the main and backup PON ports and detecting and updating the status of the main and backup PON ports are not performed, thereby avoiding invalid switching and frequent switching caused by the scenario where the ONU has never been online.
  • the main PON port status is used to indicate whether the optical signal of the corresponding main PON port is normal, that is, whether the main PON port is available;
  • the standby PON port status is used to indicate the corresponding Whether the optical signal of the standby PON port is normal, that is, whether the standby PON port is available, it can be understood that in the case of multiple standby PON ports, each standby PON port corresponds to its own state.
  • the state of the corresponding PON port (including the main PON port and the standby PON port) can be detected, so as to set the PON port state to normal or abnormal.
  • the method for detecting the status of the main PON port is implemented by detecting the upstream optical signal of the main PON port, and specifically may include: detecting the upstream optical signal of the main PON port, and when the main PON port fails to detect a valid upstream optical signal for a set number of frames (for example, 4 frames) continuously, determining that the main PON port has generated PON LOS, and setting the status of the main PON port to abnormal; otherwise, setting the status of the main PON port to normal.
  • the method for detecting the status of the standby PON port is implemented by detecting the upstream optical signal of the standby PON port, and specifically may include: detecting the upstream optical signal of the standby PON port, and when the standby PON port detects a specific upstream optical signal, setting the status of the standby PON port to normal; otherwise, setting the status of the standby PON port to abnormal, and generating an alarm message of trunk optical fiber breakage of the standby PON port.
  • the specific upstream optical signal may be an SD (Signal Detect) signal, which may periodically detect whether an SD signal exists at the standby PON port according to a set first detection period (T1).
  • the first detection period is generally less than a set service recovery time threshold (SLArecover).
  • SLArecover is a set time threshold, which indicates the service recovery time required by the user and can be flexibly set according to user needs.
  • the SD signal is an indication signal sent by an ONU, indicating that the ONU can perform data transmission.
  • the specific upstream optical signal may also be the upstream optical power of the standby PON port, thereby realizing the detection of the status of the standby PON port.
  • the above method for detecting the state of a standby PON port is applicable to any standby PON port, and the state corresponding to each standby PON port can be obtained respectively through signal detection.
  • the field content of the switching indication information can be further set based on the standby PON port status.
  • the switching indication information is set to be switchable.
  • the switching indication information is set to be The switching indication information is non-switchable, so that the execution of the main optical fiber master-slave switching can be controlled based on the switching indication information, thereby improving the switching efficiency.
  • S203 may specifically include:
  • the PON port status information also includes switching indication information, accordingly, when the switching indication information is non-switchable, the main optical fiber master-slave switching is not initiated, and an alarm message of PON protection group abnormality is generated.
  • the switching indication information is switchable, the execution of the main optical fiber master-slave switching is controlled according to the business scenario information corresponding to the PON LOS generated by the main PON port.
  • the business scenario information may include the business scenario judgment time and the business scenario type.
  • one backup PON port if the status of the backup PON port is normal, and in the case of multiple backup PON ports, if there is at least one backup PON port in a normal status, it means that there is an available backup PON port, and the execution of the main optical fiber main-backup switching can be further controlled according to the business scenario information corresponding to the PON LOS generated by the main PON port. If the status of all backup PON ports is abnormal, it means that there is no available backup PON port, and the main optical fiber main-backup switching is not initiated, thereby avoiding invalid switching and frequent switching.
  • step S2031 after the alarm message of the abnormality of the PON protection group is generated, it is possible to further periodically detect whether there is a specific upstream optical signal at the standby PON port according to the set second detection period (T2), wherein the specific upstream optical signal may include an SD signal, and the second detection period T2 needs to be less than the first detection period T1; when the standby PON port detects the specific upstream optical signal, the state of the standby PON port is updated to be normal, and the switching indication information can also be synchronously updated to be switchable If there is a normal standby PON port at this time, step S2032 can be executed, that is, the execution of the main optical fiber main-standby switching is controlled according to the service scenario information corresponding to the PON LOS generated by the main PON port.
  • T2 the set second detection period
  • S2032a Determine the business scenario judgment time and business scenario type corresponding to the PON LOS generated by the main PON port, wherein the business scenario judgment time is used to indicate the time when the ONU comes back online.
  • the average time from when the ONU goes offline to when it comes back online can be statistically calculated as the business scenario judgment time.
  • the business scenario types corresponding to the PON LOS generated by the main PON port are divided into: ONU power failure (corresponding to scenarios 1 to 3), the last or only ONU offline (corresponding to scenarios 4 to 5), etc.
  • the execution of the main optical fiber master-slave switching can be controlled according to the service scenario type corresponding to the PON LOS generated by the main PON port, specifically:
  • the main optical fiber master-slave switchover is not initiated, and the update of the main and backup PON port status is suspended until the main PON port status returns to normal.
  • the main fiber active-standby switching is initiated, and the original standby PON port in normal state is switched to the currently working PON port, which becomes the new active PON port after the switch; and the state of the new active PON port after the switch is detected, and the new active PON port is switched to the new active PON port according to the new active
  • the PON port status generates corresponding alarm messages.
  • the main fiber master-slave switching is stopped when the set switching number threshold is reached, and the updating of the status of the main and standby PON ports is stopped.
  • the process goes to execute S202, i.e., based on the detection of the upstream optical signals of the main and backup PON ports, the step of detecting and updating the status of the main and backup PON ports is performed.
  • the trunk optical fiber protection method provided by the embodiment of the present application establishes PON port status information based on the PON protection group, and the PON port status information includes the main PON port status and the standby PON port status.
  • the detection and update of the main and standby PON port status are realized by detecting the upstream optical signal of the PON port. Since the PON port status is detected only when an ONU is online in the PON protection group, frequent switching and frequent switching caused by the scenario that the ONU has never been online can be avoided.
  • the execution of the main and standby switching of the trunk optical fiber is controlled according to the standby PON port status.
  • the standby PON port status By synchronously monitoring the main and standby PON port statuses, when the main PON port status is abnormal, the standby PON port status is referenced.
  • the PON port status controls the execution of the active/standby switching based on the standby PON port status, thereby avoiding invalid switching and frequent switching when the standby PON port is unavailable.
  • the main optical fiber master-slave switching will not be initiated. If there is a backup PON port in normal status, it will be combined with the business scenario information corresponding to the PON LOS generated by the main PON port to control the execution of the main optical fiber master-slave switching accordingly.
  • the business scenario information includes the business scenario judgment time and the business scenario type. Through scenario identification, invalid switching and frequent switching in certain scenarios can be effectively avoided.
  • the trunk optical fiber protection method provided by the embodiment of the present application is described in detail.
  • the method can be applied to the OLT, and includes the following steps:
  • the OLT establishes PON status information based on the PON protection group.
  • the PON status information can be stored in the form of a master-slave PON port status table (hereinafter referred to as the status table).
  • the status table is established based on the currently working PON port and the currently non-working PON port in the PON protection group.
  • the status table includes but is not limited to the following fields: PON protection group index, currently working PON port identifier, master PON port (working port) status, standby PON port (non-working port) status, switching indication information.
  • the switching indication information can be in the form of a switching flag.
  • the PON protection group is a logical aggregation concept, and in this embodiment, it includes two physical PON ports, which are mutually active and standby.
  • the field contents of the PON protection group index and the current working PON port identifier can be set according to the actual index value and the identifier value, while the field contents of the active PON port status, the standby PON port status, and the switching flag Flag are generally initialized to "empty".
  • the corresponding PON port status is detected and updated, and the switching flag Flag is set.
  • the OLT detects and updates the status of the main and standby PON ports based on the detection of the upstream optical signals of the PON ports in the PON protection group, and sets a switching flag.
  • the following describes a method for OLT to detect an upstream optical signal of a PON port and determine a corresponding PON port status.
  • the method for detecting the status of the main PON port is implemented by detecting the uplink optical signal of the main PON port of the PON protection group. If no valid uplink optical signal is detected at the main PON port for a set number of frames (for example, 4 frames) continuously, it is determined that the main PON port has generated PON LOS, and the status of the main PON port is set to Abnormal. Otherwise, the status of the main PON port is set to Normal.
  • the detection method of the standby PON port status is implemented by detecting the upstream optical signal of the standby PON port of the PON protection group, including but not limited to detecting specific upstream optical signals such as SD signal and upstream optical power. If a specific upstream optical signal is detected at the standby PON port, the standby PON port status is set to Normal; otherwise, the standby PON port status is set to Abnormal, and the alarm "backbone optical fiber of the standby PON port is broken" is reported.
  • the switching flag Flag can be set according to a certain strategy.
  • the switching flag Flag is set to enable (i.e., switching is possible); otherwise, the switching flag Flag is set to disable (i.e., non-switchable).
  • the OLT sets and maintains a timer T1 (T1 is less than a set service recovery time threshold SLArecover), periodically detects the status of a standby PON port (a currently non-working PON port) according to T1, and synchronizes it to a corresponding status table.
  • T1 is less than a set service recovery time threshold SLArecover
  • main-backup switching when the PON LOS occurs at the main PON port, the status of the main PON port in the status table is Abnormal, and further, different main-backup switching strategies are respectively executed according to the current switching flag Flag.
  • main-backup switching of the trunk optical fiber is referred to as main-backup switching;
  • step S308 is executed, that is, the active/standby switch is not initiated, and an alarm "PON protection group abnormality" is reported.
  • the master-slave switching is initiated first, and then processing is performed according to the status of the new main PON port after the switching (ONU online status) and the business scenario type corresponding to the PON LOS generated by the original main PON port, that is, go to step S307.
  • the active-standby switching will not be initiated, and the update of the active and standby PON port status will be terminated until the active PON port is restored.
  • the primary/standby switchover is initiated, and the status of the new primary PON port after the switchover is detected. If the status of the new primary PON port after the switchover is Normal (including but not limited to ONU online, Or if a valid upstream optical signal is detected at the new active PON port), the alarm reported is "the trunk optical fiber of the original active PON port is broken"; if the status of the new active PON port after the switch is Abnormal, the PON LOS service scenario alarm of the original active PON port is restored, and the alarm reported is "the corresponding ONU LOSi or branch optical fiber is broken".
  • the master-slave switching can be stopped according to a certain strategy or stopped after switching back to the original master PON port. For example, the master-slave switching is stopped when the set switching number threshold is reached to avoid frequent switching between the master and standby PON ports when both the master and standby PON ports are LOS, and at the same time stop the state synchronization of the master and standby PON ports.
  • step S303 when an ONU is back online under any PON port (ie, the main PON port or the backup PON port) in the PON protection group, the process goes to step S303 to start detecting and updating the status of the relevant PON port.
  • PON port ie, the main PON port or the backup PON port
  • OLT first initiates the master-slave switchover, and then processes the service scenario type corresponding to the PON LOS generated by the original master PON port according to the status of the new master PON port after the switchover (ONU online status), specifically:
  • the active-standby switching is stopped according to a certain strategy or the active-standby switching is stopped after switching back to the original active PON port, so as to avoid frequent switching between the active and standby PON ports when both the active and standby PON ports are LOS, and at the same time stop updating the status of the active and standby PON ports.
  • any PON port in the PON protection group i.e., the main PON port or the backup PON If an ONU under the PON port is back online, go to step S303 to start detecting and updating the status of the relevant PON port.
  • trunk optical fiber protection method applied to OLT effectively solves the problems of invalid switching and frequent switching that may exist in trunk optical fiber protection, can save system resources and improve system performance.
  • an embodiment of the present application further provides a trunk optical fiber protection device, which can be arranged in an OLT, EMS or other equipment of an xPON system.
  • a trunk optical fiber protection device 400 as shown in FIG. 4, comprising:
  • Establishing module 401 used to establish PON port status information based on a PON protection group, wherein the PON protection group includes at least two PON ports, and the at least two PON ports are connected to at least one ONU corresponding to the PON protection group through respective trunk optical fibers, and the PON port status information includes at least a main PON port status and a backup PON port status, the main PON port is a currently working PON port among the at least two PON ports, and the backup PON port is a currently non-working PON port among the at least two PON ports.
  • the detection and updating module 402 is used to detect and update the status of the main and backup PON ports based on the detection of the upstream optical signals of the main and backup PON ports when confirming that an ONU is online in at least one ONU corresponding to the PON protection group.
  • the switching control module 403 is used to control the execution of the main optical fiber main and standby switching based on the standby PON port status when the main PON port status is abnormal.
  • the PON port status information may also include at least one of the following: a PON protection group index, a currently working PON port identifier, and switching indication information; wherein, when the status of at least one standby PON port is normal, the switching indication information is set to switchable, and when the status of all standby PON ports is abnormal, the switching indication information is set to non-switchable.
  • the optional structure of the detection update module 402 may include:
  • the main detection submodule 421 is used to detect the uplink optical signal of the main PON port. If no valid upstream optical signal is detected for the set number of frames in a row, it is determined that the main PON port has a PON LOS, and the state of the main PON port is set to abnormal; otherwise, the state of the main PON port is set to normal.
  • the first standby detection submodule 422 is used to detect the uplink optical signal of the standby PON port.
  • the standby PON port state is set to normal; otherwise, the standby PON port state is set to abnormal, and an alarm message of trunk optical fiber breakage of the corresponding standby PON port is generated.
  • the first standby detection submodule 422 is specifically used to periodically detect whether there is a specific uplink optical signal at the standby PON port according to a set first detection period, wherein the specific uplink optical signal includes an SD indication signal, and the first detection period is less than a set service recovery time threshold SLArecover.
  • the optional structure of the switching control module 403 may include:
  • the first control submodule 431 is used for not initiating the main optical fiber master-slave switching and generating an alarm message of PON protection group abnormality when the main PON port status is abnormal and all the backup PON port statuses are abnormal;
  • the second control submodule 432 is used for controlling the execution of the main optical fiber master-slave switching according to the business scenario information corresponding to the PON LOS generated by the main PON port when the main PON port status is abnormal and at least one backup PON port status is normal.
  • the detection update module 402 may further include a second standby detection submodule 423, wherein: the first control submodule 431 is also used to trigger the second standby detection submodule 423 after generating an alarm message of an abnormality of the PON protection group; the second standby detection submodule 423 is used to periodically detect whether there is a specific upstream optical signal at the standby PON port according to a set second detection period, wherein the specific upstream optical signal includes an SD indication signal, and the second detection period is less than the first detection period; when a specific upstream optical signal is detected at the standby PON port, the state of the standby PON port is updated to be normal, and the second control submodule 432 is triggered.
  • the first control submodule 431 is also used to trigger the second standby detection submodule 423 after generating an alarm message of an abnormality of the PON protection group
  • the second standby detection submodule 423 is used to periodically detect whether there is a specific upstream optical signal at the standby PON port according
  • the second control submodule 432 is specifically used to: determine the service scenario judgment time and service scenario type corresponding to the PON LOS generated by the primary PON port, wherein the The business scenario judgment time is used to indicate the time when the ONU comes back online; when the business scenario judgment time is less than or equal to the set business recovery time threshold SLArecover, the execution of the main optical fiber master-slave switching is controlled according to the business scenario type corresponding to the PON LOS generated by the main PON port; when the business scenario judgment time is greater than the set business recovery time threshold SLArecover, the main optical fiber master-slave switching is initiated, and the original standby PON port with a normal status is switched to the currently working PON port, which becomes the new main PON port after the switching; and, the state of the new main PON port after the switching is detected, and a corresponding alarm message is generated according to the state of the new main PON port and the business scenario type corresponding to the PON LOS generated by the original main PON port.
  • the second control submodule 432 in the process of controlling the execution of the main optical fiber master-slave switching according to the business scenario type corresponding to the PON LOS generated by the main PON port, is specifically used for: when the business scenario type is ONU power off, not initiating the main optical fiber master-slave switching, and terminating the updating of the status of the main and backup PON ports until the status of the main PON port is restored to normal; when the business scenario type is the last or only ONU offline, initiating the main optical fiber master-slave switching, switching the original backup PON port with a normal status to the currently working PON port, which becomes the new main PON port after the switching; and detecting the status of the new main PON port after the switching, and generating a corresponding alarm message according to the status of the new main PON port.
  • the second control submodule 432 is specifically used to: when the state of the new main PON port is normal, generate an alarm message of trunk fiber breakage of the original main PON port; when the state of the new main PON port is abnormal, restore the PON LOS alarm of the original main PON port, generate an alarm message of corresponding ONU LOSi or branch fiber breakage, stop the main fiber master-slave switching when the set switching number threshold is reached, and stop updating the state of the main and standby PON ports.
  • the second control submodule 432 generates a corresponding alarm message according to the state of the new main PON port and the service scenario type corresponding to the PON LOS generated by the original main PON port.
  • the service scenario type corresponding to the LOS is that the last or only ONU is offline
  • an alarm message of the trunk fiber break of the original main PON port is generated;
  • the PON LOS alarm of the original main PON port is restored, and an alarm message of the corresponding ONU LOSi or branch fiber break is generated.
  • the set switching number threshold is reached, the main fiber master-slave switching is stopped, and the updating of the status of the main and standby PON ports is stopped.
  • the detection and update module 402 is also used to, after stopping the main optical fiber master-slave switching and stopping the updating of the main and backup PON port status, confirm that an ONU in at least one ONU corresponding to the PON protection group is back online, and then proceed to execute the step of detecting and updating the main and backup PON port status based on the detection of the upstream optical signal of the main and backup PON ports.
  • the detection and update module 402 is also used to not perform the step of detecting and updating the status of the main and backup PON ports based on the detection of the upstream optical signals of the main and backup PON ports when no ONU is online in at least one ONU corresponding to the PON protection group.
  • trunk optical fiber protection device of the embodiment of the present application can be used as the execution subject of the trunk optical fiber protection method shown in Figure 2, so the method can realize the functions realized in Figure 2. Since the principles are the same, they will not be repeated here.
  • the trunk optical fiber protection device detects the status of the PON port only when an ONU is online in the PON protection group, thereby avoiding useless switching and frequent switching caused by the scenario that the ONU has never been online; by synchronizing the status of the main and backup PON ports, the status of the backup PON port is monitored to avoid invalid switching and frequent switching when the backup PON port is unavailable; further, in combination with the business scenario that causes PON LOS, through scenario identification, the occurrence of invalid switching and frequent switching in certain scenarios can be effectively avoided.
  • the embodiment of the present application further provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores a program executable on the processor 501.
  • the program or instruction when executed by the processor 501, implements the various steps of the above-mentioned trunk optical fiber protection method and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the electronic devices in the embodiments of the present application include mobile electronic devices and non-mobile electronic devices.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned trunk optical fiber protection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the program or instruction is executed by a processor, each process of the above-mentioned trunk optical fiber protection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned trunk optical fiber protection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

本申请实施例公开了一种主干光纤保护方法、装置、设备及可读存储介质,所述主干光纤保护方法,包括:基于PON保护组,建立PON口状态信息,其中,PON保护组中包括至少两个PON口,PON口状态信息至少包括主用PON口状态和备用PON口状态,主用PON口为当前工作的PON口,备用PON口为当前非工作的PON口;确认PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态;在主用PON口状态为不正常的情况下,基于备用PON口状态控制主干光纤主备倒换的执行。

Description

一种主干光纤保护方法、装置、设备及可读存储介质
交叉引用
本发明要求在2023年06月13日提交中国专利局、申请号为202310699680.X、发明名称为“一种主干光纤保护方法、装置、设备及可读存储介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。
技术领域
本申请涉及光通信领域,尤其涉及一种主干光纤保护方法、装置、设备及可读存储介质。
背景技术
PON(Passive Optical Network,无源光网络)是一种采用P2MP(点对多点)拓扑结构的通信技术,根据工作机制可以分为EPON(Ethernet Passive Optical Network,基于以太网的无源光网络设备)、G-PON(Gigabit-capable Passive Optical Network,千兆无源光网络设备)、以及其他工作机制的无源光网络设备。这些无源光网络设备的系统构架一致,均包括局端设备OLT(Optical Line Terminal,光线路终端)、ODN((optical distribution network,光分配网络)和用户端设备ONU(Optical Network Unit,光网络单元),其中,OLT通过PON口完成对多个ONU的汇聚,构成点(OLT)对多点(ONU)的拓扑结构。
在无源光网络中,若连接OLT的PON口和ODN中一级分光器的主干光纤出现中断,将会导致该主干光纤下所有ONU业务中断,因此对主干光纤通常采用主备倒换的方式进行保护。但是,主干光纤保护在某些场景下存在着无效倒换、频繁倒换等问题,会耗费大量系统资源,降低系统性能,成为现有技术中亟待解决的技术问题之一。
发明内容
本申请实施例的目的是提供一种主干光纤保护方法、装置、设备及可读存储介质,能够解决主干光纤无效倒换、频繁倒换的问题,提升系统性能。
为了实现上述目的,本申请实施例采用下述技术方案:
第一方面,提供一种主干光纤保护方法,包括:基于无源光网络PON保护组,建立PON口状态信息,其中,所述PON保护组中包括至少两个PON口,所述至少两个PON口通过各自的主干光纤与所述PON保护组对应的至少一个光网络单元ONU连接,所述PON口状态信息至少包括主用PON口状态和备用PON口状态,所述主用PON口为所述至少两个PON口中当前工作的PON口,所述备用PON口为所述至少两个PON口中当前非工作的PON口;确认所述PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态;在所述主用PON口状态为不正常的情况下,基于所述备用PON口状态控制主干光纤主备倒换的执行。
第二方面,提供一种主干光纤保护装置,包括:建立模块,用于基于PON保护组,建立PON口状态信息,其中,所述PON保护组中包括至少两个PON口,所述至少两个PON口通过各自的主干光纤与所述PON保护组对应的至少一个ONU连接,所述PON口状态信息至少包括主用PON口状态和备用PON口状态,所述主用PON口为所述至少两个PON口中当前工作的PON口,所述备用PON口为所述至少两个PON口中当前非工作的PON口;检测更新模块,用于确认所述PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态;倒换控制模块,用于在所述主用PON口状态为不正常的情况下,基于所述备用PON口状态控制主干光纤主备倒换的执行。
第三方面,提供一种电子设备,包括处理器和存储器,所述存储器存储 可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行,以实现如第一方面所述的方法。
第四方面,提供一种可读存储介质,当所述可读存储介质中的程序或指令由电子设备的处理器执行时,使得电子设备能够执行如第一方面所述的方法。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请的一个实施例提供的一种主干光纤保护方法的实施环境示意图;
图2为本申请的一个实施例提供的一种主干光纤保护方法的流程示意图;
图3为本申请的一个实施例提供的一种基于OLT启用主备两个PON口的主干光纤保护方法的流程示意图;
图4为本申请的一个实施例提供的一种主干光纤保护装置的结构示意图;
图5为本申请的一个实施例提供的一种电子设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据 在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
如前所述,PON技术根据工作机制可以分为EPON、G-PON等,本申请实施例中,将接入网中任意采用P2MP拓扑结构的无源光网络的通信系统,统称为xPON系统,采用P2MP拓扑结构是xPON系统的显著特点,所述的xPON系统可以包括采用无源光网络或类似P2MP拓扑结构组网的通信系统。
相关技术中,一种常见的xPON系统的组网结构通常由EMS(网管服务器)、OLT、ODN和若干个ONU组成,其中,OLT作为局端设备通过ODN以PON口为单位连接汇聚多个ONU,ONU实现用户业务的接入,从而实现数据业务和配置管理等功能。
在无源光网络中以PON口为单位实现多个ONU的接入,从而实现P2MP拓扑结构,其中,“点”指局端设备OLT的PON口,“多点”指该PON口下连接的多个ONU,通常情况下,PON口下连接的ONU数量为1~128。在该P2MP拓扑结构中,实现OLT的PON口与ONU之间连接的ODN中,一般通过分光器实现多个ONU连接的汇聚,根据组网一般通过分光器级联实现多级分光,直接连接OLT的PON口的分光器称为一级分光器,以下依次分别称为二级分光器、三级分光器等。其中,连接OLT的PON口和ODN中一级分光器的光链路称为主干光纤/光路,其他光链路称为支路光纤/光路。
基于xPON系统的组网结构,若主干光纤出现中断,将会导致该主干光纤下所有ONU业务中断,因此对主干光纤有必要进行保护,可以将原有一级分光器从1:N变更为2:N,其中1、2指一级分光器中主干光纤的数量,即主干光纤变成两路,两路光纤为主备工作方式,相应的,与主干光纤连接的PON口也设置为两个,两个PON口互为主备,可以将两个PON口中当前工作的PON口称为主用PON口,当前非工作的PON口称为备用PON口,主用PON口连接的主干光纤可以称为主用主干光纤,备用PON口连接的主 干光纤可以称为备用主干光纤。通常情况下,ONU通过主用主干光纤与OLT的主用PON口相连。当主用主干光纤异常时,即当OLT检测到主用主干光纤出现PON LOS时,通过OLT控制ONU业务倒换到备用主干光纤,ONU通过备用主干光纤与OLT的备用PON口相连,上述保护机制称为主干光纤保护,也可以称为PON主干保护或PON TYPEB保护。主干光纤保护是目前主要的PON口下光链路保护方式,基于主、备用PON口的PON LOS检测进而实现对ONU业务的保护。其中,PON LOS通常是指在PON口连续4帧没有检测到有效上行光信号的情况下,认为PON口产生了PON LOS。
如上所述,xPON系统会根据PON LOS发起主干光纤主备倒换。本申请人在发明过程中发现,导致局端设备OLT检测到PON LOS的业务场景,可以根据PON口下ONU状态进行区分,包括但不限于如下几种业务场景实例:
场景1、PON小区断电(或称为掉电):即该PON口下所有ONU都断电(一般为集中区域的停电),则对应PON口侧会检测到PON LOS告警,但与主干光纤故障无关。
场景2、PON口下最后一个ONU断电:当PON口下最后一个ONU断电(DGi),这种情况时PON口侧会检测到PON LOS告警。
场景3、PON口只配置了一个ONU,且断电(DGi);或者,PON口配置了多个ONU,但只有一个上过线的ONU且断电(DGi),这两种情况时对应PON口侧会检测到PON LOS告警。
场景4、PON口下最后一个ONU离线:当PON口下最后一个ONU离线(LOSi),这种情况时PON口侧会检测到PON LOS告警。
场景5、PON口只配置了一个ONU,且离线(LOSi);或者,PON口配置了多个ONU但只有一个上过线的ONU且离线(LOSi),这两种情况时对应PON口侧会检测到PON LOS告警。
场景6、所有的ONU从未上过线(never online):系统初期配置了离线ONU的情况,这种情况时PON口侧会检测到PON LOS告警。
场景7、主干光纤断。
其中,上述场景1至6与场景7的原因存在差异,场景1至3中PON LOS的原因为ONU断电,场景4至5中PON LOS的原因可能是主干光纤断也可能是支路光纤断;场景6中PON LOS的原因无法判断是否是主干光纤断。
其中涉及的ONU状态包括:
ONU LOSi:即OLT检测到单个ONU连续4帧没有检测到有效上行光信号。
ONU DGi:即ONU断电时通过其电容放电上报的掉电告警。
上述主干光纤保护(PON主干保护或PON TYPEB保护)的机制,基于PON LOS可实现对PON口下ONU业务的保护,即在当前工作的主用PON口产生PON LOS的情况下,可将ONU业务倒换到备用PON口上。但可能存在着如下问题:
问题1、无效倒换:若PON保护组中备用链路异常、或上述场景1至3(ONU断电)、或上述场景4至5且非主干光纤断、或上述场景6时,OLT发起主干光纤的主备倒换,ONU业务并不会在备用PON口上恢复,属于无效倒换。
问题2、频繁倒换:主干光纤保护的机制基于PON LOS发起主备倒换,当主、备用链路均出现PON LOS的情况,例如上述场景1至3、以及场景6中主、备用主干光纤均断,上述场景4至5中支路光纤断,则会频繁倒换。
实际应用中,若备用PON口主干光纤断,或产生PON LOS的某些场景,上述主干光纤保护会产生无效倒换,即倒换后业务无法恢复,进一步会产生主、备用PON口之间的频繁倒换。这种无效倒换和频繁倒换,一方面会增加系统的工作负荷,另一方面会产生大量无效的倒换告警或通知消息,对系统稳定运行和运维产生不利影响。上述问题在采用无源光网络或类似P2MP拓扑结构组网的xPON系统中均存在,截止到目前,相关技术中未提供有效的解决方案。
有鉴于此,本申请实施例旨在提供一种主干光纤保护方法,适用于光接入网中任意采用P2MP拓扑结构的无源光网络的xPON系统,能够实现主干光纤保护倒回自动检测,从而解决主干光纤无效倒换、频繁倒换的问题,提升系统性能。本申请实施例中,首先涉及主、备用PON口状态的检测与同步,进一步的根据PON LOS不同业务场景对主、备用PON口状态的更新;其次涉及对主干光纤主备倒换的控制,当备用PON口(非工作的PON口)状态为不正常(即备用PON口不可用),则不进行主备倒换。进一步的在这种情况下,通过对备用PON口状态的检测同步的控制,实现对备用PON口状态更新的加速。
本申请实施例提供的主干光纤保护方法的实施环境请参考图1,xPON系统包括EMS101、OLT102、ODN103、ONU104,其中:
EMS101,负责对OLT102以及所属ONU104的配置、管理、维护等工作;并管理OLT102、ONU104的历史信息以及相关告警与通知消息。并可根据OLT102上报的主干光纤主备倒换相关的告警或通知消息,实现对相关网络的动态维护与提醒人工介入。
OLT102,基于PON口实现ONU注册与维护。同时针对主干光纤保护,在OLT上启用至少两个PON口,该至少两个PON口可以采用一主多备的方式,当前工作的PON口为主用PON口,当前非工作的PON口为备用PON口。通常情况下,可以在OLT上启用主备两个PON口,通过2:N分光器链接相应ONU,当其中一条链路中断时,OLT可自动将所属ONU倒换到备用链路中,以保持业务正常。图1中仅以在OLT上启用主备两个PON口为例进行示意性说明,具体实施中,可以根据组网要求在OLT上启用更多的PON口。
ODN103,用于在OLT102下连接数量不等的ONU104,作为OLT102和ONU104之间直接的物理连接通道,可能由多个物理器件组合而成,其中包括但不限于:
主干光纤/光路(主备用),用于连接一级分光器和OLT对应的PON口,一般情况下采用单PON口,而当采用主干光纤保护的机制时,则会启用主备两个PON口,甚至启用三个或更多PON口,在启动三个或更多PON口的情况下,各PON口采用一主多备的形式。
分光器(一级或多级),一般根据ODN网络规划及组网施工,有一个或多个分光器共同组合实现分光比,一般最大分光比为1:128或1:256,由于分光器会引入光衰,所以分光器级联一般不超过三级。其中直连OLT PON口的分光器为一级分光器,其他级联分光器分别称为二级分光器或三级分光器(简称n级分光器)。
支路光纤,连接多级分光器之间的光路及直连接入ONU的光路称为支路光纤。
ONU104,用于接入家庭用户的终端设备,接受OLT102的管理,在注册过程中接受OLT102分配的链路标识完成ONU注册;并根据OLT102统一分配时隙窗口中上传数据完成业务转发。
本申请实施例提供的主干光纤保护检测方法,可以由xPON系统中的OLT执行或安装在OLT中的软件执行,也可以由xPON系统中的网管服务器执行或安装在网管服务器中的软件执行。
以下结合附图,详细说明本申请各实施例提供的技术方案。
请参考图2,为本申请的一个实施例提供的一种主干光纤保护方法流程示意图,该方法可以包括:
S201、基于PON保护组,建立PON口状态信息。
PON保护组是一个逻辑聚合概念,包括同一OLT上启用的至少两个物理的PON口,如果PON口为两个,可以采用一主一备的方式,如果PON口为三个或以上,可以采用一主多备的方式。针对PON保护组包括的至少两个PON口,可以在名称上用主用PON口、备用PON口进行区分,一般情况下,哪个PON口下具有ONU在线,这个PON口就是当前工作的PON口(简称 工作口),即主用PON口;反之,就是当前非工作的PON口(简称非工作口),即备用PON口。PON保护组下面挂接的所有ONU都属于该PON保护组,PON保护组对应的至少一个ONU即是指PON保护组下面挂接的所有ONU。所述PON保护组中至少两个PON口通过各自的主干光纤与PON保护组对应的至少一个ONU连接。
基于PON保护组中当前工作的PON口、以及当前非工作的PON口,即可建立PON口状态信息。PON口状态信息至少包括如下字段类型:主用PON口状态和备用PON口状态。可选的,PON口状态信息还可以包括如下字段类型中至少之一:PON保护组索引、当前工作的PON口标识、倒换指示信息。为了便于区分,PON保护组具有索引值,PON保护组中每个PON口对应唯一的标识值。在新建立的PON口状态信息中,PON保护组索引、当前工作的PON口标识的字段内容可以根据实际索引值、标识值进行设置,而主用PON口状态、备用PON口状态、倒换指示信息的字段内容一般初始化设置为“空”,后续基于对主、备用PON口的上行光信号的检测,进行相应的PON口状态的检测和更新,以及设置倒换标志信息。
S202、确认PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态。
具体实施中,在PON保护组对应的至少一个ONU中存在ONU上线时,才执行基于主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤,在PON保护组对应的至少一个ONU中未出现ONU上线的情况下,不执行基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤,从而避免ONU从未上过线(never online)的场景下导致的无效倒换、以及频繁倒换。
PON口状态信息中,主用PON口状态用于指示对应的主用PON口的光信号是否正常,即主用PON口是否可用;备用PON口状态用于指示对应的 备用PON口的光信号是否正常,即备用PON口是否可用,可以理解,在备用PON口为多个的情况下,每个备用PON口对应各自的状态。通过PON口的上行光信号检测,可以实现对相应PON口(包括主用PON口和备用PON口)的状态检测,从而将PON口状态设置为正常或不正常。
在一种可选的实现方式中,主用PON口状态的检测方法,通过对主用PON口的上行光信号的检测实现,具体可以包括:检测主用PON口的上行光信号,在主用PON口连续设定帧数(例如4帧)未检测到有效上行光信号的情况下,判定主用PON口产生PON LOS,设置主用PON口状态为不正常,否则,设置主用PON口状态为正常。
在一种可选的实现方式中,备用PON口状态的检测方法,通过对备用PON口的上行光信号的检测实现,具体可以包括:检测备用PON口的上行光信号,在备用PON口检测到特定上行光信号的情况下,设置备用PON口状态为正常;否则,设置备用PON口状态为不正常,并生成备用PON口的主干光纤断的告警消息。
具体实施中,特定上行光信号可以是SD(Signal Detect,信号检测)信号,可以按照设定的第一检测周期(T1),周期性在备用PON口检测是否存在SD信号,第一检测周期一般小于设定的业务恢复时间阈值(SLArecover)。SLArecover为一个设定的时间阈值,表示用户要求的业务恢复时间,可以根据用户需求灵活设定。SD信号是一种ONU发出的指示信号,表示ONU可以进行数据传输。除了SD信号以外,所述特定上行光信号也可以是备用PON口的上行光功率,从而实现对备用PON口状态的检测。
需要说明的是,上述检测备用PON口状态的方法适用于任一备用PON口,通过信号检测可以分别得到每个备用PON口对应的状态。
如果PON口状态信息中还包括倒换指示信息,可以进一步基于备用PON口状态设置倒换指示信息的字段内容,在至少一个备用PON口状态为正常时,设置倒换指示信息为可倒换,在所有备用PON口状态均为不正常时,设置倒 换指示信息为不可倒换,从而可以基于倒换指示信息控制主干光纤主备倒换的执行,提升倒换效率。
S203、在主用PON口状态为不正常的情况下,基于备用PON口状态控制主干光纤主备倒换的执行。
在一种可选的实现方式中,S203具体可以包括:
S2031、在所有备用PON口状态均为不正常的情况下,不发起主干光纤主备倒换,并生成PON保护组异常的告警消息。
S2032、在至少一个备用PON口状态为正常的情况下,根据主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。
可以理解,如果PON口状态信息中还包括倒换指示信息,相应的,在倒换指示信息为不可倒换的情况下,不发起主干光纤主备倒换,并生成PON保护组异常的告警消息,在倒换指示信息为可倒换的情况下,根据主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行,所述业务场景信息可以包括业务场景判断时间和业务场景类型。
具体实施中,主用PON口一般为一个,备用PON口可以为一个或多个(含两个)。在备用PON口为一个的情况下,如果该备用PON口状态为正常,在备用PON口为多个的情况下,如果存在至少一个状态为正常的备用PON口,说明存在可用的备用PON口,则可进一步根据主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。如果所有备用PON口状态均为不正常,说明不存在可用的备用PON口,则不发起主干光纤主备倒换,从而避免无效倒换、以及频繁倒换的产生。
在S2031的具体实施中,生成PON保护组异常的告警消息之后,可以进一步按照设定的第二检测周期(T2),周期性在备用PON口检测是否存在特定上行光信号,其中,特定上行光信号可以包括SD信号,第二检测周期T2需要小于第一检测周期T1;在备用PON口检测到特定上行光信号的情况下,更新设置备用PON口状态为正常,还可以同步更新倒换指示信息为可倒 换,此时已经存在状态为正常的备用PON口,则可执行步骤S2032,即根据主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。
在S2032的具体实施中,可以包括如下步骤:
S2032a、确定主用PON口产生的PON LOS对应的业务场景判断时间和业务场景类型,其中,所述业务场景判断时间用于指示ONU重新上线的时间;示例性的,可以统计计算ONU从掉线到重新上线的平均时间,作为业务场景判断时间。
S2032b、在业务场景判断时间小于或等于设定的业务恢复时间阈值SLArecover的情况下,根据主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行。
S2032c、在业务场景判断时间大于设定的业务恢复时间阈值SLArecover的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据新主用PON口状态、以及原主用PON口产生的PON LOS对应的业务场景类型生成相应的告警消息。
如前所述,本申请实施例中,将主用PON口产生的PON LOS对应的业务场景类型划分为:ONU断电(对应场景1至3)、最后或唯一ONU离线(对应场景4至5)等。
相应的,在S2032b的具体实施中,可以根据主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行,具体的:
在业务场景类型为ONU断电的情况下,不发起主干光纤主备倒换,并中止主、备用PON口状态的更新,直至主用PON口状态恢复为正常。
在业务场景类型为最后或唯一ONU离线的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据新主用 PON口状态生成相应的告警消息。
示例性的,在新主用PON口状态为正常的情况下,生成原主用PON口的主干光纤断的告警消息;在新主用PON口状态为不正常的情况下,恢复原主用PON口的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,进一步为了避免频繁倒换,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止主、备用PON口状态的更新。
相应的,在S2032c的具体实施中,在新主用PON口状态为正常、且原主用PON口产生的PON LOS对应的业务场景类型为最后或唯一ONU离线的情况下,生成原主用PON口的主干光纤断的告警消息;在新主用PON口状态为不正常、且原主用PON口产生的PON LOS对应的业务场景类型为最后或唯一ONU离线的情况下,恢复原主用PON口的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,进一步为了避免频繁倒换,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止主、备用PON口状态的更新。
在一种可选的实现方式中,在停止主干光纤主备倒换,并停止主、备用PON口状态的更新之后,确认PON保护组对应的至少一个ONU中存在ONU重新上线时,转至执行S202即基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤。
本申请实施例提供的主干光纤保护方法,基于PON保护组建立PON口状态信息,PON口状态信息包括主用PON口状态和备用PON口状态,在PON保护组对应的至少一个ONU中存在ONU上线时,通过PON口上行光信号检测实现主、备用PON口状态的检测和更新,由于在PON保护组存在ONU上线时才对PON口状态进行检测,从而可避免ONU从未上过线(never online)的场景下导致的频繁倒换、以及频繁倒换;在检测到主用PON口状态为不正常的情况下,根据备用PON口状态控制主干光纤主备倒换的执行,通过对主、备用PON口状态进行同步监测,在主用PON口状态为不正常时,参考备用 PON口状态,基于备用PON口状态控制主备倒换的执行,从而可避免备用PON口不可用情况下的无效倒换、以及频繁倒换。本方案有效解决了主干光纤保护可能存在的无效倒换、频繁倒换的问题,能够节约系统资源,提升系统性能。
进一步,在主用PON口状态为不正常的情况下,如果备用PON口状态均为不正常则不发起主干光纤主备倒换,如果存在状态正常的备用PON口,会结合主用PON口产生的PON LOS对应的业务场景信息,相应控制主干光纤主备倒换的执行,业务场景信息包括业务场景判断时间和业务场景类型,通过场景识别,有效避免某些场景下的无效倒换、频繁倒换的发生。
下面,以OLT中启用主备两个PON口为例,详细说明本申请实施例提供的主干光纤保护方法,该方法可以应用于OLT,包括如下步骤:
S301、OLT基于PON保护组,建立PON状态信息,PON状态信息可以采用主备PON口状态表的形式存储(以下简称状态表),具体的,基于PON保护组中当前工作的PON口和当前非工作的PON口建立状态表,状态表中包括但不限于如下字段:PON保护组索引,当前工作的PON口标识,主用PON口(工作口)状态,备用PON口(非工作口)状态,倒换指示信息,倒换指示信息可以采用倒换标志位Flag的形式。
PON保护组是一个逻辑聚合概念,本实施例中包括两个物理的PON口,这两个PON口互为主备。在新建立的状态表中,PON保护组索引、当前工作的PON口标识的字段内容可以根据实际索引值、标识值进行设置,而主用PON口状态、备用PON口状态、倒换标志位Flag的字段内容一般初始化设置为“空”,后续基于对主、备用PON口的上行光信号的检测,进行相应的PON口状态的检测和更新,以及设置倒换标志位Flag。
S302、如果PON保护组中任意PON口(主用PON口或备用PON口)下存在ONU上线,执行步骤S303,即开始相关PON口状态的检测和更新;
如果PON保护组中任意PON口下从未有ONU上线(即对应场景6,never online),则不执行相关PON口状态的检测和更新。
S303、OLT基于对PON保护组中PON口的上行光信号的检测,检测并更新主、备用PON口状态,并设置倒换标志位Flag。
下面对OLT基于PON口的上行光信号检测,确定对应的PON口状态的方法进行说明。
主用PON口状态的检测方法,通过检测PON保护组的主用PON口的上行光信号实现,如果在主用PON口连续设定帧数(例如4帧)未检测到有效上行光信号,判定主用PON口产生PON LOS,设置主用PON口状态为Abnormal(不正常),否则,设置主用PON口状态为Normal(正常)。
备用PON口状态的检测方法,通过检测PON保护组的备用PON口的上行光信号实现,包括但不限于检测SD信号、上行光功率等特定上行光信号。如果在备用PON口检测到特定上行光信号,设置备用PON口状态为Normal,否则,设置备用PON口状态为Abnormal,并上报告警“备用PON口的主干光纤断”。
进一步的,倒换标志位Flag可以按照一定的策略设置,当PON保护组中备用PON口(即PON保护组中当前非工作的PON口)状态为Normal,则设置倒换标志位Flag为enable(即可倒换),否则,设置倒换标志位Flag为disable(即不可倒换)。
进一步的,OLT设定并维护定时器T1(T1小于设定的业务恢复时间阈值SLArecover),根据T1周期性检测备用PON口(当前非工作的PON口)状态,并同步到对应的状态表中。
S304、在主用PON口产生PON LOS的情况下,状态表中主用PON口状态为Abnormal,进一步的,根据当前的倒换标志位Flag分别执行不同主备倒换策略,本实施例中,将主干光纤主备倒换简称为主备倒换;
当倒换标志位Flag=enable时,执行步骤S305。
当倒换标志位Flag=disable时,执行步骤S308,即不发起主备倒换,并上报告警“PON保护组异常”。
进一步的,当倒换标志位Flag=disable时,按检测周期T2(T2<T1)检测并同步备用PON口状态。若备用PON口可用,例如T2内在备用PON口检测到SD信号,则更新状态表中备用PON口状态为Normal,同步更新倒换标志位Flag=enable,则直接转至步骤S305,即根据主用PON口产生的PON LOS对应的业务场景信息控制主备倒换。需要说明的是,在备用PON口不可用期间,有足够时间确定主用PON口产生的PON LOS对应的业务场景信息。
S305、根据主用PON口产生的PON LOS对应的业务场景信息,控制主备倒换的执行:
当主用PON口产生的PON LOS对应的业务场景判断时间≤SLArecover,则根据PON LOS对应的业务场景类型判断是否进行主备倒换,即转至步骤S306。
当主用PON口产出的PON LOS对应的业务场景判断时间>SLArecover,则先发起主备倒换,再根据倒换后的新主用PON口状态(ONU上线情况)、以及原主用PON口产生的PON LOS对应的业务场景类型进行处理,即转至步骤S307。
S306、根据主用PON口产生的PON LOS对应的业务场景类型,控制主备倒换的执行,具体的:
如果主用PON口产生的PON LOS对应的业务场景类型为ONU断电(对应场景1至3),则不发起主备倒换,并中止主、备用PON口状态的更新,直至主用PON口恢复。
如果主用PON口产生的PON LOS对应的业务场景类型为最后/唯一ONU离线(对应场景4至5),则发起主备倒换,并检测倒换后的新主用PON口状态,若倒换后的新主用PON口状态为Normal(包括但不限于ONU上线, 或在新主用PON口检测到有效上行光信号),则上报告警为“原主用PON口的主干光纤断”;若倒换后的新主用PON口状态为Abnormal,则恢复原主用PON口的PON LOS业务场景告警,且上报告警为“相应ONU LOSi或支路光纤断”。
进一步的,可以根据一定策略停止主备倒换或者倒换回原主用PON口后停止主备倒换,示例性的,达到设定的倒换次数阈值时停止主备倒换,以避免由于主备PON口均LOS时,主备PON口之间的频繁倒换,同时停止主备PON口状态同步。
进一步的,当PON保护组中任意PON口(即主用PON口或备用PON口)下存在ONU重新上线,转至步骤S303,开始相关PON口状态的检测和更新。
S307、OLT先发起主备倒换,再根据倒换后的新主用PON口状态(ONU上线情况)、以及原主用PON口产生的PON LOS对应的业务场景类型进行处理,具体的:
7.1如果倒换后的新主用PON口状态为Normal(即相关ONU上线),且原主用PON口产生的PON LOS对应的业务场景类型为最后/唯一ONU离线(对应场景4至5),则生成告警为“原主用PON口的主干光纤断”。
7.2如果倒换后的新主用PON口状态为Abnormal(即相关ONU未上线),且原主用PON口产生的PON LOS对应的业务场景类型为最后/唯一ONU离线(对应场景4至5),则恢复原主用PON口的PON LOS业务场景告警,且上报告警为“相应ONU LOSi或支路光纤断”。
7.3进一步的,当倒换后的新主用PON口状态为Abnormal(即相关ONU未上线),按照一定策略停止主备倒换或倒换回原主用PON口后停止主备倒换,以避免由于主、备用PON口均LOS时,主、备用PON口之间的频繁倒换,同时停止主、备用PON口状态的更新。
7.4进一步的,当PON保护组中任意PON口(即主用PON口或备用PON 口)下存在ONU重新上线,转至步骤S303,开始相关PON口状态的检测和更新。
上述应用于OLT的主干光纤保护方法,有效解决了主干光纤保护可能存在的无效倒换、频繁倒换的问题,能够节约系统资源,提升系统性能。
此外,与上述图2所示的主干光纤保护方法相对应地,本申请实施例还提供一种主干光纤保护装置,该装置可以设置于xPON系统的OLT、EMS等设备中。本申请的一个实施例提供的一种主干光纤保护装置400,如图4所示,包括:
建立模块401,用于基于PON保护组,建立PON口状态信息,其中,所述PON保护组中包括至少两个PON口,所述至少两个PON口通过各自的主干光纤与所述PON保护组对应的至少一个ONU连接,所述PON口状态信息至少包括主用PON口状态和备用PON口状态,所述主用PON口为所述至少两个PON口中当前工作的PON口,所述备用PON口为所述至少两个PON口中当前非工作的PON口。
检测更新模块402,用于确认所述PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态。
倒换控制模块403,用于在主用PON口状态为不正常的情况下,基于备用PON口状态控制主干光纤主备倒换的执行。
具体实施中,所述PON口状态信息还可以包括如下至少之一:PON保护组索引、当前工作的PON口标识、倒换指示信息;其中,在至少一个备用PON口状态为正常时,设置倒换指示信息为可倒换,在所有备用PON口状态均为不正常时,设置倒换指示信息为不可倒换。
在一种可选的实现方式中,检测更新模块402的可选结构,可以包括:
主用检测子模块421,用于检测主用PON口的上行光信号,在主用PON 口连续设定帧数未检测到有效上行光信号的情况下,判定主用PON口产生PON LOS,设置主用PON口状态为不正常,否则,设置主用PON口状态为正常。
第一备用检测子模块422,用于检测备用PON口的上行光信号,在备用PON口检测到特定上行光信号的情况下,设置备用PON口状态为正常;否则,设置备用PON口状态为不正常,并生成相应备用PON口的主干光纤断的告警消息。
具体实施中,所述第一备用检测子模块422,具体用于按照设定的第一检测周期,周期性在所述备用PON口检测是否存在特定上行光信号,其中,所述特定上行光信号包括SD指示信号,所述第一检测周期小于设定的业务恢复时间阈值SLArecover。
在一种可选的实现方式中,倒换控制模块403的可选结构,可以包括:
第一控制子模块431,用于在主用PON口状态为不正常、且所有备用PON口状态均为不正常的情况下,不发起主干光纤主备倒换,并生成PON保护组异常的告警消息;第二控制子模块432,用于在主用PON口状态为不正常、且至少一个备用PON口状态为正常的情况下,根据主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。
具体实施中,所述检测更新模块402还可以包括第二备用检测子模块423,其中:所述第一控制子模块431,还用于在生成PON保护组异常的告警消息之后,触发所述第二备用检测子模块423;所述第二备用检测子模块423,用于按照设定的第二检测周期,周期性在所述备用PON口检测是否存在特定上行光信号,其中,所述特定上行光信号包括SD指示信号,所述第二检测周期小于第一检测周期;在备用PON口检测到特定上行光信号的情况下,更新设置备用PON口状态为正常,以及触发所述第二控制子模块432。
具体实施中,所述第二控制子模块432,具体用于:确定所述主用PON口产生的PON LOS对应的业务场景判断时间和业务场景类型,其中,所述 业务场景判断时间用于指示ONU重新上线的时间;在所述业务场景判断时间小于或等于设定的业务恢复时间阈值SLArecover的情况下,根据所述主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行;在所述业务场景判断时间大于设定的业务恢复时间阈值SLArecover的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据所述新主用PON口状态、以及原主用PON口产生的PON LOS对应的业务场景类型生成相应的告警消息。
其中,所述第二控制子模块432在根据所述主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行的过程中,具体用于:在所述业务场景类型为ONU断电的情况下,不发起主干光纤主备倒换,并中止所述主、备用PON口状态的更新,直至所述主用PON口状态恢复为正常;在所述业务场景类型为最后或唯一ONU离线的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据所述新主用PON口状态生成相应的告警消息。
所述第二控制子模块432在所述检测倒换后的新主用PON口状态,根据所述新主用PON口状态生成相应的告警消息的过程中,具体用于:在所述新主用PON口状态为正常的情况下,生成原主用PON口的主干光纤断的告警消息;在所述新主用PON口状态为不正常的情况下,恢复原主用PON口的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新。
所述第二控制子模块432在根据所述新主用PON口状态、以及原主用PON口产生的PON LOS对应的业务场景类型生成相应的告警消息的过程中,具体用于:在所述新主用PON口状态为正常、且原主用PON口产生的PON  LOS对应的业务场景类型为最后或唯一ONU离线的情况下,生成原主用PON口的主干光纤断的告警消息;在所述新主用PON口状态为不正常、且原主用PON口产生的PON LOS对应的业务场景类型为最后或唯一ONU离线的情况下,恢复原主用PON口的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新。
在一种可选的实现方式中,所述检测更新模块402,还用于在所述停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新之后,确认所述PON保护组对应的至少一个ONU中存在ONU重新上线时,转至执行所述基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤。
在一种可选的实现方式中,所述检测更新模块402,还用于在所述PON保护组对应的至少一个ONU中未出现ONU上线的情况下,不执行所述基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤。
显然,本申请实施例的主干光纤保护装置可以作为上述图2所示的主干光纤保护方法的执行主体,因此能够实现的方法在图2所实现的功能。由于原理相同,在此不再赘述。
本申请实施例提供的主干光纤保护装置,在PON保护组存在ONU上线时才对PON口状态进行检测,从而可避免ONU从未上过线(never online)的场景下导致的无用倒换、以及频繁倒换;通过同步主、备用PON口状态,实现对备用PON口的状态监测,避免备用PON口不可用情况下的无效倒换、以及频繁倒换;进一步的,结合导致PON LOS的业务场景,通过场景识别,有效避免某些场景下的无效倒换、频繁倒换的发生。
可选地,如图5所示,本申请实施例还提供一种电子设备500,包括处理器501和存储器502,存储器502上存储有可在所述处理器501上运行的 程序或指令,该程序或指令被处理器501执行时实现上述主干光纤保护方法的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括移动电子设备和非移动电子设备。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述主干光纤保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述主干光纤保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述主干光纤保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可 包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种主干光纤保护方法,其中,包括:
    基于无源光网络PON保护组,建立PON口状态信息,其中,所述PON保护组中包括至少两个PON口,所述至少两个PON口通过各自的主干光纤与所述PON保护组对应的至少一个光网络单元ONU连接,所述PON口状态信息至少包括主用PON口状态和备用PON口状态,所述主用PON口为所述至少两个PON口中当前工作的PON口,所述备用PON口为所述至少两个PON口中当前非工作的PON口;
    确认所述PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态;
    在所述主用PON口状态为不正常的情况下,基于所述备用PON口状态控制主干光纤主备倒换的执行。
  2. 根据权利要求1所述的方法,其中,所述基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态,包括:
    检测主用PON口的上行光信号,在所述主用PON口连续设定帧数未检测到有效上行光信号的情况下,判定所述主用PON口产生PON LOS,设置所述主用PON口状态为不正常,否则,设置所述主用PON口状态为正常;
    检测备用PON口的上行光信号,在所述备用PON口检测到特定上行光信号的情况下,设置所述备用PON口状态为正常;否则,设置所述备用PON口状态为不正常,并生成所述备用PON口的主干光纤断的告警消息。
  3. 根据权利要求2所述的方法,其中,所述检测备用PON口的上行光信号,包括:
    按照设定的第一检测周期,周期性在所述备用PON口检测是否存在特定上行光信号,其中,所述特定上行光信号包括信号检测SD信号,所述第一检测周期小于设定的业务恢复时间阈值。
  4. 根据权利要求3所述的方法,其中,在所述主用PON口状态为不正常的情况下,基于所述备用PON口状态控制主干光纤主备倒换的执行,包括:
    在所述主用PON口状态为不正常、且所有备用PON口状态均为不正常的情况下,不发起主干光纤主备倒换,并生成PON保护组异常的告警消息;
    在所述主用PON口状态为不正常、且至少一个备用PON口状态为正常的情况下,根据所述主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    在生成PON保护组异常的告警消息之后,按照设定的第二检测周期,周期性在所述备用PON口检测是否存在特定上行光信号,其中,所述特定上行光信号包括信号检测SD信号,所述第二检测周期小于所述第一检测周期;
    在所述备用PON口检测到特定上行光信号的情况下,更新设置所述备用PON口状态为正常,以及根据所述主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行。
  6. 根据权利要求4或5所述的方法,其中,所述根据所述主用PON口产生的PON LOS对应的业务场景信息,控制主干光纤主备倒换的执行,包括:
    确定所述主用PON口产生的PON LOS对应的业务场景判断时间和业务场景类型,其中,所述业务场景判断时间用于指示ONU重新上线的时间;
    在所述业务场景判断时间小于或等于设定的业务恢复时间阈值的情况下,根据所述主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行;
    在所述业务场景判断时间大于设定的业务恢复时间阈值的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据所述新主用PON口状态、以及原主用PON口产生的PON LOS对应的 业务场景类型生成相应的告警消息。
  7. 根据权利要求6所述的方法,其中,所述根据所述主用PON口产生的PON LOS对应的业务场景类型,控制主干光纤主备倒换的执行,包括:
    在所述业务场景类型为ONU断电的情况下,不发起主干光纤主备倒换,并中止所述主、备用PON口状态的更新,直至所述主用PON口状态恢复为正常;
    在所述业务场景类型为最后或唯一ONU离线的情况下,发起主干光纤主备倒换,将状态为正常的原备用PON口倒换为当前工作的PON口,成为倒换后的新主用PON口;以及,检测倒换后的新主用PON口状态,根据所述新主用PON口状态生成相应的告警消息。
  8. 根据权利要求7所述的方法,其中,所述检测倒换后的新主用PON口状态,根据所述新主用PON口状态生成相应的告警消息,包括:
    在所述新主用PON口状态为正常的情况下,生成原主用PON口的主干光纤断的告警消息;
    在所述新主用PON口状态为不正常的情况下,恢复原主用PON口的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新。
  9. 根据权利要求6所述的方法,其中,所述根据所述新主用PON口状态、以及原主用PON口产生的PON LOS对应的业务场景类型生成相应的告警消息,包括:
    在所述新主用PON口状态为正常、且原主用PON口产生的PON LOS对应的业务场景类型为最后或唯一ONU离线的情况下,生成原主用PON口的主干光纤断的告警消息;
    在所述新主用PON口状态为不正常、且原主用PON口产生的PON LOS对应的业务场景类型为最后或唯一ONU离线的情况下,恢复原主用PON口 的PON LOS告警,生成相应ONU LOSi或支路光纤断的告警消息,在达到设定的倒换次数阈值时停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新。
  10. 根据权利要求8或9所述的方法,其中,所述方法还包括:
    在所述停止主干光纤主备倒换,并停止所述主、备用PON口状态的更新之后,确认所述PON保护组对应的至少一个ONU中存在ONU重新上线时,转至执行所述基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤。
  11. 根据权利要求1所述的方法,其中,所述方法还包括:
    在所述PON保护组对应的至少一个ONU中未出现ONU上线的情况下,不执行所述基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态的步骤。
  12. 根据权利要求2所述的方法,其中,PON口状态信息还包括如下至少之一:PON保护组索引、当前工作的PON口标识、倒换指示信息;
    在至少一个备用PON口状态为正常时,设置所述倒换指示信息为可倒换,在所有备用PON口状态均为不正常时,设置所述倒换指示信息为不可倒换。
  13. 一种主干光纤保护装置,其中,包括:
    建立模块,用于基于PON保护组,建立PON口状态信息,其中,所述PON保护组中包括至少两个PON口,所述至少两个PON口通过各自的主干光纤与所述PON保护组对应的至少一个ONU连接,所述PON口状态信息至少包括主用PON口状态和备用PON口状态,所述主用PON口为所述至少两个PON口中当前工作的PON口,所述备用PON口为所述至少两个PON口中当前非工作的PON口;
    检测更新模块,用于确认所述PON保护组对应的至少一个ONU中存在ONU上线时,基于对主、备用PON口的上行光信号的检测,检测并更新主、备用PON口状态;
    倒换控制模块,用于在所述主用PON口状态为不正常的情况下,基于所述备用PON口状态控制主干光纤主备倒换的执行。
  14. 一种电子设备,其中,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行,以实现如权利要求1至12中任一项所述的主干光纤保护方法。
  15. 一种可读存储介质,其中,当所述可读存储介质中的程序或指令由电子设备的处理器执行时,使得电子设备能够执行如权利要求1至12中任一项所述的主干光纤保护方法。
PCT/CN2024/095499 2023-06-13 2024-05-27 一种主干光纤保护方法、装置、设备及可读存储介质 Ceased WO2024255578A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310699680.XA CN119136084A (zh) 2023-06-13 2023-06-13 一种主干光纤保护方法、装置、设备及可读存储介质
CN202310699680.X 2023-06-13

Publications (1)

Publication Number Publication Date
WO2024255578A1 true WO2024255578A1 (zh) 2024-12-19

Family

ID=93764219

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/095499 Ceased WO2024255578A1 (zh) 2023-06-13 2024-05-27 一种主干光纤保护方法、装置、设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN119136084A (zh)
WO (1) WO2024255578A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119603586B (zh) * 2025-02-06 2025-07-22 新华三信息技术有限公司 数据传输的方法、装置、电子设备以及fttr网络系统
CN119853788B (zh) * 2025-03-18 2025-07-04 西安西电电力系统有限公司 一种阀控设备到晶闸管的光纤连接冗余系统及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237254A (zh) * 2008-02-27 2008-08-06 杭州华三通信技术有限公司 光纤保护倒换装置、方法及具有该装置的无源光网络系统
US20100166419A1 (en) * 2008-12-30 2010-07-01 Broadlight, Ltd. Techniques for protecting passive optical networks
CN101888268A (zh) * 2009-05-14 2010-11-17 中兴通讯股份有限公司 一种在以太无源光网络实现主干光纤保护的方法和装置
CN102064885A (zh) * 2010-12-17 2011-05-18 武汉烽火网络有限责任公司 10g-epon系统中任意槽位pon端口快速保护倒换的方法、装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237254A (zh) * 2008-02-27 2008-08-06 杭州华三通信技术有限公司 光纤保护倒换装置、方法及具有该装置的无源光网络系统
US20100166419A1 (en) * 2008-12-30 2010-07-01 Broadlight, Ltd. Techniques for protecting passive optical networks
CN101888268A (zh) * 2009-05-14 2010-11-17 中兴通讯股份有限公司 一种在以太无源光网络实现主干光纤保护的方法和装置
CN102064885A (zh) * 2010-12-17 2011-05-18 武汉烽火网络有限责任公司 10g-epon系统中任意槽位pon端口快速保护倒换的方法、装置

Also Published As

Publication number Publication date
CN119136084A (zh) 2024-12-13

Similar Documents

Publication Publication Date Title
CN102369737B (zh) 光网络系统的数据通信方法、光网络单元及系统
US9179204B2 (en) Optical network system
CN101150367B (zh) 一种无源光网络olt设备的备份方法及设备
WO2024255578A1 (zh) 一种主干光纤保护方法、装置、设备及可读存储介质
US20120134664A1 (en) Joint switching method for an aggregation node, aggregation node and system
CN102480323B (zh) 一种实现olt异地容灾的系统和方法
JP5426782B2 (ja) 通信システム、通信回線切替方法および親局装置
CN103891177B (zh) 无源光网络的保护倒换方法、系统及装置
CN101350679A (zh) 基于以太网无源光网络的保护倒换方法、系统和设备
CN100589416C (zh) 一种自动交换光网络系统中业务产生告警时的维护方法
WO2010133065A1 (zh) 基于无源光网络的保护系统和方法
WO2011085576A1 (zh) 实现分布式保护的方法、无源光网络系统及光线路终端
CN102209008A (zh) 一种用于智能弹性架构的多激活检测方法和设备
JP2012213121A (ja) 通信システムにおける局側装置および通信制御方法
WO2011147147A1 (zh) 无源光网络中实现线路倒换后业务恢复的方法、系统及onu
JP5940994B2 (ja) Ponシステム
CN106161070B (zh) 一种xPON组播业务监控方法、装置以及OLT设备
JP6287404B2 (ja) 局側装置
CN103731282A (zh) 无源光网络中实现业务快速切换的方法及系统及相关设备
US20250317199A1 (en) PON fault notification in a multi-homed protection environment
JP2013247581A (ja) 光通信ネットワークシステム、並びに、親局通信装置及びプログラム、並びに、子局通信装置及びプログラム
WO2013187098A1 (ja) 光伝送システム、局側光終端装置および通信回線切替方法
JP5986020B2 (ja) Ponシステム
CN118199717A (zh) 一种光纤通信保护方法、装置及设备
CN115334377A (zh) 网络设备控制方法、装置、设备、系统及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24822530

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE