CN103731205A - Method for automatically testing optical network unit - Google Patents

Method for automatically testing optical network unit Download PDF

Info

Publication number
CN103731205A
CN103731205A CN201310711591.9A CN201310711591A CN103731205A CN 103731205 A CN103731205 A CN 103731205A CN 201310711591 A CN201310711591 A CN 201310711591A CN 103731205 A CN103731205 A CN 103731205A
Authority
CN
China
Prior art keywords
network unit
optical network
test
optical
line terminal
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.)
Granted
Application number
CN201310711591.9A
Other languages
Chinese (zh)
Other versions
CN103731205B (en
Inventor
苏赵珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310711591.9A priority Critical patent/CN103731205B/en
Publication of CN103731205A publication Critical patent/CN103731205A/en
Application granted granted Critical
Publication of CN103731205B publication Critical patent/CN103731205B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for automatically testing an optical network unit. The method includes the steps of logging in an optical line terminal, judging whether the optimal line terminal is successfully logged in or not, registering the optical network unit, judging whether the registration state of the optical network unit is correct or not, configuring services of the optical network unit, judging whether the services of the optical network unit are correctly configured or not, configuring a data network test instrument, judging whether the data network test instrument is correctly configured or not, outputting a test result and ending the test. According to the method, at the development phase, test efficiency can be improved, the test period can be shortened, and test cost can be lowered. Productivity of manufacturers can be greatly improved by giving assistance to the manufacturers, according to the solution, engineers of different levels can participate in the test automation process, the value of the test engineers is improved, daily cost is lowered, existing resources are well utilized, and time required for putting products on the market is shortened.

Description

A kind of optical network unit automated testing method
Technical field
The present invention relates to a kind of measuring technology for passive optical-fiber network, be specifically related to a kind of optical network unit automated testing method.
Background technology
Passive optical-fiber network (PON) system configuration is mainly by the optical line terminal (OLT of central office, Optical Line Terminal), network unit/optical network terminal (the ONU/ONT Optical Network Unit/Optical Network Terminal) composition of the optical distribution network (ODN, Optical Distribution Network) that comprises Passive Optical Components, user side.Compared with active smooth access technology, PON is due to the active equipment of having eliminated between local side and user side, thereby make to safeguard simple, reliability is high, cost is low, and can save fiber resource, making PON technology is the following main solution that Fiber to the home (FTTH).Along with the progressively expansion that progressively reduces and apply scale of PON cost, cause the test of PON also to seem especially important, the especially test of ONU.
In existing ONU equipment vendors, the test of ONU is mainly the practical function based on manually hold input configuration order and then control ONU by OLT, then utilizes network analysis instrument to verify whether its configuration feature comes into force as Smartbits etc.Certainly also to have equipment component manufacturer be the automatic test of having realized ONU, such as really also there is the input of the automatic test of ONU as these manufacturers such as Bel, CIG, but be all based on Spirent iTest platform, although this platform also improves research and development testing efficiency, the expense of purchase Spirent iTest platform in early stage but very huge.
Along with the fast development of ethernet passive optical network (EPON)/Gigabit Passive Optical Network (GPON) technology, in the face of more and more tighter more research and development and test events, by manual testing ONU, the various drawbacks that show become thing urgently to be resolved hurrily.As follows:
1, equipment and HIST requirement, just become and become increasingly complex.
2, test the required artificial and technical ability of each version and improving, but staffing does not increase.
The speed of used tool when 3, the development speed of testing tool is unable to catch up with designing new product far away.(80% test still will be carried out by hand according to incompletely statistics.)
Testing efficiency, the shortening test period of how to improve, the testing cost that lowers development seems extremely important.
Summary of the invention
The invention provides a kind of optical network unit automated testing method, reduce manual testing task, improve its productivity and reduce the testing cost of development, can tackle better the in enormous quantities and complicated test request of EPON.
For achieving the above object, the invention provides a kind of optical network unit automated testing method, the applicable optical-fiber network topological structure of this method of testing comprises:
Data network;
Connect respectively optical line terminal and some optical network units of this data network;
Optical splitter, its one end connects optical line terminal, and the other end connects some optical network units;
Optical line terminal is also connected with NM server system;
Be characterized in, the method includes the steps of:
Step 1, optical line terminal log in;
Step 2, judge whether optical line terminal successfully logs in, if jump to step 3, jump to if not step 1;
Step 3, optical network unit (ONU) registration;
Step 4, judge that whether optical network unit (ONU) registration state is correct, if jump to step 5, jump to if not step 3;
Step 5, optical network unit business configuration;
Step 6, judge that whether optical network unit business configuration is correct, if jump to step 7, jump to if not step 5;
Step 7, data network test instrumentation are configured;
Step 8, judge that whether data network test instrumentation configuration is correct, if jump to step 9, jumps to step 7 if not;
Step 9, output test result;
Step 10, test finish.
Above-mentioned optical line terminal is provided with login time restriction, and when logging in or the time of repeat logon exceedes this login time restriction, optical line terminal is logged off and outputed test result and reports an error.
In above-mentioned optical network unit (ONU) registration process, first in optical line terminal, delete the identity code of this optical network unit, then re-register this optical network unit configuration service.
Above-mentioned optical network unit is provided with hour of log-on restriction, if hour of log-on exceedes hour of log-on, restriction is registration failure, and optical network unit reports an error automatically.
Above-mentioned optical network unit business configuration is incorrect, and optical network unit is restarted and again checked configuration information, if it is still incorrect to restart rear configuration information, optical network unit reports an error automatically, and test finishes.
While outputing test result, judge that whether test result is consistent with equipment under test standard results, if test successfully, test crash if not.
Compared to the prior art, its advantage is a kind of optical network unit automated testing method of the present invention, and the present invention can improve testing efficiency in development, shortens test period, lower testing cost; But also can assist manufacturer significantly to promote its productivity, and this solution makes the engineer of varying level can participate in test automation process, improved Test Engineer's value, reduced daily expenses cost, utilize better existing resource, and shortened the required time of launch products.
Accompanying drawing explanation
Fig. 1 is the applicable optical-fiber network topological structure schematic diagram of a kind of optical network unit automated testing method of the present invention;
Fig. 2 is the flow chart of a kind of optical network unit automated testing method of the present invention.
Embodiment
Below in conjunction with accompanying drawing, further illustrate specific embodiments of the invention.
As shown in Figure 1, by the schematic diagram of the applicable optical-fiber network topological structure of a kind of optical network unit automated testing method of the present invention, wherein comprise: data network (Data Networks) 1, connect respectively optical line terminal (OLT) 2 and the optical network unit (ONU) 3 some and that connect of this data network 1, and optical splitter 4, these optical splitter 4 one end connect optical line terminal 2, the other end connects several optical network units 3, and wherein optical line terminal 2 is also connected with NM server system (EMS) 5.
As shown in Figure 2, this optical network unit automated testing method comprises following steps:
Step 1, optical line terminal log in, and realize and check optical line terminal relevant information, the reset of optical line terminal upper united mouth, optical line terminal EPON mouth are enabled and resetted.
The model that in the present embodiment, optical line terminal 2 adopts is in being emerging 300.
Step 2, judge whether optical line terminal successfully logs in, if jump to step 3, jump to if not step 1.
If break down in optical line terminal (OLT) telnet process, the present invention has taked to reconnect the measure of server, and optical line terminal is provided with login time restriction, when logging in or time of repeat logon exceedes this login time restriction, optical line terminal is logged off and is outputed test result and reports an error.
Step 3, optical network unit (ONU) registration.In optical network unit (ONU) registration process, first in optical line terminal, delete the identity code (ONU-ID) of this optical network unit, then re-register this optical network unit configuration service.
Step 4, judge that whether optical network unit (ONU) registration state is correct, if jump to step 5, jump to if not step 3, re-register.
Optical network unit is provided with hour of log-on restriction, if hour of log-on exceedes hour of log-on, restriction is registration failure, and optical network unit reports an error automatically.
Step 5, optical network unit business configuration, for optical network unit distributes bandwidth, configuration service model, VLAN processing rule, QOS rule and Multicast configuration, can also carry out optical network unit remote upgrade.
Step 6, judge that whether optical network unit business configuration is correct, if jump to step 7, jump to if not step 5.If optical network unit business configuration is incorrect, optical network unit is restarted and is again checked configuration information, if it is still incorrect to restart rear configuration information, optical network unit reports an error automatically, and test finishes.
Step 7, data network test instrumentation are configured, and carry out the logging in of data network test instrumentation, the operation that takies, resets and configure to test port.
Data network test instrumentation adopts the data network test platform Smartbits of Spirent Communications company, in the present embodiment, adopts Smartbits600.In this process, need to utilize network test instrument SmartBits to beat current test, with the function to above-mentioned ONU, verify.This process comprises that Smartbits connects, port takies, builds stream, transmission parameter settings, packet capturing, release port etc.The realization of the automation configuration of these processes, the present invention has adopted api function the Using API Function of writing Smartbits instrument to realize the Smartbits hardware scheme of configuration automatically.
Network test instrument Smartbits provides powerful user interface function library-SmartLib. the present invention to control all Smartbits hardware by the original function with in SmartLib and Message function, controls all functions of all cards.The process of writing the api function in automatized script is that each proc function is corresponding to an independent function of each hardware of SmartBits by calling this two kinds of processes that function is write proc function.Last according to the use step of test instrumentation, by calling these different proc functions, complete for lattice gauge.
Step 8, judge that whether data network test instrumentation configuration is correct, if jump to step 9, jumps to step 7 if not.
Step 9, output test result; While outputing test result, judge that whether test result is consistent with equipment under test standard results, if test successfully, test crash if not.
Step 10, test finish.
Above-mentioned optical network unit automated testing method can adopt Tool Command Language (Tool Command Language, TCL) script is realized, TCL language is a kind of command script language, and it has the advantages that good extensibility, high efficiency and transplantability are good.
Although content of the present invention has been done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.Those skilled in the art, read after foregoing, for multiple modification of the present invention and substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (6)

1. an optical network unit automated testing method, the applicable optical-fiber network topological structure of this method of testing comprises:
Data network;
Connect respectively optical line terminal and some optical network units of this data network;
Optical splitter, its one end connects optical line terminal, and the other end connects some optical network units;
Optical line terminal is also connected with NM server system;
It is characterized in that, the method includes the steps of:
Step 1, optical line terminal log in;
Step 2, judge whether optical line terminal successfully logs in, if jump to step 3, jump to if not step 1;
Step 3, optical network unit (ONU) registration;
Step 4, judge that whether optical network unit (ONU) registration state is correct, if jump to step 5, jump to if not step 3;
Step 5, optical network unit business configuration;
Step 6, judge that whether optical network unit business configuration is correct, if jump to step 7, jump to if not step 5;
Step 7, data network test instrumentation are configured;
Step 8, judge that whether data network test instrumentation configuration is correct, if jump to step 9, jumps to step 7 if not;
Step 9, output test result;
Step 10, test finish.
2. optical network unit automated testing method as claimed in claim 1, it is characterized in that, described optical line terminal is provided with login time restriction, and when logging in or the time of repeat logon exceedes this login time restriction, optical line terminal is logged off and outputed test result and reports an error.
3. optical network unit automated testing method as claimed in claim 1, is characterized in that, in described optical network unit (ONU) registration process, first in optical line terminal, deletes the identity code of this optical network unit, then re-registers this optical network unit configuration service.
4. the optical network unit automated testing method as described in claim 1 or 3, is characterized in that, described optical network unit is provided with hour of log-on restriction, if hour of log-on exceedes hour of log-on, restriction is registration failure, and optical network unit reports an error automatically.
5. optical network unit automated testing method as claimed in claim 1, is characterized in that, described optical network unit business configuration is incorrect, optical network unit is restarted and is again checked configuration information, if it is still incorrect to restart rear configuration information, optical network unit reports an error automatically, and test finishes.
6. optical network unit automated testing method as claimed in claim 1, is characterized in that, while outputing test result, judges that whether test result is consistent with equipment under test standard results, if test successfully, and test crash if not.
CN201310711591.9A 2013-12-20 2013-12-20 A kind of optical network unit automated testing method Expired - Fee Related CN103731205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310711591.9A CN103731205B (en) 2013-12-20 2013-12-20 A kind of optical network unit automated testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310711591.9A CN103731205B (en) 2013-12-20 2013-12-20 A kind of optical network unit automated testing method

Publications (2)

Publication Number Publication Date
CN103731205A true CN103731205A (en) 2014-04-16
CN103731205B CN103731205B (en) 2018-07-24

Family

ID=50455150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310711591.9A Expired - Fee Related CN103731205B (en) 2013-12-20 2013-12-20 A kind of optical network unit automated testing method

Country Status (1)

Country Link
CN (1) CN103731205B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270289A (en) * 2014-10-17 2015-01-07 上海斐讯数据通信技术有限公司 ONU automatic testing method based on TCL script
CN104702695A (en) * 2015-03-23 2015-06-10 太仓市同维电子有限公司 Method of automatically acquiring optical product registration status
CN106487460A (en) * 2016-11-29 2017-03-08 四川九州电子科技股份有限公司 Improve the system and method for optical receiving device blind spot sweep test efficiency
CN108667665A (en) * 2018-05-18 2018-10-16 烽火通信科技股份有限公司 A kind of ONT automated testing methods of PON system
CN108809412A (en) * 2018-06-01 2018-11-13 四川斐讯全智信息技术有限公司 A kind of method, apparatus and system of test light communication products stability
CN109787684A (en) * 2019-03-22 2019-05-21 太仓市同维电子有限公司 A kind of system for testing the ONU radiation-emitting with multiple ethernet ports
CN112887018A (en) * 2021-02-03 2021-06-01 中国信息通信研究院 Optical module testing method and device
CN113342691A (en) * 2021-07-04 2021-09-03 芯河半导体科技(无锡)有限公司 Method for automatically deleting and adding ONU (optical network Unit) to test ONU registration stability
CN113517924A (en) * 2020-04-09 2021-10-19 北京今信科技发展有限公司 PON network resource clearing method
CN113572521A (en) * 2021-07-23 2021-10-29 芯河半导体科技(无锡)有限公司 Automatic testing method compatible with multi-manufacturer OLT intercommunication testing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055597A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Stability test platform and method
CN102291274A (en) * 2011-07-11 2011-12-21 北京天融信科技有限公司 System and method for realizing automatic adaptation of network testing instrument
CN102546966A (en) * 2010-12-15 2012-07-04 中兴通讯股份有限公司 Method and passive optical network terminal used for realizing subscriber line autonomous testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055597A (en) * 2009-11-03 2011-05-11 中兴通讯股份有限公司 Stability test platform and method
CN102546966A (en) * 2010-12-15 2012-07-04 中兴通讯股份有限公司 Method and passive optical network terminal used for realizing subscriber line autonomous testing
CN102291274A (en) * 2011-07-11 2011-12-21 北京天融信科技有限公司 System and method for realizing automatic adaptation of network testing instrument

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270289A (en) * 2014-10-17 2015-01-07 上海斐讯数据通信技术有限公司 ONU automatic testing method based on TCL script
CN104702695A (en) * 2015-03-23 2015-06-10 太仓市同维电子有限公司 Method of automatically acquiring optical product registration status
CN106487460A (en) * 2016-11-29 2017-03-08 四川九州电子科技股份有限公司 Improve the system and method for optical receiving device blind spot sweep test efficiency
CN106487460B (en) * 2016-11-29 2019-04-30 四川九州电子科技股份有限公司 Improve the system and method for optical receiving device blind spot sweep test efficiency
CN108667665A (en) * 2018-05-18 2018-10-16 烽火通信科技股份有限公司 A kind of ONT automated testing methods of PON system
CN108809412A (en) * 2018-06-01 2018-11-13 四川斐讯全智信息技术有限公司 A kind of method, apparatus and system of test light communication products stability
CN109787684A (en) * 2019-03-22 2019-05-21 太仓市同维电子有限公司 A kind of system for testing the ONU radiation-emitting with multiple ethernet ports
CN113517924A (en) * 2020-04-09 2021-10-19 北京今信科技发展有限公司 PON network resource clearing method
CN112887018A (en) * 2021-02-03 2021-06-01 中国信息通信研究院 Optical module testing method and device
CN113342691A (en) * 2021-07-04 2021-09-03 芯河半导体科技(无锡)有限公司 Method for automatically deleting and adding ONU (optical network Unit) to test ONU registration stability
CN113572521A (en) * 2021-07-23 2021-10-29 芯河半导体科技(无锡)有限公司 Automatic testing method compatible with multi-manufacturer OLT intercommunication testing
CN113572521B (en) * 2021-07-23 2024-03-29 芯河半导体科技(无锡)有限公司 Automatic test method compatible with multi-manufacturer OLT intercommunication test

Also Published As

Publication number Publication date
CN103731205B (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN103731205A (en) Method for automatically testing optical network unit
CN112567647B (en) PON fault positioning method and device
CN106656562B (en) A kind of OLT batch issues the detection method and device of ONU configuration
CN109218857B (en) Method and system for detecting port state of network equipment
CN107835110B (en) ONU one-stop type flow test system and method
CN104270289A (en) ONU automatic testing method based on TCL script
CN104144013A (en) Method, device and system for fault diagnosis of PON
CN106970537B (en) Electric power and communication semi-physical simulation system based on RTDS and SDH and construction method
US8855493B2 (en) ONU emulator deployment for mixed types of ONU traffic
CN109819352B (en) Optical fiber data processing system architecture and processing method
CN111010298B (en) PON (passive optical network) network fault monitoring method and device
JP4910735B2 (en) Network test apparatus, network test method, and network test program
EP3094047A1 (en) Method and device for automatically commissioning aisg remote electrical tilt antennas in batches
CN104301176A (en) System and method for testing multiple ONU devices
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN113973240B (en) Optical fiber resource management method, system and storage medium
CN106788701B (en) A kind of method and system positioning the segment fault of ODN network
CN111181808B (en) Method and system for testing BMC IP access control
CN110113684B (en) Active tandem resource checking instrument for PON (passive optical network) and resource acquisition method
CN105848017A (en) Adaptive method enabling ONT (optical network terminal) to support GPON/EPON/P2P uplink modes
CN108882061B (en) ODN resource combing method, device and system
CN113364820A (en) Equipment control method and device of Internet of things service system
CN108540217B (en) Test method for improving OLT test ONT or ONU efficiency
CN113572521B (en) Automatic test method compatible with multi-manufacturer OLT intercommunication test
CN104618052B (en) A kind of interface circuit of GPON OLT optical modules

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180724

Termination date: 20181220

CF01 Termination of patent right due to non-payment of annual fee