Disclosure of Invention
The application mainly aims to provide a PON product testing device, method and system, and aims to solve the technical problem that when PON equipment with POE function is tested in batches, the testing equipment cannot be suitable for different types of testing products and the testing equipment has poor consistency, so that the testing target cannot be achieved.
To achieve the above object, the present application provides a PON product testing apparatus, comprising: the first conversion module is connected with a first POE port of the equipment to be tested; the first analog module is connected with the first conversion module; the second conversion module is connected with a second POE port of the equipment to be tested; the second analog module is connected with the second conversion module; the switching module is respectively connected with the first conversion module and the second conversion module; the detection module is connected with the second simulation module; the main control module is respectively connected with the switching module, the detection module, the first simulation module and the second simulation module; the first conversion module and the second conversion module are used for respectively converting the electric signals of the first POE port and the second POE port into electric signals; the switching module is used for being conducted or disconnected according to the instruction of the main control module to obtain a first test unit and a second test unit, the first test unit is used for testing the output network port of the equipment to be tested when the equipment to be tested uses a first protocol, and the second test unit is used for testing the output network port of the equipment to be tested when the equipment to be tested uses a second protocol; the detection module is used for detecting the measured power value of the load of the first test unit or the second test unit; and the main control module is used for determining the matching capability of the equipment to be tested and the load according to the comparison result of the measured power value and the actual power value output by the equipment to be tested.
Optionally, the PON product testing apparatus further comprises: a first interface module and a second interface module;
When the first interface module is used as a control port, the first interface module is respectively connected with the main control module and the upper computer, and is used for transmitting a preset instruction sent by the upper computer to the main control module; when the first interface module is used as a cascading port, the first interface module is used for cascading the second interface module of the next PON product testing device, the first interface module is used for transmitting a preset instruction sent by the upper computer to the second interface module, and the second interface module is used for cascading the next PON product testing device.
Optionally, the first conversion module includes: a first input network port, a first network port transformer module connected in series with the first input network port, and a first output network port; the first input network port is connected with a first POE port of the equipment to be tested; the first network port transformer module is connected with the switching module; the first input network port is used for acquiring an electric signal of the first POE port; the first network port transformer module is used for converting the electric signals acquired by the first input network port into electric signals; the first output network port is used for outputting a data signal corresponding to the first input network port; the second conversion module includes: a second input network port, a second network port transformer module connected in series with the second input network port, and a second output network port; the second input network port is connected with a second POE port of the equipment to be tested; the second input network port is used for acquiring an electric signal of the second POE port; the second network port transformer module is used for converting the electric signals acquired by the second input network port into electric signals; the second output network port is used for outputting a data signal corresponding to the second input network port.
Optionally, the first simulation module includes: the first voltage adapting unit and the first load simulation module and the first load power control module are respectively connected with the first voltage adapting unit; the first voltage adapting unit is connected with the switching module; the first load power control module is connected with the main control module; the first voltage adapting unit is used for acquiring a protocol followed by the first POE port and a power level corresponding to the protocol, and outputting a corresponding current value; the first load power control module is used for setting different voltage values of the first load simulation module according to a first control instruction output by the main control module, and the first load simulation module obtains corresponding power values according to the different voltage values and the current value output by the first voltage adaptation unit.
Optionally, the detection module includes: a protocol detection unit and a grade detection unit; the second simulation module includes: the device comprises a second voltage adapting unit, a second load unit and a second load control unit which are respectively connected in series with the second voltage adapting unit, and a protocol detection unit and a grade detection unit which are respectively connected in series with the second voltage adapting unit; the second voltage adapting unit and the second network port transformer module; the second load control unit is connected with the main control module; the protocol detection unit and the grade detection unit are respectively connected with the main control module; the second voltage adapting unit is configured to obtain a protocol followed by the second POE port and a power class corresponding to the protocol, and output a corresponding voltage value; the second load control unit is used for setting different voltage values of the second load unit according to a second control instruction output by the main control module, and the second load unit obtains corresponding power values according to the voltage values output by the second voltage adaptation unit with different current values and sends the power values to the main control module; the protocol detection unit is used for detecting the protocol type followed by the second load unit and sending the protocol type to the main control module; the protocol types comprise a standard PD protocol and a non-standard PD protocol; the level detection unit is used for detecting the power level of the second load unit and sending the power level to the main control module, wherein the power level is the level of the load power specified by the standard PD protocol.
Optionally, when testing the output interface of the PON product running in the first protocol, the switching module switches the PON product testing apparatus to a first test unit, and when testing the output interface of the PON product running in the second protocol, the switching module switches the PON product testing apparatus to a second test unit; the first test unit includes: a second conversion module; the switching module is connected with the second conversion module; the second simulation module is connected with the switching module; the first simulation module is connected with the switching module; the second test unit includes: a first subunit connected with a first POE port of the device to be tested and a second subunit connected with a second POE port of the device to be tested; the first subunit comprises a first conversion module, a switching module and a first simulation module which are connected in series; the second subunit includes a second conversion module and a second analog module connected in series.
Optionally, the PON product testing apparatus further comprises: the first indication module is connected with the main control module and used for displaying connection information of the first conversion module and the POE port of the equipment to be tested and power supply state information of the first POE port of the equipment to be tested; and the second indication module is connected with the main control module and is used for displaying the connection information of the second conversion module and the POE port of the equipment to be tested and the POE port power supply state information of the equipment to be tested.
Optionally, the PON product testing apparatus further comprises: the fan module is connected with the main control module and used for cooling the first simulation module/the second simulation module; and the fan control module is connected with the main control module and used for controlling the rotating speed of the fan module according to the ambient temperature.
To achieve the above object, the present invention also provides a PON product testing method, which is applied to a PON product testing apparatus, the testing method comprising; responding to a preset instruction, determining a first test unit or a second test unit of the equipment to be tested, and acquiring a changed measurement power value output by the first test unit or the second test unit; and determining the matching capability of the equipment to be tested and the load according to the comparison result of the actual power value of the equipment to be tested and the changed measured power value.
In order to achieve the above object, the present invention further provides a PON product testing system, comprising; a plurality of cascaded PON product testing apparatus, the plurality of cascaded PON product testing apparatus comprising: a master test device and a plurality of slave test devices; the upper computer is connected with the main testing device; the flow tester is connected with each PON product testing device and the upper computer; the flow tester is used for testing the flow data of each PON product testing device; the upper computer is used for acquiring the actual power value of the equipment to be tested and the measured power value of the load through the PON product testing device, and determining the matching capability of the equipment to be tested and the load through the upper computer.
The embodiment of the application provides a PON product testing device, a PON product testing method and a PON product testing system, which are connected with a first POE port of equipment to be tested through a first testing unit, wherein the first testing unit is provided with a first simulation module; the second test module is connected with a second POE port and a first POE port of the equipment to be tested, and the second POE port and the first POE port are respectively connected with the second test module and the first simulation module; the main control module is used for switching the first test unit and the second test unit, so that the capability of the device to be tested for testing the POE port to drive different loads under different protocol types is obtained, the POE port of the device to be tested is tested by using the first simulation module and the second simulation module instead of cement resistors, and the test device has the characteristics of good consistency and strong reliability of test results and strong flexibility.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Fig. 1 is a block diagram of a PON product testing system according to an embodiment of the present application, referring to fig. 1, a PON product testing apparatus may include a first conversion module 100, a first analog module 300, a second conversion module 200, a second analog module 400, a switching module 26, a detection module 500, and a main control module 14, where the first conversion module 100 is connected to a first POE port 101 of a device under test 1; the first analog module 300 is connected to the first conversion module 100; the second conversion module 200 is connected with the second POE port 102 of the device under test 1; the second analog module 400 is connected to the second conversion module 200; the switching module 26 connects the first converting module 100 and the second converting module 200; the detection module 500 is connected with the second simulation module 400; the main control module 14 is respectively connected with the switching module 26, the detection module 500, the first simulation module 300 and the second simulation module 400; specifically, the first conversion module 100 and the second conversion module 200 may be configured to convert the electrical signals of the first POE port 101 and the second POE port 102 into electrical signals, respectively; the switching module 26 may be configured to be turned on or off according to an instruction of the main control module 14 to obtain a first test unit and a second test unit, where the first test unit is configured to test one network port of the device under test 1 when the device under test 1 uses a first protocol, and the second test unit is configured to simultaneously test two network ports of the device under test 1 when the device under test 1 uses a second protocol; the detection module 500 may be configured to detect a measured power value of the first test unit or the second test unit load; the main control module 14 may be configured to determine the matching capability of the device under test 1 and the load according to the comparison result between the measured power value and the actual power value output by the device under test 1.
The device under test 1 may operate the IEEE 802.3af and IEEE 802.3at protocols, i.e. the second protocol, and may also operate the 802.3bt protocol, i.e. the first protocol. IEEE 802.3af and IEEE 802.3at are two different POE (Power over Ethernet ) standards, IEEE 802.3af and IEEE 802.3at define methods of transmitting power and data over ethernet cables, and IEEE 802.3af (POE) standards define the manner of communication and power distribution between a power sourcing equipment (PSE, power Sourcing Equipment) and a Powered Device (PD). The PSE of the IEEE 802.3af standard may be a network switching device such as a switch, router, hub, etc., while the PD may be a wireless Access Point (AP), IP phone, webcam, etc. The PSE output power of the IEEE 802.3af standard is no more than 15.4W at maximum, and devices with no more than 12.95W at maximum power consumption can be powered due to the loss of the transmission wire. The IEEE 802.3at (poe+) standard requires that devices above 12.95W be defined as Class 4, and can extend power levels to 25W or higher. IEEE 802.3at may output more than 2 times more power than 802.3af, and the output power per port may be more than 30W. The PD responds with a Class 4 Class current telling the PSE whether it can be supplied with the higher power specified by 802.3 at. The device under test 1 operating in the IEEE 802.3bt protocol is the device under test 1. The IEEE 802.3bt specification introduces four new high power PD classes (Class 5-8) to bring the total number of classes to 9. Class 5-8 is new to the POE standard and translates to PD power levels of 40.0W to 71W. 802.3bt may be backward compatible with 802.3at and 802.3af, and a lower power PD may be connected to a higher power PSE without any problems. The test device sets the power of the POE powered device PD, which is an important step for simulating different POE power supply scenarios.
Specifically, in the embodiment of the present application, the device under test 1 is a test Power Sourcing Equipment (PSE), and the first analog module 300 and the second analog module 400 are Powered Devices (PDs). The switching module 26 is used for selecting the first test unit and the second test unit according to the instruction of the main control module 14. After the first test unit and the second test unit are determined, the detection module 500 detects a measured power value of the load of the first test unit or the second test unit. The main control module 14 determines the matching capability of the device under test 1 and the load according to the comparison result of the measured power value and the actual power value output by the device under test 1. The actual power values may include power values that the device under test 1 may increase under different protocols and at different levels. The measured power value is a test power value outputted by the first analog module 300 or the second analog module 400 according to the command of the main control module 14, and the test power value can test whether the device 1 to be tested can provide a corresponding power value under different power values, and whether the power level of the test power value is the same as the power level provided by the device 1 to be tested, so as to determine the matching capability of the device 1 to be tested and the load.
In an embodiment of the present application, the PON product testing apparatus further comprises a first interface module 12 and a second interface module 13; when the first interface module 12 is used as a control port, the first interface module 12 is respectively connected with the main control module 14 and the upper computer 3, and the first interface module 12 is used for transmitting a preset instruction sent by the upper computer 3 to the main control module 14; when the first interface module 12 is used as a cascade port, the first interface module 12 cascades the second interface module 13, and the first interface module 12 is configured to transmit a preset instruction sent by the host computer 3 to the second interface module 13.
The first interface module 12 may be used as a control port and a cascade port, and when the first interface module 12 is used as a control port, the first interface module 12 is connected with the upper computer 3 through a serial port. When the first interface module 12 serves as a cascade port, the first interface module 12 is connected with the second interface module 13 of its next-stage test device.
The main control module 14 is connected to the upper computer 3 through the first interface module 12, the first interface module 12 receives the configuration command issued by the upper computer 3 through the universal asynchronous receiver/transmitter UART port, and the first interface module 12 can upload the status information of each testing device; further, the first interface module 12 may be further connected to a second interface module 13 of the next-stage testing device, where the second interface module 13 performs cascade control with the next-stage testing device through an asynchronous UART receiving/transmitting port; the configuration command of the upper computer 3 realizes one-key configuration of parameters of all cascade test devices in a cascade mode, and one-key reading of states of all cascade test devices; furthermore, the configuration command of the upper computer 3 can configure the parameters of the designated cascade test device in a cascade mode, and designate the state of the designated cascade test device; through the cascading mode of the testing device, 16 testing devices can be cascaded AT maximum, and the power test and the flow test of 32 POE AF/AT power supply ports can be realized AT the same time, or the power test and the flow test of 16 POE BT power supply ports can be realized AT the same time. Note that the asynchronous UART communication may employ RJ45 connectors, and may be cascaded using unshielded twisted pair UTP, shielded twisted pair STP. UTP and STP twisted pair used for asynchronous receiving and transmitting UART communication can be specifically used as connecting wires for connecting a test device to a POE port of a light cat, so that the variety of test materials can be reduced.
In an embodiment of the present application, the first conversion module 100 includes: a first input port 22, a first port transformer module 25 and a first output port 23 connected in series; the first input network port 22 is connected with a first POE port 101 of the device 1 to be tested; the first network port transformer module 25 is connected with the switching module 26; the first input network port 22 is configured to obtain an electrical signal of the first POE port 101; the first network port transformer module 25 is configured to convert an electrical signal acquired by the first input network port 22 into an electrical signal and a data signal; the first output network port 23 is used for outputting the data signal output by the first input network port 22; the second conversion module 200 includes: the second input network port 4, the second network port transformer module 6 and the second output network port 5 are connected in series; the second input network port 4 is connected with a second POE port 102 of the device 1 to be tested; the second network port transformer module 6 is connected with the second input network port 4; the second input network port 4 is configured to obtain an electrical signal of the second POE port 102; the second network port transformer module 6 is configured to convert the electrical signal acquired by the second input network port 4 into an electrical signal and a data signal; the second output port 5 is used for outputting the data signal of the second input port 4.
The first input network port 22 is connected to the first POE port 101 of the device under test 1. The first network port transformer module 25 is configured to convert an electrical signal obtained by the first input network port 22 into an electrical signal and a data signal. The second output network port 5 is connected with the flow tester 2, and the flow tester 2 is used for testing the data flow of the POE port of the device 1 to be tested.
Specifically, the second output port 5 is connected to the flow rate tester 2. The electrical signals of the device under test 1 can be converted into electrical power signals and data signals by the first conversion module 100 and the second conversion module 200.
In an embodiment of the present application, the first simulation module 300 includes: the first voltage adapting unit, the first load simulation module 31 and the first load power control module 30 are connected in series; the first voltage adaptation unit is connected with the switching module 26; the first load power control module 30 is connected with the main control module 14; the first voltage adapting unit is configured to obtain a protocol followed by the first POE port 101 and a power class corresponding to the protocol, and output a corresponding voltage value and current value; the first load power control module 30 is configured to set different current values of the first load simulation module 31 according to a first control instruction output by the main control module 14, and the first load simulation module 31 obtains a corresponding power value according to the different current values.
The first voltage adaptation unit may comprise, for example, a first rectifier bridge 27, a first PD chip 28, a first DCDC buck module 29. The first rectifier bridge 27 is used for separating power signals from the wire pairs 1/2,3/6 inserted into the network cable of the first input network port 22, and the power signals are rectified by the first rectifier bridge 27 and then output-48V standard voltage. The first PD chip 28 is configured to detect a protocol used by the first POE port 101 of the device under test 1. The first DCDC buck module 29 is configured to convert the-48V voltage to a 12V voltage for the first load simulation module 31, and synchronously convert the voltage to a 3.3V voltage for the main control module 14. The main control module 14 controls the measured power output by the first load simulation module 31 through the first load power control module 30. According to the embodiment of the application, the first simulation module 300 can rectify and step down the power signal according to the protocol and the power level used by the first POE port 101 to obtain the input voltage of the first load simulation module 31, and the main control module 14 uses the first load power control module 30 to control the current value of the first load simulation module 31, so that a variable measurement power value can be obtained.
In an embodiment of the present application, the second simulation module 400 includes: the second voltage adapting unit, the second load unit and the second load control unit are connected in series, and the protocol detection unit and the grade detection unit are respectively connected in series with the second voltage adapting unit; the second voltage adapting unit and the second network port transformer module 6; the second load control unit is connected with the main control module 14; the protocol detection unit and the grade detection unit are respectively connected with the main control module 14; the first voltage adapting unit is configured to obtain a protocol and a power level corresponding to the protocol followed by the second POE port 102, and output a corresponding voltage value and a corresponding current value; the second load control unit is configured to set different current values of the second load unit according to a second control instruction output by the main control module 14, and the second load unit obtains corresponding power values according to the different current values and sends the power values to the main control module 14; the protocol detection unit is used for detecting the protocol type followed by the second load unit and sending the protocol type to the main control module 14; the protocol types comprise a standard PD protocol and a non-standard PD protocol; the level detection unit is configured to detect a power level to which the second load unit belongs, and send the power level to the main control module 14, where the power level is a level to which the standard PD protocol specifies the load power.
The second voltage adapting unit may include a second rectifier bridge 7, a second PD chip 8, and a second DCDC buck module 9. The second rectifier bridge 7 is used for separating the network cable pairs 4/5,7/8 inserted in the third input network port into power signals, and the power signals output-48V voltage through the second rectifier bridge 7. The second PD chip 8 is configured to detect a protocol used by the second POE port 102 of the device under test 1. The second DCDC buck module 9 is configured to convert a-48V voltage to a 12V voltage for the second load unit, and synchronously convert the voltage to a 3.3V voltage for the main control module 14. The second load unit and the second load control unit may be the second load simulation module 10 and the second load power control module 19, respectively. The protocol detection unit may include a first relay control module 15 and a standard PD detection module 16, and specifically, the main control module 14 controls the standard PD detection module 16 to detect a protocol used by the second POE port 102 through the first relay control module 15. The protocols used by the second POE port 102 can include a first non-standard PD protocol, and a standard PD protocol, where the first non-standard PD protocol indicates that the power value output by the second POE port 102 is below a minimum power threshold specified by the protocol; the standard PD protocol indicates that the power value output by the second POE port 102 belongs to the standard threshold range specified by the detection protocol, and the second non-standard PD protocol indicates that the power value output by the second POE port 102 is higher than the maximum power threshold specified by the POE protocol.
The level detection unit comprises a second relay control module 17 and a level detection module 18, and the main control module 14 controls the level detection module 18 to detect the power level of the second load unit through the second relay control module 17. In the embodiment of the present application, the first analog module 300 may rectify and step down the power signal according to the protocol and the power level used by the second POE port 102 to obtain the input voltage of the second load analog module 10, and the main control module 14 uses the second load power control module 19 to control the current value of the second load analog module 10, so as to obtain the variable measured power value. Meanwhile, the main control module 14 may also obtain the power level and the type of protocol used by the second load unit.
In an embodiment of the present application, the first test unit may include a second conversion module 200, a second analog module 400, a switching module, a first analog module 300, and a second conversion module 200, wherein the second analog module 400 is connected to the second conversion module 200; the switching module is connected with the second conversion module 200; the first simulation module 300 is connected with the switching module; the second test unit includes: a first subunit connected with a first POE port of the device to be tested, and a second subunit connected with a second POE port of the device to be tested; the first subunit includes a first conversion module 100, a switching module, and a first analog module 300 in series; the second subunit includes a second conversion module 200 and a second analog module 400 in series.
In the embodiment of the present application, the PON product testing apparatus further comprises a first indication module, connected to the main control module 14, configured to display connection information between the first conversion module 100 and a POE port of the device under test 1 and power supply status information of the first POE port 101 of the device under test 1; the second indication module is connected to the main control module 14, and is configured to display connection information of the second conversion module 200 and the POE port of the device under test 1 and POE port power supply status information of the device under test 1.
The first indicator module and the second indicator module may be the first indicator light module 24 and the second indicator light module 11, respectively. The first indicator light module 24 and the second indicator light module 11 are both used for indicating the network port state of the device 1 to be tested, wherein the indicating state comprises a port connection/data transmission Link/Active state and indicates a port power supply state.
In the embodiment of the present application, the PON product testing apparatus further comprises a fan module 21, a temperature detection module 20, and a fan control module 32, where the fan module 21 is connected to the main control module 14 through the fan control module 32 and can be used to cool the first analog module 300/the second analog module 400; the fan control module 32 is connected to the main control module 14 and can be used to control the rotational speed of the fan module 21 according to the ambient temperature. The main control module 14 controls the rotation speed of the fan module 21 by using the fan control module 32 according to the internal temperature detected by the temperature detection module 20, so as to cool the inside of the testing device.
On the basis of the foregoing embodiment, the embodiment of the present application further provides a PON product testing system, referring to fig. 1, the PON product testing system may include a plurality of cascaded PON product testing apparatuses, an upper computer 3, and a flow tester 2, where the plurality of cascaded PON product testing apparatuses include: a master test device and a plurality of slave test devices; the upper computer 3 can be used for connecting a main testing device; the flow tester 2 can be used for connecting each PON product testing device with the upper computer 3; the flow tester 2 is used for testing the flow data of each PON product testing device; the upper computer 3 is used for obtaining the actual power value of the equipment 1 to be tested and the measured power value of the load through the PON product testing device, and displaying the actual power value and the measured power value of the load through the upper computer 3.
For example, referring to fig. 2, the plurality of PON product testing apparatuses may be 4 testing apparatuses connected through a cascade connection, the upper computer 3 may be a server or a PC, and the traffic tester 2 may be a code stream tester. When testing a PON product (to-be-tested device E) which operates in the IEEE 802.3af and IEEE 802.3at protocols and has POE function, the connection relationship of the test system is as follows: the test equipment input network ports 1/2 of the 4 test devices are respectively connected to POE ports 1-8 of 8 equipment to be tested 1E through twisted pairs; the 4 test devices may include test device a, test device B, test device C, and test device D. The output network port 1/2 of the test equipment of the 4 test devices is connected to the code stream tester ports 1-8 of the code stream tester F through twisted pair wires; 4 test devices are cascaded through a serial port cascade module/uplink and a serial port cascade module/downlink; the serial port cascade module/uplink of the testing device A is connected to an asynchronous communication interface UART of the testing server G through a twisted pair; the serial port cascade module/downlink of the testing device A is connected to the serial port cascade module/uplink of the optical cat testing device B through twisted pair wires; the serial port cascade module/downlink of the testing device B is connected to the serial port cascade module/uplink of the testing device C through twisted pair wires; the serial cascade module/downstream of the testing device C is connected to the serial cascade module/upstream of the testing device D through twisted pair wires. The network port of the test server G is connected to the management network port of the code stream tester F through a twisted pair; the code stream tester F outputs 1/2 flow data of the product to be tested through the testing equipment output network port of the testing device; the test server G sets the flow of the product to be tested through a management network port of the code stream tester and displays the test result.
Illustratively, the general configuration commands for the main control module 14 to configure the test device are as follows:
[shell]:Type All All 2;
the command may be used to set the optical cat POE protocol type of all the test devices to 2, i.e. the POE port of the device under test 1 runs the IEEE 802.3af or IEEE 802.3at protocol;
[shell]:Class All All 4;
the command may be used to set the POE power Class of all test devices to Class 4, POE powered port maximum simulated 30W power;
[shell]:Current All All 550;
This command may be used to set POE powered port current for all test devices to 550mA; according to the IEEE 802.3af and IEEE 802.3at protocol standards, the main control module 14 sets the POE power receiving port power of all the test devices to be 30W; the main control module 14 can set the POE power receiving port to any power value meeting the IEEE 802.3af and IEEE 802.3at protocol standards according to the test requirement;
[shell]:Save All All;
the command can be used for storing all configuration information of the testing device, and the next round of testing the products to be tested with the same model can directly use the testing device without configuration;
it should be noted that, the test device may perform POE power receiving power simulation, and the test device tests the capability of the first POE port 101 of the device under test 1 to drive different loads according to the dynamic power value; meanwhile, the working state/rotating speed of the cooling fan is adaptively adjusted in the testing device according to the collected temperature data so as to meet the cooling requirement of the testing device.
It should be noted that, in this embodiment, only the cascade connection of 4 test devices is shown to perform the test of the 8-port device under test 1, if more multi-port devices under test 1, such as 16-port and 24-port devices under test 1, it is convenient and flexible to use multiple test devices to perform the cascade connection to meet the test requirements of the multi-port device under test 1;
Referring to fig. 3, when testing a PON product (to-be-tested device E) operating in IEEE 802.3bt protocol and having POE function, the connection relationship of the test system is as follows: the input network ports 1 of the test equipment of the 4 test devices are respectively connected to the power supply ports 1-4 of the 8-port equipment 1E to be tested through twisted pairs; the 4 test devices comprise a test device A, a test device B, a test device C and a test device D. The output network ports 1 of the test equipment of the 4 test devices are connected to the code stream tester ports 1-4 of the code stream tester F through twisted pair wires; 4 test devices are cascaded through a serial port cascade module/uplink and a serial port cascade module/downlink; the serial port cascade module/uplink of the testing device A is connected to an asynchronous communication interface UART of the testing server G through a twisted pair; the serial port cascade module/downlink of the testing device A is connected to the serial port cascade module/uplink of the testing device B through twisted pair wires; the serial port cascade module/downlink of the testing device B is connected to the serial port cascade module/uplink of the testing device C through twisted pair wires; the serial cascade module/downstream of the testing device C is connected to the serial cascade module/upstream of the testing device D through twisted pair wires. The network port of the test server G is connected to the management network port of the code stream tester F through a twisted pair. The test server G may set the working mode of the 4 test devices through the asynchronous communication interface UART: the code stream tester F tests flow data of POE products through a test device output network port 1 of the test device; the test server G sets the flow of the product to be tested through a management network port of the code stream tester and displays the test result.
Illustratively, the general configuration commands for the main control module 14 to configure the test device are as follows:
[shell]:Type All All 3;
The command may be used to set POE Type 3 for all test devices, i.e., POE port running protocol is IEEE 802.3bt. Correspondingly, after the test device is set to be of the support Type 3 by the command, each test device can only be connected by using the test equipment input network port 1 and the test equipment output network port 1.
[shell]:Class All All 6;
The command may be used to set the POE power Class of all test devices to Class 6, POE powered port maximum analog power to 60W;
[shell]:Current All All 1100;
The command may be used to set POE powered port current for all test devices to 1100mA; according to the IEEE 802.3bt protocol, POE power receiving port power of all the test devices is set to be 60W; the test device can set the POE power receiving port to any power value meeting the requirements of the IEEE 802.3bt protocol standard according to the test requirements;
[shell]:Save All All;
The command can be used for storing all configuration information of the testing device, and the next round of testing the products to be tested with the same model can directly use the existing configuration of the testing device without configuration. It should be noted that, when the test device performs POE power receiving power simulation, the test device tests the capabilities of the POE ports of the device 1 to be tested to drive different loads according to the dynamic power values; meanwhile, the working state/rotating speed of the cooling fan is adaptively adjusted in the testing device according to the collected temperature data so as to meet the cooling requirement of the testing device.
It should be noted that, the testing device only shows that the 4-port testing device is used for cascade connection to test the 4-port equipment 1 to be tested, if more multi-port equipment 1 to be tested are required to be tested, such as 8-port and 16-port equipment 1 to be tested, a plurality of testing devices can be used for cascade connection conveniently and flexibly to meet the testing requirement of the multi-port equipment 1 to be tested.
On the basis of the above embodiment, fig. 4 is a flowchart of a PON product testing method according to an embodiment of the present application, and referring to fig. 4, the method is applied to a PON product testing apparatus, and is used for solving a technical problem that when a PON device with POE function is tested in batch, a test target cannot be achieved due to a fact that the test device cannot be applied to different types of test products and the test device has poor consistency, where the test method includes;
s10, responding to a preset instruction, determining a first test unit or a second test unit of the equipment to be tested, and acquiring a changed measurement power value output by the first test unit or the second test unit;
S20, determining the matching capability of the equipment to be tested and the load according to the comparison result of the actual power value and the changed measured power value of the equipment to be tested.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.