Wireless network speed measurement method
By using multiple test units in the wireless network speed test terminal, acquiring channel and AP information, optimizing the speed test AP to be tested, and dynamically adjusting the speed test strategy in combination with CPU performance and network status, the problem of inaccurate speed test in the existing technology is solved, and a more efficient and comprehensive network performance evaluation is achieved.
Patent Information
- Application Number
- CN202311874033.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
The existing wireless network speed test terminals use 2*2MIMO specification WIFI modules, which cannot meet the increasing speed test needs, and the speed test results are inaccurate in complex and changing network environments.
By using multiple test units in the speed test terminal, the analysis test unit is selected to obtain channel information and AP information of the wireless network, the speed test AP to be tested is optimized, and the speed test unit is selected from multiple test units for speed measurement, and the speed test strategy is dynamically adjusted based on CPU performance and network status.
It improves the accuracy and credibility of wireless network speed measurement, ensures accurate evaluation of current network performance, and enhances the efficiency and comprehensiveness of speed measurement.
Smart Images

Figure CN120238938A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a wireless network speed measurement method. The present invention also relates to a speed measurement terminal device comprising a plurality of test units. Background Art
[0002] A wireless network is a network that can interconnect various communication devices without the need for wiring. Wireless networks are usually combined with telecommunication networks, and nodes can be linked to each other without the need for cables. Depending on the coverage of the network, wireless networks can be divided into wireless wide area networks, wireless local area networks, wireless metropolitan area networks, and wireless personal area networks.
[0003] With the widespread application and rapid development of wireless networks, people's requirements for network performance are constantly increasing. In daily life and work, users have higher expectations for the accuracy and real-time performance of wireless network speed measurement.
[0004] Existing speed test terminals mostly use 2*2MIMO (Multiple-Input Multiple-Output) WIFI (Wireless Fidelity) modules. Their low wireless rate cannot meet the increasing demand. In addition, the application of a single test unit is greatly affected by network changes and is difficult to adapt to complex and changeable network environments, resulting in inaccurate speed test results.
[0005] Therefore, how to improve the comprehensiveness and credibility of wireless network testing and ensure accurate evaluation of the optimal performance of the current network has become a technical problem that needs to be urgently solved by those skilled in the art. Summary of the invention
[0006] The present invention provides a wireless network speed measurement method and device, which can improve the comprehensiveness and credibility of wireless network testing, ensure accurate evaluation of the optimal performance of the current network, and thus effectively guarantee the accuracy of wireless network speed measurement.
[0007] In order to achieve the above object, the present invention provides a wireless network speed measurement method on one hand, which is applied to a speed measurement terminal including a plurality of test units, wherein the plurality of test units are connected to the speed measurement terminal through a bus interface or a universal serial bus (USB) interface of the speed measurement terminal, specifically:
[0008] Selecting an analysis test unit from the multiple test units to analyze and obtain channel information and wireless access point AP information of the wireless network around the speed test terminal;
[0009] Determine an AP to be measured according to the AP information, and optimize the AP to be measured according to the channel information and the AP information;
[0010] Select a speed measurement test unit from the multiple test units, connect the speed measurement test unit to the AP to be speed measured, and perform speed measurement.
[0011] Preferably, select an analysis test unit from the multiple test units, specifically:
[0012] If the bandwidths of the multiple test units are different, select the test units in descending order of bandwidth as the analysis test units;
[0013] If the bandwidths of the multiple test units are the same, select the test units in descending order of initial speed as the analysis test units.
[0014] Preferably, select a speed measurement test unit from the multiple test units, specifically:
[0015] Based on the data transmission capacity in the AP information, combined with the speed measurement capabilities of each test unit itself, determine the number of test units required for speed measurement of the AP to be speed measured;
[0016] Call the speed measurement test units according to the number.
[0017] Preferably, the method further includes:
[0018] Perform a status analysis of the wireless network around the speed measurement terminal at a preset time interval through the analysis test unit;
[0019] Determine the signal quality fluctuation degree of each AP according to the status information;
[0020] Allocate different priorities to each AP in ascending order of the signal quality fluctuation degree, so that the speed measurement test unit performs speed measurement on each AP in turn according to the priority.
[0021] Preferably, the method further includes:
[0022] If the network quality of the AP changes by more than a preset threshold, call the speed measurement test unit to perform speed measurement on the AP again, and send a network problem warning message after generating a new speed measurement result.
[0023] Preferably, before selecting an analysis test unit from the multiple test units, it further includes:
[0024] Obtain the effective number of test units successfully loaded by the CPU of the speed measurement terminal and the actual number of test units connected in the device manager of the speed measurement terminal;
[0025] When the effective quantity does not match the actual quantity, a pop-up window or warning message is generated to enable the user to check or replace the test unit.
[0026] Preferably, the AP to be speed-tested is optimized according to the channel information and AP information. Specifically:
[0027] Reset the channel of the AP to be speed-tested to a channel with a low channel occupancy rate;
[0028] And / or, block the terminal devices that have been connected to the AP to be speed-tested;
[0029] And / or, replace different antenna configurations and placement positions;
[0030] And / or, adjust the working frequency band and bandwidth settings of the AP;
[0031] And / or, enhance the signal coverage and improve the signal strength through a signal booster or extender;
[0032] And / or, reduce the devices that can cause signal interference.
[0033] Preferably, before obtaining the effective quantity of the test unit successfully loaded by the central processing unit (CPU) of the speed-test terminal and the actual quantity of the test unit connected in the device manager of the speed-test terminal, it further includes:
[0034] If the speed-test terminal is a single-CPU version, load the relevant drivers and call the test unit;
[0035] If the speed-test terminal is a multi-CPU version, select one of the multi-CPUs as the main CPU, and initiate a test process, issue test instructions, and summarize and process test data from the main CPU to other slave CPUs;
[0036] The multi-CPU version selects the main CPU according to the CPU performance or load, and defines the CPU with good performance or high load as the main CPU.
[0037] On the other hand, the present invention also proposes a speed-test terminal device including a plurality of test units. The device includes:
[0038] At least one processor; and,
[0039] A memory communicatively connected to the at least one processor; wherein,
[0040] The memory stores instructions executable by the at least one processor, enabling the at least one processor to execute a wireless network speed-test method; and,
[0041] At least two test units, wherein the at least two test units are communicatively connected to the at least one processor through a bus expansion method.
[0042] Preferably, the bus expansion method includes expansion through a Peripheral Component Interconnect Express (PCIE) interface of the high-speed serial computer expansion bus standard, USB interface expansion, and a combination of the PCIE interface and the USB interface.
[0043] The present application discloses a method for measuring the speed of a wireless network. The method includes selecting and analyzing a test unit from multiple test units, analyzing and obtaining channel information and access point (AP) information of the wireless network around the speed measurement terminal; determining the AP to be measured according to the AP information, and optimizing the AP to be measured according to the channel information and the AP information; selecting a speed measurement test unit from multiple test units, connecting the speed measurement test unit to the AP to be measured, and performing speed measurement. By applying the technical solution of the present application, the wireless network status in the current environment can be intuitively understood; the accuracy and credibility of speed measurement are improved, ensuring that the best performance of the current network can be accurately evaluated; the efficiency and comprehensiveness of testing are improved, ensuring a more comprehensive evaluation of network performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the present application, the drawings required for description in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0045] Figure 1 It is a schematic flowchart of a method for measuring the speed of a wireless network proposed in an embodiment of the present invention;
[0046] Figure 2 It is a flowchart of a method for measuring the speed of a wireless network proposed in a specific embodiment of the present application;
[0047] Figure 3 It is a schematic diagram of a test unit expansion method proposed in a specific embodiment of the present application;
[0048] Figure 4 It is a schematic structural diagram of a speed measurement terminal device including multiple test units proposed in a specific embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0049] As described in the background art, a single test unit cannot meet the increasing demands, and is greatly affected by network changes, making it difficult to adapt to complex and changeable network environments, resulting in inaccurate speed measurement results.
[0050] In order to solve the above problems, the embodiment of the present application proposes a wireless network speed measurement method. The solution improves the accuracy and reliability of speed measurement by analyzing and optimizing the surrounding wireless networks, ensuring that the best performance of the current network can be measured.
[0051] like Figure 1 As shown, it is a flowchart of the wireless network speed measurement method. Before introducing the specific solution, the concepts involved below are introduced:
[0052] USB (Universal Serial Bus) is a serial bus standard and a technical specification for input and output interfaces. It is widely used in information and communication products such as personal computers and mobile devices, and has been extended to other related fields such as photographic equipment, digital televisions (set-top boxes), and game consoles.
[0053] AP (Access Point): It is an access point of a wireless network, commonly known as a "hotspot". There are mainly routing, switching and access all-in-one devices and pure access point devices. All-in-one devices perform access and routing work, while pure access devices are only responsible for the access of wireless clients. Pure access devices are usually used as wireless network extensions, connecting to other APs or main APs to expand wireless coverage, while all-in-one devices are generally the core of wireless networks.
[0054] CPU (Central Processing Unit): As the computing and control core of the computer system, it is the final execution unit for information processing and program running.
[0055] PCIE (Peripheral Component Interconnect Express) is a high-speed serial computer expansion bus standard. It is a high-speed serial point-to-point dual-channel high-bandwidth transmission. The connected devices are allocated exclusive channel bandwidth and do not share bus bandwidth. It mainly supports active power management, error reporting, end-to-end reliable transmission, hot plugging, and quality of service (QOS) and other functions.
[0056] MIMO (Multiple-Input Multiple-Output): is a wireless communication technology used in radio communications to improve signal transmission speed and anti-interference capabilities. MIMO uses multiple antennas to transmit and receive data simultaneously, improving communication performance by increasing signal paths in space. It allows multiple data streams to be transmitted simultaneously under the same frequency and bandwidth conditions, thereby increasing the capacity and throughput of wireless communications.
[0057] BSSID (Basic Service Set Identifier): It is a unique identifier used to identify and distinguish different wireless access points (APs) in a wireless local area network (WLAN). In a wireless network, each AP has a unique BSSID, which consists of a part of the MAC address. Using the BSSID, mobile devices can identify different access points and establish connections with them.
[0058] PID (Product ID) and VID (Vendor ID): They are coding systems used to identify electronic devices. The PID is a unique identification code used to identify a specific product, while the VID is an independent identification code of a vendor or manufacturer. The PID and VID are usually represented in hexadecimal and are used to identify and manage different devices in a communication protocol. These identification codes can help identify and track the manufacturer, model, and version information of the device.
[0059] IEEE (Institute of Electrical and Electronics Engineers): It is an international association of electronic technology and information science engineers and the largest non-profit professional technical society in the world.
[0060] Specifically, the present invention aims to accurately measure the maximum transmission rate of a wireless network, ensure the accuracy of wireless network speed measurement, and obtain the best speed measurement results. Therefore, before implementing the steps of this solution, multiple test units need to be extended and connected to the bus of the speed measurement terminal. The following is an introduction to the extension and connection of multiple test units:
[0061] Since the maximum transmission rates of different wireless transmission networks vary, in order to enable the speed measurement terminal to accurately measure the maximum transmission rate, multiple test units are needed for speed measurement to ensure accurate evaluation of network performance. At the same time, since the bus transmission rate of the speed measurement terminal device is usually higher than the actual usage rate of a general speed measurement module, the bus redundancy rate and bus multiplexing technology can be used to externally connect multiple test units to the bus to improve the bus utilization rate.
[0062] It should be noted that the bus extension methods include PCIE interface extension, USB interface extension, and the combination of PCIE interface and USB interface extension. In addition to the above-mentioned technologies, any method of externally connecting multiple test units to the bus using other technologies to increase the bus load belongs to the protection scope of the present invention.
[0063] Specifically, on the above basis, the method includes the following steps:
[0064] Step S101: Select an analysis test unit from the multiple test units, and analyze and obtain the channel information and AP information of the wireless network around the speed measurement terminal.
[0065] The present invention aims to better reflect the actual network usage situation. By selecting and using an analysis test unit, it is possible to perform real-time analysis on the wireless network status around the speed measurement terminal and output it, enabling users to more intuitively understand the wireless network status in the current environment.
[0066] As described above, this step selects one or some of the multiple test units as the analysis test unit, and tests and analyzes the wireless network around the speed measurement terminal through the selected analysis test unit to obtain and output the channel information and AP information of the wireless network.
[0067] For example, assume that one test unit is selected as the analysis test unit. By using this analysis test unit to first perform channel tests on the wireless network around the speed measurement terminal, information such as the channel occupancy rate and the number of access points of the surrounding 2.4GHz network and 5GHz network can be obtained; then performing AP tests on the wireless network can obtain network status information such as the signal value, the channel where it is located, MIMO configuration, the number of receive / send spatial streams, the maximum receive / send rate, and Bss id information of each AP.
[0068] It should be noted that in addition to the above channel information and AP information, other wireless network information that can be obtained through the analysis test unit and is not listed here also belongs to the protection scope of the present invention.
[0069] Step S102: Determine the AP to be speed measured according to the AP information, and optimize the AP to be speed measured according to the channel information and AP information.
[0070] The present invention aims to obtain the actual maximum transmission speed of the current wireless network, improve the accuracy and credibility of speed measurement, and optimize the AP to be speed measured according to the information obtained by the analysis test unit to ensure that the best performance of the current network can be accurately evaluated.
[0071] As described above, this step searches for and selects one or more APs to be speed measured according to the AP information output by the analysis test unit, and optimizes the AP to be speed measured in combination with the channel information obtained by the analysis test unit to improve the performance and effect of the AP to be speed measured and ensure that the optimal data of the AP to be measured can be obtained.
[0072] In a specific embodiment of the present invention, during the process of outputting information of each AP, in order to quickly search for and select the AP to be speed-tested as required, the technical solution of the present application sets a sorting rule. This sorting rule can respectively output different network quality rankings based on the network status information of each AP obtained by the analysis and test unit, such as signal strength, connection speed, and security data in the network status information, so as to improve the search and selection efficiency.
[0073] Step S103: Select a speed-testing unit from the multiple test units, connect the speed-testing unit to the AP to be speed-tested, and perform speed testing.
[0074] The present invention aims to improve the efficiency and comprehensiveness of testing, ensure a more comprehensive evaluation of network performance. By selecting and using a speed-testing unit, it supports speed testing of different APs simultaneously, and a more comprehensive network performance evaluation can be obtained, including performance differences of each access point, which helps to better understand the problems existing in the network.
[0075] As described above, in this step, one or more test units are selected as speed-testing units from the other test units except those already selected as analysis and test units. The selected AP to be speed-tested is speed-tested by the speed-testing unit, and the speed-testing results are output and displayed.
[0076] In order to adapt to different network environments and load conditions, by selecting the most suitable test unit from multiple test units as the analysis and test unit, the dynamic adaptability and flexibility of the system can be increased. Selecting the analysis and test unit from the multiple test units is specifically as follows:
[0077] If the bandwidths of the multiple test units are different, select the test units as the analysis and test unit in the order from large to small bandwidth;
[0078] If the bandwidths of the multiple test units are the same, select the test units as the analysis and test unit in the order from fast to slow initialization speed.
[0079] As described above, among multiple test units, since test units with different bandwidths perform differently when processing different network loads, the bandwidth is taken as a key index. If the bandwidths of multiple test units are different, select the test unit with a larger bandwidth as the analysis and test unit. In this way, it can be ensured that under the same conditions, the test unit can better process larger data streams and improve the accuracy of analysis. If the bandwidths of multiple test units are the same, select according to the initialization speed because the test unit with a faster initialization speed can establish a connection and obtain data more quickly when starting speed testing, which can improve the user experience and reduce the waiting time.
[0080] To ensure that in different situations, it can dynamically adapt to network loads and changes in the performance of APs to maintain the accuracy and real-time nature of speed measurement, speed measurement test units are selected from the multiple test units, specifically as follows:
[0081] Based on the data transmission capabilities in the AP information and combined with the speed measurement capabilities of each of the test units, determine the number of test units required for speed measurement of the to-be-tested AP;
[0082] Call the speed measurement test units according to the quantity.
[0083] As described above, by analyzing the data transmission capabilities in the AP information, understand the capacity and performance of each AP, and combined with the speed measurement capabilities of each test unit, determine the maximum speed measurement throughput that each speed measurement test unit can provide. Based on this information, intelligently decide how many speed measurement test units to select for speed measurement simultaneously. This dynamic adjustment ensures the full utilization of speed measurement test units and effectively improves the accuracy of speed measurement.
[0084] In a specific implementation scenario of the present invention, in the case of high network loads, the system can increase the number of speed measurement test units to ensure full coverage and accuracy of speed measurement; while in the case of low network loads, the system can dynamically reduce the speed measurement test units to avoid waste of resources. By intelligently selecting the number of speed measurement test units, not only is the comprehensiveness of the speed measurement coverage range ensured, but also the speed measurement capabilities of the speed measurement test units are fully utilized, improving the accuracy of speed measurement.
[0085] To achieve automatic speed measurement, and at the same time more accurately evaluate the real-time performance of each AP, improving the real-time nature and accuracy of speed measurement, specifically as follows:
[0086] Perform a status analysis of the wireless network around the speed measurement terminal at preset time intervals through the analysis test unit;
[0087] Determine the degree of signal quality fluctuation of each of the APs according to the status information;
[0088] Assign different priorities to each of the APs in ascending order of the degree of signal quality fluctuation, so that the speed measurement test units perform speed measurement on each of the APs in sequence according to the priorities.
[0089] As described above, according to the changes in the network status at preset time intervals, the degree of signal quality fluctuation of each AP can be obtained. An AP with a large degree of fluctuation indicates that its network environment is unstable, while an AP with a small degree of fluctuation indicates that its network is relatively stable. According to the degree of signal quality fluctuation, the system assigns different priorities to each AP. The purpose of priority assignment is to make the system pay more attention to the relatively stable access points under the current network conditions, improving the reliability of the speed measurement results.
[0090] In a specific implementation scenario of the present invention, at preset time intervals, the analysis and testing unit analyzes the status of the wireless network around the speed measurement terminal, monitors the changes in the network status in real time, including factors such as signal strength, interference situation, and network load. The signal quality fluctuation degree of each AP is evaluated according to the change in signal strength and the fluctuation of interference level, and different priorities are assigned to each AP based on the signal quality fluctuation degree. Since the status analysis is performed regularly, the system can obtain the dynamic changes of the network in real time, which enables the system to dynamically adjust the speed measurement strategy according to the latest status information. For example, if the signal quality of a certain AP fluctuates greatly, the system can reduce its priority in the next round of speed measurement to ensure the stability of the speed measurement result. The speed measurement and testing unit performs speed measurement in sequence according to the priorities of each AP, ensuring that in the speed measurement task, the system first focuses on the access points with better and relatively stable signal quality, thus more accurately reflecting the actual network usage scenario. By performing speed measurement in sequence according to the priorities, the system realizes automatic speed measurement, better adapts to the instantaneous network fluctuations at the same time, and ensures that the speed measurement result is closer to the real experience of users.
[0091] In order to capture the changes in network performance in real time to ensure that the speed measurement result reflects the latest status of the current network environment, the present invention further includes a re-speed measurement scheme, specifically:
[0092] If the network quality of the AP changes by more than a preset threshold, the speed measurement and testing unit is called to re-perform speed measurement on the AP, and a network problem warning message is sent after generating a new speed measurement result.
[0093] In a specific implementation scenario of the present invention, the analysis and testing unit regularly monitors the network quality of each AP, including indicators such as signal strength, interference level, delay, packet loss rate, and bandwidth utilization rate. When the network quality changes by more than a preset threshold, the system considers that the performance of the AP has changed significantly and re-speed measurement is required. After the re-speed measurement is completed, a new speed measurement result is generated, and a network problem warning message is sent to the user, enabling them to take appropriate measures, such as switching to a more stable network, etc., improving the user experience.
[0094] It should be noted that the preset threshold, as a key parameter for determining when to trigger re-speed measurement and warning, allows users or administrators to dynamically adjust it according to specific needs to adapt to different network environments and usage scenarios, while reducing the possibility of false alarms.
[0095] To ensure the normal operation of the speed measurement system and timely detect the abnormal status of the testing unit, before selecting the analysis and testing unit from the multiple testing units, it further includes:
[0096] Obtain the effective quantity of test units successfully loaded by the CPU of the speed measurement terminal and the actual quantity of test units connected in the device manager of the speed measurement terminal;
[0097] If the effective quantity does not match the actual quantity, generate a pop-up window or warning message to enable the user to check or replace the test unit.
[0098] In a specific implementation scenario of the present invention, before selecting and analyzing test units, the system obtains the effective quantity of test units successfully loaded by the CPU on the speed measurement terminal and the actual quantity of test units connected in the device manager. The effective quantity represents the quantity of test units that have been successfully loaded into the system and can be used, while the actual quantity represents the quantity of test units physically connected to the device manager. By comparing the effective quantity and the actual quantity, the status of the test units can be intuitively judged. If the two are inconsistent, it indicates that some test units have not been successfully loaded into the system, and there may be connection problems or hardware failures. At the same time, a pop-up window or warning message is generated to prompt the user to check or replace the test unit.
[0099] It should be noted that the pop-up window or warning message can clearly explain the problem and include specific guiding steps, such as checking the connection, replacing the test unit, etc., so that the user can quickly solve the problem. This kind of guidance for user operations helps to improve the maintainability of the system and reduce the degree of trouble for the user when facing problems. At the same time, for the detected problems, the system can generate logs and save them for subsequent analysis of the root cause of the problems and providing more effective solutions. Log recording helps system administrators or technical support personnel better understand and solve potential problems and improves the reliability of the system.
[0100] In order to improve the accuracy and reliability of speed measurement and obtain the best speed measurement result of the AP, optimize the AP to be speed measured according to the channel information and AP information, specifically:
[0101] (1) Reset the channel of the AP to be speed measured to a channel with a low channel occupancy rate;
[0102] (2) Block the terminal devices already connected to the AP to be speed measured;
[0103] (3) Replace different antenna configurations and placement positions;
[0104] (4) Adjust the working frequency band and bandwidth settings of the AP;
[0105] (5) Enhance the signal coverage range and improve the signal strength through a signal booster or extender;
[0106] (6) Reduce the devices that can cause signal interference.
[0107] In a specific implementation scenario of the present invention, the channel information is analyzed by an analysis and test unit to determine the occupancy rate of the channel where the AP to be speed-tested is currently located. If the occupancy rate is high, the channel of the AP to be speed-tested is reset to a channel with a low occupancy rate to reduce interference and improve the accuracy of speed measurement. By shielding the terminal devices connected to the AP to be speed-tested, the network load and interference are reduced, thereby optimizing the speed measurement environment. According to the analysis results of the AP by the analysis and test unit, considering replacing the antenna configuration or placement position of the AP to be speed-tested to obtain a better signal transmission effect. Optimizing the antenna configuration and placement position helps to improve the signal coverage range and quality, thereby improving the speed measurement performance. By adjusting the working frequency band and bandwidth settings of the AP, the network performance can be optimized, and interference from other devices can be effectively avoided. In the case of a small signal coverage range or weak signal strength, a signal booster or extender can be considered to enhance the signal coverage range and increase the signal strength, which helps to ensure a wider signal sampling and improve the reliability of the speed measurement results. By analyzing the surrounding device information, other devices that may cause signal interference are identified, and the use of these devices is reduced or removed, which helps to reduce signal interference and thereby improve the accuracy and stability of speed measurement.
[0108] It should be noted that the above optimization solutions can be implemented separately or in combination. At the same time, other solutions for optimizing the AP to improve the accuracy and stability of speed measurement also fall within the protection scope of the present invention.
[0109] In order to improve the adaptability of the system to different hardware configurations, and at the same time improve the execution efficiency of the speed measurement task and the overall performance of the system, before obtaining the effective number of test units successfully loaded by the CPU of the speed measurement terminal and the actual number of test units connected in the device manager of the speed measurement terminal, it further includes:
[0110] If the speed measurement terminal is a single-CPU version, load the relevant drivers and call the test units;
[0111] If the speed measurement terminal is a multi-CPU version, select one of the multi-CPUs as the main CPU, and initiate a test process, issue test instructions, and summarize and process test data to other slave CPUs through the main CPU;
[0112] The multi-CPU version selects the main CPU according to the CPU performance or load, and defines the CPU with good performance or high load as the main CPU.
[0113] In a specific implementation scenario of the present invention, before obtaining the effective quantity and actual quantity of test units, first determine the CPU version of the speed measurement terminal. If the speed measurement terminal is a single-CPU version, load relevant drivers through the CPU and select to call the test unit. Loading the relevant drivers ensures that the system can correctly communicate with and control the test unit, preparing for subsequent speed measurement tasks. If the speed measurement terminal is a multi-CPU version, the system needs to select one of the CPUs as the main CPU, and the other CPUs as slave CPUs. The criterion for selecting the main CPU can be based on CPU performance or load. Usually, the CPU with good performance or relatively high load is defined as the main CPU to ensure the operating efficiency of the overall system. The main CPU is responsible for initiating the test process to other slave CPUs, issuing test instructions, and aggregating and processing test data. This task allocation ensures that in a multi-CPU version speed measurement terminal, the main CPU acts as a coordinator, centrally controlling the entire speed measurement process, improving the coordination and efficiency of the system. At the same time, the system can also dynamically select the main CPU according to the real-time monitored CPU performance or load conditions, ensuring that the system can make full use of the currently available computing resources. Dynamically selecting the main CPU enables the system to automatically adapt to different operating conditions, improving the flexibility and efficiency of the system.
[0114] It should be noted that in the multi-CPU version, there is also a fault tolerance mechanism. The system dynamically selects the main CPU according to the actual situation to improve the stability and reliability of the system. For example, when the main CPU fails or has too high a load, the system can automatically switch to a standby CPU to ensure the continuous execution of the speed measurement task. In the multi-CPU version, the system can monitor the performance of each CPU in real time and optimize according to the actual situation, including dynamically adjusting task allocation, load balancing, and optimizing data processing processes, etc., ensuring that the system can achieve the best performance under different loads and task allocations. At the same time, for the multi-CPU version, a user interface or feedback mechanism is also provided to enable users to understand information such as the current working state and performance status of the CPU, which helps users better understand the operating conditions of the system and take appropriate operations when needed.
[0115] Compared with the prior art, this method selects and analyzes test units from multiple test units, analyzes and obtains the channel information and AP information of the wireless network around the speed measurement terminal; determines the AP to be speed measured according to the AP information, and optimizes the AP to be speed measured according to the channel information and AP information; selects a speed measurement test unit from multiple test units, connects the speed measurement test unit to the AP to be speed measured and performs speed measurement. By applying the technical solution of this application, it is possible to intuitively understand the wireless network status in the current environment; improve the accuracy and credibility of speed measurement, ensuring that the best performance of the current network can be accurately evaluated; improve the efficiency and comprehensiveness of testing, ensuring a more comprehensive evaluation of network performance.
[0116] The technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.
[0117] The main steps in this specific embodiment are as Figure 2 shown, which is a schematic flowchart of the specific embodiment of the present application; the schematic diagram of the test unit expansion method in this specific embodiment is as Figure 3 shown. In this specific embodiment, the CPU used by the speed measurement device is an 8-core CPU with a main frequency of not less than 1.8 GHz. This CPU has a PCIE peripheral interface and a USB3.0 peripheral interface. One test unit can be externally expanded through the PCIE peripheral interface, and 2 or 4 USB3.0 hubs can be expanded through the USB3.0-HUB. Multiple applications can be expanded according to actual usage requirements. The WIFI module, that is, the test unit, used is compatible with and supports multiple WIFI protocols defined by the IEEE standard, including IEEE Std.802.11a / b / g / n / ac / ax / be. This test unit has 2 / 4 MIMO antennas and a frequency bandwidth of 80M / 160M.
[0118] Based on the above settings, the wireless network speed measurement solution mainly includes the following steps:
[0119] S200. Read the hardware configuration information to identify the CPU version and load the relevant drivers.
[0120] If the speed measurement terminal is a single CPU version, the relevant drivers are loaded through the CPU and the test unit is selected for invocation. Loading the relevant drivers ensures that the system can correctly communicate with and control the test unit, preparing for subsequent speed measurement tasks. If the speed measurement terminal is a multi-CPU version, the system selects one CPU as the main CPU according to the CPU performance or load, and the other CPUs are used as slave CPUs. The test data is fused and processed through high-speed communication interfaces such as network ports or serial ports between the CPUs. The main CPU is responsible for initiating the test process, issuing test instructions, and aggregating and processing the test data to other slave CPUs.
[0121] S201. Select and analyze the test unit from the multiple test units, and analyze and obtain the channel information and AP information of the wireless network around the speed measurement terminal.
[0122] The system loads multiple test units respectively through the device PID / VID, and names different device names according to the device ID for subsequent allocation and use. After the driver is loaded, the CPU starts the WIFI signal analysis and processing process, and selects a test unit from multiple test units as the analysis test unit according to the bandwidth and initialization speed of the test unit. First, the analysis test unit is used to perform a channel test on the wireless network around the speed measurement terminal to obtain information such as the channel occupancy rate and the number of access points of the surrounding 2.4GHz network and 5GHz network. Then, an AP test is performed on the surrounding wireless network to obtain network status information such as the signal value, the channel where the AP is located, the MIMO configuration, the number of receive / send spatial streams, the maximum receive / send rate, and the Bss id information of each AP.
[0123] S202. Determine the AP to be speed-tested according to the AP information, and optimize the AP to be speed-tested according to the channel information and the AP information.
[0124] List the current APs according to the Bss id information obtained by the analysis test unit, search for and select an AP to be speed-tested as the AP to be speed-tested, and optimize the AP to be speed-tested in combination with the channel information obtained by the analysis test unit. The optimizable items include: determining the occupancy rate of the channel where the AP to be speed-tested is currently located, and if the occupancy rate is high, reset the channel of the AP to be speed-tested to a channel with a low occupancy rate; shielding the terminal devices that have been connected to the AP to be speed-tested to reduce network load and interference; replacing the antenna configuration or placement position of the AP to be speed-tested to obtain a better signal transmission effect; adjusting the working frequency band and bandwidth settings of the AP to avoid interference from other devices; using a signal booster or extender to enhance the signal coverage range and improve the signal strength; analyzing the surrounding device information and reducing or removing other devices that cause signal interference, etc. After optimization through the above solutions, the performance and effect of the AP to be speed-tested can be improved, ensuring that the optimal data of the AP to be tested can be measured.
[0125] S203. Select a speed measurement test unit from the multiple test units, connect the speed measurement test unit to the AP to be speed-tested and perform speed measurement.
[0126] After optimization, the CPU starts the uplink and downlink rate test process. By analyzing the data transmission capabilities in the AP information, understand the capacity and performance of each AP, and combine the speed measurement capabilities of each test unit to determine the maximum speed measurement throughput that each speed measurement test unit can provide. According to this information, intelligently select a test unit as the speed measurement test unit from the other test units except the one that has been selected as the analysis test unit. The speed measurement test unit performs a rate test on the AP to be speed-tested based on the default number of cycles, and finally obtains parameters such as the maximum uplink and downlink rates, the minimum uplink and downlink rates, and the average rate.
[0127] Compared with the prior art, a wireless network speed measurement method proposed in an embodiment of the present application selects and analyzes test units from multiple test units, analyzes and obtains channel information and AP information of the wireless network around the speed measurement terminal; determines the AP to be speed measured according to the AP information, and optimizes the AP to be speed measured according to the channel information and AP information; selects a speed measurement test unit from multiple test units, connects the speed measurement test unit to the AP to be speed measured and performs speed measurement. By applying the technical solution of the present application, the wireless network status in the current environment can be intuitively understood; the accuracy and reliability of speed measurement are improved, ensuring that the best performance of the current network can be accurately evaluated; the efficiency and comprehensiveness of the test are improved, ensuring a more comprehensive evaluation of the network performance.
[0128] Based on the same inventive concept as the above method, an embodiment of the present application also proposes a speed measurement terminal device including multiple test units, as Figure 4 shown, which is a schematic structural diagram of a speed measurement terminal device including multiple test units. The device includes:
[0129] At least one processor; and,
[0130] A memory communicatively connected to the at least one processor; wherein,
[0131] The memory stores instructions executable by the at least one processor, enabling the at least one processor to execute a wireless network speed measurement method; and,
[0132] At least two test units, and the at least two test units are communicatively connected to the at least one processor through a bus expansion method.
[0133] It should be noted that the bus expansion method includes expansion through a PCIE interface, a USB interface, and a combination of a PCIE interface and a USB interface.
[0134] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented through hardware, or can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation scenarios of the present invention.
[0135] Those skilled in the art can understand that the drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the drawings are not necessarily essential for implementing the present invention.
[0136] Those skilled in the art can understand that the modules in the device in the implementation scenario can be distributed in the device in the implementation scenario according to the description of the implementation scenario, or can be correspondingly changed to be located in one or more devices different from this implementation scenario. The modules in the above implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0137] The above serial numbers of the present invention are only for description and do not represent the advantages or disadvantages of the implementation scenario.
[0138] The above discloses only several specific implementation scenarios of the present invention. However, the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A method for measuring the speed of a wireless network, characterized in that, The method is applied to a speed measurement terminal including multiple test units. The multiple test units are connected to the speed measurement terminal through the bus interface or the Universal Serial Bus (USB) interface of the speed measurement terminal. Specifically: Select an analysis test unit from the multiple test units, and analyze and obtain the channel information of the wireless network and the Access Point (AP) information around the speed measurement terminal; Determine the AP to be speed measured according to the AP information, and optimize the AP to be speed measured according to the channel information and the AP information; Select a speed measurement test unit from the multiple test units, connect the speed measurement test unit to the AP to be speed measured and perform speed measurement.
2. The wireless network speed measurement method according to claim 1, wherein Select an analysis test unit from the multiple test units. Specifically: If the bandwidths of the multiple test units are different, select the test unit with the largest bandwidth as the analysis test unit in descending order of bandwidth; If the bandwidths of the multiple test units are the same, select the test unit with the fastest initialization speed as the analysis test unit in descending order of initialization speed.
3. A wireless network speed measurement method according to claim 1, characterized in that Select a speed measurement test unit from the multiple test units. Specifically: Based on the data transmission capacity in the AP information and combined with the speed measurement capabilities of each test unit itself, determine the number of test units required to perform speed measurement on the AP to be speed measured; Call the speed measurement test unit according to the number.
4. A method for measuring the speed of a wireless network according to claim 1, characterized in that, The method further includes: Perform a status analysis of the wireless network around the speed measurement terminal through the analysis test unit at a preset time interval; Determine the signal quality fluctuation degree of each AP according to the status information; Assign different priorities to each AP in ascending order of the signal quality fluctuation degree, so that the speed measurement test unit performs speed measurement on each AP in turn according to the priorities.
5. A method for measuring the speed of a wireless network according to claim 1, characterized in that, The method further includes: If the network quality of the AP changes beyond a preset threshold, call the speed measurement test unit to perform speed measurement on the AP again, and send a network problem warning message after generating a new speed measurement result.
6. The wireless network speed measurement method according to claim 2, wherein Before selecting an analysis test unit from the multiple test units, it further includes: Obtain the effective number of test units successfully loaded by the Central Processing Unit (CPU) of the speed measurement terminal and the actual number of test units connected in the device manager of the speed measurement terminal; If the effective number does not match the actual number, generate a pop-up window or warning message to enable the user to check or replace the test unit.
7. A wireless network speed measurement method according to claim 1, characterized in that Optimize the AP to be speed measured according to the channel information and the AP information. Specifically: Reset the channel of the AP to be speed measured to a channel with a low channel occupancy rate; And / or, block the terminal devices already connected to the AP to be speed measured; And / or, change different antenna configurations and placement positions; And / or, adjust the working frequency band and bandwidth settings of the AP; And / or, enhance the signal coverage range and improve the signal strength through a signal booster or extender; And / or, reduce the devices that can cause signal interference.
8. A method for measuring the speed of a wireless network according to claim 6, characterized in that, Before obtaining the effective number of test units successfully loaded by the CPU of the speed measurement terminal and the actual number of test units connected in the device manager of the speed measurement terminal, it further includes: If the speed measurement terminal is a single-CPU version, load the relevant drivers and call the test unit; If the speed measurement terminal is a multi-CPU version, select one of the multi-CPUs as the main CPU, and initiate a test process, issue test instructions, and summarize and process test data to other slave CPUs through the main CPU; The multi-CPU version selects the main CPU according to CPU performance or load, and defines the CPU with good performance or high load as the main CPU.
9. A speed measurement terminal device comprising a plurality of test units, characterized in that, The speed measurement terminal device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, so that the at least one processor can execute a wireless network speed measurement method according to any one of claims 1-8; and, At least two test units, the at least two test units being communicatively connected to the at least one processor by means of bus expansion.
10. A speed measurement terminal device comprising a plurality of test units according to claim 9, characterized in that: The bus expansion method includes expansion by a Peripheral Component Interconnect Express (PCIE) interface of the high-speed serial computer expansion bus standard, expansion by a Universal Serial Bus (USB) interface, and expansion by a combination of a PCIE interface and a USB interface.