CN105790834A - Optical network unit testing system and testing method - Google Patents

Optical network unit testing system and testing method Download PDF

Info

Publication number
CN105790834A
CN105790834A CN201610243262.XA CN201610243262A CN105790834A CN 105790834 A CN105790834 A CN 105790834A CN 201610243262 A CN201610243262 A CN 201610243262A CN 105790834 A CN105790834 A CN 105790834A
Authority
CN
China
Prior art keywords
optical network
network unit
test
address
common port
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
CN201610243262.XA
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.)
Pole Shenzhen Intelligence Associating Science And Technology Co Ltd
Original Assignee
Pole Shenzhen Intelligence Associating Science And 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 Pole Shenzhen Intelligence Associating Science And Technology Co Ltd filed Critical Pole Shenzhen Intelligence Associating Science And Technology Co Ltd
Priority to CN201610243262.XA priority Critical patent/CN105790834A/en
Publication of CN105790834A publication Critical patent/CN105790834A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The invention discloses an optical network testing system which comprises a testing computer, a switch and a plurality of optical network units, wherein the switch comprises a gathering port and a plurality of common ports, the gathering port is in communication connection with the testing computer, and the common ports are in communication connection with the optical network units. The testing computer further comprises an NAT module which drives the common ports of the switch to assign a unique MAC address and IP address to the optical network units connected with the common ports. The invention further discloses an optical network testing method. Compared with the prior art, The optical network unit testing system and testing method realize simultaneous measurement of multiple optical network units, reduce error measurement rate and realize on-line monitoring of optical network units.

Description

Optical network unit test system and method for testing thereof
Technical field
The present invention relates to communication test technical field, particularly relate to a kind of optical network unit test system and method for testing thereof.
Background technology
Along with the development of network, the yield of network communication equipment is also increasing, and no matter is generally research and development department or production division, and the quantity of dedicated tester is all very nervous.This is because although but dedicated tester is powerful expensive, and the test port limited amount provided, use special tester in a large number to accelerate production and test speed, the cost of product will be increased.
Optical network unit needed to carry out a series of software and hardware test before dispatching from the factory.Optical network unit testing scheme in correlation technique mainly has two kinds, a kind of by adopting TELNET control mode connect optical network unit to be measured and it is carried out soft and hardware test, but this method one test Computerized intelligent tests an optical network unit to be measured, thus causing the authority that utilization rate of equipment and installations is low simultaneously;Another kind utilizes serial ports box that network interface is converted to serial ports and realizes the soft and hardware test of optical network unit to be measured, but serial ports box when switching network data often less stable there will be tomography and the disappearance of data, improve the false failure rate of test, and the deadlock of test computer can be caused when multiple optical network unit to be measured tested at the same time by serial ports box and run phenomenon slowly.
Therefore, it is necessary to provide a kind of new optical network unit test system and method for testing thereof to solve above-mentioned technical problem.
Summary of the invention
It is an object of the invention to overcome above-mentioned technical problem, it is provided that a kind of multiple stage optical network unit that realizes measures simultaneously, reduces false failure rate and realize optical network unit test system and the method for testing thereof of optical network unit on-line monitoring.
The invention provides a kind of optical network unit test system, including test computer, switch and multiple optical network unit, described switch includes one and converges mouth and multiple common port, described convergence mouth is connected with described test compunlcation, multiple described common ports communicate to connect with multiple described optical network units respectively, described common port includes unique VLANID, described test computer includes NAT module, described NAT module is used for the described common port driving described switch and distributes unique MAC Address and IP address to the described optical network unit being connected with described common port, described optical network unit first passes through after switch described in described NAT module drive peels off the described VLANID of the described common port being connected with described optical network unit and communicates with described test computer.
Preferably, described test computer includes monitoring modular, and described monitoring modular is for monitoring the network connection state of described optical network unit.
Preferably, described test computer also includes IP address removing module, for deleting, after the test of described optical network unit terminates, the described IP address that described optical network unit is assigned with.
Invention additionally discloses a kind of optical network unit method of testing, comprise the steps:
VLANID is set, the multiple described common port of described switch is respectively provided with different VLANID;
Connection line, is connected described convergence mouth with described test compunlcation, multiple described common ports and multiple described optical network units is communicated to connect respectively;
Distribution MAC Address and IP address, the described common port of switch described in described NAT module drive distributes unique MAC Address and IP address to the described optical network unit being connected with described common port;
Sending request bag, described test computer sends request bag to described common port;
Feedback response packet, receives described request bag and feeds back corresponding response packet with the described optical network unit connected by the described common port sending request bag;
Stamping VLANID, the described response packet received is stamped the VLANID corresponding with described common port by described common port;
Peeling off VLANID, described test computer is before receiving described response packet, and described NAT module peels off the VLANID of described response packet.
Preferably, described test computer also includes IP address removing module, also includes after described stripping VLANID step:
Deleting IP address, the test of described optical network unit deletes, by described IP address removing module, the described IP address that described optical network unit is assigned with after terminating.
Compared with correlation technique, optical network unit test system provided by the invention is tested computer and adopts NAT module drive switch distribution unique mac address and IP address to the described optical network unit that is connected, realize a test computer and test multiple stage optical network unit simultaneously, and stable network data is provided, reduces the false failure rate in test;After test terminates, delete the IP address of correspondence for testing use later, save the network address;The network connection state of optical network unit is monitored, it is to avoid think that optical network unit extends the testing time online by mistake, improve testing efficiency by monitoring module.
Accompanying drawing explanation
Fig. 1 is the structural representation of optical network unit of the present invention test system;
Fig. 2 is the flow chart of optical network unit method of testing of the present invention.
Detailed description of the invention
Below in conjunction with drawings and embodiments, the invention will be further described.
Refer to Fig. 1, test the structural representation of system for optical network unit of the present invention.Described optical network unit test system 1 includes test computer 11, switch 13 and multiple optical network unit 15.Described test computer 11 is connected to described switch 13 by netting twine, and described switch 13 is connected to multiple described optical network unit 15 by netting twine.
Based on above-mentioned configuration, when carrying out test operation, described switch 13 is communicated by netting twine and described test computer 11, and multiple described optical network units 15 are communicated by netting twine and described switch 13.
Described test computer 11 includes NAT module 111, IP address removing module 113 and monitoring module 115.Described NAT module 111 is used for driving the described switch 13 multiple MAC Address of corresponding distribution and IP address extremely multiple described optical network units 15.And described optical-fiber network 15 first passes through after described NAT module 111 drives described switch 13 to peel off VLANID and communicates with described test computer 11.After test terminates, described IP address removing module 113 drives described switch 13 to delete the described IP address that described optical network unit 15 is assigned with, and uses for later test.Described monitoring module 115 is for monitoring the network connection state of described optical network unit 15.Concrete, described test computer 11 runs PING instruction, it is judged that whether described optical network unit 15 disconnects with network.
Described switch 13 includes one and converges mouth 131 and multiple described common port 133.Described convergence mouth 131 is connected with described test computer 11, and described switch 13 is communicated with described test computer 11 by described convergence mouth 131.Multiple described common ports 133 are corresponding with multiple described optical network units 15 respectively to be connected, and described common port 133 includes unique VLANID, stamps VLANID on the response packet that described optical network unit 15 sends.The described common port 133 of switch 13 described in described NAT module drive distributes unique MAC Address and IP address to the described optical network unit 15 being connected with described common port 133.
Refer to Fig. 2, for the flow chart of optical network unit method of testing of the present invention.The present invention also provides for a kind of optical network unit method of testing, comprises the steps:
Step S1: arrange VLANID, is respectively provided with different VLANID by the multiple described common port of described switch 13;
Step S2: connection line, communicates to connect described convergence mouth 131 with described test computer 11, is communicated to connect respectively with multiple described optical network units 15 by multiple described common ports 133;
Step S3: distribution MAC Address and IP address, described NAT module 111 drives the described common port 133 of described switch 13 to distribute unique MAC Address and IP address to the described optical network unit 14 being connected with described common port 133;
Step S4: send request bag, described test computer 11 sends request bag to described common port 133;
Step S5: feedback response packet, receives described request bag and feeds back corresponding response packet with the described optical network unit 15 connected by the described common port 133 sending request bag;
Step S6: stamp VLANID, the described response packet received is stamped the VLANID corresponding with described common port 133 by described common port 133;
Step S7: peel off VLANID, described test computer 11 is before receiving described response packet, and described NAT module peels off the VLANID of described response packet.
Additionally, described step S7: also include after peeling off VLANID:
Step S8: the test of described optical network unit 15 deletes, by described IP address removing module 113, the described IP address that described optical network unit 15 is assigned with after terminating.
Compared with correlation technique, in optical network unit provided by the invention test system 1, test computer 11 adopts NAT module 111 to drive switch 13 to distribute unique MAC Address and IP address to the described optical network unit 15 being connected, realize a test computer 11 and test multiple stage optical network unit 15 simultaneously, and stable network data is provided, reduces the false failure rate in test;After test terminates, delete the IP address of correspondence for testing use later, save the network address;The network connection state of optical network unit 15 is monitored, it is to avoid think that optical network unit 15 extends the testing time online by mistake, improve testing efficiency by monitoring module.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical field, all in like manner include in the scope of patent protection of the present invention.

Claims (5)

1. an optical network unit test system, it is characterized in that, including test computer, switch and multiple optical network unit, described switch includes one and converges mouth and multiple common port, described convergence mouth is connected with described test compunlcation, multiple described common ports communicate to connect with multiple described optical network units respectively, described common port includes unique VLANID, described test computer includes NAT module, described NAT module distributes unique MAC Address and IP address for driving described common port to the described optical network unit being connected with described common port, described optical network unit first passes through after switch described in described NAT module drive peels off the described VLANID of the described common port being connected with described optical network unit and communicates with described test computer.
2. optical network unit according to claim 1 test system, it is characterised in that described test computer includes monitoring modular, described monitoring modular is for monitoring the network connection state of described optical network unit.
3. optical network unit according to claim 1 test system, it is characterised in that described test computer also includes IP address removing module, for deleting, after the test of described optical network unit terminates, the described IP address that described optical network unit is assigned with.
4. test a method of testing for system based on the optical network unit described in claim 1, comprise the steps:
VLANID is set, the multiple described common port of described switch is respectively provided with different VLANID;
Connection line, is connected described convergence mouth with described test compunlcation, multiple described common ports and multiple described optical network units is communicated to connect respectively;
Distribution MAC Address and IP address, the described common port of switch described in described NAT module drive distributes unique MAC Address and IP address to the described optical network unit being connected with described common port;
Sending request bag, described test computer sends request bag to described common port;
Feedback response packet, receives described request bag and feeds back corresponding response packet with the described optical network unit connected by the described common port sending request bag;
Stamping VLANID, the described response packet received is stamped the VLANID corresponding with described common port by described common port;
Peeling off VLANID, described test computer is before receiving described response packet, and described NAT module peels off the VLANID of described response packet.
5. the method for testing of optical network unit according to claim 4 test system, it is characterised in that described test computer also includes IP address removing module, also includes after described stripping VLANID step:
Deleting IP address, the test of described optical network unit deletes, by described IP address removing module, the described IP address that described optical network unit is assigned with after terminating.
CN201610243262.XA 2016-04-19 2016-04-19 Optical network unit testing system and testing method Pending CN105790834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610243262.XA CN105790834A (en) 2016-04-19 2016-04-19 Optical network unit testing system and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610243262.XA CN105790834A (en) 2016-04-19 2016-04-19 Optical network unit testing system and testing method

Publications (1)

Publication Number Publication Date
CN105790834A true CN105790834A (en) 2016-07-20

Family

ID=56396968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610243262.XA Pending CN105790834A (en) 2016-04-19 2016-04-19 Optical network unit testing system and testing method

Country Status (1)

Country Link
CN (1) CN105790834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540217A (en) * 2018-07-13 2018-09-14 太仓市同维电子有限公司 A kind of test method improving OLT test ONT or ONU efficiency
CN110769334A (en) * 2019-11-05 2020-02-07 珠海迈科智能科技股份有限公司 Combination test method and system for passive optical fiber equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130058654A1 (en) * 2010-04-15 2013-03-07 Zte Corporation Gigabit-Capable Passive Optical Network (GPON) system and Point-to-Point Protocol over Ethernet (PPPOE) configuration method implemented thereby
CN104320313A (en) * 2014-11-28 2015-01-28 上海斐讯数据通信技术有限公司 System and method for testing ports of interchanger
CN105262638A (en) * 2015-09-16 2016-01-20 太仓市同维电子有限公司 Method for simultaneously testing plurality of electronic products

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130058654A1 (en) * 2010-04-15 2013-03-07 Zte Corporation Gigabit-Capable Passive Optical Network (GPON) system and Point-to-Point Protocol over Ethernet (PPPOE) configuration method implemented thereby
CN104320313A (en) * 2014-11-28 2015-01-28 上海斐讯数据通信技术有限公司 System and method for testing ports of interchanger
CN105262638A (en) * 2015-09-16 2016-01-20 太仓市同维电子有限公司 Method for simultaneously testing plurality of electronic products

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540217A (en) * 2018-07-13 2018-09-14 太仓市同维电子有限公司 A kind of test method improving OLT test ONT or ONU efficiency
CN108540217B (en) * 2018-07-13 2021-08-17 太仓市同维电子有限公司 Test method for improving OLT test ONT or ONU efficiency
CN110769334A (en) * 2019-11-05 2020-02-07 珠海迈科智能科技股份有限公司 Combination test method and system for passive optical fiber equipment
CN110769334B (en) * 2019-11-05 2022-05-20 珠海迈科智能科技股份有限公司 Combination test method and system for passive optical fiber equipment

Similar Documents

Publication Publication Date Title
CN102185733B (en) Network card testing method and system
US8165014B2 (en) Methods and systems for using managed port circuitry to map connections among structured cabling apparatus and network devices
CN104852912B (en) Domain name registration service device Performance Test System and method
CN101094121B (en) Method, system and device for detecting Ethernet links among not direct connected devices
CN106559254A (en) SDN multiple-domain networks device and implementation method based on both-end mouth switch
CN105262638A (en) Method for simultaneously testing plurality of electronic products
CN104601394A (en) Business chain connectivity detection method, device and system
CN104253436B (en) A kind of multiple module paralleling formula Large Copacity active filter control system and its implementation
CN104301176A (en) System and method for testing multiple ONU devices
CN107094091A (en) A kind of intelligent substation station level network configuration method of calibration and system
CN105790834A (en) Optical network unit testing system and testing method
CN103200067A (en) Dynamic virtual LANs to segregate data
CN104486151A (en) Method and device for carrying out production testing on access terminal product
CN101424721A (en) Telemetry link on-line detecting system of scheduling automated system
CN107356284A (en) A kind of detection method, apparatus and system
CN109005080B (en) Distributed packet forwarding implementation method, implementation system and automatic test method
CN106294155A (en) A kind of distributed I/O Simulation Control method of testing, system and simulation computer
CN107037277A (en) Detection device and method for multiple powered devices of Ethernet power supply system
CN1715956A (en) Double collecting machine system and it double collecting method for double machine hot back-up
CN104104519B (en) A kind of power-off restarting method, apparatus and system
CN106603332A (en) Method for simultaneously testing internet accesses of to-be-tested product
CN103036881A (en) System for unified configuration of isolation devices
CN104954065B (en) A kind of passive optical network and communication means
RU2012136215A (en) DEVICE AND METHOD OF CONTROL OF ELECTRICAL DEVICE OR INSTALLATION AND ELECTRICAL INSTALLATION CONTAINING ONE SUCH DEVICE
CN102830671A (en) Method for real-time monitoring of remote equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720