CN113608948A - Test system for automatically running different service flows to check robustness of ONU (optical network Unit) - Google Patents

Test system for automatically running different service flows to check robustness of ONU (optical network Unit) Download PDF

Info

Publication number
CN113608948A
CN113608948A CN202110916890.0A CN202110916890A CN113608948A CN 113608948 A CN113608948 A CN 113608948A CN 202110916890 A CN202110916890 A CN 202110916890A CN 113608948 A CN113608948 A CN 113608948A
Authority
CN
China
Prior art keywords
olt
test
onu
main control
network analyzer
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.)
Pending
Application number
CN202110916890.0A
Other languages
Chinese (zh)
Inventor
陈杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinhe Semiconductor Technology Wuxi Co Ltd
Original Assignee
Xinhe Semiconductor Technology Wuxi 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 Xinhe Semiconductor Technology Wuxi Co Ltd filed Critical Xinhe Semiconductor Technology Wuxi Co Ltd
Priority to CN202110916890.0A priority Critical patent/CN113608948A/en
Publication of CN113608948A publication Critical patent/CN113608948A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of automatic testing, and discloses a testing system for automatically running different service flows to check the robustness of an ONU (optical network unit), which comprises a main control computer, a network analyzer, an OLT (optical line terminal) and the ONU; the main control computer is connected to the network analyzer and the management port of the OLT through the switch 1 for control, and a test program is deployed; the network analyzer is controlled by a master control computer through a network, and can configure and operate service flow; the OLT is controlled by a main control computer through a network cable, the uplink port is connected to a network analyzer, and the PON port is connected with optical fibers of all the ONUs through an optical splitter to authenticate the online; the ONU can test a plurality of ONUs simultaneously, the network ports of all the ONUs are connected to the switch and then transferred to the network analyzer, and the optical fiber is connected to the OLT through the optical splitter. The invention uses program automation cycle to test the service condition of different specification parameters rapidly, and the number of the tested products is more, which can cover more service conditions, and greatly improves the efficiency and reliability.

Description

Test system for automatically running different service flows to check robustness of ONU (optical network Unit)
Technical Field
The invention relates to the field of automatic testing, in particular to a testing system for automatically running different service flows to check the robustness of an ONU (optical network unit).
Background
Currently, in the period of designing an ONU product, service flows of different specifications need to be run through a test instrument, and whether all the service flows are working normally is checked, so as to test the robustness of the product. Even if a test instrument is provided, the efficiency of manually configuring and checking different service flows is not high at present, the condition of all service flows with different parameters cannot be covered, and particularly if a plurality of ONUs are to be tested, the efficiency is lower.
Disclosure of Invention
The invention aims to provide a test system for automatically running different service flows to check the robustness of an ONU (optical network unit), so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme:
a test system for automatically running different service flows to check the robustness of ONU comprises a main control computer, a network analyzer, OLT and ONU,
a master control computer: the system is connected to a network analyzer and a management port of an OLT (optical line terminal) through a switch 1 for control, and a test program written by Python language is deployed;
a network analyzer: the system is controlled by a master control computer through a network, and can configure and operate service flows; one interface of the optical line terminal is connected to an uplink port of the OLT through a double-core gigabit optical fiber, and the other interface of the optical line terminal is connected to network ports of all the ONUs through a switch 2 to form a service access;
OLT: the PON port is connected with optical fibers of all the ONUs through the optical splitter to authenticate the online;
and ONU: the object to be tested can be tested simultaneously, the network ports of all the ONUs are connected to the switch and then transferred to the network analyzer, and the optical fibers are connected to the OLT through the optical splitters.
The test program of the master control computer has the following functional modules: the system comprises a main control module, a network analyzer control module, a service flow configuration module and an OLT control module.
The main control module: the system is responsible for controlling the overall logic, calling each interface, acquiring parameters transmitted by a tester during program operation and transmitting the parameters to other interfaces, and the main parameters support: the number of times of cycle test, the version of the IP protocol, the number of the items of the service flow, the upper and lower ranges of the flow bandwidth and the like.
Network analyzer control module: the module acquires detailed configuration data of the service flow from the main control module, remotely sends the detailed configuration data to the network analyzer through Python API to run the test, and returns detailed result data to the main control module after the test is finished.
A service flow configuration module: the module receives basic parameters such as service flow items and flow bandwidth ranges from the main control module, generates detailed service flow configuration parameters and returns the detailed service flow configuration parameters to the main control module.
An OLT control module: the module receives configuration parameters of the OLT from the main control module and remotely configures the OLT through a Telnet protocol.
A test system for automatically running different service flows to check the robustness of ONU comprises the following working procedures:
1. starting a Python program;
2. program control OLT authenticates and configures all ONU;
3. connecting to a network analyzer and reserving 2 interfaces;
4. clearing all service configurations of the network analyzer;
5. creating service flow with different parameters for each ONU, wherein the parameters comprise byte size, rate size, VLAN parameter, data rate, and data rate,
IP version, port number, etc.;
6. starting to run all service flows;
7. after waiting for a period of time, checking whether all the service flows work normally, if so, turning to step 4
Starting the next round of test, otherwise, turning to the 8 th step to finish the test;
8. and (5) finishing the test.
Compared with the prior art, the invention has the advantages that: the system of the invention uses program to automatically and circularly test the service conditions of different specification parameters, and the number of products tested at the same time is more, thus covering more service conditions and greatly improving the efficiency and reliability.
Drawings
Fig. 1 is a system block diagram of a test system that automatically runs different traffic streams to check the robustness of an ONU.
Fig. 2 is a flow chart of a test system for automatically running different traffic streams to check the robustness of an ONU.
FIG. 3 is a block diagram of a test program in the test system according to the present invention.
Detailed Description
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
Referring to fig. 1, a testing system for automatically running different service flows to check the robustness of an ONU mainly includes the following devices:
1. master control computer
The computer is connected to the network analyzer and the management port of the OLT through the switch 1 for control, and a program written in Python language is deployed, the program structure is shown in fig. 3, and the computer mainly has the following functional blocks:
the main control module: the system is responsible for controlling the overall logic, calling each interface, acquiring parameters transmitted by a tester during program operation and transmitting the parameters to other interfaces, and the main parameters support: the number of times of cycle test, the version of the IP protocol, the number of the items of the service flow, the upper and lower ranges of the flow bandwidth and the like;
network analyzer control module: the module acquires detailed configuration data of the service flow from the main control module, remotely sends the detailed configuration data to a network analyzer through Python API (application program interface) to run a test, and returns detailed result data to the main control module after the test is finished;
a service flow configuration module: the module receives basic parameters such as service flow items and flow bandwidth ranges from the main control module, generates detailed service flow configuration parameters and returns the detailed service flow configuration parameters to the main control module;
an OLT control module: the module receives configuration parameters of the OLT from the main control module and remotely configures the OLT through a Telnet protocol.
2. Network analyzer
The network is controlled by the master control computer, and the service flow can be configured and operated. One interface of the optical line terminal is connected to an uplink port of the OLT through a double-core gigabit optical fiber, and the other interface of the optical line terminal is connected to network ports of all the ONUs through a switch 2 to form a service path.
3、OLT:
The PON port is connected with optical fibers of all the ONUs through the optical splitter to authenticate the online;
4、ONU:
the object to be tested can be tested simultaneously, the network ports of all the ONUs are connected to the switch and then transferred to the network analyzer, and the optical fibers are connected to the OLT through the optical splitters.
The work flow diagram of the system is shown in fig. 2, and specifically includes the following steps:
(1) starting a Python program;
(2) program control OLT authenticates and configures all ONU;
(3) connecting to a network analyzer and reserving 2 interfaces;
(4) clearing all service configurations of the network analyzer;
(5) creating service flow with different parameters for each ONU, wherein the parameters comprise byte size, rate size, VLAN parameter, data rate, and data rate,
IP version, port number, etc.;
(6) starting to run all service flows;
(7) after waiting for a period of time, checking whether all the service flows work normally, if the service flows work normally, turning to the step (4) to restart the next round of test, and if not, turning to the step (8) to finish the test;
(8) and (5) finishing the test.
The system can automatically and circularly test the service flows with different specification parameters and check the result; the items and the bandwidth range of the service flow can be appointed by the parameters to carry out targeted test.
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.

Claims (6)

1. A test system for automatically running different service flows to check the robustness of an ONU (optical network unit) is characterized by comprising a main control computer, a network analyzer, an OLT (optical line terminal) and the ONU;
a master control computer: the system is connected to a network analyzer and a management port of an OLT (optical line terminal) through a switch 1 for control, and a test program written by Python language is deployed;
a network analyzer: the system is controlled by a master control computer through a network, and can configure and operate service flows; one interface of the optical line terminal is connected to an uplink port of the OLT through a double-core gigabit optical fiber, and the other interface of the optical line terminal is connected to network ports of all the ONUs through a switch 2 to form a service access;
OLT: the PON port is connected with optical fibers of all the ONUs through the optical splitter to authenticate the online;
and ONU: the object to be tested can be tested simultaneously, the network ports of all the ONUs are connected to the switch and then transferred to the network analyzer, and the optical fibers are connected to the OLT through the optical splitters.
2. The system according to claim 1, wherein the testing program of the main control computer comprises the following functional modules: the system comprises a main control module, a network analyzer control module, a service flow configuration module and an OLT control module.
3. The system according to claim 1, wherein the modules of the test program function as follows:
the main control module: the system is responsible for controlling the whole logic, calling each interface, acquiring parameters transmitted by a tester when a program runs, and transmitting the parameters to other interfaces;
network analyzer control module: the module acquires detailed configuration data of the service flow from the main control module, remotely sends the detailed configuration data to a network analyzer through Python API (application program interface) to run a test, and returns detailed result data to the main control module after the test is finished;
a service flow configuration module: the module receives basic parameters such as service flow items and flow bandwidth ranges from the main control module, generates detailed service flow configuration parameters and returns the detailed service flow configuration parameters to the main control module;
an OLT control module: the module receives configuration parameters of the OLT from the main control module and remotely configures the OLT through a Telnet protocol.
4. The system according to claim 1, wherein the system for testing the robustness of the ONU with different service flows comprises the following steps:
(1) starting a Python program;
(2) program control OLT authenticates and configures all ONU;
(3) connecting to a network analyzer and reserving 2 interfaces;
(4) clearing all service configurations of the network analyzer;
(5) creating service flows with different parameters for each ONU;
(6) starting to run all service flows;
(7) after waiting for a period of time, checking whether all the service flows work normally, if so, turning to the step (4)
Restarting the next round of test, otherwise, moving to the step (8) to finish the test
(8) And (5) finishing the test.
5. The test system for automatically running different traffic streams to check the robustness of ONU according to claim 1, wherein the parameters of said step (5) include byte size, rate size, VLAN parameter, IP version, port number.
6. The system according to claim 3, wherein the main parameters of the main control module support: the number of times of cycle test, the version of IP protocol, the number of items of service flow and the upper and lower ranges of flow bandwidth.
CN202110916890.0A 2021-08-11 2021-08-11 Test system for automatically running different service flows to check robustness of ONU (optical network Unit) Pending CN113608948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110916890.0A CN113608948A (en) 2021-08-11 2021-08-11 Test system for automatically running different service flows to check robustness of ONU (optical network Unit)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110916890.0A CN113608948A (en) 2021-08-11 2021-08-11 Test system for automatically running different service flows to check robustness of ONU (optical network Unit)

Publications (1)

Publication Number Publication Date
CN113608948A true CN113608948A (en) 2021-11-05

Family

ID=78308132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110916890.0A Pending CN113608948A (en) 2021-08-11 2021-08-11 Test system for automatically running different service flows to check robustness of ONU (optical network Unit)

Country Status (1)

Country Link
CN (1) CN113608948A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7418492B1 (en) * 2002-06-20 2008-08-26 P-Cube Ltd. System and a method for testing network communication devices
CN102104504A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Platform and method for testing northbound interface
CN107835110A (en) * 2017-12-15 2018-03-23 四川天邑康和通信股份有限公司 A kind of one-stop flow testing system of ONU and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7418492B1 (en) * 2002-06-20 2008-08-26 P-Cube Ltd. System and a method for testing network communication devices
CN102104504A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Platform and method for testing northbound interface
CN107835110A (en) * 2017-12-15 2018-03-23 四川天邑康和通信股份有限公司 A kind of one-stop flow testing system of ONU and method

Similar Documents

Publication Publication Date Title
CN112567647B (en) PON fault positioning method and device
CN104767657B (en) The registration of light cat and test system and method
US10965578B2 (en) Hardware architecture for universal testing system: cable modem test
CN105207712B (en) A kind of optical module multi-channel parallel test system and method
CN107835110B (en) ONU one-stop type flow test system and method
US8788722B2 (en) Method and arrangement handling pluggable modules and operating modes in a media converter system
CN101984561B (en) System and method for detecting optical fiber faults of passive optical network
CN106656562B (en) A kind of OLT batch issues the detection method and device of ONU configuration
CN103731205B (en) A kind of optical network unit automated testing method
WO2012024871A1 (en) Method and optical line terminal for optical fiber fault diagnosis in passive optical network
CN111885440A (en) Fault diagnosis and rapid processing method based on PON access network service
CN102594452A (en) Self diagnosis passive optical network system
CN103368650A (en) Method for configuring optical communication network
CN104301176A (en) System and method for testing multiple ONU devices
CN107040666B (en) Dial testing method, device, terminal and system for gigabit passive optical network bearer service
CN104144014A (en) Method, device and system for detecting optical fiber faults
CN202488458U (en) Self-diagnosis passive optical network system
CN113608948A (en) Test system for automatically running different service flows to check robustness of ONU (optical network Unit)
US8014670B2 (en) Method and apparatus for testing and monitoring data communications in the presence of a coupler in an optical communications network
CN112187354A (en) Stability testing method and system based on multiple ONU (optical network Unit) devices
CN113572521B (en) Automatic test method compatible with multi-manufacturer OLT intercommunication test
CN105848017A (en) Adaptive method enabling ONT (optical network terminal) to support GPON/EPON/P2P uplink modes
CN102158374B (en) Bandwidth speed limiting testing method and testing device
CN102447512A (en) Handheld terminal for testing PON (Passive Optical Network) optical communication quality
CN103441955B (en) A kind of test system and method for testing for being used to test dynamic bandwidth allocation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination