Multi-network-card portable equipment for testing performance of network equipment and testing method

Through the logical separation of the virtual server and client of multi-network card portable devices, a single device can complete network device performance testing, solving the shortcomings of multiple devices in the existing technology, simplifying operations and reducing costs.

CN118694696APending Publication Date: 2024-09-24SHANDONG SENTER ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310296900.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing technology requires two devices to perform network device performance testing, resulting in testers needing to carry multiple devices, and the cost is high. It is impossible to implement testing in WAN and LAN modes with one portable device.

Method used

Design a portable device with multiple network cards. Through the logical separation of the virtual server and the virtual client, the server's wired network card is connected to the WAN port of the network device, and the client's wired network card is connected to the LAN port to implement device performance testing, including testing bandwidth and throughput. Data flow statistics and processing are carried out through multi-threads and multi-connections based on indicators such as volume and delay.

Benefits of technology

It realizes that a single device can complete the test work that originally required two devices, simplifies the operation, is easy to carry, and effectively reduces the test cost, and can test the wired and wireless performance indicators of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694696A
    Figure CN118694696A
Patent Text Reader

Abstract

The invention discloses a multi-network card portable device for testing the performance of a network device and a testing method, and belongs to the field of communication. According to the invention, one multi-network card portable device is used, and the test work which needs to be completed by at least two devices originally is completed by one device and a plurality of network cards. In logic, one device is divided into two virtual devices, namely a virtual client and a virtual server. A virtual server network is independently configured, and a server test program is independently operated and does not interfere with a virtual client. The communication between the client network card and the server network card can only be realized through the connection of network equipment. According to the multi-network-card portable device, the virtual server side and the virtual client side receive and transmit data for various tests, indexes such as bandwidth, throughput and time delay of network devices such as a router in a WAN-to-LAN mode can be tested, the overall performance of the network devices is obtained through comprehensive calculation, operation is easy and convenient, carrying is convenient, and cost is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of communications, and in particular to a multi-network card portable device and a testing method for testing network device performance. Background Art

[0002] For performance testing of network devices such as routers, the existing testing method requires two devices, one as a server, connected to the WAN (Wide Area Network) port of the network device, and one as a client, connected to the LAN (Local Area Network) port of the network device, or connected to the network device WIFI to test wireless performance. The client and the server send and receive data, test the network device's uplink and downlink bandwidth, throughput, latency and other indicators, and comprehensively calculate the network device performance indicators.

[0003] In the application scenario, in order to test the performance of network equipment, the tester needs to carry multiple devices, one as a server program and one as a client program. A PDA portable device cannot perform the test work of two devices at the same time. Summary of the invention

[0004] In order to solve the defects of the prior art, the present invention provides a multi-network card portable device and a testing method for testing the performance of network equipment, which is easy to operate, convenient to carry, and effectively reduces the cost.

[0005] The present invention provides the following technical solutions:

[0006] A multi-network card portable device for testing the performance of a network device, comprising a server wired network card and a client wired network card, wherein:

[0007] The server wired network card is used to connect to the WAN port of the network device, and the server wired network card is configured with a server test program. The client wired network card is used to connect to the LAN port of the network device, and the client wired network card is configured with a client wired test program.

[0008] The server wired network card and the server test program logically form an independently running virtual server, and the client wired network card and the client wired test program logically form an independently running virtual client. The virtual server and the virtual client are logically isolated from each other and run independently.

[0009] Furthermore, the multi-network card portable device also includes a client wireless network card, which is used to connect to the network device wifi, and the client wireless network card is configured with a client wireless test program; the client wireless network card and the client wireless test program logically run on the virtual client.

[0010] Furthermore, the Linux layer of the multi-network card portable device is built with a server network namespace, and the server wired network card and the server test program are isolated in the server network namespace, logically forming an independently running virtual server; the default network space of the multi-network card portable device serves as the client network space, and the client wired network card, the client wired test program, the client wireless network card and the client wireless test program are configured in the client network space, logically forming an independently running virtual client.

[0011] Further, the server-side test program is bound to the server-side wired network card, the client-side wired test program is bound to the client-side wired network card, and the client-side wireless test program is bound to the client-side wireless network card;

[0012] The IP addresses of the server wired network card, the client wired network card and the client wireless network card are not in the same network segment. The task is assigned to the server wired network card, the client wired network card or the client wireless network card according to the IP address information carried by the task to be processed.

[0013] A method for testing a multi-network card portable device for testing network device performance, the method comprising:

[0014] In the virtual server, a fixed IP address is configured for the server wired network card, the DHCP service is enabled, and the server test program is started; the server wired network card is connected to the WAN port of the network device, and the network of the network device WAN port is configured as DHCP or an IP address in the same network segment as the server wired network card;

[0015] If the wired performance of the network device is tested, the client wired network card is connected to the LAN port of the network device, the client wired test program is started in the virtual client, and the virtual client is connected to the virtual server through the network device; if the wireless performance of the network device is tested, the client wireless network card is connected to the network device WIFI, the client wireless test program is started in the virtual client, and the virtual client is connected to the virtual server through the network device;

[0016] The virtual client establishes a TCP connection for process control with the virtual server through a network device, and the virtual client sends network configuration parameters to coordinate the network environment of the virtual client and the virtual server;

[0017] The virtual clients respectively serve as a data sending end and a data receiving end, respectively testing the uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and / or jitter, and obtaining various test results of the network equipment.

[0018] Furthermore, the downlink bandwidth is tested through the following process:

[0019] The virtual client is used as a data receiving end, and the virtual server is used as a data sending end to establish multiple TCP connections;

[0020] Use multi-threading to send and receive TCP data streams, count the size of all data streams per second, and calculate the downlink bandwidth;

[0021] Test the upstream bandwidth through the following process:

[0022] The virtual client is used as a data sending end, and the virtual server is used as a data receiving end to establish multiple TCP connections;

[0023] Use multi-threading to send and receive TCP data streams, count the sizes of all data streams per second, and calculate the uplink bandwidth.

[0024] Furthermore, the downlink throughput is tested through the following process:

[0025] The virtual client is used as a data receiving end, and the virtual server is used as a data sending end to establish multiple UDP connections;

[0026] Using continuous UDP data packets of different sizes in sequence, testing the processing capability of UDP data packets of different sizes, counting the number of UDP data packets that can be processed per second when the packet loss rate is less than 5%, calculating the rate value of each UDP data packet of different sizes, and obtaining the downlink throughput;

[0027] Test the uplink throughput by following the procedure below:

[0028] The virtual client is used as a data sending end, and the virtual server is used as a data receiving end to establish multiple UDP connections;

[0029] Use continuous UDP data packets of different sizes in turn to test the processing ability of UDP data packets of different sizes. When the packet loss rate is less than 5%, count the number of UDP data packets that can be processed per second, calculate the rate value of each UDP data packet of different sizes, and obtain the uplink throughput.

[0030] Furthermore, the values ​​of the UDP data packets of different sizes are 1518Byte, 1024Byte, 512Byte, 128Byte and 64Byte.

[0031] Furthermore, the downlink latency is tested through the following process:

[0032] The virtual server sends a UDP data packet with a timestamp to the virtual client, and the virtual client calculates a downlink delay after receiving the data packet, and uses the average value obtained from multiple tests as the downlink delay;

[0033] Test the uplink latency by following the steps below:

[0034] The virtual client sends a UDP data packet with a timestamp to the virtual server. After receiving the data packet, the virtual server calculates an uplink delay and uses the average value obtained from multiple tests as the uplink delay.

[0035] Furthermore, the jitter value is tested through the following process:

[0036] Each of the UDP data packets contains a timestamp. The server records the time difference between the arrival of each UDP data packet and uses a standard jitter algorithm to calculate the jitter value.

[0037] Furthermore, the method further comprises:

[0038] Calculate the wired performance index and wireless performance index of the network device according to the uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and jitter obtained by testing the wired performance and wireless performance respectively; classify the network device into different grades according to the wired performance index and wireless performance index;

[0039] The wired performance indicators and wireless performance indicators both include maximum broadband capability and data forwarding capability.

[0040] Furthermore, the result of the uplink bandwidth and the downlink bandwidth is used as the maximum broadband capability;

[0041] The downlink throughput / uplink throughput corresponding to the UDP data packets of different sizes are weighted according to the set different weights to obtain an evaluation value; when the uplink delay, downlink delay or jitter exceeds the set threshold, the evaluation value is multiplied by the set proportion less than 1 to obtain the data forwarding capability.

[0042] The present invention has the following beneficial effects:

[0043] The present invention uses a portable device with multiple network cards to replace the testing work that originally required at least two devices to complete with one device and multiple network cards. Logically, one device is divided into two virtual devices, a virtual client and a virtual server. The virtual server network is configured separately, and the server test program runs independently without interfering with the virtual client. If the client network card wants to communicate with the server network card, it can only be achieved through the connection of network devices. Using the portable device with multiple network cards of the present invention, data is sent and received between the virtual server and the virtual client to perform various tests. The bandwidth, throughput, delay and other indicators of network devices such as routers in the WAN to LAN mode can be tested, and the overall performance of the network equipment can be obtained by comprehensive calculation. The operation is simple, easy to carry, and the cost is effectively reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of a multi-network card portable device for testing network device performance according to the present invention. DETAILED DESCRIPTION

[0045] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0046] Embodiment 1:

[0047] The embodiment of the present invention provides a multi-network card portable device 1 for testing the performance of a network device, such as Figure 1 As shown, it includes a server wired network card 2 and a client wired network card 3, wherein:

[0048] The server wired network card 2 is used to connect to the WAN port of the network device 4, the server wired network card 1 is configured with a server test program, the client wired network card 3 is used to connect to the LAN port of the network device 4, and the client wired network card 3 is configured with a client wired test program.

[0049] The server wired network card 2 and the server test program logically form an independently running virtual server, and the client wired network card 3 and the client wired test program logically form an independently running virtual client. The virtual server and the virtual client are logically isolated from each other and run independently.

[0050] The present invention uses a portable device with multiple network cards to replace the testing work that originally required at least two devices to complete with one device and multiple network cards. Logically, one device is divided into two virtual devices, a virtual client and a virtual server. The virtual server network is configured separately, and the server test program runs independently without interfering with the virtual client. If the client network card wants to communicate with the server network card, it can only be achieved through the connection of network devices. Using the portable device with multiple network cards of the present invention, data is sent and received between the virtual server and the virtual client to perform various tests. The bandwidth, throughput, delay and other indicators of network devices such as routers in the WAN to LAN mode can be tested, and the overall performance of the network equipment can be obtained by comprehensive calculation. The operation is simple, easy to carry, and the cost is effectively reduced.

[0051] As one of the improvements, the multi-network card portable device 1 also includes a client wireless network card 5, which is used to connect to the network device 1 wifi, and the client wireless network card 5 is configured with a client wireless test program. The client wireless network card 5 and the client wireless test program logically run on the virtual client and are isolated from the server wired network card 2. The network device performance index test in wireless mode is realized.

[0052] The present invention does not limit the implementation method of the virtual server and the virtual client. In one example:

[0053] The system of the multi-NIC portable device 1 can be an Android system, which can configure the network for each network card at the same time and control power on and off. During testing, multiple network cards need to be configured with different routes, and the client test program and the server test program also need different networks. In this example, a server network namespace is built in the Linux layer of the multi-NIC portable device 1. The server wired network card 2 and the server test program are isolated in the server network namespace, logically forming an independently running virtual server. The default network space of the multi-NIC portable device 1 is used as the client network space, and the client wired network card 3, the client wired test program, the client wireless network card 5 and the client wireless test program are configured in the client network space, logically forming an independently running virtual client.

[0054] In another example:

[0055] The server test program is bound to the server wired network card 2 to form a virtual server. The client wired test program is bound to the client wired network card 3, and the client wireless test program is bound to the client wireless network card 5 to form a virtual client.

[0056] The server-side wired network card 2 and the WAN port of network device 4 are set to IP addresses in the same network segment, the client-side wired network card 3 and the LAN port of network device 4 are set to IP addresses in the same network segment, the client-side wireless network card 5 and the network device 4wifi are set to IP addresses in the same network segment, and the IP addresses of the server-side wired network card 2, the client-side wired network card 3 and the client-side wireless network card 5 are not in the same network segment, so as to achieve mutual isolation between the server-side wired network card 2, the client-side wired network card 3 and the client-side wireless network card 5.

[0057] And add corresponding routing strategies, when processing corresponding tasks, assign the tasks to the server wired network card, the client wired network card or the client wireless network card according to the IP address information carried by the task to be processed.

[0058] For example, a request whose destination IP address is the IP of the server wired network card is sent through the client wired network card or the client wireless network card. A request whose destination IP address is the IP of the client wired network card or the client wireless network card is sent through the server wired network card.

[0059] The received data whose source IP address is the IP of the server wired network card is handed over to the client wired network card or the client wireless network card for processing. The received data whose source IP address is the client wired network card or the client wireless network card is handed over to the server wired network card for processing.

[0060] Embodiment 2:

[0061] The embodiment of the present invention also provides a testing method for the multi-network card portable device 1 for testing the performance of a network device as described in Embodiment 1, the method comprising:

[0062] S1: In the virtual server, configure a fixed IP address for the server wired network card 2, enable the DHCP (Dynamic Host Configuration Protocol) service, and start the server test program; connect the server wired network card 2 to the WAN port of the network device 4, and configure the network of the WAN port of the network device 4 to DHCP or an IP address in the same network segment as the server wired network card 2 to establish a physical connection.

[0063] S2: If the wired performance of network device 1 is tested, connect the client wired network card 3 to the LAN port of network device 4 and configure the network of the client wired network card 3; start the client wired test program in the virtual client and connect the virtual client to the virtual server through network device 4.

[0064] If the wireless performance of network device 4 is tested, the client wireless network card 5 is connected to network device 4 WIFI, and the network of the client wireless network card 5 is configured; the client wireless test program is started in the virtual client, and the virtual client is connected to the virtual server through network device 4.

[0065] S3: The virtual client establishes a TCP connection for process control with the virtual server through the network device 4, and the virtual client sends network configuration parameters to coordinate the network environment of the virtual client and the virtual server.

[0066] S4: The virtual clients act as data transmitters and receivers respectively, and test uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and / or jitter and other test items to obtain various test results of the network equipment.

[0067] As an example, you can test the downlink bandwidth through the following process:

[0068] S401: Using the virtual client as a data receiving end and the virtual server as a data sending end, multiple TCP (Transmission Control Protocol) connections are established.

[0069] S402: Use multiple threads to send and receive TCP data streams, count the sizes of all data streams per second, and calculate the downlink bandwidth.

[0070] Accordingly, the uplink bandwidth can be tested through the following process:

[0071] S403: Use the virtual client as a data sending end and the virtual server as a data receiving end to establish multiple TCP connections.

[0072] S404: Use multiple threads to send and receive TCP data streams, count the sizes of all data streams per second, and calculate the uplink bandwidth.

[0073] As another example, the downlink throughput can be tested as follows:

[0074] S411: Use the virtual client as a data receiving end and the virtual server as a data sending end to establish multiple UDP (User Datagram Protocol) connections.

[0075] S412: Use continuous UDP data packets of different sizes in sequence to test the processing capabilities of UDP data packets of different sizes. When the packet loss rate is less than 5%, count the number of UDP data packets that can be processed per second, calculate the rate value of each UDP data packet of different sizes, and obtain the downlink throughput.

[0076] Accordingly, the uplink throughput can be tested through the following process:

[0077] S413: Use the virtual client as a data sender and the virtual server as a data receiver to establish multiple UDP connections.

[0078] S414: Use continuous UDP data packets of different sizes in sequence to test the processing capabilities of UDP data packets of different sizes. When the packet loss rate is less than 5%, count the number of UDP data packets that can be processed per second, calculate the rate value of each UDP data packet of different sizes, and obtain the uplink throughput.

[0079] Among them, the values ​​of the aforementioned UDP data packets of different sizes can be 1518Byte, 1024Byte, 512Byte, 128Byte and 64Byte.

[0080] As another example, you can test the downlink latency by:

[0081] S415: The virtual server sends a UDP data packet with a timestamp to the virtual client. After receiving the data packet, the virtual client calculates a downlink delay and takes the average value obtained from multiple tests as the downlink delay.

[0082] Accordingly, the uplink delay can be tested through the following process:

[0083] S416: The virtual client sends a UDP data packet with a timestamp to the virtual server. After receiving the data packet, the virtual server calculates an uplink delay and takes the average value obtained from multiple tests as the uplink delay.

[0084] When testing the uplink and downlink throughput, you can also test the jitter value through the following process:

[0085] S417: Each UDP data packet contains a timestamp. The server records the time difference between the arrival of each UDP data packet and uses a standard jitter algorithm to calculate the jitter value.

[0086] As an improvement of the embodiment of the present invention, the method further includes:

[0087] S5: Based on the uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and jitter obtained from the wired performance and wireless performance tests, the wired performance index and wireless performance index of the network device 4 are obtained through comprehensive evaluation and calculation by an algorithm; the network devices are divided into different grades according to the wired performance index and the wireless performance index.

[0088] Among them, both wired performance indicators and wireless performance indicators include maximum broadband capability and data forwarding capability.

[0089] Furthermore, the result of the upstream bandwidth and the downstream bandwidth may be used as the maximum broadband capability.

[0090] When calculating data forwarding capability, it is necessary to comprehensively calculate throughput, delay, and jitter values. Specifically, the downlink throughput / uplink throughput corresponding to UDP packets of different sizes are weighted according to different set weights to obtain an evaluation value; when the uplink delay, downlink delay, or jitter exceeds the set threshold, the evaluation value is multiplied by the set proportion less than 1, and the evaluation value is reduced to obtain the data forwarding capability.

[0091] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A multi-network card portable device for testing the performance of network equipment, characterized in that: It includes the server wired network card and the client wired network card, including: The server wired network card is used to connect to the WAN port of the network device, and the server wired network card is configured with a server test program. The client wired network card is used to connect to the LAN port of the network device, and the client wired network card is configured with a client wired test program. The server wired network card and the server test program logically form an independently running virtual server, and the client wired network card and the client wired test program logically form an independently running virtual client. The virtual server and the virtual client are logically isolated from each other and run independently.

2. The multi-network card portable device for testing network device performance according to claim 1, characterized in that: The multi-network card portable device also includes a client wireless network card, which is used to connect to the network device wifi, and the client wireless network card is configured with a client wireless test program; the client wireless network card and the client wireless test program logically run on the virtual client.

3. The multi-network card portable device for testing network device performance according to claim 2, characterized in that: The Linux layer of the multi-NIC portable device is built with a server network namespace, and the server wired network card and the server test program are isolated in the server network namespace, logically forming an independently running virtual server; the default network space of the multi-NIC portable device serves as the client network space, and the client wired network card, the client wired test program, the client wireless network card and the client wireless test program are configured in the client network space, logically forming an independently running virtual client.

4. The multi-network card portable device for testing network device performance according to claim 2, characterized in that: The server-side test program is bound to the server-side wired network card, the client-side wired test program is bound to the client-side wired network card, and the client-side wireless test program is bound to the client-side wireless network card; The IP addresses of the server wired network card, the client wired network card and the client wireless network card are not in the same network segment. The task is assigned to the server wired network card, the client wired network card or the client wireless network card according to the IP address information carried by the task to be processed.

5. A method for testing a multi-network card portable device for testing the performance of a network device according to any one of claims 1 to 4, characterized in that: The method comprises: In the virtual server, a fixed IP address is configured for the server wired network card, the DHCP service is enabled, and the server test program is started; the server wired network card is connected to the WAN port of the network device, and the network of the network device WAN port is configured as DHCP or an IP address in the same network segment as the server wired network card; If the wired performance of the network device is tested, the client wired network card is connected to the LAN port of the network device, the client wired test program is started in the virtual client, and the virtual client is connected to the virtual server through the network device; if the wireless performance of the network device is tested, the client wireless network card is connected to the network device WIFI, the client wireless test program is started in the virtual client, and the virtual client is connected to the virtual server through the network device; The virtual client establishes a TCP connection for process control with the virtual server through a network device, and the virtual client sends network configuration parameters to coordinate the network environment of the virtual client and the virtual server; The virtual clients respectively serve as a data sending end and a data receiving end, respectively testing the uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and / or jitter, and obtaining various test results of the network equipment.

6. The method according to claim 5, characterized in that Test the downstream bandwidth through the following process: The virtual client is used as a data receiving end, and the virtual server is used as a data sending end to establish multiple TCP connections; Use multi-threading to send and receive TCP data streams, count the size of all data streams per second, and calculate the downlink bandwidth; Test the upstream bandwidth through the following process: The virtual client is used as a data sending end, and the virtual server is used as a data receiving end to establish multiple TCP connections; Use multi-threading to send and receive TCP data streams, count the sizes of all data streams per second, and calculate the uplink bandwidth.

7. The method according to claim 5, characterized in that The downlink throughput is tested by the following process: The virtual client is used as a data receiving end, and the virtual server is used as a data sending end to establish multiple UDP connections; Using continuous UDP data packets of different sizes in sequence, testing the processing capability of UDP data packets of different sizes, counting the number of UDP data packets that can be processed per second when the packet loss rate is less than 5%, calculating the rate value of each UDP data packet of different sizes, and obtaining the downlink throughput; Test the uplink throughput by following the procedure below: The virtual client is used as a data sending end, and the virtual server is used as a data receiving end to establish multiple UDP connections; Use continuous UDP data packets of different sizes in turn to test the processing ability of UDP data packets of different sizes. When the packet loss rate is less than 5%, count the number of UDP data packets that can be processed per second, calculate the rate value of each UDP data packet of different sizes, and obtain the uplink throughput.

8. The method according to claim 7, characterized in that The values ​​of the different sizes of UDP data packets are 1518Byte, 1024Byte, 512Byte, 128Byte and 64Byte.

9. The method according to claim 7, characterized in that: Test the downlink latency by following the following process: The virtual server sends a UDP data packet with a timestamp to the virtual client, and the virtual client calculates a downlink delay after receiving the data packet, and uses the average value obtained from multiple tests as the downlink delay; Test the uplink latency by following the steps below: The virtual client sends a UDP data packet with a timestamp to the virtual server. After receiving the data packet, the virtual server calculates an uplink delay and uses the average value obtained from multiple tests as the uplink delay.

10. The method according to claim 7, characterized in that Test the jitter value through the following process: Each of the UDP data packets contains a timestamp. The server records the time difference between the arrival of each UDP data packet and uses a standard jitter algorithm to calculate the jitter value.

11. The method according to any one of claims 5 to 10, characterized in that: The method further comprises: Calculate the wired performance index and wireless performance index of the network device according to the uplink bandwidth, downlink bandwidth, uplink throughput, downlink throughput, uplink delay, downlink delay and jitter obtained by testing the wired performance and wireless performance respectively; classify the network device into different grades according to the wired performance index and wireless performance index; The wired performance indicators and wireless performance indicators both include maximum broadband capability and data forwarding capability.

12. The method according to claim 11, characterized in that: The result of the uplink bandwidth and the downlink bandwidth is used as the maximum broadband capability; The downlink throughput / uplink throughput corresponding to the UDP data packets of different sizes are weighted according to the set different weights to obtain an evaluation value; when the uplink delay, downlink delay or jitter exceeds the set threshold, the evaluation value is multiplied by the set proportion less than 1 to obtain the data forwarding capability.