CN103731205B - A kind of optical network unit automated testing method - Google Patents

A kind of optical network unit automated testing method Download PDF

Info

Publication number
CN103731205B
CN103731205B CN201310711591.9A CN201310711591A CN103731205B CN 103731205 B CN103731205 B CN 103731205B CN 201310711591 A CN201310711591 A CN 201310711591A CN 103731205 B CN103731205 B CN 103731205B
Authority
CN
China
Prior art keywords
network unit
optical network
optical
test
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.)
Expired - Fee Related
Application number
CN201310711591.9A
Other languages
Chinese (zh)
Other versions
CN103731205A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of optical network unit automated testing method, including:1, optical line terminal logs in;2, judge optical line terminal whether successful log;3, optical network unit (ONU) registration;4, judge whether optical network unit (ONU) registration state is correct;5, optical network unit business configuration;6, judge whether optical network unit business configuration is correct;7, data network test instrumentation is configured;8, judge whether the configuration of data network test instrumentation is correct;9, output test result;10, test terminates.The present invention can improve testing efficiency in development phase, shorten test period, attenuating testing cost;And it can also aid in manufacturer and its productivity be substantially improved, and the solution makes the engineer of different level can participate in test automation process, improve the value of Test Engineer, reduce daily expenses cost, existing resource is preferably utilized, and shortens the time needed for launch products.

Description

A kind of optical network unit automated testing method
Technical field
The present invention relates to a kind of measuring technologies for passive optical-fiber network, and in particular to a kind of optical network unit automation Test method.
Background technology
Passive optical-fiber network(PON)System structure is mainly by the optical line terminal of central office(OLT, Optical Line Terminal), optical distribution network comprising Passive Optical Components(ODN, Optical Distribution Network), user terminal Network unit/optical network terminal(ONU/ONT Optical Network Unit / Optical Network Terminal)Composition.Compared with active light access technology, PON due to eliminating the active equipment between local side and user terminal, from And to safeguard that simple, reliability is high, at low cost, and fiber resource can be saved so that PON technologies are the following fiber to the home (FTTH)Primary solutions.With PON costs gradually reduce and using scale gradually expansion, cause the test of PON Also seem increasingly important, the especially test of ONU.
In existing ONU equipment manufacturer, the test of ONU be mainly based upon manually by the ends OLT input configuration order into And the realization function of ONU is controlled, then verify whether its configuration feature gives birth to using network analysis instrument such as Smartbits etc. Effect.It is to realize the automatic test of ONU, for example these manufacturers are true as Bell, CIG etc. that of coursing, which also has equipment component manufacturer, The input for also having the automatic test of ONU in fact, is all based on Spirent iTest platforms, although the platform also improves research and development Testing efficiency, but early period purchase Spirent iTest platforms expense it is but very huge.
With ethernet passive optical network(EPON)/ Gigabit Passive Optical Network(GPON)The fast development of technology, in face of more next More tighter, more research and development and test event, by manual testing ONU, the various drawbacks showed become thing urgently to be resolved hurrily Feelings.It is as follows:
1, equipment and interoperability testing requirement, just become to become increasingly complex.
2, it tests the artificial and technical ability needed for each version improving, but staffing does not increase.
3, the development speed of testing tool is much unable to catch up with the speed of used tool when designing new product.(According to incomplete system The test of meter 80% is still to manual execution.)
The testing efficiency how to improve shortens test period, and lowering the testing cost of development phase seems extremely important.
Invention content
The present invention provides a kind of optical network unit automated testing method, reduces manual testing's task, improves its productivity And the testing cost of development phase is reduced, it can preferably cope with the high-volume of passive optical network and complicated test request.
To achieve the above object, the present invention provides a kind of optical network unit automated testing method, which is applicable in Optical-fiber network topological structure include:
Data network;
It is separately connected the optical line terminal of the data network and several optical network units;
Optical splitter, one end connect optical line terminal, and the other end connects several optical network units;
Optical line terminal is also associated with NM server system;
Its main feature is that the method includes the steps of:
Step 1, optical line terminal log in;
Step 2, judge optical line terminal whether successful log, if then jumping to step 3, if otherwise jumping to step 1;
Step 3, optical network unit (ONU) registration;
Step 4 judges whether optical network unit (ONU) registration state is correct, if then jumping to step 5, if otherwise jumping to step Rapid 3;
Step 5, optical network unit business configuration;
Step 6 judges whether optical network unit business configuration is correct, if then jumping to step 7, if otherwise jumping to step Rapid 5;
Step 7, data network test instrumentation are configured;
Step 8 judges whether the configuration of data network test instrumentation is correct, if then jumping to step 9, if otherwise jumping to Step 7;
Step 9 outputs test result;
Step 10, test terminate.
Above-mentioned optical line terminal equipped with login time limit, when log in or the time of repeat logon be more than the login time limit System, then optical line terminal logs off and outputs test result and reports an error.
During above-mentioned optical network unit (ONU) registration, the identification of the optical network unit is first deleted in optical line terminal Code, then re-register the optical network unit and configuration service.
Above-mentioned optical network unit is limited equipped with registion time, if it is registration failure that registion time, which is more than registion time limitation, Optical network unit reports an error automatically.
Above-mentioned optical network unit business configuration is incorrect, then configuration information is restarted and checked again for optical network unit, if weight Open that rear configuration information is still incorrect, and optical network unit reports an error automatically, test terminates.
When outputing test result, judge whether test result is consistent with equipment under test standard results, if being then successfully tested, If otherwise test crash.
Compared to the prior art a kind of optical network unit automated testing method of the present invention, the advantage is that, the present invention can To improve testing efficiency in development phase, shorten test period, attenuating testing cost;And it can also aid in manufacturer and be substantially improved Its productivity, and the solution makes the engineer of different level can participate in test automation process, improves test The value of engineer reduces daily expenses cost, preferably utilizes existing resource, and shorten launch products institute The time needed.
Description of the drawings
Fig. 1 is a kind of applicable optical-fiber network topological structure schematic diagram of optical network unit automated testing method of the present invention;
Fig. 2 is a kind of flow chart of optical network unit automated testing method of the present invention.
Specific implementation mode
Below in conjunction with attached drawing, the specific embodiment that further illustrates the present invention.
As shown in Figure 1, for a kind of optical-fiber network topological structure that optical network unit automated testing method is applicable in of the present invention Schematic diagram, wherein including:Data network(Data Networks)1, it is separately connected the optical line terminal of the data network 1 (OLT)If 2 optical network units connect with dry doubling(ONU)3 and optical splitter 4, which connects optical line terminal 2, The other end connects several optical network units 3, and wherein optical line terminal 2 is also associated with NM server system(EMS)5.
As shown in Fig. 2, the optical network unit automated testing method comprises the steps of:
Step 1, optical line terminal log in, and realization is checked optical line terminal relevant information, answered optical line terminal upper united mouth Position, optical line terminal passive optical network mouth is enabled and resets.
Emerging 300 in the model that optical line terminal 2 uses in the present embodiment.
Step 2, judge optical line terminal whether successful log, if then jumping to step 3, if otherwise jumping to step 1.
If optical line terminal(OLT)It breaks down during telnet, this invention takes reconnect server Measure, and optical line terminal equipped with login time limit, when log in or the time of repeat logon be more than the login time limitation, then Optical line terminal logs off and outputs test result and reports an error.
Step 3, optical network unit(ONU)Registration.During optical network unit (ONU) registration, deleted in optical line terminal first The identity code of the optical network unit(ONU-ID), then re-register the optical network unit and configuration service.
Step 4 judges whether optical network unit (ONU) registration state is correct, if then jumping to step 5, if otherwise jumping to step Rapid 3, it re-registers.
Optical network unit is limited equipped with registion time, if it is registration failure, light net that registion time, which is more than registion time limitation, Network unit reports an error automatically.
Step 5, optical network unit business configuration are optical network unit bandwidth allocation, configuration service model, VLAN processing rule Then, QOS rules and Multicast configuration, can also carry out optical network unit remote upgrade.
Step 6 judges whether optical network unit business configuration is correct, if then jumping to step 7, if otherwise jumping to step Rapid 5.If optical network unit business configuration is incorrect, configuration information is restarted and checked again for optical network unit, if matching after restarting Confidence breath is still incorrect, and optical network unit reports an error automatically, and test terminates.
Step 7, data network test instrumentation are configured, and logging in, to test port for data network test instrumentation is carried out Occupancy, reset and the operation of configuration.
Data network test instrumentation uses the data network test platform Smartbits of Spirent Communications company, this implementation In example, using Smartbits600.In this process, it needs to carry out beating current test using network test instrument SmartBits, with The function of above-mentioned ONU is verified.This process includes Smartbits connections, port occupancy, builds stream, transmission parameter settings, grabs Packet, release port etc..The realization of the automatic configuration of these processes, present invention employs the API letters for writing Smartbits instrument Number and API Functions realize the scheme automatically configured to Smartbits hardware.
It is logical that network test instrument Smartbits provides a powerful user interface function library-SmartLib. present invention Cross using in SmartLib original function and Message function control all Smartbits hardware, control the institute of all cards Some functions.The process for writing the api function in automatized script is to write proc functions by calling both functions Process, each proc function correspond to an independent function of each hardware of SmartBits.Finally according to test instrumentation Using step, completed for lattice gauge by the proc functions for calling these different.
Step 8 judges whether the configuration of data network test instrumentation is correct, if then jumping to step 9, if otherwise jumping to Step 7.
Step 9 outputs test result;When outputing test result, judge test result whether with equipment under test standard results Unanimously, if being then successfully tested, if otherwise test crash.
Step 10, test terminate.
Tool Command Language may be used in above-mentioned optical network unit automated testing method(Tool Command Language, TCL)Script realizes that TCL language is a kind of command script language, with preferable scalability, high efficiency The good feature with transplantability.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (6)

1. a kind of optical network unit automated testing method, the applicable optical-fiber network topological structure of the test method include:
Data network;
It is separately connected the optical line terminal of the data network and several optical network units;
Optical splitter, one end connect optical line terminal, and the other end connects several optical network units;
Optical line terminal is also associated with NM server system;
It is characterized in that, the method includes the steps of:
Step 1, optical line terminal log in;
Step 2, NM server system judge whether optical line terminal successfully logs in, if then jumping to step 3, if otherwise jumping Go to step 1;
Step 3, optical network unit (ONU) registration;
Step 4, NM server system judge whether optical network unit (ONU) registration state is correct, if then jumping to step 5, if not Then jump to step 3;
Step 5, optical network unit business configuration;
Step 6, NM server system judge whether optical network unit business configuration is correct, if then jumping to step 7, if not Then jump to step 5;
Step 7, data network test instrumentation are configured, and the login of data network test instrumentation is carried out;
Step 8, NM server system judge whether the configuration of data network test instrumentation is correct, if then jumping to step 9, if Otherwise step 7 is jumped to;
The test result of step 9, NM server system output optical network unit;
Step 10, test terminate.
2. optical network unit automated testing method as described in claim 1, which is characterized in that the optical line terminal is equipped with Login time limits, and is limited more than the login time when the time of login or repeat logon, then optical line terminal is logged off simultaneously Output test result and reports an error.
3. optical network unit automated testing method as described in claim 1, which is characterized in that the optical network unit (ONU) registration In the process, the identity code of the optical network unit is first deleted in optical line terminal, then re-register the optical network unit simultaneously Configuration service.
4. the optical network unit automated testing method as described in claim 1 or 3, which is characterized in that the optical network unit It is limited equipped with registion time, if registion time is more than registion time, limitation is registration failure, and optical network unit reports an error automatically.
5. optical network unit automated testing method as described in claim 1, which is characterized in that the optical network unit business Improperly-configured, then configuration information is restarted and checked again for optical network unit, if it is still incorrect to restart rear configuration information, optical-fiber network Unit reports an error automatically, and test terminates.
6. optical network unit automated testing method as described in claim 1, which is characterized in that when outputing test result, sentence Whether disconnected test result is consistent with tested optical network unit standard results, if being then successfully tested, if otherwise test crash.
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 CN103731205A (en) 2014-04-16
CN103731205B true 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)

Families Citing this family (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
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
CN109787684B (en) * 2019-03-22 2024-05-24 太仓市同维电子有限公司 System for testing ONU radiation emission with multiple Ethernet ports
CN113517924A (en) * 2020-04-09 2021-10-19 北京今信科技发展有限公司 PON network resource clearing method
CN112887018B (en) * 2021-02-03 2022-09-13 中国信息通信研究院 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
CN113572521B (en) * 2021-07-23 2024-03-29 芯河半导体科技(无锡)有限公司 Automatic test method compatible with multi-manufacturer OLT intercommunication test

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

Also Published As

Publication number Publication date
CN103731205A (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN103731205B (en) A kind of optical network unit automated testing method
CN106656562B (en) A kind of OLT batch issues the detection method and device of ONU configuration
US8079017B2 (en) Automated QS interface testing framework
US7451452B2 (en) Methods and systems of verifying EMS compliance via NMS interface
EP2533549A1 (en) Fault detector for optical network communication system
CN112567647A (en) PON fault positioning method and device
CN107835110B (en) ONU one-stop type flow test system and method
CN110460371B (en) Optical resource checking method and system
US20090324228A1 (en) Ont test unit
CN109995429A (en) Broadband user side fault detection method, device, equipment and medium
CN105591770A (en) Determination method and apparatus for fault type in PON
CN105991358A (en) Method, device, test board and system for testing traffic of interface board
WO2017219914A1 (en) Mobile terminal, and passive optical network information collection method and apparatus
US20080310835A1 (en) System for validating installation of optical network devices
WO2016110151A1 (en) Method and device for detecting link loopback of pon system
CN106788701B (en) A kind of method and system positioning the segment fault of ODN network
CN111385679B (en) Automatic test system for optical network unit
WO2017206690A1 (en) Method and apparatus for configuring optical network unit, and optical line terminal
CN111181808B (en) Method and system for testing BMC IP access control
CN113285849A (en) Equipment testing method and device based on microservice
CN104065495A (en) Long light emitting ONU judging method and device and passive optical network system
CN104394042B (en) A kind of method of MIB tests ONU system upgrades
CN105848017A (en) Adaptive method enabling ONT (optical network terminal) to support GPON/EPON/P2P uplink modes
CN113364820A (en) Equipment control method and device of Internet of things service system
CN111314805B (en) Debugging method and device for intercommunication OMCI (OMCI) messages of GPON (gigabit passive optical network) system

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