Interference avoidance test method and device based on wifi device
An automated interference avoidance test method for WiFi devices addresses inefficiencies in existing methods by determining test parameters, establishing connections, and evaluating reaction parameters to accurately assess compliance with interference standards, enhancing test reliability and efficiency.
Patent Information
- Application Number
- CN202411149916.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-27
AI Technical Summary
Existing interference avoidance testing methods for WiFi devices suffer from low efficiency and accuracy due to manual setup and limited sampling rates of spectrum analyzers, leading to potential operational errors and inaccurate test results.
An automated interference avoidance test method and device that determines test case parameters based on device specifications, establishes a communication connection, generates and sends targeted interference signals, and evaluates test reaction parameters to assess compliance with preset standards, simulating real-world interference scenarios.
Ensures accurate and efficient evaluation of WiFi devices' interference avoidance capabilities by simulating real-world interference, improving test reliability and efficiency through automated parameter determination and comprehensive performance assessment.
Smart Images

Figure CN119211983A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an interference avoidance test method and device based on wifi equipment. Background Art
[0002] Interference avoidance testing is one of the key indicators for evaluating the performance of WiFi products, especially as WiFi devices become increasingly popular. They play an important role in both office and living environments.
[0003] In order to ensure the effective use of radio wave resources and prevent signal interference, relevant domestic regulations have set strict technical standards for the interference avoidance capabilities of wifi products. In the actual test process of interference avoidance, it is generally necessary to manually set up the network environment and use a spectrum analyzer to collect and analyze the signal. However, due to the low sampling rate and number of samples of the spectrum analyzer, this often leads to limited test efficiency and accuracy, and also increases the risk of affecting the accuracy of the test results due to operational errors. Summary of the invention
[0004] An object of an embodiment of the present invention is to provide an interference avoidance test method and apparatus based on a wifi device, which is used to solve the technical problem of being unable to accurately evaluate whether a wifi device meets the interference avoidance performance.
[0005] In a first aspect, an embodiment of the present invention provides an interference avoidance test method based on a wifi device, which is applied to a terminal device in a test system, wherein the test system also includes a device to be tested, and the method includes:
[0006] Determine test case parameters according to product specification parameters of the device under test;
[0007] Establishing a communication connection between the device under test and a networking device according to the test case parameters;
[0008] Obtain target interference signals that meet test requirements;
[0009] Sending the target interference signal to the device under test in the service transmission mode, obtaining a test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device;
[0010] A test result of the device under test is obtained according to the test response parameter, where the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0011] In combination with the first aspect, in a possible implementation method, obtaining the test result of the device under test based on the test reaction parameters includes: obtaining multiple test reaction parameters arranged in a time sequence within a preset test period; obtaining a test reaction parameter list based on the multiple test reaction parameters arranged in the time sequence; determining target test reaction parameters based on the test reaction parameter list; obtaining the test result of the device under test based on the target test reaction parameters, the test result being whether the response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0012] In combination with the first aspect, in a possible implementation method, determining the target test reaction parameter based on the test reaction parameter list includes: obtaining the duration segment corresponding to each test reaction parameter in the test reaction parameter list; screening to obtain the target duration segment, the target duration segment being the longest duration segment among the duration segments corresponding to each test reaction parameter; and obtaining the test reaction parameter corresponding to the target duration segment as the target test reaction parameter.
[0013] In combination with the first aspect, in a possible implementation method, obtaining the test result of the device under test based on the target test reaction parameters includes: obtaining multiple performance parameters corresponding to the target test reaction parameters; comparing the multiple performance parameters with the preset interference avoidance standards in turn to obtain multiple comparison results; when the multiple comparison results all meet the preset interference avoidance standards, determining that the test result of the device under test is compliant; or, when any one of the multiple comparison results does not meet the preset interference avoidance standards, determining that the test result of the device under test is non-compliant.
[0014] In combination with the first aspect, in a possible implementation method, establishing a communication connection between the device under test and the networking device based on the test case parameters includes: sending the test case parameters to the device under test so that the device under test is configured according to the test case parameters; receiving a configuration completion instruction sent by the device under test, and starting wifi to establish a communication connection between the device under test and the networking device.
[0015] In combination with the first aspect, in a possible implementation, the test system also includes a spectrum analyzer. After receiving the configuration completion instruction sent by the device under test and starting wifi to establish a communication connection between the device under test and the networking device, the method also includes: calling preset data to the device under test to put the device under test in a service transmission mode, and the service transmission mode is that the device under test sends the preset data to the networking device; configuring the spectrum analyzer according to preset sweep frequency analysis parameters to obtain a configured spectrum analyzer; using the configured spectrum analyzer, collecting data from the device under test in the service transmission mode to obtain a first test reaction parameter; and judging whether the device under test and the networking device are eligible for interference avoidance testing based on the first test reaction parameter.
[0016] In combination with the first aspect, in a possible implementation, the test system also includes a signal generator and a spectrum analyzer, and obtaining the target interference signal that meets the test requirements includes: configuring the signal generator according to the test case parameters to obtain the configured target signal generator, and the signal generator is used to generate and send an interference signal; obtaining first bandwidth data and first signal strength data sent by the spectrum analyzer, and the first bandwidth data and the first signal strength data are obtained by the spectrum analyzer collecting the first interference signal sent by the target signal generator; determining whether the first bandwidth data and the first signal strength data meet the preset requirements at the same time; if they meet the preset requirements at the same time, determining that the first interference signal is the target interference signal; or, if they do not meet the preset requirements at the same time, updating the first interference signal.
[0017] In a second aspect, an embodiment of the present invention provides an interference avoidance test device based on a wifi device, which is applied to a terminal device in a test system, wherein the test system also includes a device to be tested, and the device includes:
[0018] A determination unit, used to determine test case parameters according to product specification parameters of the device under test;
[0019] An establishing unit, used to establish a communication connection between the device under test and a networking device according to the test case parameters;
[0020] An acquisition unit, used for acquiring a target interference signal that meets the test requirements;
[0021] The acquisition unit is further used to send the target interference signal to the device under test in the service transmission mode, and obtain the test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device;
[0022] The determination unit is further configured to obtain a test result of the device under test according to the test response parameter, wherein the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0023] In a third aspect, an embodiment of the present invention provides a computer device, including:
[0024] at least one processor; and,
[0025] a memory communicatively connected to the at least one processor; wherein,
[0026] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to the first aspect.
[0027] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method as described in the first aspect.
[0028] In the scheme implemented by the interference avoidance test method, device, equipment and storage medium based on the above-mentioned wifi device, this method can ensure the pertinence and effectiveness of the test by determining the test case parameters based on the product specification parameters of the device under test, and further by establishing a communication connection between the device under test and the networking device, and sending a target interference signal to the device under test in the service transmission mode, it can highly simulate the interference scenario in the real environment; further, by obtaining and analyzing the test reaction parameters under the influence of the target interference signal, it can comprehensively evaluate the response performance of the device under test when facing specific interference, so as to evaluate whether the device meets the preset interference avoidance standards and improve the test efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0030] Figure 1 is a schematic diagram of a test system in one embodiment of the present invention;
[0031] Figure 2 It is a flow chart of an interference avoidance test method based on a wifi device in one embodiment of the present invention;
[0032] Figure 3 It is a structural schematic diagram of an interference avoidance test device based on a wifi device in one embodiment of the present invention;
[0033] Figure 4 It is a schematic diagram of the structure of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0035] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0036] The technical solution of the present application can be applied to various wireless local area network equipment testing scenarios.
[0037] In the interference avoidance test method based on wifi devices, the terminal devices used in the test system are shown in Figure 1 , the figure is a schematic diagram of a test system provided in an embodiment of the present application, wherein the test system 10 includes a terminal device 20, a test apparatus 30, a signal generator 40, a spectrum analyzer 50, and a networking device 60, wherein when performing interference avoidance testing based on wifi devices, interference avoidance detection is performed on the device under test 70.
[0038] The test system 10 is in a state of shielding external wireless signals, which can reduce the impact of external wireless signals on the test and ensure the accuracy and reliability of the test.
[0039] Among them, the terminal device 20 is the core control unit of the test system 10, which is equipped with test software designed specifically for interference avoidance. This software is responsible for coordinating and controlling the test process to ensure the automation and intelligent execution of the test. The main function is to send instructions to other test components through automated scripts or user interfaces to configure the test process, start and stop the test, and collect and analyze the test results. That is, the test software can send instructions to the measuring equipment, including the test device 30, the signal generator 40, the spectrum analyzer 50, etc., to execute the predetermined test script.
[0040] Specifically, the terminal device 20 can collect test data, perform analysis and processing, and generate a test report to provide a quantitative evaluation of device performance.
[0041] The testing device 30 includes a radio frequency switch unit and a data acquisition unit.
[0042] Specifically, the RF switch unit is used to switch the measurement channel to provide a test environment to build and change the test environment to meet different test requirements. The data acquisition unit is used to collect and measure signals. The data acquisition unit includes: the first unit: the data acquisition chip is used for data collection and is controlled by FPGA; the second unit: the FPGA mainly completes the collection data reception, buffering, storage and calculation, and control logic processing; the third unit: the USB control chip is used for data communication connected to the computer to facilitate data transmission and analysis.
[0043] The signal generator 40 is used to support the analog signal channel and the vector signal channel, and is used to provide the interference signal required for the test. The interference signal is used to simulate the interference that may be encountered in the actual environment to test the interference avoidance capability of the device under test 70.
[0044] The spectrum analyzer 50 is used to analyze the characteristics of the interference signal, such as frequency, bandwidth, power, etc., to ensure that the interference signal generated by the signal generator 40 meets the test requirements.
[0045] The networking device 60 is used to establish a communication connection with the device under test 70 to simulate the networking situation in an actual network environment.
[0046] The device to be tested 70 is the subject of the test, that is, the wifi device whose interference avoidance capability needs to be evaluated. By sending an interference signal to the device and analyzing its response, its interference avoidance capability is evaluated.
[0047] In view of this, the present application proposes an interference avoidance test method based on a wifi device to solve the above problem, which is described in detail below.
[0048] See also Figure 2 , Figure 2A flowchart of an interference avoidance test method based on a wifi device provided in an embodiment of the present invention, the method comprises the following steps:
[0049] S10: Determine test case parameters according to product specification parameters of the device under test.
[0050] Among them, the above-mentioned product specification parameters refer to the technical characteristics of the device under test, which directly affect the design of test cases.
[0051] Among them, product specification parameters can be the frequency range supported by the device (2.4Hz and 5GHz), active device and slave device, etc., which are not limited here. Active devices (usually access points AP or routers) are responsible for establishing and maintaining networks, while slave devices (such as smartphones, laptops, etc.) are clients connected to these networks.
[0052] When determining the test case parameters, it is necessary to consider the performance of the device under test on these two frequency bands. The test case parameters will include various tests performed on these frequency bands, such as signal strength, interference tolerance, data transmission rate, etc. If the device under test is an active device, the test may focus on its signal transmission capability and network management function; if it is a passive device, the test may focus on its signal reception capability and network responsiveness.
[0053] Among them, the test case parameters may include but are not limited to frequency scanning range, signal modulation mode, bandwidth, signal transmission power, connection management, network configuration, signal reception sensitivity, roaming capability, network response time, etc.
[0054] It can be seen that in this embodiment, the test case parameters are determined by the product specification parameters of the device under test, which can ensure that the test process can accurately cover various interference situations faced by the device under test in actual applications, thereby improving the reliability of the test.
[0055] S20: Establish a communication connection between the device under test and a networking device according to the test case parameters.
[0056] The test case parameters may also include specific communication protocol settings or advanced network configurations, such as setting specific QoS parameters to evaluate the performance of the device under test under different network load conditions.
[0057] Among them, the process of establishing a communication connection may include steps such as scanning, authentication, association and key exchange of the Wi-Fi network.
[0058] For example, in the test system, the test device sends the test case parameters to the device under test through the wired network; the device under test adjusts its wireless network settings according to the use case parameters, for example, setting the correct SSID (service set identifier), security key, channel and signal power; after the device under test completes the configuration, it sends a "configuration completed" signal to the test system; after receiving this signal, the test device instructs the device under test to start the wifi module and start trying to establish a connection with the networking device; the networking device has been pre-configured in test mode, it will accept the connection request from the device under test and establish a communication connection. Once the connection is established, the test system can start the interference avoidance test.
[0059] In one embodiment, establishing a communication connection between the device under test and the networking device according to the test case parameters includes: sending the test case parameters to the device under test so that the device under test is configured according to the test case parameters; receiving a configuration completion instruction sent by the device under test, and starting wifi to establish a communication connection between the device under test and the networking device.
[0060] The test case parameters can be sent via a wired connection (such as Ethernet) or a wireless connection (such as Bluetooth). In the case of a wireless connection, a temporary wired connection is required to initialize the configuration.
[0061] The terminal device sends the test case parameters to the device under test. The test case parameters may include but are not limited to the target frequency (2.4GHz or 5GHz), the specified channel, the interference type and strength, etc. The purpose of the test case parameters is to enable the device under test to be configured accordingly according to the test requirements, such as switching to the specified frequency and channel.
[0062] After receiving the test case parameters, the device under test will perform internal configuration based on the parameters. For example, it may adjust its wireless interface to match a specific frequency range, set the correct signal modulation method, or configure its network stack to support a specific security protocol. The configuration process may involve firmware settings, hardware adjustments, or changes in software parameters.
[0063] The configuration completion instruction may be a confirmation message (eg, configuration completed), or may include detailed information about the configuration status for verification by the test system.
[0064] After receiving the configuration completion instruction, the terminal device will instruct the device under test to start its wifi module. At the same time, the test system will also start the wifi module of the networking device to establish a communication connection with the device under test.
[0065] It can be seen that this embodiment verifies whether the device under test can correctly configure itself according to the specified parameters, and further tests whether a stable communication connection can be successfully established and maintained between the device under test and the networking device under specific test conditions.
[0066] S30, obtaining a target interference signal that meets the test requirements.
[0067] Among them, meeting the preset requirements in the test requirements may include test requirements for the bandwidth and signal strength of the interference signal.
[0068] Specifically, the test requirements for bandwidth are as follows: For wifi 2.4GHz, the 99% bandwidth of the target interference signal should be within the range of 120% to 200% of the channel bandwidth occupied by the device under test, with a minimum bandwidth of 5MHz, and the maximum value between the lowest and highest levels within the channel bandwidth occupied by the device under test should be 4dB. Alternatively, for wifi 5GHz, the 99% bandwidth of the target interference signal should be within the range of 80% to 100% of the nominal channel bandwidth of the device under test. To ensure the flatness of the interference signal, the 4dB bandwidth of the signal (ignoring the DC notch at the center frequency) should at least cover the range of 80% to 100% of the 99% bandwidth of the interference signal.
[0069] Specifically, the test requirement for the signal strength may be to exceed a preset signal strength, and the preset signal strength may be manually set, which is not the only limitation here.
[0070] The target interference signal is an artificial or simulated wireless signal, which is used to interfere with the normal communication of the device under test at a specific frequency, bandwidth, power and modulation mode. The frequency of the target interference signal is usually the same or close to the operating frequency of the device under test so that it can effectively interfere with its communication. The modulation method of the interference signal should be similar to the modulation type that the device under test may encounter, such as ASK, FSK, QAM, etc. The duration of the interference signal can be set according to the test requirements, which can be continuous or intermittent.
[0071] For example, the terminal device configures the signal generator according to the test case parameters to generate an interference signal of a specific frequency and power. The spectrum analyzer then collects this signal and provides bandwidth data and signal strength data. The terminal device compares the above data with the preset test standard. If the bandwidth data of the interference signal generated by the signal generator is within the 2.4GHz frequency band and the signal strength reaches -70dBm, it is considered to meet the test requirements. If the signal does not meet the requirements, the terminal device will adjust the configuration of the signal generator, such as increasing or decreasing the power, and then send the interference signal again and re-collect the data until an interference signal that meets the preset requirements is found.
[0072] In one embodiment, the test system also includes a signal generator and a spectrum analyzer, and obtaining a target interference signal that meets the test requirements includes: configuring the signal generator according to the test case parameters to obtain a configured target signal generator, wherein the signal generator is used to generate and send an interference signal; obtaining first bandwidth data and first signal strength data sent by the spectrum analyzer, wherein the first bandwidth data and the first signal strength data are obtained by collecting the first interference signal sent by the target signal generator by the spectrum analyzer; determining whether the first bandwidth data and the first signal strength data meet preset requirements at the same time; if they meet the preset requirements at the same time, determining that the first interference signal is a target interference signal; or, if they do not meet the preset requirements at the same time, updating the first interference signal.
[0073] Among them, according to the parameters of the test case (such as the frequency, signal type, strength, etc. of the interference signal), the signal generator 40 is configured, and the configured signal generator can generate the required interference signal. The configuration of the signal generator may include simulating interference conditions in various real environments, such as interference from other wireless networks, electromagnetic interference generated by household appliances, etc. These interference signals are intended to simulate interference scenarios that the device under test may encounter in actual applications.
[0074] Among them, when the signal generator starts to send an interference signal, the spectrum analyzer will collect the interference signal and obtain relevant data information, such as the bandwidth (first bandwidth data) and signal strength (first signal strength data) of the interference signal. The spectrum analyzer can monitor and evaluate, not only can it capture the characteristics of the interference signal generated by the signal generator in real time, but also can help testers understand whether the current interference signal matches the set test case parameters by analyzing the properties of the interference signal.
[0075] The first bandwidth data reflects the frequency range of the interference signal, and the first signal strength data represents the power level of the interference signal.
[0076] Among them, the preset requirements are consistent with those described in the above S30 and are not repeated here.
[0077] If it is found that the bandwidth or signal strength of the interference signal does not meet any preset parameters, the test system will instruct the signal generator to adjust the generation parameters of the current interference signal. This may include adjusting the frequency of the signal, changing the type of signal, adjusting the strength of the signal, etc., to ensure that the generated interference signal can accurately simulate the predetermined interference scenario.
[0078] It should be noted that the interference signals corresponding to 2.4 GHz and 5 GHz are different, and there may be multiple interference signals. In this embodiment, different interference signals need to be obtained in each frequency band, such as LTE / OFDM interference signals need to be obtained in 5 GHz.
[0079] It can be seen that in this embodiment, it is possible to ensure that the generated interference signals strictly meet the requirements of the test case, thereby ensuring the accuracy and reliability of the test.
[0080] S40. Send the target interference signal to the device under test in the service transmission mode, and obtain a test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device.
[0081] The service transmission mode refers to the state of the device under test when performing actual communication operations, such as sending data to a networking device. The service transmission mode simulates the actual data transmission scenario of the device under test.
[0082] In the preset test period, the test device is used to continuously monitor the performance of the device under test and record its test reaction parameters. The test reaction parameters are the changes in the performance indicators of the device under test after being interfered by the target interference signal.
[0083] The preset test period refers to a specific period of time designed by the test system, during which interference testing is performed and data is collected.
[0084] The test response parameters may include but are not limited to signal strength, data transmission rate, bit error rate, response time, short control signal information, etc.
[0085] Among them, the test response parameters are key indicators for evaluating the interference avoidance capability of the device under test, and can reflect the stability and reliability of the device under test when subjected to interference.
[0086] It can be seen that in this embodiment, by sending the target interference signal and collecting the test response parameters of the device under test, the performance of the device under test when affected by the target interference signal can be comprehensively evaluated.
[0087] S50. Obtain a test result of the device under test according to the test response parameter, wherein the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0088] The collected test response parameters will be analyzed. The purpose of the analysis is to evaluate the performance of the device under interference conditions. The analysis may include comparing parameter changes before and after the test, identifying the degree of performance degradation, and determining the specific impact of interference on communication quality.
[0089] Among them, the preset interference avoidance standard is a set of pre-defined performance indicators, which reflect the minimum performance requirements that the device under test should achieve in an interference environment. The test results will be compared with these standards. The preset standards may include but are not limited to the following: Maximum allowable signal strength drop: After the device under test is interfered, the signal strength drop should not exceed the preset threshold; Minimum data transmission rate: After the device under test is interfered, the data transmission rate should not be lower than the preset minimum rate; Maximum bit error rate: After the device under test is interfered, the bit error rate should not exceed the preset maximum value; Connection stability: After the device under test is interfered, the connection with the networking device should not be frequently interrupted; Maximum response time: After the device under test is interfered, the time to re-establish the connection should not exceed the preset maximum response time.
[0090] If all the test response parameters of the device under test meet or exceed the preset interference avoidance standards, the test result is "passed". If any one or more test response parameters do not meet the preset standards, the test result is "failed".
[0091] Specifically, a "pass" test result indicates that the device under test has good interference avoidance capabilities and can maintain stable communication performance in an interference environment. A "fail" test result indicates that there are performance issues with the device under test in an interference environment and further optimization design or configuration adjustment may be required.
[0092] It can be seen that in this embodiment, the response capability of the device under test to the target interference signal can be objectively evaluated, and whether it meets the preset interference avoidance standard can be determined.
[0093] This method can ensure the pertinence and effectiveness of the test by determining the test case parameters based on the product specification parameters of the device under test, and can highly simulate the interference scenario in the real environment by further establishing a communication connection between the device under test and the networking device and sending the target interference signal to the device under test in the service transmission mode; further, by obtaining and analyzing the test reaction parameters under the influence of the target interference signal, the response performance of the device under test when facing specific interference can be comprehensively evaluated, so as to evaluate whether the device meets the preset interference avoidance standard and improve the test efficiency and accuracy.
[0094] In one embodiment, obtaining the test result of the device under test based on the test reaction parameters includes: acquiring multiple test reaction parameters arranged in a time sequence within a preset test period; obtaining a test reaction parameter list based on the multiple test reaction parameters arranged in the time sequence; determining target test reaction parameters based on the test reaction parameter list; obtaining the test result of the device under test based on the target test reaction parameters, the test result being whether the response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0095] The test response parameter may be short control signal information. Short control signal information refers to a signal sent by the test system to the device under test during the test to control its behavior and state. Short control signal information can be used to adjust the parameter settings of the device under test, change its working mode, or trigger specific test behaviors.
[0096] Among them, during the preset test period, various test response parameters of the device under test are continuously collected, and the parameters are arranged in chronological order to form a time series list.
[0097] The preset test period may be manually set, and is not limited here. For example, the preset test period may be 60 seconds.
[0098] The test reaction parameter list may include the measurement time, measurement value and related measurement conditions of each parameter.
[0099] The target test response parameters are parameters used to evaluate the performance and interference avoidance capability of the device under test.
[0100] The target test reaction parameter is compared with the preset interference avoidance standard. If the measured value of the target test reaction parameter meets the preset standard, the test result of the device under test is "passed". If the measured value of any target test reaction parameter does not meet the preset standard, the test result of the device under test is "failed".
[0101] It can be seen that this embodiment adopts a standardized test process and preset standards to ensure the consistency and comparability of the test results. Further, the processing method of the test reaction parameters based on the time sequence arrangement can effectively evaluate the interference avoidance capability of the device under test and ensure its stability and reliability in actual use.
[0102] In one embodiment, determining the target test reaction parameter based on the test reaction parameter list includes: obtaining the duration segment corresponding to each test reaction parameter in the test reaction parameter list; screening to obtain the target duration segment, the target duration segment being the longest duration segment among the duration segments corresponding to each test reaction parameter; and obtaining the test reaction parameter corresponding to the target duration segment as the target test reaction parameter.
[0103] When the test reaction parameter list is established, each test reaction parameter will be recorded with its corresponding duration period, which refers to the time span from the start of measurement to the end of measurement of the test reaction parameter.
[0104] Among them, the duration period corresponding to each test reaction parameter is screened out from the test reaction parameter list, and then the longest one among these duration periods is found out, and this longest duration period is the target duration period; after the target duration period is determined, the test reaction parameter corresponding to this target duration period is found out from the test reaction parameter list.
[0105] Among them, the target test reaction parameter is the response performance of the device under test to the target interference signal within the target duration period, which reflects the response ability of the device under test to the interference signal within the target duration period and is a key indicator for evaluating the interference avoidance capability of the device under test.
[0106] It can be seen that in this embodiment, it is possible to determine whether the response of the device under test to the target interference signal within the target duration period meets the preset interference avoidance standard, thereby evaluating the interference avoidance capability of the device under test.
[0107] In one embodiment, obtaining the test result of the device under test based on the target test reaction parameter includes: obtaining multiple performance parameters corresponding to the target test reaction parameter and comparing the multiple performance parameters with the preset interference avoidance standard in turn to obtain multiple comparison results; when the multiple comparison results all meet the preset interference avoidance standard, determining that the test result of the device under test is compliant; or, when any one of the multiple comparison results does not meet the preset interference avoidance standard, determining that the test result of the device under test is non-compliant.
[0108] Among them, multiple performance parameters may include but are not limited to signal strength, data transmission rate, bit error rate, connection stability, response time, etc.
[0109] The obtained multiple performance parameters are compared with the preset interference avoidance standards in turn, and the purpose of the comparison is to evaluate whether these performance parameters meet the preset interference avoidance standards.
[0110] If the comparison results of all performance parameters are "compliant", the test result of the device under test is "compliant with the preset interference avoidance standard". If the comparison result of any performance parameter is "non-compliant", the test result of the device under test is "non-compliant with the preset interference avoidance standard".
[0111] It can be seen that in this embodiment, it is possible to determine whether the response of the device under test to the target interference signal meets the preset interference avoidance standard through the performance parameters, thereby improving the accuracy and reliability of the method.
[0112] In one embodiment, the test system also includes a spectrum analyzer. After receiving a configuration completion instruction sent by the device under test and starting wifi to establish a communication connection between the device under test and a networking device, the method also includes: calling preset data to the device under test so that the device under test is in a service transmission mode, and the service transmission mode is that the device under test sends the preset data to the networking device; configuring the spectrum analyzer according to preset sweep frequency analysis parameters to obtain a configured spectrum analyzer; using the configured spectrum analyzer, collecting data from the device under test in the service transmission mode to obtain a first test response parameter; and judging whether the device under test and the networking device are eligible for interference avoidance testing according to the first test response parameter.
[0113] Among them, the preset data can be selected according to the actual application scenario of the device under test, such as high-definition video streaming, large file downloading or online game data streaming, so as to ensure that the test covers the typical usage of the device. The preset data may be a specific file, data packet or other form of signal. The purpose is to make the device under test enter the business transmission mode. There is no sole limitation here.
[0114] Among them, in this service transmission mode, the device under test will transmit data as in the actual network environment, providing a real environment for testing its interference avoidance capability.
[0115] The preset frequency sweep analysis parameters may include the frequency range, resolution bandwidth, sweep time, etc. of the sweep. No limitation is made here. For example, the preset frequency sweep analysis parameters may be as shown in Table 1:
[0116]
[0117] The data collection includes monitoring the signal sent by the device under test and any possible interference signal, so as to obtain the first test reaction parameter.
[0118] The first test response parameter may include but is not limited to service transmission duty cycle measurement, maximum channel occupancy time and minimum idle time measurement, etc.
[0119] Specifically, the service transmission duty cycle measurement refers to the proportion of the time that the device under test uses to transmit service data to the total time within a specific period of time. The duty cycle can reflect the frequency of use and communication activity of the device. The maximum channel occupancy time refers to the maximum time that the device under test occupies the wireless channel in a single transmission cycle. The minimum idle time measurement refers to the shortest time that the wireless channel is idle during the service transmission cycle.
[0120] Among them, in judging whether the device under test and the networking device meet the requirements of the interference avoidance test according to the first test reaction parameter, before the test starts, the thresholds of various test reaction parameters need to be set according to the relevant standards and the specific requirements of the device under test. The specific setting is not limited and can be made according to the device model or requirements of the device under test. The collected first test reaction parameter is further compared with the thresholds of various test reaction parameters.
[0121] For example, the service transmission duty cycle may need to be kept below a certain percentage, the maximum channel occupancy time may not exceed a certain time limit, and the minimum idle time may need to be higher than a certain time value.
[0122] For example, if the actual value of the service transmission duty cycle is lower than the preset threshold, the duty cycle is considered to meet the requirements. If the actual value of the maximum channel occupancy time does not exceed the preset threshold, the channel occupancy time is considered to meet the requirements. If the actual value of the minimum idle time is higher than the preset threshold, the idle time is considered to meet the requirements.
[0123] Among them, all the first test reaction parameters need to meet the threshold requirements of each test reaction parameter before the device under test and the networking equipment can be considered to meet the conditions for interference avoidance testing. If any parameter does not meet the threshold requirement, the test system may need to adjust the configuration of the device under test or retest until all parameters meet the requirements.
[0124] It can be seen that this embodiment can ensure that before starting the interference avoidance test, the device under test and the networking device are in the correct state, and the spectrum analyzer has been correctly configured and can accurately collect and analyze data, which helps to ensure the accuracy and reliability of the test results.
[0125] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0126] As another aspect of the embodiment of the present application, the embodiment of the present application provides an interference avoidance test device based on a wifi device. The interference avoidance test device based on a wifi device can be a software module, and the software module includes a number of instructions stored in a memory, and the processor can access the memory and call the instructions for execution to complete the interference avoidance test method based on a wifi device described in the above-mentioned various embodiments.
[0127] See also Figure 3 , Figure 3 Schematic diagram of the structure of an interference avoidance test device based on a wifi device provided in an embodiment of the present application. Figure 3 As shown, a terminal device is applied to a test system, and the test system also includes a device to be tested. The interference avoidance test device 300 based on a wifi device includes:
[0128] The determination unit 301 is used to determine the test case parameters according to the product specification parameters of the device under test;
[0129] An establishing unit 302 is used to establish a communication connection between the device under test and a networking device according to the test case parameters;
[0130] An acquisition unit 303 is used to acquire a target interference signal that meets the test requirements;
[0131] The acquisition unit 303 is further configured to send the target interference signal to the device under test in the service transmission mode, and acquire a test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device;
[0132] The determination unit 301 is further configured to obtain a test result of the device under test according to the test response parameter, wherein the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
[0133] This method can ensure the pertinence and effectiveness of the test by determining the test case parameters based on the product specification parameters of the device under test, and can highly simulate the interference scenario in the real environment by further establishing a communication connection between the device under test and the networking device and sending the target interference signal to the device under test in the service transmission mode; further, by obtaining and analyzing the test reaction parameters under the influence of the target interference signal, the response performance of the device under test when facing specific interference can be comprehensively evaluated, so as to evaluate whether the device meets the preset interference avoidance standard and improve the test efficiency and accuracy.
[0134] In one embodiment, in obtaining the test result of the device under test according to the test reaction parameters, the determination unit 301 is also used to: obtain multiple test reaction parameters arranged in a time sequence within a preset test period; obtain a test reaction parameter list according to the multiple test reaction parameters arranged in the time sequence; determine the target test reaction parameters according to the test reaction parameter list; obtain the test result of the device under test according to the target test reaction parameters, and the test result is whether the response of the device under test to the target interference signal meets the preset interference avoidance standard.
[0135] In one embodiment, in determining the target test reaction parameter according to the test reaction parameter list, the determination unit 301 is further used to: obtain the duration segment corresponding to each test reaction parameter in the test reaction parameter list; filter to obtain the target duration segment, the target duration segment being the longest duration segment among the duration segments corresponding to each test reaction parameter; and obtain the test reaction parameter corresponding to the target duration segment as the target test reaction parameter.
[0136] In one embodiment, in obtaining the test result of the device under test according to the target test reaction parameter, the determination unit 301 is also used to: obtain multiple performance parameters corresponding to the target test reaction parameter; compare the multiple performance parameters with the preset interference avoidance standard in turn to obtain multiple comparison results; when the multiple comparison results all meet the preset interference avoidance standard, the test result of the device under test is determined to be compliant; or, when any one of the multiple comparison results does not meet the preset interference avoidance standard, the test result of the device under test is determined to be non-compliant.
[0137] In one embodiment, in establishing the communication connection between the device under test and the networking device according to the test case parameters, the establishing unit 302 is also used to: send the test case parameters to the device under test so that the device under test is configured according to the test case parameters; receive a configuration completion instruction sent by the device under test, and start wifi to establish a communication connection between the device under test and the networking device.
[0138] In one embodiment, the test system also includes a spectrum analyzer. After receiving a configuration completion instruction sent by the device under test and starting wifi to establish a communication connection between the device under test and a networking device, the determination unit 301 is also used to: call preset data to the device under test so that the device under test is in a service transmission mode, and the service transmission mode is that the device under test sends the preset data to the networking device; configure the spectrum analyzer according to preset sweep frequency analysis parameters to obtain a configured spectrum analyzer; use the configured spectrum analyzer to collect data from the device under test in the service transmission mode to obtain a first test response parameter; and determine whether the device under test and the networking device are eligible for interference avoidance testing based on the first test response parameter.
[0139] In one embodiment, the test system also includes a signal generator and a spectrum analyzer. In the acquisition of the target interference signal that meets the test requirements, the acquisition unit 303 is also used to: configure the signal generator according to the test case parameters to obtain the configured target signal generator, and the signal generator is used to generate and send an interference signal; obtain first bandwidth data and first signal strength data sent by the spectrum analyzer, and the first bandwidth data and the first signal strength data are obtained by the spectrum analyzer collecting the first interference signal sent by the target signal generator; determine whether the first bandwidth data and the first signal strength data meet the preset requirements at the same time; if they meet the preset requirements at the same time, determine that the first interference signal is the target interference signal; or, if they do not meet the preset requirements at the same time, update the first interference signal.
[0140] It should be noted that the above-mentioned interference avoidance test device based on wifi device can execute the interference avoidance test method based on wifi device provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the embodiment of the interference avoidance test device based on wifi device, please refer to the interference avoidance test method based on wifi device provided in the embodiment of the present application.
[0141] See also Figure 4 , Figure 4 4 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device includes one or more processors 41 and a memory 42. The memory 42 is connected to the one or more processors 41, for example, connected to the processor 41 via a bus.
[0142] The processor 41 is configured to support the computer device to perform the corresponding functions in the method in the above method embodiment. The processor 41 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0143] The memory 42 is used to store program codes, etc. The memory 42 may include a volatile memory (VM), such as a random access memory (RAM); the memory 42 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 42 may also include a combination of the above-mentioned types of memories.
[0144] The memory 42 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the interference avoidance test method based on wifi devices in the embodiment of the present application. The processor 41 executes various functional applications and data processing of the interference avoidance test method based on wifi devices and the interference avoidance test device based on wifi devices by running the non-volatile software programs, instructions and modules stored in the memory 42, that is, to realize the functions of the various modules or units of the interference avoidance test method based on wifi devices and the interference avoidance test device based on wifi devices provided in the above method embodiment.
[0145] The memory 42 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. The data storage area may store data created based on the use of the interference avoidance test device based on a wifi device, etc. In some embodiments, the memory 42 may optionally include a memory 42 remotely arranged relative to the processor 41, and these remote memories 42 may be connected to the interference avoidance test device based on a wifi device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0146] The one or more modules are stored in the memory 42, and when executed by the one or more processors 41, the interference avoidance test method based on wifi devices in any of the above method embodiments is executed, for example, the method steps described in the above method embodiments are executed to realize the functions of the modules described in the above device embodiments.
[0147] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0148] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0149] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. An interference avoidance test method based on wifi equipment, characterized in that: A terminal device applied to a test system, wherein the test system further comprises a device to be tested, and the method comprises: Determine test case parameters according to product specification parameters of the device under test; Establishing a communication connection between the device under test and a networking device according to the test case parameters; Obtain target interference signals that meet test requirements; Sending the target interference signal to the device under test in the service transmission mode, obtaining a test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device; A test result of the device under test is obtained according to the test response parameter, where the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
2. The method according to claim 1, characterized in that The step of obtaining a test result of the device under test according to the test reaction parameter comprises: Acquire multiple test reaction parameters arranged in time sequence within a preset test period; Obtaining a test reaction parameter list according to the plurality of test reaction parameters arranged in the time sequence; Determining target test reaction parameters according to the test reaction parameter list; A test result of the device under test is obtained according to the target test response parameter, where the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
3. The method according to claim 2, characterized in that Determining target test reaction parameters according to the test reaction parameter list includes: Obtain the duration period corresponding to each test reaction parameter in the test reaction parameter list; Screening to obtain a target duration segment, wherein the target duration segment is the longest duration segment among the duration segments corresponding to each test reaction parameter; The test reaction parameter corresponding to the target duration period is obtained as the target test reaction parameter.
4. The method according to claim 2, characterized in that: The step of obtaining the test result of the device under test according to the target test reaction parameter includes: Acquire multiple performance parameters corresponding to the target test reaction parameters; Comparing the multiple performance parameters with the preset interference avoidance standards in sequence to obtain multiple comparison results; When the multiple comparison results all meet the preset interference avoidance standard, it is determined that the test result of the device under test is compliant; or, When any one of the multiple comparison results does not meet the preset interference avoidance standard, it is determined that the test result of the device under test is non-compliant.
5. The method according to claim 1, characterized in that The establishing a communication connection between the device under test and the networking device according to the test case parameters includes: Sending the test case parameters to the device under test so that the device under test is configured according to the test case parameters; After receiving the configuration completion instruction sent by the device under test, WiFi is started to establish a communication connection between the device under test and the networking device.
6. The method according to claim 1, characterized in that The test system further includes a spectrum analyzer. After receiving a configuration completion instruction sent by the device under test and starting wifi to establish a communication connection between the device under test and a networking device, the method further includes: Calling preset data to the device under test so that the device under test is in a service transmission mode, wherein the service transmission mode is that the device under test sends the preset data to the networking device; Configuring the spectrum analyzer according to preset sweep frequency analysis parameters to obtain a configured spectrum analyzer; Using the configured spectrum analyzer, collecting data from the device under test in the service transmission mode to obtain a first test response parameter; According to the first test response parameter, it is determined whether the device under test and the networking device are eligible for interference avoidance testing.
7. The method according to claim 1, characterized in that The test system also includes a signal generator and a spectrum analyzer, and the step of obtaining a target interference signal that meets the test requirements includes: configuring a signal generator according to the test case parameters to obtain a configured target signal generator, wherein the signal generator is used to generate and send an interference signal; Acquire first bandwidth data and first signal strength data sent by the spectrum analyzer, where the first bandwidth data and the first signal strength data are obtained by the spectrum analyzer collecting a first interference signal sent by the target signal generator; Determining whether the first bandwidth data and the first signal strength data simultaneously meet preset requirements; If both of the preset requirements are met, determining the first interference signal as a target interference signal; or, If the preset requirements are not met at the same time, the first interference signal is updated.
8. An interference avoidance test device based on a wifi device, applied to a terminal device in a test system, the test system also includes a device to be tested, and the device includes: A determination unit, used to determine test case parameters according to product specification parameters of the device under test; An establishing unit, used to establish a communication connection between the device under test and a networking device according to the test case parameters; An acquisition unit, used for acquiring a target interference signal that meets the test requirements; The acquisition unit is further used to send the target interference signal to the device under test in the service transmission mode, and obtain the test reaction parameter of the device under test within a preset test period, wherein the test reaction parameter is a parameter of the device under test after being interfered by the target interference signal when the device under test performs service transmission with the networking device; The determination unit is further configured to obtain a test result of the device under test according to the test response parameter, wherein the test result is whether a response of the device under test to the target interference signal meets a preset interference avoidance standard.
9. A computer device, comprising a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
Citation Information
Cited By
Multi-link load balancing test method and device, equipment and storage medium
CN119653427A
Electromagnetic interference analysis method and system for digital office equipment
CN119716272A
Intelligent site construction method and system for vehicle driving test
CN121093640A
Automatic test method for channel interference avoidance
CN122640298A
