CN112367571A - Automatic detection and replacement method and device for invalid optical network unit - Google Patents

Automatic detection and replacement method and device for invalid optical network unit Download PDF

Info

Publication number
CN112367571A
CN112367571A CN202010980547.8A CN202010980547A CN112367571A CN 112367571 A CN112367571 A CN 112367571A CN 202010980547 A CN202010980547 A CN 202010980547A CN 112367571 A CN112367571 A CN 112367571A
Authority
CN
China
Prior art keywords
optical network
network unit
invalid
bound
unit
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.)
Withdrawn
Application number
CN202010980547.8A
Other languages
Chinese (zh)
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202010980547.8A priority Critical patent/CN112367571A/en
Publication of CN112367571A publication Critical patent/CN112367571A/en
Withdrawn legal-status Critical Current

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • 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
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Landscapes

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

Abstract

The invention discloses an automatic detection and replacement method and a device for an invalid optical network unit, wherein the method comprises the following steps: acquiring the number of the optical network units bound in the current system according to the fact that a new optical network unit is detected to be accessed; binding newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal; detecting whether invalid optical network units exist in the system according to the fact that the number of the bound optical network units is larger than or equal to the maximum number supported by the optical line terminal; and deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system. According to the method disclosed by the invention, when the number of the bound optical network units in the system reaches the maximum number supported by the optical line terminal, invalid optical network units existing in the system can be automatically detected and deleted, so that the newly accessed optical network units can be normally registered, and the operation of a user is greatly facilitated.

Description

Automatic detection and replacement method and device for invalid optical network unit
Technical Field
The present invention relates to the field of passive optical network technologies, and in particular, to an automatic detection and replacement method and apparatus for an invalid optical network unit.
Background
Compared with cable transmission, optical fiber transmission has the advantages of large capacity, small loss, strong electromagnetic interference resistance and the like, so that along with the gradual reduction of the cost of optical fiber transmission, the optical fiber of an access network is the inevitable development trend, and a passive optical network adopts passive devices, which is the most potential technology for realizing a broadband optical access network.
EPON (Ethernet Passive Optical Network ) is an Ethernet-based PON (Passive Optical Network) technology. The method adopts a point-to-multipoint structure and passive optical fiber transmission, provides various services on the Ethernet, is an important technology for realizing fiber to the home, combines the Ethernet and the PON technology, adopts the PON technology on a physical layer, uses an Ethernet protocol on a data link layer and utilizes a topological structure of the PON to realize the Ethernet access. The advantages of the PON technology and the Ethernet technology are integrated, and the Ethernet integrated optical network has the advantages of low cost, high bandwidth, strong expansibility, compatibility with the existing Ethernet, convenience in management and the like.
An OLT (Optical Line Terminal) port is arranged under the EPON, because of the limitation of chip resources and the like, an ONU (Optical Network unit) that can be accessed under one OLT port has an upper limit, and when the upper limit is reached, a newly accessed ONU cannot normally register. Or, by adopting the scheme of accessing the optical network unit without the upper limit, the situation that the normal operation of the equipment is influenced can occur due to more accessed optical network units and insufficient memory resources of the system.
Disclosure of Invention
The embodiment of the disclosure provides an automatic detection and replacement method and device for an invalid optical network unit. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present disclosure provides an automatic detection and replacement method for an invalid optical network unit, including:
acquiring the number of the optical network units bound in the current system according to the fact that a new optical network unit is detected to be accessed;
binding newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal;
detecting whether invalid optical network units exist in the system according to the fact that the number of the bound optical network units is larger than or equal to the maximum number supported by the optical line terminal;
and deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system.
In one embodiment, after binding the newly accessed optical network unit, the method further includes:
and recording the online time and the offline time of the newly bound optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface.
In one embodiment, detecting whether an invalid optical network unit exists in the system comprises:
determining the bound optical network unit with the longest offline time as an invalid optical network unit according to the offline optical network unit in the system;
traversing the switch state of the user side interface of each bound optical network unit according to the fact that an offline optical network unit does not exist in the system, and determining the optical network units with the switch states of the user side interfaces being all closed as invalid optical network units;
and according to the optical network units of which the switch states of the user side interfaces are not closed in the system, acquiring the uplink flow within a preset time period after each bound optical network unit is on line, and determining the bound optical network unit with the uplink flow of zero as an invalid optical network unit.
In one embodiment, further comprising:
and determining that no invalid optical network unit exists in the current system according to the bound optical network unit with zero uplink flow in the preset time period.
In one embodiment, after determining that there is no invalid optical network unit in the current system, the method further includes:
periodically detecting whether an invalid optical network unit exists in the system;
and deleting the invalid optical network unit and binding the silent optical network unit according to the invalid optical network unit in the system.
In a second aspect, an embodiment of the present disclosure provides an apparatus for automatically detecting and replacing an invalid optical network unit, including:
the acquisition module is used for acquiring the number of the bound optical network units in the current system according to the detection that a new optical network unit is accessed;
the first binding module is used for binding the newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal;
the detection module is used for detecting whether invalid optical network units exist in the system according to the fact that the number of the bound optical network units is larger than or equal to the maximum number supported by the optical line terminal;
and the second binding module is used for deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system.
In one embodiment, further comprising:
and the recording module is used for recording the online time and the offline time of the newly bound optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface.
In one embodiment, a detection module comprises:
the first detection unit is used for determining the bound optical network unit with the longest offline time as an invalid optical network unit according to the offline optical network unit in the system;
the second detection unit is used for traversing the switch state of the user side interface of each bound optical network unit according to the fact that no off-line optical network unit exists in the system, and determining the optical network unit with the switch states of the user side interfaces being closed as an invalid optical network unit;
and the third detection unit is used for acquiring the uplink flow within a preset time period after each bound optical network unit is on line according to the optical network units of which the switch states without the user side interfaces are all closed in the system, and determining the bound optical network unit with the uplink flow of zero as an invalid optical network unit.
In one embodiment, further comprising:
and the fourth detection unit is used for determining that no invalid optical network unit exists in the current system according to the bound optical network unit with zero uplink flow in the preset time period.
In one embodiment, further comprising:
the fifth detection unit is used for periodically detecting whether an invalid optical network unit exists in the system after determining that the invalid optical network unit does not exist in the current system;
and deleting the invalid optical network unit and binding the silent optical network unit according to the invalid optical network unit in the system.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the automatic detection and replacement method for the invalid optical network unit, when a newly accessed optical network unit is detected, whether the invalid optical network unit needs to be detected or not is judged according to the number of the bound optical network units in the system, and when the number of the bound optical network units in the system reaches the maximum number supported by the optical line terminal, the invalid optical network unit existing in the system can be automatically detected and deleted, so that the newly accessed optical network unit can be normally registered, and great convenience is brought to the operation of a user. And invalid optical network units existing in the system are deleted in time, so that the problem that the normal operation of equipment is influenced due to insufficient system resources caused by more accessed optical network units is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method for automatic detection and replacement of an inactive optical network unit in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method for automatic detection and replacement of an inactive optical network unit in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method of detecting an invalid optical network unit in accordance with an example embodiment;
FIG. 4 is a schematic diagram illustrating an automatic detection and replacement apparatus for invalid optical network units according to an exemplary embodiment;
fig. 5 is a schematic structural diagram illustrating a detection module according to an exemplary embodiment.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
When the optical line terminal is connected with too many optical network units, the memory resource and the CPU resource of the whole system are insufficient, which affects the normal operation of the equipment, and more redundant information appears, which brings inconvenience to the maintenance of the system. If the invalid optical network unit is searched and deleted through manual operation, the method is extremely difficult to realize in an actual operation environment. The embodiment of the disclosure provides a method for automatically detecting and replacing invalid optical network units, which can automatically detect and delete the invalid optical network units existing in a system when the number of the optical network units bound in the system reaches the maximum number supported by an optical line terminal, so that a newly accessed optical network unit can be normally registered, and great convenience is brought to the operation of a user.
In a first aspect, an embodiment of the present disclosure provides an automatic detecting and replacing method for an invalid optical network unit, and the following will describe in detail the automatic detecting and replacing method for an invalid optical network unit provided in the embodiment of the present disclosure with reference to fig. 1 to fig. 3.
Referring to fig. 1, the method specifically includes the following steps.
S101, acquiring the number of the optical network units bound in the current system according to the fact that a new optical network unit is detected to be accessed.
The optical network unit is a customer premise equipment in the EPON system, is used for connecting a user PC, a set-top box, a switch, and the like, is usually placed at the home, at a corridor or on both sides of a road of a user, and is responsible for responding to a management command sent by an optical line terminal and forwarding user data to the optical line terminal.
The optical line terminal is a core device in an EPON system, and is generally placed in a central machine room, and is used for uniformly managing optical network units and aggregating and transmitting access services to an IP network.
One optical line terminal is provided with a plurality of optical network unit interfaces, but due to the limitation of chip resources and the like, the number of the optical network unit interfaces has an upper limit, and when the access upper limit is reached, a newly accessed optical network unit cannot be normally registered. However, in the case of automatic binding, an unlimited access situation often occurs.
Therefore, when detecting that a newly accessed optical network unit exists in the system, the number of the optical network units bound in the current system is firstly obtained, and whether the currently accessed optical network unit reaches the maximum specification or not is judged according to the number.
And S102, binding the newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal.
Specifically, when the number of the bound onu is less than the maximum number supported by the olt, a new onu interface is automatically generated and the automatic binding is issued, and the newly accessed onu is successfully brought on line.
Further, after the newly accessed optical network unit comes online, the method further includes: and recording the on-line time, the off-line time, the uplink flow in a preset time period and the on-off state of the user side interface of the optical network unit.
A person skilled in the art may set the preset time period by himself, and the embodiment of the present disclosure is not limited specifically, for example, the uplink traffic within 24 hours of the on-line of the optical network unit is recorded, and whether the optical network unit is invalid is determined according to the recorded traffic data.
According to this step, when the accessed optical network unit does not reach the maximum specification, the newly accessed optical network unit can be automatically bound.
And S103, detecting whether invalid optical network units exist in the system according to the fact that the number of the bound optical network units is larger than or equal to the maximum number supported by the optical line terminal.
The invalid optical network unit refers to an idle optical network unit such as an offline optical network unit, a failed optical network unit, and an optical network unit without user access.
Because the optical module at the optical line terminal side needs to be frequently plugged and unplugged at the access end of the optical network unit equipment and the optical network unit is also frequently accessed in the environment, the optical network unit interface under one optical line terminal interface can exceed the upper limit after being plugged and unplugged for many times, wherein a plurality of off-line optical network units or optical network units without user access are not lacked. The invalid optical network units occupy the access ports, when the number of the bound optical network units is greater than or equal to the maximum number supported by the optical line terminal, the newly accessed optical network units cannot be normally registered, and when the number of the invalid optical network units in the system is large, the memory resources and the CPU resources of the whole system are insufficient, the normal operation of equipment is influenced, more redundant information also appears, and the inconvenience is brought to the maintenance of the system.
Specifically, when the number of the bound onu is greater than or equal to the maximum number supported by the olt, whether an invalid onu exists in the system may be automatically detected according to the offline time of the onu, the uplink traffic within a preset time period, and the on-off state of the customer-side interface.
Specifically, it is first determined whether an offline onu exists in the system, and when an offline onu exists in the system, the onu with the longest offline time is marked as an invalid onu according to the recorded offline time.
When the off-line optical network unit does not exist in the system, whether the optical network unit is an invalid optical network unit is judged according to the switch state of the user side interface of the optical network unit, the switch state of the user side interface of the optical network unit is traversed, and the optical network unit with the switch state of the user side interface being closed is marked as the invalid optical network unit.
When the optical network unit with the user side interface in the closed switch state does not exist in the system, whether an invalid optical network unit exists is judged according to the recorded uplink flow in the preset time period, and the uplink flow in the preset time period after the optical network unit is on line is firstly obtained, wherein the preset time period is not specifically limited in the embodiment of the disclosure, and can be set by a person skilled in the art by himself, for example, the uplink flow in 24 hours after the optical network unit is on line is counted, and the optical network unit with the uplink flow of zero is marked as the invalid optical network unit.
And when the optical network unit with the uplink flow of zero in the preset time period does not exist, determining that no invalid optical network unit is detected in the current system.
Fig. 3 is a flowchart illustrating a method for detecting an invalid optical network unit according to an exemplary embodiment, which includes automatically replacing a loose mode and a strict mode, as shown in fig. 3:
when the optical network unit reaches the maximum specification, firstly executing a loose mode, judging whether an off-line optical network unit exists, if so, marking the optical network unit with the longest off-line time as an invalid optical network unit.
And when the off-line optical network unit does not exist, traversing the switch states of the user side interfaces of the optical network unit, judging whether the optical network units with the user side interfaces in the closed switch states are all closed, and if so, marking the optical network units with the user side interfaces in the closed switch states as invalid optical network units.
When the optical network unit with the user side interface in the closed switch state does not exist, judging whether to execute a strict mode, if so, judging whether the uplink flow of the optical network unit within 24 hours on line is zero, if so, marking the optical network unit as an invalid optical network unit, and if not, determining that the invalid optical network unit is not detected. Wherein the preset time length can be set by a person skilled in the art.
If the strict mode is not executed, it is determined that no invalid optical network unit is detected.
According to the step, whether invalid optical network units exist in the system can be automatically detected, and the operation of users is greatly facilitated.
And S104, deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system.
Specifically, the invalid onu is deleted to obtain an idle onu interface, and the automatic binding is issued, and the newly accessed onu is successfully brought on line.
Further, when it is determined that no invalid onu is detected in the current system, the newly accessed onu cannot register, and only the newly accessed onu is set as the silent onu, and the occurrence of the invalid onu is waited.
In a possible implementation manner, the system periodically detects whether an invalid onu exists, for example, the system detects whether an invalid onu exists every three minutes, and when an invalid onu exists in the system, the invalid onu is deleted and the quiet onu is automatically bound, so that the newly added onu is successfully brought online.
In order to facilitate understanding of the automatic detection and replacement method of the invalid optical network unit provided in the embodiment of the present application, the following description is made with reference to fig. 2. As shown in fig. 2, the method includes:
and when the optical network unit is detected to be accessed, judging whether the optical network unit is successfully bound, and if the optical network unit is successfully bound, successfully connecting the optical network unit. And if not, judging whether the number of the bound optical network units in the current system reaches the maximum number supported by the optical line terminal.
And when the number of the bound optical network units does not reach the maximum number supported by the optical line terminal, sending the optical network unit interface, sending the automatic binding, and successfully getting the newly accessed optical network unit on line.
When the number of the bound optical network units reaches the maximum number supported by the optical line terminal, an invalid optical network unit is searched, and whether the invalid optical network unit exists in the system can be detected according to the off-line time of the optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface. If the invalid optical network unit existing in the system is detected, deleting the invalid optical network unit to obtain an idle optical network unit interface, and issuing automatic binding, wherein the newly accessed optical network unit is successfully on line.
If the invalid optical network unit is not detected, setting the newly accessed optical network unit as a silent optical network unit, waiting for the occurrence of the invalid optical network unit, deleting the occurred invalid optical network unit and automatically binding the newly accessed optical network unit.
Based on the automatic detection and replacement method of the invalid optical network unit provided by the embodiment of the disclosure, the invalid optical network unit existing in the system can be automatically detected and deleted, so that the newly accessed optical network unit can be normally registered, and great convenience is brought to the operation of a user. And invalid optical network units existing in the system are deleted in time, so that the problem that the normal operation of equipment is influenced due to insufficient system resources caused by more accessed optical network units is solved.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for automatically detecting and replacing an invalid optical network unit, where the apparatus is configured to perform the method for automatically detecting and replacing an invalid optical network unit according to the foregoing embodiment, and as shown in fig. 4, the apparatus includes:
an obtaining module 401, configured to obtain, according to detection that a new optical network unit is accessed, the number of optical network units bound in a current system;
a first binding module 402, configured to bind a newly accessed onu according to that the number of the bound onu is less than the maximum number supported by the olt;
a detecting module 403, configured to detect whether there is an invalid onu in the system according to whether the number of the bound onu is greater than or equal to the maximum number supported by the olt;
a second binding module 404, configured to delete an invalid onu and bind a newly accessed onu according to the existence of the invalid onu in the system.
In one embodiment, further comprising:
and the recording module is used for recording the online time and the offline time of the newly bound optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface.
Fig. 5 is a schematic diagram of a detection module provided according to an exemplary embodiment, and as shown in fig. 5, the detection module includes:
a first detecting unit 4030, configured to determine, according to an offline optical network unit in the system, a bound optical network unit with the longest offline time as an invalid optical network unit;
a second detecting unit 4031, configured to traverse the switch state of the user-side interface of each bound onu according to that there is no offline onu in the system, and determine the onu with the switch states of the user-side interfaces all being turned off as an invalid onu;
a third detecting unit 4032, configured to obtain, according to the optical network units whose switch states where the user-side interfaces do not exist in the system are all closed, uplink traffic within a preset time period after each bound optical network unit is on line, and determine the bound optical network unit whose uplink traffic is zero as an invalid optical network unit.
In one embodiment, further comprising:
a fourth detecting unit 4033, configured to determine that there is no invalid onu in the current system according to the bound onu with zero uplink traffic within the preset time period.
In one embodiment, further comprising:
a fifth detecting unit 4034, configured to periodically detect whether there is an invalid onu in the system after determining that there is no invalid onu in the current system;
and deleting the invalid optical network unit and binding the silent optical network unit according to the invalid optical network unit in the system.
It should be noted that, when the automatic detecting and replacing apparatus for an invalid optical network unit provided in the foregoing embodiment executes the automatic detecting and replacing method for an invalid optical network unit, the above-mentioned division of each functional module is merely used as an example, and in practical applications, the above-mentioned function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above-mentioned functions. In addition, the automatic detection and replacement device for an invalid optical network unit and the automatic detection and replacement method for an invalid optical network unit provided in the above embodiments belong to the same concept, and details of implementation processes thereof are referred to as method embodiments, and are not described herein again.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for automatic detection and replacement of an inactive optical network unit, comprising:
acquiring the number of the optical network units bound in the current system according to the fact that a new optical network unit is detected to be accessed;
binding newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal;
detecting whether invalid optical network units exist in the system according to the fact that the number of the bound optical network units is larger than or equal to the maximum number supported by the optical line terminal;
and deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system.
2. The method of claim 1, wherein after binding the newly accessed onu, the method further comprises:
and recording the online time and the offline time of the newly bound optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface.
3. The method of claim 1, wherein detecting whether there is an invalid onu in the system comprises:
determining the bound optical network unit with the longest offline time as an invalid optical network unit according to the offline optical network unit in the system;
traversing the switch state of the user side interface of each bound optical network unit according to the fact that an offline optical network unit does not exist in the system, and determining the optical network units with the switch states of the user side interfaces being all closed as invalid optical network units;
and according to the optical network units of which the switch states of the user side interfaces are not closed in the system, acquiring the uplink flow within a preset time period after each bound optical network unit is on line, and determining the bound optical network unit with the uplink flow of zero as an invalid optical network unit.
4. The method of claim 3, further comprising:
and determining that no invalid optical network unit exists in the current system according to the bound optical network unit with zero uplink flow in the preset time period.
5. The method of claim 4, after determining that there is no inactive ONU in the current system, further comprising:
periodically detecting whether an invalid optical network unit exists in the system;
and deleting the invalid optical network unit and binding the silent optical network unit according to the invalid optical network unit in the system.
6. An apparatus for automatic detection and replacement of an inactive optical network unit, comprising:
the acquisition module is used for acquiring the number of the bound optical network units in the current system according to the detection that a new optical network unit is accessed;
the first binding module is used for binding the newly accessed optical network units according to the condition that the number of the bound optical network units is less than the maximum number supported by the optical line terminal;
a detection module, configured to detect whether an invalid optical network unit exists in the system according to whether the number of the bound optical network units is greater than or equal to the maximum number supported by the optical line terminal;
and the second binding module is used for deleting the invalid optical network unit and binding the newly accessed optical network unit according to the invalid optical network unit in the system.
7. The apparatus of claim 6, further comprising:
and the recording module is used for recording the online time and the offline time of the newly bound optical network unit, the uplink flow in a preset time period and the on-off state of the user side interface.
8. The apparatus of claim 6, wherein the detection module comprises:
the first detection unit is used for determining the bound optical network unit with the longest offline time as an invalid optical network unit according to the offline optical network unit in the system;
the second detection unit is used for traversing the switch state of the user side interface of each bound optical network unit according to the fact that no off-line optical network unit exists in the system, and determining the optical network unit with the switch states of the user side interfaces being closed as an invalid optical network unit;
and the third detection unit is used for acquiring the uplink flow within a preset time period after each bound optical network unit is on line according to the optical network units of which the switch states without the user side interfaces are all closed in the system, and determining the bound optical network unit with the uplink flow of zero as an invalid optical network unit.
9. The apparatus of claim 8, further comprising:
and the fourth detection unit is used for determining that no invalid optical network unit exists in the current system according to the bound optical network unit with zero uplink flow in the preset time period.
10. The apparatus of claim 9, further comprising:
the fifth detection unit is used for periodically detecting whether an invalid optical network unit exists in the system after determining that the invalid optical network unit does not exist in the current system;
and deleting the invalid optical network unit and binding the silent optical network unit according to the invalid optical network unit in the system.
CN202010980547.8A 2020-09-17 2020-09-17 Automatic detection and replacement method and device for invalid optical network unit Withdrawn CN112367571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010980547.8A CN112367571A (en) 2020-09-17 2020-09-17 Automatic detection and replacement method and device for invalid optical network unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010980547.8A CN112367571A (en) 2020-09-17 2020-09-17 Automatic detection and replacement method and device for invalid optical network unit

Publications (1)

Publication Number Publication Date
CN112367571A true CN112367571A (en) 2021-02-12

Family

ID=74516841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010980547.8A Withdrawn CN112367571A (en) 2020-09-17 2020-09-17 Automatic detection and replacement method and device for invalid optical network unit

Country Status (1)

Country Link
CN (1) CN112367571A (en)

Similar Documents

Publication Publication Date Title
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
JP5409609B2 (en) GPON OAM using IEEE802.1ag method
CN101534460B (en) Method for identifying remote ONU down-linked terminal equipment in PON system automatically
CN102648463B (en) The method and system of network resource identifier
CN101345581B (en) Fault location method and system for passive optical network
CN109698758A (en) A kind of network resource information check method and system
JP5683243B2 (en) PON parent device
CN105391588A (en) Network fault diagnosis method and device
WO2022001234A1 (en) Method for monitoring optical network operation information, and related device
CN102387524B (en) Indoor distributed monitoring system for WLAN (Wireless Local Area Network)
US6507565B1 (en) Method and system for managing remote resources in a telecommunications system
CN106059787A (en) State obtaining method and device of miniature machine servers
CN103716377B (en) A kind of method and smart card for realizing UPS remote monitorings
CN112367571A (en) Automatic detection and replacement method and device for invalid optical network unit
CN103490964B (en) A kind of method and device for realizing that flexible configuration terminal accesses quantity
CN114356810B (en) Communication connection method, device, equipment and medium for host and storage system
US11719890B2 (en) Passive optical couplers having passive optical activity indicators and methods of operating the same
CN113965835B (en) PON user authentication fault diagnosis system and method
US11611394B1 (en) Systems and methods for mapping optical connections in a fiber distribution hub of a passive optical network
CN101778406A (en) Method for obtaining system logs and monitored equipment
JP2011259063A (en) Management system, center side device, subscriber side device, and management device
CN113114667B (en) Terminal communication configuration system, method, device and medium
WO2018166709A1 (en) Method for an improved and simplified operation of a central office point of delivery
CN101212347A (en) Method and device for obtaining operation log of network element management system
KR100608898B1 (en) Method to provide trouble metrics for pubnet service

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210212

WW01 Invention patent application withdrawn after publication