WiFi (Wireless Fidelity) pull pitch performance test system, method and device, host and medium
By using rotating stands and movable devices to simulate different distances and angles in the WiFi performance testing system, combined with data packet capture and comparison, the problem of inaccurate WiFi performance test results in the existing technology is solved, and a more accurate performance evaluation is achieved. .
Patent Information
- Application Number
- CN202411025593.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-11
AI Technical Summary
Existing WiFi performance testing methods cannot truly reflect the distance and angle changes between the receiving end and the transmitting end, resulting in inaccurate test results.
Design a WiFi distance performance test system that controls the host to establish WiFi communication connections with the terminal under test and auxiliary terminals, uses rotating brackets and movable devices to simulate different distances and angles, captures air interface data packets and compares performance data to determine throughput Whether the quantity is up to standard.
It realizes WiFi performance testing under simulated different distances and angles, covers the impact of multipath effects and angle changes on performance, and provides more realistic client performance test results.
Smart Images

Figure CN118764904A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of terminal equipment testing, and in particular to a WiFi range performance testing system, method, device, host and medium. Background Art
[0002] With the rapid development of the electronics industry and communication technology, there are more and more smart home devices, such as mobile phones, smart speakers and smart bracelets, and people's lives are becoming more and more intelligent. With the development of science and technology and the improvement of quality of life, short-range communication products have penetrated into all walks of life. Among them, wireless fidelity (WiFi) and Bluetooth (bluetooth) have occupied half of the current short-range communication market share due to their own advantages such as low cost and low power consumption. Various Bluetooth products and WiFi products have become necessities in industry and home use.
[0003] At present, the method of testing the performance of WiFi at different distances is mainly to use a wireless test shielding box, and adjust the signal strength of the WiFi test terminal by adjusting the variable attenuator to simulate the short, medium and long distance performance test between the WiFi client and the WiFi AP. Since directly adjusting the variable attenuation value to simulate the actual communication between the WiFi client and the WiFi hotspot does not reflect the multipath effect in the actual environment, and does not simulate the impact of different angles of signal reception between the receiving end and the transmitting end on the performance, it cannot truly reflect the client performance changes with the distance from the signal transmitting end.
[0004] Therefore, it is necessary to develop a new test system to improve the above problems existing in the prior art. Summary of the invention
[0005] The purpose of the present invention is to provide a WiFi pulling distance performance test system, method, device, host and medium, so as to improve the traditional test environment which cannot truly reflect the distance and angle changes between the receiving end and the transmitting end.
[0006] In a first aspect, an embodiment of the present invention provides a WiFi distance performance testing system, the system comprising:
[0007] A control host, a WiFi hotspot device, an auxiliary terminal and a terminal under test; wherein the terminal under test and the auxiliary terminal are respectively fixed on a movable device through a rotating bracket, and both the terminal under test and the auxiliary terminal pre-establish a WiFi communication connection with the control host;
[0008] The control host is used to control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, and to control the movable device to move to different positions in turn, and to control the rotating bracket to rotate to different angles in turn. The control host is also used to send control commands to the terminal under test and the auxiliary terminal;
[0009] The auxiliary terminal is used to receive the control command and communicate with the terminal under test according to the control command;
[0010] The terminal under test is used to receive the control command and communicate with the auxiliary terminal according to the control command;
[0011] The control host is also used to capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and to capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; the performance data of the terminal under test and the performance data of the auxiliary terminal are compared, and whether the throughput of the terminal under test meets the standard is determined according to the comparison result.
[0012] In a possible embodiment, before the control host sends a control command to the terminal under test and the auxiliary terminal, it is also used to: test the IP addresses of the terminal under test and the auxiliary terminal respectively through the Ping command, and determine whether the terminal under test and the auxiliary terminal are successfully connected to the WiFi hotspot device according to the output result of the Ping command; or, it can be determined through the management interface of the WiFi hotspot device that the terminal under test and the auxiliary terminal are successfully connected to the WiFi hotspot device.
[0013] In another possible embodiment, after the control host determines whether the throughput of the terminal under test meets the standard based on the comparison result, it is also used to: when the throughput of the terminal under test does not meet the standard, record the error time and log information of the terminal under test, and save the captured air interface data packets and the performance data of the terminal under test and the performance data of the auxiliary terminal; when the throughput of the terminal under test meets the standard, delete the captured air interface data packets and the log information of the terminal under test.
[0014] In a second aspect, the present invention further provides a WiFi distance performance test method, which is applied to a control host, wherein the control host pre-establishes a communication connection with a terminal under test, an auxiliary terminal, and a WiFi hotspot device, including:
[0015] Control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, control the movable device to move to different positions in succession, and control the rotating bracket to rotate to different angles in succession, and send control commands to the terminal under test and the auxiliary terminal;
[0016] Capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; compare the performance data of the terminal under test with the performance data of the auxiliary terminal, and determine whether the throughput of the terminal under test meets the standard according to the comparison result.
[0017] In a possible embodiment, before sending the control command to the terminal under test and the auxiliary terminal, it is also used to: respectively test the IP addresses of the terminal under test and the auxiliary terminal through a Ping command, and determine whether the terminal under test and the auxiliary terminal are successfully connected to the WiFi hotspot device according to the output result of the Ping command;
[0018] Alternatively, it can be determined through the management interface of the WiFi hotspot device that the tested terminal and the auxiliary terminal are successfully connected to the WiFi hotspot device.
[0019] In another possible embodiment, after determining whether the throughput of the terminal under test meets the standard based on the comparison result, it is also used to: when the throughput of the terminal under test does not meet the standard, record the error time and log information of the terminal under test, and save the captured air interface data packets and the performance data of the terminal under test and the performance data of the auxiliary terminal; when the throughput of the terminal under test meets the standard, delete the captured air interface data packets and the log information of the terminal under test.
[0020] In another possible embodiment, the performance data of the terminal under test and the performance data of the auxiliary terminal are compared, and whether the throughput of the terminal under test meets the standard is determined based on the comparison result, including: calculating the upload transmission rate and the download transmission rate of the terminal under test based on the performance data of the terminal under test, and calculating the upload transmission rate and the download transmission rate of the auxiliary terminal based on the performance data of the auxiliary terminal; judging whether the upload transmission rate and the download transmission rate of the terminal under test are consistent with the upload transmission rate and the download transmission rate of the auxiliary terminal, if they are consistent, the throughput of the terminal under test meets the standard, otherwise it does not meet the standard.
[0021] In a third aspect, an embodiment of the present invention further provides a WiFi distance performance test device, which includes a module / unit for executing any possible design method of the second aspect. These modules / units can be implemented by hardware, or by executing corresponding software implementations by hardware.
[0022] In a fourth aspect, an embodiment of the present invention provides a control host, including a processor and a memory, wherein the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the control host can implement any possible design method of the second aspect.
[0023] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a computer program, and when the computer program runs on a control host, the control host executes any possible design method of the second aspect above.
[0024] In a sixth aspect, an embodiment of the present invention further provides a computer program product, which, when executed on a control host, enables the control host to execute any possible design method of the second aspect.
[0025] The present invention provides a WiFi range performance test system, method, device, host and medium, the beneficial effects of which are: the tested terminal and the auxiliary terminal are respectively fixed on the movable device by a rotating bracket, the tested terminal and the auxiliary terminal are both pre-established with the control host for WiFi communication connection, and the control host controls the movable device to move to different positions in succession according to the distance requirements in the performance test in the WiFi range performance test, thereby adjusting the distance between the tested terminal and the auxiliary terminal and the WiFi hotspot device. Furthermore, in the WiFi range performance test, the control host adjusts the direction of the rotating bracket according to the angle requirements in the performance test, thereby adjusting the angle orientation of the auxiliary terminal and the tested terminal, and realizing the influence of different angles between the test receiving end and the signal transmitting end on the performance. The system can realize automation and can truly reflect that the client performance changes with the distance from the signal transmitting end, covering the influence of multipath effect and angle change on performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 A schematic diagram of the structure of a WiFi distance performance test system provided by an embodiment of the present invention;
[0028] Figure 2 A structural schematic diagram of another WiFi distance performance testing system provided by an embodiment of the present invention;
[0029] Figure 3 A schematic diagram of the structure of a terminal device provided in an embodiment of the present invention;
[0030] Figure 4 A schematic diagram of the interactive process of a WiFi distance performance testing method provided by an embodiment of the present invention;
[0031] Figure 5 A schematic flow chart of another WiFi distance performance testing method provided by an embodiment of the present invention;
[0032] Figure 6 A schematic diagram of a WiFi distance performance test device provided by an embodiment of the present invention;
[0033] Figure 7 A schematic diagram of a control host structure provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The technical solutions in the embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. Among them, in the description of the embodiments of the present invention, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more than two (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0035] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0036] In the embodiments of the present invention, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0037] The WiFi distance performance testing system provided in the embodiment of the present invention is as follows: Figure 1 As shown, the system includes an auxiliary terminal (auxiliary under test, AUT) 01, a terminal under test (device under test, DUT) 02, a removable device 03, a WiFi hotspot device 04 and a control host 05. Optionally, the WiFi hotspot device 04 and the control host 05 are connected to a mobile power supply 06 via a power cord.
[0038] In this system, the auxiliary terminal 01, the terminal under test 02 and the WiFi hotspot device 04 constitute a communication device group, and the devices in the communication device group can communicate with each other via WiFi. The auxiliary terminal 01 is fixed on the mobile device 03 through the rotating bracket 07-1, and the terminal under test 02 is fixed on the mobile device 03 through the rotating bracket 07-2. The mobile device 03 can be a smart car or a drone, and the rotating bracket can be a 360° rotating mobile phone bracket. In addition, both the auxiliary terminal 01 and the terminal under test 02 can enter the developer mode and can install IxChariot or iperf.
[0039] IxChariot is a testing tool for application layer performance testing. It can evaluate the performance and capacity of network applications, and obtain network throughput, latency, packet loss, and other performance conditions under different applications and parameters. IxChariot is divided into two parts, one of which can be understood as a configuration tool, and the other is a service tool responsible for statistics on packet sending and receiving.
[0040] The basic components of IxChariot include Chariot Console and Endpoint. Chariot Console can run on Windows platform. Console is the core part of the product. The control interface (command line mode is also available), test design interface, script selection and compilation, result display, report generation and API interface are all provided by the console. Endpoint can be installed on one or more terminals according to the actual test needs. It is responsible for receiving instructions from the terminal, completing the test and reporting the test data to the console.
[0041] Figure 1 In the embodiment, the control host 05 can send control commands to the auxiliary terminal 01 and the terminal under test 02 respectively. For example, the control host 05 controls the auxiliary terminal 01 and the terminal under test 02 to send and receive data using WiFi communication, or to run functions such as music applications and phone call applications.
[0042] The terminal under test 02 is used to receive the control command from the control host 05 and perform wireless communication with the auxiliary terminal 01 according to the control command.
[0043] The auxiliary terminal 01 is used to receive the control command from the control host 05 and perform wireless communication with the terminal under test 02 according to the control command.
[0044] The control host 05 is used to control the channel and bandwidth of the WiFi hotspot device 04 according to the performance test requirements, and to control the movable device 03 to move to different positions in succession, and to control the rotating brackets 07-1 and 07-2 to rotate to different angles in succession. The control host 05 is also used to send control commands to the terminal under test 02 and the auxiliary terminal 01; it is also used to capture the air interface data packets between the terminal under test 02 and the WiFi hotspot device 04 to obtain the performance data of the terminal under test 02, and to capture the air interface data packets between the auxiliary terminal 01 and the WiFi hotspot device 04 to obtain the performance data of the auxiliary terminal 01; the performance data of the terminal under test 02 is compared with the performance data of the auxiliary terminal 01, and whether the throughput of the terminal under test 02 meets the standard is determined according to the comparison result.
[0045] In a possible implementation, the above system may further include multiple communication device groups, for example, Figure 2As shown, DUT1 and AUT1 constitute a communication device group communicating via WiFi, and DUT2 and AUT2 constitute another communication device group communicating via WiFi. Different communication device groups share the same WiFi hotspot device. DUT1 and AUT1 can both be mobile phones, or one can be a vehicle-mounted terminal, etc.
[0046] Figure 2 AUTn and DUTn may be another group of communication devices communicating via WiFi.
[0047] Figure 3 The hardware configuration block diagram of the terminal 02 under test is shown.
[0048] In some embodiments, the terminal under test 02 includes at least one of a tuner and demodulator 310, a mobile communication module 320, a wireless communication module 330, a collector 340, an external device interface 350, a controller 360, a display 370, an audio output interface 380, a memory, a power supply, and a user interface.
[0049] In some other embodiments, the tuner-demodulator 310 senses electromagnetic waves through an antenna, converts the sensed electromagnetic waves into electrical signals, and then processes and transforms them into sounds through circuits, such as receiving broadcast signals wirelessly and demodulating audio signals from broadcast signals.
[0050] The mobile communication module 320 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal 02 under test. The mobile communication module 320 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 320 can receive electromagnetic waves by an antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to the tuner and demodulator 310 for demodulation. The mobile communication module 320 can also amplify the signal modulated by the tuner and demodulator 310, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module 320 may be arranged in the controller 360. In some embodiments, at least some of the functional modules of the mobile communication module 320 may be arranged in the same device as at least some of the modules of the controller 360.
[0051] The wireless communication module 330 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal 02 under test. The wireless communication module 330 can be one or more devices integrating at least one communication processing module. The wireless communication module 330 receives electromagnetic waves via an antenna, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the controller 360. The wireless communication module 330 can also receive the signal to be sent from the controller 360, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0052] In some other embodiments, the collector 340 is used to collect signals of the external environment or external interaction. For example, the collector 340 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the collector 340 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the collector 340 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0053] In some other embodiments, the external device interface 350 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0054] In some other embodiments, the controller 360 and the tuner-demodulator 310 may be located in different separate devices, that is, the tuner-demodulator 310 may also be located in an external device of the main device where the controller 360 is located, such as an external set-top box.
[0055] In some other embodiments, the controller 360 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 360 controls the overall operation of the terminal under test 02. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 370, the controller 360 can perform operations related to the object selected by the user command.
[0056] In some possible embodiments, the controller 360 includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM, ROM, a first interface to an nth interface for input / output, a communication bus, etc.
[0057] The central processing unit is used to execute the operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents. The central processing unit may include multiple processors. For example, it may include a main processor and one or more sub-processors.
[0058] In some embodiments, the graphics processor is used to generate various graphic objects, such as at least one of icons, operation menus, and user input command display graphics. The graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes; and a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.
[0059] In some embodiments, the video processor is used to receive an external video signal and perform at least one of the following video processing operations, such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis, according to the standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the test terminal 02.
[0060] In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, and a display formatting module. The demultiplexing module is used to demultiplex the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the graphical user interface signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting RGB data signals.
[0061] In some embodiments, the audio processor is used to receive an external audio signal, perform decompression and decoding according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.
[0062] In some embodiments, the user may input a user command in a graphical user interface displayed on the display 370, and the user input interface receives the user input command through the graphical user interface. Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.
[0063] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A graphical user interface refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, wherein a control may include at least one of the visual interface elements such as an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, etc.
[0064] In some embodiments, the display 370 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from a controller, display video content, image content, and a menu control interface component and a user control interface, etc.
[0065] In some other embodiments, the display 370 may be at least one of a liquid crystal display, an organic light emitting diode (OLED) display, and a projection display, and may also be a projection device and a projection screen.
[0066] In some other embodiments, the audio output interface 380 includes a speaker, external audio output electronics, etc.
[0067] In some embodiments, the user interface is an interface that can be used to receive control input (such as a physical button on the display device body, or other interfaces).
[0068] In a specific implementation, the above-mentioned terminal under test 02 can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch), a smart home device (such as a TV), a car computer, a game console, and an augmented reality (AR) / virtual reality (VR) device, etc. This embodiment does not impose any special restrictions on the specific device form of the terminal under test 02.
[0069] based on Figure 1 or Figure 2 The WiFi distance performance test system shown in the figure, the embodiment of the present invention provides a WiFi distance performance test method flow chart, such as Figure 4 As shown, the method comprises the following steps:
[0070] S401, the control host 05 sends a control command to the terminal 02 under test.
[0071] S402, the control host 05 sends a control command to the auxiliary terminal 01.
[0072] S403, the auxiliary terminal 01 receives the control command from the control host 05, and communicates with the tested terminal 02 through WiFi communication according to the control command.
[0073] Exemplarily, the control command instructs the auxiliary terminal 01 to make a phone call or a video call with the tested terminal 02.
[0074] S404, the control host 05 controls the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, controls the movable device 03 to move to different positions in succession, and controls the rotating bracket to rotate to different angles in succession, and sends control commands to the tested terminal 02 and the auxiliary terminal 01.
[0075] S405, the control host 05 captures the air interface data packets between the terminal under test and the WiFi hotspot device to obtain the performance data of the terminal under test, and captures the air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain the performance data of the auxiliary terminal; the performance data of the terminal under test and the performance data of the auxiliary terminal are compared, and whether the throughput of the terminal under test meets the standard is determined according to the comparison result.
[0076] In order to more systematically explain the above Bluetooth function compatibility test method, the following takes WiFi hotspot device 04 as a router as an example. Figure 5 The method flow chart shown is used to illustrate the system.
[0077] Step 1, the control host 05 sets the parameters of the router according to the test case, and the parameters include the required frequency, channel, bandwidth and service set identifier (SSID).
[0078] Step 2: First, the terminal under test 02 and the auxiliary terminal 01 are manually connected to the SSID of the 2.4G band and the 5G band of each network standard of the router by the operator in advance, and then they can be automatically connected to the router.
[0079] Step 3, the control host 05 Ping command respectively tests the IP addresses of the tested terminal 02 and the auxiliary terminal 01, and determines whether the tested terminal 02 and the auxiliary terminal 01 are successfully connected to the WiFi hotspot device 04 according to the output result of the Ping command; alternatively, it can be determined through the management interface of the WiFi hotspot device 04 whether the tested terminal 02 and the auxiliary terminal 01 are successfully connected to the WiFi hotspot device.
[0080] Step 4: If the connection is successful in step 3, the control host 05 adjusts the rotation direction of the two rotating brackets according to the performance test requirements.
[0081] Step 5, start the server of the tested terminal 02 and then start the client to run the performance, and at the same time control the host 05 to capture the air interface packets of the tested terminal 05 and the router. Control the host 05 to obtain the performance data of the server and record it in a table for storage.
[0082] Step 6: Start the server on the comparison machine and then start the client to run the performance test. At the same time, the control host captures the air interface packets of the test machine and the router. The control host obtains the performance data of the server and records it in a table for storage.
[0083] Step 7: compare the performance test data of the tested terminal 02 with the performance test data of the auxiliary terminal 01, calculate the difference, and judge whether the performance of the tested terminal 02 meets the standard according to the difference.
[0084] Step 8. If the performance in step 7 does not meet the requirements, put the recorded test machine error time, CaseID, saved packet capture data, saved test machine and comparison machine performance data, and exported test machine LOG into the newly created failure folder.
[0085] Step 9: If the performance of the test machine is judged to be up to standard in step 7, the captured air interface packets of the test machine and the router are deleted, and the LOG information of the test machine is deleted.
[0086] Step 10: If an error occurs in connecting to the SSID in step 3 or the deletion is completed in step 9, determine whether the test is completed or the program has an error. If so, end the process. If not, proceed to step 1 again.
[0087] The test method provided by the present invention is applicable to WiFi distance performance test in real environment, such as underground garage, rooftop, open environment and other places without WiFi signal interference. In the WiFi distance performance test, the control host controls the movable device to move to different positions successively according to the distance requirements in the performance test, thereby adjusting the distance between the tested terminal and the auxiliary terminal and the WiFi hotspot device. Furthermore, in the WiFi distance performance test, the control host adjusts the direction of the rotating bracket according to the angle requirements in the performance test, thereby adjusting the angle orientation of the auxiliary terminal and the tested terminal, and realizing the influence of different angles between the test receiving end and the signal transmitting end on the performance. The system can realize automation and can truly reflect that the client performance changes with the distance from the signal transmitting end, covering the influence of multipath effect and angle change on performance.
[0088] In some embodiments of the present application, the present invention also discloses a WiFi distance performance testing device, such as Figure 6 As shown, the device is used to implement the methods recorded in the above various method embodiments, which includes: a control unit 601, which is used to control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, and control the movable device to move to different positions in turn, and control the rotating bracket to rotate to different angles in turn, and send control commands to the terminal under test and the auxiliary terminal;
[0089] The processing unit 602 is used to capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and to capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; compare the performance data of the terminal under test with the performance data of the auxiliary terminal, and determine whether the throughput of the terminal under test meets the standard according to the comparison result.
[0090] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0091] In other embodiments of the present application, the present invention discloses a control host, such as Figure 7 As shown, the control host may include: one or more processors 701; a memory 702; a display 703; one or more applications (not shown); and one or more computer programs 704. The above components may be connected via one or more communication buses 705. The one or more computer programs 704 are stored in the memory 702 and configured to be executed by the one or more processors 701. The one or more computer programs 704 include instructions. The instructions may be used to execute the following: Figure 4 and Figure 5The various steps in the corresponding embodiments.
[0092] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0093] Each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0094] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.
[0095] The above is only a specific implementation of the embodiment of the present invention, but the protection scope of the embodiment of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiment of the present invention should be included in the protection scope of the embodiment of the present invention. Therefore, the protection scope of the embodiment of the present invention should be based on the protection scope of the claims.
Claims
1. A WiFi range performance test system, characterized in that: It includes a control host, a WiFi hotspot device, an auxiliary terminal and a terminal under test; wherein the terminal under test and the auxiliary terminal are respectively fixed on a movable device through a rotating bracket, and both the terminal under test and the auxiliary terminal establish a WiFi communication connection with the control host in advance; The control host is used to control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, and to control the movable device to move to different positions in turn, and to control the rotating bracket to rotate to different angles in turn. The control host is also used to send control commands to the terminal under test and the auxiliary terminal; The auxiliary terminal is used to receive the control command and communicate with the terminal under test according to the control command; The terminal under test is used to receive the control command and communicate with the auxiliary terminal according to the control command; The control host is also used to capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and to capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; the performance data of the terminal under test and the performance data of the auxiliary terminal are compared, and whether the throughput of the terminal under test meets the standard is determined according to the comparison result.
2. The system according to claim 1, characterized in that Before the control host sends a control command to the terminal under test and the auxiliary terminal, the control host is further used to: Using the Ping command to test the IP addresses of the tested terminal and the auxiliary terminal respectively, and judging whether the tested terminal and the auxiliary terminal are successfully connected to the WiFi hotspot device according to the output result of the Ping command; Alternatively, it can be determined through the management interface of the WiFi hotspot device that the tested terminal and the auxiliary terminal are successfully connected to the WiFi hotspot device.
3. The system according to claim 1, characterized in that After the control host determines whether the throughput of the terminal under test meets the standard according to the comparison result, it is also used to: When the throughput of the terminal under test does not meet the standard, the error time and log information of the terminal under test are recorded, and the captured air interface data packets and the performance data of the terminal under test and the performance data of the auxiliary terminal are saved; When the throughput of the terminal under test reaches the standard, the captured air interface data packets and the log information of the terminal under test are deleted.
4. A WiFi range performance test method, applied to a control host, wherein the control host pre-establishes a communication connection with a terminal under test, an auxiliary terminal, and a WiFi hotspot device, characterized in that: include: Control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, control the movable device to move to different positions in succession, and control the rotating bracket to rotate to different angles in succession, and send control commands to the terminal under test and the auxiliary terminal; Capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; compare the performance data of the terminal under test with the performance data of the auxiliary terminal, and determine whether the throughput of the terminal under test meets the standard according to the comparison result.
5. The method according to claim 4, characterized in that Before sending the control command to the terminal under test and the auxiliary terminal, it is also used to: Using the Ping command to test the IP addresses of the tested terminal and the auxiliary terminal respectively, and judging whether the tested terminal and the auxiliary terminal are successfully connected to the WiFi hotspot device according to the output result of the Ping command; Alternatively, it can be determined through the management interface of the WiFi hotspot device that the tested terminal and the auxiliary terminal are successfully connected to the WiFi hotspot device.
6. The method according to claim 4, characterized in that After determining whether the throughput of the terminal under test meets the standard according to the comparison result, it is also used to: When the throughput of the terminal under test does not meet the standard, the error time and log information of the terminal under test are recorded, and the captured air interface data packets and the performance data of the terminal under test and the performance data of the auxiliary terminal are saved; When the throughput of the terminal under test reaches the standard, the captured air interface data packets and the log information of the terminal under test are deleted.
7. The method according to claim 4, characterized in that Comparing the performance data of the terminal under test with the performance data of the auxiliary terminal, and determining whether the throughput of the terminal under test meets the standard according to the comparison result, includes: Calculating the upload transmission rate and the download transmission rate of the terminal under test according to the performance data of the terminal under test, and calculating the upload transmission rate and the download transmission rate of the auxiliary terminal according to the performance data of the auxiliary terminal; It is determined whether the upload transmission rate and download transmission rate of the terminal under test are consistent with the upload transmission rate and download transmission rate of the auxiliary terminal. If they are consistent, the throughput of the terminal under test meets the standard, otherwise it does not meet the standard.
8. A WiFi range performance test device, applied to a control host, wherein the control host establishes a communication connection with a terminal under test, an auxiliary terminal and a WiFi hotspot device in advance, characterized in that: include: A control unit, used to control the channel and bandwidth of the WiFi hotspot device according to the performance test requirements, control the movable device to move to different positions in succession, and control the rotating bracket to rotate to different angles in succession, and send control commands to the terminal under test and the auxiliary terminal; The processing unit is used to capture air interface data packets between the terminal under test and the WiFi hotspot device to obtain performance data of the terminal under test, and to capture air interface data packets between the auxiliary terminal and the WiFi hotspot device to obtain performance data of the auxiliary terminal; compare the performance data of the terminal under test with the performance data of the auxiliary terminal, and determine whether the throughput of the terminal under test meets the standard according to the comparison result.
9. A control host, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; The processor is configured to execute the computer program stored in the memory, so as to enable the terminal to perform the method according to any one of claims 4 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 4 to 7 is implemented.
