CN111464887B - ONU registration authorization management method and device applied to PON system - Google Patents

ONU registration authorization management method and device applied to PON system Download PDF

Info

Publication number
CN111464887B
CN111464887B CN202010153072.5A CN202010153072A CN111464887B CN 111464887 B CN111464887 B CN 111464887B CN 202010153072 A CN202010153072 A CN 202010153072A CN 111464887 B CN111464887 B CN 111464887B
Authority
CN
China
Prior art keywords
state
event
onu
authorization
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010153072.5A
Other languages
Chinese (zh)
Other versions
CN111464887A (en
Inventor
刘桂兰
柯明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202010153072.5A priority Critical patent/CN111464887B/en
Publication of CN111464887A publication Critical patent/CN111464887A/en
Application granted granted Critical
Publication of CN111464887B publication Critical patent/CN111464887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an ONU registration authorization management method and equipment applied to a PON system, and relates to the technical field of passive optical network application. The register authorization management method of the invention can also flexibly adapt to the PON chip schemes of automatic activation and manual activation, thereby improving the manageability and the robustness of the system.

Description

ONU registration authorization management method and device applied to PON system
Technical Field
The invention relates to the technical field of passive optical network application, in particular to an ONU registration authorization management method and ONU registration authorization management equipment applied to a PON system.
Background
The current broadband access technologies are mainly classified into copper line access technologies (e.g., various DSL technologies) and optical access technologies. A PON (Passive Optical Network) technology is an Optical access technology for point-to-multipoint transmission, and mainly includes an EPON (ethernet Passive Optical Network), a GPON (Gigabit Passive Optical Network), and the like. A PON system generally comprises an OLT (Optical Line Terminal), an ODN (Optical Distribution Network), and an ONU/ONT.
In a point-to-multipoint passive optical network, the maximum splitting ratio of a designated PON port is 1: 128. with the increasing complexity of network environment and the increasing number of off-hook users, on one hand, the number of the ONU and ONU users of various types can be dynamically changed when a plurality of PON ports are off-hook, and on the other hand, the main optical fiber and the branch optical fiber are plugged or the ONU is powered on and powered off.
Compared with an Ethernet passive optical network system and a gigabit passive optical network system, the ONU reports a newly discovered ONU and the upper layer registers and authorizes the ONU in a management process. On one hand, for an Ethernet Passive Optical Network (EPON) system, after completing ONU ranging and hardware registration, i.e. allocating LLID (Logical Link Identifier), and after OAM negotiation is completed, reporting a newly discovered ONU; for a Gigabit Passive Optical Network (GPON) system, after completing ONU ranging, reporting a newly discovered ONU periodically, and stopping reporting the newly discovered ONU after activating the ONU is completed, where an ONU identifier (ONU-ID) is assigned by an OLT (as shown in fig. 1 and fig. 2, respectively). On the other hand, for different PON chip schemes, some chip schemes are manual activation of ONUs, and some schemes are automatic activation.
Therefore, a technical solution for uniformly and effectively implementing management of ONU registration authorization adapting to different chips is needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an ONU registration authorization management method and equipment applied to a PON system, which are adaptive to different chip schemes and simultaneously manage the registration authorization processes of an EPON system and a GPON system by using a set of method.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: an ONU registration authorization management method applied to a PON system comprises the following steps:
defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process;
when a certain event is received, event processing is carried out according to an event processing mechanism corresponding to the event, and state switching is carried out according to a state switching mechanism corresponding to the event;
the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; and sending a discovery event to the state machine to trigger state switching.
On the basis of the technical scheme, various states in the ONU registration authorization process comprise: initial state, discovery state, blocking state, operational state, preparation state, activation state.
On the basis of the above technical solution, the various events in the ONU registration authorization process further include: the method comprises the following steps of fiber breaking event, authorization event, de-authorization event, aging event, replacement event, ONU management control managed entity back package event and activation completion event.
On the basis of the above technical solution, the event processing mechanism corresponding to the event further includes: the system comprises a fiber breaking event processing mechanism, an authorization event processing mechanism, a de-authorization event processing mechanism, an aging event processing mechanism, a replacement event processing mechanism, an ONU management control managed entity back-packaging event processing mechanism and an activation completion event processing mechanism.
On the basis of the above technical solution, the state switching mechanism corresponding to the event includes:
each ONU object initial state is an initial state;
the state is in an initial state, and if a bottom layer reported discovery event is received, the state is switched to a discovery state;
the ONU is in a discovery state, and if the bottom chip supports manual activation of the ONU, the state is switched to an operation state; if the bottom chip does not support the manual activation of the ONU, the state is switched to a blocking state; if the aging event is received, switching the state to an initial state;
the state is in a blocking state, and if an activation completion event reported by a bottom layer is received, the state is switched to an operation state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
if receiving an ONU management control managed entity back package event, judging whether an authorization table of the ONU exists in the OLT, if so, executing matching authorization, and switching the state into an activation state; if the authorization table does not exist, resetting the aging event and switching the state to a standby state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
in the preparation state, if an authorization event is received, the state is continuously maintained in the state; if receiving the newly found ONU event, judging whether the ONU is authorized, and if the ONU is not authorized, switching the state into an operation state; if the ONU is authorized, re-authenticating and matching authorization, and switching the state into an activation state; if the fiber breaking event is received, the preparation state is still maintained, and only the attribute of the ONU state object is updated;
the ONU is in an activated state, and if an ONU de-authorization event is received, the state is switched to a discovered state; and if the fiber breaking event is received, switching the state into a standby state.
The present invention also provides an ONU registration authorization management device applied to the PON system, including:
a control module to: defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process; the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; sending a discovery event to a state machine;
a state machine to: when a certain event is received, the event processing is carried out according to the event processing mechanism corresponding to the event, and the state switching is carried out according to the state switching mechanism corresponding to the event.
On the basis of the technical scheme, various states in the ONU registration authorization process comprise: initial state, discovery state, blocking state, operational state, preparation state, activation state.
On the basis of the above technical solution, the various events in the ONU registration authorization process further include: the method comprises the following steps of fiber breaking event, authorization event, de-authorization event, aging event, replacement event, ONU management control managed entity back package event and activation completion event.
On the basis of the above technical solution, the event processing mechanism corresponding to the event further includes: the system comprises a fiber breaking event processing mechanism, an authorization event processing mechanism, a de-authorization event processing mechanism, an aging event processing mechanism, a replacement event processing mechanism, an ONU management control managed entity back-packaging event processing mechanism and an activation completion event processing mechanism.
On the basis of the above technical solution, the state switching mechanism corresponding to the event includes:
each ONU object initial state is an initial state;
the state is in an initial state, and if a bottom layer reported discovery event is received, the state is switched to a discovery state; if the aging event is received, switching the state to an initial state;
the ONU is in a discovery state, and if the bottom chip supports manual activation of the ONU, the state is switched to an operation state; if the bottom chip does not support the manual activation of the ONU, the state is switched to a blocking state;
the state is in a blocking state, and if an activation completion event reported by a bottom layer is received, the state is switched to an operation state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
if receiving an ONU management control managed entity back package event, judging whether an authorization table of the ONU exists in the OLT, if so, executing matching authorization, and switching the state into an activation state; if the authorization table does not exist, resetting the aging event and switching the state to a standby state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
in the preparation state, if an authorization event is received, the state is continuously maintained in the state; if receiving the newly found ONU event, judging whether the ONU is authorized, and if the ONU is not authorized, switching the state into an operation state; if the ONU is authorized, re-authenticating and matching authorization, and switching the state into an activation state; if the fiber breaking event is received, the preparation state is still maintained, and only the attribute of the ONU state object is updated;
the ONU is in an activated state, and if an ONU de-authorization event is received, the state is switched to a discovered state; and if the fiber breaking event is received, switching the state into a standby state.
Compared with the prior art, the invention has the advantages that:
the embodiment of the invention abstracts the same points in the authorization process of an EPON system and a GPON system, performs state machine switching by abstractively defining different states of ONU in the authorization process and adopting an event-driven mode, thereby realizing the unified registration authorization management of the GPON and the EPON. The register authorization management method of the invention can also flexibly adapt to the PON chip schemes of automatic activation and manual activation, thereby improving the manageability and the robustness of the system.
Drawings
Fig. 1 is a SN discovery process of a background art EPON system ONU;
fig. 2 is a SN discovery process of a GPON system ONU of the background art;
figure 3 is a diagram of a defined ONU state according to an embodiment of the present invention;
fig. 4 is an ONU registration authorization state machine according to an embodiment of the present invention;
FIG. 5 is a discovery event processing flow of an embodiment of the present invention;
FIG. 6 is a fiber break event processing flow of an embodiment of the present invention;
FIG. 7 is a process flow of a break backbone fiber event according to an embodiment of the present invention;
FIG. 8 is an authorization event processing flow of an embodiment of the present invention;
FIG. 9 is a de-authorization event processing flow of an embodiment of the present invention;
FIG. 10 is an alternative event processing flow of an embodiment of the present invention;
fig. 11 is a process flow of an ONU managing and controlling a packet returning event of a managed entity according to an embodiment of the present invention;
FIG. 12 is an activation completion event processing flow of an embodiment of the present invention;
FIG. 13 is an aging event processing flow of an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides an ONU registration authorization management method applied to a PON system, which comprises the following steps:
defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process;
when a certain event is received, event processing is carried out according to an event processing mechanism corresponding to the event, and state switching is carried out according to a state switching mechanism corresponding to the event;
the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; and sending a discovery event to the state machine to trigger state switching.
Fig. 4 is an ONU registration authorization state machine. The following states and events are mainly involved:
the registration authorization state comprises the following steps: initial state INVALID (S0), found state uncovered (S1), blocked state ACTIVE _ point (S2), operational state operative (S3), ready state INVALID (S4), activated state activated (S5). (as shown in fig. 3), the above states are all newly defined ONU authorization states.
The events include: discovery event Discovery (E0), fiber breaking event LOSi (E1), authorization event Auth (E2), de-authorization event Unauth (E3), aging event Aged (E4), replacement event Replace (E5), ONU management control managed entity loopback event OmcilResp (E6) and activation completion event ACompute (E7).
The specific operation mechanism of the ONU registration authorization state machine in fig. 4 is as follows:
state INVALID (S0): each ONU object initial state is an initial state INVALID (S0), the ONU in the initial state receives a Discovery event Discovery (E0) reported by a bottom layer, sets the ONU on-line through AddOnu, and switches the state from the initial state INVALID (S0) to a Discovery state DISCOVERED (S1); the ONU registration authorization state machine maintains a state table. Addou sets the ONU online, that is, sets relevant state information, such as setting online state and aging time, for the added ONU state object. And the ONU starts a task, and when the set aging time is up, an aging event Aged is triggered (E4).
Status uncovered (S1): in the discovery state DISCOVERED (S1), the upper layer generates an action to execute activating the ONU, and if the bottom chip supports manual activation of the ONU, executes a Management Information Base UPLOAD (MIB UPLOAD) event, and switches the state to the operation state operation (S3); if the underlying chip does not support manually activating the ONU, the state switches to the Block ACTIVE _ PEND (S2) state. That is, if the bottom chip supports manual activation, the state is switched from uncovered (S1) to operative (S3); if manual activation is not supported (i.e., automatic activation), the state switches from DISCOVERED (S1) to ACTIVE _ PEND (S2). The PON chip scheme with flexible adaptation, automatic activation and manual activation is realized. If an aging event Aged is received (E4), the state is switched to the initial state INVALID (S0).
State ACTIVE _ PEND (S2): and (3) being in the blocking state ACTIVE _ point (S2), if receiving an activation completion event (E7) reported by the bottom layer, executing a MIB UPLOAD (Management information base UPLOAD) sending process, and switching the state to the OPERATING state OPERATING (S3). If the fiber breaking event LOSi is received (E1) or the replacement event Replace is received (E5), the state is switched to the discovery state uncovered (S1).
State OPERATING (S3): in an operation state, OPERATING (S3), if receiving an ONU management control managed entity back packet event OmciResp (E6), determining whether an authorization table of the ONU exists in the OLT, if so, performing matching authorization, and switching the state to an active state (S5); if the authorization table does not exist, the aging time is reset, and the state is switched to the READY state INFO _ READY (S4). If the fiber breaking event LOSi is received (E1) or the replacement event Replace is received (E5), the state is switched to the discovery state uncovered (S1).
State INFO _ READY (S4): in the READY state INFO _ READY (S4), if the authorization event Auth (E2) is received, the state is continuously maintained in this state. If receiving a new ONU Discovery event Discovery (E0), determining whether the ONU is authorized, if the ONU is not authorized, executing a MIB UPLOAD (Management Information Base UPLOAD) process, and switching the state to an operation state (S3); if the ONU is authorized, re-authentication and matching authorization, the state switches to the active state activated (S5). If the fiber breaking event LOSi is received (E1), the INFO _ READY (S4) state is still maintained, and only the attribute of the ONU state object is updated.
State activated (S5): and (2) the state is activated (S5), and if an ONU de-authorization event Unauth is received (E3), the authorization number is set to 0 (i.e., the state is set to the unauthorized state), and the state is switched to the discovery state uncovered (S1). If the fiber break event LOSi is received (E1), the state is switched to the READY state INFO _ READY (S4).
The embodiment of the invention abstracts the same points in the authorization process of an EPON system and a GPON system: uniformly processing the report of a discovery event in a PON system, distributing ONU objects, calculating ONU-ID (ONU-ID), and calling a chip interface to add the ONU objects; then the event is sent to the state machine to trigger the state switching. And different states of the ONU in the authorization process are defined in an abstract way, and an event-driven mode is adopted to switch the state machines, so that the management of ONU registration authorization is realized. The event processing mechanism corresponding to each event comprises:
(1) reporting discovery events in a PON system is processed uniformly, ONU objects are distributed, ONU-ID is calculated, and chip interfaces are called to add the ONU objects. Then the event is sent to the state machine to trigger the state switching.
(2) When the ONU activating action is executed, if the bottom chip supports the manual activation of the ONU, an MIB UPLOAD (Management Information Base UPLOAD) process is executed, and the state is switched to an operation state OPERATING (S3); if the underlying chip does not support manually activating the ONU, the state switches to the Block ACTIVE _ PEND (S2) state.
(3) When the optical fiber is disconnected or the ONU is powered down, the chip reports a fiber break or a power failure event, reports an alarm and sends the fiber break event to the state machine, so that the state is switched to the READY state INFO _ READY (S4).
(4) And configuring an authorization ONU, executing an authorization callback after the ONU capacity allocation memory is set, sending an authorization event to a state machine, and triggering state switching.
(5) Configuring a de-authorization ONU, releasing an ONU memory, executing a de-authorization callback, sending a de-authorization event to a state machine, and triggering state switching.
Fig. 5 is a specific flowchart of the Discovery event Discovery (E0) process. Mainly comprises the following steps:
step 101, analyzing and discovering the SN message, and acquiring a PON number, an ONU SN (serial number) and an ONU ID (identifier);
step 102, judging whether an ONU SN object exists or not, and if not, allocating a new SN node;
103, silence processing;
and step 104, distinguishing the GPON system and the EPON system according to the PON type reported by the bottom layer, and calculating the ONU ID. For an EPON system, an ONUID is distributed by a driver and reports a logical link identification LLID; for a GPON system, the oneid is dynamically allocated by upper layers;
step 105, judging whether the operation state of the ONU is addition or not, if so, entering step 106, and if not, entering step 107;
step 106, calling a drive to add the ONU according to the ONUid, and entering step 107;
step 107, send Discovery event Discovery (E0) to the state machine.
The discovery event processing flow of the embodiment of the invention can distinguish the GPON system from the EPON system and correspondingly process the GPON system, thereby realizing the management of the discovery events of the EPON system and the GPON system at the same time.
Fig. 6 is a specific flowchart of the processing of the fiber breakage event LOSi (E1), which mainly includes the following steps:
step 201, analyzing the ONU message type and state;
step 202, obtaining an ONU authorization number;
step 203, sending the corresponding ONU event type to a state machine;
and step 204, reporting an alarm.
Fig. 7 is a specific flowchart of PON LOS processing for a backbone fiber break event, which mainly includes the following steps:
step 301, analyzing the type and state of PORT message;
step 302, judging whether the state is a starting state or an ending state, and entering step 303 if the state is the starting state; if so, go to step 304;
step 303, traversing all the authorized online ONUs to be hung down, and sending a fiber break event LOSi (E1) to a state machine;
and step 304, reporting a PON port fiber breakage alarm.
Fig. 8 is a specific flowchart of the authorization event Auth (E2), which mainly includes the following steps:
step 401, a main control issues an ONU authorization command;
step 402, resolving ONU authorization information;
step 403, defining an authorization event;
step 404, adding an ONU configuration object;
step 405, updating an ONU configuration object, a physical password, a logic SN and a logic password;
step 406, setting ONU capability, allocating ONU ID, and allocating memory;
step 407, executing an authorization callback;
at step 408, an authorization event is sent to the state machine.
Fig. 9 is a specific flowchart of the unauthorized event Unauth (E3), which mainly includes the following steps:
step 501, a main control issues an ONU authorization removal command;
step 502, resolving ONU de-authorization information;
step 503, executing a de-authorization callback;
step 504, releasing the ONU configuration data memory;
step 505, defining a de-authorization event;
step 506, deleting the configuration data;
in step 507, a de-authorization event is sent.
Fig. 10 is a specific flowchart of the Replace event Replace (E5), which mainly includes the following steps:
step 601, resolving an ONU replacement command;
step 602, judging whether the authorization numbers are consistent;
step 603, if the two are not consistent, returning; if the ONU information is consistent with the new ONU information, updating the old ONU in the authorization table to be the new ONU information;
step 604, sending an old ONU replacement event to the state machine;
step 605, send new ONU authentication state event to the state machine.
Fig. 11 is a specific flowchart of an ONU management control managed entity back-packaging event omcirep (E6), which mainly includes the following steps:
step 701, judging a MIB UPLOAD execution result of the ONU; if the failure occurs, go to step 702; if successful, go to step 703;
step 702, updating retry, setting a silent time, and performing silent processing;
step 703, performing ONU authentication;
step 704, determining whether the ONU is authorized; if not, go to step 705; if authorized, go to step 706;
step 705, resetting the aging time, and setting the state to a READY state INFO _ READY (S4);
step 706, updating the real type of the authorization table;
step 707, resetting the ONU configuration identifier, and processing the online callback;
the matching ONU is authorized, step 708.
Fig. 12 is a detailed flowchart of the activation completion event AComplete (E7), which mainly includes the following steps:
step 801, acquiring an ONU password and storing a blocking state;
step 802, judging whether the ONU is authorized; if not, go to step 803; if authorized, go to step 804;
step 803, recording the time of sending MIB UPLOAD event, and switching the state to operation state (S3);
step 804, performing ONU re-authentication;
step 805, setting an authorization number and updating the real type of an authorization table;
step 806, resetting the configuration identifier, and processing the online callback;
the matching ONU is authorized, step 807.
Fig. 13 is a detailed flowchart of the aging event Aged (E4), which mainly includes the following steps:
step 901, deleting the space managed and allocated by the ONU, and releasing the memory of the capability set;
step 902, releasing chip ONU ID resources;
step 903, setting the state of the ONU to be an invalid state.
An embodiment of the present invention further provides an ONU registration authorization management apparatus applied to a PON system, including:
a control module to: defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process; the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; sending a discovery event to a state machine;
a state machine to: when a certain event is received, the event processing is carried out according to the event processing mechanism corresponding to the event, and the state switching is carried out according to the state switching mechanism corresponding to the event.
Wherein, various states in the ONU registration authorization process include: initial state, discovery state, blocking state, operational state, preparation state, activation state.
Various events in the ONU registration authorization process further include: the method comprises the following steps of fiber breaking event, authorization event, de-authorization event, aging event, replacement event, ONU management control managed entity back package event and activation completion event.
As a preferred embodiment, the event handling mechanism corresponding to the event further includes: the system comprises a fiber breaking event processing mechanism, an authorization event processing mechanism, a de-authorization event processing mechanism, an aging event processing mechanism, a replacement event processing mechanism, an ONU management control managed entity back-packaging event processing mechanism and an activation completion event processing mechanism. The specific event handling mechanism corresponding to each event is the same as the specific event handling mechanism in the method embodiment, and is not described herein again.
As a preferred embodiment, the state switching mechanism corresponding to the event includes:
each ONU object initial state is an initial state;
the state is in an initial state, and if a bottom layer reported discovery event is received, the state is switched to a discovery state;
the ONU is in a discovery state, and if the bottom chip supports manual activation of the ONU, the state is switched to an operation state; if the bottom chip does not support the manual activation of the ONU, the state is switched to a blocking state; if an aging event Aged is received (E4), the state is switched to an initial state INVALID (S0);
the state is in a blocking state, and if an activation completion event reported by a bottom layer is received, the state is switched to an operation state; if a fiber breaking event LOSi (E1) or a replacement event Replace (E5) is received, switching the state to a discovery state DISCOVERED (S1);
if receiving an ONU management control managed entity back package event, judging whether an authorization table of the ONU exists in the OLT, if so, executing matching authorization, and switching the state into an activation state; if the authorization table does not exist, resetting the aging event and switching the state to a standby state; if a fiber breaking event LOSi (E1) or a replacement event Replace (E5) is received, switching the state to a discovery state DISCOVERED (S1);
in the preparation state, if an authorization event is received, the state is continuously maintained in the state; if receiving the newly found ONU event, judging whether the ONU is authorized, and if the ONU is not authorized, switching the state into an operation state; if the ONU is authorized, re-authenticating and matching authorization, and switching the state into an activation state; if the fiber breaking event is received, the preparation state is still maintained, and only the attribute of the ONU state object is updated;
the ONU is in an activated state, and if an ONU de-authorization event is received, the state is switched to a discovered state; and if the fiber breaking event is received, switching the state into a standby state.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. An ONU registration authorization management method applied to a PON system is characterized by comprising the following steps:
defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process;
when a certain event is received, event processing is carried out according to an event processing mechanism corresponding to the event, and state switching is carried out according to a state switching mechanism corresponding to the event;
the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; sending a discovery event to a state machine, and triggering state switching;
various states in the ONU registration authorization process include: initial state, discovery state, blocking state, operation state, preparation state, activation state;
various events in the ONU registration authorization process further include: a fiber breaking event, an authorization event, a de-authorization event, an aging event, a replacement event, an ONU management control managed entity back package event and an activation completion event;
the state switching mechanism corresponding to the event comprises the following steps:
each ONU object initial state is an initial state;
the state is in an initial state, and if a bottom layer reported discovery event is received, the state is switched to a discovery state;
the ONU is in a discovery state, and if the bottom chip supports manual activation of the ONU, the state is switched to an operation state; if the bottom chip does not support the manual activation of the ONU, the state is switched to a blocking state; if the aging event is received, switching the state to an initial state;
the state is in a blocking state, and if an activation completion event reported by a bottom layer is received, the state is switched to an operation state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
if receiving an ONU management control managed entity back package event, judging whether an authorization table of the ONU exists in the OLT, if so, executing matching authorization, and switching the state into an activation state; if the authorization table does not exist, resetting the aging event and switching the state to a standby state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
in the preparation state, if an authorization event is received, the state is continuously maintained in the state; if receiving the newly found ONU event, judging whether the ONU is authorized, and if the ONU is not authorized, switching the state into an operation state; if the ONU is authorized, re-authenticating and matching authorization, and switching the state into an activation state; if the fiber breaking event is received, the preparation state is still maintained, and only the attribute of the ONU state object is updated;
the ONU is in an activated state, and if an ONU de-authorization event is received, the state is switched to a discovered state; and if the fiber breaking event is received, switching the state into a standby state.
2. The method of claim 1, wherein the event handling mechanism to which the event corresponds further comprises: the system comprises a fiber breaking event processing mechanism, an authorization event processing mechanism, a de-authorization event processing mechanism, an aging event processing mechanism, a replacement event processing mechanism, an ONU management control managed entity back-packaging event processing mechanism and an activation completion event processing mechanism.
3. An ONU registration authorization management device applied to a PON system, comprising:
a control module to: defining various states, various events, event processing mechanisms corresponding to the events and state switching mechanisms corresponding to the events in the ONU registration authorization process; the event comprises a discovery event, and a discovery event processing mechanism corresponding to the discovery event comprises: when a discovery event reported by a bottom layer is received, distributing ONU objects; acquiring a PON type reported by a bottom layer, if the PON type is an EPON system, allocating an ONU ID and reporting a logical link identification LLID by a driver; if the system is a GPON system, an ONU ID is dynamically allocated by an upper layer; adding an ONU object; sending a discovery event to a state machine;
a state machine to: when a certain event is received, event processing is carried out according to an event processing mechanism corresponding to the event, and state switching is carried out according to a state switching mechanism corresponding to the event;
various states in the ONU registration authorization process include: initial state, discovery state, blocking state, operation state, preparation state, activation state;
various events in the ONU registration authorization process further include: a fiber breaking event, an authorization event, a de-authorization event, an aging event, a replacement event, an ONU management control managed entity back package event and an activation completion event;
the state switching mechanism corresponding to the event comprises the following steps:
each ONU object initial state is an initial state;
the state is in an initial state, and if a bottom layer reported discovery event is received, the state is switched to a discovery state; if the aging event is received, switching the state to an initial state;
the ONU is in a discovery state, and if the bottom chip supports manual activation of the ONU, the state is switched to an operation state; if the bottom chip does not support the manual activation of the ONU, the state is switched to a blocking state;
the state is in a blocking state, and if an activation completion event reported by a bottom layer is received, the state is switched to an operation state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
if receiving an ONU management control managed entity back package event, judging whether an authorization table of the ONU exists in the OLT, if so, executing matching authorization, and switching the state into an activation state; if the authorization table does not exist, resetting the aging event and switching the state to a standby state; if a fiber breaking event or a replacing event is received, switching the state into a discovery state;
in the preparation state, if an authorization event is received, the state is continuously maintained in the state; if receiving the newly found ONU event, judging whether the ONU is authorized, and if the ONU is not authorized, switching the state into an operation state; if the ONU is authorized, re-authenticating and matching authorization, and switching the state into an activation state; if the fiber breaking event is received, the preparation state is still maintained, and only the attribute of the ONU state object is updated;
the ONU is in an activated state, and if an ONU de-authorization event is received, the state is switched to a discovered state; and if the fiber breaking event is received, switching the state into a standby state.
4. The apparatus of claim 3, wherein the event handling mechanism to which the event corresponds further comprises: the system comprises a fiber breaking event processing mechanism, an authorization event processing mechanism, a de-authorization event processing mechanism, an aging event processing mechanism, a replacement event processing mechanism, an ONU management control managed entity back-packaging event processing mechanism and an activation completion event processing mechanism.
CN202010153072.5A 2020-03-06 2020-03-06 ONU registration authorization management method and device applied to PON system Active CN111464887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010153072.5A CN111464887B (en) 2020-03-06 2020-03-06 ONU registration authorization management method and device applied to PON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010153072.5A CN111464887B (en) 2020-03-06 2020-03-06 ONU registration authorization management method and device applied to PON system

Publications (2)

Publication Number Publication Date
CN111464887A CN111464887A (en) 2020-07-28
CN111464887B true CN111464887B (en) 2022-02-01

Family

ID=71681823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010153072.5A Active CN111464887B (en) 2020-03-06 2020-03-06 ONU registration authorization management method and device applied to PON system

Country Status (1)

Country Link
CN (1) CN111464887B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596631A (en) * 2021-07-23 2021-11-02 上海市共进通信技术有限公司 Method for realizing PON type automatic switching based on key state change

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150391A (en) * 2006-09-20 2008-03-26 华为技术有限公司 A method, system and device for preventing optical network unit in passive optical network from being counterfeiting
CN101505438A (en) * 2008-12-31 2009-08-12 深圳市共进电子有限公司 Implementing method and apparatus for EPON terminal CTC protocol stack
CN101964922A (en) * 2009-07-23 2011-02-02 中兴通讯股份有限公司 Abnormal condition capturing method and device
CN103841473A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Method, system and device for registration and activation of optical network unit
CN106209441A (en) * 2016-06-30 2016-12-07 电子科技大学 A kind of trouble-shooter of broadband access network
CN106998508A (en) * 2016-01-25 2017-08-01 深圳市中兴微电子技术有限公司 ONU state transfer method and ONU
CN107295428A (en) * 2016-03-31 2017-10-24 中兴通讯股份有限公司 A kind of register method of optical network unit, device and optical line terminal
CN110855738A (en) * 2019-09-25 2020-02-28 安徽四创电子股份有限公司 Communication processing system for multi-source equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2621194A1 (en) * 2012-01-30 2013-07-31 Mitsubishi Electric R&D Centre Europe B.V. Transparent protection switching operation in a pon
CN104185096B (en) * 2014-09-12 2019-07-02 上海斐讯数据通信技术有限公司 A kind of ONU registed authorization method and system
CN108631861B (en) * 2018-03-21 2020-07-07 烽火通信科技股份有限公司 GPON system for realizing rapid protection switching and protection switching method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150391A (en) * 2006-09-20 2008-03-26 华为技术有限公司 A method, system and device for preventing optical network unit in passive optical network from being counterfeiting
CN101505438A (en) * 2008-12-31 2009-08-12 深圳市共进电子有限公司 Implementing method and apparatus for EPON terminal CTC protocol stack
CN101964922A (en) * 2009-07-23 2011-02-02 中兴通讯股份有限公司 Abnormal condition capturing method and device
CN103841473A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Method, system and device for registration and activation of optical network unit
CN106998508A (en) * 2016-01-25 2017-08-01 深圳市中兴微电子技术有限公司 ONU state transfer method and ONU
EP3410736A1 (en) * 2016-01-25 2018-12-05 Sanechips Technology Co., Ltd. Onu state transition method, onu, and computer storage medium
CN107295428A (en) * 2016-03-31 2017-10-24 中兴通讯股份有限公司 A kind of register method of optical network unit, device and optical line terminal
CN106209441A (en) * 2016-06-30 2016-12-07 电子科技大学 A kind of trouble-shooter of broadband access network
CN110855738A (en) * 2019-09-25 2020-02-28 安徽四创电子股份有限公司 Communication processing system for multi-source equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《GPON状态机培训——https://www.docin.com/p-229689888.html》;CIG;《豆丁》;20110707;全文 *

Also Published As

Publication number Publication date
CN111464887A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN100407648C (en) Shared resources in a multi manager environment
RU2703520C1 (en) Optical network unit reset message
US20080002718A1 (en) Method and apparatus to restore default settings in an Optical Network Terminal (ONT)
US10505637B2 (en) Service processing method and apparatus and optical line terminal
CN102571198A (en) System and method for carrying out EPON (Ethemet-based passive optical network) performance test based on emulational ONU (optical network unit)
US10110301B2 (en) Method, apparatus, and system for detecting rogue optical network unit
US10142713B2 (en) Dynamic selection of management information bases
EP2897309A1 (en) Protection switching method, system and apparatus for passive optical network
CN111464887B (en) ONU registration authorization management method and device applied to PON system
CN103248419B (en) ONU, OLT, D class PON protection system and method
EP2622871A1 (en) Stacking of additionally connected optical network units in a passive optical network
WO2016124075A1 (en) Method and device for controlling management mode of optical network unit in passive optical network
CN114448710B (en) ONU authentication method, ONU authentication device, optical line terminal and readable storage medium
WO2018161823A1 (en) Service management control method, apparatus, and data storage medium
KR100495330B1 (en) System and method for managing and controlling of ethernet passive optical access network
CN103795816A (en) Passive optical network system, configuration method thereof, and access method thereof
CN114615571A (en) OLT network element monitoring equipment, monitoring system and management method
KR100597194B1 (en) Surveillant Control Apparatus For ATM-PON OLT System
CN105007187B (en) A kind of distribution OLT system command line management method
US11804902B2 (en) Optical line terminal configured to operate with optical network terminals that require different sets of OMCI parameters
KR100917602B1 (en) GPON blade of ATCA system and method for processing control message thereof
JP2011259063A (en) Management system, center side device, subscriber side device, and management device
WO2017016076A1 (en) Alarm message processing method and device
CN104022893A (en) Configuration managing method for SNMP redirection with multiple subagents
CN105263070B (en) A kind of application program method for pushing, system and the equipment of passive optical network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant