Automatic test system and method of POE switch, and terminal equipment

By designing an automated test system, using equipment such as runners, temperature and humidity control boxes to simulate different test conditions, the problem of low reliability of POE switches in different application scenarios is solved, and a comprehensive and efficient reliability test of POE switches is achieved.

CN119420685APending Publication Date: 2025-02-11SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411556120.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

POE switches have low reliability in different application scenarios, making it difficult to meet the high requirements for switch reliability by modern large-scale campus networks.

Method used

An automated test system for POE switches was designed, including runner, temperature and humidity control box, controller, power supply equipment and electronic devices. By automatically controlling these devices, simulating different test network conditions, performing no-load/load load, Serial/parallel, stand-alone/multi-machine and other test combinations.

Benefits of technology

It realizes comprehensive and efficient reliability testing of POE switches in different environments, improves the reliability and diversity of testing, and can accurately detect the performance of switches in various scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420685A_ABST
    Figure CN119420685A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network communication, and discloses an automatic testing system and method for a POE switch and terminal equipment, and the system comprises a flow runout instrument, a temperature and humidity adjusting box, a controller, power supply equipment and an electronic device. The power supply equipment is used for providing power supply voltage; the runaway instrument is used for setting runaway parameters; the temperature and humidity adjusting box is used for providing certain temperature and / or humidity; the electronic device comprises at least one POE switch. The electronic device is placed in the temperature and humidity adjusting box, and the test conditions of the electronic device comprise different combinations of no-load / on-load, serial / parallel and single-machine / multi-machine; and determining different test networks of the automatic test system according to environmental conditions, the running flow parameters and the test conditions, and performing automatic test through the automatic test system of the different test networks. According to the automatic test system of the POE switch, comprehensive and efficient reliability test can be carried out on the POE switch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to an automated testing system, method and terminal device for a POE switch. Background Art

[0002] With the development of modern large-scale campus networks, POE switches are increasingly used in smart security, enterprise networks, data centers, industrial automation, etc. POE switches have more and more ports and stronger power supply characteristics.

[0003] POE (Power Over Ethernet) means that without any changes to the existing Ethernet Cat.5 cabling infrastructure, while transmitting data signals for some IP-based terminals (such as IP phones, wireless LAN access points AP, network cameras, etc.), it can also provide direct current to such devices, that is, switches that support Ethernet power supply. POE technology can ensure the safety of existing structured cabling while ensuring the normal operation of the existing network and minimizing costs.

[0004] With the rapid development of network technology, 8 / 16 / 24 / 48 and other multi-port POE switches are increasingly used in various large-scale network environments. Their reliability directly affects the stable operation of the entire network system. With the continuous improvement of switch performance and the diversification of application scenarios, higher requirements are placed on their reliability. Summary of the invention

[0005] In view of this, the embodiments of the present application provide an automated testing system, method, and terminal device for a POE switch, which can effectively solve the problem of low reliability of the POE switch in different application scenarios.

[0006] In a first aspect, an embodiment of the present application provides an automated testing system for a POE switch, including: a flow meter, a temperature and humidity control box, a controller, a power supply device, and an electronic device; the controller controls the connection between the flow meter, the temperature and humidity control box, and the power supply device;

[0007] The power supply equipment is used to provide the power supply voltage required by different test networks;

[0008] The temperature and humidity control box is used to provide the temperature and / or humidity required by different test networks;

[0009] The flow meter is used to set flow parameters; the flow parameters include message length and message type;

[0010] The electronic device includes at least one POE switch; the electronic device is placed in the temperature and humidity control box, and the test conditions of the electronic device include different combinations of no-load / load, serial / parallel, single machine / multiple machines;

[0011] The controller is used to determine different test networks corresponding to the automated testing system according to the environmental conditions of the electronic device, the test conditions and the running flow parameters, and control the electronic device to perform automated testing under each test network; the environmental conditions include the supply voltage, the temperature and / or humidity.

[0012] In some embodiments, when the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, the test condition is no-load serial, and the electronic device includes only one POE switch, a no-load serial flow test under dual temperature and dual voltage is performed on the POE switch;

[0013] Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial adopts VLAN setting to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and all interfaces of the POE switch are directly connected up and down or diagonally through a network cable; the upper and lower connection refers to the connection of two interfaces corresponding to the upper and lower positions of the POE switch, and the diagonal connection refers to the connection of the upper and lower interfaces corresponding to the adjacent positions of the POE switch.

[0014] In some embodiments, when the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, and the test condition is no-load serial, and the electronic device includes multiple POE switches, a no-load serial flow test under dual temperature and dual voltage is performed on the multiple POE switches;

[0015] Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial connection adopts the VLAN setting method, and the interfaces of the multiple POE switches are connected, and the first interface and the last interface of a POE switch are respectively connected to the sending port and the receiving port of the flow meter; the interface docking means that all interfaces of a POE switch are connected to all interfaces of another POE switch in a one-to-one correspondence.

[0016] In some embodiments, when the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, and the test condition is no-load parallel, and the electronic device includes only one POE switch, the POE switch is subjected to a no-load parallel flow test under dual temperature and dual voltage;

[0017] Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the parallel VLAN setting method is adopted to connect the upper interface and the lower interface of the POE switch to the sending port and the receiving port of the flow meter respectively.

[0018] In some embodiments, when the temperature in the temperature and humidity control box in the automated test system is dual temperature, the humidity is single humidity, and the test condition is serial with load, and the electronic device includes only one POE switch, the POE switch is subjected to a serial with load flow test under alternating humidity and heat conditions;

[0019] Among them, the dual temperature includes the upper working limit temperature of the POE switch and the lower working limit temperature of the POE switch; the single humidity includes the working humidity of the POE switch as the upper humidity limit; the serial adopts the VLAN setting method to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and the interfaces of the POE switch are connected up and down, and the upper interface and the lower interface of the POE switch are connected in series with the load; the upper and lower connection refers to the connection of the two interfaces corresponding to the upper and lower positions of the POE switch.

[0020] In some embodiments, when the temperature in the temperature and humidity control box in the automated test system is dual temperature and the test condition is load parallel and the electronic device includes only one POE switch, the POE switch is subjected to a load parallel flow test under temperature cycling;

[0021] Among them, the dual temperature includes the upper working temperature limit of the POE switch and the lower working temperature limit of the POE switch; the parallel VLAN setting method is used to connect the upper interface and the lower interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and a load is connected in series between the upper interface of the POE switch and the sending port of the flow meter, and a load is connected in series between the lower interface of the POE switch and the receiving port of the flow meter.

[0022] In some embodiments, when the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, and the test condition is no-load serial, and the electronic device includes only one POE switch, the POE switch is subjected to a no-load serial switch test under dual temperature and dual voltage;

[0023] Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial adopts the VLAN setting method to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and connect all the interfaces of the POE switch up and down.

[0024] In a second aspect, an embodiment of the present application provides an automated testing method for a POE switch, which is applied to the automated testing system described above, and the method includes:

[0025] Responding to voltage control instructions, controlling the supply voltage of the power supply equipment;

[0026] Responding to the temperature and humidity control command, controlling the temperature and / or humidity in the temperature and humidity control box;

[0027] Respond to parameter control instructions to control the flow parameters of the flow meter;

[0028] In response to the configuration instruction, configure the test conditions of the electronic device, wherein the test conditions include different combinations of no-load / load, serial / parallel, single machine / multiple machines; wherein the electronic device includes at least one POE switch; and the electronic device is placed in the temperature and humidity control box;

[0029] Determine different test networks of the automated test system according to environmental conditions, the running flow parameters and the test conditions; the environmental conditions include the supply voltage, the temperature and / or humidity;

[0030] The automated testing system is used to perform automated testing via different test networks.

[0031] In a third aspect, an embodiment of the present application provides a terminal device, the terminal device includes a processor and a memory, the memory stores a computer program, and the processor is used to execute the computer program to implement the above-mentioned automated testing method for the POE switch.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the above-mentioned automated testing method for a POE switch.

[0033] The embodiments of the present application have the following beneficial effects:

[0034] The automated testing system of the POE switch of the present application automatically controls the temperature and humidity control box, the flow meter, and the power supply equipment, and determines different test conditions according to the power supply voltage, flow parameters, temperature and / or humidity, and test conditions to match different test networks, and realizes long-term flow tests and power-on and power-off automated tests of the POE switch in different environments such as no-load / load, serial / parallel, single machine / multiple machines. Therefore, the automated testing system of the POE switch of the present application can perform comprehensive and efficient reliability tests on the POE switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A topological structure diagram of an automated testing system for a POE switch according to an embodiment of the present application is shown;

[0037] Figure 2 A connection diagram is shown when the automated testing system of the POE switch of the embodiment of the present application performs a no-load serial flow test and a power on / off test of the POE switch under dual temperature and dual voltage;

[0038] Figure 3 Another connection schematic diagram is shown when the automated test system of the POE switch of the embodiment of the present application performs a no-load serial flow test of the POE switch under dual temperature and dual voltage;

[0039] Figure 4 A connection diagram is shown when the automated test system of the POE switch of the embodiment of the present application performs a no-load dual-machine serial flow test of the POE switch under dual temperature and dual voltage;

[0040] Figure 5 A connection diagram is shown when the automated test system of the POE switch of the embodiment of the present application performs a no-load parallel flow test of the POE switch under dual temperature and dual pressure;

[0041] Figure 6 A connection diagram is shown when the automated testing system of the POE switch of the embodiment of the present application performs a serial flow test of the POE switch under alternating humidity and heat conditions;

[0042] Figure 7A schematic diagram of a temperature and humidity alternation change curve when the automated test system for a POE switch according to an embodiment of the present application performs a load serial flow test of a POE switch under alternating humidity and heat conditions is shown;

[0043] Figure 8 A connection diagram is shown when the automated testing system of the POE switch according to the embodiment of the present application performs a load parallel flow test of the POE switch under temperature cycling;

[0044] Fig. 9 A schematic diagram of a temperature cycle curve when the automated test system for the POE switch according to an embodiment of the present application performs a load parallel flow test on the POE switch under temperature cycling is shown;

[0045] Fig.10 A connection diagram is shown when the automated test system for the POE switch of the embodiment of the present application performs a no-load serial power on / off test of the POE switch under dual temperature and dual voltage;

[0046] Fig.11 A schematic diagram of a low temperature temperature curve when the automated test system of a POE switch in an embodiment of the present application performs a flow test is shown;

[0047] Fig.12 A schematic diagram of a high temperature curve when the automated testing system for a POE switch in an embodiment of the present application performs a flow test is shown. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0049] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0050] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0051] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0052] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0053] In the POE switch system, the device that provides power is called the power supply equipment (PSE, Power Sourc ingEquipment), and the device that uses the power is called the powered device (PD, Power Device, i.e. load). The main device for Ethernet power supply is PSE, which is responsible for the detection, classification, power-on, and circuit break detection of PD. Once a PD is loaded, PSE will immediately detect the access of PD and cut off the power supply when it is removed. PSE also provides overcurrent protection to prevent PSE and PD from being damaged. The power supply equipment PSE can only provide one usage, but the powered device PD must be able to adapt to two situations at the same time.

[0054] In order to meet the above requirements, this application combines the automation of temperature box control, power supply equipment control, and flow instrument control, and uses POE power supply technology. Through specific testing processes and technical means, it can conduct comprehensive and efficient reliability testing of POE switches. By adopting an automated approach, human intervention and operating errors can be reduced, various actual application scenarios can be accurately simulated, the performance of switches under harsh climatic conditions and special power supply environments can be detected, and potential problems and hidden faults of POE switches can be discovered in a timely manner, providing strong support for the quality assurance and performance optimization of POE switches. In other words, this application provides a set of methods for comprehensively detecting the reliability and stability of POE switches, which can accurately, efficiently, and comprehensively carry out automated testing to ensure that POE switches can maintain reliable performance in different application scenarios.

[0055] The automatic testing system for the POE switch is described below in conjunction with some specific embodiments.

[0056] Figure 1 A topological structure diagram of the automated testing system of the POE switch of the embodiment of the present application is shown. Exemplarily, the automated testing system of the POE switch includes: a flow meter, a temperature and humidity control box, a controller, a power supply device and an electronic device; the controller controls the connection between the flow meter, the temperature and humidity control box and the power supply device; the power supply device is used to provide the power supply voltage required by different test networks; specifically responds to the voltage control instruction of the controller to control the power supply voltage of the power supply device; the flow meter is used to set the flow parameters; responds to the parameter control instruction of the controller to control the flow parameters of the flow meter; the temperature and humidity control box is used to provide an environment with a certain temperature and / or humidity required by different test networks, responds to the temperature and humidity control instruction of the controller The controller is used to control the temperature and / or humidity in the temperature and humidity control box; the electronic device includes at least one POE switch; the electronic device is placed in the temperature and humidity control box, responds to the configuration instructions of the controller, and configures the test conditions of the electronic device, the test conditions include different combinations of no-load / load, serial / parallel, single machine / multiple machines; the controller sets up a variety of different test networks according to the power supply voltage, flow parameters, temperature and / or humidity and test conditions, and performs long-term flow test through the automated test system of the POE switches of different test networks; and analyzes the serial port data of the electronic device to obtain the test results.

[0057] The present application automatically controls the temperature and humidity control box, flow meter, and power supply equipment, and determines different test conditions according to the power supply voltage, flow parameters, temperature and / or humidity, and test conditions to match different test networks; the POE switch prototype is subjected to long-term flow tests and switch tests such as no-load, loaded, serial, parallel, and multi-machine tests under different climatic environments, thereby improving the reliability of POE switch testing and the diversity of test functions.

[0058] The present application determines different test conditions according to the power supply voltage, flow parameters, temperature and / or humidity and test conditions, that is, at least six tests can be performed, namely, a no-load serial flow test of a POE switch under a reliability climate environment (dual temperature and dual pressure), a no-load dual-machine serial flow test of a POE switch under a reliability climate environment (dual temperature and dual pressure), a no-load parallel flow test of a POE switch under a reliability climate environment (dual temperature and dual pressure), a serial flow test of a POE switch under a reliability climate environment (alternating humidity and heat), a load parallel flow test of a POE switch under a reliability climate environment (temperature cycle), and a POE switch power on and off test under a reliability climate environment (temperature cycle).

[0059] In one embodiment, when the power supply voltage of the automated test system is dual-voltage, the temperature in the temperature and humidity control box is dual-temperature, and the test condition of the electronic device is no-load serial and there is a POE switch, a no-load serial flow test is performed on the POE switch under dual-temperature and dual-voltage; the dual-voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial uses VLAN (Virtual Local Area Network) to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and all the interfaces of the POE switch are directly connected up and down through the network cable to connect the two interfaces corresponding to the upper and lower positions of the POE switch or to connect the upper and lower interfaces corresponding to the adjacent positions of the POE switch diagonally. The present application can perform long-term flow testing and power-on and power-off automation testing on POE switches under different climatic environments, such as no-load, loaded, serial, parallel, and multi-machine. The flow meter adopts Spirent Communications' instrument for network communication convergence testing. The POE switches placed in the temperature and humidity control box have 1-24 ports of GE Gigabit ports and 25-28 ports of XS 10 Gigabit ports. The operating ambient temperature of the POE switch is 0℃-45℃. Therefore, the high temperature is the upper working temperature limit of the POE switch +10℃ (i.e. 55℃), and the low temperature is the lower working temperature limit of the POE switch -10℃ (i.e. -10℃); the operating voltage range of the POE switch is 100-240V, therefore, the low voltage is the lower working voltage limit of the POE switch -10% (i.e. 90V), and the high voltage is the upper working voltage limit of the POE switch +10% (i.e. 264V).

[0060] Specifically, a POE switch is placed in a temperature and humidity control box. According to the temperature and humidity control instructions of the controller, the temperature and humidity control box is automatically controlled to achieve a high temperature of +10°C as the upper limit of the working temperature and a low temperature of -10°C as the lower limit of the working temperature; according to the voltage control instructions of the controller, the power supply equipment is automatically controlled to achieve a low voltage of -10% of the lower limit of the working voltage of the POE switch and a high voltage of +10% of the upper limit of the working voltage of the POE switch; an implementation method of the configuration instructions, such as Figure 2 As shown, the VLAN setting method is used to directly connect the POE switch interface up and down through the network cable, that is, use a 100-meter network cable to connect the interface 1 and interface 2 of the POE switch up and down, and the interface 3 and interface 4 up and down, and so on. Configure interface 2 and interface 3 as VLAN2, interface 4 and interface 5 as VLAN3, interface 6 and interface 7 as VLAN4, and so on; the first interface 1 and the last interface 10 are respectively connected to the sending port and the receiving port of the running flow meter; another implementation method of the configuration instruction, such as Figure 3 As shown, the VLAN setting method is used to directly connect the POE switch interface diagonally through a 100-meter network cable. For example, use a 100-meter network cable to diagonally connect interface 2 and interface 3 of the POE switch, and diagonally connect interface 4 and interface 5, and so on; configure interface 1 and interface 2 as VLAN2, interface 3 and interface 4 as VLAN3, interface 5 and interface 6 as VLAN4, and so on; the first interface 1 and the last interface 10 are respectively connected to the sending port and receiving port of the flow meter, and according to the parameter control instructions of the controller, the flow meter's message length, type and other parameters are automatically controlled, the second layer flow is played without speed limit, and the flow meter is controlled to send packets to realize serial flow. The interfaces of the POE switch are connected up and down or diagonally, and a flow loop is obtained. Press Figure 2 Connect 1-28 interfaces up and down and configure as shown in Table 1. Figure 3 The oblique connection mode is used to connect interfaces 1-28 obliquely and configure them as shown in Table 2; among them, ports 1 and 24 are connected to the Test Center Gigabit port, and ports 25 and 28 are connected to the 10 Gigabit port of the flow meter. The controller controls the flow meter to set parameters such as fixed 64 bytes and type UDP.

[0061] Table 1

[0062]

[0063] Table 2

[0064]

[0065] The automated testing system of the POE switch of the present application has the following automated testing process for the no-load serial flow of the POE switch under dual temperature and dual pressure:

[0066] Step 1, connect the interfaces of the POE switch up and down, that is, use a 100-meter network cable to connect the interfaces of the POE switch up and down, interface 1 and interface 2 are connected up and down, interface 3 and interface 4 are connected up and down, and so on, configure interface 2 and interface 3 as VLAN2, interface 4 and interface 5 as VLAN3, interface 6 and interface 7 as VLAN4, and so on; the first interface 1 and the last interface 10 are connected to the sending port and the receiving port of the flow meter respectively; the controller automatically controls the flow meter to set the message length to random bytes, the type to UDP and other parameters.

[0067] Step 2: Control the temperature of the temperature and humidity control box to the lower limit operating temperature of the POE switch -10°C.

[0068] Step 3, controlling the power supply device to adjust the output voltage to the lower limit of the working voltage of the POE switch -10%.

[0069] Step 4: Control the flow meter to run the layer 2 flow without speed limit, and require no error records during the automated operation (no packet loss, no error packets, no garbled characters, error prompts, warnings, etc. in the serial port output).

[0070] Step 5, control the power supply device of the AC power supply to adjust the output voltage to the upper limit of the working voltage of the POE switch + 10%, and repeat step 4.

[0071] Step 6: Control the temperature of the temperature and humidity control box to the upper limit of the POE switch operating temperature + 10°C, and repeat steps 3-5.

[0072] Step 7, configure the POE switch for no-load serial oblique connection, that is, use a 100-meter network cable to connect the interfaces of the POE switch obliquely, interface 2 and interface 3 obliquely, interface 4 and interface 5 obliquely, and so on; configure interface 1 and interface 2 as VLAN2, interface 3 and interface 4 as VLAN3, interface 5 and interface 6 as VLAN4, and so on; the first interface 1 and the last interface 10 are respectively connected to the sending port and receiving port of the flow meter, and the controller automatically controls the flow meter to set the message length to random bytes, the type to UDP and other parameters, and repeat steps 2-6.

[0073] In this application, when the POE switch is tested under dual temperature and dual pressure, the temperature control of the low temperature is as follows: Fig.11 As shown, the low temperature is -10℃, and the test time is 24h; in the low temperature environment, 64 bytes are used for running flow test when the serial up and down are connected without load as shown in Table 3, and random bytes are used for running flow test when the serial bevel is connected without load in the low temperature environment as shown in Table 4. According to the test results of Tables 3 and 4, the frame loss rate, loss rate and standard are all 0, and the test results are all passed, realizing reliable automated testing.

[0074] Table 3

[0075] Running direction Rate / packet length Send Frame Receive frame Frame loss rate Loss Rate standard Test Results GE1→GE24 1000 / 64 128571428572 128571428572 0 0 0 PASS GE24 → GE1 1000 / 64 128571428572 128571428572 0 0 0 PASS XS25 → XS28 10000 / 64 1285714285715 1285714285715 0 0 0 PASS XS28 → XS25 10000 / 64 1285714285715 1285714285715 0 0 0 PASS

[0076] Table 4

[0077] Running direction Rate / packet length Send Frame Receive frame Frame loss rate Loss Rate standard Test Results GE1→GE24 1000 / Random 13314240000 13314240000 0 0 0 PASS GE24 → GE1 1000 / Random 13314240000 13314240000 0 0 0 PASS XS25 → XS28 10000 / Random 133006733540 133006733540 0 0 0 PASS XS28 → XS25 10000 / Random 133006733540 133006733540 0 0 0 PASS

[0078] Under dual temperature and dual pressure, when the POE switch is tested automatically with no-load serial flow, the high temperature control is as follows: Fig.12 As shown, the high temperature is 55°C and the test time is 24h. Similar to the low temperature test, 64 bytes are used for flow testing when the serial connection is unloaded in the high temperature environment, and random bytes are used for flow testing when the serial connection is unloaded in the low temperature environment. According to the test results, the frame loss rate, loss rate and standard are all 0, the test results are all passed, and reliable automated testing is also achieved.

[0079] In an embodiment of the present application, when the power supply voltage of the automated test system is dual-voltage, the temperature in the temperature and humidity control box is dual-temperature, and the test condition of the electronic device is no-load serial and there are multiple POE switches, no-load serial flow test is performed on multiple POE switches under dual-temperature and dual-voltage; wherein, the dual-voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial connection adopts VLAN setting to connect the interfaces of multiple POE switches, and the first interface and the last interface of one of the POE switches are respectively connected to the sending port and the receiving port of the flow meter, and the interface connection refers to that all interfaces of one POE switch are connected to all interfaces of another POE switch in a one-to-one correspondence; at this time, there is a flow loop in the automatic test.

[0080] Specifically, Figure 4 As shown, two POE switches are placed in a temperature and humidity control box. According to the temperature and humidity control instructions of the controller, the temperature and humidity control box is automatically controlled to achieve dual temperatures, i.e., high temperature (upper limit working temperature +10°C) and low temperature (lower limit working temperature -10°C); according to the voltage control instructions of the controller, the power supply equipment is automatically controlled to achieve dual voltages: the low voltage is -10% of the lower limit of the working voltage of the POE switch, and the high voltage is +10% of the upper limit of the working voltage of the POE switch; as shown in FIG. Figure 4As shown in the dotted line, the interfaces of two POE switches are docked by VLAN setting and the first interface and the last interface of POE switch 1 are connected to the sending port and the receiving port of the flow meter respectively; specifically, a hundred-meter network cable is used to cross the POE switch for dual-machine docking, the interface 1 of POE switch 1 is docked with the interface 2 of POE switch 2, the interface 1 of POE switch 2 is docked with the interface 2 of POE switch 1, the interface 3 of POE switch 1 is docked with the interface 4 of POE switch 2, the interface 3 of POE switch 2 is docked with the interface 4 of POE switch 1, and so on), the interface 2 and the interface 3 of POE switch 1 are configured as VLAN2, the interface 4 and the interface 5 are VLAN3, the interface 6 and the interface 7 are VLAN4, and so on; the interface 1 and the interface 2 of POE switch 2 are configured as VLAN101, the interface 3 and the interface 4 are VLAN102, the interface 5 and the interface 6 are VLAN103, and so on. Wherein the first interface and the last interface of POE switch 1 are connected to the flow meter respectively, and the automatic control flow meter implements the dual-machine serial flow. The automated main control PC controls the flow meter to set parameters such as message length and type, and to play the second layer flow without speed limit. Figure 4 The upper and lower connection methods shown are used to perform dual-machine serial docking for 1-28 interfaces; the specific configuration is shown in Table 5. In this example, there are two POE switches. As other implementation methods, three POE switches or four POE switches may also be included.

[0081] Table 5

[0082]

[0083] The automated testing process of the POE switch automated testing system of the present application for no-load serial flow of multiple POE switches under dual temperature and dual pressure is as follows:

[0084] Step 01, configure two EUTs in no-load dual-machine serial connection (use a 100-meter network cable to connect the two devices across the equipment, interface 1 of POE switch 1 is connected to interface 2 of POE switch 2, interface 1 of POE switch 2 is connected to interface 2 of POE switch 1, interface 3 of POE switch 1 is connected to interface 4 of POE switch 2, interface 3 of POE switch 2 is connected to interface 4 of POE switch 1, and so on), configure interface 2 and interface 3 of POE switch 1 as VLAN 2, interface 4 and interface 5 as VLAN 3, interface 6 and interface 7 as VLAN 4, and so on; configure interface 1 and interface 2 of POE switch 2 as VLAN 101, interface 3 and interface 4 as VLAN 102, interface 5 and interface 6 as VLAN 103, and so on; and so on. The first interface 1 and the last interface 10 of EUT1 are connected to the sending port and the receiving port of the flow meter respectively; the controller automatically controls the flow meter to set the message length as random bytes, the type as UDP and other parameters.

[0085] Step 02, the controller controls the temperature and humidity control box to set the lower limit operating temperature of the POE switch to -10°C.

[0086] Step 03, the controller controls the power supply device to adjust the output voltage to the lower limit of the POE switch operating voltage -10%.

[0087] Step 04, the controller controls the flow meter to play the second layer flow without speed limit, and requires no error records during the automatic operation (no packet loss, no error packet, no garbled code, error prompts, warnings, etc. in the serial port output).

[0088] Step 05, the controller controls the power supply device of the AC power supply to adjust the output voltage to the upper limit of the working voltage of the POE switch + 10%, and repeats step 04.

[0089] Step 06, the controller controls the temperature and humidity control box to set the upper limit operating temperature of the POE switch to +10°C, and repeats steps 03, 04, and 05.

[0090] In this application, two POE switches are placed in a high temperature (upper limit temperature +10°C) and low temperature (lower limit temperature -10°C) climate environment, working under high voltage (upper limit voltage +10%) and low voltage (lower limit voltage -10%) conditions, without supplying power to the equipment receiving the power supply equipment, i.e., the load (no load +100 meters of network cable), and the two switches are connected in series using network cables and all interfaces through VLAN settings. A long-term automated and stable flow test is performed using a flow instrument. In this embodiment, the flow test is still performed according to the Fig.11 The low temperature curves and Fig.12The high-temperature curves shown in the figure were used for flow testing respectively. The test results of two POE switches in a low-temperature environment with no-load dual-machine serial connection and the flow testing using random bytes were tested. The test results of two POE switches in a high-temperature environment with no-load dual-machine serial connection and the flow testing using random bytes were tested. According to the test results, the frame loss rate, loss rate and standard were all 0, the test results were all passed, and reliable automated testing was also achieved.

[0091] In an embodiment of the present application, when the power supply voltage of the automated test system is dual-voltage, the temperature in the temperature and humidity control box is dual-temperature and the test condition is no-load parallel and there is a POE switch, a no-load parallel flow test under dual temperature and dual voltage is performed on a POE switch; wherein, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; and the upper interface and the lower interface of the POE switch are connected to the sending port and the receiving port of the flow meter in parallel by using the VLAN setting method. At this time, the number of flow loops is the same as the number of groups of the upper interface and the lower interface of the POE switch, wherein the upper interface and the lower interface form a group correspondingly.

[0092] Specifically, Figure 5 As shown, a POE switch is placed in a temperature and humidity control box. According to the temperature and humidity control instructions of the controller, the temperature and humidity control box is automatically controlled to achieve dual temperatures, namely high temperature (upper limit working temperature +10°C) and low temperature (lower limit working temperature -10°C); according to the voltage control instructions of the controller, the power supply equipment is automatically controlled to achieve dual voltages: the low voltage is -10% of the lower limit of the working voltage of the POE switch, and the high voltage is +10% of the upper limit of the working voltage of the POE switch; when no-load parallel, interface 1 and interface 2 of the POE switch are respectively connected to the sending port and receiving port of the flow meter through a 100-meter network cable to form a flow loop, and interface 3 and interface 4 are respectively connected to the sending port and receiving port of the flow meter through a 100-meter network cable to form another flow loop, and so on, to form multiple flow loops, such as Figure 5 As shown, configure interface 1 and interface 2 as VLAN2, interface 3 and interface 4 as VLAN3, interface 5 and interface 6 as VLAN4, and so on. According to the parameter control instructions of the controller, the packet length, type and other parameters of the flow meter are automatically controlled, and the second layer flow is played without speed limit, thereby controlling the flow meter to run in parallel (each flow ring runs at the same time); the specific configuration is shown in Table 6:

[0093] Table 6

[0094]

[0095] The automated testing process of the POE switch automatic test system of the present application under dual temperature and dual pressure, and the POE switch no-load parallel running flow automated testing process is as follows:

[0096] Step 10, configure the POE switch in parallel without load (interface 1 and interface 2 of the POE switch are connected to the sending port and receiving port of the flow meter through a 100-meter network cable to form a flow ring, and interface 3 and interface 4 are connected to the sending port and receiving port of the flow meter through a 100-meter network cable to form a flow ring, and so on, forming multiple flow rings), interface 1 and interface 2 are VLAN2, interface 3 and interface 4 are VLAN3, interface 5 and interface 6 are VLAN4, and so on. The controller automation master PC controls the flow meter to set the message length to random bytes, the type to UDP and other parameters.

[0097] Step 20, the controller controls the temperature and humidity control box to set the lower limit operating temperature of the POE switch to -10°C.

[0098] Step 30: The controller controls the power supply device to adjust the output voltage to the lower limit of the POE switch operating voltage -10%.

[0099] Step 40, the controller controls the flow meter to play the layer 2 flow without speed limit, requiring no error records in the automatic operation (no packet loss, no error packet, no garbled code, error prompt, warning, etc. in the serial port output).

[0100] Step 50, the controller controls the power supply device of the AC power source to adjust the output voltage to the upper limit of the working voltage of the POE switch + 10%, and repeats step 40.

[0101] Step 60, the controller controls the temperature and humidity control box to set the upper limit operating temperature of the POE switch to +10°C, and steps 30, 40, and 50 are repeated.

[0102] This application will operate a POE switch in a high temperature (upper limit temperature +10℃) and low temperature (lower limit temperature -10℃) climate environment, under high voltage (upper limit voltage +10%) and low voltage (lower limit voltage -10%) conditions, without supplying power to the equipment receiving the power supply, i.e. the load (no load + 100m network cable), such as Figure 5 As shown, the interfaces of a switch are connected in parallel to the sending port and receiving port of the flow meter in pairs, and the POE switch ports are connected in pairs to fully test the performance of the POE switch. The flow meter is used to perform long-term automated and stable flow testing. Fig.11 The low temperature curves and Fig.12The high-temperature curves shown were used for flow testing respectively, and the test results of the flow testing were carried out by running the POE switch in parallel at no load and using random bytes in a low-temperature environment and the test results of the flow testing were carried out by running the POE switch in parallel at no load and using random bytes in a high-temperature environment. According to the test results, the frame loss rate, loss rate and standard were all 0, the test results were passed, and reliable automated testing was also achieved.

[0103] In the embodiment of the present application, when the temperature in the temperature and humidity control box in the automated test system is dual temperature, the humidity is single humidity, and the test condition is loaded serial and there is a POE switch, a POE switch is subjected to a loaded serial flow test under alternating humidity and heat; wherein, the dual temperature includes the upper working limit temperature of the POE switch and the lower working limit temperature of the POE switch; the single humidity includes the working humidity of the POE switch as the upper humidity limit, and the lower humidity limit is not controlled; the serial adopts the VLAN setting method, and the first interface and the last interface of the POE switch are respectively connected to the sending port and the receiving port of the flow meter, and the interface of the POE switch is connected up and down, and the upper interface and the lower interface of the POE switch are connected in series with the load. At this time, there is a flow loop in the automatic test.

[0104] Specifically, Figure 6 As shown, a POE switch is placed in a temperature and humidity control box, and according to the temperature and humidity control instructions of the controller, the temperature and humidity control box is automatically controlled to achieve alternating heat and humidity, that is, high temperature (upper limit working temperature +10°C), low temperature (lower limit working temperature -10°C), and low humidity (upper limit working humidity ±2-3% RH); the interfaces of the POE switch are connected up and down by using VLAN settings, and the load is connected between the upper interface and the lower interface. The POE switch needs to supply power to the load (PD), and the first interface and the last interface of the POE switch are connected to the sending port and the receiving port of the flow meter respectively; specifically, a 100-meter network cable is used to connect all the interfaces of the POE switch up and down, and the interface 1 of the POE switch is connected to the interface 2, and the interface 3 of the POE switch is connected to the interface 4, and so on), and the interface 2 and the interface 3 of the POE switch are configured as VLAN2, the interface 4 and the interface 5 are VLAN3, the interface 6 and the interface 7 are VLAN4, and so on. The first and last interfaces of the POE switch are connected to the flow meter respectively. The controller controls the flow meter to set the message length, type and other parameters, and the second layer flow is not limited in speed. Based on the parameter setting, the flow meter is automatically controlled to implement single-machine serial flow. The specific configuration is shown in Table 7:

[0105] Table 7

[0106]

[0107] The automated testing system of the POE switch of the present application has the following automated testing process for the POE switch with serial flow under alternating humidity and heat conditions:

[0108] Step 001, connect the upper and lower interfaces of the switch with load (use a 100-meter network cable to connect all network interfaces of the switch, and connect the load between the upper interface and the lower interface), configure interface 2 and interface 3 as VLAN2, interface 4 and interface 5 as VLAN3, interface 6 and interface 7 as VLAN4, and so on; the first interface and the last interface are connected to the flow meter respectively, and the flow meter is automatically controlled. The controller automatically controls the flow meter to set parameters such as message length and type, and the second layer flow is not limited in speed.

[0109] Step 002: The controller controls the temperature and humidity control box to make the working environment of the POE switch an alternating hot and humid environment.

[0110] like Figure 7 As shown; Hh represents high humidity, HI represents low humidity, Th represents high temperature, TI represents low temperature; test time: t1=1Hrs (hour), t2=1.5Hrs, t3=4.5Hrs, t4=1.5Hrs, t5=4.5Hrs, t6=12Hrs (Repeat t2~t5), t7=1Hrs, test cycle=24 hours.

[0111] The present application places a POE switch in a hot and humid climate environment, the POE switch increases the power supply to the load PD (load + 100 meters of network cable), connects all interfaces in series using the network cable and the VLAN setting method, and uses the flow meter to perform an automated test method for long-term stable flow, that is, to achieve automated testing of the POE switch load serial flow model under a reliability climate environment (hot and humid climate environment); in this embodiment, still according to Figure 7 The temperature change curve shown in the figure is used for flow testing. The test results of the POE switch with serial load and random bytes in the alternating temperature and humidity environment show that the frame loss rate, loss rate and standard are all 0, the test results are all passed, and reliable automated testing is also achieved.

[0112] In an embodiment of the present application, when the temperature in the temperature and humidity control box in the automated testing system is dual temperature and the test condition is load parallel and there is a POE switch, a load parallel flow test is performed on the POE switch under temperature cycle; wherein, the dual temperature includes the upper working limit temperature of the POE switch and the lower working limit temperature of the POE switch; in parallel, the upper interface and the lower interface of the POE switch are connected to the sending port and the receiving port of the flow meter respectively by using VLAN settings, and a load is connected in series between the upper interface of the POE switch and the sending port of the flow meter, and a load is connected in series between the lower interface of the POE switch and the receiving port of the flow meter.

[0113] Specifically, Figure 8As shown, a POE switch is placed in a temperature and humidity control box. According to the temperature and humidity control instructions of the controller, the temperature and humidity control box is automatically controlled to achieve temperature cycling, that is, the high temperature (+55°C) and the low temperature (-10°C) work for a period of time and the absolute value of the temperature change slope is 1 when the temperature changes; the VLAN setting method is used to realize the load parallel setting between the POE switch and the flow meter, that is, the upper interface and the lower interface of the POE switch are connected to the sending port and the receiving port of the flow meter respectively, and the upper interface of the POE switch is connected in series with the sending port of the flow meter. The load is connected in series between the load, the lower interface of the POE switch and the receiving port of the flow meter; more specifically, the interface 1 and interface 2 of the POE switch are connected to the flow meter through a 100-meter network cable + PD load to form a flow loop; interface 3 and interface 4 are connected to the flow meter through a 100-meter network cable + PD load to form another flow loop; and so on, to form multiple flow loops, the POE switch needs to supply power to the load (PD), configure interface 1 and interface 2 as VLAN2, interface 3 and interface 4 as VLAN3, interface 5 and interface 6 as VLAN4, and so on. The controller automatically controls the flow meter to run in parallel, that is, each flow loop runs at the same time. The automated main control PC controls the flow meter to set parameters such as message length and type, and plays the second layer flow without speed limit; based on the parameter setting, the flow meter is automatically controlled to implement single-machine serial flow.

[0114] The automated testing system of the POE switch of the present application has the following automated testing process for the POE switch under load parallel flow model under temperature cycling:

[0115] Step 100, load parallel setting.

[0116] Specifically, interface 1 and interface 2 of the POE switch are connected to the flow meter through a 100-meter network cable + PD load to form a flow loop; interface 3 and interface 4 are connected to the flow meter through a 100-meter network cable + PD load to form another flow loop; and so on, multiple flow loops are formed, and interface 1 and interface 2 are configured as VLAN2, interface 3 and interface 4 are configured as VLAN3, interface 5 and interface 6 are configured as VLAN4, and so on.

[0117] Step 200: The controller controls the temperature and humidity control box to make the working environment of the POE switch a temperature cycle.

[0118] In the example of this application, the temperature cycle is shown in 9; Th represents high temperature, and TI represents low temperature; the cycle works for a period of time at high temperature (+55°C) and low temperature (-10°C), and the absolute value of the temperature change slope is 1 when the temperature changes.

[0119] Step 300, based on the settings of the main controller on the parameters such as the length and type of the flow meter message, the flow meter is automatically controlled to run in parallel (each flow loop runs at the same time).

[0120] The POE switch of the present application supplies power to the PD load (with load + 100-meter network cable), connects the network interfaces of a switch in parallel in pairs and connects each to the flow meter, implements the switch port pair-by-pair running to fully detect the performance of the POE switch, and uses the flow meter to perform an automated test method for long-term stable flow, that is, to achieve automated testing of the POE switch with load and parallel flow model under a reliability climate environment (temperature cycle). In this embodiment, according to Fig. 9 The temperature curve shown in the figure was used for flow testing. According to the test results, the frame loss rate, loss rate and standard were all 0, the test results passed, and reliable automated testing was achieved.

[0121] In an embodiment of the present application, when the power supply voltage of the automated testing system is dual-voltage, the temperature in the temperature and humidity control box is dual-temperature, the test condition is no-load serial, and there is a POE switch, a no-load serial power on / off test is performed on the POE switch under dual-temperature and dual-voltage; wherein, the dual-voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial adopts the VLAN setting method, and the first interface and the last interface of the POE switch are respectively connected to the sending port and the receiving port of the flow meter, and all the interfaces of the POE switch are connected up and down.

[0122] Specifically, Fig.10 As shown, a POE switch is placed in a temperature and humidity control box, and the automatic control box realizes dual temperature and dual pressure: the POE switch is in a constant climate environment of high temperature (upper limit temperature +10℃) and low temperature (lower limit temperature -10℃), under high pressure (upper limit voltage +10%) and low pressure (lower limit voltage -10%). When serially connected without load, the POE switch interface is directly connected up and down through the network cable by using the VLAN setting method. Specifically, the interface of the POE switch is connected up and down using a 100-meter network cable, interface 1 and interface 2 are connected up and down, interface 3 and interface 4 are connected up and down, and so on. Interface 2 and interface 3 are configured as VLAN2, interface 4 and interface 5 are VLAN3, interface 6 and interface 7 are VLAN4, and so on; the first interface 1 and the last interface 10 are respectively connected to the sending port and the receiving port of the flow meter; the first interface and the last interface are respectively connected to the flow meter, and the first interface and the last interface are used to check the flow performance after startup.

[0123] In some embodiments, a power supply device is used to power on and off the POE switch to perform a power on / off test, including a power on / off Ton test and a power on / off Toff test; the power on / off Ton test is used to detect the startup status of the functional modules of the POE switch after a sudden power outage and restart before completing normal startup; the power on / off Toff test is used to detect the startup status of the functional modules of the POE switch after a power outage and a quick power on.

[0124] Among them, the Ton test of power on and off is to detect the impact of power off after the POE switch is powered on normally but before the startup is completed, and then the power is turned on again on the startup of the functional modules of the POE switch. After the power is turned on, the POE switch is started up, and the POE switch interface check and flow check are implemented; Ton refers to the time interval between the power off of the POE switch after the POE switch is powered on normally but before the startup is completed;

[0125] Among them, the power on / off Toff test is to detect the impact of powering on the functional modules of the POE switch shortly after the switch is normally powered off. After power on, the POE switch is started, and the POE switch interface check and flow check are implemented; Toff refers to the time interval between the POE switch being powered off and being powered on again.

[0126] This application uses an automated tool to set a large number of test times or test durations to cyclically test the startup stability and reliability of the POE switch.

[0127] The automated testing system of the POE switch of the present application has the following automated testing process for the POE switch on and off under dual temperature and dual pressure conditions:

[0128] Step 1), connect the interfaces of the POE switch up and down, and configure the interfaces of the POE switch using VLAN settings.

[0129] Use a 100-meter network cable to connect the interfaces of the POE switch up and down, interface 1 and interface 2 up and down, interface 3 and interface 4 up and down, and so on, configure interface 2 and interface 3 as VLAN2, interface 4 and interface 5 as VLAN3, interface 6 and interface 7 as VLAN4, and so on; the first interface 1 and the first interface 10 are respectively connected to the sending port and receiving port of the flow meter; among them, the first interface and the last interface are used for flow function inspection after startup.

[0130] Step 2), the controller automatically controls the temperature of the temperature and humidity control box to a high temperature environment (working upper limit temperature + 10°C).

[0131] Specifically, the controller automatically controls the power supply equipment to achieve high voltage power supply (working upper limit voltage + 10%).

[0132] Step 3), use the power supply equipment to power on and off the POE switch to perform a power on and off test.

[0133] Power on / off Ton test: EUT is powered on, and then powered off within the Ton time. Then it waits for the normal time (default 1 second, which can be set) to be powered on, and then waits for the Tboot time (Tboot indicates the total time required for the POE switch to start up from power on to completion). After that, the POE switch starts up normally, and the running flow checks the functional modules of the POE switch; the cycle test is completed according to the number of power on / off Ton tests set automatically.

[0134] Step 4), use the power supply equipment to power on and off the POE switch to perform a power on and off test.

[0135] Power on / off Toff test: after the POE switch starts normally, cut off the power, and then power on again within the Toff time. After the POE switch starts normally, run the flow to check the POE switch function module; complete the cycle test according to the number of power on / off Toff tests set automatically.

[0136] Step 5), automatically control the power supply equipment to achieve low voltage power supply (working lower limit voltage -10%), and repeat steps 3) and 4).

[0137] Step 6), automatically control the temperature box to achieve a low temperature environment (working lower limit temperature -10°C), automatically control the power supply equipment AC Source to achieve high voltage power supply (working upper limit voltage +10%), and repeat steps 3)-5).

[0138] The POE switch of the present application works under high voltage (working upper limit voltage +10%) and low voltage (working lower limit voltage -10%) conditions in a high temperature (working upper limit temperature +10°C) and low temperature (working lower limit temperature -10°C) climate environment, and uses a power supply device to perform power-on and power-off tests to detect the impact of the POE switch being powered on and then powered on again after power-off is triggered before the startup is completed, and the impact of the POE switch being powered on again in a very short time after the POE switch is powered off on the startup of the functional modules of the POE switch. By increasing the number and duration of tests, an automated test of the startup stability of the POE switch is performed, that is, automated testing of the POE switch power-on and power-off model is achieved under a reliable climate environment (dual temperature and dual pressure); in this embodiment, according to the power-on and power-off test results under a high temperature and high pressure environment, the switch test results under a high temperature and low pressure environment, the test results under a low temperature and high pressure environment, and the test results under a low temperature and low pressure environment, the port rate, flow detection, network performance and test results are all passed, and reliable automated testing is also achieved.

[0139] The present application automatically controls a temperature and humidity control box, a flow meter, and a power supply device, so that different test conditions are determined according to the power supply voltage, flow parameters, temperature and / or humidity, and test conditions to match different test networks; the POE switch is subjected to long-term flow tests such as no-load, loaded, serial, parallel, and multi-machine tests, as well as automatic power-on and power-off tests under different climatic environments; it supports a variety of test frame lengths (fixed frame lengths such as 64 bytes, 1518 bytes, and random frame lengths), a variety of test models (VLAN mode, port mutual message mode), a variety of product interfaces (electrical port, optical port), and a variety of network port rates (10M / 100M / 1000M / 2.5G / 10G); the automatic main control PC controls the temperature adjustment of the incubator and the power supply voltage adjustment of the power supply device, controls the flow meter to adjust the flow parameters and record the throughput data and packet loss rate, configures the POE switch, and records the serial port data of the POE switch.

[0140] Fig.11 A schematic flow chart of an automated testing method for a POE switch according to an embodiment of the present application is shown. Exemplarily, the automated testing method for a POE switch includes:

[0141] S100, responding to a voltage control instruction of the controller to control the supply voltage of the power supply device.

[0142] S200, responding to the temperature and humidity control instruction, controlling the temperature and / or humidity in the temperature and humidity control box.

[0143] S300, responding to the parameter control instruction to control the flow parameters of the flow meter.

[0144] S400, responding to the configuration instruction, configuring the test conditions of the electronic device.

[0145] The test conditions include different combinations of no-load / load, serial / parallel, single machine / multiple machines; wherein the electronic device includes at least one POE switch; and the electronic device is placed in a temperature and humidity control box.

[0146] S500, determining different test networks of an automated test system according to environmental conditions, flow parameters and test conditions, wherein the environmental conditions include the supply voltage, the temperature and / or humidity.

[0147] S600, performs automated testing through automated testing systems of different test networks.

[0148] It can be understood that the method of this embodiment corresponds to the automatic testing method in the automatic testing system of the POE switch in the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0149] The present application also provides a terminal device. Exemplarily, the terminal device includes a processor and a memory, wherein the memory stores a computer program, and the processor runs the computer program to enable the terminal device to execute the above-mentioned automated testing method for a POE switch or various functions in the above-mentioned automated testing system for a POE switch.

[0150] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0151] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0152] The present application also provides a computer-readable storage medium for storing the computer program used in the above-mentioned terminal device. For example, the computer-readable storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0153] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0155] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0156] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. An automated testing system for a POE switch, characterized in that: include: Flow meters, temperature and humidity control boxes, controllers, power supply equipment and electronic devices; The controller controls the connection between the flow meter, the temperature and humidity control box and the power supply equipment; The power supply equipment is used to provide the power supply voltage required by different test networks; The temperature and humidity control box is used to provide the temperature and / or humidity required by different test networks; The flow meter is used to set flow parameters; the flow parameters include message length and message type; The electronic device includes at least one POE switch; the electronic device is placed in the temperature and humidity control box, and the test conditions of the electronic device include different combinations of no-load / load, serial / parallel, single machine / multiple machines; The controller is used to determine different test networks corresponding to the automated testing system according to the environmental conditions, test conditions and running flow parameters of the electronic device, and control the electronic device to perform automated testing under each test network; the environmental conditions include the supply voltage, the temperature and / or humidity.

2. The automated testing system for a POE switch according to claim 1, characterized in that: When the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, the test condition is no-load serial, and the electronic device includes only one POE switch, a no-load serial flow test under dual temperature and dual voltage is performed on the POE switch; Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial adopts the VLAN setting method, the first interface and the last interface of the POE switch are respectively connected to the sending port and the receiving port of the flow meter, and all the interfaces of the POE switch are directly connected up and down or diagonally through the network cable; the upper and lower connection refers to the connection of the two interfaces corresponding to the upper and lower positions of the POE switch, and the diagonal connection refers to the connection of the upper and lower interfaces corresponding to the adjacent positions of the POE switch.

3. The automated testing system for a POE switch according to claim 1, characterized in that: When the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, and the test condition is no-load serial, and the electronic device includes at least two POE switches, a no-load serial flow test under dual temperature and dual voltage is performed on multiple POE switches; Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial connection adopts the VLAN setting method, and the interfaces of the multiple POE switches are connected, and the first interface and the last interface of a POE switch are respectively connected to the sending port and the receiving port of the flow meter; the interface docking means that all interfaces of a POE switch are connected to all interfaces of another POE switch in a one-to-one correspondence.

4. The automated testing system for a POE switch according to claim 1, characterized in that: When the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, the test condition is no-load parallel, and the electronic device includes only one POE switch, a no-load parallel flow test under dual temperature and dual voltage is performed on the POE switch; Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the parallel VLAN setting method is adopted to connect the upper interface and the lower interface of the POE switch to the sending port and the receiving port of the flow meter respectively.

5. The automated testing system for a POE switch according to claim 1, characterized in that: When the temperature in the temperature and humidity control box in the automated test system is dual temperature, the humidity is single humidity, and the test condition is serial with load, and the electronic device includes only one POE switch, the POE switch is subjected to a serial with load flow test under alternating humidity and heat conditions; Among them, the dual temperature includes the upper working limit temperature of the POE switch and the lower working limit temperature of the POE switch; the single humidity includes the working humidity of the POE switch as the upper humidity limit; the serial adopts the VLAN setting method to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and the interfaces of the POE switch are connected up and down, and the upper interface and the lower interface of the POE switch are connected in series with the load; the upper and lower connection refers to the connection of the two interfaces corresponding to the upper and lower positions of the POE switch.

6. The automated testing system for a POE switch according to claim 1, characterized in that: When the temperature in the temperature and humidity control box in the automated test system is dual temperature and the test condition is load parallel and the electronic device includes only one POE switch, the POE switch is subjected to a load parallel flow test under temperature cycle; Among them, the dual temperature includes the upper working temperature limit of the POE switch and the lower working temperature limit of the POE switch; the parallel VLAN setting method is used to connect the upper interface and the lower interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and a load is connected in series between the upper interface of the POE switch and the sending port of the flow meter, and a load is connected in series between the lower interface of the POE switch and the receiving port of the flow meter.

7. The automated testing system for a POE switch according to claim 1, characterized in that: When the power supply voltage of the automated test system is dual voltage, the temperature in the temperature and humidity control box is dual temperature, the test condition is no-load serial, and the electronic device includes only one POE switch, a no-load serial switch test is performed on the POE switch under dual temperature and dual voltage; Among them, the dual voltage includes the upper limit of the working voltage of the POE switch and the lower limit of the working voltage of the POE switch; the dual temperature includes the upper limit temperature of the working of the POE switch and the lower limit temperature of the working of the POE switch; the serial adopts the VLAN setting method to connect the first interface and the last interface of the POE switch to the sending port and the receiving port of the flow meter respectively, and connect all the interfaces of the POE switch up and down.

8. An automated testing method for a POE switch, characterized in that: Applied to the automated testing system according to any one of claims 1 to 7, the method comprises: Responding to voltage control instructions, controlling the supply voltage of the power supply equipment; Responding to the temperature and humidity control command, controlling the temperature and / or humidity in the temperature and humidity control box; Respond to parameter control instructions to control the flow parameters of the flow meter; In response to the configuration instruction, configure the test conditions of the electronic device, wherein the test conditions include different combinations of no-load / load, serial / parallel, single machine / multiple machines; wherein the electronic device includes at least one POE switch; and the electronic device is placed in the temperature and humidity control box; Determine different test networks of the automated test system according to environmental conditions, the running flow parameters and the test conditions; the environmental conditions include the supply voltage, the temperature and / or humidity; The automated testing system is used to perform automated testing via different test networks.

9. A terminal device, characterized in that: The terminal device comprises a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the automated testing method for the POE switch according to claim 8.

10. A computer-readable storage medium, characterized in that: It stores a computer program, and when the computer program is executed on a processor, the automatic testing method of the POE switch according to claim 8 is implemented.