A router auxiliary measuring device, a router load capacity testing system and method

CN117978675BActive Publication Date: 2026-10-27SHANDONG YOU INTERNET OF THINGS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311803906.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2026-10-27
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

[0005]但是,由于客户端设备较多,仅通过笔记本、手机、PC等辅测设备手动连接路由器的方式,无法满足足够多的辅测设备支持测试;且手动连接以及手动切换不同客户端的连接较为复杂,例如:wifi客户端需要每个客户端逐一输入用户名密码进行连接;Wifi 6高并发测试环境由于涉及的客户端较多,所以也难以搭建;另外,目前测试带载使用的网络性能测试工具(Iperf或IxChariot)需要操作系统的支持

Benefits of technology

[0033]本发明设计集成多个无线模块和以太网模块的路由器辅测装置,在此基础上提出路由器带载能力测试系统及方法,每个模块相当于一个连接路由器的网络客户端,根据需求自动控制各个客户端的连接方式和连接数量,不需要手动去连接每一个客户端,自动变化带载数量进行负载均衡测试,简化路由器带载能力测试环境的搭建,操作方便,降低测试时间,提高测试效率,并且可以扩展并测试足够多的客户端,适用各种路由带载量测试。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117978675B_ABST
    Figure CN117978675B_ABST
Patent Text Reader

Abstract

The application discloses a router auxiliary measuring device, a router load capacity testing system and method, and comprises: a plurality of Ethernet modules, each of which is connected with a router to be measured; a plurality of wireless modules, each of which is connected with the router to be measured; and a processor for controlling the on-off of the Ethernet modules and the wireless modules connected with the router to be measured, so as to control the LAN load quantity and the WIFI load quantity of the router to be measured, and after successful connection, Ping test, data flow test and load balancing test are performed on the router to be measured. The router auxiliary measuring device is designed to integrate a plurality of wireless modules and Ethernet modules, each module is equivalent to a network client connected with the router, the connection mode and the connection quantity of each client are automatically controlled according to requirements, each client does not need to be manually connected, the load quantity is automatically changed, and the device is suitable for various router load quantity tests.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of router performance testing technology, and in particular to a router auxiliary testing device, a router load capacity testing system and method. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Router capacity is one of the basic performance indicators of a router. It refers to the number of connections a router can handle simultaneously, including the number of devices connected to the router at the same time and the number of sessions the router can handle simultaneously. The number of connections depends on the router's hardware and software design and its processing power.

[0004] Router load testing is divided into LAN port and Wi-Fi load testing. The existing technical solution is to manually connect the router using auxiliary testing devices such as laptops, mobile phones, and PCs, and use professional software such as network performance testing tools (Iperf or IxChariot) to perform data transmission testing.

[0005] However, due to the large number of client devices, manually connecting the router using auxiliary testing devices such as laptops, mobile phones, and PCs is insufficient to support the testing. Furthermore, manually connecting and switching between different clients is quite complex. For example, each Wi-Fi client requires entering its username and password individually to connect. Setting up a high-concurrency Wi-Fi 6 testing environment is also difficult due to the large number of clients involved. In addition, the network performance testing tools (Iperf or IxChariot) currently used for load testing require operating system support. Summary of the Invention

[0006] To address the aforementioned issues, this invention proposes a router auxiliary testing device, a router load capacity testing system, and a method. The device integrates multiple wireless and Ethernet modules, with each module acting as a network client connected to the router. It automatically controls the connection method and number of each client according to requirements, eliminating the need for manual connection of each client and automatically adjusting the load capacity. This makes it suitable for various router load capacity tests.

[0007] To achieve the above objectives, the present invention adopts the following technical solution:

[0008] In a first aspect, the present invention provides a router auxiliary testing device, comprising:

[0009] Several Ethernet modules, each connected to the router under test;

[0010] Several wireless modules, each connected to the router under test;

[0011] The processor controls the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet and wireless modules and the router under test. After successful connection, it performs Ping, data flow and load balancing tests on the router under test.

[0012] As an alternative implementation, the processor connects to the Ethernet module via the I / O control module and to the wireless module via the 485 bus module, thereby controlling the number of Ethernet modules and wireless modules connected to the router under test respectively.

[0013] As an alternative implementation, the processor receives the set number of LAN modules, the number of WIFI modules, the WIFI username and password, and the connection method sent by the host computer through the serial port module. It selects the connection method, controls the on / off state of the Ethernet module according to the set number of LAN modules, and configures the username and password of the wireless module according to the number of WIFI modules, thereby connecting the corresponding number of Ethernet modules and wireless modules.

[0014] As an alternative implementation method, the connection method includes sequential connection and concurrent connection;

[0015] The concurrent connection includes: at a set interval, determining whether the connection is successful based on the set number of LAN loads, the number of WIFI loads, and the current number of connections; if the connection is successful, testing is performed; if the connection is unsuccessful, reconnection is controlled; if the number of reconnections exceeds a set threshold, the test is stopped.

[0016] The sequential connection process includes: controlling the Ethernet module and the wireless module to connect to the router under test in sequence. After connecting a module, the connection is checked at set intervals. If the connection is successful, a test is performed. If the connection fails, the system is controlled to reconnect. If the number of reconnections exceeds a set threshold, the test is stopped.

[0017] As an optional implementation, the Ping test includes: obtaining the IP address of the currently connected Ethernet module or wireless module, performing a Ping packet test, and outputting the minimum latency, maximum latency, average latency, and packet loss rate for each Ping to each IP.

[0018] As an optional implementation, the data streaming test includes: the Ethernet module and the wireless module receiving streaming data sent by the router under test, and returning the test results to the host computer through the router under test.

[0019] As an optional implementation, the load balancing test includes:

[0020] Under the current settings of LAN and WIFI bandwidth, conduct data flow tests and record the current throughput of each IP.

[0021] After the test time is reached, a certain number of Ethernet and wireless modules are disconnected, and the data flow test is performed again to record the current throughput of each IP.

[0022] The test is repeated a set number of times to determine whether the load balancing of the router under test meets the test standards.

[0023] Secondly, the present invention provides a testing method for a router auxiliary testing device, employing the router auxiliary testing device described in the first aspect, comprising:

[0024] Based on the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method, the system controls the connection between the Ethernet module and the wireless module and the router under test, thereby controlling the number of LAN ports and WIFI ports connected to the router under test.

[0025] After confirming that the Ethernet module and wireless module have successfully connected, perform Ping test, data flow test and load balancing test on the router under test.

[0026] Thirdly, the present invention provides a router load capacity testing system, comprising: a host computer, a router under test, and the router auxiliary testing device described in the first aspect;

[0027] The host computer sends the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test.

[0028] The router auxiliary testing device controls the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet module and the wireless module and the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test.

[0029] Fourthly, the present invention provides a method for testing the load capacity of a router, employing the router load capacity testing system described in the third aspect, comprising:

[0030] The host computer sends the set number of LAN devices, number of WIFI devices, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test.

[0031] The router auxiliary testing device controls the connection between the Ethernet module and the wireless module and the router under test to control the number of LAN and WIFI connections to the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0033] This invention designs a router auxiliary testing device integrating multiple wireless and Ethernet modules. Based on this, it proposes a router load capacity testing system and method. Each module is equivalent to a network client connected to the router. The connection method and number of each client are automatically controlled according to requirements, eliminating the need to manually connect each client. The system automatically adjusts the load capacity for load balancing testing, simplifying the setup of the router load capacity testing environment. It is easy to operate, reduces testing time, improves testing efficiency, and can be expanded to test a sufficient number of clients, making it suitable for various router load capacity tests.

[0034] In this invention, the Ethernet module is connected to the router under test via a network cable and a switch, and the wireless module is connected to the router under test by entering a username and password. In data flow testing and load balancing testing, it can be directly used to receive the data flow sent by the router under test and return the test results such as throughput, latency, and packet loss rate of this line, simplifying the testing steps and improving testing efficiency.

[0035] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0036] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0037] Figure 1 This is an overall framework diagram provided for Embodiment 1 of the present invention;

[0038] Figure 2 This is a flowchart of the connection determination logic provided in Embodiment 1 of the present invention;

[0039] Figure 3 This is a schematic diagram of the Ping test provided in Embodiment 1 of the present invention;

[0040] Figure 4 This is a data flow diagram for data streaming test provided in Embodiment 1 of the present invention;

[0041] Figure 5 This is a schematic diagram of a data streaming test provided in Embodiment 1 of the present invention. Detailed Implementation

[0042] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0043] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0044] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form as well. Furthermore, it should be understood that the terms “comprising” and “including”, and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.

[0045] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0046] Example 1

[0047] This embodiment provides a router auxiliary testing device, including:

[0048] Several Ethernet modules, each connected to the router under test;

[0049] Several wireless modules, each connected to the router under test;

[0050] The processor controls the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet and wireless modules and the router under test. After successful connection, it performs Ping, data flow and load balancing tests on the router under test.

[0051] The following is combined Figure 1 The router auxiliary testing device is described in detail.

[0052] In this embodiment, the processor (MCU) is connected to the Ethernet module (ETH module) through the IO control module to control the number of routers under test. During load balancing testing, since the number of loads is changing, the IO control module can automatically control the connection and disconnection between the Ethernet module and the router under test, eliminating the need to manually plug and unplug the network cable.

[0053] In this embodiment, the processor connects to the wireless module (wifi module) via a 485 bus module and controls the connection and disconnection between the wifi module and the router under test via AT commands, thereby controlling the number of wifi clients accessing the router under test.

[0054] As an alternative implementation, the processor uses an STM32F103, which has 5 UART ports and can control a 485 bus module and multiple I / O control modules.

[0055] As an alternative implementation, the IO control module uses IO808, which can control the on / off state of eight Ethernet modules.

[0056] As an alternative implementation method, the 485 bus module can configure the parameters of each module simultaneously to achieve parameter uniformity.

[0057] In this embodiment, the Ethernet module is connected to the router under test via a network cable and a switch. In the data flow test and load balancing test, it is used to receive the flow data sent by the router under test and return the test results such as throughput, latency, and packet loss rate of this line.

[0058] In this embodiment, the wireless module connects to the router under test by entering a username and password. In the data flow test and load balancing test, it is used to receive the data flow sent by the router under test and return the test results such as throughput, latency, and packet loss rate of this line.

[0059] In this embodiment, the processor is also connected to the host computer via a serial port module. The host computer configures parameters such as the number of LAN devices, the number of Wi-Fi devices, the Wi-Fi username and password, and the connection method. The connection method is divided into one-to-one connection and concurrent connection. The host computer sends the number of LAN devices, the number of Wi-Fi devices, the Wi-Fi username and password, and the connection method to the processor via the serial port module, thereby controlling the connection between the Ethernet module and the wireless module and the router under test.

[0060] In this embodiment, the processor controls the Ethernet module's on / off state via the IO control module according to the set LAN load capacity, configures the Wi-Fi module's username and password via the 485 bus module according to the Wi-Fi load capacity, and selects the connection method after configuration.

[0061] like Figure 2 As shown, specifically:

[0062] (1) If concurrent connections are selected;

[0063] (1-1) After starting the test, a connection check is performed;

[0064] (1-2) Set the interval (e.g., 30s), and determine whether the connection is successful based on the set number of LAN loads, number of WIFI loads, and number of current connections. After successful connection, the host computer obtains the IP address currently connected to the router under test and sends relevant test data to it for testing.

[0065] (1-3) If the connection still fails after 3 attempts, disconnect all connections and retry the connection. If the connection fails after 3 attempts, it will indicate that the current load data is inconsistent with the device. In this case, the tester needs to reduce the load and retest.

[0066] (2) If you choose to connect one by one:

[0067] (2-1) After the test begins, the MCU controls the Ethernet module or the WiFi module to connect to the router under test in sequence.

[0068] (2-2) After connecting to a client, the host computer will check whether the connection is successful at set intervals (e.g., 10s). If the connection is not successful, the MCU will control the reconnection. If the reconnection fails 3 times, the test will stop and prompt that the current load data is inconsistent with the device. The tester needs to check whether the test environment is abnormal or reduce the load and retest.

[0069] In this embodiment, Ping test is also known as load capacity test. Ping test does not require a large amount of data. As long as the connection is normal and Ping can be completed, it is sufficient. The main test is the maximum number of clients that the router under test can support.

[0070] The testing steps include: obtaining the IP address of the currently connected Ethernet or wireless module; Ping testing uses 64-byte packets by default; and finally outputting the minimum latency, maximum latency, average latency, and packet loss rate for each ping to each IP address. Figure 3 As shown.

[0071] The host computer connects to the router under test and obtains the IP address of the current connection by reading the router's log information.

[0072] In this embodiment, the data flow test, also known as the load performance test, requires testing the router's maximum transmission throughput, latency, packet loss rate, etc.

[0073] The testing steps include: using the Ethernet module and wireless module as terminal services, and the host computer as the control terminal, performing a streaming test on the Ethernet module and wireless module using TCP.

[0074] like Figure 4As shown, the Ethernet module and wireless module receive the streaming data sent by the router under test (DUT) and return the test results to the host computer control terminal via the DUT. Finally, they return data such as throughput, latency, and packet loss rate. Figure 5 As shown.

[0075] In this embodiment, the load balancing test mainly tests whether the throughput of each client can remain in a state of balanced traffic distribution when the number of routers changes.

[0076] The testing steps include:

[0077] Under the current settings of LAN and WIFI bandwidth, conduct data flow tests and record the current throughput of each IP.

[0078] Once the test time is reached, the MCU controls the disconnection of a certain number of Ethernet and wireless modules, and the test is performed again, while recording the current throughput of each IP.

[0079] Repeat the process three times to determine whether the load balancing function of the router under test meets the test standards.

[0080] The router auxiliary testing device in this embodiment integrates multiple wireless modules and Ethernet modules, and automatically connects to the router under test. Each module is equivalent to a network client connected to the router. The connection between the wireless module and the router under test is controlled by the 485 bus module, and the connection between the IO control module and the router under test is controlled by the IO control module to control the on / off state of the Ethernet module's network cable.

[0081] Example 2

[0082] This embodiment provides a testing method for a router auxiliary testing device, which uses the router auxiliary testing device described in Embodiment 1, including:

[0083] Based on the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method, the system controls the connection between the Ethernet module and the wireless module and the router under test, thereby controlling the number of LAN ports and WIFI ports connected to the router under test.

[0084] After confirming that the Ethernet module and wireless module have successfully connected, perform Ping test, data flow test and load balancing test on the router under test.

[0085] Example 3

[0086] This embodiment provides a router load capacity testing system, including: a host computer, a router under test, and the router auxiliary testing device described in Embodiment 1;

[0087] The host computer sends the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test.

[0088] The router auxiliary testing device controls the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet module and the wireless module and the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test.

[0089] Example 4

[0090] This embodiment provides a method for testing the load capacity of a router, using the router load capacity testing system described in Embodiment 3, including:

[0091] The host computer sends the set number of LAN devices, number of WIFI devices, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test.

[0092] The router auxiliary testing device controls the connection between the Ethernet module and the wireless module and the router under test to control the number of LAN and WIFI connections to the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test.

[0093] In the above embodiments, a router auxiliary testing device integrating multiple wireless modules and Ethernet modules is designed. Each module is equivalent to a network client connected to the router. The connection method and number of each client are automatically controlled according to the requirements, eliminating the need to manually connect each client. The device automatically changes the load capacity for load balancing testing, simplifying the setup of the router load capacity testing environment. It is easy to operate, reduces testing time, improves testing efficiency, and can be expanded to test a sufficient number of clients, making it suitable for various router load capacity tests.

[0094] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A router auxiliary testing device, characterized in that, include: Several Ethernet modules, each connected to the router under test; Several wireless modules, each connected to the router under test; The processor is used to control the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet module and the wireless module and the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test. The processor is connected to the Ethernet module via the IO control module and to the wireless module via the 485 bus module, thereby controlling the number of Ethernet modules and wireless modules connected to the router under test. The processor receives the set number of LAN modules, the number of WIFI modules, the WIFI username and password, and the connection method from the host computer via the serial port module. It selects the connection method, controls the on / off state of the Ethernet module according to the set number of LAN modules, and configures the username and password of the wireless module according to the number of WIFI modules, thereby connecting the corresponding number of Ethernet modules and wireless modules. The load balancing test includes: performing a data flow test under the currently set number of LAN and WIFI loads, and recording the current throughput of each IP; after the test time is reached, controlling the disconnection of a certain number of Ethernet and wireless modules, and performing the data flow test again, recording the current throughput of each IP; repeating the test a set number of times to determine whether the load balancing of the router under test meets the test standards.

2. The router auxiliary testing device as described in claim 1, characterized in that, Connection methods include sequential connections and concurrent connections; The concurrent connection includes: at a set interval, determining whether the connection is successful based on the set number of LAN loads, the number of WIFI loads, and the current number of connections; if the connection is successful, testing is performed; if the connection is unsuccessful, reconnection is controlled; if the number of reconnections exceeds a set threshold, the test is stopped. The sequential connection process includes: controlling the Ethernet module and the wireless module to connect to the router under test in sequence. After connecting a module, the connection is checked at set intervals. If the connection is successful, a test is performed. If the connection fails, the system is controlled to reconnect. If the number of reconnections exceeds a set threshold, the test is stopped.

3. The router auxiliary testing device as described in claim 1, characterized in that, The Ping test includes: obtaining the IP address of the currently connected Ethernet module or wireless module, performing a Ping packet test, and outputting the minimum latency, maximum latency, average latency, and packet loss rate for each Ping to each IP.

4. The router auxiliary testing device as described in claim 1, characterized in that, The data streaming test includes: the Ethernet module and the wireless module receiving streaming data sent by the router under test, and returning the test results to the host computer through the router under test.

5. A testing method for a router auxiliary testing device, characterized in that, The router auxiliary testing device according to any one of claims 1-4 includes: Based on the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method, the system controls the connection between the Ethernet module and the wireless module and the router under test, thereby controlling the number of LAN ports and WIFI ports connected to the router under test. After confirming that the Ethernet module and wireless module have successfully connected, perform Ping test, data flow test and load balancing test on the router under test. The load balancing test includes: performing a data flow test under the currently set number of LAN and WIFI loads, and recording the current throughput of each IP; after the test time is reached, controlling the disconnection of a certain number of Ethernet and wireless modules, and performing the data flow test again, recording the current throughput of each IP; repeating the test a set number of times to determine whether the load balancing of the router under test meets the test standards.

6. A router load capacity testing system, characterized in that, include: The host computer, the router under test, and the router auxiliary testing device according to any one of claims 1-4; The host computer sends the set number of LAN ports, number of WIFI ports, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test. The router auxiliary testing device controls the number of LAN and WIFI connections to the router under test by controlling the connection between the Ethernet module and the wireless module and the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test. The load balancing test includes: performing a data flow test under the currently set number of LAN and WIFI loads, and recording the current throughput of each IP; after the test time is reached, controlling the disconnection of a certain number of Ethernet and wireless modules, and performing the data flow test again, recording the current throughput of each IP; repeating the test a set number of times to determine whether the load balancing of the router under test meets the test standards.

7. A method for testing the load capacity of a router, characterized in that, The router load capacity testing system according to claim 6 includes: The host computer sends the set number of LAN devices, number of WIFI devices, WIFI username and password, and connection method to the router auxiliary testing device, and determines whether the Ethernet module and wireless module are successfully connected to the router under test. The router auxiliary testing device controls the connection between the Ethernet module and the wireless module and the router under test, thereby controlling the number of LAN and WIFI connections to the router under test. After successful connection, it performs Ping test, data flow test and load balancing test on the router under test.

Citation Information

Patent Citations

  • Performance testing method and system of wireless router

    CN103441899A

  • Method and device for testing access of multiple wireless terminals to wireless router

    CN116634479A