Wireless network frequency band roaming test method, device, terminal equipment and medium

Wireless network frequency band roaming tests are carried out through unmanned vehicle-mounted mobile devices and connection data are automatically collected, which solves the problems of complex test methods and unstable results in the existing test methods, and achieves efficient and reliable test results.

CN111741488BActive Publication Date: 2024-09-10SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010470737.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-28
Publication Date
2024-09-10
Estimated Expiration
2040-05-28

AI Technical Summary

Technical Problem

The existing wireless network frequency band roaming test methods are complex and the results have poor reproducibility. They are greatly affected by environmental factors, making it difficult to achieve an automated and highly stable test process.

Method used

The unmanned vehicle-mounted mobile device is used to move along the preset trajectory and collect connection data. It sends connection instructions and operating instructions to the mobile device through automated control terminal equipment to generate test conclusions, simplify the test process and improve the reliability of the results.

Benefits of technology

It realizes the automation of wireless network band roaming test, simplifies the test process, improves the stability of the test environment and the reproducibility and reliability of the results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111741488B
    Figure CN111741488B
Patent Text Reader

Abstract

The present application is applicable to the field of communication technology, and provides a wireless network frequency band roaming test method, device, terminal equipment and medium, the method comprising: sending a connection instruction to a mobile device, the connection instruction is used to instruct the mobile device to connect to the wireless network provided by the device under test; sending an operation instruction to an unmanned vehicle carrying the mobile device, the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory; during the movement of the unmanned vehicle, the connection data of the mobile device at multiple locations is collected; and the test conclusion of the device under test is generated according to the connection data. Through the above method, the automated test of wireless network frequency band roaming can be realized, the test process can be simplified and the cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to a wireless network frequency band roaming test method, device terminal equipment and medium. Background Art

[0002] With the popularity of mobile phones and tablets, people are increasingly dependent on wireless networks. Wireless networks can include two frequency bands: 2.4GHz and 5GHz. The band roaming function (Bandsteering) can encourage wireless clients with dual-band capabilities to connect to the faster 5GHz Wi-Fi, while for clients that only support 2.4GHz, it can avoid congestion in 2.4GHz Wi-Fi.

[0003] Wireless access point (AP, Access Point) is the most commonly used device when building a small wireless LAN. AP is equivalent to a bridge connecting wired network and wireless network. Its main function is to connect various wireless network clients together and then connect the wireless network to Ethernet. The frequency band roaming function of AP affects whether the mobile clients in the LAN can switch networks in time. This function can be used as a functional indicator of AP. Testing the frequency band roaming function of AP can better understand the performance of AP and thus select the appropriate device.

[0004] In the existing testing methods, the testing process is complicated and the test results are not reproducible due to environmental factors. Summary of the invention

[0005] The embodiments of the present application provide a wireless network frequency band roaming test method, apparatus, terminal equipment and medium, which can automatically implement wireless network frequency band roaming test and simplify the test process.

[0006] In a first aspect, an embodiment of the present application provides a wireless network frequency band roaming test method, including:

[0007] Sending a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by the device under test;

[0008] Sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory;

[0009] During the movement of the unmanned vehicle, collecting connection data of the mobile device at multiple locations;

[0010] A test conclusion of the device under test is generated according to the connection data.

[0011] In a second aspect, an embodiment of the present application provides a wireless network frequency band roaming test device, including:

[0012] A connection instruction sending module, used to send a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by the device under test;

[0013] An operation instruction sending module, used for sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used for instructing the unmanned vehicle to move according to a preset trajectory;

[0014] A data collection module, used for collecting connection data of the mobile device at multiple locations during the movement of the unmanned vehicle;

[0015] A conclusion generating module is used to generate a test conclusion of the device under test according to the connection data.

[0016] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein the computer program implements the method described in the first aspect when executed by a processor.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the first aspect above.

[0019] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows: in the embodiments of the present application, the control terminal sends a connection instruction to the mobile device, instructing the mobile device to connect to the wireless network provided by the device under test; the mobile device can be fixed on the unmanned vehicle, and when the terminal device sends an operation instruction to the unmanned vehicle, it can instruct the unmanned vehicle-mounted mobile device to move according to the preset trajectory; during the movement of the unmanned vehicle, the connection data of the mobile device at multiple locations are collected; and then the test conclusion of the device under test is generated based on the collected connection data. The present application utilizes an unmanned vehicle to perform a wireless network frequency band roaming test. The control terminal can automatically control the unmanned vehicle to make the unmanned vehicle-mounted mobile device approach or move away from the device under test, thereby changing the strength of the received signal of the mobile device relative to each frequency band of the wireless network; during the movement of the unmanned vehicle, the control terminal can automatically collect the connection data of the mobile device, and these connection data can be experimental data during the test process; the control terminal then generates the test conclusion of the device under test based on the connection data. The control of the mobile device and the unmanned vehicle is carried out through automated control, the test process is simple, the test environment is stable, the test results can be replicated, and the reliability is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a flowchart of a wireless network frequency band roaming test method provided in Embodiment 1 of the present application;

[0022] Figure 2 It is a flowchart of a wireless network frequency band roaming test method provided in Embodiment 2 of the present application;

[0023] Figure 3 It is a flowchart of a wireless network frequency band roaming test method provided in Embodiment 3 of the present application;

[0024] Figure 4 This is a network topology diagram of a wireless network frequency band roaming test method provided in Embodiment 4 of the present application;

[0025] Figure 5 This is a flow chart of a test provided in Embodiment 4 of the present application when a first device accesses a device under test for the first time in a pre-association mode;

[0026] Figure 6 This is a flowchart of testing the 5GHz roaming 2.4GHz function of the device under test in idle mode provided in the fourth embodiment of the present application;

[0027] Figure 7 This is a flowchart of testing the 2.4GHz roaming 5GHz function of the device under test in idle mode provided in the fourth embodiment of the present application;

[0028] Figure 8 It is a flowchart of testing frequency band roaming after the current frequency band exceeds the load in activation mode provided by Embodiment 4 of the present application;

[0029] Fig. 9 This is a flowchart of testing the 5GHz roaming 2.4GHz function of the device under test in the activation mode provided in the fourth embodiment of the present application;

[0030] Fig.10 This is a flow chart of testing the 2.4GHz roaming 5GHz function of the device under test in the activation mode provided in the fourth embodiment of the present application.

[0031] Fig.11 It is a structural schematic diagram of a wireless network frequency band roaming test device provided in Embodiment 5 of the present application;

[0032] Fig.12 This is a structural diagram of a terminal device provided in Example 6 of the present application. DETAILED DESCRIPTION

[0033] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0034] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0035] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0036] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0037] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0038] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, 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.

[0039] Figure 1 is a flow chart of a wireless network frequency band roaming test method provided in the first embodiment of the present application, such as Figure 1 As shown, the method includes:

[0040] S101, sending a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by a device under test;

[0041] The execution subject of this embodiment is a terminal device, which can be a desktop, a laptop, a tablet computer, a super mobile personal computer, etc. This embodiment does not limit the specific type of the terminal device. The terminal device is a control terminal, which is used to control the entire test process.

[0042] The control terminal can be connected to the device under test (DUT) by wire, and the device under test is used to provide a wireless local area network. For example, a wireless mesh network (mesh network) is composed of meshrouter (routers) and meshclients (clients), wherein the meshrouter constitutes the backbone network and is connected to the wired Internet, and is responsible for providing multi-hop wireless network connections for meshclients. Wireless mesh network (wireless mesh network) is also called "multi-hop" network, which is a new type of wireless network technology that is completely different from traditional wireless networks. The above-mentioned device under test can be an access point (AP) of a wireless network, such as meshrouter.

[0043] The device under test can provide networks in two frequency bands, 2.4 GHz and 5 GHz. This embodiment is used to test the frequency band roaming function of the device under test. Therefore, in this embodiment, the mobile device used for testing has a dual-band function and can be connected to the 2.4 GHz frequency band of the wireless network, and can also be connected to the 5 GHz frequency band of the wireless network.

[0044] During the test, the control terminal can automatically control the entire test process. For example, the control terminal can use the RobotFramework automated test framework, which is a Python-based extensible keyword-driven automated test framework that is usually used for end-to-end receivable testing and receivable test-driven development. Through RobotFramework automated control, the control terminal can instruct the mobile device to connect to the wireless network provided by the device under test.

[0045] S102, sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory;

[0046] This embodiment is used to test the frequency band roaming function of the wireless network. Factors that affect the frequency band roaming function include received signal strength indication (RSSI), traffic, rate, number of clients, etc. During the test process, it is necessary to test the influence of various influencing factors. When testing the device under test, the method of controlling variables can be adopted. For example, by moving the mobile device on an unmanned vehicle, the RSSI value of the mobile device relative to each frequency band of the wireless network is controlled, and then by detecting the RSSI value of the mobile device relative to each frequency band of the wireless network and the frequency band of the wireless network to which it is connected during the movement, the influence of RSSI on the frequency band roaming can be detected.

[0047] The distance between the mobile device and the device under test is different, and the RSSI values ​​of the two frequency bands relative to the device under test are different. Generally, the RSSI value is greater than -50dBm at close distance, and the RSSI value is less than -80dBm, which is considered to be a long distance. Therefore, the distance can be judged by the RSSI value. When the mobile device is far away from the device under test, the signal attenuation of the 2.4G frequency band of the device under test is relatively slow, which can provide a better Internet access rate for the mobile device. At this time, the device under test can control the mobile device to access the 2.4G frequency band of the wireless network; when the mobile device is close to the device under test, the 5G frequency band of the device under test can provide a better Internet access rate for the device under test. At this time, the device under test can control the mobile device to access the 5G frequency band of the wireless network. When the mobile device is close to or away from the device under test, the frequency band of the wireless network it accesses will change. Therefore, by recording the connection data of the mobile device during the movement, the frequency band roaming function triggered after the RSSI reaches the threshold can be tested.

[0048] Specifically, the unmanned vehicle can control the mobile device to approach or move away from the device under test. A fixed magnetic strip can be laid around the device under test, and the unmanned vehicle can move along a fixed track on the magnetic strip. The terminal device can automatically control the unmanned vehicle through RobotFramework, instructing the unmanned vehicle to approach or move away from the device under test along the laid magnetic strip track. The mobile device on the unmanned vehicle approaches or moves away from the device under test, and the mobile device can switch the connected Internet frequency band during the movement.

[0049] S103, collecting connection data of the mobile device at multiple locations during the movement of the unmanned vehicle;

[0050] Specifically, during the operation of the unmanned vehicle, as the mobile device approaches or moves away from the device under test, the RSSI value of the mobile device relative to each frequency band of the wireless network changes, so the network can be switched. The unmanned vehicle can move along a fixed track on the magnetic strip, so some sites can be set at fixed intervals on the magnetic strip, and at these sites, the control terminal can automatically collect the connection data of the mobile device. The connection data may include the wireless network frequency band to which the mobile device is connected, the RSSI value of the mobile device relative to the 2.4GHz frequency band, the RSSI value of the mobile device relative to the 5GHz frequency band, and the traffic value in each frequency band of the wireless network, etc.

[0051] S104: Generate a test conclusion of the device under test according to the connection data.

[0052] Specifically, based on the collected connection data, the RSSI value when the mobile device switches networks can be obtained from the data, and then compared with the expected threshold value of the mobile device switching networks to draw a conclusion.

[0053] In addition, when conducting the test, you can test several times and then compare the results of each test to detect whether the RSSI value of the mobile device is stable each time it switches networks.

[0054] Based on the test data, the terminal device can automatically draw test conclusions through RobotFramework.

[0055] In this embodiment, the unmanned vehicle moves along a fixed trajectory to move the mobile device closer to or farther away from the device under test, thereby changing the RSSI value of the mobile device relative to each frequency band of the wireless network, and then automatically generates the test conclusion through the collected experimental data. The test process is completed by the automated test framework, the operation is simple, the experimental process environment is stable, and the test results are consistent.

[0056] Figure 2 is a flow chart of a wireless network frequency band roaming test method provided in the second embodiment of the present application, such as Figure 2 As shown, the method includes:

[0057] S201, instructing the first device and / or the second device to connect to a wireless network provided by the device under test;

[0058] The execution subject of this embodiment is a terminal device, which can be a desktop, a laptop, a tablet computer, a super mobile personal computer, etc. This embodiment does not limit the specific type of the terminal device. The terminal device is a control terminal that can execute the entire test process.

[0059] Specifically, the wireless network band roaming function is related to the traffic within the wireless network band. When testing the device under test, the traffic within each wireless network band can be changed, and then the band roaming function under different traffic pressures can be tested. Overload means that the throughput reaches the percentage of the connection rate n% for more than 1 minute, which is called overload, usually n is 70.

[0060] In order to construct the traffic pressure of each frequency band of the wireless network, two devices can be connected to the wireless network in advance. The two devices are the first device and the second device mentioned above. Both devices have dual-band functions and can be connected to the device under test by wire.

[0061] The control terminal can execute the entire test process through automated testing, for example, the RobotFramework automated testing framework can be used. RobotFramework is an extensible keyword-driven automated testing framework based on Python, which is usually used for end-to-end receivable testing and receivable test-driven development. The control terminal can use the RobotFramework automated testing framework to instruct the first device and / or the second device to connect to the wireless network. The two devices can run traffic in the wireless network through software, such as IxChariot. IxChariot is an application layer performance testing software that can be applied to three stages, including equipment selection, network construction and acceptance, and daily maintenance. It provides services such as equipment network performance evaluation, fault location, and service level agreement (SLA) benchmarks. IxChariot consists of two parts: the console and the endpoint. Both can be installed on ordinary computers or servers. The console is installed on the Windows operating system, and the endpoint supports various mainstream operating systems. When testing, the console can be installed on the control terminal, and the endpoint can be installed on the first device, the second device, and the mobile device.

[0062] S202, instructing the first device and / or the second device to construct traffic pressure in the connected wireless network;

[0063] Specifically, the first device and the second device can construct traffic pressure in the wireless network frequency band according to the experimental requirements. For example, when testing in idle mode, there can be no data traffic or low data traffic in the wireless network frequency band, for example, less than 3Mbps; when testing in active mode, the first device and the second device can be used to run traffic in each frequency band of the wireless network to make each frequency band of the wireless network overloaded.

[0064] For example, during the test, it can be tested whether the mobile device will roam when both frequency bands of the wireless network are overloaded. At this time, the mobile device can be connected to the wireless network in advance, and then the first device and the second device are respectively connected to the 2.4GHz and 5GHz frequency bands of the wireless network, and then the Ixcharoit script can be modified to make the first device and the second device send fixed traffic until both frequency bands of the wireless network are overloaded.

[0065] S203, sending a connection instruction to the mobile device, wherein the connection instruction is used to instruct the mobile device to connect to the wireless network provided by the device under test;

[0066] Specifically, when the test is being conducted, the control terminal sends a connection instruction to the mobile device, instructing the mobile device to connect to the wireless network provided by the device under test. When the initial position of the mobile device is relatively close to the device under test, that is, located at the near point of the device under test, it can be connected to the 5GHz wireless network provided by the device under test; when the initial position of the mobile device is relatively far from the device under test, that is, located at the far point of the device under test, it can be connected to the 2.4GHz wireless network provided by the device under test.

[0067] S204, sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory;

[0068] Specifically, when testing the function of the device under test to roam from the first frequency band to the second frequency band, a first operating instruction is sent to the unmanned vehicle carrying the mobile device, and the first operating instruction is used to instruct the unmanned vehicle to move from the far point to the near point of the device under test according to a preset moving speed and moving trajectory; when testing the function of the device under test to roam from the second frequency band to the first frequency band, a second operating instruction is sent to the unmanned vehicle carrying the mobile device, and the second operating instruction is used to instruct the unmanned vehicle to move from the near point to the far point of the device under test according to a preset moving speed and moving trajectory.

[0069] The first frequency band refers to the 2.4 GHz frequency band of the wireless network, and the second frequency band refers to the 5 GHz frequency band of the wireless network. The control terminal automatically controls the unmanned vehicle to move according to the test requirements.

[0070] In this embodiment, two factors that affect frequency band roaming are controlled: traffic and RSSI. When conducting tests, the control variable method can be used. When it is necessary to measure the impact of the RSSI value, the wireless network frequency band can be kept at a low traffic level, and then the impact of the RSSI value on 2.4GHz roaming 5GHz and 5GHz roaming 2.4GHz can be tested by controlling the unmanned vehicle to approach or move away from the device under test; when it is necessary to measure the impact of traffic, the positions of the first device and the second device can be fixed to keep the RSSI value unchanged, and then the impact of the traffic in the frequency band on the frequency band roaming can be detected.

[0071] Of course, in actual applications, multiple factors that affect frequency band roaming are often involved at the same time. Therefore, during testing, multiple control groups can be added for testing. For example, the first device and the second device can be connected to different frequency bands such as a wireless network, and then the first device and / or the second device can be controlled to construct traffic pressure, while controlling the unmanned vehicle-mounted mobile device to approach or move away from the device under test, and detecting the impact of the wireless network RSSI value on frequency band roaming when the load is exceeded. Multiple sets of test data can be compared to explore the combined impact of RSSI values ​​and traffic on frequency band roaming.

[0072] S205, during the movement of the unmanned vehicle, each time the unmanned vehicle moves a preset distance, detecting the wireless network frequency band to which the mobile device is connected;

[0073] Specifically, the unmanned vehicle has a fixed moving route and moving speed. The magnetic strips laid on the route can control the moving trajectory of the unmanned vehicle. Points can be set at fixed intervals on the magnetic strips. When the mobile device on the unmanned vehicle arrives at the set point, the terminal device can collect data through automatic control. Because the BSSID (Basic Service Set Identifier) ​​of the wireless network 2.4GHz and 5GHz frequency bands are different, the wireless network frequency band to which the mobile device is connected can be determined by detecting the BSSID of the wireless network to which the mobile device is currently connected.

[0074] S206, extracting RSSI values ​​of the mobile device relative to each frequency band of the wireless network;

[0075] Specifically, the terminal device can automatically read the data of the mobile device, thereby extracting the RSSI value of the mobile device relative to each frequency band of the wireless network, and then automatically record the data. The terminal device can detect and record data at an appropriate time through automatic control.

[0076] In addition, the control terminal can also collect throughput information in the wireless network, and the throughput information in the wireless network can be used to detect whether the current wireless network frequency band exceeds the load.

[0077] S207, extracting, from the connection data, an RSSI value of the mobile device relative to the frequency band of the wireless network after the switching when the frequency band of the wireless network to which the mobile device is connected is switched;

[0078] Specifically, after collecting the test data, the terminal device can automatically analyze the collected data. For example, the RSSI value when the mobile device switches networks can be extracted from the collected data, and then the RSSI value can be compared with the RSSI value when the mobile device is expected to switch networks.

[0079] S208: Compare the extracted RSSI value with an expected threshold value for the mobile device to switch networks, and obtain a test conclusion.

[0080] Specifically, the RSSI values ​​of the handover network under different test conditions can be compared with the expected threshold to draw conclusions. For example, in idle mode, when the traffic in each frequency band of the wireless network is low, the impact of the RSSI value on the triggering of frequency band roaming can be obtained; the traffic in each frequency band of the wireless network is controlled, and then the impact of the traffic in the frequency band exceeding the load on the frequency band roaming can be obtained through the collected data.

[0081] In this embodiment, the control terminal can automatically control the unmanned vehicle-mounted mobile device to approach or move away from the device under test, thereby testing the frequency band roaming triggered after the RSSI value reaches the threshold; the control terminal can automatically control the first device and the second device to construct traffic pressure in each frequency band of the wireless network, thereby testing the frequency band roaming triggered after the traffic in each frequency band exceeds the load. The automated test process simplifies the operation process and reduces costs. The test environment is fixed with less external interference and the unmanned vehicle's moving trajectory is fixed, so that the test results are replicable, the environment is consistent, and the test results are highly reliable.

[0082] Figure 3 is a flow chart of a wireless network frequency band roaming test method provided in Embodiment 3 of the present application, such as Figure 3 As shown, the method includes:

[0083] S301, sending a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by a device under test;

[0084] The execution subject of this embodiment is a terminal device, which can be a desktop, a laptop, a tablet computer, a super mobile personal computer, etc. This embodiment does not limit the specific type of the terminal device. The terminal device is a control terminal that can execute the entire test process.

[0085] S302, sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory;

[0086] S303, collecting connection data of the mobile device at multiple locations during the movement of the unmanned vehicle;

[0087] S301 - S303 in this embodiment are similar to S101 - S103 in the aforementioned embodiment 1, and can be referenced to each other, and are not described in detail here.

[0088] S304, repeatedly performing multiple tests, and collecting connection data during the multiple tests respectively;

[0089] Specifically, the data of a test may be accidental, so multiple tests can be performed. Steps S301-S304 are repeated to continue the test until the number of tests reaches the required number.

[0090] S305: Generate a test conclusion of the device under test according to the connection data in the multiple test processes.

[0091] Specifically, after multiple tests are performed, multiple groups of test data are analyzed to obtain conclusions about the device under test; and the stability of the frequency band roaming of the device under test can be analyzed by comparing the test results of each group.

[0092] In addition, the testing of the device under test generally requires multiple groups of experiments. Each group of experiments can be tested multiple times. Based on the multiple test results of a group of experiments, it is possible to detect whether the device under test is stable. By comparing multiple groups of experiments, it is possible to explore the impact of influencing factors on frequency band roaming under different circumstances.

[0093] In this embodiment, multiple tests can be performed to collect multiple groups of test data for analysis, which can improve the accuracy of the test results on the one hand; on the other hand, the stability of the frequency band roaming of the device under test can be analyzed by comparing multiple groups of data.

[0094] Figure 4 This is a network topology diagram of a wireless network frequency band roaming test method provided in Embodiment 4 of the present application, such as Figure 4 As shown in the figure, the equipment required for the test is: a control terminal (the control terminal PC in the figure), at least 3 PCs with dual-band WI-FI (such as Figure 4 STA1, STA2 and STA3 in the test), unmanned vehicle and the device under test. In addition, Ixchariot and RobotFramework are also required. Figure 4As shown, the unmanned vehicle can move on a fixed track, and the control terminal can automatically control the unmanned vehicle to move closer to or away from the device under test on the fixed track; STA1, STA2 and STA3 have dual-band functions and can be connected to the wireless network provided by the device under test. STA3 can be on the unmanned vehicle and follow the unmanned vehicle. IxChariot consists of two parts: the console and the endpoint. When testing, the console can be installed on the console PC, and the endpoint can be installed on STA1, STA2 and STA3; STA1 and STA2 can construct traffic pressure in the wireless network frequency band through IxChariot. RobotFramework can be installed on the control terminal to control the entire test process. When testing, it is necessary to enable the frequency band roaming function of the device under test and set the service set identifier (ServiceSetIdentifier, SSID) name of the dual-band of the device under test to the same SSID.

[0095] When testing a device under test, multiple groups of tests are generally required. These tests may include Figure 2-10 Test shown.

[0096] Figure 5 1 is a flow chart of the test provided in the fourth embodiment of the present application when the first device is connected to the device under test for the first time in the pre-association mode. The pre-association mode refers to the first time a device is connected to the device under test. Figure 5 STA1 is the first device. When testing, STA1 can be placed close to the device under test. When the RSSI of STA1 relative to the 5GHz band is greater than the threshold, if the 5GHz band of the device under test is not overloaded, STA1 can access the 5GHz band of the device under test. If STA2 is added to the 5GHz band of the device under test and traffic is run in the 5GHz band of the device under test until the 5GHz band of the device under test exceeds the load, STA1 will access the 2.4GHz band.

[0097] Figure 6 This is a flowchart of testing the 5GHz roaming 2.4GHz function of the device under test in idle mode provided by the fourth embodiment of the present application. Idle mode refers to the situation where there is no data traffic or the data traffic is lower than the threshold (the reference threshold can be 3Mbps) in the wireless network frequency band provided by the device under test. The test under low data traffic can detect the impact of the RSSI value on the frequency band roaming function. Figure 6As shown, the control terminal automatically controls the unmanned vehicle STA3 to connect to the 5GHz frequency band of the device under test at a point close to the device under test, and then controls the unmanned vehicle STA3 to move away from the device under test, so that the RSSI of STA3 relative to the 5GHz frequency band of the device under test is reduced, and automatically records the RSSI corresponding to different points during the movement and the frequency band connected to STA3. If STA3 switches successfully, the recorded data is output. The test is performed 3 times, and then the recorded data is used to determine whether the RSSI of the switch is the same as the expected threshold, and whether the value of the RSSI reached by the switch is relatively stable, so as to determine the 5GHz roaming 2.4GHz function of the device under test in idle mode.

[0098] Figure 7 4 is a flow chart of testing the 2.4GHz roaming 5GHz function of the device under test in idle mode provided by the fourth embodiment of the present application. Figure 7 As shown, the control terminal automatically controls the unmanned vehicle STA3 to connect to the 2.4GHz frequency band of the device under test at a remote point of the device under test, and then controls the unmanned vehicle STA3 to approach the device under test, so that the RSSI value increases, and records the RSSI values ​​corresponding to different points and the frequency band connected to STA3. If STA3 switches successfully, the test record data is output. The test is performed 3 times, and then the recorded data is analyzed to compare whether the switched RSSI is the same as the expected threshold and whether the switched RSSI is relatively stable, so as to determine the 2.4GHz roaming 5GHz function of the device under test in idle mode.

[0099] Figure 8 4 is a flow chart of testing the frequency band roaming after the current frequency band exceeds the load in the activation mode provided by the fourth embodiment of the present application. Figure 8 As shown, the control terminal automatically controls STA1 and STA2 to access the 2.4 GHz frequency band or 5 GHz frequency band of the device under test, controls STA1 to run traffic and control the traffic to increase continuously, records the traffic of STA2 at different time points and whether to switch networks. When STA2 switches, the traffic test value of the frequency band switching can be obtained, and the test result is obtained by comparing whether the traffic test value matches the expected threshold.

[0100] Fig. 9 This is a flowchart of testing the 5GHz roaming 2.4GHz function of the device under test in the activation mode provided by the fourth embodiment of the present application. The activation mode, which is opposite to the idle mode, refers to the roaming scenario when the traffic is greater than the traffic threshold. In this scenario, it is necessary to consider whether the current frequency band or the corresponding frequency band exceeds the load. Fig. 9As shown, the control terminal automatically controls STA3 to connect to the 5GHz band of the device under test at the near point, and STA1 connects to the 5GHz band and runs traffic, causing the 5GHz band of the device under test to exceed the load; the control terminal automatically controls STA3 to follow the unmanned vehicle from the near point of the device under test to the far point. STA2 connects to the 2.4GHz of the device under test and runs traffic. The traffic size is controllable. When STA3's RSSI reaches the threshold, the size of STA2's running traffic is adjusted. If STA2's running traffic also causes the 2.4GHz band to exceed the load, record the STA3 switching situation and compare it with the expected result (STA3 does not switch the frequency band) to draw a conclusion. If STA2's running traffic does not exceed the load, record the STA3 switching situation and compare it with the expected result (STA3 switches the frequency band) to draw a conclusion.

[0101] Fig.10 4 is a flow chart of testing the 2.4GHz roaming 5GHz function of the device under test in the activation mode provided in the fourth embodiment of the present application, such as Fig.10 As shown, the automatic control STA3 is connected to the 2.4GHz band of the device under test at the far point of the device under test, and STA1 is connected to the 2.4GHz band and runs traffic, causing the 2.4GHz band of the device under test to exceed the load; the automatic control STA3 follows the unmanned vehicle from the far point to the near point. STA2 is connected to the 5GHz band of the device under test and runs traffic. The traffic size is controllable. When the RSSI of STA3 reaches the threshold, the size of STA2's running traffic is adjusted. If STA2's running traffic also causes the 5GHz band to exceed the load, record the STA3 switching situation and compare it with the expected result (STA3 does not switch the frequency band) to draw a conclusion. If STA2's running traffic does not exceed the load, record the STA3 switching situation and compare it with the expected result (STA3 switches the frequency band) to draw a conclusion.

[0102] Fig.11 is a structural diagram of a wireless network frequency band roaming test device provided in Embodiment 5 of the present application, such as Fig.11 As shown, the device comprises:

[0103] A connection instruction sending module 1101 is used to send a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by the device under test;

[0104] An operation instruction sending module 1102 is used to send an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory;

[0105] The data collection module 1103 is used to collect the connection data of the mobile device at multiple locations during the movement of the unmanned vehicle;

[0106] The conclusion generating module 1104 is used to generate a test conclusion of the device under test according to the connection data.

[0107] The operation instruction sending module 1102 may specifically include:

[0108] A first operation instruction sending submodule, used for sending a first operation instruction to an unmanned vehicle carrying the mobile device when testing the function of the tested device roaming from the first frequency band to the second frequency band, wherein the first operation instruction is used to instruct the unmanned vehicle to move from a far point to a near point of the tested device according to a preset moving speed and moving trajectory;

[0109] The second operation instruction sending submodule is used to send a second operation instruction to the unmanned vehicle carrying the mobile device when testing the function of the device under test to roam from the second frequency band to the first frequency band. The second operation instruction is used to instruct the unmanned vehicle to move from the near point to the far point of the device under test according to a preset moving speed and moving trajectory.

[0110] The above device may further include the following modules:

[0111] A connection indication module, used to indicate that the first device and / or the second device is connected to the wireless network provided by the device under test;

[0112] The flow pressure construction module is used to instruct the first device and / or the second device to construct flow pressure in the connected wireless network.

[0113] The above-mentioned flow pressure construction module may specifically include:

[0114] A flow detection submodule, used to detect whether the flow in the wireless network frequency band to which the first device and / or the second device is connected reaches a preset value;

[0115] The traffic increase submodule is used to instruct the first device and / or the second device to increase the traffic until it reaches the preset value if the traffic in the wireless network frequency band to which the first device and / or the second device is connected does not reach the preset value.

[0116] The data acquisition module 1103 may specifically include:

[0117] A wireless network frequency band detection submodule, used to detect the wireless network frequency band to which the mobile device is connected every time the unmanned vehicle moves a preset distance during its movement;

[0118] The RSSI value extraction submodule is used to extract the RSSI value of the mobile device relative to each frequency band of the wireless network.

[0119] The conclusion generation module 1104 may include:

[0120] A switching RSSI value extraction submodule, used to extract, from the connection data, an RSSI value of the mobile device relative to the frequency band of the switched wireless network when the frequency band of the wireless network to which the mobile device is connected is switched;

[0121] The test conclusion generating submodule is used to compare the extracted RSSI value with the expected threshold value for the mobile device to switch networks, and obtain a test conclusion.

[0122] The above device may further include the following modules:

[0123] A multiple test module is used to repeatedly perform multiple tests and collect connection data during the multiple tests respectively;

[0124] The conclusion generation module may also be used to generate a test conclusion of the device under test based on the connection data in the multiple test processes.

[0125] Fig.12 This is a schematic diagram of the structure of the terminal device provided in Example 6 of the present application. Fig.12 As shown, the terminal device 12 of this embodiment includes: at least one processor 1200 ( Fig.12 Only one is shown in the figure) a processor, a memory 1201, and a computer program 1202 stored in the memory 1201 and executable on the at least one processor 1200, and when the processor 1200 executes the computer program 1202, the steps in any of the above-mentioned method embodiments are implemented.

[0126] The terminal device 12 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 1200 and a memory 1201. Those skilled in the art will appreciate that Fig.12 It is only an example of the terminal device 12 and does not constitute a limitation on the terminal device 12. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0127] The processor 1200 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0128] In some embodiments, the memory 1201 may be an internal storage unit of the terminal device 12, such as a hard disk or memory of the terminal device 12. In other embodiments, the memory 1201 may also be an external storage device of the terminal device 120, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the terminal device 12. Further, the memory 1201 may also include both an internal storage unit of the terminal device 12 and an external storage device. The memory 1201 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 1201 may also be used to temporarily store data that has been output or is to be output.

[0129] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0130] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0131] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0132] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0133] 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 present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0134] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0136] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0138] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A wireless network frequency band roaming test method, It is characterized in that The device under test is connected to the first device and the second device respectively, including: Instructing the first device and / or the second device to connect to the wireless network provided by the device under test; Instruct the first device and / or the second device to construct traffic pressure in the connected wireless network; the first device and the second device are used to construct traffic pressure in the wireless network frequency band according to the mode; when testing in idle mode, there is no data traffic or low data traffic in the wireless network frequency band; when testing in activation mode, the first device and the second device are used to run traffic in each frequency band of the wireless network so that each frequency band of the wireless network exceeds the load; wherein the test in idle mode is used to obtain the triggering effect of RSSI value on frequency band roaming; the test in activation mode is used to obtain the effect of traffic exceeding the load in the frequency band on frequency band roaming; Sending a connection instruction to the mobile device, wherein the connection instruction is used to instruct the mobile device to connect to the wireless network provided by the device under test; Sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory; During the movement of the unmanned vehicle, collecting connection data of the mobile device at multiple locations; Extracting, from the connection data, when the frequency band of the wireless network to which the mobile device is connected is switched, an RSSI value of the mobile device relative to the frequency band of the switched wireless network; Comparing the extracted RSSI value with an expected threshold value for the mobile device to switch networks, and obtaining a test conclusion; The sending of an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used to instruct the unmanned vehicle to move according to a preset trajectory, includes: When testing the function of the device under test to roam from the first frequency band to the second frequency band, sending a first operation instruction to the unmanned vehicle carrying the mobile device, wherein the first operation instruction is used to instruct the unmanned vehicle to move from a far point to a near point of the device under test according to a preset moving speed and moving trajectory; When testing the function of the device under test to roam from the second frequency band to the first frequency band, a second operating instruction is sent to the unmanned vehicle carrying the mobile device, and the second operating instruction is used to instruct the unmanned vehicle to move from the near point to the far point of the device under test according to a preset moving speed and moving trajectory.

2. The method according to claim 1, It is characterized in that The instructing the first device and / or the second device to construct a flow pressure in the connected wireless network includes: Detecting whether the traffic in the wireless network frequency band to which the first device and / or the second device is connected reaches a preset value; If the traffic in the wireless network frequency band to which the first device and / or the second device is connected does not reach a preset value, instruct the first device and / or the second device to increase the traffic until it reaches a preset value.

3. The method according to claim 1 or 2, It is characterized in that The connection data includes the frequency band of the wireless network to which the mobile device is connected and the received signal strength indicator RSSI relative to each frequency band of the wireless network. The collection of the connection data of the mobile device at multiple locations during the movement of the unmanned vehicle includes: During the movement of the unmanned vehicle, each time the unmanned vehicle moves a preset distance, detecting the wireless network frequency band to which the mobile device is connected; The RSSI value of the mobile device relative to each frequency band of the wireless network is extracted.

4. The method according to claim 1, It is characterized in that Also includes: Repeat the test multiple times and collect the connection data during the multiple tests respectively; A test conclusion of the device under test is generated according to the connection data in the multiple test processes.

5. A wireless network frequency band roaming test device, It is characterized in that The device under test is connected to the first device and the second device respectively, including: A connection indication module, used to indicate that the first device and / or the second device is connected to the wireless network provided by the device under test; A traffic pressure construction module is used to instruct the first device and / or the second device to construct traffic pressure in the connected wireless network; the first device and the second device are used to construct traffic pressure in the wireless network frequency band according to the mode; when testing in idle mode, there is no data traffic or low data traffic in the wireless network frequency band; when testing in active mode, the first device and the second device are used to run traffic in each frequency band of the wireless network so that each frequency band of the wireless network exceeds the load; wherein the test in idle mode is used to obtain the triggering effect of RSSI value on frequency band roaming; the test in active mode is used to obtain the effect of traffic exceeding the load in the frequency band on frequency band roaming; A connection instruction sending module, used to send a connection instruction to a mobile device, wherein the connection instruction is used to instruct the mobile device to connect to a wireless network provided by the device under test; An operation instruction sending module, used for sending an operation instruction to the unmanned vehicle carrying the mobile device, wherein the operation instruction is used for instructing the unmanned vehicle to move according to a preset trajectory; A data collection module, used to collect connection data of the mobile device at multiple locations during the movement of the unmanned vehicle; A conclusion generating module is used to extract, from the connection data, an RSSI value of the mobile device relative to the frequency band of the switched wireless network when the frequency band of the wireless network to which the mobile device is connected is switched; compare the extracted RSSI value with an expected threshold value for the mobile device to switch networks, and obtain a test conclusion; Wherein, the operation instruction sending module is used to When testing the function of the device under test to roam from the first frequency band to the second frequency band, sending a first operation instruction to the unmanned vehicle carrying the mobile device, wherein the first operation instruction is used to instruct the unmanned vehicle to move from a far point to a near point of the device under test according to a preset moving speed and moving trajectory; When testing the function of the device under test to roam from the second frequency band to the first frequency band, a second operating instruction is sent to the unmanned vehicle carrying the mobile device, and the second operating instruction is used to instruct the unmanned vehicle to move from the near point to the far point of the device under test according to a preset moving speed and moving trajectory.

6. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.