Performance test method, apparatus, and system

By transmitting wireless signals between the gateway device and the transceiver, and automatically adjusting network parameters, the cumbersome process of WiFi performance testing for gateway devices is solved, achieving efficient and accurate performance testing.

CN117014921BActive Publication Date: 2026-05-22MASHANG CONSUMER FINANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MASHANG CONSUMER FINANCE CO LTD
Filing Date
2022-04-27
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

The WiFi performance testing process for existing gateway devices is cumbersome, inefficient, and prone to errors, resulting in incomplete and inaccurate test results.

Method used

By transmitting wireless signals between the gateway device and the transceiver, network parameters, including network bandwidth, channel, and signal attenuation, are automatically adjusted. The terminal device controls a movable bearer to move the gateway device to different test angles, thereby achieving automated adjustment of network parameters and performance testing.

Benefits of technology

It automates the performance testing of gateway devices, saving time and manpower costs, improving testing efficiency and accuracy, and ensuring the comprehensiveness and accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117014921B_ABST
    Figure CN117014921B_ABST
Patent Text Reader

Abstract

The application discloses a performance test method, device and system, to solve the problems of low test efficiency, incomplete test results and low accuracy of the existing performance test method. The method comprises: determining a first parameter value dataset corresponding to a network parameter of a gateway device under the condition that a wireless signal is transmitted between the gateway device and a transceiver, the first parameter value dataset comprising a plurality of parameter value subsets, wherein the first parameter value dataset is a parameter value corresponding to the network parameter under a first test angle; determining whether the network parameter of the gateway device meets a preset adjustment condition according to a first test result corresponding to the first parameter value dataset and / or the first parameter value subset; and adjusting the network parameter according to a second parameter value dataset if the network parameter meets the preset adjustment condition. This technical solution improves the efficiency of network performance testing and ensures that the final test results can more comprehensively and accurately reflect the performance of the gateway device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a performance testing method, apparatus and system. Background Technology

[0002] The WiFi (wireless network) performance of a gateway device is its core competitive advantage, making network performance testing of gateway devices particularly important. However, since the WiFi performance of a gateway device is closely related to various network parameters, the WiFi performance testing process is quite cumbersome. Finding a better performance testing solution has become an urgent problem to be solved in this field.

[0003] Currently, network performance testing of gateway devices is primarily conducted manually. This typically involves testers manually configuring IxChariot (a software testing tool for application-layer performance testing), manually setting the signal attenuation value of the attenuator, manually rotating the gateway device, manually switching the gateway device's channels and bandwidth, and manually recording the test results. Due to variations in testers' skills and proficiency, manually setting these network parameters is not only time-consuming but also prone to errors, resulting in low efficiency in network performance testing. Summary of the Invention

[0004] The purpose of this application is to provide a performance testing method, apparatus, and system to solve the problems of low testing efficiency, incomplete test results, and low accuracy of existing performance testing methods.

[0005] To solve the above-mentioned technical problems, the embodiments of this application are implemented as follows:

[0006] On one hand, embodiments of this application provide a performance testing method applied to a terminal device accessing a gateway device, the method comprising:

[0007] When transmitting wireless signals between the gateway device and the transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under a first test angle.

[0008] Based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset, it is determined whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset.

[0009] If the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset, where the second parameter value dataset is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

[0010] Using the technical solution of this application embodiment, when transmitting wireless signals between a gateway device and a transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this technical solution possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the error-prone problem of manual network parameter adjustment. Secondly, after automated adjustment of network parameters, wireless network performance testing of the gateway device can be performed automatically. The testing process also requires no intervention from test personnel, thus linking the network parameter adjustment process with the performance testing process and automating the entire testing process, greatly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0011] On the other hand, embodiments of this application provide a performance testing apparatus, applied to a terminal device accessing a gateway device, the apparatus comprising:

[0012] The first determining module is used to determine a first parameter value dataset corresponding to the network parameters of the gateway device when transmitting wireless signals between the gateway device and the transceiver. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under a first test angle.

[0013] The judgment module is used to determine whether the network parameters of the gateway device meet the preset adjustment conditions based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset.

[0014] The first adjustment module is used to adjust the network parameters according to the second parameter value dataset if the network parameters meet the preset adjustment conditions. The second parameter value dataset is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

[0015] In another aspect, embodiments of this application provide a performance testing system, including a terminal device, a gateway device, a movable carrier device, and a transceiver. The terminal device includes a wired network card end and a wireless network card end. The transceiver is connected to the wireless network card end, the gateway device is connected to the wired network card end, and the movable carrier device is connected to the terminal device. The gateway device is disposed on the movable carrier device.

[0016] The gateway device is used to transmit wireless signals with the transceiver, and the wireless signals are emitted by the gateway device or the transceiver.

[0017] The terminal device is used to control the movable support device to move to the first test angle;

[0018] The movable support device is used to move the gateway device to the first test angle under the control of the terminal device;

[0019] The terminal device is further configured to transmit wireless signals between the gateway device and the transceiver, and when the gateway device moves to the first test angle, determine a first parameter value dataset corresponding to the network parameters of the gateway device, the first parameter value dataset including multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters at the first test angle; determine whether the network parameters of the gateway device meet preset adjustment conditions based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, wherein the first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets, and the first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset; if the network parameters meet the preset adjustment conditions, then adjust the network parameters according to a second parameter value dataset, wherein the second parameter value dataset is other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets.

[0020] In another aspect, embodiments of this application provide an electronic device, including a processor; and a memory arranged to store computer-executable instructions configured to be executed by the processor to implement the performance testing method described above.

[0021] In another aspect, embodiments of this application provide a storage medium for storing computer-executable instructions, which, when executed by a processor, implement the aforementioned performance testing method. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a system architecture diagram of a performance testing system according to an embodiment of this application;

[0024] Figure 2 This is a schematic flowchart of a performance testing method according to an embodiment of this application;

[0025] Figure 3 This is a system architecture diagram of a performance testing system according to another embodiment of this application;

[0026] Figure 4This is a schematic flowchart of a performance testing method according to another embodiment of this application;

[0027] Figure 5 This is a schematic diagram of the structure of a performance testing device according to an embodiment of this application;

[0028] Figure 6 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0029] This application provides a performance testing method, apparatus, and system to address the problems of low testing efficiency, incomplete test results, and low accuracy in existing performance testing methods.

[0030] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0031] The technical terms used in this application specification will be explained below. In one or more embodiments of this specification, the following technical terms have the same meaning.

[0032] Router: A hardware device used to connect two or more networks. It acts as a gateway between networks and is a dedicated intelligent network device that reads the address in each data packet and then decides how to transmit it.

[0033] Network bandwidth: refers to the channel bandwidth when a terminal device's wireless network card connects wirelessly to a gateway device. Channel bandwidth defines the lower and upper frequency limits of signals allowed to pass through the channel, thus defining a frequency passband.

[0034] Network channel: also known as a channel, is the path through which signals are transmitted in a communication system. It is the transmission medium through which signals travel from the transmitting end to the receiving end.

[0035] Shielded room: A device that shields against external wireless signal interference.

[0036] Attenuator: A circuit used to introduce a predetermined attenuation within a specified frequency range.

[0037] Feeder: Also known as a cable, it is used to transmit signals.

[0038] Turntable: A hardware device that can rotate to a specified angle according to the control of the terminal device.

[0039] Traffic throughput: refers to the average rate at which data is successfully delivered through a channel or node per unit of time.

[0040] Considering that the network performance of gateway devices is closely related to various network parameters, manually setting each network parameter during network performance testing can be time-consuming and prone to errors due to variations in testers' skills and proficiency, thus impacting the efficiency of network performance testing. Therefore, automating network parameter adjustment during network performance testing can significantly save time and manpower. This application automates the adjustment of network parameter values ​​from the current testing perspective, eliminating the need for tester intervention and saving substantial manpower and time costs. Furthermore, considering that real-world testing scenarios may involve testing network performance from multiple perspectives, this application mounts the gateway device on a movable support device. This movable support device, under the control of the terminal device, can move the gateway device to the current testing perspective. During network performance testing, the terminal device reads the untested test angle, controls the movable carrier to move the gateway device to that test angle, and automatically adjusts the network parameters to the untested values ​​at that angle. Then, wireless network performance testing is performed, yielding the test results for that test angle, truly automating network performance testing. Furthermore, considering that in actual testing scenarios, multiple network parameters need to be adjusted and tested at the same test angle, and the gateway device's performance varies with different combinations of network parameters, manually combining and adjusting the corresponding parameter values ​​for each combination would result in very low testing efficiency. Therefore, this application integrates the parameter values ​​corresponding to multiple network parameters and combines the adjustment of multiple network parameters into a single adjustment action, enabling the adjustment of multiple network parameter combinations at once. This significantly improves the efficiency of network parameter adjustment and network performance testing.

[0041] Figure 1 This is a system architecture diagram of a performance testing system according to an embodiment of this application, such as... Figure 1 As shown, the performance testing system includes a gateway device 110, a terminal device 120 connected to the gateway device, and a transceiver 130 wirelessly connected to the gateway device 110. The terminal device 120 includes a wired network card (NIC) end a and a wireless network card (NIC) end b. The transceiver 130 is connected to the wireless NIC end b, and the gateway device 110 is connected to the wired NIC end a.

[0042] In this embodiment, when constructing such Figure 1In the system architecture shown, a wireless connection can be established between the gateway device 110 and the transceiver 130, enabling the gateway device 110 to transmit wireless signals with the transceiver 130. The wireless signals are emitted by either the gateway device 110 or the transceiver 130.

[0043] In this embodiment, the terminal device 120 is used to control the gateway device 110 to move to the first test angle. The terminal device 120 is also used to transmit wireless signals between the gateway device 110 and the transceiver 130, and, when the gateway device 110 moves to the first test angle, to perform actions such as... Figure 2 The performance testing method shown.

[0044] The test angles (including the first test angle and other test angles) are pre-configured angles for performing wireless network performance tests on the gateway device. The following embodiments will detail how to configure the test angles and where to configure them. Optionally, before performing the wireless network performance test, the terminal device reads the untested test angles (in this embodiment, the untested test angle is the first test angle), controls the gateway device to move to that test angle, adjusts the network parameters to the untested parameter values ​​at that test angle, and then performs the wireless network performance test to obtain the wireless network performance test results at that test angle. It should be noted that tested test angles have corresponding wireless network performance test results, while untested test angles do not have corresponding wireless network performance test results. The test angles that the terminal device reads according to the pre-configured test order and do not have corresponding wireless network performance test results are the untested test angles; in this embodiment, this specifically refers to the first test angle.

[0045] In this embodiment, the transceiver can be a device capable of receiving and transmitting wireless signals, such as an antenna. The gateway device can be a router, a router repeater, an optical modem, or other similar devices.

[0046] Figure 2 This is a schematic flowchart of a performance testing method according to an embodiment of this application, such as... Figure 2 As shown, the performance testing method is based on Figure 1 The architecture shown is applied to terminal devices accessing the gateway device. Performance testing methods may include:

[0047] S202, In the case of transmitting wireless signals between the gateway device and the transceiver, determine the first parameter value dataset corresponding to the network parameters of the gateway device.

[0048] The first parameter value dataset includes multiple parameter value subsets, and the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters under the first test angle.

[0049] Optionally, the network parameters of the gateway device may include at least one of network bandwidth, network channel, and signal attenuation, and the parameter value set of the network parameters may include at least one of network bandwidth value, network channel value, and signal attenuation value. In this embodiment, the wireless network performance of the gateway device can be tested from multiple test angles to obtain the wireless network performance test results of the gateway device at each test angle. Multiple test angles can be pre-configured in the terminal device, specifically in the configuration information corresponding to the test task for testing the wireless network performance of the gateway device. Optionally, when configuring multiple test angles in the configuration information, each test angle and the test order of each test angle can be set. For example, 12 test angles of 0°, 30°, 60°, 90°, 120°, 150°, 180°, 210°, 240°, 270°, 300°, and 330° can be set in the configuration information, along with the test order from 0° to 330°. Alternatively, only the starting degree and ending degree of the test angles can be set, and the adjustment step size can be set for each test. For example, set the starting degree of the test angle to 0°, the ending degree of the test angle to 330°, and set the adjustment step size to 30° each time.

[0050] In this embodiment, each test angle corresponds to its own parameter value dataset, which includes multiple parameter value subsets. Each parameter value subset includes a set of network parameter values. Taking network parameters including network bandwidth, network channel, and signal attenuation as an example, the first parameter value dataset is the parameter value set of network parameters under the first test angle. The first parameter value dataset includes multiple parameter value subsets, each of which includes a set of network bandwidth values, network channel values, and signal attenuation values. For example, in the parameter value set of network parameters under the first test angle, if the network bandwidth values ​​include 20M (megabits) and 40M, the network channel values ​​when the network bandwidth value is 20M include channel 1, channel 3, channel 6, channel 9, and channel 11, the network channel values ​​when the network bandwidth value is 40M include channel 1, channel 6, and channel 11, and the signal attenuation values ​​include 5dB (decibels) and 10dB, then the first parameter value dataset includes 16 parameter value subsets. If each parameter value subset is represented in the form of a set, then the first parameter value dataset includes the following 16 parameter value subsets:

[0051] Parameter value subset 1: {20M, Channel 1, 5dB}; Parameter value subset 2: {20M, Channel 1, 10dB}; Parameter value subset 3: {20M, Channel 3, 5dB}; Parameter value subset 4: {20M, Channel 3, 10dB}; Parameter value subset 5: {20M, Channel 6, 5dB}; Parameter value subset 6: {20M, Channel 6, 10dB}; Parameter value subset 7: {20M, Channel 9, 5dB}; Parameter value subset 8: {20M, Channel 9, 10dB}; Parameter value subset 9: {20M, Channel 11, 5dB}; Parameter value subset 10: {20M, Channel 11, 10dB}; Parameter value subset 11: {40M, Channel 1, 5dB}; Parameter value subset 12: {40M, Channel 1, 10dB}; Parameter value subset 13: {40M, Channel 6, 5dB}; Parameter value subset 14: {40M, Channel 6, 10dB}; Parameter value subset 15: {40M, Channel 11, 5dB}; Parameter value subset 16: {40M, Channel 11, 10dB}.

[0052] Optionally, the first parameter value dataset is configured in the above configuration information, and the first test angle is stored corresponding to the first parameter value dataset. It should be understood that the configuration information also configures other test angles and their corresponding parameter value datasets. The test order corresponding to each parameter value subset in each parameter value dataset can be the same or different, and the number of parameter value subsets in each parameter value dataset can be the same or different. Using the parameter value subsets 1 to 16 in the example above, if the number of parameter value subsets in the parameter value dataset corresponding to the first test angle is 16 (i.e., the first parameter value dataset includes these 16 parameter value subsets 1 to 16), the number of parameter value subsets in the parameter value dataset corresponding to the second test angle is 16 (i.e., the second parameter value dataset includes these 16 parameter value subsets 1 to 16), and the number of parameter value subsets in the parameter value dataset corresponding to the third test angle is 6 (for example, the third parameter value dataset includes these 6 parameter value subsets 11 to 16), the test order in the parameter value dataset corresponding to the first test angle can be pre-configured to different test orders. For example, it can be configured to range from parameter value subset 1 to parameter value subset 16, or it can be configured as parameter value subset 1, parameter value subset 11, parameter value subset 2, parameter value subset 12, parameter value subset 3, parameter value subset 4, parameter value subset 5, parameter value subset 13, parameter value subset 6, parameter value subset 14, parameter value subset 7, parameter value subset 8, parameter value subset 9, parameter value subset 15, parameter value subset 10, parameter value subset 16, and so on. The test order in the parameter value dataset corresponding to the second test angle can be pre-configured to different test orders. For example, it can be configured to range from parameter value subset 1 to parameter value subset 16, or it can be configured as parameter value subset 11, parameter value subset 13, parameter value subset 15, parameter value subset 12, parameter value subset 14, parameter value subset 16, parameter value subset 1, parameter value subset 3, parameter value subset 5, parameter value subset 7, parameter value subset 9, parameter value subset 2, parameter value subset 4, parameter value subset 6, parameter value subset 8, parameter value subset 10, and so on. The test order in the parameter value dataset corresponding to the third test angle can be pre-configured to different test orders. For example, it can be configured from parameter value subset 11 to parameter value subset 16, or it can be configured as parameter value subset 11, parameter value subset 13, parameter value subset 15, parameter value subset 12, parameter value subset 14, parameter value subset 16, or parameter value subset 15, parameter value subset 16, parameter value subset 13, parameter value subset 14, parameter value subset 11, parameter value subset 12, and so on. It should be understood that the above examples illustrate two test orders for each test angle. In actual testing scenarios, a unique test order needs to be configured for the parameter value dataset corresponding to each test angle.

[0053] S204, based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset, determine whether the network parameters of the gateway device meet the preset adjustment conditions.

[0054] In this embodiment, the network parameters of the gateway device can be determined based on the first parameter value dataset to determine whether they meet the preset adjustment conditions; or, the network parameters of the gateway device can be determined based on the first test results corresponding to the first parameter value dataset and the first parameter value subset; or, the network parameters of the gateway device can be determined based on the first test results corresponding to the first parameter value subset.

[0055] The preset adjustment conditions can be: the first parameter value dataset corresponding to the network parameters of the gateway device contains at least one untested subset of parameter values; or, the wireless connectivity result between the gateway device and the terminal device is that wireless connectivity fails at least N consecutive times, and the first parameter value dataset corresponding to the network parameters of the gateway device contains at least one untested subset of parameter values. Here, N is an integer greater than or equal to 1. Optionally, the size of N can be pre-configured in the above configuration information.

[0056] It should be noted that a wireless connectivity result between the gateway device and the terminal device that is unable to connect wirelessly for at least N consecutive times can be understood as a wireless connectivity result that is unable to ping at least N consecutive times. In this case, the inability to connect wirelessly or the inability to ping indicates that the wireless network between the gateway device and the terminal device is not connected, which can be understood as an interruption in the wireless connection between the gateway device and the terminal device. Conversely, a wireless connectivity result that is connected wirelessly, where a wireless connectivity can be understood as a successful ping, indicates that the wireless network between the gateway device and the terminal device is functioning smoothly, which can be understood as a good wireless connection between the gateway device and the terminal device.

[0057] In this embodiment, the first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. The first parameter value subset includes multiple parameter values ​​(such as network bandwidth, network channel, signal attenuation, etc.). Continuing with the above example, if the first parameter value dataset includes parameter value subsets 1 to 16, and the preset test order corresponding to each parameter value subset is from parameter value subset 1 to parameter value subset 16, and this is the first time the gateway device is tested for wireless network performance from the perspective of the first test, then the first parameter value subset is the aforementioned parameter value subset 1, i.e., {20M, channel 1, 5dB}. The first test result is the result of the wireless network performance test after adjusting the network parameters according to the first parameter value subset. The wireless network performance includes wireless network reception performance, i.e., WLAN (Wireless Local Area Networks) reception performance.

[0058] S206. If the network parameters meet the preset adjustment conditions, then adjust the network parameters according to the second parameter value dataset.

[0059] The second parameter value dataset is any subset of parameter values ​​in the first parameter value dataset that does not include the first parameter value subset. Continuing with the example above, if the first parameter value subset is parameter value subset 1 as described above, the second parameter value dataset includes parameter value subsets 2 through 16.

[0060] In one embodiment, if the network parameters do not meet the preset adjustment conditions, the wireless network performance test results of the gateway device under the first test perspective are generated based on the first test results corresponding to the first parameter value subset. In this embodiment, if the network parameters do not meet the preset adjustment conditions, it means that there is no untested parameter value subset in the first parameter value dataset corresponding to the network parameters of the gateway device, that is, the wireless network performance test under the first test perspective has been completed. At this time, the generated wireless network performance test results can more comprehensively reflect the wireless network performance of the gateway device.

[0061] Furthermore, the performance testing method provided in this application embodiment is also applicable to testing the wired network performance of gateway devices, thereby obtaining the wired network performance test results of gateway devices from various testing perspectives.

[0062] Using the technical solution of this application embodiment, when transmitting wireless signals between a gateway device and a transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this technical solution possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the error-prone problem of manual network parameter adjustment. Secondly, after automated adjustment of network parameters, wireless network performance testing of the gateway device can be performed automatically. The testing process also requires no intervention from test personnel, thus linking the network parameter adjustment process with the performance testing process and automating the entire testing process, greatly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0063] In one embodiment, before adjusting the network parameters of the gateway device according to S202-S206 above, the following preparatory work can be performed first, including steps A1-A3:

[0064] Step A1, Figure 1 The transceiver and gateway devices in the performance testing system shown are placed in a shielded room to protect against external interference. The gateway device is placed on a movable support device (such as a turntable), and the movable support device and the terminal device are connected via a serial cable so that the terminal device can control the gateway device to move to various test angles. A camera device is installed in the shielded room and connected to the terminal device to monitor the devices inside the shielded room.

[0065] Since the situation inside the shielded room is not visible from the outside, a camera is used to capture images of the movable carrier containing the gateway device. This allows the terminal device to determine whether the gateway device is located at the current test angle (such as the first test angle mentioned above) based on the captured images. This allows for wireless network performance testing of the gateway device at the current test angle, avoiding ineffective testing when the movable carrier cannot rotate properly due to mechanical failure, loose serial cables, or jammed serial cables. Optionally, the camera can send the captured images of the movable carrier containing the gateway device to the terminal device, which can then display them in real-time in a monitoring window.

[0066] Step A2: Log in to the gateway device and set the network name SSID (Service Set Identifier).

[0067] SSID is the name a network uses to identify itself to other devices, and it's also the name that nearby users see in their devices' list of available networks. When setting the SSID, avoid using common or default names to prevent duplication with the SSIDs of nearby gateway devices; ensure the SSID's uniqueness. Furthermore, the same SSID should be set for each frequency band supported by the gateway device. For example, if a gateway device supports the 2.4GHz and 5GHz bands, then the same SSID should be set for both the 2.4GHz and 5GHz bands.

[0068] In this embodiment, the requests library of Python (a computer programming language) can be used to call the HTTP (Hypertext Transfer Protocol) interface provided by the gateway device to log in to the gateway device, thereby setting the SSID, login password and other information of the gateway device.

[0069] Step A3 triggers the terminal device's wireless network card to connect to WiFi.

[0070] In this embodiment, the wireless network card can be automatically invoked to trigger WiFi connection according to the following steps A31-A33:

[0071] Step A31: Use the command "netsh wlan delete profile *i=*" in the terminal device's operating system to clear all WiFi connection configurations on the terminal device.

[0072] Step A32: Generate an XML (Extensible Markup Language) file for connecting to WiFi based on the SSID, login password, and other information of the gateway device set in Step A2.

[0073] Step A33: Use the command "netsh wlan add profile xml_file" in the terminal device's operating system to trigger the wireless network card to automatically connect to WiFi based on the XML file generated in step A32.

[0074] After completing the above preparations, considering that factors affecting the network performance of gateway devices include the gateway device's angle, network bandwidth, network channel, signal attenuation, etc., to ensure the comprehensiveness of the wireless network performance test of the gateway device, it is necessary to test the wireless network performance of the gateway device under various combinations of these factors. Since the gateway device's angle (i.e., the test angle mentioned above) is moved by the movable carrier device, frequent movement of the movable carrier device not only affects the efficiency of the wireless network performance test but also easily causes the movable carrier device to malfunction, thus affecting the accuracy of the test results. Therefore, to avoid frequent movement of the movable carrier device, the test angle for the wireless network performance test of the gateway device can be determined first, and then the network parameters of the gateway device can be adjusted at that test angle to complete the wireless network performance test of the gateway device at that test angle. A detailed explanation follows.

[0075] In one embodiment, when transmitting wireless signals between the gateway device and the transceiver, before determining the first parameter value dataset (i.e., S202) corresponding to the network parameters of the gateway device, a first test angle for performing wireless network performance testing on the gateway device can be determined first, and the gateway device can be controlled to move to the first test angle.

[0076] Optionally, the configuration information corresponding to the test task for testing the wireless network performance of the gateway device can be read. Based on the test angles and test order configured in the configuration information, the first test angle for testing the wireless network performance of the gateway device can be determined, and the movable carrier device can be controlled to move the gateway device to the first test angle. The configuration of the test angles in the configuration information has been detailed in S202 and will not be repeated here.

[0077] Optionally, when the gateway device moves to the first test angle, a folder corresponding to the first test angle can be created in the terminal device. All subsequent test results under this test angle (i.e., test results corresponding to each subset of parameter values) will be recorded in this folder, which is beneficial for the standardized storage of test results.

[0078] Optionally, if a folder corresponding to the first test angle is created in the terminal device, and the test results corresponding to each subset of parameter values ​​are recorded in the folder, a screenshot of the monitoring window of the terminal device can be taken and the screenshot image can be saved to the folder.

[0079] In one embodiment, when transmitting wireless signals between a gateway device and a transceiver, and when the gateway device moves to a first test angle, determining the first parameter value dataset corresponding to the network parameters of the gateway device can be performed by: reading the configuration information corresponding to the test task for testing the wireless network performance of the gateway device, and determining the first parameter value dataset corresponding to the first test angle based on the test angles configured in the configuration information and the corresponding parameter value datasets.

[0080] In this embodiment, after the gateway device moves to the current test angle (such as the first test angle mentioned above), the parameter value dataset of the network parameters of the gateway device at the current test angle is determined, which provides a basis for adjusting the network parameters and is conducive to the accurate and orderly adjustment of the network parameters in subsequent steps.

[0081] In one embodiment, if the gateway device is subjected to a wireless network performance test for the first time from the first test perspective, the network parameters of the gateway device are determined to meet the preset adjustment conditions (i.e., S204) based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subset. This can be executed as follows: Based on the first parameter value dataset, determine whether the network parameters of the gateway device meet the preset adjustment conditions.

[0082] In this embodiment, the network parameters of the gateway device can be determined to meet the preset adjustment conditions based on whether there is at least one untested subset of parameter values ​​in the first parameter value dataset. Specifically, if there is at least one untested subset of parameter values ​​in the first parameter value dataset, it can be determined that the network parameters of the gateway device meet the preset adjustment conditions; if there is no untested subset of parameter values ​​in the first parameter value dataset, it can be determined that the network parameters of the gateway device do not meet the preset adjustment conditions.

[0083] If this is not the first time the gateway device has undergone wireless network performance testing from the first testing perspective, then based on the first test results corresponding to the first parameter value dataset and / or subset of the first parameter values, it can be determined whether the network parameters of the gateway device meet the preset adjustment conditions (i.e., S204). This can be executed as follows: Based on the first test results corresponding to the first parameter value dataset and subset of the first parameter values, determine whether the network parameters of the gateway device meet the preset adjustment conditions. The first test result includes the wireless connectivity result between the gateway device and the terminal device, which can also be understood as whether the wireless network between the gateway device and the terminal device can ping each other.

[0084] In this embodiment, the network parameters of the gateway device can be determined to meet the preset adjustment conditions based on whether there is at least one untested subset of parameter values ​​in the first parameter value dataset and the wireless connectivity results between the gateway device and the terminal device.

[0085] Specifically, if the wireless network between the gateway device and the terminal device fails to ping at least N times consecutively, and there is at least one untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device can be determined to meet the preset adjustment conditions, where N is an integer greater than or equal to 1. Optionally, the size of N can be pre-configured in the configuration information described in S202. If the wireless network between the gateway device and the terminal device can ping successfully, and there is at least one untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device can be determined to meet the preset adjustment conditions. If the wireless network between the gateway device and the terminal device fails to ping successfully at least N times consecutively, and there is no untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device cannot meet the preset adjustment conditions. If the wireless network between the gateway device and the terminal device can ping successfully, and there is no untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device cannot meet the preset adjustment conditions.

[0086] Optionally, if this is not the first time the gateway device has undergone wireless network performance testing from the first testing perspective, S204 may also execute the following: based on the first test results corresponding to the subset of first parameter values, determine whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results include whether the wireless network between the gateway device and the terminal device can ping each other. It should be understood that in this embodiment, regardless of whether the wireless network between the gateway device and the terminal device can ping each other, the network parameters of the gateway device meet the preset adjustment conditions.

[0087] In this embodiment, the network parameters of the gateway device are comprehensively judged based on the first parameter value dataset and the first test results corresponding to the first parameter value subset, making the judgment results more accurate and promoting the accurate execution of wireless network performance testing.

[0088] After confirming that the network parameters of the gateway device meet the preset adjustment conditions, the network parameters can be adjusted based on the second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subset). Considering that there are two configuration methods for configuring the parameter value datasets corresponding to each test angle, and that the process of adjusting the network parameters based on the parameter value datasets configured by different methods differs, the following detailed explanation uses network parameters including network bandwidth, network channel, and signal attenuation as examples:

[0089] Optionally, when configuring the parameter value dataset, the user inputs various network bandwidth values, network channel values, and signal attenuation values, and sets the priority order for adjusting each network parameter. This generates multiple parameter value subsets sequentially based on the multiple network parameters and their priority order, and these subsets form the parameter value dataset. For example, if the priority order for adjusting the network parameters is signal attenuation, network channel, and network bandwidth, and the user inputs network bandwidth values ​​including 20M and 40M, network channel values ​​for a network bandwidth of 20M including channel 1, channel 3, channel 6, channel 9, and channel 11, and network channel values ​​for a network bandwidth of 40M including channel 1, channel 6, and channel 11, and signal attenuation values ​​including 5dB and 10dB, then based on the multiple network parameters and their priority order, parameter value subsets 1 to 16 as listed in S202 can be generated sequentially, and these subsets form the parameter value dataset. The test order in this parameter value dataset is from parameter value subset 1 to parameter value subset 16.

[0090] The parameter value dataset configured in this way includes multiple subsets of parameter values, each corresponding to its own test order. Therefore, the second subset of parameter values ​​(i.e., the subset of parameter values ​​tested one position after the first subset) can be determined based on the test order. Then, based on the parameter values ​​(including network bandwidth, network channel, and signal attenuation) in the second subset, the current parameter values ​​of the network can be adjusted. Continuing with the example above, if the test order in the parameter value dataset is from subset 1 to subset 16, and the second subset of parameter values ​​determined based on the test order is subset 2, i.e., {20M, channel 1, 10dB}, then adjusting the current parameter values ​​of the network based on the parameter values ​​in the second subset means adjusting the current signal attenuation parameter value to 10dB.

[0091] Optionally, when configuring the parameter value dataset, the user inputs the starting value, ending value, adjustment method, and adjustment step size of each network parameter (including network bandwidth, network channel, and signal attenuation) of the gateway device under each test angle, and sets the priority order for adjusting each network parameter. Based on the above input by the user, parameter value datasets corresponding to each test angle are formed respectively. Then, based on the parameter value datasets corresponding to each test angle, parameter value subsets are generated in real time during the wireless network performance test.

[0092] Based on user input, the starting value, ending value, adjustment method, and adjustment step size for each network parameter can be the same or different under different testing angles. Under the same testing angle, the adjustment methods for different network parameter values ​​can be the same or different, and the adjustment step sizes for different network parameter values ​​can be different. The adjustment method includes increasing or decreasing the current parameter value, and the adjustment step size is the increase or decrease value.

[0093] For example, the content input by the user in the first test perspective includes: the starting value of the network bandwidth is 20M, the ending value of the network bandwidth is 40M, the adjustment method of the network bandwidth is to increase the current parameter value of the network bandwidth, the adjustment step of the network bandwidth is 20M, the network channel values ​​when the network bandwidth is 20M include channel 1, channel 3, channel 6, channel 9 and channel 11, the network channel values ​​when the network bandwidth is 40M include channel 1, channel 6 and channel 11, the starting value of the signal attenuation is 0dB, the ending value of the signal attenuation is 50dB, the adjustment method of the signal attenuation is to increase the current parameter value of the signal attenuation, the adjustment step of the signal attenuation is 2dB, and the priority order of adjusting each network parameter is signal attenuation, network channel, network bandwidth.

[0094] The parameter value dataset configured using this method does not contain a pre-generated subset of parameter values. Each subset of parameter values ​​needs to be generated in real time during the wireless network performance test. Therefore, before adjusting the network parameters based on the second parameter value dataset (i.e., S206), it is necessary to obtain the second parameter value subset according to the following steps B1-B2, and then adjust the current parameter values ​​of the network parameters based on each parameter value (including network bandwidth value, network channel value, and signal attenuation value) in the second parameter value subset.

[0095] Step B1: Determine the preset adjustment method and preset adjustment step size corresponding to the first test angle.

[0096] The preset adjustment method includes increasing or decreasing at least one parameter value in the first parameter value subset. Following the example above where the user inputs information from the first test angle, it can be determined that the preset adjustment method for the network bandwidth value from the first test angle is to increase the current parameter value of the network bandwidth, with a preset adjustment step size of 20 MHz. Similarly, the preset adjustment method for the signal attenuation value is to increase the current parameter value of the signal attenuation, with a preset adjustment step size of 2 dB.

[0097] Step B2: Adjust at least one parameter value in the first parameter value subset according to the preset adjustment method and preset adjustment step size to obtain the second parameter value subset in the first parameter value dataset.

[0098] Using the user input from the first test perspective as illustrated in the example above, with the first parameter value subset being {20M, Channel 1, 10dB}, based on the priority order of adjusting each network parameter set in the parameter value dataset (i.e., adjusting signal attenuation first, then adjusting network channel, and then adjusting network bandwidth), it can be determined that signal attenuation should be adjusted first. Combining the termination value of the signal attenuation value in the parameter value dataset being 50dB, the preset adjustment method for the signal attenuation value being to increase the current parameter value of signal attenuation, and the preset adjustment step size for the signal attenuation value being 2dB, the signal attenuation value in the first parameter value subset is adjusted to 12dB, resulting in the second parameter value subset {20M, Channel 1, 12dB} in the first parameter value dataset.

[0099] In this embodiment, since the adjustment method and adjustment step size corresponding to each test angle are not necessarily the same, by determining the preset adjustment method and preset adjustment step size corresponding to the first test angle, at least one parameter value in the first parameter value subset is adjusted according to the preset adjustment method and preset adjustment step size to obtain the second parameter value subset in the first parameter value dataset. This can ensure the accuracy of adjusting the parameter values ​​in the first parameter value subset, thereby ensuring the accuracy of the second parameter value subset.

[0100] In one embodiment, adjusting the network parameters based on the second parameter value dataset (i.e., S206) can be performed as follows: steps C1-C3:

[0101] Step C1: If there is an untested network bandwidth value in the second parameter value dataset, then adjust the current parameter value of the network bandwidth to the untested network bandwidth value; if there is no untested network bandwidth value in the second parameter value dataset, then do not adjust the network parameter.

[0102] In this embodiment, if there are no untested network bandwidth values ​​in the second parameter value dataset, it means that there is no untested subset of parameter values ​​in the first parameter value dataset. That is, the wireless network performance test under the first test perspective has been completed. Therefore, the network parameters will not be adjusted, and the step of generating the wireless network performance test result of the gateway device under the first test perspective based on the first test result corresponding to the first parameter value subset can be executed.

[0103] In step C2, if the parameter value of the network bandwidth is an untested network bandwidth value, and if there is an untested network channel value in the second parameter value dataset, then the current parameter value of the network channel is adjusted to the untested network channel value; if there is no untested network channel value in the second parameter value dataset, then the current parameter value of the network channel is not adjusted.

[0104] In this embodiment, if the parameter value of the network bandwidth is an untested network bandwidth value, and there is no untested network channel value in the second parameter value dataset, it means that the wireless network performance test under each network channel value of the untested network bandwidth value has been completed. Therefore, the current parameter value of the network channel is not adjusted.

[0105] Step C3: If the parameter value of network bandwidth is an untested network bandwidth value and the parameter value of network channel is an untested network channel value, and if there is an untested signal attenuation value in the second parameter value dataset, then the current parameter value of signal attenuation is adjusted to the untested signal attenuation value; if there is no untested signal attenuation value in the second parameter value dataset, then the current parameter value of signal attenuation is not adjusted.

[0106] In this embodiment, if the parameter value of network bandwidth is an untested network bandwidth value and the parameter value of network channel is an untested network channel value, and there is no untested signal attenuation value in the second parameter value dataset, it means that the wireless network performance test under each signal attenuation value of the untested network bandwidth value and the untested network channel value has been completed. Therefore, the current parameter value of signal attenuation is not adjusted.

[0107] It should be noted that this embodiment does not limit the priority order of adjusting each network parameter. Therefore, step C2 above does not limit which network parameter's current parameter value should be adjusted when there are no untested network channel values ​​in the second parameter value dataset. Similarly, step C3 above does not limit which network parameter's current parameter value should be adjusted when there are no untested signal attenuation values ​​in the second parameter value dataset.

[0108] Optionally, the priority order for adjusting various network parameters can be set as signal attenuation, network channel, and network bandwidth. That is, first, the network bandwidth and network channel values ​​are kept unchanged, and only the current signal attenuation parameter value is adjusted to an untested signal attenuation value until no untested signal attenuation values ​​exist in the second parameter value dataset. Then, the network channel value is adjusted once. Next, the network bandwidth and the adjusted network channel value are kept unchanged, and the current signal attenuation parameter value is adjusted to an untested signal attenuation value again until no untested signal attenuation values ​​exist in the second parameter value dataset. This process is repeated until no untested network channel values ​​exist in the second parameter value dataset, at which point the network bandwidth value is adjusted once. With the adjusted network bandwidth value, the network channel value and signal attenuation value are adjusted according to the above method until no untested network bandwidth values ​​exist in the second parameter value dataset. At this point, the wireless network performance test from the first test perspective is complete.

[0109] When the priority order of the network parameters is adjusted to signal attenuation, network channel, and network bandwidth, step C2 above can be executed as follows: if the parameter value of network bandwidth is an untested network bandwidth value, and if there is an untested network channel value in the second parameter value dataset, then the current parameter value of the network channel is adjusted to the untested network channel value; if there is no untested network channel value in the second parameter value dataset, then the current parameter value of network bandwidth is adjusted.

[0110] Step C3 above can be executed as follows: if the parameter value of the network bandwidth is an untested network bandwidth value and the parameter value of the network channel is an untested network channel value, and if there is an untested signal attenuation value in the second parameter value dataset, then the current parameter value of the signal attenuation is adjusted to the untested signal attenuation value; if there is no untested signal attenuation value in the second parameter value dataset, then the current parameter value of the network channel is adjusted.

[0111] In this embodiment, on the one hand, when there are untested network bandwidth values ​​in the parameter value dataset, the current parameter value of the network bandwidth is adjusted to the untested network bandwidth value. On the other hand, when the parameter value of the network bandwidth is an untested network bandwidth value and there are untested network channel values ​​in the parameter value dataset, the current parameter value of the network channel is adjusted to the untested network channel value. On the other hand, when the parameter values ​​of the network bandwidth and the network channel are both untested network bandwidth values ​​and there are untested signal attenuation values ​​in the parameter value dataset, the current parameter value of the signal attenuation is adjusted to the untested signal attenuation value. This achieves the effect of automatically adjusting the current parameter value of the network parameters based on the parameter values ​​of untested network parameters in the parameter value dataset, saving the time and manpower costs spent on adjusting network parameters, and avoiding the problem of errors that are easy to occur when manually adjusting network parameters. On the other hand, if no untested network bandwidth values ​​are found in the parameter value dataset, no adjustments are made to the network parameters. Since the absence of untested network bandwidth values ​​in the dataset indicates that no untested subset of parameter values ​​exists, meaning that the wireless network performance test from this test perspective has been completed. Therefore, no further adjustments to the network parameters are necessary, which helps avoid ineffective adjustments and thus prevents invalid testing of the gateway device's wireless network performance. Similarly, if the network bandwidth parameter value is an untested network bandwidth value and no untested network channel values ​​are found in the parameter value dataset, no adjustments are made to the current parameter value of the network channel. Since the absence of untested network channel values ​​in the dataset indicates that the wireless network performance test for each network channel value of the untested network bandwidth value has been completed, no further adjustments to the current parameter value of the network channel are necessary, which helps avoid ineffective adjustments to the network channel and thus prevents invalid testing of the gateway device's wireless network performance. By not adjusting the current signal attenuation parameter value when the network bandwidth parameter value and the network channel parameter value are both untested and there are no untested signal attenuation values ​​in the parameter value dataset, it can be concluded that the wireless network performance test for each signal attenuation value under the untested network bandwidth and untested network channel values ​​has been completed. In this case, no further adjustment to the current signal attenuation parameter value is necessary to avoid ineffective adjustments to signal attenuation and thus avoid ineffective testing of the wireless network performance of the gateway device.

[0112] Furthermore, by setting the priority order for adjusting various network parameters as signal attenuation, network channel, and network bandwidth, the current parameter value of network bandwidth is adjusted when the parameter value is an untested network bandwidth value and there is no untested network channel value in the parameter value dataset. Similarly, the current parameter value of network channel is adjusted when both the parameter values ​​of network bandwidth and network channel are untested network channel values ​​and there is no untested signal attenuation value in the parameter value dataset. Therefore, this embodiment effectively integrates the adjustment of two network parameters with adjacent priority (such as signal attenuation and network channel, or network channel and network bandwidth) into a single adjustment action. This enables automated adjustment of one or more network parameters, improving the efficiency of network parameter adjustment and thus enhancing the efficiency of network performance testing.

[0113] In one embodiment, after adjusting the current parameter value of signal attenuation to an untested signal attenuation value, a wireless connection command can be executed on the terminal device. If the gateway device and the terminal device can wirelessly connect, the wireless network performance of the gateway device is tested when the current parameter value of signal attenuation is an untested signal attenuation value. If the gateway device and the terminal device cannot wirelessly connect, the unadjusted signal attenuation value in the second parameter value dataset is not adjusted when the parameter values ​​of network bandwidth and network channel are both untested.

[0114] In one embodiment, a wireless connectivity command is executed on the terminal device, which refers to executing a ping command. That is, a ping command operation can be performed on the terminal device to determine the wireless connectivity result between the terminal device and the gateway device. If the ping is successful, the wireless network performance of the gateway device is tested if the current parameter value of signal attenuation is an untested signal attenuation value. If the ping fails, the unadjusted signal attenuation value in the second parameter value dataset is not adjusted if the parameter values ​​of network bandwidth and network channel are both untested.

[0115] Optionally, the ping command can be used to ping the wireless network card from the wired network card of the terminal device. If the ping fails at least N times consecutively, it is determined that the wireless network between the gateway device and the terminal device is unreachable. N is an integer greater than or equal to 1, and the size of N can be pre-configured in the configuration information described in S202.

[0116] Optionally, if the priority order of adjusting network parameters is signal attenuation, network channel, and network bandwidth, and ping fails, then if the network bandwidth parameter value and the network channel parameter value are both untested network bandwidth and untested network channel values, the current parameter value of the network channel can be adjusted. Using the example in step B2 above, if ping fails, and the network bandwidth value is 20M and the network channel value is channel 1, then the current parameter value of the network channel can be adjusted to channel 3.

[0117] In this embodiment, by performing a ping operation on the terminal device, the wireless connection status between the gateway device and the terminal device can be obtained in a timely manner after adjusting the current parameter value of signal attenuation. This avoids performing wireless network performance tests on the gateway device when the wireless connection is interrupted, thereby avoiding invalid tests on the wireless network performance of the gateway device.

[0118] In one embodiment, after adjusting the network parameters of the gateway device, the wireless network performance of the gateway device can be tested using a testing program.

[0119] Optionally, to automate the testing of the gateway device's wireless network performance under multiple testing angles and network parameter values, the programs for adjusting the testing angles, adjusting network parameters, and the testing program can be integrated into a single execution script. This establishes a connection between the programs, enabling automated execution and thus automating the wireless network performance testing of the gateway device. The execution script can be a Python script.

[0120] Optionally, the relevant procedures in steps A2 and A3 above can also be set in this execution script. If a Python execution script is set in the terminal device, and this script includes procedures for adjusting the test angle, adjusting network parameters, and performing tests, taking network parameters including network bandwidth, network channel, and signal attenuation as an example, the adjustment of the test angle and the adjustment of network parameters can be executed as follows: steps D1-D4:

[0121] Step D1: Using Python's serial library, a serial port instance is generated by passing in the serial port number and baud rate. The serial port instance is then used to call the write function to control the movable carrier device to move the gateway device to the first test angle.

[0122] Step D2 involves using Python's requests library to call the HTTP interface provided by the gateway device to set the network bandwidth value. Different gateway devices may provide the same or different HTTP interfaces.

[0123] Step D3: Use Python's requests library to call the HTTP interface provided by the gateway device to set the network channel value.

[0124] Step D4: Using Python's serial library, a serial port instance is generated by passing in the serial port number and baud rate. The serial port instance is then used to call the write function to set the attenuation value of the attenuator's A-channel signal, and the serial port instance is also used to call the write function to set the attenuation value of the attenuator's B-channel signal. The attenuation values ​​of the A-channel signal and the B-channel signal are the same.

[0125] Optionally, after adjusting the network parameters of the gateway device, a test program can be started using command-line parameters to test the wireless network performance of the gateway device. The test program can be Ixchariot. To facilitate accurate and rapid startup of the test program, it can be encapsulated as a DLL (Dynamic Link Library, which contains code and data that can be used by multiple programs simultaneously). Any existing encapsulation method can be used, and this embodiment does not limit this. For example, when setting Ixchariot in a Python execution script, Ixchariot can be encapsulated as a DLL.

[0126] The parameters transmitted are the IP address (Internet Protocol) of the LAN (Local Area Network) on the wired network card, the IP address of the WLAN on the wireless network card, and the traffic throughput test direction. For example, the IP address of the wired network card is 192.168.0.101, and the IP address of the wireless network card is 192.168.0.100. When the traffic throughput test direction is from the wired network card to the wireless network card, the wireless network reception performance of the gateway device can be tested; when the traffic throughput test direction is from the wireless network card to the wired network card, the wired network reception performance of the gateway device can be tested.

[0127] With the script being a Python script and the test program being Ixchariot, parameters can be generated by setting the IP address of the wired network card, the IP address of the wireless network card, and the traffic throughput test direction. These parameters can then be passed to the Python script via the command line to start Ixchariot and perform wireless network performance testing (i.e., traffic throughput testing) on ​​the gateway device.

[0128] In one embodiment, after adjusting the network parameters of the gateway device according to a subset of first parameter values ​​corresponding to a first test perspective, the wireless network performance of the gateway device is tested to obtain a first test result corresponding to the subset of first parameter values. The first test result may include the traffic throughput between the gateway device and the terminal device.

[0129] In this embodiment, the network parameters of the gateway device can be determined to meet the preset adjustment conditions based on the first test results corresponding to the first parameter value dataset and the first parameter value subset. Specifically, the network parameters of the gateway device are determined to not meet the preset adjustment conditions only if there is no untested parameter value subset in the first parameter value dataset.

[0130] Optionally, when the priority order for adjusting each network parameter is signal attenuation, network channel, and network bandwidth, and the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset (i.e., S206). This can be performed as follows: if the traffic throughput is less than a preset threshold, the current parameter value of the network channel in the second parameter value dataset is adjusted; if the traffic throughput is greater than or equal to the preset threshold, the current parameter value of signal attenuation in the second parameter value dataset is adjusted.

[0131] Specifically, when adjusting the current parameter values ​​of the network channels in the second parameter value dataset, it is necessary to ensure that the current parameter value of the network bandwidth remains unchanged. Similarly, when adjusting the current parameter values ​​of the signal attenuation in the second parameter value dataset, it is necessary to ensure that both the current parameter values ​​of the network bandwidth and the current parameter values ​​of the network channels remain unchanged.

[0132] In this embodiment, since it is meaningless to adjust other signal attenuation values ​​and perform wireless network performance testing again under the same network channel value when the traffic throughput obtained after testing the gateway device under a network channel value is less than a preset threshold, it is possible to avoid invalid testing of the wireless network performance of the gateway device by directly adjusting the network channel value when the traffic throughput between the gateway device and the terminal device is less than the preset threshold.

[0133] In one embodiment, after generating the wireless network performance test results of the gateway device at a first test angle, the gateway device can be moved from the first test angle to a second test angle. Based on the third parameter value dataset corresponding to the second test angle, the network parameters are adjusted, and for each subset of parameter values ​​in the third parameter value dataset, the second test results of the gateway device at each subset of parameter values ​​are tested. Based on the second test results, the wireless network performance test results of the gateway device at the second test angle are generated.

[0134] Following the example in S202, if the configuration information for the test task of performing wireless network performance testing on the gateway device includes various test angles and the test order of each test angle, and the test angles configured in the configuration information include 30°, 60°, 90° and 120°, and the test order is 30°, 60°, 90° and 120° respectively, assuming that the first test angle is 30°, then the second test angle can be determined to be 60°.

[0135] In this embodiment, the specific execution method for adjusting the network parameters based on the third parameter value dataset corresponding to the second test angle can be found in the above embodiment, which describes the adjustment of network parameters based on the second parameter value dataset. It will not be repeated here.

[0136] In this embodiment, by conducting a wireless network performance test on the gateway device from a first testing perspective and then testing it from a second testing perspective, the frequent movement of the gateway device during the wireless network performance test can be avoided. This avoids the problems of low testing efficiency and inaccurate test results caused by frequent movement of the gateway device, thereby improving the efficiency and accuracy of the wireless network performance test.

[0137] Figure 3 This is a system architecture diagram of a performance testing system according to another embodiment of this application, such as... Figure 3 As shown, the performance testing system may include a terminal device 310, a gateway device 320, a movable carrier device 330, and a transceiver 340. The terminal device 310 includes a wired network card end a and a wireless network card end b. The transceiver 340 is connected to the wireless network card end b. The gateway device 320 is connected to the wired network card end a. The movable carrier device 330 is connected to the terminal device 310. The gateway device 320 is mounted on the movable carrier device 330.

[0138] The gateway device 320 is wirelessly connected to the transceiver 340. The movable carrier device 330 can be connected to the terminal device 310 via a serial cable. The gateway device 320 can be connected to the wired network card terminal a via a network cable.

[0139] In this embodiment, the gateway device 320 is used to transmit wireless signals with the transceiver 340, and the wireless signals are emitted by either the gateway device 320 or the transceiver 340. The terminal device 310 is used to control the movable support device 330 to move to the first test angle. Under the control of the terminal device 310, the movable support device 330 is used to move the gateway device 320 to the first test angle. Terminal device 310 is also used to transmit wireless signals between gateway device 320 and transceiver 340, and when gateway device 320 moves to a first test angle, determine a first parameter value dataset corresponding to the network parameters of gateway device 320. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters at the first test angle; based on the first parameter value dataset and / or the first test result corresponding to the first parameter value subset, determine whether the network parameters of gateway device 320 meet preset adjustment conditions, wherein the first test result is the result of wireless network performance testing after adjusting the network parameters according to the first parameter value subset, and the first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset; if the network parameters meet the preset adjustment conditions, then adjust the network parameters according to a second parameter value dataset, wherein the second parameter value dataset is other parameter value subsets in the first parameter value dataset that do not include the first parameter value subset.

[0140] In one embodiment, such as Figure 3 As shown, the performance testing system includes an attenuator 350, a transceiver 340 connected to the attenuator 350 via a feeder, the attenuator 350 connected to the input / output interface c of the terminal device 310, and the attenuator 350 connected to the wireless network card end b via a feeder.

[0141] The input / output interface can be a USB (Universal Serial Bus) interface, and the attenuator 350 can be connected to the input / output interface of the terminal device 310 via a serial cable. The terminal device 310 can set the signal attenuation value of the attenuator 350 via the serial cable.

[0142] Optionally, if a Python execution script is configured in the terminal device, and the Python execution script contains a program for adjusting network parameters, the terminal device 310 may configure the signal attenuation value by the following steps: The terminal device 310 uses Python's serial library, passes in the serial port number and baud rate to generate a serial port instance, and uses the serial port instance to call the write function to set the signal attenuation value of attenuator 350 for channel A, and uses the serial port instance to call the write function to set the signal attenuation value of attenuator 350 for channel B.

[0143] In one embodiment, terminal device 310 is used to establish a wireless connection between gateway device 320 and wireless network card terminal b before adjusting the network parameters of gateway device 320. The specific establishment process can be found in A2-A3 above, and will not be repeated here.

[0144] In one embodiment, such as Figure 3 As shown, the performance testing system includes a camera device 360, which is connected to a terminal device 310. The camera device 360 ​​is used to capture images of objects related to wireless network performance testing and to store the image data corresponding to the captured objects in the terminal device 310. The captured objects include at least one of the following: the movement of the movable carrier device 330, the movement of the gateway device 320, and the content displayed on the display interface of the terminal device 310.

[0145] The movement of the movable bearer device 330 is consistent with the movement of the gateway device 320. The display content on the terminal device 310's interface may include: the current value of each network parameter after each adjustment of the network parameters of the gateway device 320; the test results of the wireless network performance test after adjusting the network parameters according to subsets of each parameter value; and each subset of parameter values ​​and its corresponding test results. The test results may include the traffic throughput between the gateway device 320 and the terminal device 310, and whether the wireless networks between the gateway device 320 and the terminal device 310 can ping each other.

[0146] In one embodiment, such as Figure 3 As shown, the gateway device 320, the movable carrier device 330, the transceiver 340 and the camera device 360 ​​can be installed in the shielded room 370, which is used to shield external wireless signal interference during the wireless network performance test of the gateway device 320.

[0147] The system employing this embodiment determines a first parameter value dataset corresponding to the network parameters of the gateway device when transmitting wireless signals between the gateway device and the transceiver. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to a second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this system possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the error-prone nature of manual network parameter adjustment. Secondly, after automating the adjustment of network parameters, the system can automatically perform wireless network performance testing on the gateway device. The testing process also requires no intervention from test personnel, thus linking the network parameter adjustment process with the performance testing process and automating the entire testing process, greatly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0148] Figure 4 This is a schematic flowchart of a performance testing method according to another embodiment of this application. Figure 4 The performance testing methods shown can be applied to Figure 3 The performance testing system shown is described. In this embodiment, the configuration information corresponding to the test task for wireless network performance testing of the gateway device within the terminal device includes multiple test angles and the test order for each test angle. It also includes the priority order for adjusting various network parameters: signal attenuation, network channel, and network bandwidth. Furthermore, when configuring the parameter value datasets corresponding to each test angle, the configured parameter value datasets do not contain pre-generated subsets of parameter values; each subset of parameter values ​​needs to be generated in real-time during the wireless network performance testing process. For ease of explanation, Figure 4 The illustrated embodiment uses a wireless network performance test of a gateway device under a first test perspective as an example. Other test perspectives configured in the configuration information for the gateway device can also be used. Figure 4 The performance testing method shown continues until all other testing angles have been traversed.

[0149] According to Figure 3 For the performance test system shown, in the case of wireless signal transmission between the gateway device and the transceiver, please refer to... Figure 4 Performance testing methods may include:

[0150] S401, determine the first parameter value dataset corresponding to the network parameters of the gateway device.

[0151] The first parameter value dataset includes multiple parameter value subsets, and the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters under the first test angle.

[0152] For example, the first parameter value dataset corresponding to the first test angle includes: a starting value of 20M for the network bandwidth value, an ending value of 40M for the network bandwidth value, an adjustment method of increasing the current parameter value of the network bandwidth value, an adjustment step size of 20M for the network bandwidth value, network channel values ​​when the network bandwidth value is 20M including channel 1, channel 3, channel 6, channel 9 and channel 11, network channel values ​​when the network bandwidth value is 40M including channel 1, channel 6 and channel 11, a starting value of 0dB for the signal attenuation value, an ending value of 50dB for the signal attenuation value, an adjustment method of increasing the current parameter value of the signal attenuation value, and an adjustment step size of 2dB for the signal attenuation value.

[0153] S402, determine whether there is an untested network bandwidth value in the first parameter value dataset; if yes, execute S403; if no, execute S411.

[0154] S403, adjusts the current parameter value of the network bandwidth to the untested network bandwidth value.

[0155] S404, under the untested network bandwidth value, determine whether there is an untested network channel value in the first parameter value dataset; if yes, then execute S405; if no, then return to S402.

[0156] S405 adjusts the current parameter value of the network channel to the untested network channel value.

[0157] S406, under the untested network channel value, determine whether there is an untested signal attenuation value in the first parameter value dataset; if yes, then execute S407; if no, then return to S404.

[0158] S407 adjusts the current signal attenuation parameter value to an untested signal attenuation value.

[0159] S408: Determine whether the wired network card of the terminal device can ping the wireless network card; if yes, proceed to S409; otherwise, return to S406.

[0160] If at least N consecutive ping attempts fail, an S404 error is returned, where N is an integer greater than or equal to 1.

[0161] S409 tests the wireless network performance of the gateway device and obtains the first test result of the gateway device under the current parameter values. The first test result includes the traffic throughput between the gateway device and the terminal device.

[0162] The current parameter values ​​are the current network bandwidth, the current network channel, and the current signal attenuation.

[0163] S410, determine whether the traffic throughput is less than the preset threshold; if yes, return to S404; if no, return to S406.

[0164] S411, Based on the obtained first test results, generate the wireless network performance test results of the gateway device under the first test perspective.

[0165] The specific processes of S401-S411 described above have been explained in detail in the above embodiments and will not be repeated here.

[0166] The technical solution of this application, on the one hand, adjusts the current parameter value of the network bandwidth when the parameter value of the network bandwidth is an untested network bandwidth value and there is no untested network channel value in the parameter value dataset; on the other hand, it adjusts the current parameter value of the network channel when the parameter values ​​of the network bandwidth and network channel are both untested network bandwidth values ​​and there is no untested signal attenuation value in the parameter value dataset. It is evident that this technical solution effectively integrates the adjustment of two network parameters with adjacent priority (such as signal attenuation and network channel, or network channel and network bandwidth) into a single adjustment action. This enables automated adjustment of one or more network parameters without the need for test personnel intervention. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the errors that are prone to occur when manually adjusting network parameters, improving the efficiency of network parameter adjustment and thus enhancing the efficiency of network performance testing. On the other hand, after automating the adjustment of network parameters, the wireless network performance of the gateway device can be automatically tested without the need for human intervention. This links the network parameter adjustment process with the performance testing process, automating the entire testing process and greatly improving the efficiency of network performance testing. Finally, by adjusting the network parameters sequentially based on multiple subsets of parameter values ​​and performing network performance tests after each adjustment, all parameter value subsets can be automatically tested from the same testing perspective. This improves the coverage of network performance testing for various network parameters, ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0167] In summary, specific embodiments of this subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.

[0168] The above are the performance testing methods provided in the embodiments of this application. Based on the same idea, the embodiments of this application also provide a performance testing device.

[0169] Figure 5 This is a schematic diagram of a performance testing device according to an embodiment of this application. The device is applied to a terminal device of an access gateway device. Please refer to... Figure 5 The performance testing apparatus may include:

[0170] The first determining module 510 is used to determine a first parameter value dataset corresponding to the network parameters of the gateway device when transmitting wireless signals between the gateway device and the transceiver. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under the first test angle.

[0171] The judgment module 520 is used to determine whether the network parameters of the gateway device meet the preset adjustment conditions based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset. The first test result is the result of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset.

[0172] The first adjustment module 530 is used to adjust the network parameters according to the second parameter value dataset if the network parameters meet the preset adjustment conditions. The second parameter value dataset is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

[0173] In one embodiment, network parameters include network bandwidth, network channel, and signal attenuation, and the parameter value set of network parameters includes network bandwidth value, network channel value, and signal attenuation value.

[0174] In one embodiment, the performance testing apparatus further includes:

[0175] The first generation module is used to generate wireless network performance test results of the gateway device under the first test angle based on the first test results corresponding to the first parameter value subset if the network parameters do not meet the preset adjustment conditions.

[0176] In one embodiment, the first subset of parameter values ​​includes multiple parameter values, and the performance testing apparatus further includes:

[0177] The second determining module is used to determine the preset adjustment method and preset adjustment step size corresponding to the first test angle before adjusting the network parameters according to the second parameter value dataset. The preset adjustment method includes increasing or decreasing at least one parameter value in the first parameter value subset.

[0178] The second adjustment module is used to adjust at least one parameter value in the first parameter value subset according to a preset adjustment method and a preset adjustment step size, so as to obtain a second parameter value subset in the first parameter value dataset.

[0179] In one embodiment, the first adjustment module 530 includes:

[0180] The first adjustment unit is used to adjust the current network bandwidth parameter value to the untested network bandwidth value if there is an untested network bandwidth value in the second parameter value dataset; otherwise, no adjustment is made to the network parameter.

[0181] The second adjustment unit is used to adjust the current parameter value of the network channel to the untested network channel value if there is an untested network channel value in the second parameter value dataset when the parameter value of the network bandwidth is an untested network bandwidth value; otherwise, it does not adjust the current parameter value of the network channel.

[0182] The third adjustment unit is used to adjust the current signal attenuation parameter value to the untested signal attenuation value if the parameter value of the network bandwidth and the parameter value of the network channel are both untested, and if there is an untested signal attenuation value in the second parameter value dataset; otherwise, it does not adjust the current signal attenuation parameter value.

[0183] In one embodiment, the performance testing apparatus further includes:

[0184] The first execution module is used to execute a wireless connection command to the terminal device after adjusting the current parameter value of signal attenuation to an untested signal attenuation value.

[0185] The test module is used to test the wireless network performance of the gateway device if the gateway device and the terminal device can wirelessly connect, and if the current parameter value of the signal attenuation is an untested signal attenuation value.

[0186] The second execution module is configured to, if the gateway device and the terminal device cannot connect wirelessly, not adjust the unadjusted signal attenuation value in the second parameter value dataset when the parameter value of the network bandwidth is an untested network bandwidth value and the parameter value of the network channel is an untested network channel value.

[0187] In one embodiment, the first test result corresponding to the first subset of parameter values ​​includes the traffic throughput between the gateway device and the terminal device; the first adjustment module 530 includes:

[0188] The fourth adjustment unit is used to adjust the current parameter value of the network channel in the second parameter value dataset if the traffic throughput is less than a preset threshold.

[0189] The fifth adjustment unit is used to adjust the current parameter value of signal attenuation in the second parameter value dataset if the traffic throughput is greater than or equal to a preset threshold.

[0190] In one embodiment, the performance testing apparatus further includes:

[0191] The moving module is used to move the gateway device from the first test angle to the second test angle after generating the wireless network performance test results of the gateway device at the first test angle.

[0192] The adjustment and testing module is used to adjust the network parameters according to the third parameter value dataset corresponding to the second test angle, and to test the second test results of the gateway device under each parameter value subset in the third parameter value dataset.

[0193] The second generation module is used to generate wireless network performance test results for the gateway device from the second test perspective based on the second test results.

[0194] In one embodiment, the first test result includes the wireless connectivity result between the gateway device and the terminal device; the judgment module 520 includes:

[0195] The first determining unit is configured to determine if the network parameters of the gateway device meet the preset adjustment conditions if there is at least one untested subset of parameter values ​​in the first parameter value dataset.

[0196] or,

[0197] The second determining unit is used to determine if the wireless connectivity result is that wireless connectivity fails at least N times consecutively, and if there is at least one untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device meet the preset adjustment conditions, where N is an integer greater than or equal to 1.

[0198] The apparatus of this application, when transmitting wireless signals between a gateway device and a transceiver, determines a first parameter value dataset corresponding to the network parameters of the gateway device. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to a second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this device possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves the time and manpower costs associated with adjusting network parameters but also avoids the error-prone problem of manual network parameter adjustment. Secondly, after automatically adjusting the network parameters, the gateway device can be automatically tested for wireless network performance without the need for test personnel. This links the network parameter adjustment process with the performance testing process, automating the entire testing process and greatly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0199] Those skilled in the art will understand that Figure 5The performance testing device described above can be used to implement the performance testing methods described above. The details of the device should be similar to those described in the method section above. To avoid being too complicated, they will not be repeated here.

[0200] Following the same line of thought, embodiments of this application also provide an electronic device, such as... Figure 6 As shown. Electronic devices can vary considerably due to differences in configuration or performance, and may include one or more processors 601 and memory 602. Memory 602 may store one or more application programs or data. Memory 602 may be temporary or persistent storage. The application programs stored in memory 602 may include one or more modules (not shown), each module may include a series of computer-executable instructions for the electronic device. Furthermore, processor 601 may be configured to communicate with memory 602 and execute the series of computer-executable instructions in memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, and one or more keyboards 606.

[0201] Specifically, in this embodiment, the electronic device includes a memory and one or more application programs, wherein one or more application programs are stored in the memory, and one or more application programs may include one or more modules, and each module may include a series of computer-executable instructions for use in the electronic device, and is configured to be executed by one or more processors. The one or more application programs include computer-executable instructions for performing the following:

[0202] In the case of transmitting wireless signals between the gateway device and the transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under the first test angle.

[0203] Based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset, determine whether the network parameters of the gateway device meet the preset adjustment conditions. The first test result is the result of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset.

[0204] If the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset, which is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

[0205] The device employing the embodiments of this application determines a first parameter value dataset corresponding to the network parameters of the gateway device when transmitting wireless signals between the gateway device and the transceiver. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to a second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this device possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the error-prone nature of manual network parameter adjustment. Secondly, after automating the adjustment of network parameters, the device can automatically perform wireless network performance testing on the gateway device. The testing process also requires no intervention from test personnel, thus linking the network parameter adjustment process with the performance testing process and automating the entire testing process, greatly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0206] This application also proposes a storage medium that stores one or more computer programs, each including computer-executable instructions. When executed by an electronic device comprising multiple applications, these computer-executable instructions enable the electronic device to perform the aforementioned performance testing method, specifically for the following purposes:

[0207] In the case of transmitting wireless signals between the gateway device and the transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under the first test angle.

[0208] Based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset, determine whether the network parameters of the gateway device meet the preset adjustment conditions. The first test result is the result of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset.

[0209] If the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset, which is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

[0210] Using the storage medium of this application embodiment, when transmitting wireless signals between the gateway device and the transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset is a set of parameter values ​​corresponding to the network parameters under a first test angle. The first parameter value dataset includes multiple parameter value subsets. Based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, it is determined whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets. The first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. Then, if the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset (i.e., other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets). It is evident that this storage medium possesses at least the following beneficial effects: Firstly, when the network parameters of the gateway device meet the preset adjustment conditions, the terminal device can automatically select the first parameter value subset according to the preset test order corresponding to each parameter value subset in the first parameter value dataset, and automatically adjust the network parameter values ​​based on the first parameter value subset. The entire adjustment process requires no intervention from test personnel, thus achieving automated adjustment of network parameters during gateway device performance testing. This not only saves time and manpower costs associated with adjusting network parameters but also avoids the error-prone problem of manual network parameter adjustment. Secondly, after automated adjustment of network parameters, the gateway device can be automatically tested for wireless network performance without the need for test personnel. This links the network parameter adjustment process with the performance testing process, automating the entire testing process and significantly improving the efficiency of network performance testing. On the other hand, the network parameter values ​​are adjusted based on the first parameter value dataset corresponding to the first test perspective. Since the first parameter value dataset is the set of parameter values ​​corresponding to the network parameters, and this set includes multiple parameter value subsets, it integrates the parameter values ​​corresponding to multiple network parameters into one set. Therefore, multiple network parameters can be adjusted at once, effectively integrating the adjustment of multiple network parameters into a single adjustment action, improving the efficiency of network parameter adjustment, and thus contributing to the efficiency of network performance testing. Finally, the network parameters are adjusted sequentially according to multiple parameter value subsets, and network performance testing is performed after each adjustment. This allows all parameter value subsets to be automatically tested under the same test perspective, thereby improving the coverage of network performance testing for multiple network parameters and ensuring that the final test results more comprehensively and accurately reflect the performance of the gateway device.

[0211] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0212] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0213] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0214] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0215] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0216] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0217] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0218] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0219] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0220] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0221] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0222] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0223] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A performance testing method, characterized in that, The method, applied to a terminal device of an access gateway device, includes: When transmitting wireless signals between the gateway device and the transceiver, a first parameter value dataset corresponding to the network parameters of the gateway device is determined. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under a first test angle. Based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset, it is determined whether the network parameters of the gateway device meet the preset adjustment conditions. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. If the network parameters meet the preset adjustment conditions, the network parameters are adjusted according to the second parameter value dataset, where the second parameter value dataset is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

2. The method according to claim 1, characterized in that, The network parameters include network bandwidth, network channel, and signal attenuation. The parameter value set of the network parameters includes network bandwidth value, network channel value, and signal attenuation value.

3. The method according to claim 1, characterized in that, The method further includes: If the network parameters do not meet the preset adjustment conditions, then the wireless network performance test result of the gateway device under the first test angle is generated based on the first test result corresponding to the first parameter value subset.

4. The method according to claim 1, characterized in that, The first subset of parameter values ​​includes multiple parameter values. Before adjusting the network parameters based on the second dataset of parameter values, the method further includes: Determine the preset adjustment method and preset adjustment step size corresponding to the first test angle. The preset adjustment method includes increasing or decreasing at least one parameter value in the first parameter value subset. According to the preset adjustment method and the preset adjustment step size, at least one parameter value in the first parameter value subset is adjusted to obtain a second parameter value subset in the first parameter value dataset.

5. The method according to claim 2, characterized in that, The step of adjusting the network parameters based on the second parameter value dataset includes: If there is an untested network bandwidth value in the second parameter value dataset, the current parameter value of the network bandwidth is adjusted to the untested network bandwidth value; if there is no untested network bandwidth value in the second parameter value dataset, the network parameter is not adjusted. If the parameter value of the network bandwidth is the value of the untested network bandwidth, and if there is an untested network channel value in the second parameter value dataset, then the current parameter value of the network channel is adjusted to the value of the untested network channel; if there is no untested network channel value in the second parameter value dataset, then the current parameter value of the network channel is not adjusted. If the parameter value of the network bandwidth is the untested network bandwidth value and the parameter value of the network channel is the untested network channel value, and if there is an untested signal attenuation value in the second parameter value dataset, then the current parameter value of the signal attenuation is adjusted to the untested signal attenuation value; if there is no untested signal attenuation value in the second parameter value dataset, then the current parameter value of the signal attenuation is not adjusted.

6. The method according to claim 5, characterized in that, After adjusting the current parameter value of the signal attenuation to the untested signal attenuation value, the method further includes: Execute a wireless connection command on the terminal device; If the terminal device and the gateway device can wirelessly connect, then the wireless network performance of the gateway device is tested when the current parameter value of the signal attenuation is the untested signal attenuation value. If the terminal device and the gateway device cannot connect wirelessly, then if the parameter value of the network bandwidth is the untested network bandwidth value and the parameter value of the network channel is the untested network channel value, the unadjusted signal attenuation value in the second parameter value dataset will not be adjusted.

7. The method according to claim 5, characterized in that, The first test results corresponding to the first subset of parameter values ​​include the traffic throughput between the gateway device and the terminal device; The step of adjusting the network parameters based on the second parameter value dataset includes: If the traffic throughput is less than a preset threshold, the current parameter value of the network channel in the second parameter value dataset is adjusted. If the throughput is greater than or equal to the preset threshold, the current parameter value of signal attenuation in the second parameter value dataset is adjusted.

8. The method according to claim 3, characterized in that, After generating the wireless network performance test results of the gateway device under the first test angle, the method further includes: Move the gateway device from the first test angle to the second test angle; Based on the third parameter value dataset corresponding to the second test angle, the network parameters are adjusted, and for each subset of parameter values ​​in the third parameter value dataset, the gateway device is tested for a second test result under each subset of parameter values. Based on the second test results, generate the wireless network performance test results of the gateway device under the second test perspective.

9. The method according to any one of claims 1-8, characterized in that, The first test result includes the wireless connectivity result between the gateway device and the terminal device; The step of determining whether the network parameters of the gateway device meet the preset adjustment conditions based on the first test results corresponding to the first parameter value dataset and / or the subset of first parameter values ​​includes: If there is at least one untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device meet the preset adjustment conditions. or, If the wireless connectivity result is that wireless connectivity fails at least N times consecutively, and there is at least one untested subset of parameter values ​​in the first parameter value dataset, then the network parameters of the gateway device meet the preset adjustment conditions, where N is an integer greater than or equal to 1.

10. A performance testing device, characterized in that, A terminal device applied to an access gateway device, the device comprising: The first determining module is used to determine a first parameter value dataset corresponding to the network parameters of the gateway device when transmitting wireless signals between the gateway device and the transceiver. The first parameter value dataset includes multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters under a first test angle. The judgment module is used to determine whether the network parameters of the gateway device meet the preset adjustment conditions based on the first test results corresponding to the first parameter value dataset and / or the first parameter value subset. The first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subset. The first parameter value subset is determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset. The first adjustment module is used to adjust the network parameters according to the second parameter value dataset if the network parameters meet the preset adjustment conditions. The second parameter value dataset is a subset of other parameter values ​​in the first parameter value dataset that does not include the first parameter value subset.

11. A performance testing system, characterized in that, The system includes a terminal device, a gateway device, a movable carrier device, and a transceiver. The terminal device includes a wired network card (NIC) end and a wireless network card (NIC) end. The transceiver is connected to the wireless NIC end, the gateway device is connected to the wired NIC end, and the movable carrier device is connected to the terminal device. The gateway device is mounted on the movable carrier device. The gateway device is used to transmit wireless signals with the transceiver, and the wireless signals are emitted by the gateway device or the transceiver. The terminal device is used to control the movable support device to move to the first test angle; The movable support device is used to move the gateway device to the first test angle under the control of the terminal device; The terminal device is further configured to transmit wireless signals between the gateway device and the transceiver, and when the gateway device moves to the first test angle, determine a first parameter value dataset corresponding to the network parameters of the gateway device, the first parameter value dataset including multiple parameter value subsets, wherein the first parameter value dataset is the parameter value set corresponding to the network parameters at the first test angle; determine whether the network parameters of the gateway device meet preset adjustment conditions based on the first parameter value dataset and / or the first test results corresponding to the first parameter value subsets, wherein the first test results are the results of wireless network performance testing after adjusting the network parameters according to the first parameter value subsets, and the first parameter value subsets are determined according to the preset test order corresponding to each parameter value subset in the first parameter value dataset; if the network parameters meet the preset adjustment conditions, then adjust the network parameters according to a second parameter value dataset, wherein the second parameter value dataset is other parameter value subsets in the first parameter value dataset that do not include the first parameter value subsets.

12. The system according to claim 11, characterized in that, The system also includes a camera device, which is connected to the terminal device; The camera device is used to capture images of objects related to the performance test of the wireless network and store the image data corresponding to the captured objects in the terminal device; the captured objects include at least one of the following: the movement of the movable carrier device, the movement of the gateway device, and the display content on the display interface of the terminal device.

13. An electronic device, characterized in that, include: processor; as well as A memory configured to store computer-executable instructions configured to be executed by the processor to implement the performance testing method as described in any one of claims 1-9.

14. A storage medium, characterized in that, The storage medium is used to store computer-executable instructions, which, when executed by a processor, implement the performance testing method as described in any one of claims 1-9.