WO2024002275A1 - Trunk optical path protection method and system, optical matrix device, electronic device, and medium - Google Patents

Trunk optical path protection method and system, optical matrix device, electronic device, and medium Download PDF

Info

Publication number
WO2024002275A1
WO2024002275A1 PCT/CN2023/104088 CN2023104088W WO2024002275A1 WO 2024002275 A1 WO2024002275 A1 WO 2024002275A1 CN 2023104088 W CN2023104088 W CN 2023104088W WO 2024002275 A1 WO2024002275 A1 WO 2024002275A1
Authority
WO
WIPO (PCT)
Prior art keywords
pon port
backup
optical
interface
cluster
Prior art date
Application number
PCT/CN2023/104088
Other languages
French (fr)
Chinese (zh)
Inventor
余辰东
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024002275A1 publication Critical patent/WO2024002275A1/en

Links

Classifications

    • 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/032Arrangements for fault recovery using working and protection systems
    • 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/25Arrangements specific to fibre transmission
    • 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/25Arrangements specific to fibre transmission
    • H04B10/2589Bidirectional transmission
    • H04B10/25891Transmission components

Definitions

  • Embodiments of the present disclosure relate to, but are not limited to, the field of communication technology, and in particular to backbone optical path protection methods and systems, optical matrix equipment, electronic equipment, and computer-readable media.
  • the system consists of network management server 101, optical line terminal (OLT, Optical Line Terminal) 102, optical distribution network ( ODN, Optical Distribution Network) 103 and several optical network units (ONU, Optical Network Unit) 104.
  • OLT optical line terminal
  • ODN optical distribution network
  • ONU optical Network Unit
  • OLT 102 connects and aggregates multiple ONUs 104 in units of PON ports through ODN103.
  • ONU 104 realizes access to user services, thereby realizing functions such as data services and configuration management.
  • P2MP Point To Multiply Point
  • point refers to the PON port of OLT 102
  • multipoint refers to PON.
  • Multiple ONU104 connected under the port.
  • the aggregation of multiple ONU 104 connections is generally achieved through optical splitters.
  • the optical splitters in the network generally achieve multi-level splitting through cascade.
  • the optical splitter directly connected to the PON port of the OLT 102 is called a primary optical splitter, the optical splitter connected to the primary optical splitter is called a secondary optical splitter, and so on.
  • the optical link connecting the PON port of the OLT102 and the first-level optical splitter is called the backbone optical path or the backbone optical fiber (the backbone optical path will be used to describe the following, and the backbone optical path and the backbone optical fiber are equivalent), and other optical links are called branches.
  • Optical path or branch optical fiber (the following paragraphs will use branch optical path for description, and branch optical path and branch optical fiber are equivalent).
  • Embodiments of the present disclosure provide a backbone optical path protection method and system, optical matrix equipment, electronic equipment, and computer-readable media.
  • embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical matrix equipment.
  • the method includes: receiving switching action information based on a first correspondence relationship and a second correspondence relationship sent by an optical line terminal, wherein:
  • the first correspondence is the correspondence between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device
  • the second correspondence is the backup PON port in the backup PON port cluster and the The corresponding relationship between the outbound interfaces of the optical matrix device, the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; according to the switching action information control and the first
  • the first optical network unit group connected to the main PON port is connected to the first backup PON port selected from the backup PON port cluster, wherein the first main PON port is the main PON port in the main PON port cluster that has an abnormality.
  • embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical line terminals.
  • the method includes: obtaining a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is a primary passive optical path protection method.
  • the corresponding relationship between the main PON port in the network PON port cluster and the incoming interface of the optical matrix device, and the second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outgoing interface of the optical matrix device.
  • Relationship when it is detected that the first primary PON port in the primary PON port cluster is abnormal, select the first backup PON port from the backup PON port cluster, wherein the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; migrate the data of the first primary PON port to the first backup PON port; and
  • the optical matrix device sends switching action information, and the switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first backup PON port.
  • embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical line terminals.
  • the method includes: obtaining a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is a primary passive optical path protection method.
  • the corresponding relationship between the main PON port in the network PON port cluster and the incoming interface of the optical matrix device, and the second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outgoing interface of the optical matrix device.
  • Relationship when an abnormality is detected in the first primary PON port in the primary passive optical network PON port cluster, select the first backup PON port from the backup PON port cluster, wherein the backup PON port in the backup PON port cluster
  • the number of PON ports is less than or equal to the main PON port in the main PON port cluster.
  • Quantity migrate the data of the first main PON port to the first backup PON port; control the first optical fiber connected to the first main PON port according to the first corresponding relationship and the second corresponding relationship.
  • the network unit group is connected to the first backup PON port.
  • embodiments of the present disclosure provide an electronic device, including: at least a first processor; a first memory, where at least one first program is stored on the first memory. When the at least one first program is When the at least one first processor is executed, any one of the above trunk optical path protection methods is implemented.
  • embodiments of the present disclosure provide a computer-readable medium.
  • a computer program is stored on the computer-readable medium.
  • the computer program is executed by a processor, any one of the above-mentioned backbone optical path protection methods is implemented.
  • embodiments of the present disclosure provide an optical matrix device, including: at least a second processor; a second memory, at least one second program stored on the second memory.
  • the at least one second program When executed by the at least one second processor, any one of the above trunk optical path protection methods is implemented.
  • an embodiment of the present disclosure provides an electronic device, including: at least a third processor; a third memory, at least one third program stored on the third memory.
  • the at least one third program is When the at least one third processor is executed, any one of the above trunk optical path protection methods is implemented.
  • embodiments of the present disclosure provide a backbone optical path protection system, including: an optical line terminal and an optical matrix device, wherein the optical line terminal is configured to obtain a first correspondence relationship and a second correspondence relationship; wherein, the optical line terminal
  • the first correspondence is the correspondence between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device
  • the second correspondence is the backup PON port in the backup PON port cluster and the optical matrix device.
  • the corresponding relationship between the outgoing interfaces when an abnormality is detected in the first primary PON port in the primary passive optical network PON port cluster, select the first backup PON port from the backup PON port cluster, wherein, the The number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; the data of the first primary PON port is migrated to the first backup PON port; according to the first A corresponding relationship and the second corresponding relationship send switching action information to the optical matrix device.
  • the switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port.
  • the optical matrix device is configured to receive switching action information based on the first correspondence and the second correspondence sent by the optical line terminal; and control the communication with the first correspondence according to the switching action information.
  • the first optical network unit group connected to the main PON port is connected to the first backup PON port.
  • Figure 1 is a schematic diagram of the architecture of a networking system in related technologies
  • Figure 2 is a schematic architectural diagram of a backbone optical path protection system provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram 1 of the composition of an optical matrix device provided by an embodiment of the present disclosure
  • Figure 4 is a schematic diagram 2 of the composition of an optical matrix device provided by an embodiment of the present disclosure.
  • Figure 5 is a flow chart of a backbone optical path protection method for an OLT when the optical matrix device provided by an embodiment of the present disclosure is used as an external device;
  • Figure 6 is a flow chart of a backbone optical path protection method applied to an optical matrix device when the optical matrix device provided by another embodiment of the present disclosure is used as an external device;
  • Figure 7(a) is a schematic diagram 1 of the composition of the first optical matrix module provided by an embodiment of the present disclosure
  • Figure 7(b) is a schematic diagram 2 of the composition of the first optical matrix module provided by an embodiment of the present disclosure
  • Figure 7(c) is a schematic diagram 3 of the composition of the first optical matrix module provided by an embodiment of the present disclosure.
  • Figure 8(a) is a schematic diagram 1 of the composition of the second optical matrix module provided by an embodiment of the present disclosure
  • Figure 8(b) is a schematic diagram 2 of the composition of the second optical matrix module provided by an embodiment of the present disclosure.
  • Figure 9 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by another embodiment of the present disclosure is built into the OLT;
  • Figure 10 is a schematic diagram of the composition of an optical matrix device provided by another embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of the composition of an electronic device provided by another embodiment of the present disclosure.
  • ONU104 is connected to the corresponding PON port of OLT 102 through the main optical path and is in working mode.
  • the PON port in this state is called the active PON port
  • the trunk optical path connected to the active PON port is called the active trunk optical path.
  • the OLT 102 controls the service switching to the backup trunk optical path.
  • the ONU 104 is connected to the corresponding PON port of the OLT 102 through the backup trunk optical path.
  • the PON port is called the backup PON port.
  • This protection mechanism is called trunk fiber protection. (i.e. TYPEB protection).
  • the TYPEB protection mechanism can protect ONU services under the PON port.
  • this will bring about two problems: 1) Since the main and backup optical paths are used to connect the main and backup PON ports respectively, the resource utilization rate of the OLT's PON port will decrease, up to 50%, which may lead to the increase of existing PON ports.
  • the backbone optical path protection system in this disclosed embodiment includes: OLT 201 and optical matrix device 202. It may also include a network management server (not shown in Figure 2), ODN 203 and ONU (not shown in Figure 2).
  • the network management server is responsible for the configuration, management or maintenance of OLT 201 and its affiliated ONUs; And manage the historical information of OLT 201 and ONU as well as related alarm and notification messages. And based on the PON protection switching-related alarms or notification messages reported by the OLT 201, dynamic maintenance and reminder manual intervention of the relevant network can be realized.
  • OLT 201 realizes ONU registration and maintenance based on PON port.
  • ODN 203 is used to connect different numbers of ONUs under OLT 201.
  • a direct physical connection channel between OLT 201 and ONU it may be composed of multiple physical devices, including but not limited to:
  • the trunk optical path (main and backup) is used to connect the primary optical splitter and the corresponding PON port of the OLT. Generally, a single PON port is used, but when the protection mode is used, two main and backup PON ports are enabled.
  • Optical splitters are generally based on ODN network planning and network construction. One or more optical splitters are combined to achieve the splitting ratio. Generally, the maximum splitting ratio is 1:128 or 1:256. Since the splitter will Introducing light attenuation, so the optical splitter cascade generally does not exceed three levels. Among them, the optical splitter directly connected to the OLT PON port is a first-level optical splitter, and the other cascaded optical splitters are called second-level optical splitters or third-level optical splitters (referred to as n-level optical splitters).
  • Branch optical fiber the optical path connecting the multi-stage optical splitters and the optical path directly connected to the ONU are called branch optical fibers.
  • ONU used to access the terminal equipment of home users, accepts the management of OLT 201, receives the link identifier assigned by OLT 201 during the registration process to complete ONU registration, and uploads data in the uniformly allocated time slot window according to OLT 201 to complete service forwarding.
  • the optical matrix device 202 is used to connect two or more backup backbone optical paths to the corresponding backup PON port on the OLT 201.
  • the optical matrix device 202 may be built into the OLT 201, and may be connected to the m spare PON ports of the OLT 201 through m internal links, or may be connected to the OLT 201 through m+1 internal links. The connection of m+1 backup PON ports.
  • the optical matrix device 202 can also be used as an external device to be connected to the m spare PON ports of the OLT 201 through m optical fibers, or to the m+1 spare PON ports of the OLT 201 through m+1 optical fibers. PON port connection.
  • the optical matrix device 202 includes: a trunk optical splitter 301, a registration access module 302, a control module 303, a first optical matrix module 304 and a second optical matrix module. 305.
  • the registration access module 302 and the control module 303 can be implemented using a processor and a memory. Programs are stored in the memory. When the program stored in the memory is executed by the processor, Now register the functions of the access module 302 and the control module 303.
  • the backbone optical splitter 301 may be a 1:2 optical splitter.
  • the optical matrix device 202 includes m outlet interfaces and n inlet interfaces. Among them, these m outgoing interfaces are respectively connected to m backup PON ports of OLT201. Specifically, each of the m outgoing interfaces is connected to one of the m standby PON ports of the OLT201, and different standby PON ports are connected to different outgoing interfaces.
  • the backbone optical path of the backbone optical splitter 301 is connected to one of the output interfaces of the optical matrix device 202. As shown in Figure 3, the output interface I1 is connected.
  • the remaining m-1 output interfaces of the optical matrix device 202 are respectively connected to the first optical matrix module 304.
  • n incoming interfaces are respectively connected to the backup backbone optical path corresponding to the first-level optical splitter through n optical fibers, and are finally connected to each ONU.
  • Each of the n incoming interfaces is connected to the backup backbone optical path of a first-level optical splitter.
  • Different The primary optical splitter connected to the input interface is different, and m is smaller than n.
  • the trunk optical splitter 301 may also be a 2:2 optical splitter, and the two trunk optical paths of the trunk optical splitter 301 have a master-standby relationship.
  • the optical matrix device 202 includes m+1 egress interfaces and n ingress interfaces. Among them, these m+1 outgoing interfaces are respectively connected to m+1 backup PON ports of OLT201. Specifically, each of the m+1 outbound interfaces is connected to one of the m+1 spare PON ports of the OLT201, and the spare PON ports connected to different outbound interfaces are different.
  • the two trunk optical paths of the trunk optical splitter 301 are respectively connected to two outgoing interfaces of the optical matrix device 202.
  • the outgoing interfaces I1 and I2 are connected, and the remaining m-1 outgoing interfaces of the optical matrix device 202 are connected. They are respectively connected to the m-1 trunk optical paths of the first optical matrix module 304.
  • These n incoming interfaces are respectively connected to the backup backbone optical path corresponding to the first-level optical splitter through n optical fibers, and are finally connected to each ONU.
  • Each of the n incoming interfaces is connected to the backup backbone optical path of a first-level optical splitter. Different The primary optical splitter connected to the input interface is different, and m is smaller than n.
  • the outbound interface connected to the backbone optical path of the backbone optical splitter is called the basic management outbound interface
  • the backup PON port connected to the basic management outbound interface is called the basic registration management PON port.
  • the basic registration management PON port can be manually specified through network planning, or it can be automatically identified by the OLT after receiving the registration signal of the optical matrix device.
  • main trunk optical path of the first-level optical splitter is directly connected to the main PON port of the OLT.
  • the registration access module 302 is connected to the outbound interface of the optical matrix device 202 through the trunk optical splitter 301, and is used to realize the registration access of the optical matrix device 202 on the OLT 201 through the internal virtual registration link D0.
  • the m outlet interfaces refer to the interface I1 to the outlet interface Im; when the trunk optical splitter 301 is a 2:2 optical splitter, the m outlet interfaces It refers to interface I1, outgoing interface I3 to outgoing interface I(m+1), or outgoing interface I2, outgoing interface I3 to outgoing interface I(m+1).
  • control module 303 is used to control the registration access module 302 to implement corresponding functions, and to control the connection or disconnection of the first optical matrix module 304 and the second optical matrix module 305.
  • the first optical matrix module 304 is used to connect or disconnect the outgoing interface and the internal interface under the control of the control module 303.
  • the m-1 output interfaces of the optical matrix device 202 are respectively connected to the m-1 trunk optical paths of the first optical matrix module 304, and the m internal interfaces of the optical matrix device 202 are respectively connected to the first optical matrix module 304.
  • the m branch optical paths of the optical matrix module 304 are connected, and the connection between any one of the m output interfaces of the optical matrix device 202 and any one of the m internal interfaces of the optical matrix device 202 realizes any first An internal link is connected.
  • the second optical matrix module 305 is used to connect or disconnect the internal interface and the incoming interface under the control of the control module 303.
  • the m internal interfaces of the optical matrix device 202 are respectively connected to the m trunk optical paths of the second optical matrix module 304, and the n input interfaces of the optical matrix device 202 are respectively connected to the second optical matrix module 304.
  • the n branch optical paths are connected, and the connection between any one of the m internal interfaces of the optical matrix device 202 and any one of the n incoming interfaces of the optical matrix device 202 realizes any second internal link. of connection.
  • Figure 5 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by an embodiment of the present disclosure is used as an external device.
  • an embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to OLT.
  • the method includes:
  • Step 500 Obtain the first correspondence relationship and the second correspondence relationship; wherein, the first correspondence relationship is the correspondence relationship between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is the backup PON port. Correspondence between the backup PON port in the cluster and the outbound interface of the optical matrix device.
  • the main PON port cluster includes A collection of main PON ports connected to the main backbone optical path corresponding to the backup backbone optical path.
  • the number of primary PON ports in the primary PON port cluster can be determined based on the number of PON ports in the same OLT that have trunk optical path interruptions at the same time.
  • the number of PON ports with trunk optical path interruptions at the same time can refer to the number of PON ports with unrecovered PON offline (PON LOS) alarms within the same time period.
  • PON LOS PON offline
  • the number of main PON interfaces in the main PON interface cluster is the number of PON interfaces in the same OLT whose main optical path is interrupted at the same time.
  • the number of main PON ports in the main PON port cluster is the sum of the number of PON ports that have trunk optical path interruptions in the PON ports of the same OLT at the same time and the preset value.
  • the preset value is within the tolerable range.
  • the backup PON port cluster includes a set of backup PON ports connected to the egress interface of the optical matrix device.
  • the following describes respectively how to obtain the first correspondence relationship and the second correspondence relationship.
  • the first correspondence relationship may be confirmed through network planning.
  • obtaining the first correspondence includes: receiving the first correspondence sent by the light matrix device.
  • obtaining the first correspondence includes: receiving a third correspondence between the ingress interface and the optical network unit sent by the optical matrix device, and according to the third correspondence, and between the main PON port and the optical network unit.
  • the fourth correspondence relationship is to establish or update the first correspondence relationship corresponding to the second incoming interface; wherein the second incoming interface is any incoming interface.
  • establishing or updating the first correspondence relationship corresponding to the second ingress interface includes: according to whether there is a second ingress interface.
  • the three main PON ports are the main PON ports in the fourth corresponding relationship corresponding to the optical network unit in the third corresponding relationship corresponding to the second incoming interface.
  • establishing or updating is performed based on whether there is a first corresponding relationship corresponding to the second incoming interface, and whether the main PON port and the third main PON port in the first corresponding relationship corresponding to the second incoming interface are the same.
  • the first correspondence relationship corresponding to the second inlet interface includes at least one of the following:
  • the first correspondence relationship further includes: the status of the incoming interface.
  • the method further includes: determining the status of the link connected to the second inbound interface according to the status of the second inbound interface.
  • determining the status of the link connected to the second inbound interface based on the status of the second inbound interface includes at least one of the following:
  • the presence of an optical network unit under the main PON port here may refer to the existence of an optical network unit connected to the main PON port, or the existence of an optical network unit connected to the main PON port and online;
  • the method further includes: reporting a notification message or an alarm message to the network management server.
  • obtaining the second correspondence relationship includes: detecting the status of the second backup PON port; wherein the second backup PON port is any backup PON port in the backup PON port cluster; the second backup PON port The status includes the management status and the actual usage status; when the management status of the second backup PON port is available and the actual usage status of the second backup PON port is idle, according to whether the second backup PON port is idle within a predetermined number of cycles.
  • the virtual registration signal sent by the optical matrix device is received to establish or update the second corresponding relationship corresponding to the second backup PON port.
  • the status of the second backup PON port is periodically detected.
  • the status of the second backup PON port can be detected using methods well known to those skilled in the art, which will not be described again here.
  • the status of the second backup PON port includes a management status and an actual usage status.
  • the second management state refers to the state set on the standby PON port during the management of the second standby PON port
  • the actual usage state refers to the state of whether the second standby PON port is actually occupied.
  • the management status includes, but is not limited to: at least one of available, unavailable, disabled, allocated, and the like.
  • the actual usage status includes, but is not limited to: at least one of idle, allocated, occupied, NA, suspended, faulty, and the like.
  • the management status of the second backup PON port can be represented by the management status flag bit
  • the actual usage status of the second backup PON port can be represented by the actual usage status flag bit.
  • the management status flag bit is a character indicating unavailability
  • the actual usage status flag bit is NA
  • the management status flag bit of the second standby PON port is a character indicating occupation.
  • the usage status flag is NA.
  • establishing or updating the second correspondence relationship corresponding to the second backup PON port according to whether the second backup PON port receives a virtual registration signal sent by the optical matrix device within a predetermined number of periods includes at least one of the following: :
  • the outbound interface index is obtained by parsing the virtual registration signal, and is established or updated based on the index of the second backup PON port and the outbound interface index.
  • the second backup PON port does not receive the virtual registration information sent by the optical matrix device within one cycle.
  • the management status of the backup PON port in the second correspondence relationship corresponding to the second backup PON interface is updated to NA, and the actual usage status is updated to suspended; wherein, the backup PON port whose actual usage status is suspended is in When selecting the first backup PON port in step 500, it will not be selected;
  • the virtual registration signal includes: a registration identifier and an egress interface index.
  • the registration identifier includes, but is not limited to, at least one of a PON media access control (MAC, Media Access Control) address, a logical ONU identifier (LOID, Logical ONU IDentifier), a serial number (SN, Serial Number), etc. one.
  • MAC PON media access control
  • LOID Logical ONU IDentifier
  • serial number SN, Serial Number
  • the way to define the outbound interface index includes but is not limited to using the undefined 13th byte of the ONU serial number (Serial_number_ONU) in G.983.1 according to a certain format convention.
  • establishing or updating the second correspondence relationship corresponding to the second backup PON port according to the index of the second backup PON port and the outbound interface index includes at least one of the following:
  • the second backup is maintained.
  • the outbound interface in the second mapping relationship corresponding to the PON port remains unchanged, the management status of the second backup PON port in the second mapping relationship corresponding to the second backup PON port remains unchanged, and the actual usage status remains unchanged at "idle" ;
  • a second correspondence relationship corresponding to the second backup PON port exists, and When the outbound interface index of the outbound interface in the second correspondence relationship corresponding to the second standby PON port is different from the outbound interface index obtained by parsing, the method further includes: reporting the second standby PON port to the network management server or operation and maintenance system. Notification message that the corresponding second correspondence relationship changes.
  • Step 501 When an abnormality is detected in the first primary PON port in the primary PON port cluster, select the first standby PON port from the standby PON port cluster; wherein the number of standby PON ports in the standby PON port cluster is less than or Equal to the number of primary PON ports in the primary PON port cluster.
  • the number of backup PON ports in the backup PON port cluster is less than the number of main PON ports in the main PON port cluster; when the backbone optical splitter is 2 : In the case of 2 optical splitters, the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster.
  • the method further includes: assigning the actual usage status of the first backup PON port in the second correspondence relationship corresponding to the first backup PON port. Updated to occupied.
  • the second correspondence here is the correspondence between the status of the backup PON port in the backup PON port cluster, the outgoing interface of the optical matrix device, and the status of the backup PON port.
  • the status of the backup PON port includes management status and actual use status.
  • selecting the first backup PON port from the backup PON port cluster includes at least one of the following:
  • the first primary PON port cluster is selected from the backup PON port cluster according to the preset rules. Spare PON port;
  • the method before selecting the first backup PON port from the backup PON port cluster according to the preset rules, the method further includes: based on the status of all backup PON ports in the backup PON port cluster and the optical matrix device and the first backup PON port.
  • the status of the third incoming interface connected to an optical network unit group determines whether switching is possible; if it is determined that switching is possible, continue to perform the step of selecting the first backup PON port from the backup PON port cluster according to the preset rules.
  • determining whether switching is possible based on the status of all backup PON interfaces in the backup PON interface cluster and the status of the third incoming interface of the optical matrix device connected to the first optical network unit group includes at least one of the following:
  • the method when it is determined that switching is not possible, the method further includes: reporting an alarm message to the network management server.
  • selecting the first backup PON port from the backup PON port cluster according to preset rules includes: based on the status of all backup PON ports in the backup PON port cluster and the second correspondence relationship corresponding to all backup PON ports. Based on the priority of the outbound interface, select the first backup PON port from the backup PON port cluster.
  • the first backup PON interface is selected from the backup PON interface cluster based on the status of all backup PON interfaces in the backup PON interface cluster and the priority of the outbound interface in the second correspondence relationship corresponding to all backup PON interfaces.
  • the PON ports include: from the backup PON ports in the corresponding second mapping relationship in the backup PON port cluster, the management status is available and the actual use status is idle. Select the backup with the highest priority of the outbound interface in the corresponding second mapping relationship. PON port.
  • the backup PON when an abnormality occurs in the selected backup PON port and the first primary PON port has not yet recovered, the backup PON is re-selected from other backup PON ports that are available in the management status but idle in actual use. mouth.
  • the number of priority levels of the outbound interfaces of the optical matrix device is the same as the number of working outbound interfaces of the optical matrix device.
  • 0 to m may be used to represent the priority of the outbound interface. For example, the lowest priority is 0 and the highest priority is m. The higher the priority, the higher the corresponding value; or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value.
  • the method before selecting the first backup PON port from the backup PON port cluster, the method further includes: determining whether the backup PON port in the second corresponding relationship corresponding to the third outgoing interface occurs. changes, and the status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface determines or updates the priority of the third outbound interface.
  • the status of the backup PON port includes management status and actual usage status.
  • the third egress interface is determined or updated based on whether the backup PON port in the second correspondence relationship changes and the status of the backup PON port in the second correspondence relationship corresponding to the third egress interface.
  • the priority of the three outgoing interfaces includes at least one of the following:
  • the backup PON port in the second correspondence relationship corresponding to the third outbound interface remains unchanged within the first preset time period, and the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface remains unchanged in the first preset time period. If it is available within the preset time period and the actual usage status is idle within the first preset time period, increase the priority of the third outbound interface by one level; for example, the lowest priority is 0 and the highest priority is m , the higher the priority, the higher the corresponding value, then increasing the priority by one level means increasing the priority by 1; or, the lowest priority is m, the highest priority is 0, the higher the priority, the higher the corresponding value. If it is low, then raising the priority by one level means reducing the priority by 1;
  • the backup PON port in the second correspondence relationship corresponding to the third outbound interface changes within the first preset time period
  • the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface changes in the first preset time period.
  • the priority of the third outbound interface is lowered by one level; for example, the lowest priority is 0 and the highest priority is m, The higher the priority, the higher the corresponding value.
  • lowering the priority by one level means reducing the priority by 1; or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value. , then lowering the priority by one level means increasing the priority by 1;
  • the priority of the three-output interface is reduced by two levels; for example, the lowest priority is 0 and the highest priority is m. The higher the priority, the higher the corresponding value. Then reducing the priority by two levels means reducing the priority by 2; Or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value. Then lowering the priority by two levels means increasing the priority by 2;
  • the priority of the third outbound interface is determined to be the lowest priority among the priorities of the outbound interfaces that meet the preset conditions; where the basic management outbound interface is connected to the optical matrix device.
  • the outgoing interface of the trunk optical path of the trunk optical splitter, the outgoing interface that meets the preset conditions is the outgoing interface corresponding to the management status of the backup PON port in the second correspondence relationship is available, and the actual usage status is idle.
  • the first preset time period is greater than X times the status detection period of the backup PON port.
  • the spare PON port cluster includes a guaranteed sub-cluster and a shared sub-cluster, and the number of spare PON ports in the guaranteed sub-cluster is less than the number of spare PON ports in the shared sub-cluster.
  • the backup PON port cluster is divided into two sub-clusters: guaranteed sub-cluster and shared sub-cluster.
  • the backup PON port in the guaranteed sub-cluster is first allocated to the high-priority main PON port.
  • the backup PON port in the guaranteed sub-cluster is After exhaustion, the backup PON port in the shared sub-cluster can be allocated to the high-priority main PON port, that is, the high-priority main PON port is allocated from the guaranteed sub-cluster to the shared sub-cluster; the non-high-priority main PON port Allocate from shared subcluster to guaranteed subcluster.
  • a high-priority main PON port refers to a main PON port with a priority higher than a preset priority threshold.
  • the priority of the main PON port may be determined based on the relevant parameters of the main PON port, such as at least one of the number of ONUs, service type, uplink and downlink service traffic, etc.
  • selecting the first backup PON port from the backup PON port cluster according to preset rules includes at least one of the following:
  • whether the resources of the guaranteed sub-cluster are exhausted may be determined based on the duty cycle of the guaranteed sub-cluster.
  • the guaranteed duty cycle of the sub-cluster is the ratio of the number of spare PON ports in the guaranteed sub-cluster with the management status being available and the actual use status being idle, and the guaranteed number of spare PON ports in the sub-cluster.
  • determining whether the resources of the guaranteed sub-cluster are exhausted according to the duty cycle of the guaranteed sub-cluster includes at least one of the following:
  • the duty cycle of the sub-cluster when the duty cycle of the sub-cluster is guaranteed to be greater than the first preset threshold, it is determined that the resources of the sub-cluster are sufficient; when the duty cycle of the sub-cluster is guaranteed to be greater than the second preset threshold, and If the duty cycle is less than the first preset threshold, it is determined that the resources of the guaranteed sub-cluster are less; if the duty cycle of the guaranteed sub-cluster is greater than 1 and less than the second preset threshold, it is determined that the resources of the guaranteed sub-cluster are about to be exhausted.
  • whether the resources of the shared sub-cluster are exhausted may be determined based on the duty cycle of the shared sub-cluster.
  • the duty cycle of the shared sub-cluster is the ratio of the number of spare PON ports in the shared sub-cluster whose management status is available and whose actual use status is idle and the number of spare PON ports in the shared sub-cluster.
  • determining whether the resources of the shared subcluster are exhausted according to the duty cycle of the shared subcluster includes at least one of the following:
  • the duty cycle of the shared sub-cluster when the duty cycle of the shared sub-cluster is greater than the first preset threshold, it is determined that the resources of the shared sub-cluster are sufficient; when the duty cycle of the shared sub-cluster is greater than the second preset threshold, and If the duty cycle is less than the first preset threshold, it is determined that the shared sub-cluster has fewer resources; if the duty cycle of the shared sub-cluster is greater than 1 and less than the second preset threshold, it is determined that the resources of the shared sub-cluster are about to be exhausted.
  • selecting the first backup PON port from the guaranteed sub-cluster includes: based on the status of the backup PON port in the guaranteed sub-cluster and the priority of the outbound interface in the second corresponding relationship corresponding to the backup PON port, Select the first backup PON port from the guaranteed subcluster.
  • selecting the first backup PON port from the guaranteed sub-cluster according to the status of the backup PON port in the guaranteed sub-cluster and the priority of the outbound interface in the second correspondence relationship corresponding to the backup PON port includes: Select the backup PON port with the highest priority of the outbound interface in the corresponding second mapping relationship from the backup PON ports that are guaranteed to have a management status of available and an actual usage status of idle in the corresponding second mapping relationship in the sub-cluster.
  • selecting the first backup PON port from the shared sub-cluster includes: based on the status of the backup PON port in the shared sub-cluster and the priority of the outbound interface in the second corresponding relationship corresponding to the backup PON port, Select the first backup PON port from the shared subcluster.
  • selecting the first backup PON port from the shared sub-cluster according to the status of the backup PON port in the shared sub-cluster and the priority of the outbound interface in the second correspondence relationship corresponding to the backup PON port includes: From the backup PON ports in the corresponding second mapping relationship in the shared subcluster that have a management status of available and an actual usage status of idle, select the backup PON port with the highest priority of the outbound interface in the corresponding second mapping relationship.
  • the first primary PON port when an abnormality occurs in the selected backup PON port and the first primary PON port has not yet recovered, the first primary PON port is re-selected from other backup PON ports that are available in the management status but idle in actual use. Spare PON port.
  • Step 502 Migrate the data of the first primary PON port to the first backup PON port.
  • the data of the first PON port is not deleted.
  • Step 503 Send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship.
  • the switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first main PON port. On the backup PON port.
  • the switching action information includes: a first incoming interface and a first outgoing interface; where the first incoming interface is an incoming interface of the optical matrix device used to connect to the first optical network unit group, and the first outgoing interface It is the outlet interface of the optical matrix unit used to connect to the first backup PON port.
  • switching action information is sent to the optical matrix device through the basic registration management PON port.
  • the method further includes: saving the fifth correspondence between the first main PON port and the first backup PON port, and mapping the first backup PON port to The actual usage status of the first backup PON port in the second corresponding relationship is updated to account for use.
  • the method further includes: when the first main PON port returns to normal, sending the switching action information to the optical matrix device according to the fifth correspondence relationship, The rewind action information is used to instruct the optical matrix device to disconnect the first optical network unit group from the first backup PON port.
  • the rewind action information includes: the first incoming interface and the first outgoing interface; keeping the fifth corresponding relationship corresponding to the first main PON port and the data of the first backup PON port unchanged, changing the first The actual usage status of the backup PON port is updated to allocated.
  • the rewind action information is sent to the optical matrix device through the basic registration management PON port.
  • the method further includes: determining the resource status of the standby PON port cluster based on the duty cycle of the standby PON port cluster.
  • the duty cycle of the backup PON port cluster is the number of spare PON ports in the backup PON port cluster whose management status is available and the actual usage status is idle and the number of backup PON ports in the backup PON port cluster. ratio.
  • determining the resource status of the backup PON port cluster based on the duty cycle of the backup PON port cluster includes at least one of the following:
  • the status and data of all backup PON interfaces in the backup PON interface cluster are kept unchanged, and the outbound interfaces and internal interfaces in the optical matrix device are maintained.
  • the connection relationship with the incoming interface remains unchanged.
  • the second correspondence relationship and the fourth correspondence relationship corresponding to the backup PON port whose actual usage status is allocated are deleted.
  • the corresponding relationship is to send the first release information to the optical matrix device.
  • the first release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the backup PON port whose actual use status is allocated, and clear the actual use status is allocated.
  • the data of the backup PON port updates the actual usage status of the allocated backup PON port to idle.
  • the method when the resource status of the backup PON port cluster is about to be exhausted, the method also includes: when two or more primary PON ports are abnormal, first ensure that the high-priority primary PON port is abnormal.
  • the PON port completes the switching operation and reports a notification message or alarm message to the network management device.
  • the switching operation here includes migrating data from the main PON port to the backup PON port and sending switching action information to the optical matrix device.
  • the backup PON port that has completed the switching is released, and the second PON port is sent to the optical matrix device.
  • the second release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the released standby PON port, clear the data of the released standby PON port, and update the actual usage status of the released standby PON port. for idle.
  • the method when the resource status of the backup PON port cluster is exhausted and there is an abnormality in the high-priority primary PON port, the method further includes: reporting a notification message or an alarm message to the network management device.
  • the backbone optical path protection method provided by the embodiment of the present disclosure, when an abnormality is detected in the first primary PON port in the primary PON port cluster, the first backup PON port is selected from the backup PON port cluster, and the first primary PON port is The optical network unit under the switch is switched to the first backup PON port, that is, the data of the first main PON port is migrated to the first backup PON port, and the switching action information is sent to the optical matrix device; because the backup PON port in the backup PON port cluster The number is less than or equal to the number of main PON ports in the main PON port cluster, which improves the resource utilization of PON ports while ensuring that all backbone optical paths are protected.
  • Figure 6 is a flow chart of a backbone optical path protection method applied to an optical matrix device when the optical matrix device is used as an external device according to another embodiment of the present disclosure.
  • one embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to optical matrix equipment.
  • the method includes:
  • Step 600 Receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal; wherein the first correspondence relationship is the correspondence between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device relationship, the second correspondence is the correspondence between the spare PON port in the spare PON port cluster and the outbound interface of the optical matrix device; the number of spare PON ports in the spare PON port cluster is less than Or equal to the number of primary PON ports in the primary PON port cluster.
  • the switching action information includes: a first incoming interface and a first outgoing interface; where the first incoming interface is an incoming interface of the optical matrix device used to connect to the first optical network unit group, and the first outgoing interface It is the outlet interface of the optical matrix unit used to connect to the first backup PON port.
  • the switching action information sent by the optical line terminal is received through the basic management outbound interface.
  • the method before receiving the switching action information based on the first correspondence and the second correspondence sent by the optical line terminal, the method further includes: obtaining the first correspondence, and sending the first correspondence to the optical line The terminal; or, obtain the third correspondence relationship between the incoming interface and the optical network unit, and send the third correspondence relationship to the optical line terminal, so that the optical line terminal can generate the first correspondence relationship.
  • obtaining the first correspondence includes: establishing or Update the first correspondence relationship corresponding to the second incoming interface; wherein the second incoming interface is any incoming interface.
  • the fourth correspondence relationship may be delivered by the optical line terminal.
  • the second inlet interface corresponding to The first correspondence includes: parsing the identification of the optical network unit from the uplink optical signal; searching for the second main PON port corresponding to the parsed identification of the optical network unit in the fourth correspondence; corresponding to whether there is a second inlet interface.
  • establishing or updating is performed based on whether there is a first corresponding relationship corresponding to the second incoming interface, and whether the main PON port and the second main PON port in the first corresponding relationship corresponding to the second incoming interface are the same.
  • the first correspondence relationship corresponding to the second inlet interface includes at least one of the following:
  • obtaining the third corresponding relationship between the incoming interface and the optical network unit includes: establishing or updating the corresponding uplink optical signal of the second incoming interface according to the uplink optical signal of the corresponding optical network unit received by the second incoming interface.
  • the third correspondence relationship wherein, the second incoming interface is any incoming interface.
  • establishing or updating the third correspondence relationship corresponding to the second inlet interface according to the uplink optical signal of the corresponding optical network unit received by the second inlet interface includes: parsing the uplink optical signal to obtain the optical network The identification of the unit; based on whether there is a third correspondence corresponding to the second inlet interface, and whether the identification of the optical network unit in the third correspondence corresponding to the second inlet interface is the same as the identification of the optical network unit obtained by analysis, establish or Update the third correspondence relationship corresponding to the second incoming interface.
  • establishing or updating the third corresponding relationship corresponding to the second incoming interface includes at least one of the following:
  • the second inlet interface When there is a third correspondence relationship corresponding to the second inlet interface, and the identifier of the optical network unit in the third correspondence relationship corresponding to the second inlet interface is the same as the identifier of the optical network unit obtained by analysis, the second inlet interface is maintained The optical network unit in the corresponding third correspondence relationship remains unchanged;
  • the second inlet port is The optical network unit in the third correspondence relationship corresponding to the interface is updated to the optical network unit corresponding to the parsed identification of the optical network unit.
  • the first correspondence relationship or the third correspondence relationship further includes: the status of the second inlet interface.
  • obtaining the first corresponding relationship or obtaining the third corresponding relationship further includes: determining whether the uplink optical signal of the optical network unit detected by the second incoming interface within a preset period is interrupted. The initial state within the preset period; determine the state of the second inlet interface based on the initial states of the second inlet interface corresponding to all preset periods within the second preset time period.
  • determining the initial state of the second inlet interface within the preset period based on whether the uplink optical signal of the optical network unit detected by the second inlet interface within the preset period is interrupted includes at least one of the following:
  • the second inlet interface continues to detect the uplink optical signal of the optical network unit within the preset period, that is, when the uplink optical signal is not interrupted, it is determined that the initial state of the second inlet interface within the preset period is valid;
  • the uplink validity flag bit may be used to indicate the initial state of the second ingress interface within a preset period. For example, when the initial state of the second inbound interface is valid within the preset period, the uplink validity flag bit of the second inbound interface is 1; when the initial state of the second inbound interface is invalid within the preset period, the uplink validity flag bit of the second inbound interface is invalid.
  • the upstream validity flag of the two-input interface is 0.
  • the second preset time period is greater than Y times the preset period, and Y is an integer greater than or equal to 2.
  • determining the status of the second inlet interface based on the initial status corresponding to all preset periods of the second inlet interface within the second preset time period includes at least one of the following:
  • the initial states corresponding to all preset periods of the second inlet interface have not changed during the second preset time period, and the initial states corresponding to all preset periods of the second inlet interface are valid within the second preset time period. In this case, determine that the status of the second incoming interface is valid;
  • the initial states corresponding to all preset periods of the second inlet interface have not changed during the second preset time period, and the initial states corresponding to all preset periods of the second inlet interface within the second preset time period are invalid. In this case, it is determined that the status of the second incoming interface is invalid;
  • Step 601 Control the first optical network unit group connected to the first main PON port to connect to the first backup PON port selected from the backup PON port cluster according to the switching action information; wherein the first main PON port is the main PON port cluster An abnormal main PON port occurs.
  • controlling the first optical network unit group connected to the first main PON port to connect to the first backup PON port selected from the backup PON port cluster according to the switching action information includes: controlling the first ingress interface and The first outgoing interface is connected.
  • the first optical matrix module and the second optical matrix module can be controlled to Control the connection between the first incoming interface and the first outgoing interface.
  • the first optical matrix module includes: m-1 2-to-1 optical switches.
  • the input end of each 2-to-1 optical switch is connected to an outlet interface, and one of the output ends is connected to the internal virtual registration link. D0, the other output end is connected to one of the internal interfaces, as shown in Figure 7(a), the input end of the 2-to-1 optical switch 701a is connected to the outgoing interface I2, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface S2; the input end of the 2-to-1 optical switch 702a is connected to the outgoing interface I3, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface S3; and so on, the 2-to-1 optical switch The input end of 70(m-1)a is connected to the outgoing interface Im, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface Sm.
  • connection relationship between the outbound interface and the internal interface is fixed and cannot be changed later.
  • each (m-1) select 1 optical switch has (m-1) output terminals and (m-1) output interfaces respectively. Connection, the input end is connected to the internal virtual registration link D0 or one of the internal interfaces. As shown in Figure 7(b), the input end of (m-1) select 1 optical switch 701b is connected to the internal virtual registration link D0, the first output end is connected to the outgoing interface I2, and the second output end is connected to the outgoing interface I3.
  • the (m-1)th output terminal is connected to the output interface Im; the input terminal of (m-1) selected optical switch 702b is connected to the internal interface S2, the first output terminal is connected to the output interface I2, and the second output The input end of (m-1) 1 optical switch 70mb is connected to the internal interface Sm, and the first output The output terminal is connected to the outgoing interface I2, the second output terminal is connected to the outgoing interface I3, and so on, the (m-1)th output terminal is connected to the outgoing interface Im.
  • connection relationship between the outgoing interface and the internal interface is not fixed.
  • the corresponding optical switch By controlling the corresponding optical switch, the corresponding internal interface and the outgoing interface can be connected.
  • (m-1) m-choose-1 optical switches, m output terminals of each m-choose-1 optical switch are respectively connected to the internal virtual registration link D0 and (m-1) internal interfaces , the input end is connected to one of the output interfaces.
  • the input end of the m-select 1 optical switch 701c is connected to the outgoing interface I2, the first output end is connected to the internal virtual registration link D0, the second output end is connected to the internal interface S2, and so on,
  • the m-th output terminal is connected to the internal interface Sm;
  • the input terminal of the m-selected optical switch 702c is connected to the outgoing interface I3, the first output terminal is connected to the internal virtual registration link D0, the second output terminal is connected to the internal interface S2, and so on.
  • the m-th output terminal is connected to the internal interface Sm; and so on, the input terminal of m-selected optical switch 70(m-1)c is connected to the outgoing interface Im, the first output terminal is connected to the internal virtual registration link D0, and the second The first output terminal is connected to the internal interface S2, and so on, and the m-th output terminal is connected to the internal interface Sm.
  • connection relationship between the outgoing interface and the internal interface is not fixed.
  • the corresponding optical switch can realize the corresponding internal interface and output interface connection.
  • the second optical matrix module includes: n m-choose-1 optical switches, m output terminals of each m-choose-1 optical switch are respectively connected to m internal interfaces, and the input terminal is connected to one of the incoming interfaces. connect.
  • the input end of the m-select 1 optical switch 801a is connected to the incoming interface E1, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth The output end is connected to the internal interface Sm;
  • the input end of the m-selected optical switch 802a is connected to the incoming interface E2, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth output end Connect the internal interface Sm; and so on, the input end of m selects 1 optical switch 80na is connected to the input interface En, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth The output terminal is connected to the internal interface Sm.
  • the second optical matrix module includes: m n-choose-1 optical switches, the n output terminals of each n-choose-1 optical switch are respectively connected to n input interfaces, and the input terminal is connected to one of the internal interfaces. connect.
  • the input end of the n-select 1 optical switch 801b is connected to the internal interface S1, the first output end is connected to the interface E1, the second output end is connected to the interface E2, and so on, the nth The output terminal is connected to the interface En;
  • the input terminal of the n-select 1 optical switch 802b is connected to the internal interface S2, the first output terminal is connected to the interface E1, the second output terminal is connected to the interface E2, and so on, the nth output terminal Connect to the interface En; and so on, the input end of the n-select 1 optical switch 80mb is connected to the internal interface Sm, the first output end is connected to the interface E1, the second output end is connected to the interface E2, and so on, the nth The output is connected to interface En.
  • connection relationship between the incoming interface and the internal interface is not fixed, and the corresponding internal interface and the incoming interface can be connected by controlling the corresponding optical switch.
  • controlling the connection between the first inlet interface and the first outlet interface includes: controlling the 2-choose-1 optical switch connected to the first outlet interface in the first optical matrix module to close to the target internal interface, The target internal interface and the first outlet interface are connected to the same 2-to-1 optical switch, and the m-to-1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to close to the target internal interface.
  • controlling the connection between the first inlet interface and the first outlet interface includes: controlling the 2-choose-1 optical switch connected to the first outlet interface in the first optical matrix module to close to the target internal interface, inside target The interface is connected to the same 2-to-1 optical switch as the first outlet interface, and the m-to-1 optical switch connected to the target internal interface in the second optical matrix module is controlled to close to the first inlet interface.
  • the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the (m-1) selection of the first optical matrix module connected to the selected internal interface. 1 optical switch is closed to the first outlet interface, and the m-selected 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
  • the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the (m-1) selection of the first optical matrix module connected to the selected internal interface. 1 optical switch is closed to the first outlet interface, and the m-selected 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
  • the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the closing of the m-selected 1 optical switch connected to the first outgoing interface in the first optical matrix module. to the selected internal interface, and control the m-select 1 optical switch connected to the first inlet interface in the second optical matrix module to close to the selected internal interface.
  • the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the closing of the m-selected 1 optical switch connected to the first outgoing interface in the first optical matrix module. to the selected internal interface, and control the m-select 1 optical switch connected to the selected internal interface in the second optical matrix module to close to the first inlet interface.
  • the method further includes: Save the connection relationship between the first outgoing interface, the target internal interface, or the selected internal interface and the first incoming interface.
  • connection relationship also includes the status of the outbound interface.
  • connection between the first incoming interface and the first outgoing interface is controlled according to the pre-saved connection relationship, the first corresponding relationship corresponding to the first main PON port, and the second corresponding relationship corresponding to the first backup PON port.
  • the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second corresponding relationship corresponding to the first backup PON port.
  • Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the first optical matrix module connected to the selected internal interface.
  • the (m-1) 1-select optical switch is closed to the first outlet interface, and the m-1 select 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
  • the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the first optical matrix module connected to the selected internal interface.
  • the (m-1) 1-select optical switch is closed to the first outlet interface, and the m-1 select 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
  • the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the connection between the first optical matrix module and the first outlet interface.
  • the m-select 1 optical switch is closed to the selected internal interface, and the m-select 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
  • the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port.
  • Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the connection between the first optical matrix module and the first outlet interface.
  • the m-select 1 optical switch is closed to the selected internal interface, and the m-select 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
  • selecting an internal interface according to a pre-saved connection relationship includes: selecting an internal interface in a connection relationship corresponding to the first outgoing interface and the first incoming interface.
  • the method before receiving the switching action information sent by the optical line terminal, the method further includes: sending a registration request to the basic registration management PON port of the OLT through the basic management outgoing interface to realize registration on the basic registration management PON port. .
  • the method before receiving the switching action information based on the first correspondence and the second correspondence sent by the optical line terminal, the method further includes: when the management status of the second outbound interface is available, the actual usage status is When idle, the first optical matrix module is controlled to connect the internal virtual registration link D0 to the second outbound interface, and send a virtual registration signal to the optical line terminal through the second outbound interface; where the virtual registration signal includes: a registration identifier and The outbound interface index of the second outbound interface.
  • controlling the first optical matrix module to connect the internal virtual registration link D0 to the second outbound interface includes: the first optical matrix module, as shown in Figure 7(a), controlling the first optical matrix module.
  • the 2-to-1 optical switch connected to the second outgoing interface is closed to the internal virtual registration link D0; or, as shown in Figure 7(b), the first optical matrix module controls the internal virtual registration link in the first optical matrix module.
  • the (m-1) 1-select optical switch connected to D0 is closed to the outlet port connected to the second backup PON port; or, as shown in Figure 7(c), the first optical matrix module controls the first optical matrix module to communicate with the second backup PON port.
  • the m-select 1 optical switch connected to the second outgoing interface is closed to the internal virtual registration link D0.
  • the first optical matrix module can be controlled to connect the internal virtual registration link D0 to each second egress interface in turn, and pass The second outgoing interface sends a virtual registration signal to the optical line terminal.
  • the first optical matrix module For example, assuming that the number of second backup PON ports is 3, you can first control the first optical matrix module to connect the internal virtual registration link D0 to the first second outbound interface (assumed to be outbound interface I2), and use the second The egress interface I2 sends a virtual registration signal to the optical line terminal; then the first optical matrix module is controlled to connect the internal virtual registration link D0 to the second second egress interface (assumed to be the egress interface I3), and through the second egress interface I3 Send a virtual registration signal to the optical line terminal; finally control the first optical matrix module to connect the internal virtual registration link D0 to the third second outbound interface (assumed to be the outbound interface I4), and send the signal to the optical line through the second outbound interface I4.
  • the terminal sends a virtual registration signal.
  • a virtual registration signal is periodically sent to the optical line terminal through the second egress interface.
  • the virtual registration signal includes: a registration identifier and an egress interface index.
  • the registration identification includes, but is not limited to, at least one of PON MAC address, LOID, SN, etc.
  • the egress interface index is defined including but not limited to using G.983.1
  • the undefined 13th byte in Serial_number_ONU is agreed according to a certain format.
  • the method further includes: receiving The rewind action information sent by the optical line terminal.
  • the rewind action information is used to instruct the optical matrix device to disconnect the first optical network unit group from the first backup PON port; control the first optical network unit group according to the rewind action information. Disconnect from the first backup PON port.
  • the rewind action information includes: a first incoming interface and a first outgoing interface.
  • Controlling the disconnection of the first optical network unit group from the first backup PON port according to the rewind action information includes: controlling the disconnection of the first incoming interface and the first outgoing interface.
  • controlling the disconnection of the first incoming interface and the first outgoing interface includes: determining the internal interface in the connection relationship corresponding to the first incoming interface and the first outgoing interface according to the pre-saved connection relationship, and The connection between the first incoming interface and the determined internal interface is disconnected, and/or the connection between the first outgoing interface and the determined internal interface is disconnected.
  • the method further includes: updating the connection relationship.
  • the rewind action information sent by the optical line terminal is received through the basic management outgoing interface.
  • the method further includes: receiving first release information sent by the optical line terminal.
  • the first release information is used to instruct the optical matrix device to release the egress interface corresponding to the actual use status of the allocated backup PON port connection.
  • the connection relationship; the first optical matrix module and the second optical matrix module are controlled to disconnect the outgoing interface connected to the allocated spare PON port, the corresponding connected internal interface, and the corresponding connected incoming interface.
  • the first optical matrix module and the second optical matrix module are controlled to disconnect the egress interface connected to the allocated backup PON port, the corresponding connected internal interface, and the corresponding connected incoming interface.
  • the method also includes: deleting the connection relationship corresponding to the outbound interface connected to the allocated standby PON port in actual use status.
  • the method further includes: receiving second release information sent by the optical line terminal, where the second release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the released standby PON port; Control the first optical matrix module and the second optical matrix module to disconnect the outgoing interface connected to the released standby PON port, the corresponding connected internal interface, and the corresponding connected incoming interface.
  • the The method after controlling the first optical matrix module and the second optical matrix module to disconnect the egress interface connected to the released standby PON port, the corresponding connected internal interface, and the corresponding connected incoming interface, the The method also includes: deleting the connection relationship corresponding to the outbound interface connected to the released standby PON port.
  • the backbone optical path protection method applied to optical matrix equipment controls the connection of the first optical network unit group connected to the first main PON port and the first backup PON port according to the switching action information sent by the OLT, so as to realize The optical network unit under the first primary PON port is switched to the first backup PON port. Since the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster, all backbone optical paths are ensured. The resource utilization of the PON port is improved under the premise of protection.
  • FIG. 9 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by another embodiment of the present disclosure is built into the OLT.
  • FIG. 9 another embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to OLT.
  • the method includes:
  • Step 900 Obtain the first correspondence relationship and the second correspondence relationship; wherein, the first correspondence relationship is the correspondence relationship between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is the backup PON port. Correspondence between the backup PON port in the cluster and the outbound interface of the optical matrix device.
  • step 900 The specific implementation process of step 900 is the same as the specific implementation process of step 500 in the previous embodiment, and will not be described again here.
  • Step 901 When an abnormality is detected in the first primary PON port in the primary PON port cluster, select the first standby PON port from the standby PON port cluster; wherein the number of standby PON ports in the standby PON port cluster is less than or Equal to the number of primary PON ports in the primary PON port cluster.
  • step 901 is the same as the specific implementation process of step 501 in the previous embodiment, and will not be described again here.
  • Step 902 Migrate the data of the first primary PON port to the first backup PON port.
  • step 902 is the same as the specific implementation process of step 502 in the previous embodiment, and will not be described again here.
  • Step 903 Control the PON port connected to the first main PON port according to the first corresponding relationship and the second corresponding relationship.
  • the first optical network unit group is connected to the first backup PON port.
  • step 903 is the same as the specific implementation process of step 601 in the previous embodiment, and will not be described again here.
  • the backbone optical path protection method applied to OLT provided by the embodiment of the present disclosure, when an abnormality is detected in the first main PON port in the main PON port cluster, the first backup PON port is selected from the backup PON port cluster, and the first backup PON port is selected.
  • the optical network unit under one main PON port is switched to the first backup PON port, that is, the data of the first main PON port is migrated to the first backup PON port to control the first optical network unit group connected to the first main PON port.
  • the resources of the PON port are increased while ensuring that all backbone optical paths are protected. Utilization.
  • another embodiment of the present disclosure provides an electronic device, including: at least a first processor; a first memory, at least one first program is stored in the first memory, and when the at least one first program is processed by at least one When the first processor is executed, any one of the trunk optical path protection methods described in the first aspect is implemented.
  • the first processor is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.
  • the first memory is a device with data storage capabilities, which includes but is not limited to random access memory (RAM, More specifically, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • FLASH flash memory
  • the first processor and the first memory are connected to each other through a bus and are further connected to other components of the computing device.
  • another embodiment of the present disclosure provides a computer-readable medium.
  • a computer program is stored on the computer-readable medium.
  • the computer program is executed by a processor, any one of the trunk optical path protection methods described in the first aspect is implemented.
  • Figure 10 is a schematic diagram of the composition of an optical matrix device provided by another embodiment of the present disclosure.
  • another embodiment of the present disclosure provides an optical matrix device, including: at least a second processor 1001; a second memory 1002.
  • the second memory 1002 stores at least a second program. When at least a second When the program is executed by at least one second processor 1001, any one of the trunk optical path protection methods described in the second aspect is implemented.
  • it also includes: a first optical matrix module 1003 and a second optical matrix module 1004, configured to realize connecting the first incoming interface and the first outgoing interface under the control of the second processor 1001 or disconnect.
  • the optical matrix device further includes: a trunk optical splitter 1005.
  • One branch optical path of the trunk optical splitter 1005 is connected to the second processor 1001 and the second memory 1002 through a bus, and the other branch optical path passes through
  • the optical fiber is connected to one of the internal interfaces of the second optical matrix module (S1 in Figure 10), and the trunk optical path of the trunk optical splitter 1005 is connected to the backup PON port of the corresponding OLT through the optical fiber.
  • m-1 output interfaces (I2 to Im in Figure 10) of the first optical matrix module 1003 are connected to m-1 backup PON ports of OLTs through optical fibers.
  • the first optical matrix module The m-1 internal interfaces of 1003 (S2 to Sm in Figure 10) are connected to the m-1 internal interfaces of the second optical matrix module (S2 to Sm in Figure 8).
  • the n input interfaces (E1 to En in Figure 10) of the second optical matrix module 1004 are connected to the ONU through optical fibers and optical splitters.
  • the first optical matrix module 1003 connects to the bus through an internal virtual registration link D0.
  • the second processor 1001 is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.;
  • the second memory 1002 is a device with data storage capabilities, which includes but is not limited to a random access memory (RAM (more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • FLASH flash memory
  • the second processor 1001 and the second memory 1002 are connected to each other through a bus and are further connected to other components of the computing device.
  • FIG. 11 is a schematic diagram of the composition of an electronic device provided by another embodiment of the present disclosure.
  • another embodiment of the present disclosure provides an electronic device, including: at least a third processor 1101; a third memory 1102. At least one third program is stored on the third memory 1102. When the at least one third program When executed by at least one third processor 1101, any one of the trunk optical path protection methods described in the third aspect is implemented.
  • the optical matrix module realizes connecting or disconnecting the first incoming interface and the first outgoing interface under the control of the third processor. open.
  • the electronic device further includes: a trunk optical splitter 1105.
  • One branch optical path of the trunk optical splitter 1105 is connected to the third processor 1101 and the third memory 1102 through a bus, and the other branch optical path passes through an optical fiber.
  • the trunk optical path of the trunk optical splitter 1105 is connected to the backup PON port of the corresponding OLT through an optical fiber.
  • m-1 output interfaces (I2 to Im in Figure 11) of the first optical matrix module 1103 are connected to m-1 backup PON ports of OLTs through optical fibers.
  • the first optical matrix module The m-1 internal interfaces of 1103 (S2 to Sm in Figure 11) are connected to the m-1 internal interfaces of the second optical matrix module (S2 to Sm in Figure 11).
  • the n input interfaces (E1 to En in Figure 11) of the second optical matrix module 1104 are connected to the ONU through optical fibers and optical splitters.
  • the first optical matrix module 1103 connects to the bus through an internal virtual registration link D0.
  • the third processor 1101 is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.;
  • the third memory 1102 is a device with data storage capabilities, which includes but is not limited to a random access memory (RAM (more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • FLASH flash memory
  • the third processor 1101 and the third memory 1102 are connected to each other through a bus and are further connected to other components of the computing device.
  • a trunk optical line protection system including: an optical line terminal and an optical matrix device.
  • the optical line terminal 201 is configured to obtain a first corresponding relationship and a second corresponding relationship; wherein the first corresponding relationship is one of the main PON port in the main passive optical network PON port cluster and the inlet interface of the optical matrix device.
  • the second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outbound interface of the optical matrix device; when the first primary PON in the primary passive optical network PON port cluster is detected When an abnormality occurs on the port, select the first backup PON port from the backup PON port cluster; wherein the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; Migrate the data of the first main PON port to the first backup PON port; send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship, where the switching action information is used to Instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first backup PON
  • the optical matrix device 202 is configured to receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal; and to control the first optical network connected to the first main PON port according to the switching action information.
  • the unit group is connected to the first backup PON port.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Landscapes

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

Abstract

The present disclosure provides a trunk optical path protection method and system, an optical matrix device, an electronic device, and a computer readable medium. The trunk optical path protection method comprises: receiving switching action information which is sent by an optical line terminal and is based on a first correspondence and a second correspondence, wherein the first correspondence is the correspondence between main PON ports in a main PON port cluster and incoming interfaces of the optical matrix device, the second correspondence is the correspondence between backup PON ports in a backup PON port cluster and outgoing interfaces of the optical matrix device, and the number of the backup PON ports in the backup PON port cluster is smaller than or equal to the number of the main PON ports in the main PON port cluster; and controlling, according to the switching action information, a first optical network unit group connected to a first main PON port to be connected to a first backup PON port selected from the backup PON port cluster, wherein the first main PON port is an abnormal main PON port in the main PON port cluster. Figure 5

Description

主干光路保护方法和系统、光矩阵设备、电子设备、介质Backbone optical path protection methods and systems, optical matrix equipment, electronic equipment, media
相关公开的交叉引用Relevant public cross-references
本公开要求在2022年6月29日提交国家知识产权局、公开号为CN202210755723.7、发明名称为“主干光路保护方法和系统、光矩阵设备、电子设备、介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。This disclosure requires the priority of a Chinese patent application submitted to the State Intellectual Property Office on June 29, 2022, with the publication number CN202210755723.7 and the invention title "Backbone optical path protection method and system, optical matrix equipment, electronic equipment, media" , the entire contents of which are incorporated into this disclosure by reference.
技术领域Technical field
本公开实施例涉及但不限于通信技术领域,特别涉及主干光路保护方法和系统、光矩阵设备、电子设备、计算机可读介质。Embodiments of the present disclosure relate to, but are not limited to, the field of communication technology, and in particular to backbone optical path protection methods and systems, optical matrix equipment, electronic equipment, and computer-readable media.
背景技术Background technique
在无源光网络(PON,Passive Optical Network)的xPON中,常见的组网系统如图1所示,该系统由网管服务器101、光线路终端(OLT,Optical Line Terminal)102、光分配网络(ODN,Optical Distribution Network)103和若干个光网络单元(ONU,Optical Network Unit)104组成。OLT 102作为中心局端设备通过ODN103以PON口为单位连接汇聚多个ONU 104,ONU 104实现用户业务的接入,从而实现数据业务和配置管理等功能。In xPON of passive optical network (PON, Passive Optical Network), the common networking system is shown in Figure 1. The system consists of network management server 101, optical line terminal (OLT, Optical Line Terminal) 102, optical distribution network ( ODN, Optical Distribution Network) 103 and several optical network units (ONU, Optical Network Unit) 104. As a central office device, OLT 102 connects and aggregates multiple ONUs 104 in units of PON ports through ODN103. ONU 104 realizes access to user services, thereby realizing functions such as data services and configuration management.
传统PON中以PON口为单位实现多个ONU 104的接入,以实现点对多点(P2MP,Point To Multiply Point)的拓扑结构,其中点是指OLT 102的PON口,多点是指PON口下连接的多个ONU104。该P2MP拓扑结构中,OLT 102的PON口与ONU 104间连接的ODN 103中,一般通过分光器实现多个ONU 104连接的汇聚,组网中的分光器一般通过级联方式实现多级分光,直接连接OLT 102的PON口的分光器称为一级分光器,连接一级分光器的分光器称为二级分光器,以此类推。其中连接OLT102的PON口和一级分光器的光链路称为主干光路或主干光纤(后文均采用主干光路进行描述,主干光路和主干光纤是等同的),其他光链路称为支路光路或支路光纤(后文均采用支路光路进行描述,支路光路和支路光纤是等同的)。 In traditional PON, multiple ONUs 104 are connected by PON port as a unit to realize a point-to-multipoint (P2MP, Point To Multiply Point) topology, where point refers to the PON port of OLT 102 and multipoint refers to PON. Multiple ONU104 connected under the port. In this P2MP topology, in the ODN 103 connected between the PON port of the OLT 102 and the ONU 104, the aggregation of multiple ONU 104 connections is generally achieved through optical splitters. The optical splitters in the network generally achieve multi-level splitting through cascade. The optical splitter directly connected to the PON port of the OLT 102 is called a primary optical splitter, the optical splitter connected to the primary optical splitter is called a secondary optical splitter, and so on. The optical link connecting the PON port of the OLT102 and the first-level optical splitter is called the backbone optical path or the backbone optical fiber (the backbone optical path will be used to describe the following, and the backbone optical path and the backbone optical fiber are equivalent), and other optical links are called branches. Optical path or branch optical fiber (the following paragraphs will use branch optical path for description, and branch optical path and branch optical fiber are equivalent).
发明内容Contents of the invention
本公开实施例提供一种主干光路保护方法和系统、光矩阵设备、电子设备、计算机可读介质。Embodiments of the present disclosure provide a backbone optical path protection method and system, optical matrix equipment, electronic equipment, and computer-readable media.
第一方面,本公开实施例提供一种主干光路保护方法,应用于光矩阵设备,该方法包括:接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;根据所述倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上,其中,所述第一主PON口为主PON口集群中出现异常的主PON口。In a first aspect, embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical matrix equipment. The method includes: receiving switching action information based on a first correspondence relationship and a second correspondence relationship sent by an optical line terminal, wherein: The first correspondence is the correspondence between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device, and the second correspondence is the backup PON port in the backup PON port cluster and the The corresponding relationship between the outbound interfaces of the optical matrix device, the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; according to the switching action information control and the first The first optical network unit group connected to the main PON port is connected to the first backup PON port selected from the backup PON port cluster, wherein the first main PON port is the main PON port in the main PON port cluster that has an abnormality.
第二方面,本公开实施例提供一种主干光路保护方法,应用于光线路终端,该方法包括:获取第一对应关系和第二对应关系,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系;在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;将所述第一主PON口的数据迁移到所述第一备用PON口;根据所述第一对应关系和所述第二对应关系向光矩阵设备发送倒换动作信息,所述倒换动作信息用于指示所述光矩阵设备将与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。In a second aspect, embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical line terminals. The method includes: obtaining a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is a primary passive optical path protection method. The corresponding relationship between the main PON port in the network PON port cluster and the incoming interface of the optical matrix device, and the second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outgoing interface of the optical matrix device. Relationship; when it is detected that the first primary PON port in the primary PON port cluster is abnormal, select the first backup PON port from the backup PON port cluster, wherein the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; migrate the data of the first primary PON port to the first backup PON port; and The optical matrix device sends switching action information, and the switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first backup PON port.
第三方面,本公开实施例提供一种主干光路保护方法,应用于光线路终端,该方法包括:获取第一对应关系和第二对应关系,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系;在检测到主无源光网络PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口 数量;将所述第一主PON口的数据迁移到所述第一备用PON口;根据所述第一对应关系和所述第二对应关系控制与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。In a third aspect, embodiments of the present disclosure provide a backbone optical path protection method, which is applied to optical line terminals. The method includes: obtaining a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is a primary passive optical path protection method. The corresponding relationship between the main PON port in the network PON port cluster and the incoming interface of the optical matrix device, and the second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outgoing interface of the optical matrix device. Relationship; when an abnormality is detected in the first primary PON port in the primary passive optical network PON port cluster, select the first backup PON port from the backup PON port cluster, wherein the backup PON port in the backup PON port cluster The number of PON ports is less than or equal to the main PON port in the main PON port cluster. Quantity; migrate the data of the first main PON port to the first backup PON port; control the first optical fiber connected to the first main PON port according to the first corresponding relationship and the second corresponding relationship. The network unit group is connected to the first backup PON port.
第四方面,本公开实施例提供一种电子设备,包括:至少一个第一处理器;第一存储器,所述第一存储器上存储有至少一个第一程序,当所述至少一个第一程序被所述至少一个第一处理器执行时,实现上述任意一种主干光路保护方法。In a fourth aspect, embodiments of the present disclosure provide an electronic device, including: at least a first processor; a first memory, where at least one first program is stored on the first memory. When the at least one first program is When the at least one first processor is executed, any one of the above trunk optical path protection methods is implemented.
第五方面,本公开实施例提供一种计算机可读介质,所述计算机可读介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一种主干光路保护方法。In a fifth aspect, embodiments of the present disclosure provide a computer-readable medium. A computer program is stored on the computer-readable medium. When the computer program is executed by a processor, any one of the above-mentioned backbone optical path protection methods is implemented.
第六方面,本公开实施例提供一种光矩阵设备,包括:至少一个第二处理器;第二存储器,所述第二存储器上存储有至少一个第二程序,当所述至少一个第二程序被所述至少一个第二处理器执行时,实现上述任意一种主干光路保护方法。In a sixth aspect, embodiments of the present disclosure provide an optical matrix device, including: at least a second processor; a second memory, at least one second program stored on the second memory. When the at least one second program When executed by the at least one second processor, any one of the above trunk optical path protection methods is implemented.
第七方面,本公开实施例提供一种电子设备,包括:至少一个第三处理器;第三存储器,所述第三存储器上存储有至少一个第三程序,当所述至少一个第三程序被所述至少一个第三处理器执行时,实现上述任意一种主干光路保护方法。In a seventh aspect, an embodiment of the present disclosure provides an electronic device, including: at least a third processor; a third memory, at least one third program stored on the third memory. When the at least one third program is When the at least one third processor is executed, any one of the above trunk optical path protection methods is implemented.
第八方面,本公开实施例提供一种主干光路保护系统,包括:光线路终端和光矩阵设备,其中,所述光线路终端,被构造成获取第一对应关系和第二对应关系;其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系;在检测到主无源光网络PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;将所述第一主PON口的数据迁移到所述第一备用PON口;根据所述第一对应关系和所述第二对应关系向光矩阵设备发送倒换动作信息,所述倒换动作信息用于指示所述光矩阵设备将与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上;所述光矩阵设备,用于接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息;根据所述倒换动作信息控制与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。In an eighth aspect, embodiments of the present disclosure provide a backbone optical path protection system, including: an optical line terminal and an optical matrix device, wherein the optical line terminal is configured to obtain a first correspondence relationship and a second correspondence relationship; wherein, the optical line terminal The first correspondence is the correspondence between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device, and the second correspondence is the backup PON port in the backup PON port cluster and the optical matrix device. The corresponding relationship between the outgoing interfaces; when an abnormality is detected in the first primary PON port in the primary passive optical network PON port cluster, select the first backup PON port from the backup PON port cluster, wherein, the The number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; the data of the first primary PON port is migrated to the first backup PON port; according to the first A corresponding relationship and the second corresponding relationship send switching action information to the optical matrix device. The switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port. to the first backup PON port; the optical matrix device is configured to receive switching action information based on the first correspondence and the second correspondence sent by the optical line terminal; and control the communication with the first correspondence according to the switching action information. The first optical network unit group connected to the main PON port is connected to the first backup PON port.
附图说明 Description of drawings
图1为相关技术中组网系统的架构示意图;Figure 1 is a schematic diagram of the architecture of a networking system in related technologies;
图2为本公开实施例提供的主干光路保护系统的架构示意图;Figure 2 is a schematic architectural diagram of a backbone optical path protection system provided by an embodiment of the present disclosure;
图3为本公开实施例提供的光矩阵设备的组成示意图一;Figure 3 is a schematic diagram 1 of the composition of an optical matrix device provided by an embodiment of the present disclosure;
图4为本公开实施例提供的光矩阵设备的组成示意图二;Figure 4 is a schematic diagram 2 of the composition of an optical matrix device provided by an embodiment of the present disclosure;
图5为本公开一个实施例提供的光矩阵设备在作为外置设备的情况下应用于OLT的主干光路保护方法的流程图;Figure 5 is a flow chart of a backbone optical path protection method for an OLT when the optical matrix device provided by an embodiment of the present disclosure is used as an external device;
图6为本公开另一个实施例提供的光矩阵设备在作为外置设备的情况下应用于光矩阵设备的主干光路保护方法的流程图;Figure 6 is a flow chart of a backbone optical path protection method applied to an optical matrix device when the optical matrix device provided by another embodiment of the present disclosure is used as an external device;
图7(a)为本公开实施例提供的第一光矩阵模块的组成示意图一;Figure 7(a) is a schematic diagram 1 of the composition of the first optical matrix module provided by an embodiment of the present disclosure;
图7(b)为本公开实施例提供的第一光矩阵模块的组成示意图二;Figure 7(b) is a schematic diagram 2 of the composition of the first optical matrix module provided by an embodiment of the present disclosure;
图7(c)为本公开实施例提供的第一光矩阵模块的组成示意图三;Figure 7(c) is a schematic diagram 3 of the composition of the first optical matrix module provided by an embodiment of the present disclosure;
图8(a)为本公开实施例提供的第二光矩阵模块的组成示意图一;Figure 8(a) is a schematic diagram 1 of the composition of the second optical matrix module provided by an embodiment of the present disclosure;
图8(b)为本公开实施例提供的第二光矩阵模块的组成示意图二;Figure 8(b) is a schematic diagram 2 of the composition of the second optical matrix module provided by an embodiment of the present disclosure;
图9为本公开另一个实施例提供的光矩阵设备内置在OLT中的情况下应用于OLT的主干光路保护方法的流程图;Figure 9 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by another embodiment of the present disclosure is built into the OLT;
图10为本公开另一个实施例提供的光矩阵设备的组成示意图;Figure 10 is a schematic diagram of the composition of an optical matrix device provided by another embodiment of the present disclosure;
图11为本公开另一个实施例提供的电子设备的组成示意图。FIG. 11 is a schematic diagram of the composition of an electronic device provided by another embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的主干光路保护方法和系统、光矩阵设备、电子设备、计算机可读介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the backbone optical path protection method and system, optical matrix equipment, electronic equipment, and computer-readable media provided by the present disclosure are described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。Example embodiments will be described more fully below with reference to the accompanying drawings, which may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully understand the scope of the disclosure to those skilled in the art.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。The embodiments of the present disclosure and the features in the embodiments may be combined with each other without conflict.
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有 组合。As used herein, the term "and/or" includes any and all of at least one associated listed item combination.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is used to describe particular embodiments only and is not intended to limit the disclosure. As used herein, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, the presence of stated features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or Add at least one other feature, integer, step, operation, element, component and/or group thereof.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be construed as having idealized or excessive formal meanings, Unless expressly so limited herein.
从上述组网可见,若主干光路出现中断,将会导致该主干光路下的所有ONU104业务中断,因此有必要对主干光路实现保护,将原有的一级分光器从1:N变更为2:N,其中,1和2是指分光器的主光纤的数量,即主干光路变成2路,2路主干光路为主备工作方式,ONU104通过主干光路与OLT 102对应的PON口相连,处于工作状态的PON口称为主用PON口,与主用PON口连接的主干光路称为主用主干光路。It can be seen from the above networking that if the backbone light path is interrupted, all ONU104 services under the backbone light path will be interrupted. Therefore, it is necessary to protect the backbone light path and change the original first-level optical splitter from 1:N to 2: N, where 1 and 2 refer to the number of main optical fibers of the optical splitter, that is, the main optical path becomes 2, and the 2 main optical paths work in primary and backup mode. ONU104 is connected to the corresponding PON port of OLT 102 through the main optical path and is in working mode. The PON port in this state is called the active PON port, and the trunk optical path connected to the active PON port is called the active trunk optical path.
当主用主干光路异常时,通过OLT 102控制业务倒换到备用主干光路,ONU 104通过备用主干光路与OLT 102对应的PON口相连,该PON口称为备用PON口,这种保护机制称为主干光纤保护(即TYPEB保护)。TYPEB保护机制可实现对PON口下的ONU业务的保护。但这样是会带来两个问题:1)由于采用主备主用光路分别连接主备PON口,导致OLT的PON口资源利用率下降,最高为50%,从而可能导致在不增加现有PON口数量的情况下数据传输速率或吞吐量的提升难度大,无法接入更多ONU等问题;2)由于TYPEB保护机制需要采用两根主干光路,而实际上运营商的光纤资源有限,所以可能无法保证所有主干光路均采用这种保护方式,也就是使得部分主干光路得不到保护,如果想要所有主干光路得到保护,则布局成本将非常高。When the main trunk optical path is abnormal, the OLT 102 controls the service switching to the backup trunk optical path. The ONU 104 is connected to the corresponding PON port of the OLT 102 through the backup trunk optical path. The PON port is called the backup PON port. This protection mechanism is called trunk fiber protection. (i.e. TYPEB protection). The TYPEB protection mechanism can protect ONU services under the PON port. However, this will bring about two problems: 1) Since the main and backup optical paths are used to connect the main and backup PON ports respectively, the resource utilization rate of the OLT's PON port will decrease, up to 50%, which may lead to the increase of existing PON ports. With the number of ports, it is difficult to increase the data transmission rate or throughput, and it is difficult to access more ONUs; 2) Since the TYPEB protection mechanism requires the use of two backbone optical paths, and in fact the operator's optical fiber resources are limited, it may There is no guarantee that all trunk optical paths will adopt this protection method, which means that some trunk optical paths will not be protected. If you want all trunk optical paths to be protected, the layout cost will be very high.
本公开实施例对相关技术中采用TYPEB保护机制实现的主干光路保护系统的架构进行了改进,如图2所示,本公开实施例的主干光路保护系统包括:OLT 201和光矩阵设备202。还可以包括网管服务器(图2中未示出)、ODN 203和ONU(图2中未示出)。This disclosed embodiment improves the architecture of the backbone optical path protection system implemented using the TYPEB protection mechanism in related technologies. As shown in Figure 2, the backbone optical path protection system in this disclosed embodiment includes: OLT 201 and optical matrix device 202. It may also include a network management server (not shown in Figure 2), ODN 203 and ONU (not shown in Figure 2).
其中,网管服务器,对OLT 201以及所属ONU的配置、管理或维护等工作; 并管理OLT 201、ONU的历史信息以及相关告警与通知消息。并可根据OLT 201上报的PON保护倒换相关的告警或通知消息,实现对相关网络的动态维护与提醒人工介入。Among them, the network management server is responsible for the configuration, management or maintenance of OLT 201 and its affiliated ONUs; And manage the historical information of OLT 201 and ONU as well as related alarm and notification messages. And based on the PON protection switching-related alarms or notification messages reported by the OLT 201, dynamic maintenance and reminder manual intervention of the relevant network can be realized.
OLT 201,基于PON口实现ONU的注册与维护。OLT 201, realizes ONU registration and maintenance based on PON port.
ODN 203,用于在OLT 201下连接数量不等的ONU,作为OLT 201和ONU之间直接的物理连接通道,可能由多个物理器件组合而成,其中包括但不限于:ODN 203 is used to connect different numbers of ONUs under OLT 201. As a direct physical connection channel between OLT 201 and ONU, it may be composed of multiple physical devices, including but not limited to:
主干光路(主备用),用于连接一级分光器和OLT对应PON口,一般情况下采用单PON口,而当采用保护方式时,则会启用主备两个PON口。The trunk optical path (main and backup) is used to connect the primary optical splitter and the corresponding PON port of the OLT. Generally, a single PON port is used, but when the protection mode is used, two main and backup PON ports are enabled.
分光器(一级或多级),一般根据ODN网络规划及组网施工,有一个或多个分光器共同组合实现分光比,一般最大分光比为1:128或1:256,由于分光器会引入光衰,所以分光器级联一般不超过三级。其中直连OLT PON口的分光器为一级分光器,其他级联分光器分别称为二级分光器或三级分光器(简称n级分光器)。Optical splitters (one or more levels) are generally based on ODN network planning and network construction. One or more optical splitters are combined to achieve the splitting ratio. Generally, the maximum splitting ratio is 1:128 or 1:256. Since the splitter will Introducing light attenuation, so the optical splitter cascade generally does not exceed three levels. Among them, the optical splitter directly connected to the OLT PON port is a first-level optical splitter, and the other cascaded optical splitters are called second-level optical splitters or third-level optical splitters (referred to as n-level optical splitters).
支路光纤,连接多级分光器之间连接的光路及直连接入ONU的光路称为支路光纤。Branch optical fiber, the optical path connecting the multi-stage optical splitters and the optical path directly connected to the ONU are called branch optical fibers.
ONU,用于接入家庭用户的终端设备,接受OLT 201的管理,在注册过程中接收OLT 201分配的链路标识完成ONU注册;并根据OLT 201统一分配时隙窗口中上传数据完成业务转发。ONU, used to access the terminal equipment of home users, accepts the management of OLT 201, receives the link identifier assigned by OLT 201 during the registration process to complete ONU registration, and uploads data in the uniformly allocated time slot window according to OLT 201 to complete service forwarding.
其中,光矩阵设备202用于将两个或两个以上的备用主干光路与OLT 201上对应的备用PON口连接。Among them, the optical matrix device 202 is used to connect two or more backup backbone optical paths to the corresponding backup PON port on the OLT 201.
在一些示例性实施例中,光矩阵设备202可以内置在OLT201中,通过m个内部链路实现与OLT 201的m个备用PON口的连接,或通过m+1个内部链路实现与OLT 201的m+1个备用PON口的连接。在另一些示例性实施例中,光矩阵设备202也可以作为外置设备通过m根光纤与OLT 201的m个备用PON口连接,或通过m+1根光纤与OLT 201的m+1个备用PON口连接。In some exemplary embodiments, the optical matrix device 202 may be built into the OLT 201, and may be connected to the m spare PON ports of the OLT 201 through m internal links, or may be connected to the OLT 201 through m+1 internal links. The connection of m+1 backup PON ports. In other exemplary embodiments, the optical matrix device 202 can also be used as an external device to be connected to the m spare PON ports of the OLT 201 through m optical fibers, or to the m+1 spare PON ports of the OLT 201 through m+1 optical fibers. PON port connection.
在一些示例性实施例中,如图3和图4所示,光矩阵设备202包括:主干分光器301、注册接入模块302、控制模块303、第一光矩阵模块304和第二光矩阵模块305。In some exemplary embodiments, as shown in Figures 3 and 4, the optical matrix device 202 includes: a trunk optical splitter 301, a registration access module 302, a control module 303, a first optical matrix module 304 and a second optical matrix module. 305.
在一些示例性实施例中,注册接入模块302和控制模块303可以采用处理器和存储器来实现,存储器中存储有程序,存储器中存储的程序被处理器执行时实 现注册接入模块302和控制模块303的功能。In some exemplary embodiments, the registration access module 302 and the control module 303 can be implemented using a processor and a memory. Programs are stored in the memory. When the program stored in the memory is executed by the processor, Now register the functions of the access module 302 and the control module 303.
在一些示例性实施例中,主干分光器301可以是1:2分光器,这种情况下,光矩阵设备202包括m个出接口和n个入接口。其中,这m个出接口分别与OLT201的m个备用PON口连接。具体的,m个出接口中的每一个出接口与OLT201的m个备用PON口中的一个备用PON口连接,不同出接口连接的备用PON口不同。主干分光器301的主干光路连接光矩阵设备202的其中一个出接口,如图3所示连接的是出接口I1,光矩阵设备202剩余的m-1个出接口分别与第一光矩阵模块304的m-1个主干光路连接。这n个入接口通过n根光纤分别连接对应一级分光器的备用主干光路,并最终接入各ONU,n个入接口中的每一个入接口连接一个一级分光器的备用主干光路,不同入接口连接的一级分光器不同,m小于n。In some exemplary embodiments, the backbone optical splitter 301 may be a 1:2 optical splitter. In this case, the optical matrix device 202 includes m outlet interfaces and n inlet interfaces. Among them, these m outgoing interfaces are respectively connected to m backup PON ports of OLT201. Specifically, each of the m outgoing interfaces is connected to one of the m standby PON ports of the OLT201, and different standby PON ports are connected to different outgoing interfaces. The backbone optical path of the backbone optical splitter 301 is connected to one of the output interfaces of the optical matrix device 202. As shown in Figure 3, the output interface I1 is connected. The remaining m-1 output interfaces of the optical matrix device 202 are respectively connected to the first optical matrix module 304. m-1 trunk optical path connections. These n incoming interfaces are respectively connected to the backup backbone optical path corresponding to the first-level optical splitter through n optical fibers, and are finally connected to each ONU. Each of the n incoming interfaces is connected to the backup backbone optical path of a first-level optical splitter. Different The primary optical splitter connected to the input interface is different, and m is smaller than n.
在一些示例性实施例中,主干分光器301也可以是2:2分光器,主干分光器301的两个主干光路为主备关系。这种情况下,光矩阵设备202包括m+1个出接口和n个入接口。其中,这m+1个出接口分别与OLT201的m+1个备用PON口连接。具体的,m+1个出接口中的每一个出接口与OLT201的m+1个备用PON口中的一个备用PON口连接,不同出接口连接的备用PON口不同。主干分光器301的两个主干光路分别连接光矩阵设备202的其中两个出接口,如图4所示连接的是出接口I1和出接口I2,光矩阵设备202剩余的m-1个出接口分别与第一光矩阵模块304的m-1个主干光路连接。这n个入接口通过n根光纤分别连接对应一级分光器的备用主干光路,并最终接入各ONU,n个入接口中的每一个入接口连接一个一级分光器的备用主干光路,不同入接口连接的一级分光器不同,m小于n。In some exemplary embodiments, the trunk optical splitter 301 may also be a 2:2 optical splitter, and the two trunk optical paths of the trunk optical splitter 301 have a master-standby relationship. In this case, the optical matrix device 202 includes m+1 egress interfaces and n ingress interfaces. Among them, these m+1 outgoing interfaces are respectively connected to m+1 backup PON ports of OLT201. Specifically, each of the m+1 outbound interfaces is connected to one of the m+1 spare PON ports of the OLT201, and the spare PON ports connected to different outbound interfaces are different. The two trunk optical paths of the trunk optical splitter 301 are respectively connected to two outgoing interfaces of the optical matrix device 202. As shown in Figure 4, the outgoing interfaces I1 and I2 are connected, and the remaining m-1 outgoing interfaces of the optical matrix device 202 are connected. They are respectively connected to the m-1 trunk optical paths of the first optical matrix module 304. These n incoming interfaces are respectively connected to the backup backbone optical path corresponding to the first-level optical splitter through n optical fibers, and are finally connected to each ONU. Each of the n incoming interfaces is connected to the backup backbone optical path of a first-level optical splitter. Different The primary optical splitter connected to the input interface is different, and m is smaller than n.
在一些示例性实施例中,与主干分光器的主干光路连接的出接口称为基础管理出接口,与基础管理出接口连接的备用PON口称为基础注册管理PON口。基础注册管理PON口可通过网络规划人为指定,也可以由OLT在接收光矩阵设备的注册信号后自动识别。In some exemplary embodiments, the outbound interface connected to the backbone optical path of the backbone optical splitter is called the basic management outbound interface, and the backup PON port connected to the basic management outbound interface is called the basic registration management PON port. The basic registration management PON port can be manually specified through network planning, or it can be automatically identified by the OLT after receiving the registration signal of the optical matrix device.
需要说明的是,一级分光器的主用主干光路直接与OLT的主PON口连接。It should be noted that the main trunk optical path of the first-level optical splitter is directly connected to the main PON port of the OLT.
在一些示例性实施例中,注册接入模块302,通过主干分光器301连接光矩阵设备202的出接口,用于实现光矩阵设备202在OLT201上的注册接入,通过内部虚拟注册链路D0连接第一光矩阵模块304,用于在m个出接口的状态为空闲的情况下,周期性与m个出接口中的任意一个出接口连接,通过连接的出接 口发起虚拟注册信号。具体的,在主干分光器301为1:2分光器的情况下,m个出接口是指出接口I1到出接口Im;在主干分光器301为2:2分光器的情况下,m个出接口是指出接口I1、出接口I3到出接口I(m+1),或者出接口I2、出接口I3到出接口I(m+1)。In some exemplary embodiments, the registration access module 302 is connected to the outbound interface of the optical matrix device 202 through the trunk optical splitter 301, and is used to realize the registration access of the optical matrix device 202 on the OLT 201 through the internal virtual registration link D0. Connect to the first optical matrix module 304 for periodically connecting to any one of the m outgoing interfaces when the status of the m outgoing interfaces is idle. The port initiates a virtual registration signal. Specifically, when the trunk optical splitter 301 is a 1:2 optical splitter, the m outlet interfaces refer to the interface I1 to the outlet interface Im; when the trunk optical splitter 301 is a 2:2 optical splitter, the m outlet interfaces It refers to interface I1, outgoing interface I3 to outgoing interface I(m+1), or outgoing interface I2, outgoing interface I3 to outgoing interface I(m+1).
在一些示例性实施例中,控制模块303,用于控制注册接入模块302实现相应的功能,控制第一光矩阵模块304和第二光矩阵模块305的连接或断开。In some exemplary embodiments, the control module 303 is used to control the registration access module 302 to implement corresponding functions, and to control the connection or disconnection of the first optical matrix module 304 and the second optical matrix module 305.
在一些示例性实施例中,第一光矩阵模块304,用于在控制模块303的控制下实现出接口与内部接口的连接或断开。如图3和图4所示,光矩阵设备202的m-1个出接口分别与第一光矩阵模块304的m-1个主干光路连接,光矩阵设备202的m个内部接口分别与第一光矩阵模块304的m个支路光路连接,光矩阵设备202的m个出接口中的任意一个出接口与光矩阵设备202的m个内部接口中的任意一个内部接口的连接实现了任意一条第一内部链路的接通。In some exemplary embodiments, the first optical matrix module 304 is used to connect or disconnect the outgoing interface and the internal interface under the control of the control module 303. As shown in Figures 3 and 4, the m-1 output interfaces of the optical matrix device 202 are respectively connected to the m-1 trunk optical paths of the first optical matrix module 304, and the m internal interfaces of the optical matrix device 202 are respectively connected to the first optical matrix module 304. The m branch optical paths of the optical matrix module 304 are connected, and the connection between any one of the m output interfaces of the optical matrix device 202 and any one of the m internal interfaces of the optical matrix device 202 realizes any first An internal link is connected.
在一些示例性实施例中,第二光矩阵模块305,用于在控制模块303的控制下实现内部接口与入接口的连接或断开。如图3和图4所示,光矩阵设备202的m个内部接口分别与第二光矩阵模块304的m个主干光路连接,光矩阵设备202的n个入接口分别与第二光矩阵模块304的n个支路光路连接,光矩阵设备202的m个内部接口中的任意一个内部接口与光矩阵设备202的n个入接口中的任意一个入接口的连接实现了任意一条第二内部链路的接通。In some exemplary embodiments, the second optical matrix module 305 is used to connect or disconnect the internal interface and the incoming interface under the control of the control module 303. As shown in Figures 3 and 4, the m internal interfaces of the optical matrix device 202 are respectively connected to the m trunk optical paths of the second optical matrix module 304, and the n input interfaces of the optical matrix device 202 are respectively connected to the second optical matrix module 304. The n branch optical paths are connected, and the connection between any one of the m internal interfaces of the optical matrix device 202 and any one of the n incoming interfaces of the optical matrix device 202 realizes any second internal link. of connection.
下面基于本公开的主干光路保护系统的架构介绍OLT和光矩阵设备中的主干光路保护方法的实现过程。The following is an introduction to the implementation process of the backbone light path protection method in OLT and optical matrix equipment based on the architecture of the backbone light path protection system of the present disclosure.
首先描述光矩阵设备作为外置设备的情况下OLT和光矩阵设备中的主干光路保护方法的实现过程。First, the implementation process of the backbone optical path protection method in OLT and optical matrix equipment is described when the optical matrix equipment is used as an external device.
图5为本公开一个实施例提供的光矩阵设备作为外置设备的情况下应用于OLT的主干光路保护方法的流程图。Figure 5 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by an embodiment of the present disclosure is used as an external device.
第一方面,参照图5,本公开一个实施例提供一种主干光路保护方法,该方法可以应用于OLT,该方法包括:In the first aspect, referring to Figure 5, an embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to OLT. The method includes:
步骤500、获取第一对应关系和第二对应关系;其中,第一对应关系为主PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系。Step 500: Obtain the first correspondence relationship and the second correspondence relationship; wherein, the first correspondence relationship is the correspondence relationship between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is the backup PON port. Correspondence between the backup PON port in the cluster and the outbound interface of the optical matrix device.
在一些示例性实施例中,主PON口集群包括与光矩阵设备的出接口连接的 备用主干光路对应的主用主干光路连接的主PON口的集合。In some exemplary embodiments, the main PON port cluster includes A collection of main PON ports connected to the main backbone optical path corresponding to the backup backbone optical path.
在一些示例性实施例中,主PON口集群中的主PON口数量可以根据同一个OLT的PON口中同时出现主干光路中断的PON口数量确定。同时出现主干光路中断的PON口数量可以是指同一时间段内PON离线(PON LOS)告警未恢复的PON口数量。例如,主PON口集群中的主PON口数量为同一个OLT的PON口中同时出现主干光路中断的PON口数量。又如,主PON口集群中的主PON口数量为同一个OLT的PON口中同时出现主干光路中断的PON口数量和预设值之和,该预设值为在可容忍范围内。In some exemplary embodiments, the number of primary PON ports in the primary PON port cluster can be determined based on the number of PON ports in the same OLT that have trunk optical path interruptions at the same time. The number of PON ports with trunk optical path interruptions at the same time can refer to the number of PON ports with unrecovered PON offline (PON LOS) alarms within the same time period. For example, the number of main PON interfaces in the main PON interface cluster is the number of PON interfaces in the same OLT whose main optical path is interrupted at the same time. For another example, the number of main PON ports in the main PON port cluster is the sum of the number of PON ports that have trunk optical path interruptions in the PON ports of the same OLT at the same time and the preset value. The preset value is within the tolerable range.
在一些示例性实施例中,备用PON口集群包括与光矩阵设备的出接口连接的备用PON口集合。In some exemplary embodiments, the backup PON port cluster includes a set of backup PON ports connected to the egress interface of the optical matrix device.
下面分别描述第一对应关系和第二对应关系的获取方式。The following describes respectively how to obtain the first correspondence relationship and the second correspondence relationship.
(一)第一对应关系的获取方式。(1) How to obtain the first correspondence relationship.
在一些示例性实施例中,第一对应关系可以通过网络规划加以确认。In some exemplary embodiments, the first correspondence relationship may be confirmed through network planning.
在一些示例性实施例中,获取第一对应关系包括:接收光矩阵设备发送的第一对应关系。In some exemplary embodiments, obtaining the first correspondence includes: receiving the first correspondence sent by the light matrix device.
在一些示例性实施例中,获取第一对应关系包括:接收光矩阵设备发送的入接口和光网络单元之间的第三对应关系,根据第三对应关系,以及主PON口和光网络单元之间的第四对应关系,建立或更新第二入接口对应的第一对应关系;其中,所述第二入接口为任意一个入接口。In some exemplary embodiments, obtaining the first correspondence includes: receiving a third correspondence between the ingress interface and the optical network unit sent by the optical matrix device, and according to the third correspondence, and between the main PON port and the optical network unit. The fourth correspondence relationship is to establish or update the first correspondence relationship corresponding to the second incoming interface; wherein the second incoming interface is any incoming interface.
在一些示例性实施例中,根据第三对应关系,以及主PON口和光网络单元之间的第四对应关系,建立或更新第二入接口对应的第一对应关系包括:根据是否存在第二入接口对应的第一对应关系,以及第二入接口对应的第一对应关系中的主PON口与第三主PON口是否相同,建立或更新第二入接口对应的第一对应关系;其中,第三主PON口为第二入接口对应的第三对应关系中的光网络单元对应的第四对应关系中的主PON口。In some exemplary embodiments, according to the third correspondence relationship and the fourth correspondence relationship between the main PON port and the optical network unit, establishing or updating the first correspondence relationship corresponding to the second ingress interface includes: according to whether there is a second ingress interface. The first corresponding relationship corresponding to the interface, and whether the main PON port and the third main PON port in the first corresponding relationship corresponding to the second incoming interface are the same, establishing or updating the first corresponding relationship corresponding to the second incoming interface; wherein, the first corresponding relationship corresponding to the second incoming interface The three main PON ports are the main PON ports in the fourth corresponding relationship corresponding to the optical network unit in the third corresponding relationship corresponding to the second incoming interface.
在一些示例性实施例中,根据是否存在第二入接口对应的第一对应关系,以及第二入接口对应的第一对应关系中的主PON口与第三主PON口是否相同,建立或更新第二入接口对应的第一对应关系包括以下至少之一:In some exemplary embodiments, establishing or updating is performed based on whether there is a first corresponding relationship corresponding to the second incoming interface, and whether the main PON port and the third main PON port in the first corresponding relationship corresponding to the second incoming interface are the same. The first correspondence relationship corresponding to the second inlet interface includes at least one of the following:
在不存在第二入接口对应的第一对应关系的情况下,建立第二入接口和第三主PON口之间的第一对应关系; If there is no first corresponding relationship corresponding to the second incoming interface, establish a first corresponding relationship between the second incoming interface and the third main PON port;
在存在第二入接口对应的第一对应关系,且第二入接口对应的第一对应关系中的主PON口与第三主PON口相同的情况下,保持第二入接口对应的第一对应关系中的主PON口不变;When there is a first correspondence relationship corresponding to the second inlet interface, and the main PON port and the third main PON port in the first correspondence relationship corresponding to the second inlet interface are the same, the first correspondence corresponding to the second inlet interface is maintained. The main PON port in the relationship remains unchanged;
在存在第二入接口对应的第一对应关系,且第二入接口对应的第一对应关系中的主PON口与第三主PON口不相同的情况下,将第二入接口对应的第一对应关系中的主PON口更新为第三主PON口。When there is a first corresponding relationship corresponding to the second incoming interface, and the main PON port and the third main PON port in the first corresponding relationship corresponding to the second incoming interface are different, the first corresponding relationship corresponding to the second incoming interface is changed. The primary PON port in the corresponding relationship is updated to the third primary PON port.
在一些示例性实施例中,第一对应关系还包括:入接口的状态。In some exemplary embodiments, the first correspondence relationship further includes: the status of the incoming interface.
在一些示例性实施例中,该方法还包括:根据第二入接口的状态确定第二入接口所连链路的状态。In some exemplary embodiments, the method further includes: determining the status of the link connected to the second inbound interface according to the status of the second inbound interface.
在一些示例性实施例中,根据第二入接口的状态确定第二入接口所连链路的状态包括以下至少之一:In some exemplary embodiments, determining the status of the link connected to the second inbound interface based on the status of the second inbound interface includes at least one of the following:
在第二入接口的状态为无效,且第二入接口对应的第一对应关系中的主PON口下存在光网络单元在线的情况下,确定第二入接口所连链路的状态为无效;这里主PON口下存在光网络单元可以是指存在与主PON口连接的光网络单元,或存在与主PON口连接,且在线的光网络单元;When the status of the second incoming interface is invalid and there is an optical network unit online under the main PON port in the first correspondence corresponding to the second incoming interface, it is determined that the status of the link connected to the second incoming interface is invalid; The presence of an optical network unit under the main PON port here may refer to the existence of an optical network unit connected to the main PON port, or the existence of an optical network unit connected to the main PON port and online;
在第二入接口的状态为不稳定,且第二入接口对应的第一对应关系中的主PON口下存在光网络单元稳定在线的情况下,确定第二入接口所连链路的状态为不稳定;When the status of the second incoming interface is unstable and there is an optical network unit stably online under the main PON port in the first correspondence corresponding to the second incoming interface, it is determined that the status of the link connected to the second incoming interface is Unstable;
在第二入接口的状态为不稳定,且第二入接口对应的第一对应关系中的主PON口下存在光网络单元不稳定在线的情况下,确定第二入接口对应的第一对应关系中的主PON口的支路光路不稳定或存在其他干扰问题。When the status of the second incoming interface is unstable and there is an optical network unit under the main PON port in the first corresponding relationship corresponding to the second incoming interface that is unstable and online, determine the first corresponding relationship corresponding to the second incoming interface. The branch optical path of the main PON port is unstable or has other interference problems.
在一些示例性实施例中,根据第二入接口的状态确定第二入接口所连链路的状态后,该方法还包括:向网管服务器上报通知消息或告警消息。In some exemplary embodiments, after determining the status of the link connected to the second inbound interface based on the status of the second inbound interface, the method further includes: reporting a notification message or an alarm message to the network management server.
(二)第二对应关系的获取方式。(2) How to obtain the second correspondence relationship.
在一些示例性实施例中,获取第二对应关系包括:检测第二备用PON口的状态;其中,第二备用PON口为备用PON口集群中的任意一个备用PON口;第二备用PON口的状态包括管理状态和实际使用状态;在第二备用PON口的管理状态为可用,且第二备用PON口的实际使用状态为空闲的情况下,根据第二备用PON口在预定数量的周期内是否接收到光矩阵设备发送的虚拟注册信号来建立或更新第二备用PON口对应的第二对应关系。 In some exemplary embodiments, obtaining the second correspondence relationship includes: detecting the status of the second backup PON port; wherein the second backup PON port is any backup PON port in the backup PON port cluster; the second backup PON port The status includes the management status and the actual usage status; when the management status of the second backup PON port is available and the actual usage status of the second backup PON port is idle, according to whether the second backup PON port is idle within a predetermined number of cycles. The virtual registration signal sent by the optical matrix device is received to establish or update the second corresponding relationship corresponding to the second backup PON port.
在一些示例性实施例中,周期性检测第二备用PON口的状态。In some exemplary embodiments, the status of the second backup PON port is periodically detected.
在一些示例性实施例中,可用采用本领域技术人员熟知的方式检测第二备用PON口的状态,这里不再赘述。In some exemplary embodiments, the status of the second backup PON port can be detected using methods well known to those skilled in the art, which will not be described again here.
例如,可以采用第二备用PON口物理上是否存在ONU在线等方式。具体的,当第二备用PON口的管理状态为占用或禁用时,第二备用PON口的管理状态为不可用,实际使用状态为NA;当第二备用PON口物理上存在ONU在线;或者,第二备用PON口为基础注册管理PON口,且第二备用PON口物理上存在除光矩阵设备之外的其他ONU在线时,第二备用PON口的管理状态为占用,实际使用状态为NA。For example, you can use methods such as whether there is an ONU online physically on the second backup PON port. Specifically, when the management status of the second backup PON port is occupied or disabled, the management status of the second backup PON port is unavailable and the actual usage status is NA; when there is an ONU online physically on the second backup PON port; or, When the second backup PON port is the basic registration management PON port, and there are other ONUs other than the optical matrix device online physically on the second backup PON port, the management status of the second backup PON port is occupied and the actual usage status is NA.
在一些示例性实施例中,第二备用PON口的状态包括管理状态和实际使用状态。其中,第二管理状态是指对第二备用PON口的管理过程中对备用PON口设置的状态,实际使用状态是指第二备用PON口实际是否被占用的状态。In some exemplary embodiments, the status of the second backup PON port includes a management status and an actual usage status. The second management state refers to the state set on the standby PON port during the management of the second standby PON port, and the actual usage state refers to the state of whether the second standby PON port is actually occupied.
在一些示例性实施例中,管理状态包括但不限于:可用、不可用、禁用、分配等中的至少一个。In some exemplary embodiments, the management status includes, but is not limited to: at least one of available, unavailable, disabled, allocated, and the like.
在一些示例性实施例中,实际使用状态包括但不限于:空闲、分配、占用、NA、挂起、故障等中的至少一个。In some exemplary embodiments, the actual usage status includes, but is not limited to: at least one of idle, allocated, occupied, NA, suspended, faulty, and the like.
在一些示例性实施例中,第二备用PON口的管理状态可以采用管理状态标志位来表示,第二备用PON口的实际使用状态可以采用实际使用状态标志位来表示。例如,当第二备用PON口的管理状态为占用或禁用时,管理状态标志位为表示不可用的字符,实际使用状态标志位为NA;当第二备用PON口物理上存在ONU在线;或者,第二备用PON口为基础注册管理PON口,且第二备用PON口物理上存在除光矩阵设备之外的其他ONU在线时,第二备用PON口的管理状态标志位为表示占用的字符,实际使用状态标志位为NA。In some exemplary embodiments, the management status of the second backup PON port can be represented by the management status flag bit, and the actual usage status of the second backup PON port can be represented by the actual usage status flag bit. For example, when the management status of the second backup PON port is occupied or disabled, the management status flag bit is a character indicating unavailability, and the actual usage status flag bit is NA; when there is an ONU online physically on the second backup PON port; or, When the second standby PON port is the basic registration management PON port, and there are other ONUs other than the optical matrix device online on the second standby PON port, the management status flag bit of the second standby PON port is a character indicating occupation. In fact, The usage status flag is NA.
在一些示例性实施例中,根据第二备用PON口在预定数量的周期内是否接收到光矩阵设备发送的虚拟注册信号建立或更新第二备用PON口对应的第二对应关系包括以下至少之一:In some exemplary embodiments, establishing or updating the second correspondence relationship corresponding to the second backup PON port according to whether the second backup PON port receives a virtual registration signal sent by the optical matrix device within a predetermined number of periods includes at least one of the following: :
在第二备用PON口在一个周期内接收到光矩阵设备发送的虚拟注册信号的情况下,从虚拟注册信号中解析得到出接口索引,根据第二备用PON口的索引和出接口索引建立或更新第二备用PON口对应的第二对应关系;When the second backup PON port receives the virtual registration signal sent by the optical matrix device within one cycle, the outbound interface index is obtained by parsing the virtual registration signal, and is established or updated based on the index of the second backup PON port and the outbound interface index. The second corresponding relationship corresponding to the second backup PON port;
在第二备用PON口在一个周期内没有接收到光矩阵设备发送的虚拟注册信 号的情况下,将第二备用PON口对应的第二对应关系中的备用PON口的管理状态更新为NA,实际使用状态更新为挂起;其中,实际使用状态为挂起的备用PON口在步骤500中选择第一备用PON口时,将不会被选择;The second backup PON port does not receive the virtual registration information sent by the optical matrix device within one cycle. In the case of the second backup PON port, the management status of the backup PON port in the second correspondence relationship corresponding to the second backup PON interface is updated to NA, and the actual usage status is updated to suspended; wherein, the backup PON port whose actual usage status is suspended is in When selecting the first backup PON port in step 500, it will not be selected;
在第二备用PON口在X个周期内没有接收到光矩阵设备发送的虚拟注册信号的情况下,将第二备用PON口对应的第二对应关系中的备用PON口的管理状态更新为NA,实际使用状态更新为故障;其中,X为大于或等于2的整数。When the second backup PON port does not receive the virtual registration signal sent by the optical matrix device within X cycles, update the management status of the backup PON port in the second correspondence relationship corresponding to the second backup PON port to NA, The actual usage status is updated to fault; where X is an integer greater than or equal to 2.
在一些示例性实施例中,虚拟注册信号包括:注册标识和出接口索引。In some exemplary embodiments, the virtual registration signal includes: a registration identifier and an egress interface index.
在一些示例性实施例中,注册标识包括但不限于PON媒体访问控制(MAC,Media Access Control)地址、逻辑ONU标识(LOID,Logical ONU IDentifier)、序列号(SN,Serial Number)等中的至少一个。In some exemplary embodiments, the registration identifier includes, but is not limited to, at least one of a PON media access control (MAC, Media Access Control) address, a logical ONU identifier (LOID, Logical ONU IDentifier), a serial number (SN, Serial Number), etc. one.
在一些示例性实施例中,出接口索引的定义方式包括但不限于利用G.983.1中ONU序列号(Serial_number_ONU)中未定义的第13字节根据一定格式约定。In some exemplary embodiments, the way to define the outbound interface index includes but is not limited to using the undefined 13th byte of the ONU serial number (Serial_number_ONU) in G.983.1 according to a certain format convention.
在一些示例性实施例中,根据第二备用PON口的索引和出接口索引建立或更新第二备用PON口对应的第二对应关系包括以下至少之一:In some exemplary embodiments, establishing or updating the second correspondence relationship corresponding to the second backup PON port according to the index of the second backup PON port and the outbound interface index includes at least one of the following:
在第二备用PON口对应的第二对应关系不存在的情况下,建立第二备用PON口对应的第二对应关系;其中,建立的第二备用PON口对应的第二对应关系中的出接口为解析得到的出接口索引对应的出接口,建立的某第二用PON口对应的第二对应关系中的备用PON口的状态中的管理状态为可用,实际使用状态为空闲;When the second correspondence relationship corresponding to the second backup PON port does not exist, establish a second correspondence relationship corresponding to the second backup PON port; wherein, the outbound interface in the second correspondence relationship corresponding to the established second backup PON port For the outbound interface corresponding to the parsed outbound interface index, the management status of the standby PON port in the second corresponding relationship established for a certain second PON port is available, and the actual usage status is idle;
在第二备用PON口对应的第二对应关系存在,且第二备用PON口对应的第二对应关系中的出接口的出接口索引与解析得到的出接口索引相同的情况下,保持第二备用PON口对应的第二对应关系中的出接口不变,保持第二备用PON口对应的第二对应关系中的第二备用PON口的管理状态为可用,保持实际使用状态为“空闲”不变;When the second correspondence relationship corresponding to the second backup PON port exists, and the outbound interface index of the outbound interface in the second correspondence relationship corresponding to the second backup PON port is the same as the outbound interface index obtained by parsing, the second backup is maintained. The outbound interface in the second mapping relationship corresponding to the PON port remains unchanged, the management status of the second backup PON port in the second mapping relationship corresponding to the second backup PON port remains unchanged, and the actual usage status remains unchanged at "idle" ;
在第二备用PON口对应的第二对应关系存在,且第二备用PON口对应的第二对应关系中的出接口的出接口索引与解析得到的出接口索引不相同的情况下,更新第二备用PON口对应的第二对应关系中的出接口为解析得到的出接口索引对应的出接口,将第二备用PON口对应的第二对应关系中的第二备用PON口的管理状态更新为可用,实际使用状态更新为空闲。When a second correspondence relationship corresponding to the second backup PON port exists, and the outbound interface index of the outbound interface in the second correspondence relationship corresponding to the second standby PON port is different from the parsed outbound interface index, update the second The outbound interface in the second correspondence relationship corresponding to the standby PON port is the outbound interface corresponding to the parsed outbound interface index, and the management status of the second standby PON port in the second correspondence relationship corresponding to the second standby PON port is updated to available. , the actual usage status is updated to idle.
在一些示例性实施例中,在第二备用PON口对应的第二对应关系存在,且 第二备用PON口对应的第二对应关系中的出接口的出接口索引与解析得到的出接口索引不相同的情况下,该方法还包括:向网管服务器或运维系统上报第二备用PON口对应的第二对应关系发生变化的通知消息。In some exemplary embodiments, a second correspondence relationship corresponding to the second backup PON port exists, and When the outbound interface index of the outbound interface in the second correspondence relationship corresponding to the second standby PON port is different from the outbound interface index obtained by parsing, the method further includes: reporting the second standby PON port to the network management server or operation and maintenance system. Notification message that the corresponding second correspondence relationship changes.
步骤501、在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口;其中,备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量。Step 501: When an abnormality is detected in the first primary PON port in the primary PON port cluster, select the first standby PON port from the standby PON port cluster; wherein the number of standby PON ports in the standby PON port cluster is less than or Equal to the number of primary PON ports in the primary PON port cluster.
在一些示例性实施例中,在主干分光器为1:2分光器的情况下,备用PON口集群中的备用PON口数量小于主PON口集群中的主PON口数量;在主干分光器为2:2分光器的情况下,备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量。In some exemplary embodiments, when the backbone optical splitter is a 1:2 optical splitter, the number of backup PON ports in the backup PON port cluster is less than the number of main PON ports in the main PON port cluster; when the backbone optical splitter is 2 : In the case of 2 optical splitters, the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster.
在一些示例性实施例中,从备用PON口集群中选择第一备用PON口后,该方法还包括:将第一备用PON口对应的第二对应关系中的第一备用PON口的实际使用状态更新为占用。In some exemplary embodiments, after selecting the first backup PON port from the backup PON port cluster, the method further includes: assigning the actual usage status of the first backup PON port in the second correspondence relationship corresponding to the first backup PON port. Updated to occupied.
这里第二对应关系为备用PON口集群中的备用PON口、光矩阵设备的出接口和备用PON口的状态之间的对应关系。备用PON口的状态包括管理状态和实际使用状态。The second correspondence here is the correspondence between the status of the backup PON port in the backup PON port cluster, the outgoing interface of the optical matrix device, and the status of the backup PON port. The status of the backup PON port includes management status and actual use status.
在一些示例性实施例中,从备用PON口集群中选择第一备用PON口包括以下至少之一:In some exemplary embodiments, selecting the first backup PON port from the backup PON port cluster includes at least one of the following:
在预先保存的主PON口和备用PON口之间的第五对应关系中,存在第一主PON口对应的第五对应关系的情况下,选择第一主PON口对应的第五对应关系中的备用PON口;In the case where there is a fifth correspondence relationship corresponding to the first main PON port among the pre-saved fifth correspondence relationships between the main PON port and the backup PON port, select the fifth correspondence relationship corresponding to the first main PON port. Spare PON port;
在预先保存的主PON口和备用PON口之间的第五对应关系中,不存在第一主PON口对应的第五对应关系的情况下,根据预设规则从备用PON口集群中选择第一备用PON口;In the case where there is no fifth correspondence relationship between the pre-saved primary PON port and the backup PON port and there is no fifth correspondence relationship corresponding to the first primary PON port, the first primary PON port cluster is selected from the backup PON port cluster according to the preset rules. Spare PON port;
根据预设规则从备用PON口集群中选择第一备用PON口。Select the first backup PON port from the backup PON port cluster according to the preset rules.
在一些示例性实施例中,根据预设规则从备用PON口集群中选择第一备用PON口之前,该方法还包括:根据备用PON口集群中的所有备用PON口的状态和光矩阵设备的与第一光网络单元组连接的第三入接口的状态确定是否可以倒换;在确定可以倒换的情况下,继续执行根据预设规则从备用PON口集群中选择第一备用PON口的步骤。 In some exemplary embodiments, before selecting the first backup PON port from the backup PON port cluster according to the preset rules, the method further includes: based on the status of all backup PON ports in the backup PON port cluster and the optical matrix device and the first backup PON port. The status of the third incoming interface connected to an optical network unit group determines whether switching is possible; if it is determined that switching is possible, continue to perform the step of selecting the first backup PON port from the backup PON port cluster according to the preset rules.
在一些示例性实施例中,根据备用PON口集群中的所有备用PON口的状态和光矩阵设备的与第一光网络单元组连接的第三入接口的状态确定是否可以倒换包括以下至少之一:In some exemplary embodiments, determining whether switching is possible based on the status of all backup PON interfaces in the backup PON interface cluster and the status of the third incoming interface of the optical matrix device connected to the first optical network unit group includes at least one of the following:
在备用PON口集群中存在管理状态为可用,实际使用状态为空闲的备用PON口,且第三入接口的状态为有效的情况下,确定可以倒换;If there is a backup PON port in the backup PON port cluster whose management status is available but whose actual usage status is idle, and the status of the third incoming interface is valid, it is determined that the switch can be performed;
在备用PON口集群中不存在管理状态为可用,实际使用状态为空闲的备用PON口,或第三入接口的状态不是有效的情况下,确定不可以倒换。If there is no standby PON port in the standby PON port cluster that has a management status of available and an actual use status of idle, or the status of the third incoming interface is not valid, it is determined that the switch cannot be performed.
在一些示例性实施例中,在确定不可以倒换的情况下,该方法还包括:向网管服务器上报告警消息。In some exemplary embodiments, when it is determined that switching is not possible, the method further includes: reporting an alarm message to the network management server.
下面描述选择第一备用PON口所使用的预设规则。The following describes the preset rules used to select the first backup PON port.
(一)基于备用PON口的状态和出接口的优先级选择第一备用PON口。(1) Select the first backup PON port based on the status of the backup PON port and the priority of the outgoing interface.
在一些示例性实施例中,根据预设规则从备用PON口集群中选择第一备用PON口包括:根据备用PON口集群中的所有备用PON口的状态和所有备用PON口对应的第二对应关系中的出接口的优先级,从备用PON口集群中选择第一备用PON口。In some exemplary embodiments, selecting the first backup PON port from the backup PON port cluster according to preset rules includes: based on the status of all backup PON ports in the backup PON port cluster and the second correspondence relationship corresponding to all backup PON ports. Based on the priority of the outbound interface, select the first backup PON port from the backup PON port cluster.
在一些示例性实施例中,根据备用PON口集群中的所有备用PON口的状态和所有备用PON口对应的第二对应关系中的出接口的优先级,从备用PON口集群中选择第一备用PON口包括:从备用PON口集群中对应的第二对应关系中的管理状态为可用,实际使用状态为空闲的备用PON口中,选择对应的第二对应关系中的出接口的优先级最高的备用PON口。In some exemplary embodiments, the first backup PON interface is selected from the backup PON interface cluster based on the status of all backup PON interfaces in the backup PON interface cluster and the priority of the outbound interface in the second correspondence relationship corresponding to all backup PON interfaces. The PON ports include: from the backup PON ports in the corresponding second mapping relationship in the backup PON port cluster, the management status is available and the actual use status is idle. Select the backup with the highest priority of the outbound interface in the corresponding second mapping relationship. PON port.
在一些示例性实施例中,在已经选择的备用PON口出现异常,且第一主PON口尚未恢复的情况下,从其他管理状态为可用,实际使用状态为空闲的备用PON口中重新选择备用PON口。In some exemplary embodiments, when an abnormality occurs in the selected backup PON port and the first primary PON port has not yet recovered, the backup PON is re-selected from other backup PON ports that are available in the management status but idle in actual use. mouth.
在一些示例性实施例中,光矩阵设备的出接口的优先级的级数与光矩阵设备的处于工作状态的出接口的数量相同。In some exemplary embodiments, the number of priority levels of the outbound interfaces of the optical matrix device is the same as the number of working outbound interfaces of the optical matrix device.
在一些示例性实施例中,可以采用0到m来表示出接口的优先级。例如,最低优先级为0,最高优先级为m,优先级越高,对应的数值越高;或者,最低优先级为m,最高优先级为0,优先级越高,对应的数值越低。In some exemplary embodiments, 0 to m may be used to represent the priority of the outbound interface. For example, the lowest priority is 0 and the highest priority is m. The higher the priority, the higher the corresponding value; or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value.
在一些示例性实施例中,从备用PON口集群中选择第一备用PON口之前,该方法还包括:根据第三出接口对应的第二对应关系中的备用PON口是否发生 变化,以及第三出接口对应的第二对应关系中的备用PON口的状态确定或更新第三出接口的优先级。In some exemplary embodiments, before selecting the first backup PON port from the backup PON port cluster, the method further includes: determining whether the backup PON port in the second corresponding relationship corresponding to the third outgoing interface occurs. changes, and the status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface determines or updates the priority of the third outbound interface.
下面描述出接口的优先级的确定方式。The following describes how to determine the priority of an outbound interface.
在一些示例性实施例中,备用PON口的状态包括管理状态和实际使用状态。In some exemplary embodiments, the status of the backup PON port includes management status and actual usage status.
在一些示例性实施例中,根据第三出接口对应的第二对应关系中的备用PON口是否发生变化,以及第三出接口对应的第二对应关系中的备用PON口的状态确定或更新第三出接口的优先级包括以下至少之一:In some exemplary embodiments, the third egress interface is determined or updated based on whether the backup PON port in the second correspondence relationship changes and the status of the backup PON port in the second correspondence relationship corresponding to the third egress interface. The priority of the three outgoing interfaces includes at least one of the following:
在第三出接口对应的第二对应关系中的备用PON口在第一预设时间段内保持不变,且第三出接口对应的第二对应关系中的备用PON口的管理状态在第一预设时间段内为可用,实际使用状态在第一预设时间段内为空闲的情况下,将第三出接口的优先级提高一级;例如,最低优先级为0,最高优先级为m,优先级越高,对应的数值越高,那么优先级提高一级则是指将优先级加1;或者,最低优先级为m,最高优先级为0,优先级越高,对应的数值越低,那么优先级提高一级则是指将优先级减1;The backup PON port in the second correspondence relationship corresponding to the third outbound interface remains unchanged within the first preset time period, and the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface remains unchanged in the first preset time period. If it is available within the preset time period and the actual usage status is idle within the first preset time period, increase the priority of the third outbound interface by one level; for example, the lowest priority is 0 and the highest priority is m , the higher the priority, the higher the corresponding value, then increasing the priority by one level means increasing the priority by 1; or, the lowest priority is m, the highest priority is 0, the higher the priority, the higher the corresponding value. If it is low, then raising the priority by one level means reducing the priority by 1;
在第三出接口对应的第二对应关系中的备用PON口在第一预设时间段内发生变化,且第三出接口对应的第二对应关系中的备用PON口的管理状态在第一预设时间段内为可用,实际使用状态在第一预设时间段内为空闲的情况下,将第三出接口的优先级降低一级;例如,最低优先级为0,最高优先级为m,优先级越高,对应的数值越高,那么优先级降低一级则是指将优先级减1;或者,最低优先级为m,最高优先级为0,优先级越高,对应的数值越低,那么优先级降低一级则是指将优先级加1;The backup PON port in the second correspondence relationship corresponding to the third outbound interface changes within the first preset time period, and the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface changes in the first preset time period. Assuming that it is available during the time period and the actual usage status is idle during the first preset time period, the priority of the third outbound interface is lowered by one level; for example, the lowest priority is 0 and the highest priority is m, The higher the priority, the higher the corresponding value. Then lowering the priority by one level means reducing the priority by 1; or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value. , then lowering the priority by one level means increasing the priority by 1;
在第三出接口对应的第二对应关系中的备用PON口的管理状态在第一预设时间段内为NA,实际使用状态在第一预设时间段内为挂起的情况下,将第三出接口的优先级降低两级;例如,最低优先级为0,最高优先级为m,优先级越高,对应的数值越高,那么优先级降低两级则是指将优先级减2;或者,最低优先级为m,最高优先级为0,优先级越高,对应的数值越低,那么优先级降低两级则是指将优先级加2;When the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface is NA within the first preset time period, and the actual usage status is suspended within the first preset time period, the second The priority of the three-output interface is reduced by two levels; for example, the lowest priority is 0 and the highest priority is m. The higher the priority, the higher the corresponding value. Then reducing the priority by two levels means reducing the priority by 2; Or, the lowest priority is m and the highest priority is 0. The higher the priority, the lower the corresponding value. Then lowering the priority by two levels means increasing the priority by 2;
在第三出接口对应的第二对应关系中的备用PON口的管理状态在第一预设时间段内为NA,实际使用状态在第一预设时间段内为故障的情况下,将第三出接口的优先级降低三级;例如,最低优先级为0,最高优先级为m,优先级越高,对应的数值越高,那么优先级降低三级则是指将优先级减3;或者,最低优先级 为m,最高优先级为0,优先级越高,对应的数值越低,那么优先级降低三级则是指将优先级加3;When the management status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface is NA within the first preset time period, and the actual usage status is fault within the first preset time period, the third Reduce the priority of the outbound interface by three levels; for example, the lowest priority is 0 and the highest priority is m. The higher the priority, the higher the corresponding value. Then reducing the priority by three levels means reducing the priority by 3; or , lowest priority is m, the highest priority is 0. The higher the priority, the lower the corresponding value. Then reducing the priority by three levels means increasing the priority by 3;
在第三出接口为基础管理出接口的情况下,确定第三出接口的优先级为满足预设条件的出接口的优先级中的最低优先级;其中,基础管理出接口为连接光矩阵设备的主干分光器的主干光路的出接口,满足预设条件的出接口为第二对应关系中与备用PON口的管理状态为可用,实际使用状态为空闲对应的出接口。In the case where the third outbound interface is the basic management outbound interface, the priority of the third outbound interface is determined to be the lowest priority among the priorities of the outbound interfaces that meet the preset conditions; where the basic management outbound interface is connected to the optical matrix device The outgoing interface of the trunk optical path of the trunk optical splitter, the outgoing interface that meets the preset conditions is the outgoing interface corresponding to the management status of the backup PON port in the second correspondence relationship is available, and the actual usage status is idle.
在一些示例性实施例中,第一预设时间段大于备用PON口的状态检测周期的X倍。In some exemplary embodiments, the first preset time period is greater than X times the status detection period of the backup PON port.
(二)将备用PON口集群分为保证子集群和共享子集群两个子集群,优先保证高优先级的主PON口的备用PON口的选择。(2) Divide the backup PON port cluster into two sub-clusters, the guaranteed sub-cluster and the shared sub-cluster, and prioritize the selection of the backup PON port that guarantees the high-priority main PON port.
在一些示例性实施例中,备用PON口集群包括保证子集群和共享子集群,保证子集群中的备用PON口数量小于共享子集群中的备用PON口数量。In some exemplary embodiments, the spare PON port cluster includes a guaranteed sub-cluster and a shared sub-cluster, and the number of spare PON ports in the guaranteed sub-cluster is less than the number of spare PON ports in the shared sub-cluster.
也就是说,将备用PON口集群分为保证子集群和共享子集群两个子集群,保证子集群中的备用PON口优先分配给高优先级的主PON口,当保证子集群中的备用PON口耗尽后,可以分配共享子集群中的备用PON口给高优先级的主PON口,即高优先级的主PON口从保证子集群到共享子集群进行分配;非高优先级的主PON口从共享子集群到保证子集群进行分配。That is to say, the backup PON port cluster is divided into two sub-clusters: guaranteed sub-cluster and shared sub-cluster. The backup PON port in the guaranteed sub-cluster is first allocated to the high-priority main PON port. When the backup PON port in the guaranteed sub-cluster is After exhaustion, the backup PON port in the shared sub-cluster can be allocated to the high-priority main PON port, that is, the high-priority main PON port is allocated from the guaranteed sub-cluster to the shared sub-cluster; the non-high-priority main PON port Allocate from shared subcluster to guaranteed subcluster.
在一些示例性实施例中,高优先级的主PON口是指优先级高于预设优先级阈值的主PON口。In some exemplary embodiments, a high-priority main PON port refers to a main PON port with a priority higher than a preset priority threshold.
在一些示例性实施例中,主PON口的优先级可以根据主PON口的相关参数确定,主PON口的相关参数例如ONU数量、业务类型、上下行业务流量等中的至少一个。In some exemplary embodiments, the priority of the main PON port may be determined based on the relevant parameters of the main PON port, such as at least one of the number of ONUs, service type, uplink and downlink service traffic, etc.
在一些示例性实施例中,根据预设规则从备用PON口集群中选择第一备用PON口包括以下至少之一:In some exemplary embodiments, selecting the first backup PON port from the backup PON port cluster according to preset rules includes at least one of the following:
在第一主PON口的优先级高于预设优先级阈值,且保证子集群的资源未耗尽的情况下,从保证子集群中选择第一备用PON口;When the priority of the first primary PON port is higher than the preset priority threshold and the resources of the guaranteed sub-cluster are not exhausted, select the first backup PON port from the guaranteed sub-cluster;
在第一主PON口的优先级高于预设优先级阈值,且保证子集群的资源耗尽的情况下,从共享子集群中选择第一备用PON口;When the priority of the first primary PON port is higher than the preset priority threshold and the resources of the sub-cluster are guaranteed to be exhausted, select the first backup PON port from the shared sub-cluster;
在第一主PON口的优先级低于预设优先级阈值,且共享子集群的资源未耗尽的情况下,从共享子集群中选择第一备用PON口。 When the priority of the first primary PON port is lower than the preset priority threshold and the resources of the shared subcluster are not exhausted, select the first backup PON port from the shared subcluster.
在一些示例性实施例中,可以根据保证子集群的占空比判断保证子集群的资源是否耗尽。In some exemplary embodiments, whether the resources of the guaranteed sub-cluster are exhausted may be determined based on the duty cycle of the guaranteed sub-cluster.
在一些示例性实施例中,保证子集群的占空比为保证子集群中管理状态为可用,实际使用状态为空闲的备用PON口的数量和保证子集群中备用PON口的数量的比值。In some exemplary embodiments, the guaranteed duty cycle of the sub-cluster is the ratio of the number of spare PON ports in the guaranteed sub-cluster with the management status being available and the actual use status being idle, and the guaranteed number of spare PON ports in the sub-cluster.
在一些示例性实施例中,根据保证子集群的占空比判断保证子集群的资源是否耗尽包括以下至少之一:In some exemplary embodiments, determining whether the resources of the guaranteed sub-cluster are exhausted according to the duty cycle of the guaranteed sub-cluster includes at least one of the following:
在保证子集群的占空比等于1的情况下,确定保证子集群的资源耗尽;Under the condition that the duty cycle of the sub-cluster is guaranteed to be equal to 1, it is determined that the resources of the sub-cluster are exhausted;
在保证子集群的占空比大于1的情况下,确定保证子集群的资源未耗尽。When the duty cycle of the sub-cluster is guaranteed to be greater than 1, it is determined that the resources of the sub-cluster are not exhausted.
在一些示例性实施例中,在保证子集群的占空比大于第一预设阈值的情况下,确定保证子集群的资源充足;在保证子集群的占空比大于第二预设阈值,且小于第一预设阈值的情况下,确定保证子集群的资源较少;在保证子集群的占空比大于1,且小于第二预设阈值的情况下,确定保证子集群的资源即将枯竭。In some exemplary embodiments, when the duty cycle of the sub-cluster is guaranteed to be greater than the first preset threshold, it is determined that the resources of the sub-cluster are sufficient; when the duty cycle of the sub-cluster is guaranteed to be greater than the second preset threshold, and If the duty cycle is less than the first preset threshold, it is determined that the resources of the guaranteed sub-cluster are less; if the duty cycle of the guaranteed sub-cluster is greater than 1 and less than the second preset threshold, it is determined that the resources of the guaranteed sub-cluster are about to be exhausted.
在一些示例性实施例中,可以根据共享子集群的占空比判断共享子集群的资源是否耗尽。In some exemplary embodiments, whether the resources of the shared sub-cluster are exhausted may be determined based on the duty cycle of the shared sub-cluster.
在一些示例性实施例中,共享子集群的占空比为共享子集群中管理状态为可用,实际使用状态为空闲的备用PON口的数量和共享子集群中备用PON口的数量的比值。In some exemplary embodiments, the duty cycle of the shared sub-cluster is the ratio of the number of spare PON ports in the shared sub-cluster whose management status is available and whose actual use status is idle and the number of spare PON ports in the shared sub-cluster.
在一些示例性实施例中,根据共享子集群的占空比判断共享子集群的资源是否耗尽包括以下至少之一:In some exemplary embodiments, determining whether the resources of the shared subcluster are exhausted according to the duty cycle of the shared subcluster includes at least one of the following:
在共享子集群的占空比等于1的情况下,确定共享子集群的资源耗尽;In the case where the duty cycle of the shared sub-cluster is equal to 1, it is determined that the resources of the shared sub-cluster are exhausted;
在共享子集群的占空比大于1的情况下,确定共享子集群的资源未耗尽。When the duty cycle of the shared sub-cluster is greater than 1, it is determined that the resources of the shared sub-cluster are not exhausted.
在一些示例性实施例中,在共享子集群的占空比大于第一预设阈值的情况下,确定共享子集群的资源充足;在共享子集群的占空比大于第二预设阈值,且小于第一预设阈值的情况下,确定共享子集群的资源较少;在共享子集群的占空比大于1,且小于第二预设阈值的情况下,确定共享子集群的资源即将枯竭。In some exemplary embodiments, when the duty cycle of the shared sub-cluster is greater than the first preset threshold, it is determined that the resources of the shared sub-cluster are sufficient; when the duty cycle of the shared sub-cluster is greater than the second preset threshold, and If the duty cycle is less than the first preset threshold, it is determined that the shared sub-cluster has fewer resources; if the duty cycle of the shared sub-cluster is greater than 1 and less than the second preset threshold, it is determined that the resources of the shared sub-cluster are about to be exhausted.
在一些示例性实施例中,从保证子集群中选择第一备用PON口包括:根据保证子集群中的备用PON口的状态和备用PON口对应的第二对应关系中的出接口的优先级,从保证子集群中选择第一备用PON口。 In some exemplary embodiments, selecting the first backup PON port from the guaranteed sub-cluster includes: based on the status of the backup PON port in the guaranteed sub-cluster and the priority of the outbound interface in the second corresponding relationship corresponding to the backup PON port, Select the first backup PON port from the guaranteed subcluster.
在一些示例性实施例中,根据保证子集群中的备用PON口的状态和备用PON口对应的第二对应关系中的出接口的优先级,从保证子集群中选择第一备用PON口包括:从保证子集群中对应的第二对应关系中的管理状态为可用,实际使用状态为空闲的备用PON口中,选择对应的第二对应关系中的出接口的优先级最高的备用PON口。In some exemplary embodiments, selecting the first backup PON port from the guaranteed sub-cluster according to the status of the backup PON port in the guaranteed sub-cluster and the priority of the outbound interface in the second correspondence relationship corresponding to the backup PON port includes: Select the backup PON port with the highest priority of the outbound interface in the corresponding second mapping relationship from the backup PON ports that are guaranteed to have a management status of available and an actual usage status of idle in the corresponding second mapping relationship in the sub-cluster.
在一些示例性实施例中,从共享子集群中选择第一备用PON口包括:根据共享子集群中的备用PON口的状态和备用PON口对应的第二对应关系中的出接口的优先级,从共享子集群中选择第一备用PON口。In some exemplary embodiments, selecting the first backup PON port from the shared sub-cluster includes: based on the status of the backup PON port in the shared sub-cluster and the priority of the outbound interface in the second corresponding relationship corresponding to the backup PON port, Select the first backup PON port from the shared subcluster.
在一些示例性实施例中,根据共享子集群中的备用PON口的状态和备用PON口对应的第二对应关系中的出接口的优先级,从共享子集群中选择第一备用PON口包括:从共享子集群中对应的第二对应关系中的管理状态为可用,实际使用状态为空闲的备用PON口中,选择对应的第二对应关系中的出接口的优先级最高的备用PON口。In some exemplary embodiments, selecting the first backup PON port from the shared sub-cluster according to the status of the backup PON port in the shared sub-cluster and the priority of the outbound interface in the second correspondence relationship corresponding to the backup PON port includes: From the backup PON ports in the corresponding second mapping relationship in the shared subcluster that have a management status of available and an actual usage status of idle, select the backup PON port with the highest priority of the outbound interface in the corresponding second mapping relationship.
在一些示例性实施例中,在已经选择的备用PON口出现异常,且第一主PON口尚未恢复的情况下,从其他管理状态为可用,实际使用状态为空闲的备用PON口中重新选择第一备用PON口。In some exemplary embodiments, when an abnormality occurs in the selected backup PON port and the first primary PON port has not yet recovered, the first primary PON port is re-selected from other backup PON ports that are available in the management status but idle in actual use. Spare PON port.
步骤502、将第一主PON口的数据迁移到第一备用PON口。Step 502: Migrate the data of the first primary PON port to the first backup PON port.
在一些示例性实施例中,将第一主PON口的数据迁移到第一备用PON口后,不删除第一PON口的数据。In some exemplary embodiments, after the data of the first primary PON port is migrated to the first backup PON port, the data of the first PON port is not deleted.
步骤503、根据第一对应关系和第二对应关系向光矩阵设备发送倒换动作信息,倒换动作信息用于指示光矩阵设备将与第一主PON口连接的第一光网络单元组连接到第一备用PON口上。Step 503: Send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship. The switching action information is used to instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first main PON port. On the backup PON port.
在一些示例性实施例中,倒换动作信息包括:第一入接口和第一出接口;其中,第一入接口为光矩阵设备用于连接第一光网络单元组的入接口,第一出接口为光矩阵单元用于连接第一备用PON口的出接口。In some exemplary embodiments, the switching action information includes: a first incoming interface and a first outgoing interface; where the first incoming interface is an incoming interface of the optical matrix device used to connect to the first optical network unit group, and the first outgoing interface It is the outlet interface of the optical matrix unit used to connect to the first backup PON port.
在一些示例性实施例中,通过基础注册管理PON口向光矩阵设备发送倒换动作信息。In some exemplary embodiments, switching action information is sent to the optical matrix device through the basic registration management PON port.
在一些示例性实施例中,向光矩阵设备发送倒换动作信息后,该方法还包括:保存第一主PON口和第一备用PON口之间的第五对应关系,将第一备用PON口对应的第二对应关系中的第一备用PON口的状态中的实际使用状态更新为占 用。In some exemplary embodiments, after sending the switching action information to the optical matrix device, the method further includes: saving the fifth correspondence between the first main PON port and the first backup PON port, and mapping the first backup PON port to The actual usage status of the first backup PON port in the second corresponding relationship is updated to account for use.
在一些示例性实施例中,向光矩阵设备发送倒换动作信息后,该方法还包括:在第一主PON口恢复正常的情况下,根据第五对应关系向光矩阵设备发送倒回动作信息,倒回动作信息用于指示光矩阵设备将第一光网络单元组与第一备用PON口断开。In some exemplary embodiments, after sending the switching action information to the optical matrix device, the method further includes: when the first main PON port returns to normal, sending the switching action information to the optical matrix device according to the fifth correspondence relationship, The rewind action information is used to instruct the optical matrix device to disconnect the first optical network unit group from the first backup PON port.
在一些示例性实施例中,倒回动作信息包括:第一入接口和第一出接口;保持第一主PON口对应的第五对应关系和第一备用PON口的数据不变,将第一备用PON口的实际使用状态更新为分配。In some exemplary embodiments, the rewind action information includes: the first incoming interface and the first outgoing interface; keeping the fifth corresponding relationship corresponding to the first main PON port and the data of the first backup PON port unchanged, changing the first The actual usage status of the backup PON port is updated to allocated.
在一些示例性实施例中,通过基础注册管理PON口向光矩阵设备发送倒回动作信息。In some exemplary embodiments, the rewind action information is sent to the optical matrix device through the basic registration management PON port.
在一些示例性实施例中,向光矩阵设备发送倒换动作信息或倒回动作信息后,该方法还包括:根据备用PON口集群的占空比判断备用PON口集群的资源状态。In some exemplary embodiments, after sending switching action information or reversal action information to the optical matrix device, the method further includes: determining the resource status of the standby PON port cluster based on the duty cycle of the standby PON port cluster.
在一些示例性实施例中,备用PON口集群的占空比为备用PON口集群中管理状态为可用,实际使用状态为空闲的备用PON口的数量和备用PON口集群中备用PON口的数量的比值。In some exemplary embodiments, the duty cycle of the backup PON port cluster is the number of spare PON ports in the backup PON port cluster whose management status is available and the actual usage status is idle and the number of backup PON ports in the backup PON port cluster. ratio.
在一些示例性实施例中,根据备用PON口集群的占空比判断备用PON口集群的资源状态包括以下至少之一:In some exemplary embodiments, determining the resource status of the backup PON port cluster based on the duty cycle of the backup PON port cluster includes at least one of the following:
在备用PON口集群的占空比等于1的情况下,确定备用PON口集群的资源状态为耗尽;When the duty cycle of the backup PON port cluster is equal to 1, it is determined that the resource status of the backup PON port cluster is exhausted;
在备用PON口集群的占空比大于第一预设阈值的情况下,确定备用PON口集群的资源状态为充足;When the duty cycle of the backup PON port cluster is greater than the first preset threshold, it is determined that the resource status of the backup PON port cluster is sufficient;
在备用PON口集群的占空比大于第二预设阈值,且小于第一预设阈值的情况下,确定备用PON口集群的资源状态为较少;When the duty cycle of the backup PON port cluster is greater than the second preset threshold and less than the first preset threshold, it is determined that the resource status of the backup PON port cluster is less;
在备用PON口集群的占空比大于1,且小于第二预设阈值的情况下,确定备用PON口集群的资源状态为即将枯竭。When the duty cycle of the backup PON port cluster is greater than 1 and less than the second preset threshold, it is determined that the resource status of the backup PON port cluster is about to be exhausted.
在一些示例性实施例中,在备用PON口集群的资源状态为充足的情况下,保持备用PON口集群中所有备用PON口的状态和数据不变,保持光矩阵设备中的出接口、内部接口和入接口的连接关系不变。In some exemplary embodiments, when the resource status of the backup PON interface cluster is sufficient, the status and data of all backup PON interfaces in the backup PON interface cluster are kept unchanged, and the outbound interfaces and internal interfaces in the optical matrix device are maintained. The connection relationship with the incoming interface remains unchanged.
在一些示例性实施例中,在备用PON口集群的资源状态为较少或即将枯竭的情况下,删除实际使用状态为分配的备用PON口对应的第二对应关系和第四 对应关系,向光矩阵设备发送第一解除信息,第一解除信息用于指示光矩阵设备解除与实际使用状态为分配的备用PON口连接的出接口对应的连接关系,清空实际使用状态为分配的备用PON口的数据,将实际使用状态为分配的备用PON口的实际使用状态更新为空闲。In some exemplary embodiments, when the resource status of the backup PON port cluster is low or about to be exhausted, the second correspondence relationship and the fourth correspondence relationship corresponding to the backup PON port whose actual usage status is allocated are deleted. The corresponding relationship is to send the first release information to the optical matrix device. The first release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the backup PON port whose actual use status is allocated, and clear the actual use status is allocated. The data of the backup PON port updates the actual usage status of the allocated backup PON port to idle.
在一些示例性实施例中,在备用PON口集群的资源状态为即将枯竭的情况下,该方法还包括:在存在两个或两个以上主PON口异常的情况下,优先保证高优先级主PON口完成倒换操作,向网管设备上报通知消息或告警消息。这里的倒换操作包括将主PON口的数据迁移到备用PON口,以及向光矩阵设备发送倒换动作信息。In some exemplary embodiments, when the resource status of the backup PON port cluster is about to be exhausted, the method also includes: when two or more primary PON ports are abnormal, first ensure that the high-priority primary PON port is abnormal. The PON port completes the switching operation and reports a notification message or alarm message to the network management device. The switching operation here includes migrating data from the main PON port to the backup PON port and sending switching action information to the optical matrix device.
在一些示例性实施例中,在备用PON口集群的资源状态为耗尽,且存在高优先级主PON口出现异常的情况下,释放已完成倒换的备用PON口,向光矩阵设备发送第二解除信息,第二解除信息用于指示光矩阵设备解除与释放的备用PON口连接的出接口对应的连接关系,清空与释放的备用PON口的数据,将释放的备用PON口的实际使用状态更新为空闲。In some exemplary embodiments, when the resource status of the backup PON port cluster is exhausted and there is an abnormality in the high-priority main PON port, the backup PON port that has completed the switching is released, and the second PON port is sent to the optical matrix device. Release information. The second release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the released standby PON port, clear the data of the released standby PON port, and update the actual usage status of the released standby PON port. for idle.
在一些示例性实施例中,在备用PON口集群的资源状态为耗尽,且存在高优先级主PON口出现异常的情况下,该方法还包括:向网管设备上报通知消息或告警消息。In some exemplary embodiments, when the resource status of the backup PON port cluster is exhausted and there is an abnormality in the high-priority primary PON port, the method further includes: reporting a notification message or an alarm message to the network management device.
本公开实施例提供的主干光路保护方法,在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,将第一主PON口下的光网络单元倒换到第一备用PON口,也就是将第一主PON口的数据迁移到第一备用PON口,向光矩阵设备发送倒换动作信息;由于备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量,使得在保证所有主干光路得到保护的前提下提高了PON口的资源利用率。The backbone optical path protection method provided by the embodiment of the present disclosure, when an abnormality is detected in the first primary PON port in the primary PON port cluster, the first backup PON port is selected from the backup PON port cluster, and the first primary PON port is The optical network unit under the switch is switched to the first backup PON port, that is, the data of the first main PON port is migrated to the first backup PON port, and the switching action information is sent to the optical matrix device; because the backup PON port in the backup PON port cluster The number is less than or equal to the number of main PON ports in the main PON port cluster, which improves the resource utilization of PON ports while ensuring that all backbone optical paths are protected.
图6为本公开另一个实施例提供的光矩阵设备作为外置设备的情况下应用于光矩阵设备的主干光路保护方法的流程图.Figure 6 is a flow chart of a backbone optical path protection method applied to an optical matrix device when the optical matrix device is used as an external device according to another embodiment of the present disclosure.
第二方面,参照图6,本公开一个实施例提供一种主干光路保护方法,该方法可以应用于光矩阵设备,该方法包括:In the second aspect, referring to Figure 6, one embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to optical matrix equipment. The method includes:
步骤600、接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息;其中,第一对应关系为主PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系;备用PON口集群中的备用PON口数量小于 或等于主PON口集群中的主PON口数量。Step 600: Receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal; wherein the first correspondence relationship is the correspondence between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device relationship, the second correspondence is the correspondence between the spare PON port in the spare PON port cluster and the outbound interface of the optical matrix device; the number of spare PON ports in the spare PON port cluster is less than Or equal to the number of primary PON ports in the primary PON port cluster.
在一些示例性实施例中,倒换动作信息包括:第一入接口和第一出接口;其中,第一入接口为光矩阵设备用于连接第一光网络单元组的入接口,第一出接口为光矩阵单元用于连接第一备用PON口的出接口。In some exemplary embodiments, the switching action information includes: a first incoming interface and a first outgoing interface; where the first incoming interface is an incoming interface of the optical matrix device used to connect to the first optical network unit group, and the first outgoing interface It is the outlet interface of the optical matrix unit used to connect to the first backup PON port.
在一些示例性实施例中,通过基础管理出接口接收光线路终端发送的倒换动作信息。In some exemplary embodiments, the switching action information sent by the optical line terminal is received through the basic management outbound interface.
在一些示例性实施例中,接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息之前,该方法还包括:获取第一对应关系,将第一对应关系发送给光线路终端;或者,获取入接口和光网络单元之间的第三对应关系,将第三对应关系发送给光线路终端,以供光线路终端生成第一对应关系。In some exemplary embodiments, before receiving the switching action information based on the first correspondence and the second correspondence sent by the optical line terminal, the method further includes: obtaining the first correspondence, and sending the first correspondence to the optical line The terminal; or, obtain the third correspondence relationship between the incoming interface and the optical network unit, and send the third correspondence relationship to the optical line terminal, so that the optical line terminal can generate the first correspondence relationship.
在一些示例性实施例中,获取第一对应关系包括:根据第二入接口接收到的对应的光网络单元的上行光信号,以及主PON口和光网络单元之间的第四对应关系,建立或更新第二入接口对应的第一对应关系;其中,第二入接口为任意一个入接口。In some exemplary embodiments, obtaining the first correspondence includes: establishing or Update the first correspondence relationship corresponding to the second incoming interface; wherein the second incoming interface is any incoming interface.
在一些示例性实施例中,第四对应关系可以由光线路终端下发得到。In some exemplary embodiments, the fourth correspondence relationship may be delivered by the optical line terminal.
在一些示例性实施例中,根据第二入接口接收到的对应的光网络单元的上行光信号,以及主PON口和光网络单元之间的第四对应关系,建立或更新第二入接口对应的第一对应关系包括:从上行光信号中解析得到光网络单元的标识;在第四对应关系中查找解析得到的光网络单元的标识对应的第二主PON口;根据是否存在第二入接口对应的第一对应关系,以及第二入接口对应的第一对应关系中的主PON口与第二主PON口是否相同,建立或更新第二入接口对应的第一对应关系。In some exemplary embodiments, according to the uplink optical signal of the corresponding optical network unit received by the second inlet interface and the fourth corresponding relationship between the main PON port and the optical network unit, the second inlet interface corresponding to The first correspondence includes: parsing the identification of the optical network unit from the uplink optical signal; searching for the second main PON port corresponding to the parsed identification of the optical network unit in the fourth correspondence; corresponding to whether there is a second inlet interface. The first correspondence relationship, and whether the main PON port and the second main PON port in the first correspondence relationship corresponding to the second inlet interface are the same, establish or update the first correspondence relationship corresponding to the second inlet interface.
在一些示例性实施例中,根据是否存在第二入接口对应的第一对应关系,以及第二入接口对应的第一对应关系中的主PON口与第二主PON口是否相同,建立或更新第二入接口对应的第一对应关系包括以下至少之一:In some exemplary embodiments, establishing or updating is performed based on whether there is a first corresponding relationship corresponding to the second incoming interface, and whether the main PON port and the second main PON port in the first corresponding relationship corresponding to the second incoming interface are the same. The first correspondence relationship corresponding to the second inlet interface includes at least one of the following:
在不存在第二入接口对应的第一对应关系的情况下,建立第二入接口和第二主PON口之间的第一对应关系;If there is no first corresponding relationship corresponding to the second incoming interface, establish a first corresponding relationship between the second incoming interface and the second main PON port;
在存在第二入接口对应的第一对应关系,且第二入接口对应的第一对应关系中的主PON口与第二主PON口相同的情况下,保持第二入接口对应的第一对应关系中的主PON口不变; When there is a first correspondence relationship corresponding to the second inlet interface, and the main PON port in the first correspondence relationship corresponding to the second inlet interface is the same as the second main PON port, the first correspondence corresponding to the second inlet interface is maintained. The main PON port in the relationship remains unchanged;
在存在第二入接口对应的第一对应关系,且第二入接口对应的第一对应关系中的主PON口与第二主PON口不相同的情况下,将第二入接口对应的第一对应关系中的主PON口更新为第二主PON口。When there is a first corresponding relationship corresponding to the second incoming interface, and the main PON port in the first corresponding relationship corresponding to the second incoming interface is different from the second main PON port, the first corresponding relationship corresponding to the second incoming interface is changed. The primary PON port in the corresponding relationship is updated to the second primary PON port.
在一些示例性实施例中,获取入接口和光网络单元之间的第三对应关系包括:根据第二入接口接收到的对应的光网络单元的上行光信号,建立或更新第二入接口对应的第三对应关系;其中,第二入接口为任意一个入接口。In some exemplary embodiments, obtaining the third corresponding relationship between the incoming interface and the optical network unit includes: establishing or updating the corresponding uplink optical signal of the second incoming interface according to the uplink optical signal of the corresponding optical network unit received by the second incoming interface. The third correspondence relationship; wherein, the second incoming interface is any incoming interface.
在一些示例性实施例中,根据第二入接口接收到的对应的光网络单元的上行光信号,建立或更新第二入接口对应的第三对应关系包括:从上行光信号中解析得到光网络单元的标识;根据是否存在第二入接口对应的第三对应关系,以及第二入接口对应的第三对应关系中的光网络单元的标识与解析得到的光网络单元的标识是否相同,建立或更新第二入接口对应的第三对应关系。In some exemplary embodiments, establishing or updating the third correspondence relationship corresponding to the second inlet interface according to the uplink optical signal of the corresponding optical network unit received by the second inlet interface includes: parsing the uplink optical signal to obtain the optical network The identification of the unit; based on whether there is a third correspondence corresponding to the second inlet interface, and whether the identification of the optical network unit in the third correspondence corresponding to the second inlet interface is the same as the identification of the optical network unit obtained by analysis, establish or Update the third correspondence relationship corresponding to the second incoming interface.
在一些示例性实施例中,根据是否存在第二入接口对应的第三对应关系,以及第二入接口对应的第三对应关系中的光网络单元的标识与解析得到的光网络单元的标识是否相同,建立或更新第二入接口对应的第三对应关系包括以下至少之一:In some exemplary embodiments, according to whether there is a third correspondence relationship corresponding to the second inlet interface, and whether the identification of the optical network unit in the third correspondence relationship corresponding to the second inlet interface and the identification of the optical network unit obtained by analysis Similarly, establishing or updating the third corresponding relationship corresponding to the second incoming interface includes at least one of the following:
在不存在第二入接口对应的第三对应关系的情况下,建立第二入接口和解析得到的光网络单元的标识之间的第三对应关系;If there is no third corresponding relationship corresponding to the second incoming interface, establish a third corresponding relationship between the second incoming interface and the parsed identification of the optical network unit;
在存在第二入接口对应的第三对应关系,且第二入接口对应的第三对应关系中的光网络单元的标识与解析得到的光网络单元的标识相同的情况下,保持第二入接口对应的第三对应关系中的光网络单元不变;When there is a third correspondence relationship corresponding to the second inlet interface, and the identifier of the optical network unit in the third correspondence relationship corresponding to the second inlet interface is the same as the identifier of the optical network unit obtained by analysis, the second inlet interface is maintained The optical network unit in the corresponding third correspondence relationship remains unchanged;
在存在第二入接口对应的第三对应关系,且第二入接口对应的第三对应关系中的光网络单元的标识与解析得到的光网络单元的标识不相同的情况下,将第二入接口对应的第三对应关系中的光网络单元更新为解析得到的光网络单元的标识对应的光网络单元。When there is a third correspondence relationship corresponding to the second inlet interface, and the identifier of the optical network unit in the third correspondence relationship corresponding to the second inlet interface is different from the identifier of the optical network unit obtained by analysis, the second inlet port is The optical network unit in the third correspondence relationship corresponding to the interface is updated to the optical network unit corresponding to the parsed identification of the optical network unit.
在一些示例性实施例中,第一对应关系或第三对应关系还包括:第二入接口的状态。In some exemplary embodiments, the first correspondence relationship or the third correspondence relationship further includes: the status of the second inlet interface.
在一些示例性实施例中,获取第一对应关系或获取第三对应关系还包括:根据第二入接口在预设周期内检测到的光网络单元的上行光信号是否中断确定第二入接口在预设周期内的初始状态;根据第二入接口在第二预设时间段内所有预设周期对应的初始状态确定第二入接口的状态。 In some exemplary embodiments, obtaining the first corresponding relationship or obtaining the third corresponding relationship further includes: determining whether the uplink optical signal of the optical network unit detected by the second incoming interface within a preset period is interrupted. The initial state within the preset period; determine the state of the second inlet interface based on the initial states of the second inlet interface corresponding to all preset periods within the second preset time period.
在一些示例性实施例中,根据第二入接口在预设周期内检测到的光网络单元的上行光信号是否中断确定第二入接口在预设周期内的初始状态包括以下至少之一:In some exemplary embodiments, determining the initial state of the second inlet interface within the preset period based on whether the uplink optical signal of the optical network unit detected by the second inlet interface within the preset period is interrupted includes at least one of the following:
在第二入接口在预设周期内持续检测到光网络单元的上行光信号,即上行光信号不中断的情况下,确定第二入接口在预设周期内的初始状态为有效;When the second inlet interface continues to detect the uplink optical signal of the optical network unit within the preset period, that is, when the uplink optical signal is not interrupted, it is determined that the initial state of the second inlet interface within the preset period is valid;
在第二入接口在预设周期内检测到的光网络单元的上行光信号中断的情况下,确定第二入接口在预设周期内的初始状态为无效。When the uplink optical signal of the optical network unit detected by the second inlet interface is interrupted within the preset period, it is determined that the initial state of the second inlet interface within the preset period is invalid.
在一些示例性实施例中,可以使用上行有效性标志位表示第二入接口在预设周期内的初始状态。例如,当第二入接口在预设周期内的初始状态为有效时,第二入接口的上行有效性标志位为1;当第二入接口在预设周期内的初始状态为无效时,第二入接口的上行有效性标志位为0。In some exemplary embodiments, the uplink validity flag bit may be used to indicate the initial state of the second ingress interface within a preset period. For example, when the initial state of the second inbound interface is valid within the preset period, the uplink validity flag bit of the second inbound interface is 1; when the initial state of the second inbound interface is invalid within the preset period, the uplink validity flag bit of the second inbound interface is invalid. The upstream validity flag of the two-input interface is 0.
在一些示例性实施例中,第二预设时间段大于预设周期的Y倍,Y为大于或等于2的整数。In some exemplary embodiments, the second preset time period is greater than Y times the preset period, and Y is an integer greater than or equal to 2.
在一些示例性实施例中,根据第二入接口在第二预设时间段内所有预设周期对应的初始状态确定第二入接口的状态包括以下至少之一:In some exemplary embodiments, determining the status of the second inlet interface based on the initial status corresponding to all preset periods of the second inlet interface within the second preset time period includes at least one of the following:
在第二入接口在第二预设时间段内所有预设周期对应的初始状态未发生变化,且第二入接口在第二预设时间段内所有预设周期对应的初始状态均为有效的情况下,确定第二入接口的状态为有效;The initial states corresponding to all preset periods of the second inlet interface have not changed during the second preset time period, and the initial states corresponding to all preset periods of the second inlet interface are valid within the second preset time period. In this case, determine that the status of the second incoming interface is valid;
在第二入接口在第二预设时间段内所有预设周期对应的初始状态未发生变化,且第二入接口在第二预设时间段内所有预设周期对应的初始状态均为无效的情况下,确定第二入接口的状态为无效;The initial states corresponding to all preset periods of the second inlet interface have not changed during the second preset time period, and the initial states corresponding to all preset periods of the second inlet interface within the second preset time period are invalid. In this case, it is determined that the status of the second incoming interface is invalid;
在第二入接口在第二预设时间段内所有预设周期对应的初始状态发生变化的情况下,确定第二入接口的状态为不稳定。When the initial state of the second inlet interface changes in all preset periods within the second preset time period, it is determined that the state of the second inlet interface is unstable.
步骤601、根据倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上;其中,第一主PON口为主PON口集群中出现异常的主PON口。Step 601: Control the first optical network unit group connected to the first main PON port to connect to the first backup PON port selected from the backup PON port cluster according to the switching action information; wherein the first main PON port is the main PON port cluster An abnormal main PON port occurs.
在一些示例性实施例中,根据倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上包括:控制第一入接口和第一出接口连接。In some exemplary embodiments, controlling the first optical network unit group connected to the first main PON port to connect to the first backup PON port selected from the backup PON port cluster according to the switching action information includes: controlling the first ingress interface and The first outgoing interface is connected.
在一些示例性实施例中,可以通过控制第一光矩阵模块和第二光矩阵模块来 控制第一入接口和第一出接口连接。In some exemplary embodiments, the first optical matrix module and the second optical matrix module can be controlled to Control the connection between the first incoming interface and the first outgoing interface.
在一些示例性实施例中,第一光矩阵模块包括:m-1个2选1光开关,每一个2选1光开关的输入端连接一个出接口,其中一个输出端连接内部虚拟注册链路D0,另一个输出端连接其中一个内部接口,如图7(a)所示,2选1光开关701a的输入端连接出接口I2,其中一个输出端连接内部虚拟注册链路D0,另一个输出端连接内部接口S2;2选1光开关702a的输入端连接出接口I3,其中一个输出端连接内部虚拟注册链路D0,另一个输出端连接内部接口S3;以此类推,2选1光开关70(m-1)a的输入端连接出接口Im,其中一个输出端连接内部虚拟注册链路D0,另一个输出端连接内部接口Sm。In some exemplary embodiments, the first optical matrix module includes: m-1 2-to-1 optical switches. The input end of each 2-to-1 optical switch is connected to an outlet interface, and one of the output ends is connected to the internal virtual registration link. D0, the other output end is connected to one of the internal interfaces, as shown in Figure 7(a), the input end of the 2-to-1 optical switch 701a is connected to the outgoing interface I2, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface S2; the input end of the 2-to-1 optical switch 702a is connected to the outgoing interface I3, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface S3; and so on, the 2-to-1 optical switch The input end of 70(m-1)a is connected to the outgoing interface Im, one of the output ends is connected to the internal virtual registration link D0, and the other output end is connected to the internal interface Sm.
也就是说,出接口和内部接口之间的连接关系是固定不变的,后续不可更改。In other words, the connection relationship between the outbound interface and the internal interface is fixed and cannot be changed later.
在一些示例性实施例中,m个(m-1)选1光开关,每一个(m-1)选1光开关的(m-1)个输出端分别与(m-1)个出接口连接,输入端与内部虚拟注册链路D0或其中一个内部接口连接。如图7(b)所示,(m-1)选1光开关701b的输入端连接内部虚拟注册链路D0,第1个输出端连接出接口I2,第2个输出端连接出接口I3,以此类推,第(m-1)个输出端连接出接口Im;(m-1)选1光开关702b的输入端连接内部接口S2,第1个输出端连接出接口I2,第2个输出端连接出接口I3,以此类推,第(m-1)个输出端连接出接口Im;以此类推,(m-1)选1光开关70mb的输入端连接内部接口Sm,第1个输出端连接出接口I2,第2个输出端连接出接口I3,以此类推,第(m-1)个输出端连接出接口Im。In some exemplary embodiments, m (m-1) select 1 optical switches, each (m-1) select 1 optical switch has (m-1) output terminals and (m-1) output interfaces respectively. Connection, the input end is connected to the internal virtual registration link D0 or one of the internal interfaces. As shown in Figure 7(b), the input end of (m-1) select 1 optical switch 701b is connected to the internal virtual registration link D0, the first output end is connected to the outgoing interface I2, and the second output end is connected to the outgoing interface I3. By analogy, the (m-1)th output terminal is connected to the output interface Im; the input terminal of (m-1) selected optical switch 702b is connected to the internal interface S2, the first output terminal is connected to the output interface I2, and the second output The input end of (m-1) 1 optical switch 70mb is connected to the internal interface Sm, and the first output The output terminal is connected to the outgoing interface I2, the second output terminal is connected to the outgoing interface I3, and so on, the (m-1)th output terminal is connected to the outgoing interface Im.
也就是说,出接口和内部接口之间的连接关系不是固定不变的,通过控制相应的光开关可以实现相应的内部接口与出接口连接。That is to say, the connection relationship between the outgoing interface and the internal interface is not fixed. By controlling the corresponding optical switch, the corresponding internal interface and the outgoing interface can be connected.
在一些示例性实施例中,(m-1)个m选1光开关,每一个m选1光开关的m个输出端分别与内部虚拟注册链路D0和(m-1)个内部接口连接,输入端与其中一个出接口连接。如图7(c)所示,m选1光开关701c的输入端连接出接口I2,第1个输出端连接内部虚拟注册链路D0,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm;m选1光开关702c的输入端连接出接口I3,第1个输出端连接内部虚拟注册链路D0,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm;以此类推,m选1光开关70(m-1)c的输入端连接出接口Im,第1个输出端连接内部虚拟注册链路D0,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm。In some exemplary embodiments, (m-1) m-choose-1 optical switches, m output terminals of each m-choose-1 optical switch are respectively connected to the internal virtual registration link D0 and (m-1) internal interfaces , the input end is connected to one of the output interfaces. As shown in Figure 7(c), the input end of the m-select 1 optical switch 701c is connected to the outgoing interface I2, the first output end is connected to the internal virtual registration link D0, the second output end is connected to the internal interface S2, and so on, The m-th output terminal is connected to the internal interface Sm; the input terminal of the m-selected optical switch 702c is connected to the outgoing interface I3, the first output terminal is connected to the internal virtual registration link D0, the second output terminal is connected to the internal interface S2, and so on. , the m-th output terminal is connected to the internal interface Sm; and so on, the input terminal of m-selected optical switch 70(m-1)c is connected to the outgoing interface Im, the first output terminal is connected to the internal virtual registration link D0, and the second The first output terminal is connected to the internal interface S2, and so on, and the m-th output terminal is connected to the internal interface Sm.
也就是说,出接口和内部接口之间的连接关系不是固定不变的,通过控制相 应的光开关可以实现相应的内部接口与出接口连接。In other words, the connection relationship between the outgoing interface and the internal interface is not fixed. By controlling the phase The corresponding optical switch can realize the corresponding internal interface and output interface connection.
在一些示例性实施例中,第二光矩阵模块包括:n个m选1光开关,每一个m选1光开关的m个输出端分别与m个内部接口连接,输入端与其中一个入接口连接。如图8(a)所示,m选1光开关801a的输入端连接入接口E1,第1个输出端连接内部接口S1,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm;m选1光开关802a的输入端连接入接口E2,第1个输出端连接内部接口S1,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm;以此类推,m选1光开关80na的输入端连接入接口En,第1个输出端连接内部接口S1,第2个输出端连接内部接口S2,以此类推,第m个输出端连接内部接口Sm。In some exemplary embodiments, the second optical matrix module includes: n m-choose-1 optical switches, m output terminals of each m-choose-1 optical switch are respectively connected to m internal interfaces, and the input terminal is connected to one of the incoming interfaces. connect. As shown in Figure 8(a), the input end of the m-select 1 optical switch 801a is connected to the incoming interface E1, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth The output end is connected to the internal interface Sm; the input end of the m-selected optical switch 802a is connected to the incoming interface E2, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth output end Connect the internal interface Sm; and so on, the input end of m selects 1 optical switch 80na is connected to the input interface En, the first output end is connected to the internal interface S1, the second output end is connected to the internal interface S2, and so on, the mth The output terminal is connected to the internal interface Sm.
在一些示例性实施例中,第二光矩阵模块包括:m个n选1光开关,每一个n选1光开关的n个输出端分别与n个入接口连接,输入端与其中一个内部接口连接。如图8(b)所示,n选1光开关801b的输入端连接内部接口S1,第1个输出端连接入接口E1,第2个输出端连接入接口E2,以此类推,第n个输出端连接入接口En;n选1光开关802b的输入端连接内部接口S2,第1个输出端连接入接口E1,第2个输出端连接入接口E2,以此类推,第n个输出端连接入接口En;以此类推,n选1光开关80mb的输入端连接内部接口Sm,第1个输出端连接入接口E1,第2个输出端连接入接口E2,以此类推,第n个输出端连接入接口En。In some exemplary embodiments, the second optical matrix module includes: m n-choose-1 optical switches, the n output terminals of each n-choose-1 optical switch are respectively connected to n input interfaces, and the input terminal is connected to one of the internal interfaces. connect. As shown in Figure 8(b), the input end of the n-select 1 optical switch 801b is connected to the internal interface S1, the first output end is connected to the interface E1, the second output end is connected to the interface E2, and so on, the nth The output terminal is connected to the interface En; the input terminal of the n-select 1 optical switch 802b is connected to the internal interface S2, the first output terminal is connected to the interface E1, the second output terminal is connected to the interface E2, and so on, the nth output terminal Connect to the interface En; and so on, the input end of the n-select 1 optical switch 80mb is connected to the internal interface Sm, the first output end is connected to the interface E1, the second output end is connected to the interface E2, and so on, the nth The output is connected to interface En.
也就是说,入接口和内部接口之间的连接关系不是固定不变的,通过控制相应的光开关可以实现相应的内部接口与入接口连接。That is to say, the connection relationship between the incoming interface and the internal interface is not fixed, and the corresponding internal interface and the incoming interface can be connected by controlling the corresponding optical switch.
在一些示例性实施例中,第一光矩阵模块如图7(a)所示,第二光矩阵模块如图8(a)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:控制第一光矩阵模块中与第一出接口连接的2选1光开关闭合到目标内部接口,目标内部接口与第一出接口连接同一个2选1光开关,控制第二光矩阵模块中与第一入接口连接的m选1光开关闭合到目标内部接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(a) and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port, controlling the connection between the first inlet interface and the first outlet interface includes: controlling the 2-choose-1 optical switch connected to the first outlet interface in the first optical matrix module to close to the target internal interface, The target internal interface and the first outlet interface are connected to the same 2-to-1 optical switch, and the m-to-1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to close to the target internal interface.
在一些示例性实施例中,第一光矩阵模块如图7(a)所示,第二光矩阵模块如图8(b)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:控制第一光矩阵模块中与第一出接口连接的2选1光开关闭合到目标内部接口,目标内部 接口与第一出接口连接同一个2选1光开关,控制第二光矩阵模块中与目标内部接口连接的m选1光开关闭合到第一入接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(a) and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port, controlling the connection between the first inlet interface and the first outlet interface includes: controlling the 2-choose-1 optical switch connected to the first outlet interface in the first optical matrix module to close to the target internal interface, inside target The interface is connected to the same 2-to-1 optical switch as the first outlet interface, and the m-to-1 optical switch connected to the target internal interface in the second optical matrix module is controlled to close to the first inlet interface.
在一些示例性实施例中,第一光矩阵模块如图7(b)所示,第二光矩阵模块如图8(a)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:选择一个内部接口,控制第一光矩阵模块中与选择的内部接口连接的(m-1)选1光开关闭合到第一出接口,控制第二光矩阵模块中与第一入接口连接的m选1光开关闭合到选择的内部接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the (m-1) selection of the first optical matrix module connected to the selected internal interface. 1 optical switch is closed to the first outlet interface, and the m-selected 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
在一些示例性实施例中,第一光矩阵模块如图7(b)所示,第二光矩阵模块如图8(b)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:选择一个内部接口,控制第一光矩阵模块中与选择的内部接口连接的(m-1)选1光开关闭合到第一出接口,控制第二光矩阵模块中与选择的内部接口连接的m选1光开关闭合到第一入接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the (m-1) selection of the first optical matrix module connected to the selected internal interface. 1 optical switch is closed to the first outlet interface, and the m-selected 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
在一些示例性实施例中,第一光矩阵模块如图7(c)所示,第二光矩阵模块如图8(a)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:选择一个内部接口,控制第一光矩阵模块中与第一出接口连接的m选1光开关闭合到选择的内部接口,控制第二光矩阵模块中与第一入接口连接的m选1光开关闭合到选择的内部接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the closing of the m-selected 1 optical switch connected to the first outgoing interface in the first optical matrix module. to the selected internal interface, and control the m-select 1 optical switch connected to the first inlet interface in the second optical matrix module to close to the selected internal interface.
在一些示例性实施例中,第一光矩阵模块如图7(c)所示,第二光矩阵模块如图8(b)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:选择一个内部接口,控制第一光矩阵模块中与第一出接口连接的m选1光开关闭合到选择的内部接口,控制第二光矩阵模块中与选择的内部接口连接的m选1光开关闭合到第一入接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface, and controlling the closing of the m-selected 1 optical switch connected to the first outgoing interface in the first optical matrix module. to the selected internal interface, and control the m-select 1 optical switch connected to the selected internal interface in the second optical matrix module to close to the first inlet interface.
在一些示例性实施例中,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接后,该方法还包括:保存第一出接口、目标内部接口或选择的内部接口和第一入接口之间的连接关系。In some exemplary embodiments, after controlling the connection between the first incoming interface and the first outgoing interface according to the first corresponding relationship corresponding to the first main PON port and the second corresponding relationship corresponding to the first backup PON port, the method further includes: Save the connection relationship between the first outgoing interface, the target internal interface, or the selected internal interface and the first incoming interface.
在一些示例性实施例中,连接关系中还包括出接口的状态。 In some exemplary embodiments, the connection relationship also includes the status of the outbound interface.
在一些示例性实施例中,根据预先保存的连接关系和第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接。In some exemplary embodiments, the connection between the first incoming interface and the first outgoing interface is controlled according to the pre-saved connection relationship, the first corresponding relationship corresponding to the first main PON port, and the second corresponding relationship corresponding to the first backup PON port.
在一些示例性实施例中,第一光矩阵模块如图7(b)所示,第二光矩阵模块如图8(a)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:根据预先保存的连接关系选择一个内部接口,控制第一光矩阵模块中与选择的内部接口连接的(m-1)选1光开关闭合到第一出接口,控制第二光矩阵模块中与第一入接口连接的m选1光开关闭合到选择的内部接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second corresponding relationship corresponding to the first backup PON port. Controlling the connection between the first incoming interface and the first outgoing interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the first optical matrix module connected to the selected internal interface. The (m-1) 1-select optical switch is closed to the first outlet interface, and the m-1 select 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
在一些示例性实施例中,第一光矩阵模块如图7(b)所示,第二光矩阵模块如图8(b)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:根据预先保存的连接关系选择一个内部接口,控制第一光矩阵模块中与选择的内部接口连接的(m-1)选1光开关闭合到第一出接口,控制第二光矩阵模块中与选择的内部接口连接的m选1光开关闭合到第一入接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(b) and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the first optical matrix module connected to the selected internal interface. The (m-1) 1-select optical switch is closed to the first outlet interface, and the m-1 select 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
在一些示例性实施例中,第一光矩阵模块如图7(c)所示,第二光矩阵模块如图8(a)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:根据预先保存的连接关系选择一个内部接口,控制第一光矩阵模块中与第一出接口连接的m选1光开关闭合到选择的内部接口,控制第二光矩阵模块中与第一入接口连接的m选1光开关闭合到选择的内部接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(a). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the connection between the first optical matrix module and the first outlet interface. The m-select 1 optical switch is closed to the selected internal interface, and the m-select 1 optical switch connected to the first inlet interface in the second optical matrix module is controlled to be closed to the selected internal interface.
在一些示例性实施例中,第一光矩阵模块如图7(c)所示,第二光矩阵模块如图8(b)所示,那么,根据第一主PON口对应的第一对应关系、第一备用PON口对应的第二对应关系控制第一入接口和第一出接口连接包括:根据预先保存的连接关系选择一个内部接口,控制第一光矩阵模块中与第一出接口连接的m选1光开关闭合到选择的内部接口,控制第二光矩阵模块中与选择的内部接口连接的m选1光开关闭合到第一入接口。In some exemplary embodiments, the first optical matrix module is as shown in Figure 7(c), and the second optical matrix module is as shown in Figure 8(b). Then, according to the first correspondence relationship corresponding to the first main PON port , the second correspondence relationship corresponding to the first backup PON port. Controlling the connection between the first inlet interface and the first outlet interface includes: selecting an internal interface according to the pre-saved connection relationship, and controlling the connection between the first optical matrix module and the first outlet interface. The m-select 1 optical switch is closed to the selected internal interface, and the m-select 1 optical switch connected to the selected internal interface in the second optical matrix module is controlled to be closed to the first inlet interface.
在一些示例性实施例中,根据预先保存的连接关系选择一个内部接口包括:选择第一出接口和第一入接口对应的连接关系中的内部接口。In some exemplary embodiments, selecting an internal interface according to a pre-saved connection relationship includes: selecting an internal interface in a connection relationship corresponding to the first outgoing interface and the first incoming interface.
在一些示例性实施例中,也可以随意选择一个不与其他出接口和入接口连接的内部接口。 In some exemplary embodiments, you can also optionally select an internal interface that is not connected to other outgoing interfaces and incoming interfaces.
在一些示例性实施例中,接收光线路终端发送的倒换动作信息之前,该方法还包括:通过基础管理出接口向OLT的基础注册管理PON口发送注册请求,以实现在基础注册管理PON口上注册。In some exemplary embodiments, before receiving the switching action information sent by the optical line terminal, the method further includes: sending a registration request to the basic registration management PON port of the OLT through the basic management outgoing interface to realize registration on the basic registration management PON port. .
在一些示例性实施例中,接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息之前,该方法还包括:在第二出接口的管理状态为可用,实际使用状态为空闲的情况下,控制第一光矩阵模块将内部虚拟注册链路D0和第二出接口连接,通过第二出接口向光线路终端发送虚拟注册信号;其中,虚拟注册信号包括:注册标识和与第二出接口的出接口索引。In some exemplary embodiments, before receiving the switching action information based on the first correspondence and the second correspondence sent by the optical line terminal, the method further includes: when the management status of the second outbound interface is available, the actual usage status is When idle, the first optical matrix module is controlled to connect the internal virtual registration link D0 to the second outbound interface, and send a virtual registration signal to the optical line terminal through the second outbound interface; where the virtual registration signal includes: a registration identifier and The outbound interface index of the second outbound interface.
在一些示例性实施例中,控制第一光矩阵模块将内部虚拟注册链路D0和第二出接口连接包括:第一光矩阵模块如图7(a)所示,控制第一光矩阵模块中与第二出接口连接的2选1光开关闭合到内部虚拟注册链路D0;或者,第一光矩阵模块如图7(b)所示,控制第一光矩阵模块中与内部虚拟注册链路D0连接的(m-1)选1光开关闭合到与第二备用PON口连接的出接口;或者,第一光矩阵模块如图7(c)所示,控制第一光矩阵模块将与第二出接口连接的m选1光开关闭合到内部虚拟注册链路D0。In some exemplary embodiments, controlling the first optical matrix module to connect the internal virtual registration link D0 to the second outbound interface includes: the first optical matrix module, as shown in Figure 7(a), controlling the first optical matrix module. The 2-to-1 optical switch connected to the second outgoing interface is closed to the internal virtual registration link D0; or, as shown in Figure 7(b), the first optical matrix module controls the internal virtual registration link in the first optical matrix module. The (m-1) 1-select optical switch connected to D0 is closed to the outlet port connected to the second backup PON port; or, as shown in Figure 7(c), the first optical matrix module controls the first optical matrix module to communicate with the second backup PON port. The m-select 1 optical switch connected to the second outgoing interface is closed to the internal virtual registration link D0.
在一些示例性实施例中,当第二备用PON口数量为两个或两个以上时,可以控制第一光矩阵模块将内部虚拟注册链路D0依次和每一个第二出接口连接,并通过第二出接口向光线路终端发送虚拟注册信号。例如,假设第二备用PON口数量为3个,则可以先控制第一光矩阵模块将内部虚拟注册链路D0和第1个第二出接口(假设为出接口I2)连接,并通过第二出接口I2向光线路终端发送虚拟注册信号;然后控制第一光矩阵模块将内部虚拟注册链路D0和第2个第二出接口(假设为出接口I3)连接,并通过第二出接口I3向光线路终端发送虚拟注册信号;最后控制第一光矩阵模块将内部虚拟注册链路D0和第3个第二出接口(假设为出接口I4)连接,并通过第二出接口I4向光线路终端发送虚拟注册信号。In some exemplary embodiments, when the number of second backup PON ports is two or more, the first optical matrix module can be controlled to connect the internal virtual registration link D0 to each second egress interface in turn, and pass The second outgoing interface sends a virtual registration signal to the optical line terminal. For example, assuming that the number of second backup PON ports is 3, you can first control the first optical matrix module to connect the internal virtual registration link D0 to the first second outbound interface (assumed to be outbound interface I2), and use the second The egress interface I2 sends a virtual registration signal to the optical line terminal; then the first optical matrix module is controlled to connect the internal virtual registration link D0 to the second second egress interface (assumed to be the egress interface I3), and through the second egress interface I3 Send a virtual registration signal to the optical line terminal; finally control the first optical matrix module to connect the internal virtual registration link D0 to the third second outbound interface (assumed to be the outbound interface I4), and send the signal to the optical line through the second outbound interface I4. The terminal sends a virtual registration signal.
在一个示例性实施例中,周期性通过第二出接口向光线路终端发送虚拟注册信号。In an exemplary embodiment, a virtual registration signal is periodically sent to the optical line terminal through the second egress interface.
在一些示例性实施例中,虚拟注册信号包括:注册标识和出接口索引。In some exemplary embodiments, the virtual registration signal includes: a registration identifier and an egress interface index.
在一些示例性实施例中,注册标识包括但不限于PON MAC地址、LOID、SN等中的至少一个。In some exemplary embodiments, the registration identification includes, but is not limited to, at least one of PON MAC address, LOID, SN, etc.
在一些示例性实施例中,出接口索引的定义方式包括但不限于利用G.983.1 中Serial_number_ONU中未定义的第13字节根据一定格式约定。In some exemplary embodiments, the egress interface index is defined including but not limited to using G.983.1 The undefined 13th byte in Serial_number_ONU is agreed according to a certain format.
在一些示例性实施例中,根据倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上后,该方法还包括:接收光线路终端发送的倒回动作信息,倒回动作信息用于指示光矩阵设备将第一光网络单元组与第一备用PON口断开连接;根据倒回动作信息控制将第一光网络单元组与第一备用PON口断开连接。In some exemplary embodiments, after controlling the first optical network unit group connected to the first main PON port to connect to the first backup PON port selected from the backup PON port cluster according to the switching action information, the method further includes: receiving The rewind action information sent by the optical line terminal. The rewind action information is used to instruct the optical matrix device to disconnect the first optical network unit group from the first backup PON port; control the first optical network unit group according to the rewind action information. Disconnect from the first backup PON port.
在一些示例性实施例中,倒回动作信息包括:第一入接口和第一出接口。In some exemplary embodiments, the rewind action information includes: a first incoming interface and a first outgoing interface.
根据倒回动作信息控制将第一光网络单元组与第一备用PON口断开连接包括:控制将第一入接口和第一出接口断开连接。Controlling the disconnection of the first optical network unit group from the first backup PON port according to the rewind action information includes: controlling the disconnection of the first incoming interface and the first outgoing interface.
在一些示例性实施例中,控制将第一入接口和第一出接口断开连接包括:根据预先保存的连接关系确定第一入接口和第一出接口对应的连接关系中的内部接口,将第一入接口和确定的内部接口之间的连接断开,和/或,将第一出接口和确定的内部接口之间的连接断开。In some exemplary embodiments, controlling the disconnection of the first incoming interface and the first outgoing interface includes: determining the internal interface in the connection relationship corresponding to the first incoming interface and the first outgoing interface according to the pre-saved connection relationship, and The connection between the first incoming interface and the determined internal interface is disconnected, and/or the connection between the first outgoing interface and the determined internal interface is disconnected.
在一些示例性实施例中,控制将第一入接口和第一出接口断开连接后,该方法还包括:更新连接关系。In some exemplary embodiments, after controlling to disconnect the first incoming interface and the first outgoing interface, the method further includes: updating the connection relationship.
在一些示例性实施例中,通过基础管理出接口接收光线路终端发送的倒回动作信息。In some exemplary embodiments, the rewind action information sent by the optical line terminal is received through the basic management outgoing interface.
在一些示例性实施例中,该方法还包括:接收光线路终端发送的第一解除信息,第一解除信息用于指示光矩阵设备解除与实际使用状态为分配的备用PON口连接的出接口对应的连接关系;控制第一光矩阵模块和第二光矩阵模块实现将与实际使用状态为分配的备用PON口连接的出接口、对应连接的内部接口、对应连接的入接口断开连接。In some exemplary embodiments, the method further includes: receiving first release information sent by the optical line terminal. The first release information is used to instruct the optical matrix device to release the egress interface corresponding to the actual use status of the allocated backup PON port connection. The connection relationship; the first optical matrix module and the second optical matrix module are controlled to disconnect the outgoing interface connected to the allocated spare PON port, the corresponding connected internal interface, and the corresponding connected incoming interface.
在一些示例性实施例中,控制第一光矩阵模块和第二光矩阵模块实现将与实际使用状态为分配的备用PON口连接的出接口、对应连接的内部接口、对应连接的入接口断开连接后,该方法还包括:删除与实际使用状态为分配的备用PON口连接的出接口对应的连接关系。In some exemplary embodiments, the first optical matrix module and the second optical matrix module are controlled to disconnect the egress interface connected to the allocated backup PON port, the corresponding connected internal interface, and the corresponding connected incoming interface. After the connection, the method also includes: deleting the connection relationship corresponding to the outbound interface connected to the allocated standby PON port in actual use status.
在一些示例性实施例中,该方法还包括:接收光线路终端发送的第二解除信息,第二解除信息用于指示光矩阵设备解除与释放的备用PON口连接的出接口对应的连接关系;控制第一光矩阵模块和第二光矩阵模块实现将与释放的备用PON口连接的出接口、对应连接的内部接口、对应连接的入接口断开连接。 In some exemplary embodiments, the method further includes: receiving second release information sent by the optical line terminal, where the second release information is used to instruct the optical matrix device to release the connection relationship corresponding to the egress interface connected to the released standby PON port; Control the first optical matrix module and the second optical matrix module to disconnect the outgoing interface connected to the released standby PON port, the corresponding connected internal interface, and the corresponding connected incoming interface.
在一些示例性实施例中,控制第一光矩阵模块和第二光矩阵模块实现将与释放的备用PON口连接的出接口、对应连接的内部接口、对应连接的入接口断开连接后,该方法还包括:删除与释放的备用PON口连接的出接口对应的连接关系。In some exemplary embodiments, after controlling the first optical matrix module and the second optical matrix module to disconnect the egress interface connected to the released standby PON port, the corresponding connected internal interface, and the corresponding connected incoming interface, the The method also includes: deleting the connection relationship corresponding to the outbound interface connected to the released standby PON port.
本公开实施例提供的应用于光矩阵设备的主干光路保护方法,根据OLT发送的倒换动作信息控制与第一主PON口连接的第一光网络单元组与第一备用PON口连接,以实现将第一主PON口下的光网络单元倒换到第一备用PON口,由于备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量,使得在保证所有主干光路得到保护的前提下提高了PON口的资源利用率。The backbone optical path protection method applied to optical matrix equipment provided by embodiments of the present disclosure controls the connection of the first optical network unit group connected to the first main PON port and the first backup PON port according to the switching action information sent by the OLT, so as to realize The optical network unit under the first primary PON port is switched to the first backup PON port. Since the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster, all backbone optical paths are ensured. The resource utilization of the PON port is improved under the premise of protection.
其次描述光矩阵设备内置在OLT中的情况下OLT和光矩阵设备中的主干光路保护方法的实现过程。Next, the implementation process of the backbone optical path protection method in the OLT and the optical matrix device is described when the optical matrix device is built into the OLT.
图9为本公开另一个实施例提供的光矩阵设备内置在OLT中的情况下应用于OLT的主干光路保护方法的流程图。FIG. 9 is a flow chart of a backbone optical path protection method applied to an OLT when the optical matrix device provided by another embodiment of the present disclosure is built into the OLT.
第三方面,参照图9,本公开另一个实施例提供一种主干光路保护方法,该方法可以应用于OLT,该方法包括:In the third aspect, referring to Figure 9, another embodiment of the present disclosure provides a backbone optical path protection method, which can be applied to OLT. The method includes:
步骤900、获取第一对应关系和第二对应关系;其中,第一对应关系为主PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系。Step 900: Obtain the first correspondence relationship and the second correspondence relationship; wherein, the first correspondence relationship is the correspondence relationship between the main PON port in the main PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is the backup PON port. Correspondence between the backup PON port in the cluster and the outbound interface of the optical matrix device.
步骤900的具体实现过程与前述实施例步骤500的具体实现过程相同,这里不再赘述。The specific implementation process of step 900 is the same as the specific implementation process of step 500 in the previous embodiment, and will not be described again here.
步骤901、在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口;其中,备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量。Step 901: When an abnormality is detected in the first primary PON port in the primary PON port cluster, select the first standby PON port from the standby PON port cluster; wherein the number of standby PON ports in the standby PON port cluster is less than or Equal to the number of primary PON ports in the primary PON port cluster.
步骤901的具体实现过程与前述实施例步骤501的具体实现过程相同,这里不再赘述。The specific implementation process of step 901 is the same as the specific implementation process of step 501 in the previous embodiment, and will not be described again here.
步骤902、将第一主PON口的数据迁移到第一备用PON口。Step 902: Migrate the data of the first primary PON port to the first backup PON port.
步骤902的具体实现过程与前述实施例步骤502的具体实现过程相同,这里不再赘述。The specific implementation process of step 902 is the same as the specific implementation process of step 502 in the previous embodiment, and will not be described again here.
步骤903、根据第一对应关系和第二对应关系控制与第一主PON口连接的 第一光网络单元组连接到第一备用PON口上。Step 903: Control the PON port connected to the first main PON port according to the first corresponding relationship and the second corresponding relationship. The first optical network unit group is connected to the first backup PON port.
步骤903的具体实现过程与前述实施例步骤601的具体实现过程相同,这里不再赘述。The specific implementation process of step 903 is the same as the specific implementation process of step 601 in the previous embodiment, and will not be described again here.
本实施例的其他实现过程与前述实施例的主干光路保护方法的具体实现过程相同,这里不再赘述。Other implementation processes of this embodiment are the same as the specific implementation process of the trunk optical path protection method in the previous embodiment, and will not be described again here.
本公开实施例提供的应用于OLT的主干光路保护方法,在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,将第一主PON口下的光网络单元倒换到第一备用PON口,也就是将第一主PON口的数据迁移到第一备用PON口,控制与第一主PON口连接的第一光网络单元组与第一备用PON口连接;由于备用PON口集群中的备用PON口数量小于或等于主PON口集群中的主PON口数量,使得在保证所有主干光路得到保护的前提下提高了PON口的资源利用率。The backbone optical path protection method applied to OLT provided by the embodiment of the present disclosure, when an abnormality is detected in the first main PON port in the main PON port cluster, the first backup PON port is selected from the backup PON port cluster, and the first backup PON port is selected. The optical network unit under one main PON port is switched to the first backup PON port, that is, the data of the first main PON port is migrated to the first backup PON port to control the first optical network unit group connected to the first main PON port. Connected to the first backup PON port; since the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster, the resources of the PON port are increased while ensuring that all backbone optical paths are protected. Utilization.
第四方面,本公开另一个实施例提供一种电子设备,包括:至少一个第一处理器;第一存储器,第一存储器上存储有至少一个第一程序,当至少一个第一程序被至少一个第一处理器执行时,实现上述第一方面描述的任意一种主干光路保护方法。In a fourth aspect, another embodiment of the present disclosure provides an electronic device, including: at least a first processor; a first memory, at least one first program is stored in the first memory, and when the at least one first program is processed by at least one When the first processor is executed, any one of the trunk optical path protection methods described in the first aspect is implemented.
其中,第一处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;第一存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。Wherein, the first processor is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.; the first memory is a device with data storage capabilities, which includes but is not limited to random access memory (RAM, More specifically, such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
在一些实施例中,第一处理器、第一存储器通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, the first processor and the first memory are connected to each other through a bus and are further connected to other components of the computing device.
第五方面,本公开另一个实施例提供一种计算机可读介质,计算机可读介质上存储有计算机程序,计算机程序被处理器执行时实现上述第一方面描述的任意一种主干光路保护方法。In a fifth aspect, another embodiment of the present disclosure provides a computer-readable medium. A computer program is stored on the computer-readable medium. When the computer program is executed by a processor, any one of the trunk optical path protection methods described in the first aspect is implemented.
图10为本公开另一个实施例提供的光矩阵设备的组成示意图。Figure 10 is a schematic diagram of the composition of an optical matrix device provided by another embodiment of the present disclosure.
第六方面,本公开另一个实施例提供一种光矩阵设备,包括:至少一个第二处理器1001;第二存储器1002,第二存储器1002上存储有至少一个第二程序,当至少一个第二程序被至少一个第二处理器1001执行时,实现上述第二方面描述的任意一种主干光路保护方法。 In a sixth aspect, another embodiment of the present disclosure provides an optical matrix device, including: at least a second processor 1001; a second memory 1002. The second memory 1002 stores at least a second program. When at least a second When the program is executed by at least one second processor 1001, any one of the trunk optical path protection methods described in the second aspect is implemented.
在一些示例性实施例中,还包括:第一光矩阵模块1003和第二光矩阵模块1004,被构造成在第二处理器1001的控制下实现将第一入接口和第一出接口连接或断开。In some exemplary embodiments, it also includes: a first optical matrix module 1003 and a second optical matrix module 1004, configured to realize connecting the first incoming interface and the first outgoing interface under the control of the second processor 1001 or disconnect.
在一些示例性实施例中,光矩阵设备还包括:主干分光器1005,主干分光器1005的其中一个支路光路通过总线与第二处理器1001、第二存储器1002连接,另一个支路光路通过光纤与第二光矩阵模块的其中一个内部接口(如图10中的S1)连接,主干分光器1005的主干光路通过光纤与对应的OLT的备用PON口连接。In some exemplary embodiments, the optical matrix device further includes: a trunk optical splitter 1005. One branch optical path of the trunk optical splitter 1005 is connected to the second processor 1001 and the second memory 1002 through a bus, and the other branch optical path passes through The optical fiber is connected to one of the internal interfaces of the second optical matrix module (S1 in Figure 10), and the trunk optical path of the trunk optical splitter 1005 is connected to the backup PON port of the corresponding OLT through the optical fiber.
在一些示例性实施例中,第一光矩阵模块1003的m-1个出接口(如图10中的I2至Im)通过光纤与m-1个OLT的备用PON口连接,第一光矩阵模块1003的m-1个内部接口(如图10中的S2至Sm)与第二光矩阵模块的m-1个内部接口(如图8中的S2至Sm)连接。In some exemplary embodiments, m-1 output interfaces (I2 to Im in Figure 10) of the first optical matrix module 1003 are connected to m-1 backup PON ports of OLTs through optical fibers. The first optical matrix module The m-1 internal interfaces of 1003 (S2 to Sm in Figure 10) are connected to the m-1 internal interfaces of the second optical matrix module (S2 to Sm in Figure 8).
在一些示例性实施例中,第二光矩阵模块1004的n个入接口(如图10中的E1至En)通过光纤和分光器与ONU连接。In some exemplary embodiments, the n input interfaces (E1 to En in Figure 10) of the second optical matrix module 1004 are connected to the ONU through optical fibers and optical splitters.
在一些示例性实施例中,第一光矩阵模块1003通过内部虚拟注册链路D0连接总线。In some exemplary embodiments, the first optical matrix module 1003 connects to the bus through an internal virtual registration link D0.
其中,第二处理器1001为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;第二存储器1002为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。Among them, the second processor 1001 is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.; the second memory 1002 is a device with data storage capabilities, which includes but is not limited to a random access memory ( RAM (more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
在一些实施例中,第二处理器1001、第二存储器1002通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, the second processor 1001 and the second memory 1002 are connected to each other through a bus and are further connected to other components of the computing device.
图11为本公开另一个实施例提供的电子设备的组成示意图。FIG. 11 is a schematic diagram of the composition of an electronic device provided by another embodiment of the present disclosure.
第七方面,本公开另一个实施例提供一种电子设备,包括:至少一个第三处理器1101;第三存储器1102,第三存储器1102上存储有至少一个第三程序,当至少一个第三程序被至少一个第三处理器1101执行时,实现上述第三方面描述的任意一种主干光路保护方法。In a seventh aspect, another embodiment of the present disclosure provides an electronic device, including: at least a third processor 1101; a third memory 1102. At least one third program is stored on the third memory 1102. When the at least one third program When executed by at least one third processor 1101, any one of the trunk optical path protection methods described in the third aspect is implemented.
在一些示例性实施例中,还包括:第一光矩阵模块1103和第二光矩阵模块1104,光矩阵模块在第三处理器的控制下实现将第一入接口和第一出接口连接或断开。 In some exemplary embodiments, it also includes: a first optical matrix module 1103 and a second optical matrix module 1104. The optical matrix module realizes connecting or disconnecting the first incoming interface and the first outgoing interface under the control of the third processor. open.
在一些示例性实施例中,电子设备还包括:主干分光器1105,主干分光器1105的其中一个支路光路通过总线与第三处理器1101、第三存储器1102连接,另一个支路光路通过光纤与第二光矩阵模块的其中一个内部接口(如图11中的S1)连接,主干分光器1105的主干光路通过光纤与对应的OLT的备用PON口连接。In some exemplary embodiments, the electronic device further includes: a trunk optical splitter 1105. One branch optical path of the trunk optical splitter 1105 is connected to the third processor 1101 and the third memory 1102 through a bus, and the other branch optical path passes through an optical fiber. Connected to one of the internal interfaces of the second optical matrix module (S1 in Figure 11), the trunk optical path of the trunk optical splitter 1105 is connected to the backup PON port of the corresponding OLT through an optical fiber.
在一些示例性实施例中,第一光矩阵模块1103的m-1个出接口(如图11中的I2至Im)通过光纤与m-1个OLT的备用PON口连接,第一光矩阵模块1103的m-1个内部接口(如图11中的S2至Sm)与第二光矩阵模块的m-1个内部接口(如图11中的S2至Sm)连接。In some exemplary embodiments, m-1 output interfaces (I2 to Im in Figure 11) of the first optical matrix module 1103 are connected to m-1 backup PON ports of OLTs through optical fibers. The first optical matrix module The m-1 internal interfaces of 1103 (S2 to Sm in Figure 11) are connected to the m-1 internal interfaces of the second optical matrix module (S2 to Sm in Figure 11).
在一些示例性实施例中,第二光矩阵模块1104的n个入接口(如图11中的E1至En)通过光纤和分光器与ONU连接。In some exemplary embodiments, the n input interfaces (E1 to En in Figure 11) of the second optical matrix module 1104 are connected to the ONU through optical fibers and optical splitters.
在一些示例性实施例中,第一光矩阵模块1103通过内部虚拟注册链路D0连接总线。In some exemplary embodiments, the first optical matrix module 1103 connects to the bus through an internal virtual registration link D0.
其中,第三处理器1101为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;第三存储器1102为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。Among them, the third processor 1101 is a device with data processing capabilities, which includes but is not limited to a central processing unit (CPU), etc.; the third memory 1102 is a device with data storage capabilities, which includes but is not limited to a random access memory ( RAM (more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
在一些实施例中,第三处理器1101、第三存储器1102通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, the third processor 1101 and the third memory 1102 are connected to each other through a bus and are further connected to other components of the computing device.
第八方面,参照图2,本公开另一个实施例提供一种主干光路保护系统,包括:光线路终端和光矩阵设备。In the eighth aspect, referring to FIG. 2 , another embodiment of the present disclosure provides a trunk optical line protection system, including: an optical line terminal and an optical matrix device.
其中,光线路终端201,被构造成获取第一对应关系和第二对应关系;其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系;在检测到主无源光网络PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口;其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;将所述第一主PON口的数据迁移到所述第一备用PON口;根据所述第一对应关系和所述第二对应关系向光矩阵设备发送倒换动作信息,所述倒换动作信息用于指示所述光矩阵设备将与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。 Wherein, the optical line terminal 201 is configured to obtain a first corresponding relationship and a second corresponding relationship; wherein the first corresponding relationship is one of the main PON port in the main passive optical network PON port cluster and the inlet interface of the optical matrix device. The second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outbound interface of the optical matrix device; when the first primary PON in the primary passive optical network PON port cluster is detected When an abnormality occurs on the port, select the first backup PON port from the backup PON port cluster; wherein the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster; Migrate the data of the first main PON port to the first backup PON port; send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship, where the switching action information is used to Instruct the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first backup PON port.
光矩阵设备202,被构造成接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息;根据所述倒换动作信息控制与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。The optical matrix device 202 is configured to receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal; and to control the first optical network connected to the first main PON port according to the switching action information. The unit group is connected to the first backup PON port.
上述光线路终端和光矩阵设备的具体实现过程与前述实施例主干光路保护方法的具体实现过程相同,这里不再赘述。The specific implementation process of the above-mentioned optical line terminal and optical matrix equipment is the same as the specific implementation process of the trunk optical path protection method in the previous embodiment, and will not be described again here.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其它实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone, or may be used in conjunction with other embodiments, unless expressly stated otherwise. Features and/or components used in combination. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims (23)

  1. 一种主干光路保护方法,应用于光矩阵设备,该方法包括:A backbone optical path protection method, applied to optical matrix equipment, the method includes:
    接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系;所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;Receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal, wherein the first correspondence relationship is one of the main PON port in the main passive optical network PON port cluster and the inlet interface of the optical matrix device. The second corresponding relationship is the corresponding relationship between the spare PON port in the spare PON port cluster and the outbound interface of the optical matrix device; the number of spare PON ports in the spare PON port cluster is less than or Equal to the number of primary PON ports in the primary PON port cluster;
    根据所述倒换动作信息,控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上,其中,所述第一主PON口为主PON口集群中出现异常的主PON口。According to the switching action information, the first optical network unit group connected to the first main PON port is controlled to be connected to the first backup PON port selected from the backup PON port cluster, wherein the first main PON port is the main PON An abnormal main PON port occurs in the port cluster.
  2. 根据权利要求1所述的主干光路保护方法,其中The backbone optical path protection method according to claim 1, wherein
    所述倒换动作信息包括:第一入接口和第一出接口,其中,所述第一入接口为所述光矩阵设备用于连接所述第一光网络单元组的入接口,所述第一出接口为所述光矩阵单元用于连接所述第一备用PON口的出接口;The switching action information includes: a first incoming interface and a first outgoing interface, wherein the first incoming interface is an incoming interface of the optical matrix device used to connect to the first optical network unit group, and the first The outlet interface is the outlet interface of the optical matrix unit used to connect to the first backup PON port;
    所述根据所述倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上包括:控制所述第一入接口和所述第一出接口连接。Controlling the first optical network unit group connected to the first main PON port to be connected to the first backup PON port selected from the backup PON port cluster according to the switching action information includes: controlling the first inlet interface and the The first outgoing interface is connected.
  3. 根据权利要求2所述的主干光路保护方法,所述接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息之前,该方法还包括:The backbone optical path protection method according to claim 2, before receiving the switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal, the method further includes:
    获取所述第一对应关系,将所述第一对应关系发送给所述光线路终端;Obtain the first correspondence relationship and send the first correspondence relationship to the optical line terminal;
    或者,获取入接口和光网络单元之间的第三对应关系,将所述第三对应关系发送给所述光线路终端,以供所述光线路终端生成所述第一对应关系。Alternatively, obtain a third correspondence between the ingress interface and the optical network unit, and send the third correspondence to the optical line terminal, so that the optical line terminal can generate the first correspondence.
  4. 根据权利要求3所述的主干光路保护方法,其中,所述获取所述第一对应关系包括:The backbone optical path protection method according to claim 3, wherein said obtaining the first correspondence includes:
    根据第二入接口接收到的对应的光网络单元的上行光信号,以及主PON口 和光网络单元之间的第四对应关系,建立或更新所述第二入接口对应的第一对应关系,其中,所述第二入接口为任意一个入接口。According to the uplink optical signal of the corresponding optical network unit received by the second incoming interface and the main PON port and a fourth corresponding relationship between the optical network unit and the optical network unit, establishing or updating a first corresponding relationship corresponding to the second incoming interface, wherein the second incoming interface is any incoming interface.
  5. 根据权利要求1所述的主干光路保护方法,所述接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息之前,该方法还包括:The backbone optical path protection method according to claim 1, before receiving the switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal, the method further includes:
    在第二出接口的管理状态为可用,实际使用状态为空闲的情况下,控制第一光矩阵模块将内部虚拟注册链路和与所述第二出接口连接,通过所述第二出接口向所述光线路终端发送虚拟注册信号,其中,所述虚拟注册信号包括:注册标识和所述第二出接口的出接口索引。When the management status of the second outbound interface is available and the actual usage status is idle, the first optical matrix module is controlled to connect the internal virtual registration link to the second outbound interface, and communicate to the second outbound interface through the second outbound interface. The optical line terminal sends a virtual registration signal, where the virtual registration signal includes: a registration identifier and an outbound interface index of the second outbound interface.
  6. 根据权利要求1所述的主干光路保护方法,所述根据所述倒换动作信息控制与第一主PON口连接的第一光网络单元组连接到从备用PON口集群中选择的第一备用PON口上后,该方法还包括:The backbone optical path protection method according to claim 1, wherein the first optical network unit group connected to the first main PON port is controlled according to the switching action information to be connected to the first backup PON port selected from the backup PON port cluster. Finally, the method also includes:
    接收所述光线路终端发送的倒回动作信息,所述倒回动作信息用于指示所述光矩阵设备将所述第一光网络单元组与所述第一备用PON口断开连接;Receive rewind action information sent by the optical line terminal, where the rewind action information is used to instruct the optical matrix device to disconnect the first optical network unit group from the first backup PON port;
    根据所述倒回动作信息控制将所述第一光网络单元组与所述第一备用PON口断开连接。The first optical network unit group is controlled to be disconnected from the first backup PON port according to the rewind action information.
  7. 一种主干光路保护方法,应用于光线路终端,该方法包括:A backbone optical path protection method, applied to optical line terminals, the method includes:
    获取第一对应关系和第二对应关系,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系;Obtain a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is the correspondence relationship between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is The relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outbound interface of the optical matrix device;
    在检测到主PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口,其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;When an abnormality is detected in the first primary PON port in the primary PON port cluster, select the first backup PON port from the backup PON port cluster, where the number of backup PON ports in the backup PON port cluster is less than or equal to The number of primary PON ports in the primary PON port cluster;
    将所述第一主PON口的数据迁移到所述第一备用PON口;Migrate the data of the first primary PON port to the first backup PON port;
    根据所述第一对应关系和所述第二对应关系向光矩阵设备发送倒换动作信息,所述倒换动作信息用于指示所述光矩阵设备将与所述第一主PON口连接的 第一光网络单元组连接到所述第一备用PON口上。Send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship. The switching action information is used to indicate that the optical matrix device will connect to the first main PON port. The first optical network unit group is connected to the first backup PON port.
  8. 根据权利要求7所述的主干光路保护方法,其中,所述倒换动作信息包括:第一入接口和第一出接口,其中,所述第一入接口为所述光矩阵设备用于连接所述第一光网络单元组的入接口,所述第一出接口为所述光矩阵单元用于连接所述第一备用PON口的出接口。The backbone optical path protection method according to claim 7, wherein the switching action information includes: a first incoming interface and a first outgoing interface, wherein the first incoming interface is the optical matrix device used to connect the The inlet interface of the first optical network unit group, and the first outlet interface is the outlet interface of the optical matrix unit used to connect to the first backup PON port.
  9. 根据权利要求7所述的主干光路保护方法,其中,所述获取第一对应关系包括:The backbone optical path protection method according to claim 7, wherein said obtaining the first correspondence includes:
    接收所述光矩阵设备发送的所述第一对应关系;Receive the first correspondence sent by the optical matrix device;
    或者,接收所述光矩阵设备发送的入接口和光网络单元之间的第三对应关系,根据所述第三对应关系,以及主PON口和光网络单元之间的第四对应关系,建立或更新所述第一对应关系。Or, receive the third correspondence relationship between the inlet interface and the optical network unit sent by the optical matrix device, and establish or update the third correspondence relationship between the main PON port and the optical network unit according to the third correspondence relationship and the fourth correspondence relationship between the main PON port and the optical network unit. Describe the first corresponding relationship.
  10. 根据权利要求7所述的主干光路保护方法,其中,获取所述第二对应关系包括:The backbone optical path protection method according to claim 7, wherein obtaining the second correspondence relationship includes:
    检测第二备用PON口的状态,其中,所述第二备用PON口为所述备用PON口集群中的任意一个备用PON口;所述第二备用PON口的状态包括管理状态和实际使用状态;Detect the status of the second backup PON port, where the second backup PON interface is any backup PON interface in the backup PON port cluster; the status of the second backup PON port includes management status and actual use status;
    在所述第二备用PON口的管理状态为可用,且所述第二备用PON口的实际使用状态为空闲的情况下,根据所述第二备用PON口在预定数量的周期内是否接收到所述光矩阵设备发送的虚拟注册信号来建立或更新所述第二备用PON口对应的第二对应关系;其中,所述虚拟注册信号包括:注册标识和第二出接口的出接口索引。When the management status of the second backup PON port is available and the actual usage status of the second backup PON port is idle, it is determined whether the second backup PON port receives all the data within a predetermined number of periods. The virtual registration signal sent by the optical matrix device is used to establish or update the second correspondence relationship corresponding to the second backup PON port; wherein the virtual registration signal includes: a registration identifier and an outbound interface index of the second outbound interface.
  11. 根据权利要求7-10任意一项所述的主干光路保护方法,其中,所述从备用PON口集群中选择第一备用PON口包括以下至少之一:The backbone optical path protection method according to any one of claims 7-10, wherein the selecting the first backup PON port from the backup PON port cluster includes at least one of the following:
    在预先保存的主PON口和备用PON口之间的第五对应关系中,存在所述第一主PON口对应的第五对应关系的情况下,选择所述第一主PON口对应的第五 对应关系中的备用PON口;In the fifth corresponding relationship between the pre-saved main PON port and the backup PON port, if there is a fifth corresponding relationship corresponding to the first main PON port, select the fifth corresponding relationship corresponding to the first main PON port. The backup PON port in the corresponding relationship;
    根据预设规则从所述备用PON口集群中选择所述第一备用PON口。Select the first backup PON port from the backup PON port cluster according to preset rules.
  12. 根据权利要求11所述的主干光路保护方法,所述根据预设规则从所述备用PON口集群中选择所述第一备用PON口之前,该方法还包括:The backbone optical path protection method according to claim 11, before selecting the first backup PON port from the backup PON port cluster according to preset rules, the method further includes:
    根据所述备用PON口集群中的所有备用PON口的状态和光矩阵设备的与所述第一光网络单元组连接的第三入接口的状态确定是否可以倒换;Determine whether switching is possible based on the status of all backup PON interfaces in the backup PON interface cluster and the status of the third incoming interface of the optical matrix device connected to the first optical network unit group;
    在确定可以倒换的情况下,继续执行所述根据预设规则从所述备用PON口集群中选择所述第一备用PON口的步骤。If it is determined that switching is possible, continue to perform the step of selecting the first backup PON port from the backup PON port cluster according to the preset rules.
  13. 根据权利要求11所述的主干光路保护方法,其中,所述根据预设规则从所述备用PON口集群中选择所述第一备用PON口包括:The backbone optical path protection method according to claim 11, wherein selecting the first backup PON port from the backup PON port cluster according to preset rules includes:
    根据所述备用PON口集群中的所有备用PON口的状态和所有备用PON口对应的第二对应关系中的出接口的优先级,从所述备用PON口集群中选择所述第一备用PON口。Select the first standby PON port from the standby PON port cluster according to the status of all standby PON ports in the standby PON port cluster and the priority of the outgoing interface in the second correspondence relationship corresponding to all standby PON ports. .
  14. 根据权利要求13所述的主干光路保护方法,所述从所述备用PON口集群中选择所述第一备用PON口之前,该方法还包括:The backbone optical path protection method according to claim 13, before selecting the first backup PON port from the backup PON port cluster, the method further includes:
    根据第三出接口对应的第二对应关系中的备用PON口是否发生变化,以及所述第三出接口对应的第二对应关系中的备用PON口的状态确定或更新所述第三出接口的优先级,其中,所述第三处接口为所述光矩阵设备的任意一个出接口。Determine or update the third outbound interface based on whether the backup PON port in the second correspondence relationship corresponding to the third outbound interface changes and the status of the backup PON port in the second correspondence relationship corresponding to the third outbound interface. priority, wherein the third interface is any outbound interface of the optical matrix device.
  15. 根据权利要求7-10任意一项所述的主干光路保护方法,所述向光矩阵设备发送倒换动作信息后,该方法还包括:The backbone optical path protection method according to any one of claims 7-10, after sending the switching action information to the optical matrix device, the method further includes:
    保存所述第一主PON口和所述第一备用PON口之间的第五对应关系;Save the fifth correspondence between the first main PON port and the first backup PON port;
    在所述第一主PON口恢复正常的情况下,根据所述第五对应关系向所述光矩阵设备发送倒回动作信息,所述倒回动作信息用于指示所述光矩阵设备将所述第一光网络单元组与所述第一备用PON口断开;When the first main PON port returns to normal, rewind action information is sent to the optical matrix device according to the fifth correspondence relationship, and the rewind action information is used to instruct the optical matrix device to transfer the The first optical network unit group is disconnected from the first backup PON port;
    保持所述第一主PON口对应的第五对应关系和所述第一备用PON口的数据 不变,将所述第一备用PON口的实际使用状态更新为分配。Maintaining the fifth correspondence relationship corresponding to the first main PON port and the data of the first backup PON port The actual usage status of the first backup PON port remains unchanged, and the actual usage status of the first backup PON port is updated to allocation.
  16. 一种主干光路保护方法,应用于光线路终端,该方法包括:A backbone optical path protection method, applied to optical line terminals, the method includes:
    获取第一对应关系和第二对应关系,其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和所述光矩阵设备的出接口之间的对应关系;Obtain a first correspondence relationship and a second correspondence relationship, wherein the first correspondence relationship is the correspondence relationship between the main PON port in the primary passive optical network PON port cluster and the inlet interface of the optical matrix device, and the second correspondence relationship is The relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outbound interface of the optical matrix device;
    在检测到主无源光网络PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口;其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;When an abnormality is detected in the first primary PON port in the primary passive optical network PON port cluster, the first backup PON port is selected from the backup PON port cluster; wherein, the backup PON port in the backup PON port cluster The number is less than or equal to the number of primary PON ports in the primary PON port cluster;
    将所述第一主PON口的数据迁移到所述第一备用PON口;Migrate the data of the first primary PON port to the first backup PON port;
    根据所述第一对应关系和所述第二对应关系控制与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。The first optical network unit group connected to the first main PON port is controlled to be connected to the first backup PON port according to the first corresponding relationship and the second corresponding relationship.
  17. 一种电子设备,包括:An electronic device including:
    至少一个第一处理器;at least one first processor;
    第一存储器,所述第一存储器上存储有至少一个第一程序,当所述至少一个第一程序被所述至少一个第一处理器执行时,实现权利要求7-15任意一项所述的主干光路保护方法。A first memory, at least one first program is stored in the first memory. When the at least one first program is executed by the at least one first processor, the method described in any one of claims 7-15 is implemented. Backbone optical path protection method.
  18. 一种计算机可读介质,所述计算机可读介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求7-15任意一项所述的主干光路保护方法。A computer-readable medium. A computer program is stored on the computer-readable medium. When the computer program is executed by a processor, the backbone optical path protection method described in any one of claims 7-15 is implemented.
  19. 一种光矩阵设备,包括:An optical matrix device including:
    至少一个第二处理器;at least one second processor;
    第二存储器,所述第二存储器上存储有至少一个第二程序,当所述至少一个第二程序被所述至少一个第二处理器执行时,实现权利要求1-6任意一项所述的主干光路保护方法。 A second memory, at least one second program is stored in the second memory, and when the at least one second program is executed by the at least one second processor, the method described in any one of claims 1-6 is implemented. Backbone optical path protection method.
  20. 根据权利要求19所述的光矩阵设备,还包括:The optical matrix device of claim 19, further comprising:
    第一光矩阵模块和第二光矩阵模块,被构造成在第二处理器的控制下实现将第一入接口和第一出接口连接或断开。The first optical matrix module and the second optical matrix module are configured to connect or disconnect the first incoming interface and the first outgoing interface under the control of the second processor.
  21. 一种电子设备,包括:An electronic device including:
    至少一个第三处理器;at least one third processor;
    第三存储器,所述第三存储器上存储有至少一个第三程序,当所述至少一个第三程序被所述至少一个第三处理器执行时,实现权利要求16所述的主干光路保护方法。The third memory stores at least one third program on the third memory. When the at least one third program is executed by the at least one third processor, the backbone optical path protection method of claim 16 is implemented.
  22. 根据权利要求21所述的电子设备,还包括:The electronic device of claim 21, further comprising:
    第一光矩阵模块和第二光矩阵模块,被构造成在第三处理器的控制下实现将第一入接口和第一出接口连接或断开。The first optical matrix module and the second optical matrix module are configured to connect or disconnect the first incoming interface and the first outgoing interface under the control of the third processor.
  23. 一种主干光路保护系统,包括:光线路终端和光矩阵设备;A backbone optical path protection system, including: optical line terminals and optical matrix equipment;
    其中,所述光线路终端,被构造成获取第一对应关系和第二对应关系;其中,所述第一对应关系为主无源光网络PON口集群中的主PON口和光矩阵设备的入接口之间的对应关系,所述第二对应关系为备用PON口集群中的备用PON口和光矩阵设备的出接口之间的对应关系;在检测到主无源光网络PON口集群中的第一主PON口出现异常的情况下,从备用PON口集群中选择第一备用PON口;其中,所述备用PON口集群中的备用PON口数量小于或等于所述主PON口集群中的主PON口数量;将所述第一主PON口的数据迁移到所述第一备用PON口;根据所述第一对应关系和所述第二对应关系向光矩阵设备发送倒换动作信息,所述倒换动作信息用于指示所述光矩阵设备将与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上;Wherein, the optical line terminal is configured to obtain a first correspondence relationship and a second correspondence relationship; wherein the first correspondence relationship is between the main PON port in the main passive optical network PON port cluster and the inlet interface of the optical matrix device The second corresponding relationship is the corresponding relationship between the backup PON port in the backup PON port cluster and the outbound interface of the optical matrix device; when the first primary passive optical network PON port cluster is detected, When an abnormality occurs in the PON port, select the first backup PON port from the backup PON port cluster; wherein the number of backup PON ports in the backup PON port cluster is less than or equal to the number of primary PON ports in the primary PON port cluster ; Migrate the data of the first main PON port to the first backup PON port; send switching action information to the optical matrix device according to the first corresponding relationship and the second corresponding relationship, and the switching action information is Instructing the optical matrix device to connect the first optical network unit group connected to the first main PON port to the first backup PON port;
    所述光矩阵设备,被构造成接收光线路终端发送的基于第一对应关系和第二对应关系的倒换动作信息;根据所述倒换动作信息控制与所述第一主PON口连接的第一光网络单元组连接到所述第一备用PON口上。 The optical matrix device is configured to receive switching action information based on the first correspondence relationship and the second correspondence relationship sent by the optical line terminal; and to control the first optical fiber connected to the first main PON port according to the switching action information. The network unit group is connected to the first backup PON port.
PCT/CN2023/104088 2022-06-29 2023-06-29 Trunk optical path protection method and system, optical matrix device, electronic device, and medium WO2024002275A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210755723.7A CN117353806A (en) 2022-06-29 2022-06-29 Trunk light path protection method and system, optical matrix device, electronic device and medium
CN202210755723.7 2022-06-29

Publications (1)

Publication Number Publication Date
WO2024002275A1 true WO2024002275A1 (en) 2024-01-04

Family

ID=89367868

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/104088 WO2024002275A1 (en) 2022-06-29 2023-06-29 Trunk optical path protection method and system, optical matrix device, electronic device, and medium

Country Status (2)

Country Link
CN (1) CN117353806A (en)
WO (1) WO2024002275A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703008A (en) * 2005-06-29 2005-11-30 飞博创(成都)科技有限公司 Passive optical network protecting method and system
CN101895792A (en) * 2009-05-21 2010-11-24 中兴通讯股份有限公司 Protection system and method based on passive optical network
CN102130718A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Network element equipment and method for protection switching of backbone optical path
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN103475411A (en) * 2013-08-22 2013-12-25 南京邮电大学 Time division passive optical network
US20160134953A1 (en) * 2014-11-12 2016-05-12 Broadcom Corporation Shared protection in optical networks
CN113709601A (en) * 2020-05-20 2021-11-26 华为技术有限公司 Optical transmission equipment, system and optical transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703008A (en) * 2005-06-29 2005-11-30 飞博创(成都)科技有限公司 Passive optical network protecting method and system
CN101895792A (en) * 2009-05-21 2010-11-24 中兴通讯股份有限公司 Protection system and method based on passive optical network
CN102130718A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Network element equipment and method for protection switching of backbone optical path
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN103475411A (en) * 2013-08-22 2013-12-25 南京邮电大学 Time division passive optical network
US20160134953A1 (en) * 2014-11-12 2016-05-12 Broadcom Corporation Shared protection in optical networks
CN113709601A (en) * 2020-05-20 2021-11-26 华为技术有限公司 Optical transmission equipment, system and optical transmission method

Also Published As

Publication number Publication date
CN117353806A (en) 2024-01-05

Similar Documents

Publication Publication Date Title
US10601656B2 (en) Network element upgrade method and device
US6222822B1 (en) Method for optimizing a digital transmission network operation through transient error monitoring and control and system for implementing said method
US8953499B2 (en) Method and apparatus for establishing spanning trees
CN108616402B (en) Management method and system of remote equipment
JP2004533142A (en) Reuse of bandwidth reservation in protection and restoration techniques for dynamically allocated rings
WO2016194089A1 (en) Communication network, communication network management method and management system
CN111683008A (en) SDN-based transmission network service path scheduling and protecting method and system
CN108476175B (en) Transfer SDN traffic engineering method and system using dual variables
US20170034717A1 (en) Method and Device for Configuration Processing of Binding Link and Method and Device for Configuring Binding Link
US11750440B2 (en) Fast forwarding re-convergence of switch fabric multi-destination packets triggered by link failures
JPH1084349A (en) Network connection quality control system
CN109218232B (en) Method, equipment and system for realizing Mux machine
WO2010004277A1 (en) A method of controlling data propagation within a network
US8121138B2 (en) Communication apparatus in label switching network
EP2677702A2 (en) A method and apparatus for load balance
CN112073330A (en) Cloud platform container network current limiting method
CN101888573B (en) Method and system for automatically discovering resource state between adjacent nodes
WO2016124044A1 (en) Method for processing warning information of passive optical device and optical line terminal
WO2024002275A1 (en) Trunk optical path protection method and system, optical matrix device, electronic device, and medium
US6510214B1 (en) System and method of detecting overload in a service control point of a telecommunications network
WO2024001774A1 (en) Trunk optical path protection method and system, electronic device and computer readable medium
US11251245B1 (en) Responding to a failure of a main die of a switch data-plane device
CN110995621B (en) Method and switch for selecting uplink port to communicate
US11452024B2 (en) Packet transmission system, transmission device, transmission path switching method, and transmission path switching program
WO2024061047A1 (en) Communication control method, olt, onu, and computer-readable medium

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: 23830439

Country of ref document: EP

Kind code of ref document: A1