ONU long hair light warning diagnostic method and the device of OLT side in the EPON system
Technical field
The present invention relates to the EPON field, particularly relate to ONU long hair light warning diagnostic method and the device of OLT side in a kind of EPON system.
Background technology
EPON(Ethernet Passive Optical Network, Ethernet passive optical network) the single fiber bi-directional Optical Access Network of structure be a kind of employing P2MP(Point 2 Multiple Point, point-to-multipoint main website), its canonical topology structure is the tree type.
Referring to shown in Figure 1, the EPON system is by the OLT(Optical Line Tterminal of office's side, optical line terminal), the ONU(Optical Network Unit of user's side, optical network unit) and ODN(Optical Distribution Network, optical distribution network) forms the single fiber bi-directional system.At the down direction from OLT to ONU, the signal that OLT sends arrives each ONU by ODN; At the up direction from ONU to OLT, the signal that ONU sends only can arrive OLT, and can not arrive other ONU.For fear of data collision, and improve network utilisation efficient, up direction adopts TDMA(Time Division Multiple Access, time division multiple access) access way, and the data of each ONU are sent arbitrate.ODN is comprised of Passive Optical Components such as optical fiber and one or more passive splitter, provides optical channel between OLT and ONU.
Point-to-multipoint system for EPON, safety issue is the emphasis that system equipment is considered always, in numerous safety issues, abnormal luminous ONU(is commonly called as rogue ONU) diagnosis and processing be an important technology, the EPON system equipment can adopt several different methods, detect abnormal luminous ONU, and it is shifted out network.
It is the long hair optical issue that the abnormal luminous fault of ONU in the EPON system has one of multiple, common fault, and the long hair light reason of ONU has following several:
(1) illegal light source access: the illegal light source with some long hair light of mistake has accessed branch optical fiber, network is attacked, cause the optical module long hair light of ONU, the long luminance ONU that this illegal access is caused is defined as the abnormal luminous ONU of not controlled type, for the abnormal luminous ONU of not controlled type, OLT can't carry out light source by remote control command and turn-off processing.
(2) software of ONU equipment crashes or is unusual, causes the optical module long hair light of ONU, and this moment, the software of ONU was unusual, can not accept any instruction of OLT, and this long luminance ONU is defined as the abnormal luminous ONU of not controlled type.
(3) optical module of ONU equipment is unusual, no longer accepts EPON chip MAC(Medium/MediaAccess Control, medium access control) layer LASER_ON(optical module luminous shutoff) control of signal, be in the long state that opens the light; Perhaps the optical module light leak is also luminous at the luminous off state of optical module, but this ONU still is in controllable state, can receive the teleinstruction of OLT, and this long luminance ONU is defined as the abnormal luminous ONU of controlled type.
(4) ONU equipment MAC layer chip sends control unusually, cause optical module to be in the long hair light state, but this ONU still is in controllable state, can receive the teleinstruction of OLT, and this long luminance ONU is defined as the abnormal luminous ONU of controlled type.
The multiple abnormal conditions of above-mentioned abnormal luminous ONU, might appear at simultaneously the OLT port of an EPON system, the diagnostic process of traditional abnormal luminous ONU mainly is: OLT is by the RSSI(Received Signal Strength Indication of optical device, received signal strength indicator) interface is judged the received optical power parameter, if greater than 28dBm, then there is the abnormal luminous ONU of long hair light at unauthorized window in received optical power in the decision network.
The inventor finds in research process, and there is following defective in its diagnosis processing method of above-mentioned traditional abnormal luminous ONU:
(1) existing abnormal luminous its diagnosis processing method can only be identified abnormal luminous suspicion ONU, whether controlledly can not identify the present state of suspicion ONU, can not accurately report to the operation management maintain software interface fault controllable state of suspicion ONU, plant maintenance is inconvenient.
(2) existing abnormal luminous its diagnosis processing method only carries out problem diagnosis by the lighting function of closing optical module, can cause some abnormal luminous ONU to can not get effective processing.
Summary of the invention
The objective of the invention is in order to overcome the deficiency of above-mentioned background technology, ONU long hair light warning diagnostic method and the device of OLT side in a kind of EPON system are provided, can carry out fast the long hair light alarm of abnormal luminous ONU in the EPON system, reliable failure diagnosis, the abnormal luminous ONU of controllable type is wherein carried out long-range shutoff to be processed, suspicion ONU is closed the lighting function of optical module or closes the fault that the optical module power supply is processed suspicion ONU, reduce abnormal luminous ONU on Network impact; To the abnormal luminous ONU output of uncontrollable type localization message, be conducive to the engineering maintenance personnel ODN network is safeguarded.
The ONU long hair light warning diagnostic method of OLT side in the EPON provided by the invention system may further comprise the steps:
When A, OLT receive the alarm of long hair light, close ONU and automatically find window, the ONU under the ODN can't be registered again; Close ONU and automatically find after the window, if OLT judges that ONU is online in addition in this ODN network, OLT records the LLID call number of all online ONU, and this moment, all online ONU were suspicion ONU; OLT broadcasts to all ONU under this ODN, sends the luminous shutoff instruction of optical module, and the optical module of closing illegal ONU is luminous;
If judging still to exist, B OLT also have ONU online in the alarm of long hair light and this ODN network, the suspicion ONU that records among the OLT delete step A, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, OLT broadcasts to all the online ONU under this ODN, send the instruction of optical module power remove, close the optical module power supply of illegal ONU;
If still there is the alarm of long hair light in the further judgement of C OLT and still have ONU online, OLT judges that still online ONU is the abnormal luminous ONU of uncontrollable type, the suspicion ONU that upgrades among the OLT delete step B, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, enter the abnormal luminous ONU fault diagnostic program of uncontrollable type.
In technique scheme, further comprising the steps of in the steps A: as to close ONU and automatically find after the window, if judging in this ODN network, OLT do not have ONU online, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, enters the abnormal luminous ONU fault diagnostic program of uncontrollable type.
In technique scheme, further comprising the steps of among the step B: as still to have long hair light alarm and online without ONU if OLT judges, prove that this long hair light belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, enters the abnormal luminous ONU fault diagnostic program of uncontrollable type.
In technique scheme, further comprising the steps of among the step B: as to also have ONU online in the alarm of long hair light and this ODN network if OLT judges not exist, illustrate that online ONU is normal ONU, but can't the luminous shutoff instruction of response light module, OLT is recorded as scarce capacity type ONU with this type of ONU, remove this moment of online ONU in the suspicion ONU database that from steps A, records simultaneously, finish renewal suspicion ONU LLID call number database; ONU is controlled in the OLT diagnosis, enters the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module of OLT.
In technique scheme, it is further comprising the steps of among the step B: if the OLT judgement does not exist in the alarm of long hair light and this ODN network online without ONU, among the luminous ONU of the specification exception suspicion ONU that just OLT records in steps A, and this abnormal luminous ONU belongs to the abnormal luminous ONU of the luminous controllable type of optical module, ONU is controlled in the OLT diagnosis, enters the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module of OLT.
In technique scheme, the abnormal luminous ONU diagnosis unit of the luminous controllable type of described optical module is carried out following steps: judge whether suspicion ONU has recorded the luminous controlled ability explanation of optical module in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then the type of unified LLID call number to operation management maintain software interface report suspicion ONU, suspicion ONU is that the processing mode of the abnormal luminous ONU of the luminous controllable type of optical module, suspicion ONU is the lighting function of closing optical module, then withdraws from diagnostic procedure.
In technique scheme, it is further comprising the steps of among the step C: if still there is long hair light alarm and online without ONU in the further judgement of OLT, prove that this long hair light still belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, enters the abnormal luminous ONU fault diagnostic program of uncontrollable type.
In technique scheme, further comprising the steps of among the step C: as not also have ONU online in the alarm of long hair light and this ODN network if the further judgement of OLT does not exist, illustrate that online ONU is normal ONU, but can't turn-off instruction by the response light modular power source, remove this moment of the LLID call number of online ONU in the suspicion ONU LLID call number database that OLT upgrades from step B, finish renewal suspicion ONU LLID call number data, ONU is controlled for OLT diagnosis suspicion, enters the abnormal luminous ONU diagnosis unit of optical module power remove controllable type of OLT.
In technique scheme, further comprising the steps of among the step C: online without ONU if the further judgement of OLT does not exist in the alarm of long hair light and this ODN network, among the luminous ONU of the specification exception suspicion ONU that just OLT records in steps A, and this abnormal luminous ONU belongs to the abnormal luminous ONU of optical module power remove controllable type, ONU is controlled in the OLT diagnosis, enters the abnormal luminous ONU diagnosis unit of optical module power remove controllable type of OLT.
In technique scheme, the abnormal luminous ONU diagnosis unit of described optical module power remove controllable type is carried out following steps: judge whether suspicion ONU has recorded the controlled ability explanation of optical module power remove in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then then unified type of reporting LLID call number, the suspicion ONU of suspicion ONU to the operation management maintain software interface processing mode that is the abnormal luminous ONU of optical module power remove controllable type, suspicion ONU withdraws from diagnostic procedure for closing the optical module power supply.
In technique scheme, the abnormal luminous ONU handling process of described uncontrollable type is: the type of the unified LLID call number to operation management maintain software interface report suspicion ONU of OLT, suspicion ONU is that the processing mode of the abnormal luminous ONU of uncontrollable type, suspicion ONU is the manual intervention troubleshooting, then withdraws from diagnostic procedure.
The present invention also provides the ONU long hair light warning diagnostic device of OLT side in a kind of EPON system, this long hair light warning diagnostic device is arranged in OLT, comprise receiving element, ONU finds the window closing unit automatically, the one ONU presence judging unit, record cell, luminous closing unit, the first long hair light alarm judging unit, the 2nd ONU presence judging unit, first upgrades diagnosis unit, the power-off unit, the second long hair light alarm judging unit, the 3rd ONU presence judging unit, second upgrades diagnosis unit, the abnormal luminous ONU failure diagnosis unit of uncontrollable type, wherein:
Described receiving element is used for: receive the alarm of long hair light, produce ONU and find that automatically window closes triggering signal, send to ONU and automatically find the window closing unit;
Described ONU finds the window closing unit automatically, is used for: after receiving that ONU finds that automatically window is closed triggering signal, close ONU and automatically find window, the ONU under the ODN can't be registered again; Produce an ONU presence and judge triggering signal, send to an ONU presence judging unit;
A described ONU presence judging unit is used for: whether after receiving that an ONU presence is judged triggering signal, judging in this ODN network has ONU online, if judge that ONU is online in addition in this ODN network, produces the record triggering signal, sends to record cell;
Described record cell is used for: when receiving the record triggering signal, and the LLID call number of record all online ONU this moment, this moment, all online ONU were suspicion ONU; Then produce the luminous triggering signal of closing, LLID call number and the luminous triggering signal of closing of all online ONU sent to luminous closing unit;
Described luminous closing unit, be used for: receive all online ONU the LLID call number and luminous close triggering signal after, all ONU under this ODN broadcast, send the luminous shutoff instruction of optical module, the optical module of closing illegal ONU is luminous, then produce the first long hair light alarm and judge triggering signal, send to the first long hair light alarm judging unit;
Described the first long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the first long hair light alarm, judge whether still to exist the alarm of long hair light, still there is the alarm of long hair light if judge, produce the 2nd ONU presence and judge triggering signal, send to the 2nd ONU presence judging unit;
Described the 2nd ONU presence judging unit, be used for: after receiving that the 2nd ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge that ONU is online in addition in this ODN network, produce first and upgrade the diagnosis triggering signal, send to first and upgrade diagnosis unit;
Described first upgrades diagnosis unit, be used for: after receiving the first renewal diagnosis triggering signal, the suspicion ONU of deletion record unit record, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, produce the power-off triggering signal, send to the power-off unit;
Described power-off unit, be used for: after receiving the power-off triggering signal, all online ONU under this ODN broadcast, send the instruction of optical module power remove, close the optical module power supply of illegal ONU, then produce the second long hair light alarm and judge triggering signal, send to the second long hair light alarm judging unit;
Described the second long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the second long hair light alarm, further judge whether still to exist the alarm of long hair light, still there is the alarm of long hair light if judge, then produce the 3rd ONU presence and judge triggering signal, send to the 3rd ONU presence judging unit;
Described the 3rd ONU presence judging unit, be used for: after receiving that the 3rd ONU presence is judged triggering signal, judge whether that ONU is still arranged online, if still there is ONU online, judge that then still online ONU is the abnormal luminous ONU of uncontrollable type, produce second and upgrade the diagnosis triggering signal, send to second and upgrade diagnosis unit;
Described second upgrades diagnosis unit, be used for: after receiving the second renewal diagnosis triggering signal, the suspicion ONU that diagnosis unit upgrades is upgraded in deletion first, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type;
The abnormal luminous ONU failure diagnosis unit of described uncontrollable type, be used for: after receiving the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, the type of unified LLID call number to operation management maintain software interface report suspicion ONU, suspicion ONU is that the processing mode of the abnormal luminous ONU of uncontrollable type, suspicion ONU is the manual intervention troubleshooting, then withdraws from diagnostic procedure.
In technique scheme, a described ONU presence judging unit, also be used for: after receiving that an ONU presence is judged triggering signal, whether judge in this ODN network has ONU online, if judging in this ODN network does not have ONU online, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
In technique scheme, described the 2nd ONU presence judging unit, also be used for: after receiving that the 2nd ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge in this ODN network online without ONU, prove that this long hair light belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
In technique scheme, comprise that also the 4th ONU presence judging unit, the 3rd upgrades diagnosis unit, the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module, wherein:
Described the first long hair light alarm judging unit, also be used for: after receiving that triggering signal is judged in the first long hair light alarm, judge whether still to exist the alarm of long hair light, there is not the alarm of long hair light if judge, produce the 4th ONU presence and judge triggering signal, send to the 4th ONU presence judging unit;
Described the 4th ONU presence judging unit, be used for: after receiving that the 4th ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge that ONU is online in addition in this ODN network, illustrate that online ONU is normal ONU, but can't the luminous shutoff instruction of response light module, this type of ONU is recorded as scarce capacity type ONU, produce the 3rd and upgrade the diagnosis triggering signal, send to the 3rd and upgrade diagnosis unit;
The described the 3rd upgrades diagnosis unit, be used for: after receiving the 3rd renewal diagnosis triggering signal, from the suspicion ONU database of recording unit records, remove this moment of online ONU, finish renewal suspicion ONU LLID call number database, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, send to the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module;
The abnormal luminous ONU diagnosis unit of the luminous controllable type of described optical module, be used for: after receiving the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, judge whether suspicion ONU has recorded the luminous controlled ability explanation of optical module in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; The type of unified LLID call number to operation management maintain software interface report suspicion ONU, suspicion ONU is that the processing mode of the abnormal luminous ONU of the luminous controllable type of optical module, suspicion ONU is the lighting function of closing optical module, then withdraws from diagnostic procedure.
In technique scheme, described the 4th ONU presence judging unit, also be used for: after receiving that the 4th ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge in this ODN network online without ONU, the luminous ONU of specification exception is just in the suspicion ONU of described recording unit records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of the luminous controllable type of optical module, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, send to the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module.
In technique scheme, described the 3rd ONU presence judging unit, also be used for: after receiving that the 3rd ONU presence is judged triggering signal, judge that whether ONU is still arranged in this ODN network is online, if judge online without ONU, prove that this long hair light still belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
In technique scheme, comprise that also the 5th ONU presence judging unit, the 4th upgrades diagnosis unit, the abnormal luminous ONU diagnosis unit of optical module power remove controllable type, wherein:
Described the second long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the second long hair light alarm, further judge whether still to exist the alarm of long hair light, there is not the alarm of long hair light if judge, then produce the 5th ONU presence and judge triggering signal, send to the 5th ONU presence judging unit;
Described the 5th ONU presence judging unit, be used for: after receiving that the 5th ONU presence is judged triggering signal, judge that whether ONU is still arranged in this ODN network is online, if still there is ONU online, illustrate that online ONU is normal ONU, but can't turn-off instruction by the response light modular power source, produce the 4th and upgrade the diagnosis triggering signal, send to the 4th and upgrade diagnosis unit;
The described the 4th upgrades diagnosis unit, be used for: after receiving the 4th renewal diagnosis triggering signal, from the suspicion ONU LLID call number database that the first renewal diagnosis unit upgrades, remove at this moment the LLID call number of online ONU, finish renewal suspicion ONU LLID call number database, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, send to the abnormal luminous ONU diagnosis unit of optical module power remove controllable type;
The abnormal luminous ONU diagnosis unit of described optical module power remove controllable type, be used for: after receiving the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, judge whether suspicion ONU has recorded the controlled ability explanation of optical module power remove in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then unified type of reporting LLID call number, the suspicion ONU of suspicion ONU to the operation management maintain software interface processing mode that is the abnormal luminous ONU of optical module power remove controllable type, suspicion ONU withdraws from diagnostic procedure for closing the optical module power supply again.
In technique scheme, described the 5th ONU presence judging unit, also be used for: after receiving that the 5th ONU presence is judged triggering signal, judge that whether ONU is still arranged in this ODN network is online, if judge in this ODN network online without ONU, the luminous ONU of specification exception is just in the suspicion ONU of described recording unit records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of optical module power remove controllable type, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, send to the abnormal luminous ONU diagnosis unit of optical module power remove controllable type.
Compared with prior art, advantage of the present invention is as follows:
The present invention carries out failure diagnosis by the illegal ONU that occurs under to an optical distribution network in the OLT side, can carry out fast the long hair light alarm of abnormal luminous ONU in the EPON system, reliable failure diagnosis, and the abnormal luminous ONU of controllable type is wherein carried out long-range shutoff process, suspicion ONU is closed the lighting function of optical module or closes the fault that the optical module power supply is processed suspicion ONU, reduce abnormal luminous ONU on Network impact; To the abnormal luminous ONU output of uncontrollable type localization message, be conducive to maintenance, investigation fault that the engineering maintenance personnel carry out the ODN network.
Description of drawings
Fig. 1 is the structured flowchart of EPON system.
Fig. 2 is the diagnostic flow chart of embodiment of the invention medium-length hair light alarm.
Embodiment
The present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Referring to shown in Figure 2, the embodiment of the invention provides the ONU long hair light warning diagnostic method of OLT side in a kind of EPON system, may further comprise the steps:
When step S1, OLT received the alarm of long hair light, OLT at first closed ONU and automatically finds window, and the ONU under the ODN can't be registered again;
Step S2, OLT judge whether ONU is online in addition in this ODN network, if there is not ONU online, illustrate that this long hair light fault belongs to the network attack of the abnormal luminous ONU of uncontrollable type, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, forwards step S16 to; If also have ONU online, forward step S3 to;
If step S3 OLT judges that ONU is online in addition in this ODN network, record the LLID(Logical Link Identifier of all online ONU, the logical connection sign) call number, this moment, all online ONU were suspicion ONU(suspicion_ONU); OLT broadcasts to all ONU under this ODN, sends the luminous shutoff instruction of optical module, and the optical module of closing illegal ONU is luminous, then forwards step S4 to;
Step S4, OLT judge whether still to exist the alarm of long hair light, if still there is the alarm of long hair light, forward step S8 to; If do not have the alarm of long hair light, forward step S5 to;
Also have ONU online in the alarm of long hair light and this ODN network if step S5 OLT judges not exist this moment, forward step S6 to; If it is online without ONU that OLT judges that do not exist in the alarm of long hair light and this ODN network this moment, the luminous ONU of specification exception is just in the suspicion ONU that step S3 records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of the luminous controllable type of optical module, forwards step S7 to;
If there is not the alarm of long hair light at this moment in step S6, also have part ONU online, illustrate that online ONU is normal ONU, but can't the luminous shutoff instruction of response light module, OLT is recorded as scarce capacity type ONU with this type of ONU, from the suspicion ONU database of step S3 record, remove simultaneously this moment of online ONU, finish renewal suspicion ONU LLID call number database, then forward step S7 to;
ONU is controlled in step S7, OLT diagnosis, enter the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module of OLT, carry out following steps: judge that whether suspicion ONU has recorded the luminous controlled ability explanation of optical module in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then unification is reported following content to the operation management maintain software interface:
The LLID call number of suspicion ONU;
The type of suspicion ONU is: the abnormal luminous ONU of the luminous controllable type of optical module;
The processing mode of suspicion ONU is: the lighting function of closing optical module;
Then forward step S17 to;
Step S8, OLT judge whether ONU is online in addition in this ODN network, if there is ONU online, forwards step S9 to; If the alarm of long hair light is still arranged this moment, but online without ONU, prove that this long hair light still belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, then forwards step S16 to;
The suspicion ONU of step S9, OLT delete step S3 record, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, then OLT all online ONU broadcast transmission optical module power remove instructions under this ODN, close the optical module power supply of illegal ONU, then forward step S10 to;
Step S10, OLT judge whether still to exist the alarm of long hair light, if still there is the alarm of long hair light, forward step S14 to; If do not have the alarm of long hair light, forward step S11 to;
Also have ONU online in the alarm of long hair light and this ODN network if step S11 OLT judges not exist this moment, forward step S12 to; If it is online without ONU that OLT judges that do not exist in the alarm of long hair light and this ODN network this moment, the luminous ONU of specification exception is just in the suspicion ONU that step S3 records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of optical module power remove controllable type, forwards step S13 to;
If there is not the alarm of long hair light at this moment in step S12, also have part ONU online, illustrate that online ONU is normal ONU, but can't turn-off instruction by the response light modular power source, remove this moment of the LLID call number of online ONU in the suspicion ONU LLID call number database that OLT upgrades from step S9, finish renewal suspicion ONU LLID call number data, then forward step S13 to;
ONU is controlled in step S13, OLT diagnosis, enter the abnormal luminous ONU diagnosis unit of optical module power remove controllable type of OLT, carry out following steps: judge whether suspicion ONU has recorded the controlled ability explanation of optical module power remove in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then unification is reported following content to the operation management maintain software interface:
The LLID call number of suspicion ONU;
The type of suspicion ONU is: the abnormal luminous ONU of optical module power remove controllable type;
The processing mode of suspicion ONU is: close the optical module power supply;
Then forward step S17 to;
Step S14, OLT judge whether ONU is online in addition in this ODN network, if there is ONU online, forwards step S15 to; If still there is the alarm of long hair light this moment, but online without ONU, prove that this long hair light still belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, then forwards step S16 to;
If still there is the alarm of long hair light at this moment in step S15, and part suspicion ONU is still online, judge that then still online ONU is the abnormal luminous ONU of uncontrollable type, the suspicion ONU that upgrades among the OLT delete step S9, online ONU all is recorded as suspicion ONU at this moment again, finish renewal suspicion ONU LLID call number database, forward step S16 to;
Step S16, enter the abnormal luminous ONU fault diagnostic program of uncontrollable type:
OLT is unified to report following content to the operation management maintain software interface:
The LLID call number of suspicion ONU;
The type of suspicion ONU is: the abnormal luminous ONU of uncontrollable type;
The processing mode of suspicion ONU is: belong to exception handling, need the manual intervention troubleshooting;
Forward again step S17 to;
Step S17, withdraw from diagnostic procedure, finish.
The embodiment of the invention also provides the ONU long hair light warning diagnostic device of OLT side in a kind of EPON system, this long hair light warning diagnostic device is arranged in OLT, comprises receiving element, ONU finds the window closing unit automatically, the one ONU presence judging unit, record cell, luminous closing unit, the first long hair light alarm judging unit, the 2nd ONU presence judging unit, first upgrades diagnosis unit, the power-off unit, the second long hair light alarm judging unit, the 3rd ONU presence judging unit, second upgrades diagnosis unit, the abnormal luminous ONU failure diagnosis unit of uncontrollable type, the 4th ONU presence judging unit, the 3rd upgrades diagnosis unit, the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module, the 5th ONU presence judging unit, the 4th upgrades diagnosis unit, the abnormal luminous ONU diagnosis unit of optical module power remove controllable type.
Receiving element is used for: receive the alarm of long hair light, produce ONU and find that automatically window closes triggering signal, send to ONU and automatically find the window closing unit.
ONU finds the window closing unit automatically, is used for: after receiving that ONU finds that automatically window is closed triggering signal, close ONU and automatically find window, the ONU under the ODN can't be registered again; Produce an ONU presence and judge triggering signal, send to an ONU presence judging unit.
The one ONU presence judging unit is used for: whether after receiving that an ONU presence is judged triggering signal, judging in this ODN network has ONU online, if judge that ONU is online in addition in this ODN network, produces the record triggering signal, sends to record cell; If judging in this ODN network does not have ONU online, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
Record cell is used for: when receiving the record triggering signal, and the LLID call number of record all online ONU this moment, this moment, all online ONU were suspicion ONU; Then produce the luminous triggering signal of closing, LLID call number and the luminous triggering signal of closing of all online ONU sent to luminous closing unit.
Luminous closing unit, be used for: receive all online ONU the LLID call number and luminous close triggering signal after, all ONU under this ODN broadcast, send the luminous shutoff instruction of optical module, the optical module of closing illegal ONU is luminous, then produce the first long hair light alarm and judge triggering signal, send to the first long hair light alarm judging unit.
The first long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the first long hair light alarm, judge whether still to exist the alarm of long hair light, still have the alarm of long hair light if judge, produce the 2nd ONU presence and judge triggering signal, send to the 2nd ONU presence judging unit; If judge not have the alarm of long hair light, produce the 4th ONU presence and judge triggering signal, send to the 4th ONU presence judging unit.
The 2nd ONU presence judging unit, be used for: after receiving that the 2nd ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge that ONU is online in addition in this ODN network, produce first and upgrade the diagnosis triggering signal, send to first and upgrade diagnosis unit; If judge in this ODN network online without ONU, prove that this long hair light belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
First upgrades diagnosis unit, be used for: after receiving the first renewal diagnosis triggering signal, the suspicion ONU of deletion record unit record, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, produce the power-off triggering signal, send to the power-off unit.
The power-off unit, be used for: after receiving the power-off triggering signal, all online ONU under this ODN broadcast, send the instruction of optical module power remove, close the optical module power supply of illegal ONU, then produce the second long hair light alarm and judge triggering signal, send to the second long hair light alarm judging unit.
The second long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the second long hair light alarm, further judge whether still to exist the alarm of long hair light, still there is the alarm of long hair light if judge, then produce the 3rd ONU presence and judge triggering signal, send to the 3rd ONU presence judging unit.
The 3rd ONU presence judging unit, be used for: after receiving that the 3rd ONU presence is judged triggering signal, judge whether that ONU is still arranged online, if still there is ONU online, judge that then still online ONU is the abnormal luminous ONU of uncontrollable type, produce second and upgrade the diagnosis triggering signal, send to second and upgrade diagnosis unit; If judge in this ODN network online without ONU, prove that this long hair light still belongs to the network attack of the abnormal luminous ONU of uncontrollable type, just not enough so that all ONU of luminous intensity go offline, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
Second upgrades diagnosis unit, be used for: after receiving the second renewal diagnosis triggering signal, the suspicion ONU that diagnosis unit upgrades is upgraded in deletion first, with this moment online ONU all be recorded as suspicion ONU, finish renewal suspicion ONU LLID call number database, produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
The abnormal luminous ONU failure diagnosis unit of uncontrollable type, be used for: after receiving the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, the type of output network attack this moment is the network attack of the abnormal luminous ONU of uncontrollable type, the type of unified LLID call number to operation management maintain software interface report suspicion ONU, suspicion ONU is that the processing mode of the abnormal luminous ONU of uncontrollable type, suspicion ONU is the manual intervention troubleshooting, then withdraws from diagnostic procedure.
The 4th ONU presence judging unit, be used for: after receiving that the 4th ONU presence is judged triggering signal, judge whether ONU is online in addition in this ODN network, if judge that ONU is online in addition in this ODN network, illustrate that online ONU is normal ONU, but can't the luminous shutoff instruction of response light module, this type of ONU is recorded as scarce capacity type ONU, produce the 3rd and upgrade the diagnosis triggering signal, send to the 3rd and upgrade diagnosis unit; If judge in this ODN network online without ONU, the luminous ONU of specification exception is just in the suspicion ONU of described recording unit records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of the luminous controllable type of optical module, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, send to the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module.
The 3rd upgrades diagnosis unit, be used for: after receiving the 3rd renewal diagnosis triggering signal, from the suspicion ONU database of recording unit records, remove this moment of online ONU, finish renewal suspicion ONU LLID call number database, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, send to the abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module.
The abnormal luminous ONU diagnosis unit of the luminous controllable type of optical module, be used for: after receiving the abnormal luminous ONU diagnosis of the luminous controllable type of optical module triggering signal, judge whether suspicion ONU has recorded the luminous controlled ability explanation of optical module in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; The type of unified LLID call number to operation management maintain software interface report suspicion ONU, suspicion ONU is that the processing mode of the abnormal luminous ONU of the luminous controllable type of optical module, suspicion ONU is the lighting function of closing optical module, then withdraws from diagnostic procedure.
The second long hair light alarm judging unit, be used for: after receiving that triggering signal is judged in the second long hair light alarm, further judge whether still to exist the alarm of long hair light, there is not the alarm of long hair light if judge, then produce the 5th ONU presence and judge triggering signal, send to the 5th ONU presence judging unit.
The 5th ONU presence judging unit, be used for: after receiving that the 5th ONU presence is judged triggering signal, judge that whether ONU is still arranged in this ODN network is online, if still there is ONU online, illustrate that online ONU is normal ONU, but can't turn-off instruction by the response light modular power source, produce the 4th and upgrade the diagnosis triggering signal, send to the 4th and upgrade diagnosis unit; If judge in this ODN network online without ONU, the luminous ONU of specification exception is just in the suspicion ONU of described recording unit records, and this abnormal luminous ONU belongs to the abnormal luminous ONU of optical module power remove controllable type, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, send to the abnormal luminous ONU diagnosis unit of optical module power remove controllable type.
The 4th upgrades diagnosis unit, be used for: after receiving the 4th renewal diagnosis triggering signal, from the suspicion ONU LLID call number database that the first renewal diagnosis unit upgrades, remove at this moment the LLID call number of online ONU, finish renewal suspicion ONU LLID call number database, ONU is controlled in diagnosis, produce the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, send to the abnormal luminous ONU diagnosis unit of optical module power remove controllable type.
The abnormal luminous ONU diagnosis unit of optical module power remove controllable type, be used for: after receiving the abnormal luminous ONU diagnosis of optical module power remove controllable type triggering signal, judge whether suspicion ONU has recorded the controlled ability explanation of optical module power remove in this unit, if there is not record, then add the ability explanation of ONU; If record is arranged, but the explanation of the ability of record is then upgraded the ability explanation of ONU with actual inconsistent; Then unified type of reporting LLID call number, the suspicion ONU of suspicion ONU to the operation management maintain software interface processing mode that is the abnormal luminous ONU of optical module power remove controllable type, suspicion ONU withdraws from diagnostic procedure for closing the optical module power supply again.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention comprises these changes and modification interior.The content that is not described in detail in this specification belongs to the known prior art of this area professional and technical personnel.