CN-122027520-A - Performance test method and device for multi-POE network port equipment and readable storage medium
Abstract
The application discloses a performance test method, device and readable storage medium of multi-POE network port equipment, which comprises the steps of S1, setting up a test environment, S2, establishing communication connection between an upper computer and POE equipment to be tested, S3, sending a communication parameter query instruction through the upper computer, obtaining communication negotiation parameters of each POE network port of the POE equipment to be tested, judging whether communication functions of each POE network port are normal according to preset communication standards, S4, sending a power supply parameter query instruction through the upper computer, obtaining power supply parameters of each POE network port of the POE equipment to be tested, calculating output power, judging whether the power supply functions of each POE network port are normal according to preset power thresholds, and S5, outputting performance test results of each POE network port. The application has the advantages of full automation, no need of manual intervention on cooperative control of a plurality of devices, immediate termination of the test flow when the test is abnormal, great shortening of the test time of a single product and improvement of the test efficiency of mass production.
Inventors
- LI TING
Assignees
- 翼盛(武汉)科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260210
Claims (10)
- 1. The performance test method of the multi-POE network port equipment is characterized by comprising the following steps of: S1, building a test environment, connecting each POE network port of POE equipment to be tested with a function separation module respectively, wherein the function separation module is used for separating a power supply function and a communication function of the POE network port, a power supply output end of the function separation module is connected with a load module, and a communication end of the function separation module is connected with a communication link; s2, establishing communication connection between the upper computer and POE equipment to be tested, and triggering the POE equipment to be tested to start POE power supply and network communication functions by issuing a control instruction through the upper computer; s3, issuing a communication parameter query instruction through the upper computer, acquiring communication negotiation parameters of each POE network port of the POE equipment to be tested, and judging whether the communication function of each POE network port is normal or not according to a preset communication standard; S4, issuing a power supply parameter query instruction through the upper computer, acquiring power supply parameters of each POE network port of POE equipment to be tested, calculating output power according to the power supply parameters, and judging whether the power supply function of each POE network port is normal or not according to a preset power threshold; And S5, outputting performance test results of each POE network port of the POE equipment to be tested according to the judgment results of the S3 and the S4, and executing an exception handling flow if any one of the POE network port power supply function and the POE network port communication function is abnormal.
- 2. The performance test method of the multi-POE network port device according to claim 1, wherein in step S1, the function separation module is a POE separator, the load module is a standard resistor with a preset resistance value, the resistance value of the standard resistor is adapted to the power supply requirement of the POE protocol, and the communication link is a loop-back link formed between network cards of the host computer network card and/or the network ports of the multi-POE network port device.
- 3. The method for testing the performance of the multi-POE network jack device of claim 2, wherein said standard resistor is a 20Ω gold resistor, and said POE protocol includes at least one of ieee802.3af, ieee802.3at, and ieee802.3bt.
- 4. The performance test method of the multi-POE network port device according to claim 1, wherein in step S2, the host computer establishes communication connection with the POE device to be tested via Telnet protocol, and the control command is used for triggering the POE power supply loop of the POE device to be tested to be turned on and the negotiation start of the network port communication.
- 5. The performance test method of a multi-POE network jack device according to claim 1, wherein in the step S4, the power supply parameter includes an output voltage value and an output current value, the output power is calculated by a formula p=u×i, and the preset power threshold is formulated based on batch POE device test data and POE standard power supply protocol, and is used for intercepting the power supply abnormality device.
- 6. The performance test method of the multi-POE network port equipment according to claim 1, wherein in step S4, if the output power of all POE network ports is within the preset power threshold, it is determined that the power supply function of each POE network port is normal, the subsequent test item is continuously executed, if the output power of any POE network port exceeds the preset power threshold, repeated tests are performed on the POE network port for a plurality of times, and if the output power after the repeated tests is still beyond the preset power threshold, it is determined that the power supply function of the corresponding POE network port is abnormal, and the test procedure is terminated.
- 7. The performance testing device of the multi-POE network port equipment is characterized by comprising a testing environment component, an upper computer control module, a data processing module and a result output module, wherein the testing environment component forms a testing loop; the test environment assembly comprises a function separation module, a load module and a communication link assembly, wherein the function separation module is connected with a POE network port of POE equipment to be tested and is used for separating a power supply function and a communication function of the POE network port, the load module is connected with a power supply output end of the function separation module, and the communication link assembly is connected with a communication end of the function separation module; the upper computer control module is used for establishing communication connection with POE equipment to be tested, issuing a control instruction, a power supply parameter query instruction and a communication parameter query instruction, and receiving parameter data fed back by the POE equipment to be tested; The data processing module is used for calculating output power according to the power supply parameters received by the upper computer, judging whether the power supply function is normal according to a preset power threshold, and judging whether the communication function is normal according to the communication negotiation parameters and a preset communication standard; The result output module is used for outputting performance test results of the POE network ports and triggering an abnormal processing flow when detecting abnormal functions.
- 8. The distributed router power dynamic adjustment system according to claim 7, wherein the test environment assembly further comprises a positioning fixture, the positioning fixture is used for fixing POE equipment to be tested, a function separation module and a load module, rapid docking of each component is achieved, and batch test requirements are adapted.
- 9. The distributed router power dynamic adjustment system according to claim 7, wherein the upper computer control module further comprises an instruction packaging unit, wherein the instruction packaging unit is configured to package the register query interface into a standardized instruction, the standardized instruction includes a power supply parameter query instruction and a communication parameter query instruction, and the instruction includes a POE network port identifier.
- 10. The distributed router power dynamic adjustment system according to claim 7, wherein the data processing module further comprises a log generating unit, configured to record power supply parameters, output power, communication negotiation parameters and test results of each POE network port, and form a traceable test log.
Description
Performance test method and device for multi-POE network port equipment and readable storage medium Technical Field The invention relates to the technical field of testing, in particular to a performance testing method and device of multi-POE network port equipment and a readable storage medium. Background With the development of network communication technology, the multi-POE (Power over Ethernet power over Ethernet) network port routing equipment is widely applied to various network scenes, and the power supply stability and the network communication capability of the POE network port directly influence the service performance and the user experience of the product. Therefore, in the production test stage of the multi-POE network port routing equipment, the test of the power supply function and the network communication capability of each POE network port is required to be covered comprehensively, the performance consistency of the POE network ports of the products shipped in batches is ensured, and bad products are prevented from flowing into the market. At present, aiming at a test scheme of multi-POE network port routing equipment, a running instrument, a power receiving controller device and a complex tool clamp are generally required to be configured. In the actual batch production test process, the scheme has the defects that on one hand, the test environment is complicated to build, the requirements on operation skills of testers are high due to the fact that multiple devices are selected, connected and debugged, on the other hand, the purchase cost of devices such as a running instrument and a power receiving controller is high, the devices occupy large line space, the test input cost is obviously increased, and meanwhile, the test process is complicated due to the fact that the test process involves cooperative control of multiple devices such as a product to be tested, a streaming instrument and the power receiving device, the test steps are complicated, the test efficiency is low, and the high-efficiency test requirement of batch production is difficult to meet. Therefore, a simple, low-cost and efficient test scheme for POE network port power supply and network port speed of the multi-POE network port routing equipment is developed, so that the problems of complex test environment, high input cost and low test efficiency in the existing test scheme are solved, and the technical problem to be solved in the field is urgent. Disclosure of Invention In order to solve the problems that the existing test scheme depends on special equipment, is complex in environment, high in cost and low in efficiency, the application provides the performance test method and device for the multi-POE network port equipment, realizes simplified, low-cost and high-efficiency batch test, and can effectively ensure the consistency of POE network port power supply and communication performance. Specifically, the application provides a performance test method of multi-POE network port equipment, which comprises the following steps: S1, building a test environment, connecting each POE network port of POE equipment to be tested with a function separation module respectively, wherein the function separation module is used for separating a power supply function and a communication function of the POE network port, a power supply output end of the function separation module is connected with a load module, and a communication end of the function separation module is connected with a communication link; s2, establishing communication connection between the upper computer and POE equipment to be tested, and triggering the POE equipment to be tested to start POE power supply and network communication functions by issuing a control instruction through the upper computer; s3, issuing a communication parameter query instruction through the upper computer, acquiring communication negotiation parameters of each POE network port of the POE equipment to be tested, and judging whether the communication function of each POE network port is normal or not according to a preset communication standard; S4, issuing a power supply parameter query instruction through the upper computer, acquiring power supply parameters of each POE network port of POE equipment to be tested, calculating output power according to the power supply parameters, and judging whether the power supply function of each POE network port is normal or not according to a preset power threshold; And S5, outputting performance test results of each POE network port of the POE equipment to be tested according to the judgment results of the S3 and the S4, and executing an exception handling flow if any one of the POE network port power supply function and the POE network port communication function is abnormal. In step S1, the function separation module is a POE separator, the load module is a standard resistor with a preset resistance value, the resistance value of the standard r