The ONU of OLT side illegally sends window warning diagnostic method and device in the EPON system
Technical field
The present invention relates to the EPON field, the ONU that particularly relates to OLT side in a kind of EPON system illegally sends window warning diagnostic method and device.
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.
(5) plyability interference problem: because problems such as aging or environmental impacts, different ONU equipment optical module parameter inconsistent, the sequencing control of perhaps windowing for mandate there are differences, cause the send window of different ONU overlapping, the light signal stack, regular traffic is exerted an influence, 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) for the plyability interference problem of mentioning in above-mentioned (5), and the generation reason of other abnormal luminous ONU there are differences, at present also not targetedly diagnosis and processing method.
(2) only the received optical power parameter is judged, can't accurately be located the various failure conditions of abnormal luminous ONU.
Summary of the invention
The objective of the invention is in order to overcome the deficiency of above-mentioned background technology, provide the ONU of OLT side in a kind of EPON system illegally to send window warning diagnostic method and device, can carry out fast the illegal transmission window alarm of abnormal luminous ONU in the EPON system, diagnose reliably, to wherein can illegally send ONU that the window alarm the eliminates state processing of resuming work of again finding range by re-registering, carry out long-range shutoff and process further being identified as the abnormal luminous ONU of controllable type, 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 of OLT side illegally sends window warning diagnostic method in the EPON provided by the invention system, may further comprise the steps: when A, OLT receive illegal transmission window alarm, record the LLID call number of illegal ONU, if judge that should illegally send the window alarm is illegal ONU alarm in the idle window, OLT sends the clean culture register instruction to illegal ONU, illegal ONU is started re-register range finding; Again after the range finding, still have illegal ONU alarm in the idle window if OLT judges, OLT sends the luminous shutoff instruction of optical module to illegal ONU, and the optical module of closing illegal ONU is luminous; If judge that should illegally send the window alarm is illegal ONU alarm in the authorizing window, OLT sends the luminous shutoff instruction of optical module to illegal ONU, and the optical module of closing illegal ONU is luminous; B, close the optical module of illegal ONU luminous after, online and still have the illegal transmission window alarm of illegal ONU if OLT inquires illegal ONU, OLT enters the abnormal luminous ONU fault diagnostic program of uncontrollable type, so far finishes.
In technique scheme, further comprising the steps of in the steps A: as again after the range finding, if OLT judges that illegal ONU alarm disappears in the idle window, then to withdraw from diagnostic procedure, report diagnostic result.
In technique scheme, further comprising the steps of among the step B: close the optical module of illegal ONU luminous after, online if OLT inquires illegal ONU, enter the abnormal luminous ONU fault diagnostic program of uncontrollable type, so far finish.
In technique scheme, further comprising the steps of among the step B: close the optical module of illegal ONU luminous after, if OLT inquire illegal ONU the illegal transmission window alarm of online and illegal ONU disappear, OLT withdraws from diagnostic procedure, reports diagnostic result.
In technique scheme, the abnormal luminous ONU fault diagnostic program 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.
In technique scheme, whether OLT described in the step B inquires about illegal ONU repeatedly in 20 ~ 50ms online.
The present invention also provides the ONU of OLT side in a kind of EPON system illegally to send window warning diagnostic device, described illegal transmission window warning diagnostic device is positioned at OLT, comprise illegal ONU alarm judging unit in receiving element, record cell, alarm type judging unit, range cells, the idle window, luminous closing unit, illegal ONU presence query unit, illegally send window alarm judging unit, the abnormal luminous ONU failure diagnosis unit of uncontrollable type, wherein:
Described receiving element is used for: receive the illegal window alarm that sends, produce the record triggering signal and send to record cell;
Described record cell is used for: after receiving the record triggering signal, record the LLID call number of illegal ONU, and send to range cells and luminous closing unit;
Described alarm type judging unit is used for: judge the illegal type that sends the window alarm, if illegal ONU alarm in the idle window then produces the range finding triggering signal, and sends to range cells; If illegal ONU alarm then produces the luminous triggering signal of closing, and sends to luminous closing unit in the authorizing window;
Described range cells is used for: after receiving the LLID call number and range finding triggering signal of illegal ONU, send the clean culture register instruction to illegal ONU, illegal ONU startup is re-registered range finding; Again after the range finding, produce illegal ONU alarm judgement triggering signal in the idle window, and send to illegal ONU alarm judging unit in the idle window;
Illegal ONU alarm judging unit in the described idle window, be used for: after receiving that triggering signal is judged in illegal ONU alarm in the idle window, judge whether still to exist illegal ONU alarm in the idle window, if judge and still have illegal ONU alarm in the idle window, then produce the luminous triggering signal of closing, and send to luminous closing unit;
Described luminous closing unit, be used for: receive illegal ONU the LLID call number and luminous close triggering signal after, send the luminous shutoff instruction of optical module to illegal ONU, the optical module of closing illegal ONU is luminous, then produce illegal ONU presence querying triggering signal, send to illegal ONU presence query unit;
Described illegal ONU presence query unit, be used for: after receiving illegal ONU presence querying triggering signal, whether online, if it is not online to inquire illegal ONU if inquiring about illegal ONU, then produce the illegal window alarm judgement triggering signal that sends, send to illegal transmission window alarm judging unit;
Described illegal transmission window alarm judging unit, be used for: after receiving that triggering signal is judged in illegal transmission window alarm, judge whether still to exist the illegal transmission window alarm of illegal ONU, if judge the illegal transmission window alarm that still has illegal ONU, then produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, and 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 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.
In technique scheme, also comprise and report the unit, illegal ONU alarm judging unit in the described idle window, also be used for: after receiving that triggering signal is judged in illegal ONU alarm in the idle window, judge whether still to exist illegal ONU alarm in the idle window, if illegal ONU alarm disappears in the judgement idle window, then produce and report triggering signal, and send to and report the unit; The described unit that reports is used for: receive report triggering signal after, withdraw from diagnostic procedure, report diagnostic result.
In technique scheme, described illegal transmission window alarm judging unit, also be used for: after receiving that triggering signal is judged in illegal transmission window alarm, judge whether still to exist the illegal transmission window alarm of illegal ONU, if judging the illegal transmission window alarm of illegal ONU disappears, then produce and report triggering signal, and send to and report the unit.
In technique scheme, described illegal ONU presence query unit, also be used for: after receiving illegal ONU presence querying triggering signal, whether inquire about illegal ONU online, if it is online to inquire illegal ONU, then produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, and send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
In technique scheme, whether in the 20 ~ 50ms of described illegal ONU presence query unit after receiving illegal ONU presence querying triggering signal, it is online repeatedly to inquire about illegal ONU.
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 illegal transmission window alarm of abnormal luminous ONU in the EPON system, diagnose reliably, to wherein can illegally send ONU that the window alarm the eliminates state processing of resuming work of again finding range by re-registering, carry out long-range shutoff and process further being identified as the abnormal luminous ONU of controllable type, 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 illegal flow chart that sends window warning diagnostic method in the embodiment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and the specific embodiments.
For the illegal transmission window alarm to abnormal luminous ONU is diagnosed, the embodiment of the invention provides the ONU of OLT side in a kind of EPON system illegally to send window warning diagnostic method, may further comprise the steps:
When A, OLT receive illegal transmission window alarm, record the LLID call number of illegal ONU, if judge that should illegally send the window alarm is illegal ONU alarm in the idle window, OLT sends the clean culture register instruction to illegal ONU, illegal ONU is started re-register range finding; Again after the range finding, still have illegal ONU alarm in the idle window if OLT judges, OLT sends the luminous shutoff instruction of optical module to illegal ONU, and the optical module of closing illegal ONU is luminous; If judge that should illegally send the window alarm is illegal ONU alarm in the authorizing window, OLT sends the luminous shutoff instruction of optical module to illegal ONU, and the optical module of closing illegal ONU is luminous; Again after the range finding, if OLT judges that illegal ONU alarm disappears in the idle window, then withdraw from diagnostic procedure, report diagnostic result.
B, close the optical module of illegal ONU luminous after, whether OLT inquires about illegal ONU repeatedly in 20 ~ 50ms online, if it is online and still have the illegal transmission window alarm of illegal ONU that OLT inquires illegal ONU, OLT enters the abnormal luminous ONU fault diagnostic program of uncontrollable type, so far finishes; If OLT inquires the not illegal transmission window alarm disappearance of online and illegal ONU of illegal ONU, OLT withdraws from diagnostic procedure, reports diagnostic result; If it is online that OLT inquires illegal ONU, the type that enters the unified LLID call number to operation management maintain software interface report suspicion ONU of the abnormal luminous ONU fault diagnostic program of uncontrollable type: OLT, suspicion ONU is that the processing mode of the abnormal luminous ONU of uncontrollable type, suspicion ONU is the manual intervention troubleshooting, so far finishes.
Referring to shown in Figure 2, the flow process of illegal transmission window warning diagnostic method is as follows in the embodiment of the invention:
When step S1, OLT receive illegal transmission window alarm, record the LLID call number of illegal ONU, judge the illegal type that sends the window alarm, if illegal ONU alarm in the idle window forwards step S2 to; If illegal ONU alarm forwards step S5 in the authorizing window;
Step S2, OLT send the clean culture register instruction to illegal ONU, illegal ONU are started re-register range finding, then forward step S3 to;
Step S3, again after the range finding, OLT judges whether still to exist illegal ONU alarm in the idle window, if still there is illegal ONU alarm in the idle window, forwards step S5 to; If illegal ONU alarm disappears in the idle window, forward step S4 to;
If illegal ONU alarm disappears in the step S4 idle window, then withdraw from diagnostic procedure, report diagnostic result.
Step S5, OLT send the luminous shutoff instruction of optical module to illegal ONU, and the optical module of closing illegal ONU is luminous, then forwards step S6 to;
Step S6, close the optical module of illegal ONU luminous after, whether OLT inquires about illegal ONU repeatedly in 20 ~ 50ms online, if not method ONU is not online, forwards step S7 to; If not method ONU is online, forward step S8 to;
Step S7, OLT judge whether still to exist the illegal transmission window alarm of illegal ONU, if still there is the illegal transmission window alarm of illegal ONU, forward step S8 to; If not the illegal transmission window alarm of method ONU disappears, and forwards step S9 to;
Step S8, 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: belong to exception handling, need the manual intervention troubleshooting; So far finish;
If not step S9 method ONU is not online, and the illegal transmission window alarm disappearance of this illegal ONU, then withdraw from diagnostic procedure, report diagnostic result.
The embodiment of the invention also provides the ONU of OLT side in a kind of EPON system illegally to send window warning diagnostic device, should illegal send window warning diagnostic device and be positioned at OLT, comprise illegal ONU alarm judging unit in receiving element, record cell, alarm type judging unit, range cells, the idle window, luminous closing unit, illegal ONU presence query unit, illegally send window alarm judging unit, the abnormal luminous ONU failure diagnosis unit of uncontrollable type, report the unit.
The below describes the function of each unit in detail.
Receiving element is used for: receive the illegal window alarm that sends, produce the record triggering signal and send to record cell.
Record cell is used for: after receiving the record triggering signal, record the LLID call number of illegal ONU, and send to range cells and luminous closing unit.
The alarm type judging unit is used for: judge the illegal type that sends the window alarm, if illegal ONU alarm in the idle window then produces the range finding triggering signal, and sends to range cells; If illegal ONU alarm then produces the luminous triggering signal of closing, and sends to luminous closing unit in the authorizing window.
Range cells is used for: after receiving the LLID call number and range finding triggering signal of illegal ONU, send the clean culture register instruction to illegal ONU, illegal ONU startup is re-registered range finding; Again after the range finding, produce illegal ONU alarm judgement triggering signal in the idle window, and send to illegal ONU alarm judging unit in the idle window.
Illegal ONU alarm judging unit in the idle window, be used for: after receiving that triggering signal is judged in illegal ONU alarm in the idle window, judge whether still to exist illegal ONU alarm in the idle window, if judge and still have illegal ONU alarm in the idle window, then produce the luminous triggering signal of closing, and send to luminous closing unit; If illegal ONU alarm disappears in the judgement idle window, then produce and report triggering signal, and send to and report the unit.
Luminous closing unit, be used for: receive illegal ONU the LLID call number and luminous close triggering signal after, send the luminous shutoff instruction of optical module to illegal ONU, the optical module of closing illegal ONU is luminous, then produce illegal ONU presence querying triggering signal, send to illegal ONU presence query unit.
Illegal ONU presence query unit, be used for: receive in 20 ~ 50ms behind the illegal ONU presence querying triggering signal, whether repeatedly inquire about illegal ONU online, if it is not online to inquire illegal ONU, then produce the illegal window alarm judgement triggering signal that sends, send to illegal transmission window alarm judging unit; If it is online to inquire illegal ONU, then produces the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, and send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type.
The illegal window alarm judging unit that sends, be used for: after receiving that triggering signal is judged in illegal transmission window alarm, judge whether still to exist the illegal transmission window alarm of illegal ONU, if judge the illegal transmission window alarm that still has illegal ONU, then produce the abnormal luminous ONU failure diagnosis of uncontrollable type triggering signal, and send to the abnormal luminous ONU failure diagnosis unit of uncontrollable type; Disappear if judge the illegal transmission window alarm of illegal ONU, then produce and report triggering signal, and send to and report the unit.
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 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.
Report the unit, be used for: receive report triggering signal after, withdraw from diagnostic procedure, report diagnostic result.
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.