Wireless access point testing method, apparatus, device, and storage medium thereof
Patent Information
- Application Number
- CN202211714024.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-12-27
AI Technical Summary
[0005]本申请的主要目的在于提供一种无线接入点测试方法、装置、设备及其存储介质,旨在解决无线接入点兼容性测试的测试效率低的技术问题
[0036]This application discloses a wireless access point testing method. Based on the testing requirements of the device under test (DUT), a test group is generated by identifying matching auxiliary test devices and generating a test group, wherein the test group includes the DUT and at least one auxiliary test device. Then, the grouping information corresponding to the test group is obtained, and test instructions are generated based on the grouping information. The test instructions are then sent to the test group to control the test group to perform testing. By automatically selecting multiple matching auxiliary test devices, the test group for compatibility testing is automatically formed. Test instructions are then generated based on the grouping information of the test group to control each device in the test group to simultaneously perform compatibility testing on the DUT. This saves the time of manually setting up the test environment for the DUT and auxiliary test devices, and shortens the overall duration of compatibility testing by testing multiple devices simultaneously, thereby improving the efficiency of compatibility testing. Furthermore, by setting each auxiliary test device in the test group to different frequency bands and/or different channels, the performance interference between auxiliary test devices can be avoided during synchronous testing of multiple devices, ensuring that each auxiliary test device maintains its optimal performance state and achieving compatibility testing of the DUT, further improving the overall efficiency of compatibility testing.
Smart Images

Figure CN116033472B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network testing technology, and in particular to a wireless access point testing method, apparatus, device and its storage medium. Background Technology
[0002] With the rapid development of society, the application of wireless LANs is becoming increasingly widespread, and the types of terminals that need to access wireless LANs are also increasing, such as mobile phones, tablets, laptops, and smart home devices, which are almost ubiquitous in our lives. These terminals also have increasingly higher performance requirements for wireless networks. To meet the needs of flexible use by multiple terminals, compatibility testing between wireless access points (APs) and different terminals is necessary to satisfy various requirements.
[0003] Currently, compatibility testing between wireless APs and terminals mainly relies on technicians manually setting parameters and then conducting one-to-one compatibility tests. Once a terminal is successfully tested, it is then switched to the next terminal. However, this method has low testing efficiency for compatibility testing of wireless APs.
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this application is to provide a wireless access point testing method, apparatus, device, and storage medium, aiming to solve the technical problem of low testing efficiency in wireless access point compatibility testing.
[0006] To achieve the above objectives, this application provides a wireless access point testing method, the wireless access point testing method comprising:
[0007] Based on the testing requirements of the device under test, a companion device matching the testing requirements is determined and a test group is generated, wherein the test group includes the device under test and at least one companion device;
[0008] Obtain the grouping information corresponding to the test group, and generate test instructions based on the grouping information;
[0009] The test command is sent to the test group to control the test group to perform the test.
[0010] Optionally, after the step of controlling the test group to perform the test, the following is included:
[0011] Dynamically monitor the frequency bands and channels of the test group;
[0012] If an idle frequency band and / or an idle channel are detected, then, according to the test requirements, select a companion test device that is compatible with the idle frequency band and / or the idle channel.
[0013] The accompanying test equipment adapted to the idle frequency band and / or idle channel is added to the test group, and the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, as well as subsequent steps, are executed.
[0014] Optionally, the step of determining a matching test device and generating a test group based on the test requirements of the device under test includes:
[0015] Based on the testing requirements of the device under test, a first set of supporting devices that matches the testing requirements is selected from the searched supporting devices and formed into a first set of supporting devices.
[0016] Based on the parameter information corresponding to each first test device in the first test device set, second test devices are selected and a second test device set is formed, wherein each second test device in the second test device set is a first test device of different frequency bands and / or different channels;
[0017] The device under test and the second set of accompanying devices are combined to form the test group.
[0018] Optionally, after the step of determining the auxiliary test device matching the test requirements of the device under test and generating a test group, the following steps are included:
[0019] The device under test and each accompanying device in the test group are initialized to obtain the initialized device under test and the initialized accompanying devices;
[0020] Based on the testing requirements of the device under test, the parameters of the device under test are configured for initialization.
[0021] Optionally, the step of obtaining the grouping information corresponding to the test group and generating test instructions based on the grouping information includes:
[0022] Obtain the device identifiers corresponding to the device under test and each accompanying device in the test group, as the grouping information;
[0023] The grouping information is encapsulated into a preset control instruction to generate a test instruction.
[0024] Optionally, the test instruction encapsulates grouping information, and the step of sending the test instruction to the test group to control the test group to perform the test includes:
[0025] The test command is sent to the test group to control the device under test in the test group to establish a connection with each of the supporting devices in the test group and perform the test according to the grouping information.
[0026] Optionally, after the step of controlling the test group to perform the test, the following is included:
[0027] Dynamically acquire the test results of each accompanying device in the test group;
[0028] If the test result is successful, the accompanying test device with the successful test result is removed from the test group, and a corresponding test report is generated based on the test result;
[0029] If the test result is a test failure, then return to the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, and subsequent steps, until the number of test failures exceeds a preset failure threshold. Then, remove the companion device with the test result of test failure from the test group and generate a corresponding test report based on the test result.
[0030] This application also provides a wireless access point testing device, the wireless access point testing device comprising:
[0031] The determination module is used to determine the companion device that matches the test requirements of the device under test and generate a test group, wherein the test group includes the device under test and at least one companion device.
[0032] The generation module is used to obtain the grouping information corresponding to the test group and generate test instructions based on the grouping information;
[0033] The sending module is used to send the test instructions to the test group to control the test group to perform the test.
[0034] This application also provides a wireless access point testing device, which includes: a memory, a processor, and a wireless access point testing program stored in the memory and executable on the processor. The wireless access point testing program is configured to implement the steps of the wireless access point testing method described above.
[0035] This application also provides a storage medium, which is a computer-readable storage medium, storing a wireless access point test program, which is executed by a processor to implement the steps of the wireless access point test method described above.
[0036] This application discloses a wireless access point testing method. Based on the testing requirements of the device under test (DUT), a test group is generated by identifying matching auxiliary test devices and generating a test group, wherein the test group includes the DUT and at least one auxiliary test device. Then, the grouping information corresponding to the test group is obtained, and test instructions are generated based on the grouping information. The test instructions are then sent to the test group to control the test group to perform testing. By automatically selecting multiple matching auxiliary test devices, the test group for compatibility testing is automatically formed. Test instructions are then generated based on the grouping information of the test group to control each device in the test group to simultaneously perform compatibility testing on the DUT. This saves the time of manually setting up the test environment for the DUT and auxiliary test devices, and shortens the overall duration of compatibility testing by testing multiple devices simultaneously, thereby improving the efficiency of compatibility testing. Furthermore, by setting each auxiliary test device in the test group to different frequency bands and / or different channels, the performance interference between auxiliary test devices can be avoided during synchronous testing of multiple devices, ensuring that each auxiliary test device maintains its optimal performance state and achieving compatibility testing of the DUT, further improving the overall efficiency of compatibility testing. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the structure of a wireless access point test device for the hardware operating environment involved in the embodiments of this application;
[0038] Figure 2 This is a schematic diagram illustrating the trend of the impact of frequency bands / channels on the performance of the test equipment involved in the wireless access point testing method embodiments of this application;
[0039] Figure 3 This is a schematic diagram of a scenario of an embodiment of the wireless access point testing method involved in the embodiments of this application;
[0040] Figure 4 This is a schematic diagram of another embodiment of the wireless access point testing method involved in the embodiments of this application;
[0041] Figure 5 This is a flowchart illustrating the first embodiment of the wireless access point testing method of this application;
[0042] Figure 6 This is a flowchart illustrating a more complete embodiment of the wireless access point testing method of this application;
[0043] Figure 7 This is a schematic diagram of the frame structure of the wireless access point testing device involved in the embodiments of this application.
[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0046] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a wireless access point test device for the hardware operating environment involved in the embodiments of this application.
[0047] like Figure 1 As shown, the wireless access point test device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0048] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the wireless access point test equipment and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0049] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a wireless access point test program.
[0050] exist Figure 1 In the wireless access point test device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with users; the processor 1001 and memory 1005 in the wireless access point test device of this application can be set in the wireless access point test device, and the wireless access point test device calls the wireless access point test program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0051] Based on the testing requirements of the device under test, a companion device matching the testing requirements is determined and a test group is generated, wherein the test group includes the device under test and at least one companion device;
[0052] Obtain the grouping information corresponding to the test group, and generate test instructions based on the grouping information;
[0053] The test command is sent to the test group to control the test group to perform the test.
[0054] Furthermore, the processor 1001 can call the wireless access point test program stored in the memory 1005 and also perform the following operations:
[0055] Following the step of controlling the test group to perform the test, the following is included:
[0056] Dynamically monitor the frequency bands and channels of the test group;
[0057] If an idle frequency band and / or an idle channel are detected, then, according to the test requirements, select a companion test device that is compatible with the idle frequency band and / or the idle channel.
[0058] The accompanying test equipment adapted to the idle frequency band and / or idle channel is added to the test group, and the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, as well as subsequent steps, are executed.
[0059] Furthermore, the step of determining the auxiliary test equipment that matches the test requirements of the device under test and generating a test group includes:
[0060] Based on the testing requirements of the device under test, a first set of supporting devices that matches the testing requirements is selected from the searched supporting devices and formed into a first set of supporting devices.
[0061] Based on the parameter information corresponding to each first test device in the first test device set, second test devices are selected and a second test device set is formed, wherein each second test device in the second test device set is a first test device of different frequency bands and / or different channels;
[0062] The device under test and the second set of accompanying devices are combined to form the test group.
[0063] Furthermore, the processor 1001 can call the wireless access point test program stored in the memory 1005 and also perform the following operations:
[0064] After the step of determining the auxiliary test equipment that matches the test requirements of the device under test and generating a test group, the following steps are included:
[0065] The device under test and each accompanying device in the test group are initialized to obtain the initialized device under test and the initialized accompanying devices;
[0066] Based on the testing requirements of the device under test, the parameters of the device under test are configured for initialization.
[0067] Further, the step of obtaining the grouping information corresponding to the test group and generating test instructions based on the grouping information includes:
[0068] Obtain the device identifiers corresponding to the device under test and each accompanying device in the test group, as the grouping information;
[0069] The grouping information is encapsulated into a preset control instruction to generate a test instruction.
[0070] Furthermore, the test instruction encapsulates grouping information, and the step of sending the test instruction to the test group to control the test group to perform the test includes:
[0071] The test command is sent to the test group to control the device under test in the test group to establish a connection with each of the supporting devices in the test group and perform the test according to the grouping information.
[0072] Furthermore, the processor 1001 can call the wireless access point test program stored in the memory 1005 and also perform the following operations:
[0073] Following the step of controlling the test group to perform the test, the following is included:
[0074] Dynamically acquire the test results of each accompanying device in the test group;
[0075] If the test result is successful, the accompanying test device with the successful test result is removed from the test group, and a corresponding test report is generated based on the test result;
[0076] If the test result is a test failure, then return to the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, and subsequent steps, until the number of test failures exceeds a preset failure threshold. Then, remove the companion device with the test result of test failure from the test group and generate a corresponding test report based on the test result.
[0077] This application, through individual or combined testing of the device under test and accompanying test devices of different frequency bands and channels, found that the influence between accompanying test devices of different frequency bands or channels is relatively small; (Refer to...) Figure 2 This diagram illustrates the performance changes of the device under test (DUT) when tested individually or in combination with auxiliary devices on different frequency bands or channels. The horizontal axis represents the test time, and the vertical axis represents the performance of the auxiliary devices. (a) and (b) show the performance changes of the DUT and auxiliary devices on different frequency bands on the same channel when tested individually, respectively. (c) shows the performance changes of each auxiliary device when the DUT is tested in combination with auxiliary devices on different frequency bands (2.4G and 5G). By comparing (a)-(c), it can be found that the influence between auxiliary devices on different frequency bands on the same channel is small, so they can be connected to the DUT and tested simultaneously. (d) and (e) show the performance changes of the DUT and auxiliary devices on different channels on the same frequency band when tested individually. The performance changes of the device under test (D) are shown in (d) and (f) are shown in (f) when the D is tested in combination with other devices on different channels (CH1, Channel and CH11). By comparing (d)-(f), it can be found that the influence between devices on different channels in the same frequency band is small, so they can be connected to the D and tested at the same time. In summary, when conducting compatibility testing on the D, devices on different frequency bands or different channels can be connected to the D and tested at the same time to avoid the influence between the devices on each other's performance, so that each device can maintain the optimal device performance, thereby shortening the test time of the compatibility test of the D and further improving the test efficiency of the compatibility test.
[0078] This application provides a wireless access point testing method. The following illustration uses a scenario diagram of one implementation of the wireless access point testing method to illustrate the solution. (Refer to...) Figure 3 In this embodiment, the execution entity of the wireless access point testing method can be a wireless access point testing device; the device under test is a wireless access point (AP), which can be a router, optical modem, etc.; the companion device can be a mobile phone, tablet, laptop, smart home device, or other WIFI (Wireless Fidelity, mobile hotspot) terminal; the wireless access point testing device searches for and stores available companion devices; upon receiving the test request from the device under test, it selects companion devices that meet the test requirements from among the companion devices and combines them with the device under test to generate a test group, thereby enabling each companion device to be tested simultaneously, shortening the test time for the device under test, and thus improving the test efficiency of compatibility testing; wherein, each companion device in the test group is a companion device of a different frequency band or a different channel.
[0079] This application provides a wireless access point testing method. The following illustration uses a scenario diagram of another implementation of the wireless access point testing method to illustrate the solution. (Refer to...) Figure 4 In this embodiment, the execution entity is a wireless access point testing device, which stores a wireless access point testing program. This program is an automated program capable of executing a dynamic test set, which can simultaneously run multiple test groups. Each test group includes a device under test (DUT) and at least one companion device. The wireless access point testing device dynamically monitors the test environment and test results corresponding to each test group in the test set. The test environment includes the frequency band and channel used by the companion devices in each test group. When a companion device in a test group is detected to have a successful test result, it is removed from the test group to release test resources. When an idle frequency band and / or channel is detected in a test group, the companion devices that meet the requirements are selected from the searched companion devices. This application identifies the testing requirements of the device under test (DUT) and matches it with available frequency bands and / or channels for auxiliary testing (ATR). The DUT is then automatically selected into the corresponding test group for continued compatibility testing. Based on the testing requirements and environment, this application automatically selects matching ATRs, enabling multiple ATRs to be tested simultaneously. This avoids the need for manual connection and one-to-one testing by technicians, a common practice in conventional compatibility testing methods, significantly reducing the testing time for DUT compatibility testing. Furthermore, through dynamic monitoring of test results and the test environment, the application can promptly remove completed ATRs from the test group, freeing up test resources. Alternatively, if available frequency bands and / or channels are detected in the test environment of any test group, a suitable ATR can be promptly added, preventing waste of test resources and further improving the efficiency of compatibility testing for the DUT.
[0080] Based on the above structure, various embodiments of the wireless access point testing method are proposed.
[0081] Reference Figure 5 , Figure 5 This is a flowchart illustrating the first embodiment of the wireless access point testing method of this application.
[0082] In this embodiment, the executing entity of the wireless access point testing method can be a wireless access point testing device. The wireless access point testing device connects to the device under test and the auxiliary device via wireless or wired connection to perform compatibility testing on the device under test. The wireless access point device can be a local device, a network device, etc., and is not limited in this embodiment. For ease of description, the executing entity is omitted from the following description of each embodiment. In this embodiment, the wireless access point testing method includes:
[0083] Step S10: Based on the testing requirements of the device under test, determine the companion device that matches the testing requirements and generate a test group, wherein the test group includes the device under test and at least one companion device;
[0084] Upon receiving a test request for any device under test, the system selects suitable companion devices from the available companion devices found, based on the test request. These companion devices are then combined with the device under test to form a test group.
[0085] The device under test (DUT) is a wireless access point (AP) that requires compatibility testing, such as a router or optical modem. Test requirements refer to the specific test content, conditions, and objectives of the compatibility test. Compatibility testing evaluates whether the DUT can correctly interact with multiple different types and parameters of companion devices, and is also an important indicator for evaluating the performance of the DUT. The test content of compatibility testing includes, but is not limited to, channel traversal, bandwidth testing, encryption testing, and connectivity testing; this embodiment does not impose any limitations on these aspects.
[0086] Companion testing equipment is used to verify the compatibility of the device under test, such as mobile phones, tablets, computers, smart home Wi-Fi (mobile hotspot) terminals; the companion testing equipment can be a device that has undergone compatibility testing and whose compatibility test results are all qualified.
[0087] A test group is a combination of a device under test (DUT) and at least one auxiliary device. Each auxiliary device in the test group can simultaneously perform compatibility tests with the DUT in the test group. The number of auxiliary devices in the test group can be determined according to the compatibility testing requirements of the DUT.
[0088] In one feasible implementation, the accompanying devices in the same test group are accompanying devices of different frequency bands and / or different channels, thereby reducing the influence between the accompanying devices in the test group.
[0089] In another feasible implementation, the wireless access point test device implements a dynamic test set, in which multiple test groups can be run simultaneously. Each test group includes a device under test and at least one companion device, thereby simultaneously performing compatibility tests on multiple devices under test.
[0090] Step S20: Obtain the grouping information corresponding to the test group, and generate test instructions based on the grouping information;
[0091] The grouping information corresponding to each test group is obtained, including the identifiable identity information of the device under test and the accompanying device in each test group; then the grouping information is encapsulated into a preset control command to generate test commands, thereby controlling the interconnection and simultaneous testing of the corresponding devices in each test group.
[0092] Optionally, the step of obtaining the grouping information corresponding to the test group and generating test instructions based on the grouping information includes:
[0093] Step S21: Obtain the device identifiers corresponding to the device under test and each accompanying device in the test group, as the grouping information;
[0094] Step S22: Encapsulate the grouping information into a preset control instruction to generate a test instruction.
[0095] After the test group is grouped, the parameter information and identifiers of each device in the test group (including the device under test and the accompanying device) are obtained. The parameter information and identifiers are then combined to generate the grouping information corresponding to the test group. The grouping information is then encapsulated into a preset control command to generate a test command.
[0096] Parameter information refers to the wireless parameter information corresponding to each device, including: device working mode (WIFI4, WIFI5, WIFI6), frequency band (2.4G, 5G), channel (CH1, CH11), etc.; the identifier is a mark that identifies a specific device, and can be used to connect and interact with a specific device; the preset control command is a command containing test control logic information, which can control each device in the test group to perform compatibility tests simultaneously.
[0097] In this embodiment, by obtaining the device identifiers corresponding to the device under test and each accompanying device in the test group, grouping information corresponding to each test group is automatically generated. Then, the grouping information is encapsulated into a preset control command to generate test commands, controlling each accompanying device in the test group to perform tests simultaneously. This saves the time of manually setting up the test environment and connection between the device under test and the accompanying devices, thereby improving the test efficiency of compatibility testing of the device under test in the test group.
[0098] Step S30: Send the test command to the test group to control the test group to perform the test.
[0099] The generated test commands are sent to the device under test (DUT) and each of the supporting devices in the test group. After receiving the test commands, the DUT and each supporting device parse the test commands and then perform compatibility tests based on the parsed test commands.
[0100] Optionally, the step of sending the test instruction to the test group to control the test group to perform the test includes:
[0101] Step S31: Send the test command to the test group to control the device under test in the test group to establish a connection with each supporting device in the test group and perform the test according to the grouping information.
[0102] The generated test commands are sent to the device under test (DUT) and each auxiliary device in the test group. After receiving the test commands, the DUT and each auxiliary device parse the test commands to obtain grouping information. Then, each auxiliary device connects to the corresponding DUT according to the grouping information, and the DUT establishes a connection with each auxiliary device according to the grouping information. Then, each auxiliary device starts compatibility testing simultaneously according to the control commands in the test commands.
[0103] In this embodiment, by determining the matching auxiliary test devices according to the test requirements of the device under test (DUT) and generating a test group, the test group includes the DUT and at least one auxiliary test device. Then, the grouping information corresponding to the test group is obtained, and test instructions are generated based on the grouping information. The test instructions are then sent to the test group to control the test group to perform testing. By automatically selecting multiple matching auxiliary test devices, the test group for compatibility testing is automatically formed. Test instructions are then generated based on the grouping information of the test group to control each device in the test group to simultaneously perform compatibility testing on the DUT. This saves the time of manually setting up the test environment for the DUT and auxiliary test devices, and shortens the overall duration of compatibility testing by testing multiple devices simultaneously, thereby improving the efficiency of compatibility testing. Furthermore, by setting each auxiliary test device in the test group to different frequency bands and / or different channels, the performance impact between auxiliary test devices is greatly reduced while multiple devices are tested synchronously, allowing each auxiliary test device to perform compatibility testing on the DUT at its optimal performance state, further improving the overall efficiency of compatibility testing.
[0104] Furthermore, based on the first embodiment described above, a second embodiment of the wireless access point testing method of the present invention is proposed. In this embodiment, step S30 includes:
[0105] Step S40: Dynamically monitor the frequency band and channel of the test group;
[0106] Step S50: If an idle frequency band and / or idle channel is detected, then according to the test requirements, select a companion test device that is compatible with the idle frequency band and / or idle channel.
[0107] Step S60: The accompanying test device adapted to the idle frequency band and / or idle channel is added to the test group, and the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, as well as subsequent steps, are executed.
[0108] The system dynamically monitors the frequency bands and channels used in the test group. When an idle frequency band and / or idle channel is detected, it indicates that the companion device occupying that frequency band and channel has completed testing and has been removed from the test group, or that there are usable frequency bands and / or channels in the test group. Based on the test requirements of the device under test, the system automatically selects companion devices that meet the test requirements and are compatible with the idle frequency band and / or idle channel from the searched usable devices under test, and adds the device to the test group. Then, step S20 and subsequent steps are executed to continue the compatibility test of the device under test. Idle frequency bands and / or idle channels refer to frequency bands and / or channels that are not used by companion devices in the test group.
[0109] For example, when an idle frequency band is detected in the test group, a companion test device that meets the test requirements and is compatible with the idle frequency band is automatically selected from the available test devices and added to the test group, based on the test requirements of the device under test. When an idle channel is detected in the test group, a companion test device that meets the test requirements and is compatible with the idle channel is automatically selected from the available test devices and added to the test group, based on the test requirements of the device under test. When both an idle frequency band and an idle channel are detected in the test group, a companion test device that meets the test requirements and is compatible with the idle frequency band and / or idle channel is automatically selected from the available test devices and added to the test group, or a companion test device that meets the test requirements and is compatible with the idle frequency band and an companion test device that meets the test requirements and is compatible with the idle channel is selected, and both companion test devices are added to the test group.
[0110] The time interval for dynamic monitoring of frequency bands and channels of each test group can be determined according to the actual situation. This embodiment does not impose any restrictions on this. For example, if the time interval for dynamic monitoring is small enough, it can basically realize real-time monitoring of frequency bands and channels of each test group, so as to discover idle test resources more promptly, thereby improving the utilization efficiency of each supporting device and thus improving the testing efficiency of compatibility testing of the device under test.
[0111] In one feasible implementation, the usage status of searchable companion devices is dynamically monitored. When an idle companion device is detected, it is added to a test group that matches the test set. Then, compatibility testing is performed on the corresponding device under test in the matched test group to improve the testing efficiency of the compatibility testing of the device under test.
[0112] In this embodiment, the frequency bands and channels of the test group are dynamically monitored. If an idle frequency band and / or idle channel is detected, a companion test device adapted to the idle frequency band and / or idle channel is selected according to the test requirements. Then, the companion test device adapted to the idle frequency band and / or idle channel is added to the test group, and the steps of obtaining the group information corresponding to the test group and generating test instructions according to the group information, as well as subsequent steps, are executed to achieve reasonable allocation of test resources. When there is an idle frequency band and / or idle channel in any test group, the adapted companion test device is added in time, thereby saving the time of manually switching test devices, realizing the automation of compatibility testing, and further improving the testing efficiency of compatibility testing.
[0113] Furthermore, based on the first and / or second embodiments described above, a third embodiment of the wireless access point testing method of the present invention is proposed. In this embodiment, step S10 includes:
[0114] Step S11: Based on the testing requirements of the device under test, select the first pair of test devices that match the testing requirements from the searched pair of test devices, and form a first pair of test devices set.
[0115] Upon receiving a test request for any device under test, the system selects the first companion device that meets the test requirements from the companion devices that can be searched in space, and combines them to form a first companion device set, wherein the first companion device set includes at least one first companion device.
[0116] In one feasible implementation, the wireless access point test equipment, the device under test, and the auxiliary test equipment are all set up in a shielded room to avoid interference from other external electromagnetic or signal sources on the compatibility test and to ensure that each device can receive complete instructions or information, thereby ensuring the accuracy and success rate of the compatibility test results.
[0117] Step S12: Based on the parameter information corresponding to each first test device in the first test device set, filter the second test devices and form a second test device set, wherein each second test device in the second test device set is a first test device of different frequency bands and / or different channels.
[0118] Obtain the parameter information corresponding to each of the first test devices in the first set of test devices. The parameter information refers to the wireless parameter information corresponding to each device, including: the device's working mode (WIFI4, WIFI5, WIFI6), frequency band (2.4G, 5G), channel (CH1, CH11), etc.; based on the parameter information, select first test devices of different frequency bands and / or different channels to serve as second test devices; combine the second test devices to generate a second set of test devices, wherein the second test devices refer to test devices that will not affect each other's performance when performing compatibility tests simultaneously.
[0119] Step S13: Combine the device under test and the second set of accompanying devices to form the test group.
[0120] The device under test (DUT) and a set of second-stage DUTs are combined to form a test group. This allows each DUT in the test group to perform compatibility testing on the DUT simultaneously without affecting its own performance, thereby improving the efficiency of compatibility testing for the DUT.
[0121] In this embodiment, by combining the device under test (DUT) with compatible auxiliary testing devices of different frequency bands and / or different channels into a test group, the performance impact between the auxiliary testing devices during simultaneous testing is avoided. This ensures that each auxiliary testing device maintains optimal test performance during compatibility testing, thereby shortening the test time for compatibility testing of the DUT and further improving the test efficiency of compatibility testing.
[0122] Optionally, after the step of determining the auxiliary test device matching the test requirements of the device under test and generating a test group, the following steps are included:
[0123] Step S14: Initialize the device under test and each accompanying device in the test group to obtain initialized device under test and initialized accompanying devices;
[0124] The device under test (DUT) and each accompanying device in the test group are initialized to restore the corresponding working mode and parameter information of the DUT and each accompanying device to the default value, so as to obtain the initialized DUT and initialized accompanying devices; thereby avoiding the influence of the residual historical data information of each device on this compatibility test; initialization can be a factory reset or reset operation, etc., and this embodiment does not limit this.
[0125] In one feasible implementation, the environment parameters of the test group are initialized; the environment parameters are the test environment of the test group, such as IP reset, server initialization, etc.
[0126] Step S15: Configure the parameters of the device under test according to the test requirements of the device under test.
[0127] Based on the testing requirements of the device under test (DUT), the parameters of the DUT are initialized and configured to adjust the parameters to meet the testing requirements. The parameter configuration includes adjusting the wireless operating mode, frequency band, and channel of the DUT.
[0128] In this embodiment, the device under test (DUT) and each accompanying device in the test group are initialized to obtain initialized DUT and initialized accompanying devices, thus avoiding the influence of residual historical data information of each device on this compatibility test; then, according to the test requirements of the DUT, the parameters of the initialized DUT are configured to realize the automatic adjustment of test parameters between devices, saving the time of manual device parameter adjustment, thereby realizing the automation of compatibility testing and improving test efficiency.
[0129] Furthermore, based on the first, second, and / or third embodiments described above, a fourth embodiment of the wireless access point testing method of the present invention is proposed. In this embodiment, after step S30, the method includes:
[0130] Step S32: Dynamically acquire the test results of each accompanying device in the test group;
[0131] The test results and logs of each test device in each test group are dynamically obtained. Then, corresponding test reports are generated based on the test results and logs. Test devices that have completed testing are removed from the test group to free up test resources, or idle test devices are moved to a suitable test group to continue compatibility testing, thereby saving test time and improving test efficiency.
[0132] Step S33: If the test result is a successful test, the accompanying test device with the successful test result is removed from the test group, and a corresponding test report is generated based on the test result.
[0133] If the obtained test result is a successful test, it means that the device under test in the test group has passed the compatibility test of the accompanying device. In order not to occupy test resources, the accompanying device with a successful test result is removed from the test group and used as an idle accompanying device for use by other test groups in the test set; and the corresponding test report is generated and output according to the test result and the preset report template.
[0134] Step S34: If the test result is a test failure, return to the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, and subsequent steps, until the number of test failures exceeds a preset failure threshold. Remove the companion device with the test result of test failure from the test group and generate a corresponding test report based on the test result.
[0135] If the test result is a test failure, it indicates that the device under test has not passed the compatibility test of the companion device. Then, return to step S20 and subsequent steps to repeat the compatibility test on the device under test. If the number of consecutive test failures exceeds the preset failure number threshold, it indicates that the device under test and the companion device are incompatible. Then, the companion device with the test failure result is removed from the test group, and a corresponding test report is generated based on the test failure result and the number of failures for technical personnel to check.
[0136] In this embodiment, by dynamically acquiring the test results of each accompanying device in the test group, the automatic loading and unloading of each accompanying device in the test set can be realized, maximizing the utilization of test resources. Furthermore, after the test is completed, test results can be automatically generated, saving the time of manually sorting out messy and scattered test data, thus improving the overall efficiency of compatibility testing.
[0137] Furthermore, to better understand the technical essence of the wireless access point testing method of this application, a more complete embodiment is described below, with reference to... Figure 6 The execution entity is the test control module within the wireless access point test equipment. Upon receiving a test request, it initializes the device under test (DUT), environmental parameters, and searchable companion devices in the space according to the test request. It then acquires the parameter information (wireless parameter information) corresponding to each companion device, as well as a list of searchable companion devices. Next, based on the test request, it configures the parameters of the initialized DUT to adjust its wireless operating mode, frequency band, and channel. Then, based on the test request, it filters the companion devices in the list to determine suitable companion devices. These suitable companion devices and the DUT are then grouped into a test group. Finally, it sends the corresponding grouping information and preset control logic information (test commands) to each companion device in the test group to control the connection between each companion device and the corresponding DUT in the test group, thereby performing wireless interconnection and interoperability tests, such as channel traversal, broadband testing, encryption testing, performance testing, and connectivity testing. The test results and log data of each companion device are obtained, and the companion devices in the test group are removed from the group (exit the group) and / or added to the group (join the group) according to the test results. For dual-band companion devices, the frequency band is switched. The obtained test results and log data are processed to output the corresponding test report, thereby realizing automated compatibility testing of the device under test.
[0138] Furthermore, embodiments of this application also provide a wireless access point testing device, referring to... Figure 7 The wireless access point testing device is applied to wireless access point testing equipment, and the wireless access point testing device includes:
[0139] The determination module 10 is used to determine a companion device that matches the test requirements of the device under test and generate a test group, wherein the test group includes the device under test and at least one companion device.
[0140] The generation module 20 is used to obtain the grouping information corresponding to the test group and generate test instructions based on the grouping information;
[0141] The sending module 30 is used to send the test instructions to the test group to control the test group to perform the test.
[0142] The specific implementation of the wireless access point testing device in this application is basically the same as the embodiments of the wireless access point testing method described above, and will not be repeated here.
[0143] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system 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 system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0144] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0145] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for testing wireless access points, characterized in that, The wireless access point testing method includes the following steps: Based on the testing requirements of the device under test, a first set of supporting devices that matches the testing requirements is selected from the searched supporting devices; Based on the parameter information corresponding to each first test device in the first test device set, second test devices are selected and a second test device set is formed, wherein each second test device in the second test device set is a first test device of different frequency bands and / or different channels; The device under test and the second set of accompanying devices are combined to form a test group; Obtain the grouping information corresponding to the test group, and generate test instructions based on the grouping information; The test command is sent to the test group to control the device under test in the test group to establish a connection with each of the auxiliary test devices in the test group and to perform the test.
2. The wireless access point testing method as described in claim 1, characterized in that, Following the step of controlling the test group to perform the test, the following is included: Dynamically monitor the frequency bands and channels of the test group; If an idle frequency band and / or an idle channel are detected, then, according to the test requirements, select a companion test device that is compatible with the idle frequency band and / or the idle channel. The accompanying test equipment adapted to the idle frequency band and / or idle channel is added to the test group, and the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, as well as subsequent steps, are executed.
3. The wireless access point testing method as described in claim 1, characterized in that, After the step of determining the auxiliary test equipment that matches the test requirements of the device under test and generating a test group, the following steps are included: The device under test and each accompanying device in the test group are initialized to obtain the initialized device under test and the initialized accompanying devices; Based on the testing requirements of the device under test, the parameters of the device under test are configured for initialization.
4. The wireless access point testing method as described in claim 1, characterized in that, The step of obtaining the grouping information corresponding to the test group and generating test instructions based on the grouping information includes: Obtain the device identifiers corresponding to the device under test and each accompanying device in the test group, as the grouping information; The grouping information is encapsulated into a preset control instruction to generate a test instruction.
5. The wireless access point testing method as described in claim 1, characterized in that, The test command encapsulates grouping information. The step of sending the test command to the test group to control the device under test in the test group to establish a connection with each auxiliary device in the test group and perform testing includes: The test command is sent to the test group to control the device under test in the test group to establish a connection with each of the supporting devices in the test group and perform the test according to the grouping information.
6. The wireless access point testing method as described in claim 1, characterized in that, Following the step of controlling the test group to perform the test, the following is included: Dynamically acquire the test results of each accompanying device in the test group; If the test result is successful, the accompanying test device with the successful test result is removed from the test group, and a corresponding test report is generated based on the test result; If the test result is a test failure, then return to the steps of obtaining the group information corresponding to the test group and generating test instructions based on the group information, and subsequent steps, until the number of test failures exceeds a preset failure threshold. Then, remove the companion device with the test result of test failure from the test group and generate a corresponding test report based on the test result.
7. A wireless access point testing device, characterized in that, The device includes: The determination module is used to select first companion devices that match the test requirements of the device under test from the searched companion devices, and form a first companion device set; based on the parameter information corresponding to each first companion device in the first companion device set, select second companion devices and form a second companion device set, wherein each second companion device in the second companion device set is a first companion device of different frequency bands and / or different channels; and combine the device under test and the second companion device set to form a test group; The generation module is used to obtain the grouping information corresponding to the test group and generate test instructions based on the grouping information; The sending module is used to send the test command to the test group to control the device under test in the test group to establish a connection with each of the auxiliary test devices in the test group and to perform the test.
8. A wireless access point testing device, characterized in that, The device includes: a memory, a processor, and a wireless access point test program stored in the memory and executable on the processor, the wireless access point test program being configured to implement the steps of the wireless access point test method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a wireless access point test program, which, when executed by a processor, implements the steps of the wireless access point test method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Wireless product time-division and frequency-division test method and system
CN113608109A