CN113742236B - Test configuration method, electronic equipment and storage medium - Google Patents

Test configuration method, electronic equipment and storage medium Download PDF

Info

Publication number
CN113742236B
CN113742236B CN202111066912.5A CN202111066912A CN113742236B CN 113742236 B CN113742236 B CN 113742236B CN 202111066912 A CN202111066912 A CN 202111066912A CN 113742236 B CN113742236 B CN 113742236B
Authority
CN
China
Prior art keywords
wireless access
access point
configuration
test
target wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111066912.5A
Other languages
Chinese (zh)
Other versions
CN113742236A (en
Inventor
赵旭
李胜平
姚瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202111066912.5A priority Critical patent/CN113742236B/en
Publication of CN113742236A publication Critical patent/CN113742236A/en
Application granted granted Critical
Publication of CN113742236B publication Critical patent/CN113742236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a test configuration method, electronic equipment and a storage medium, wherein the test configuration method is applied to the electronic equipment, the electronic equipment is respectively connected with at least one wireless access point and at least one tested terminal equipment, and the electronic equipment is used for testing the tested terminal equipment through the wireless access point and comprises the following steps: obtaining test parameters, analyzing the test parameters to obtain a test task, and calling a test case corresponding to the test task through the test task; configuring a corresponding target wireless access point according to the test case, wherein the target wireless access point is one or more wireless access points in the at least one wireless access point; and monitoring whether the configuration of the target wireless access point fails, if the configuration fails and the reset condition is met, controlling the target wireless access point to restart, and configuring the restarted target wireless access point again according to the test case.

Description

Test configuration method, electronic equipment and storage medium
[ Field of technology ]
The embodiment of the application relates to the technical field of wireless communication, in particular to a testing method, electronic equipment and a storage medium.
[ Background Art ]
The automated streaming software may automatically configure configuration parameters of the wireless access point and automatically input throughput data streams. When the test equipment tests Wi-Fi performance of the terminal equipment, the terminal equipment is connected with the automatically configured wireless access point to perform automatic throughput data flow test.
However, the automated running software has a stability problem in automatically configuring the wireless access point. Specifically, the automatic running software lacks a mechanism for coping with wireless access point configuration failure, and cannot guarantee stable execution of Wi-Fi performance test.
[ Invention ]
The embodiment of the application provides a test configuration method, electronic equipment and a storage medium, which are used for effectively monitoring problems in the wireless access point configuration process, ensuring the wireless access point configuration success, avoiding the configuration parameter errors of the wireless access point, reconfiguring the wireless access point through the reconfiguration condition setting under the condition of configuration failure, and ensuring the stable execution of Wi-Fi performance test of tested terminal equipment.
In a first aspect, an embodiment of the present application provides a test configuration method, applied to an electronic device, where the electronic device is connected to at least one wireless access point and at least one terminal device under test, and the electronic device is configured to test the terminal device under test through the wireless access point, where the method includes:
Obtaining test parameters, analyzing the test parameters to obtain a test task, and calling a test case corresponding to the test task through the test task; configuring a corresponding target wireless access point according to the test case, wherein the target wireless access point is one or more wireless access points in the at least one wireless access point; and monitoring whether the configuration of the target wireless access point fails, if the configuration fails and the reset condition is met, controlling the target wireless access point to restart, and configuring the restarted target wireless access point again according to the test case.
According to the test configuration method, in the process that the electronic equipment automatically configures the target wireless access point according to the test case, whether the target wireless access point is successfully configured is monitored, so that the problem in the configuration of the target wireless access point is found, and under the condition that the configuration of the target wireless access point fails and the reset condition is met, the target wireless access point is controlled to restart and try to configure again instead of discarding the target wireless access point with the failure configuration, so that the interruption of the test process due to the fact that most of target wireless access points cannot be configured is avoided, and stable test execution is ensured; on the other hand, the automatic configuration efficiency of the target wireless access point is increased, and the probability of manual intervention is reduced.
In one possible implementation manner, if the target wireless access point fails to configure, the method further includes:
And updating the configuration times of the target wireless access point.
In one possible implementation manner, the reset condition includes:
the current configuration times of the target wireless access point are within a preset configuration threshold.
In one possible implementation manner, the monitoring whether the target wireless access point fails to be configured includes:
judging whether the electronic equipment successfully logs in the target wireless access point, if so, judging that the configuration fails;
Or after the electronic equipment successfully logs in the target wireless access point, judging whether the configuration request is successfully sent to the target wireless access point, and if the configuration request is successfully sent, the configuration failure exists.
In one possible implementation manner, the test case includes configuration parameters for configuring the target wireless access point; the monitoring whether the target wireless access point fails to be configured comprises:
Judging whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters or not; if not, the configuration failure exists.
In one possible implementation manner, the test case includes a configuration parameter for configuring the target wireless access point, and the method further includes:
obtaining inspection parameters; after the test case corresponding to the test task is called by the test task, the method further comprises the following steps:
checking whether the configuration parameters are correct according to the obtained checking parameters; if not, terminating the test configuration method; and if the test case is correct, configuring the corresponding target wireless access point according to the test case.
In one possible implementation manner, the configuration parameters include a verification type parameter and a character of the configuration parameters of the target wireless access point; the check type parameters comprise a first check type parameter and a second check type parameter, wherein the first check type parameter is used for representing that characters of configuration parameters of the target wireless access point belong to a type of discrete values, and the second check type parameter is used for representing that characters of configuration parameters of the target wireless access point belong to a type with character lengths between intervals;
The checking whether the configuration parameters are correct according to the obtained checking parameters comprises the following steps:
if the check type parameter corresponds to the first check type parameter, judging whether the character of the configuration parameter is equal to the character corresponding to the configuration parameter type in the check parameter; if the check type parameter corresponds to the second check type parameter, judging whether the character length of the configuration parameter is within the character length range corresponding to the configuration parameter type in the check parameter.
In one possible implementation manner, the test case includes an up-down electrical parameter for controlling the corresponding target wireless access point to be powered on or powered off, and the configuring for the corresponding target wireless access point according to the test case includes:
Controlling the corresponding target wireless access point to be electrified or electrified according to the electrification parameters and the electrification parameters so as to simulate a test environment corresponding to the test case; and configuring the corresponding target wireless access point which is electrified according to the test case.
In one possible implementation manner, the monitoring whether the configuration of the target wireless access point fails, if so, controlling the target wireless access point to restart, and configuring the restarted target wireless access point again according to the test case, where the monitoring further includes:
and if the configuration is successful, controlling the target wireless access point which is successfully connected with the tested terminal equipment to perform Wi-Fi performance test.
In one possible implementation manner, if the configuration is successful, controlling the target wireless access point with the successful connection configuration of the tested terminal device to perform Wi-Fi performance test includes:
Controlling the tested terminal to establish throughput data stream connection with the target wireless access point which is successfully configured; acquiring an output throughput data stream which is transmitted by the tested terminal equipment and corresponds to the test task; packaging the test task and the output throughput data stream corresponding to the test task into a test message packet, and storing the test message packet in a mode corresponding to a test task field; and comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to obtain a test result.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device is connected to at least one wireless access point and at least one tested terminal device, where the electronic device is configured to test the tested terminal device through the wireless access point, and the method includes:
The acquisition module is used for acquiring test parameters, analyzing the test parameters to acquire a test task, and calling a test case corresponding to the test task through the test task; the configuration module is used for configuring corresponding target wireless access points according to the test cases, wherein the target wireless access points are one or more wireless access points in the at least one wireless access point; the configuration module is further configured to monitor whether the configuration of the target wireless access point fails, and if the configuration fails and the reset condition is met, control the target wireless access point to restart, and reconfigure the restarted target wireless access point according to the test case.
In one possible implementation manner, the configuration module is further configured to update the number of configuration times of the target wireless access point if the configuration of the target wireless access point fails.
In one possible implementation manner, the reset condition includes:
the current configuration times of the target wireless access point are within a preset configuration threshold.
In one possible implementation manner, the configuration module includes:
The first monitoring module is used for judging whether the electronic equipment successfully logs in the target wireless access point or not, and if the login fails, the configuration fails;
And the second monitoring module is used for judging whether the configuration request is successfully sent to the target wireless access point after the electronic equipment successfully logs in the target wireless access point, and if the configuration request is failed to be sent, the configuration failure exists.
In one possible implementation manner, the test case includes configuration parameters for configuring the target wireless access point; the configuration module further comprises a third monitoring module, wherein the third monitoring module is used for judging whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters, and if not, the configuration failure exists.
In one possible implementation manner, the test case includes configuration parameters for configuring the target wireless access point; the acquisition module is also used for acquiring inspection parameters; the acquisition module further comprises:
The checking sub-module is used for checking whether the configuration parameters are correct according to the obtained checking parameters; wherein: if not, the verification sub-module does not transmit the test case to the configuration module; and if the test case is correct, the verification sub-module transmits the test case to the configuration module.
In one possible implementation manner, the configuration parameters include a verification type parameter and a character of the configuration parameters of the target wireless access point; the check type parameters comprise a first check type parameter and a second check type parameter, wherein the first check type parameter is used for representing that characters of configuration parameters of the target wireless access point belong to a type of discrete values, and the second check type parameter is used for representing that characters of configuration parameters of the target wireless access point belong to a type with character lengths between intervals; wherein: if the check type parameter corresponds to the first check type parameter, the check submodule judges whether the character of the configuration parameter is equal to the character corresponding to the configuration parameter type in the check parameter; and if the check type parameter corresponds to the second check type parameter, the check submodule judges whether the character length of the configuration parameter is in the character length range corresponding to the configuration parameter type in the check parameter.
In one possible implementation manner, the test case includes an up-down power parameter for controlling the corresponding target wireless access point to power up or power down; the configuration module comprises:
The power-on and power-off module is used for controlling the corresponding target wireless access point to be powered on or powered off according to the power-on and power-off parameters so as to simulate the test environment corresponding to the test case; and the power-on and power-off module sends the power-on message or the power-off message of the corresponding target wireless access point to the configuration module.
In one possible implementation manner, the electronic device further includes:
And the performance test module is used for controlling the tested terminal equipment to be connected with the target wireless access point successfully configured to perform Wi-Fi performance test if the configuration success message sent by the configuration module is received.
In one possible implementation manner, the performance test module includes:
The throughput data stream establishing module is used for controlling the tested terminal to establish throughput data stream connection with the target wireless access point which is successfully configured;
the first acquisition submodule is used for acquiring throughput of the test task corresponding to the transmission of the tested terminal equipment;
the storage module is used for packaging the test task and the output throughput data stream corresponding to the test task into a test message packet, and storing the test message packet in a mode corresponding to a test task field;
And the second acquisition sub-module is used for comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to acquire a test result.
In a third aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method provided in the first aspect.
It should be understood that, the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation manner are similar, and are not repeated.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present specification, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of a scenario of an embodiment of the present application;
FIG. 2 is a flow chart of a test configuration method according to an embodiment of the present application;
FIG. 3 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 4 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 5 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 6 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 7 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 8 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 9 is a flow chart of a test configuration method according to another embodiment of the present application;
FIG. 10 is a flow chart of a test configuration method according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 12 is a schematic diagram of a test system according to one embodiment of the present disclosure;
fig. 13 is a schematic structural view of an apparatus according to an embodiment of the present disclosure.
[ Detailed description ] of the invention
For a better understanding of the technical solutions of the present specification, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are only some, but not all, of the embodiments of the present description. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present disclosure.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Referring to fig. 1, terms and concepts related to an embodiment of the present application will be explained first.
Local area network (Local Area Network, LAN): a local area network is an area network formed by interconnecting a plurality of computer devices within a certain area. A local area network is a private network that may be located within or near a building, such as a home, office, or factory. Local area networks may be used to connect computer devices to terminal devices used by users so that the computer devices and the terminal devices used by users can share resources and exchange information. For example, when a local area network is used within a company, the local area network may be referred to as enterprise network 102.
Enterprise network 102 includes computer devices, network connection devices, and network transmission media.
The computer device may be a notebook, personal computer (Personal Computer, PC), server, workstation, or the like. The electronic device 101 according to the embodiment of the present application may be a computer device.
The network connection device may be a network card (Network Interface Controller, NIC), hub, switch, repeater, router, or the like.
The network transmission medium is used to connect the computer device and the network connection device. The network transmission medium may be coaxial cable, twisted pair, fiber optic, and the like.
Wireless local area network (Wireless Local Area Network, WLAN): refers to a local area network that is not connected using any wires or transmission cables. Wireless local area networks use radio electromagnetic waves as a medium for data transmission. The general standard for wireless local area networks is the IEEE 802.11 standard. Illustratively, a Wi-Fi device, wi-Fi module, or Wi-Fi chip can access a wireless local area network.
Wi-Fi: wi-Fi is a trademark of alliance manufacturers, and can also be used as an authentication of products. In the embodiment of the application, wi-Fi is a type of wireless local area network device conforming to the IEEE 802.11 standard. The user can access the wireless local area network through a Wi-Fi module, a Wi-Fi chip, a Wi-Fi device and the like. Wi-Fi modules or chips can operate in either the 2.4G band or the 5G band. The frequency range of the 2.4G frequency band is as follows: 2400-2488 MHz. The frequency range of the 5G frequency band is as follows: 4910-5835 MHz.
A wireless Access Point (AP) and a Station (STA) are disposed in the wireless lan.
Station: may be a device capable of connecting with the wireless access point 104 to access a wireless local area network. The site may be a device with at least a Wi-Fi chip or module deployed.
The station to which the embodiment of the present application relates may refer to the terminal device under test 105. The tested terminal device 105 may be a mobile phone, a tablet computer, an intelligent wearable device, a data acquisition device, an internet of things device, etc. The internet of things device according to the embodiment of the application can be an internet of things device with a Wi-Fi chip or module, such as a POS machine, a vehicle-mounted network terminal, a sensor, a smart meter, a smart home appliance and the like.
Wireless access point 104: an access point of a wireless local area network may be referred to as a hotspot or a wireless access point. The wireless access point 104 is capable of providing access to a wireless local area network for at least one terminal device under test 105. The wireless access point 104 according to the embodiment of the present application may be a device with a Wi-Fi module or Wi-Fi chip, for example, a wireless router, a wireless repeater, a wireless network card, or the like. The wireless access point 104 may also be a cell phone, tablet computer, customer premise equipment (Customer Premise Equipment, CPE), personal computer (Personal Computer, PC), internet of things device, etc.
Channel: may refer to an operating channel of the target wireless access point. The channel includes a center frequency and a bandwidth. For example, see table 1,2.4G frequency bands comprising 14 channels. Each channel has a bandwidth of 22MHz, with an effective channel bandwidth of 20MHz and the remaining 2MHz being used to isolate adjacent channels. The available bandwidth for the 2.4G band is 88MHz, with the center frequency of each channel being spaced 5MHz apart.
TABLE 1 2.4G band channel partitioning
In addition, channels of the 5G band include channels 7 to 196. The bandwidths of the channels of different channel numbers are different. The bandwidth of the 5G band channel may be 20MHz, 40MHz, 80MHz, or 160MHz. The center frequencies and frequency ranges of the partial channels can be seen in table 2.
TABLE 2 5G band channel partitioning
Shield room environment 106: the electromagnetic signal is limited in a certain range of space by utilizing the conductive or magnetic conductive material, so that the electromagnetic signal is prevented from being transmitted to the outside, and meanwhile, the electromagnetic signal interference of the outside is restrained, a relatively blocked space is created, and the shielding effect is further achieved.
Fig. 1 is a schematic diagram of an application scenario in an embodiment of the present application. As shown in fig. 1, embodiments of the present application may be applied within a shielded room environment 106 for Wi-Fi performance testing of a terminal device under test 105. Wi-Fi performance testing to which the present application relates may be referred to as throughput data flow testing.
Throughput data flow test: may be a wireless local area network between the tested terminal device 105 and the wireless access point 104, and the ability to successfully transmit data per unit time may measure Wi-Fi performance of the tested terminal device 105.
It should be appreciated that the throughput data stream to which embodiments of the present application relate may be a set of ordered data sequences having a start byte and an end byte. The throughput data stream includes an input throughput data stream and an output throughput data stream. In the embodiment of the present application, the input throughput data stream may refer to a throughput data sequence sent by the electronic device 101 to the wireless access point 104, where the wireless access point 104 sends to the tested terminal device 105 through the wireless lan. The output throughput data stream may refer to a sequence of throughput data that is successfully received by the terminal device under test 105.
It is to be appreciated that the electronic device 101 can be coupled to the wireless access point 104 for transmitting the throughput data stream to the wireless access point 104.
The wireless access point 104 is wirelessly connected with the tested terminal device 105, so that the tested terminal device 105 receives the input throughput data stream sent by the electronic device 101 through the Wi-Fi module or chip inside the tested terminal device 105, and is further used for testing the Wi-Fi performance of the tested terminal device 105.
The electronic device 101 may be connected to the tested terminal device 105 in a wired manner, for obtaining a throughput data sequence successfully received by the tested terminal device 105, i.e. outputting a throughput data stream. The electronic device 101 may measure Wi-Fi performance of the terminal device under test 105 by inputting the throughput data stream and outputting the throughput data stream.
It should be appreciated that electronic device 101 may be wired to switch 103 through enterprise network 102. Switch 103 may be wired to wireless access point 104.
It should be appreciated that the electronic device 101 may be coupled to at least one wireless access point 104. The electronic device 101 may be connected to at least one terminal device under test 105.
In the related art, in Wi-Fi performance of a tested terminal device, an automatic running software may automatically configure configuration parameters of the wireless access point 104 and automatically input throughput data streams. However, in the process of automatically configuring the wireless access point 104, the automatic running software cannot monitor whether the configuration parameters of the wireless access point are correct, so that the wrong throughput data flow test is executed, and an effective test result cannot be obtained. On the other hand, if the configuration failure occurs due to the abnormality in the automatic configuration process of the wireless access point 104, the automatic running software also lacks a mechanism for coping with the wireless access point configuration failure, and cannot guarantee the stable execution of the Wi-Fi performance test.
Based on the above problems, the embodiment of the present application provides a test configuration method, which can effectively monitor the problems occurring in the configuration process of the wireless access point 104, ensure that the wireless access point 104 is configured successfully, avoid the occurrence of errors in the configuration parameters of the wireless access point 104, and reconfigure the wireless access point 104 through the setting of reconfiguration conditions under the condition of configuration failure, so as to ensure that the Wi-Fi performance test of the tested terminal device 105 is executed stably.
Fig. 2 is a flowchart of a test configuration method according to an embodiment of the present application. As shown in fig. 2, the above test configuration method may be applied to the electronic device 101, where the electronic device 101 is configured to test the tested terminal device 105 through the wireless access point 104, and includes:
Step 201, obtaining test parameters, analyzing the test parameters to obtain test tasks, and calling test cases corresponding to the test tasks through the test tasks.
Alternatively, the test parameters may be sent by the computing terminal device. Such as computers, cell phones, cloud test servers, etc. The computing terminal device is disposed outside of the cage environment 106 or within the cage environment 106. For example, a computing terminal device may communicate with electronic device 101 through enterprise network 102. For another example, the computing terminal device may be communicatively connected to the electronic device 101 through a USB interface, which is not limited by embodiments of the present application.
Alternatively, the test parameter may be a character or a string of characters. The test parameters include at least test task parameters. The test task parameters are used to characterize the character string of the test task. The test task is used to represent the test type of the tested terminal device 105. The test type of the tested terminal device 105 may be a compatibility performance test, a site mode basic performance test, an adjacent channel interference performance test, a preemption performance test, and the like. The test task parameters may be represented by numbers 1,2,3, etc. For example, 1 denotes a compatibility performance test, 2 denotes a site mode basic performance test, 3 denotes a neighbor interference performance test, and 4 denotes a preemption performance test. Test task parameters may also be represented by a, b, c, d, etc., which are not limiting embodiments of the present application.
Alternatively, the compatibility performance test requires two sets of wireless access points 104 to be powered on, and the two sets of wireless access points 104 operate in different frequency bands, e.g., one set of wireless access points 104 operates in the 2.4G frequency band and the other set of wireless access points 104 operates in the 5G frequency band.
Alternatively, the station mode basic performance test may connect a plurality of wireless access points 104 in sequence for testing. For example, one wireless access point 104 is powered up first, wi-Fi performance testing is performed, after the testing is completed, the wireless access point 104 that has been tested is powered down, and then another wireless access point 104 is selected to be powered up for Wi-Fi performance testing.
Alternatively, the adjacent channel interference performance test needs to be performed by simultaneously powering on the wireless access points 104 adjacent to two channels operating in the same frequency band. For example, two powered wireless access points 104 each operate in the 2.4G frequency band, with the channel of one wireless access point 104 set to channel 1 and the channel of the other wireless access point set to channel 6.
Alternatively, the preemption performance test requires that at least two terminal devices under test 105 connect to the same wireless access point 104 for testing.
Optionally, the electronic device 101 parses the test parameters to obtain the test task parameters included in the test parameters. The electronic device 101 may invoke the test case by testing the task parameters.
Alternatively, the test cases may be stored in the electronic device 101 in advance. The test cases may also be sent by the computing terminal device. For example, the computing terminal device may send the test cases and test parameters to the electronic device 101.
It will be appreciated that the Test Case (Test Case) is a description of the Wi-Fi performance Test task performed by the tested terminal device 105. The test cases include documents describing test objectives, test environments, input data, test steps, expected results. The above-mentioned documents may be stored in the form of scripts. The test case may include at least one script.
Script (Script): scripts are executable files written in a specific descriptive language, according to a certain format. When the script is called, the electronic device 101 of the embodiment of the application can compile the script, and further execute the executable program or code generated after the script is compiled.
Alternatively, the electronic device 101 may execute an executable program or code generated after compiling the script in the test case, so as to perform Wi-Fi performance test on the tested terminal device 105.
It can be appreciated that, in the test case, performing Wi-Fi performance test on the tested terminal device 105 at least includes:
Powering on or powering off according to the target wireless access point corresponding to the test task;
configuring a powered-on target wireless access point;
controlling the tested terminal equipment 105 to establish throughput data stream connection with the target wireless access point which is successfully configured;
the output throughput data stream transmitted by the terminal device under test 105 is acquired.
Step 202, configuring the corresponding target wireless access point according to the test case.
Optionally, the target wireless access point is one or more of the at least one wireless access point.
Optionally, the test case includes at least configuration parameters for configuring the target wireless access point. The electronic device 101 may perform the act of configuring the target wireless access point in the test case.
Alternatively, the electronic device 101 may configure the target wireless access point via hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) or hypertext transfer protocol security (Hyper Text Transfer Protocol over Secure Socket Layer, HTTPs).
Optionally, the configuration parameters at least include one or more of login address, management user name, password, frequency band, bandwidth, channel, and encryption mode of the target wireless access point. The login address may be IP (Internet Protocol Address) addresses, such as 192.168.1.1. The management user name and password are used to log in to the target wireless access point. The frequency band may be a 2.4G frequency band or a 5G frequency band.
Alternatively, the encryption may be a wired equivalent privacy protocol (Wired Equivalent Privacy, WEP), a secure wireless computer network security system (Wi-Fi Protected Access, WPA), or the like. WPA may include three standards WPA, WPA2, and WPA 3.
And 203, monitoring whether the configuration of the target wireless access point fails, and if the configuration fails and the reset condition is met, controlling the target wireless access point to restart, and configuring the restarted target wireless access point again according to the test case.
Optionally, the reset condition includes: the current configuration times of the target wireless access point are within a preset configuration threshold.
Optionally, the electronic device 101 is provided with a configuration threshold for each wireless access point within the target wireless access point. The configuration threshold may be preset within the test case. For example, the configuration threshold may be a positive integer value of 1, 2, 3, or more in embodiments of the present application, which are not limited in this regard.
According to the test configuration method, in the process that the electronic equipment 101 automatically configures the target wireless access point according to the test case, whether the target wireless access point is successfully configured is monitored, so that the problem in the configuration of the target wireless access point is found, and under the condition that the configuration of the target wireless access point fails and the reset condition is met, the target wireless access point is controlled to restart and try to configure again instead of discarding the target wireless access point with the failure configuration, so that the interruption of the test process due to the fact that most of the target wireless access points cannot be configured is avoided, and stable test execution is ensured; on the other hand, the automatic configuration efficiency of the target wireless access point is increased, and the probability of manual intervention is reduced.
Fig. 3 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 3, in the embodiment of fig. 2 of the present application, step 203 may include:
in step 301, the number of reconfigurations is read.
Alternatively, the electronic device 101 may determine whether the target wireless access point to be configured is the first time to be configured. If the target wireless access point to be configured is configured for the first time, the electronic device 101 may initialize the number of reconfiguration times of the target wireless access point to zero.
In step 302, it is monitored whether the target wireless access point fails to be configured.
Step 303, if the configuration fails, the number of configurations of the target wireless access point is updated.
Alternatively, updating the number of configurations of the target wireless access point may be increasing the number of configurations of the target wireless access point. The value that increases the number of configurations of the target wireless access point may be a fixed value, such as a positive integer of 1, 2,3, or more.
Step 304, it is determined whether a reset condition is satisfied.
And step 305, if the reset condition is met, the target wireless access point is controlled to be restarted, and the restarted target wireless access point is configured again according to the test case.
And 306, if the reset condition is not met, optionally configuring the wireless access point in the target wireless access point according to the test case.
Alternatively, the electronic device 101 may select a different fixed value depending on the type of target wireless access point configuration failure. For example, the target wireless access point may be given a different number of restarts depending on the type of configuration failure of the target wireless access point.
Since some types of configuration failure of the target wireless access point may not be overcome by restarting the target wireless access point, by setting a higher fixed value, the target wireless access point is prevented from restarting to perform configuration again, and the efficiency of configuration of the target wireless access point is improved.
Optionally, the type of target wireless access point configuration failure may include one or more of the following:
1. The electronic device 101 fails to log in to the target wireless access point;
2. The electronic device 101 target wireless access point sends a configuration request failure;
3. The actual configuration parameters of the target wireless access point are inconsistent with the configuration parameters sent by the electronic device 101.
For example, the electronic device 101 may assign the same fixed value for three configuration failure types, i.e., failure to log in to the target wireless access point, failure to send a configuration request, and inconsistency of the actual configuration parameters of the target access point with the configuration parameters. Or the electronic device 101 may set a higher fixed value for the failure to log in to the target wireless access point and assign a lower fixed value for the failure to send the configuration request and for the inconsistency of the actual configuration parameters of the target access point with the configuration parameters.
Fig. 4 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 4, in the embodiment of fig. 2 or fig. 3 of the present application, monitoring whether the target wireless access point fails to be configured may include:
step 401, determining whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters.
If not, there is a configuration failure, and step 303 is performed. If the configuration is consistent, the configuration is successful.
Alternatively, the electronic device 101 may grab the configuration completion parameters page of the target wireless access point. The electronic device 101 may parse the configuration parameter page to obtain actual configuration parameters of the target wireless access point. For example, the electronic device may obtain actual configuration parameters of different frequency bands through BeautifulSoup library, compare the obtained actual configuration parameters with the configuration parameters transferred by the electronic device 101, and determine whether the obtained actual configuration parameters are consistent.
The existing automatic running software cannot monitor whether the configuration parameters of the target wireless access point are correct, so that wrong throughput data flow test is executed, and an effective test result cannot be obtained. The test configuration method provided by the embodiment of the application includes the case that the configuration parameters after the configuration of the monitoring target wireless access point are inconsistent with the configuration parameters sent by the electronic equipment 101 when the monitoring target wireless access point fails in configuration, so that the electronic equipment 101 is ensured to configure the parameters correctly when the target wireless access point is configured automatically, and the validity of the test result is improved.
Fig. 5 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 5, in the embodiment of fig. 4 of the present application, before determining whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters, the method may include:
step 501, determining whether the electronic device successfully logs in to the target wireless access point, if so, the configuration failure exists.
Optionally, the electronic device 101 may transmit the management username and password in the configuration parameters to the target wireless access point by creating a call-back object and adopting a POST request in HTTP or HTTPs to complete the login of the target wireless access point.
Optionally, if the electronic device 101 receives the login failure parameter returned by the target wireless access point, it is determined that the electronic device 101 fails to login.
Optionally, if the electronic device 101 receives the login success parameter returned by the target wireless access point, it is determined that the login of the electronic device 101 is successful.
Alternatively, if the electronic device 101 logs in successfully, the configuration is successful.
Step 502, after the electronic device successfully logs in to the target wireless access point, judging whether the configuration request is successfully sent to the target wireless access point, if so, the configuration failure exists.
Optionally, if the transmission is successful, step 401 is performed.
Optionally, after the electronic device 101 sends the configuration request to the target wireless access point, the electronic device 101 may receive a status code returned by the target wireless access point. The electronic device 101 may determine whether the request was successful via the status code.
In the HTTP or HTTPs transport protocol, the electronic device 101 may receive the HTTP status code returned by the target wireless access point. For example, status code 100 indicates that the requestor continues to make requests. Status code 200 indicates that the request was successful. Status code 400 represents a syntax that the target wireless access point does not understand the request. Status code 403 indicates that the target wireless access point refuses the request.
Fig. 6 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 6, in any of the embodiments shown in fig. 2 to 5, the test configuration method further includes:
In step 601, inspection parameters are obtained.
Alternatively, the inspection parameters may be sent by the computing terminal device. The computing terminal device may be a computer, a mobile phone, a cloud test server, etc.
Optionally, the test case includes inspection parameters therein.
As shown in fig. 6, in any embodiment of fig. 2 and fig. 5, after step 201, the method further includes:
Step 602, checking whether the configuration parameters are correct according to the obtained checking parameters.
If not, terminating the test configuration method;
If so, step 202 is performed.
The embodiment of the application can find whether the configuration parameters are reasonable or not before configuring the target wireless access point by checking whether the configuration parameters are correct or not, namely, verify the rationality of the test case, if the test case is unreasonable, the acquired Wi-Fi performance test result is not effective even if the configuration of the target wireless access point is successful, and further improve the effectiveness of the automatic Wi-Fi performance test of the tested terminal equipment 105.
Optionally, the configuration parameters include a check type parameter and a character of the configuration parameters of the target wireless access point. The check type parameters include a first check type parameter and a second check type parameter. The first check type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type of discrete value. The second check-up type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type with the character length between the intervals.
Illustratively, a first check type may be denoted by 1 and a second check type may be denoted by 2.
Fig. 7 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 7, in the embodiment of the present application shown in fig. 6, step 602 includes:
step 701, reading a check type parameter in the configuration parameters.
Step 702, if the check type parameter corresponds to the first check type parameter, determining whether the character of the configuration parameter is equal to the character of the corresponding configuration parameter type in the check parameter. If the character of the configuration parameter is equal to the character of the corresponding configuration parameter type in the checking parameter, the result of the configuration parameter checking is correct. If the character of the configuration parameter is not equal to the character of the corresponding configuration parameter type in the checking parameter, the result of the configuration parameter checking is incorrect.
For example, regarding the channel parameters in the configuration parameters, the channel numbers of the channels need to be represented, the channel numbers in the 2.4G frequency band are positive integers of 1-14, and if the characters of the configuration parameters are decimal, the result of the configuration parameter verification is incorrect; if the character of the configuration parameter is 15, the result of the configuration parameter verification is incorrect.
In step 703, if the check type parameter corresponds to the second check type parameter, it is determined whether the character length of the configuration parameter is within the character length range of the corresponding configuration parameter type in the check parameter. If the character length of the configuration parameter is within the character length range of the corresponding configuration parameter type in the checking parameter, the result of the configuration parameter checking is correct. If the character length of the configuration parameter is not in the character length range of the corresponding configuration parameter type in the checking parameter, the checking result of the configuration parameter is incorrect.
Illustratively, the service set identifier (SERVICE SET IDENTIFIER, SSID) of the target wireless access point is a maximum of 32-bit characters in length, and if the character length of the configuration parameter exceeds 32-bit characters, the verification result of the configuration parameter is incorrect.
Optionally, if the verification result of the configuration parameter is incorrect, the test configuration method is terminated.
Alternatively, if the verification result of the configuration parameter is correct, step 202 is performed.
According to the embodiment of the application, through the verification mode, the configuration parameters can be checked reasonably through the two verification types, and the failure of the function of the target wireless access point caused by transmission error parameters is avoided.
Optionally, the test case includes a power-on and power-off parameter for controlling the corresponding target wireless access point to power on or power off.
Optionally, the test parameters further include IP address parameters representing the wireless access point 104.
Optionally, the electronic device 101 may obtain the IP address parameter after analyzing the test parameter, and may obtain the LAN port address of the wireless access point 104 according to the IP address parameter. The electronic device 101 may log into the wireless access point 104 according to the LAN port address.
Alternatively, the electronic device 101 may control the wireless access point 104 to power up or power down depending on the LAN port address. For example, the electronic device 101 controls the wireless access point 104 to be powered on or powered off through a network relay within the switch 103 according to the LAN port address.
It should be appreciated that the electronic device 101 may control the wireless access point 104 to restart through the network relay of the switch 103 based on the LAN port address.
Fig. 8 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 8, in any of the embodiments of fig. 2 to 7, step 202 of configuring a corresponding target wireless access point according to a test case includes:
step 801, power-on or power-off of a corresponding target wireless access point is controlled according to the power-on and power-off parameters, so as to simulate a test environment corresponding to the test case.
Optionally, the test environments corresponding to the test cases include a compatibility performance test environment, a site mode basic performance test environment, an adjacent channel interference performance test environment, a preemption performance test environment, and the like.
For example, the compatibility performance test environment may be a target wireless access point with two different frequency bands powered on according to the power-on and power-off parameters and the IP address parameters, for example, the 2.4G frequency band and the 5G frequency band, so that only one set of target wireless access points with the same frequency band exists in the shielding room environment 106. The number of target wireless access points per group may be one or more.
Illustratively, the site mode basic performance test environment may power up a designated target wireless access point based on the power up and power down parameters and the IP address parameters.
For example, the adjacent channel interference performance test environment may power up two target wireless access points operating in the same frequency band according to the power-up parameter and the IP address parameter. The channels of the two target wireless access points are adjacent. Taking the 2.4 band as an example, the channel neighbors may be channel 1 and channel 6, or channel 6 and channel 11.
Optionally, the test parameters further include a terminal device serial number parameter under test for distinguishing the terminal device under test 105. The tested terminal device serial number parameter may identify the tested terminal device 105, and illustratively, the tested terminal device serial number parameter may be a product serial number, or a MAC address, of the tested terminal device 105, which is not limited by the embodiment of the present application.
Alternatively, the preemption capability test environment may power up a designated one of the target wireless access points based on the power-up parameters and the IP address.
Alternatively, the electronic device 101 may control at least two tested terminal devices 105 to connect with a specified one of the target wireless access points for preemption performance testing.
Step 802, configuring the corresponding target wireless access point powered on according to the test case.
According to the embodiment of the application, through the power-on parameters and the test parameters, the test environments of different test tasks can be simulated, the diversity of the test tasks is improved, and the Wi-Fi performance test of the tested terminal equipment 105 is more comprehensive.
Fig. 9 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 9, in the embodiment of fig. 2 to 8, whether the configuration of the target wireless access point fails is monitored, if the configuration fails and the reset condition is satisfied, the target wireless access point is controlled to restart, and the restarted target wireless access point is configured again according to the test case, and further includes:
And step 901, if the configuration is successful, controlling the tested terminal equipment to connect with the target wireless access point successfully configured to perform Wi-Fi performance test.
Alternatively, embodiments of the present application may be tested by a throughput data testing tool, such as an iperf network performance testing tool, or an IxChariot network performance testing tool. Other network performance testing tools may also be employed with embodiments of the present application, which are not limited in this regard.
Fig. 10 is a flowchart of a test configuration method according to another embodiment of the present application. As shown in fig. 10, in the embodiment of fig. 9 of the present application, step 901 may include:
In step 1001, the tested terminal is controlled to establish throughput data stream connection with the target wireless access point which is successfully configured.
Alternatively, the electronic device 101 sends a connection instruction to the tested terminal device 105 according to the tested terminal device serial number parameter among the test parameters. The tested terminal equipment 105 executes the connection instruction to establish wireless connection with the target wireless access point which is successfully configured.
Optionally, the connection instruction includes at least an SSID, an encryption mode, and a password of the target wireless access point.
Optionally, after the tested terminal device 105 obtains the connection instruction, a nearby Wi-Fi signal list is obtained, and a successfully configured target wireless access point is requested to be connected according to the SSID.
Optionally, after the connection is successful, the electronic device 101 performs throughput data flow testing using the network performance testing tool.
For example, the test throughput data flow test may be that the electronic device 101 obtains an IP address of the tested terminal device 105 connected to the target wireless access point configured successfully, and runs a network performance test tool pre-installed by the tested terminal device 105. During the test, the tested terminal device 105 is started to be a client of the network performance testing tool, the electronic device 101 runs a server of the network performance testing tool, and then the throughput data flow test is performed. When the test is running, the electronic device 101 starts up as a client of the network performance testing tool, the tested terminal device 105 runs a server of the network performance testing tool, and then the throughput data stream test is performed.
It should be appreciated that the electronic device 101 and the terminal device under test 105 need to have network performance testing tools installed before Wi-Fi performance testing can be performed.
It can be appreciated that the embodiment of the application can be applied to Wi-Fi performance automatic testing of electronic products supporting Wi-Fi functions, such as terminal mobile phones, watches, POS machines, internet of things equipment and the like. The Wi-Fi connection method of step 1001 of the present application is different for different types of terminal devices 105 under test. In practice, for the tested terminal device 105 deployed with the Android system, an automatic test can be performed by calling an interface provided by an Android system application program framework layer, or an interface automatic operation can be realized by using a UIA framework method. Aiming AT the tested terminal equipment 105 without an interface or in the type of the Internet of things, a serial port AT command issuing mode can be used for realizing Wi-Fi signal scanning and connecting with a target wireless access point, so that throughput performance testing is completed.
Step 1002, obtaining an output throughput data stream of a corresponding test task transmitted by a tested terminal device.
Alternatively, the electronic device 101 may obtain the output throughput data stream at regular intervals. The fixed time interval may be 1s, 2s, 3s, or the like, which is not limited by the embodiment of the present application.
Step 1003, packaging the test task and the output throughput data stream corresponding to the test task into a test message packet, and storing the test message packet according to the mode corresponding to the test task field.
Optionally, the electronic device 101 may encapsulate the output throughput data stream of the corresponding test task acquired at a fixed interval as a test message packet.
Optionally, the test message includes a test type corresponding to the test task, a configuration parameter of the target wireless access point, a serial number parameter of the tested terminal device 105, project version information, and an output throughput data stream. The project version information may be version information of a network performance testing tool.
According to the embodiment of the application, the Wi-Fi performance test data corresponding to different test tasks can be stored in a mode of correspondingly storing the relevant fields of the test tasks and the output throughput data streams corresponding to the relevant fields, so that the data backup is uniform, and the searching efficiency is improved.
And step 1004, comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to obtain a test result.
Alternatively, the electronic device 101 may store the relevant fields of the test tasks in the test message and the output throughput data streams corresponding to the relevant fields in a database.
Alternatively, the output throughput data stream corresponding to the relevant field may be an output throughput data stream acquired at a fixed interval.
Optionally, the electronic device 101 may also store an average value of the output throughput data stream acquired at a fixed interval within the preset time. The preset time may be 60s, 90s or 120s, which is not limited in the embodiment of the present application.
Alternatively, the electronic device 101 may compare the average value of the output throughput data stream acquired at a fixed interval within the stored preset time with the comparative output throughput data stream to acquire the test result.
For example, if the difference between the average value of the output throughput data streams obtained at fixed intervals within the preset time and the compared output throughput data stream is within 5%, the Wi-Fi performance test result of the tested terminal device 105 is passed. If the difference between the average value of the output throughput data stream obtained at the fixed interval time within the preset time and the compared output throughput data stream exceeds 5%, the Wi-Fi performance test result of the tested terminal device 105 is failure.
Alternatively, the comparative output throughput data stream may be an average value of the output throughput data stream output by the comparative test terminal device for a preset time.
Alternatively, the electronic device 101 may read the output throughput data stream acquired at regular intervals in the database to form a visual pattern.
The embodiment of the application can visually display the output throughput data stream of the tested terminal equipment 105 stored in the database, so that a tester can check whether the throughput data stream has pit dropping and Wi-Fi performance stability.
It should be understood that a pit drop may refer to the terminal device under test 105 not transmitting an output throughput data stream to the electronic device 101 for some interval.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 11, the electronic device 101 is connected to at least one wireless access point 104 and at least one terminal device under test 105, and the electronic device 101 is configured to test the terminal device under test 105 through the wireless access point 104. The electronic device 101 includes: an acquisition module 111 and a configuration module 112.
The acquisition module is used for acquiring the test parameters, analyzing the test parameters to acquire a test task, and calling the test cases corresponding to the test task through the test task.
The configuration module is used for configuring the corresponding target wireless access points according to the test cases, wherein the target wireless access points are one or more wireless access points in the at least one wireless access point.
The configuration module is also used for monitoring whether the configuration of the target wireless access point fails, if the configuration fails and the reset condition is met, the target wireless access point is controlled to restart, and the target wireless access point after restarting is configured again according to the test case.
Optionally, the configuration module is further configured to update the number of times of configuration of the target wireless access point if the configuration of the target wireless access point fails.
Optionally, the reset condition includes:
the current configuration times of the target wireless access point are within a preset configuration threshold.
Optionally, the configuration module includes:
the first monitoring module is used for judging whether the electronic equipment successfully logs in the target wireless access point, and if the login fails, the configuration fails;
and the second monitoring module is used for judging whether the configuration request is successfully sent to the target wireless access point after the electronic equipment successfully logs in the target wireless access point, and if the configuration request is successfully sent, the configuration failure exists.
Optionally, the test case includes configuration parameters for configuring the target wireless access point.
Optionally, the configuration module further includes a third monitoring module, where the third monitoring module is configured to determine whether the actual configuration parameter of the target wireless access point is consistent with the configuration parameter, and if not, there is a configuration failure.
Optionally, the obtaining module is further configured to obtain an inspection parameter.
Optionally, the acquiring module includes:
And the verification sub-module is used for verifying whether the configuration parameters are correct according to the obtained checking parameters. If not, the verification sub-module does not transmit the test case to the configuration module. If the test case is correct, the verification sub-module transmits the test case to the configuration module.
Optionally, the configuration parameters include a check type parameter and a character of the configuration parameters of the target wireless access point.
Optionally, the check type parameter includes a first check type parameter and a second check type parameter. The first check type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type of discrete value. The second check-up type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type with the character length between the intervals.
Optionally, the verification sub-module reads the verification type parameter in the configuration parameters.
If the check type parameter corresponds to the first check type parameter, the check sub-module judges whether the character of the configuration parameter is equal to the character of the corresponding configuration parameter type in the check parameter.
If the check type parameter corresponds to the second check type parameter, the check sub-module judges whether the character length of the configuration parameter is within the character length range of the corresponding configuration parameter type in the check parameter.
Optionally, the test case includes a power-on and power-off parameter for controlling the corresponding target wireless access point to power on or power off.
Optionally, the configuration module includes:
The power-on and power-off module is used for controlling the corresponding target wireless access point to power on or power off according to the power-on and power-off parameters so as to simulate the test environment corresponding to the test case;
And the power-on and power-off module sends the power-on message or the power-off message of the corresponding target wireless access point to the configuration module.
Optionally, the electronic device further includes:
and the performance test module is used for controlling the tested terminal equipment to connect with the target wireless access point successfully configured to perform Wi-Fi performance test if the configuration success message sent by the configuration module is received.
Optionally, the performance test module includes:
The throughput data stream establishing module is used for controlling the tested terminal to establish throughput data stream connection with the target wireless access point which is successfully configured;
The first acquisition sub-module is used for acquiring throughput of a corresponding test task transmitted by the tested terminal equipment;
the storage module is used for packaging the test tasks and the output throughput data streams corresponding to the test tasks into test message packets and storing the test message packets in a mode corresponding to the test task fields;
And the second acquisition sub-module is used for comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to acquire a test result.
The embodiment shown in fig. 11 provides an electronic device 101 that may be used to implement the technical solutions of the method embodiments shown in fig. 2 to fig. 10 in the present specification, and the implementation principles and technical effects may be further referred to in the related descriptions of the method embodiments.
Fig. 12 is a schematic structural diagram of a test system according to an embodiment of the present disclosure. As shown in fig. 12, the test system includes: an electronic device 101, a wireless access point 104, and a server 121. As shown in fig. 1, the test system shown in fig. 12 may be disposed within a shielded room environment 106. Optionally, the server 121 may also be located outside the shielded room environment 106.
The test system is used for testing the tested terminal device 105. The electronic device 101 is connected to at least one wireless access point 104 and at least one terminal device under test 105, respectively.
The electronic device 101 is configured to test the terminal device under test 105 through the wireless access point 104.
The electronic device 101 is configured to upload a test message packet obtained by testing the tested terminal device 105 to the server 121.
It can be appreciated that the electronic device 101 provided in the embodiment shown in fig. 12 may be used to implement the technical solutions of the method embodiments shown in fig. 2 to 9 in the present specification, and the principle and technical effects thereof may be further referred to the related descriptions in the method embodiments, which are not repeated herein.
The server 121 is configured to parse the test message packet uploaded by the electronic device 101, and store the test message packet in a manner corresponding to the test task field.
Optionally, server 121 receives test message packets uploaded by electronic device 101 in real time.
Optionally, the server 121 parses the test message packet uploaded by the electronic device 101 to obtain a field corresponding to the test task.
According to the embodiment of the application, the Wi-Fi performance test data corresponding to different test tasks can be stored in a mode of correspondingly storing the relevant fields of the test tasks and the output throughput data streams corresponding to the relevant fields, so that the data backup is uniform, and the searching efficiency is improved.
Optionally, the server 121 is configured to compare the output throughput data stream in the test message packet with the comparative output throughput data stream to obtain a test result.
Alternatively, server 121 may store the relevant fields of the test tasks in the test message and the output throughput data streams corresponding to the relevant fields in a database.
Alternatively, the output throughput data stream corresponding to the relevant field may be an output throughput data stream acquired at a fixed interval.
Optionally, the server 121 may also store an average value of the output throughput data stream acquired at a fixed interval within the preset time. The preset time may be 60s, 90s or 120s, which is not limited in the embodiment of the present application.
Alternatively, the server 121 may compare the average value of the output throughput data stream acquired at a fixed interval within the stored preset time with the comparative output throughput data stream to acquire the test result.
For example, if the difference between the average value of the output throughput data streams obtained at fixed intervals within the preset time and the compared output throughput data stream is within 5%, the Wi-Fi performance test result of the tested terminal device 105 is passed. If the difference between the average value of the output throughput data stream obtained at the fixed interval time within the preset time and the compared output throughput data stream exceeds 5%, the Wi-Fi performance test result of the tested terminal device 105 is failure.
Alternatively, the comparative output throughput data stream may be an average value of the output throughput data stream output by the comparative test terminal device for a preset time.
Alternatively, the server 121 may read output throughput data streams acquired at regular intervals in the database to form a visualization.
The embodiment of the application can visually display the output throughput data stream of the tested terminal equipment 105 stored in the database, so that a tester can check whether the throughput data stream has pit dropping and Wi-Fi performance stability.
It should be understood that a pit drop may refer to the terminal device under test 105 not transmitting an output throughput data stream to the electronic device 101 for some interval.
Fig. 13 is a schematic structural view of an apparatus according to an embodiment of the present disclosure. As shown in fig. 13, the electronic device 101 may include at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, which can be invoked by the processor to perform the test configuration methods provided in the embodiments shown in fig. 2 to 10 of the present specification.
The terminal device may be a computer device such as a computer, a notebook computer, or a server, and the form of the terminal device is not limited in this embodiment.
As shown in fig. 13, the electronic device 101 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna, a wireless communication module 160, a display 194, and the like.
It is understood that the wireless communication module 160 is capable of accessing a wireless local area network.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 101. In other embodiments of the application, the electronic device 101 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), and/or a neural-network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The processor 110 executes various functional applications and data processing by running programs stored in the internal memory 121, for example, implementing the test configuration method provided in the embodiment shown in fig. 2 to 10 of the present application.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 101. The charging management module 140 may also be configured to provide power to the electronic device 101 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 101 may be implemented by the antenna and wireless communication module 160.
The antenna is used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 101 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antennas may be multiplexed into diversity antennas of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied on the electronic device 101. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via an antenna.
In some embodiments, the antenna of the electronic device 101 and the wireless communication module 160 are coupled such that the electronic device 101 may communicate with a network and other devices through wireless communication techniques. The wireless communication technology may include BT, WLAN, NFC, and/or IR technologies, among others.
The electronic device 101 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 101 may include 1 or N display screens 194, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 101 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the electronic device 101 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 101. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 101 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 101 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
Embodiments of the present application provide a non-transitory computer readable storage medium storing computer instructions that cause a computer to execute the test configuration method provided by the embodiments shown in fig. 2 to 10 of the present specification.
The non-transitory computer readable storage media described above may employ any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (erasable programmable read only memory, EPROM) or flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present specification may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (local area network, LAN) or a wide area network (wide area network, WAN), or may be connected to an external computer (e.g., through the internet using an internet service provider).
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the description of embodiments of the present invention, a description of reference to the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present specification, the meaning of "plurality" means at least two, for example, two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present specification in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present specification.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, the terminal according to the embodiment of the present application may include, but is not limited to, a personal computer (personal computer, PC), a Personal Digital Assistant (PDA), a wireless handheld device, a tablet computer (tablet computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present specification may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods described in the embodiments of the present specification. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk, or an optical disk, etc.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (16)

1. The test configuration method is characterized by being applied to electronic equipment, wherein the electronic equipment is respectively connected with at least one wireless access point and at least one tested terminal equipment, and the electronic equipment is used for testing the tested terminal equipment through the wireless access point and comprises the following steps:
Obtaining test parameters, analyzing the test parameters to obtain a test task, and calling a test case corresponding to the test task through the test task;
Configuring a corresponding target wireless access point according to the test case, wherein the target wireless access point is one or more wireless access points in the at least one wireless access point;
Monitoring whether the configuration of the target wireless access point fails, if the configuration fails and the reset condition is met, controlling the target wireless access point to restart, and configuring the restarted target wireless access point again according to the test case;
if the target wireless access point configuration fails, the method further comprises:
updating the configuration times of the target wireless access point;
the reset condition includes:
the current configuration times of the target wireless access point are within a preset configuration threshold;
After the target wireless access point after restarting is configured again according to the test case, the method further comprises:
and if the configuration is successful, controlling the target wireless access point which is successfully connected with the tested terminal equipment to perform Wi-Fi performance test.
2. The method of claim 1, wherein the monitoring whether the target wireless access point fails to configure comprises:
judging whether the electronic equipment successfully logs in the target wireless access point, if so, judging that the configuration fails;
Or after the electronic equipment successfully logs in the target wireless access point, judging whether the configuration request is successfully sent to the target wireless access point, and if the configuration request is successfully sent, the configuration failure exists.
3. The method of claim 1, wherein the test case includes configuration parameters for configuring the target wireless access point;
the monitoring whether the target wireless access point fails to be configured comprises:
judging whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters or not;
If not, the configuration failure exists.
4. A method according to any of claims 1-3, wherein the test case comprises configuration parameters for configuring the target wireless access point, the method further comprising:
Obtaining inspection parameters;
After the test case corresponding to the test task is called by the test task, the method further comprises the following steps:
checking whether the configuration parameters are correct according to the obtained checking parameters;
if not, terminating the test configuration method;
And if the test case is correct, configuring the corresponding target wireless access point according to the test case.
5. The method of claim 4, wherein the configuration parameters include a check type parameter and a character of the configuration parameters of the target wireless access point;
The parity type parameters include a first parity type parameter and a second parity type parameter,
The first check type parameter is used to characterize that the character of the configuration parameter of the target wireless access point belongs to the type of discrete value,
The second checking type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type with the character length between the intervals;
The checking whether the configuration parameters are correct according to the obtained checking parameters comprises the following steps:
If the check type parameter corresponds to the first check type parameter, judging whether the character of the configuration parameter is equal to the character corresponding to the configuration parameter type in the check parameter;
if the check type parameter corresponds to the second check type parameter, judging whether the character length of the configuration parameter is within the character length range corresponding to the configuration parameter type in the check parameter.
6. A method according to any of claims 1-3, wherein the test case includes a power-up and power-down parameter for controlling power-up or power-down of the corresponding target wireless access point, and the configuring the corresponding target wireless access point according to the test case includes:
Controlling the corresponding target wireless access point to be electrified or electrified according to the electrification parameters and the electrification parameters so as to simulate a test environment corresponding to the test case;
And configuring the corresponding target wireless access point which is electrified according to the test case.
7. The method according to claim 1, wherein if the configuration is successful, controlling the target wireless access point for which the tested terminal device connection configuration is successful to perform Wi-Fi performance test comprises:
controlling the tested terminal to establish throughput data stream connection with the target wireless access point which is successfully configured;
Acquiring an output throughput data stream which is transmitted by the tested terminal equipment and corresponds to the test task;
packaging the test task and the output throughput data stream corresponding to the test task into a test message packet, and storing the test message packet in a mode corresponding to a test task field;
and comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to obtain a test result.
8. An electronic device, wherein the electronic device is connected to at least one wireless access point and at least one terminal device under test, respectively, and the electronic device is configured to test the terminal device under test through the wireless access point, and includes:
The acquisition module is used for acquiring test parameters, analyzing the test parameters to acquire a test task, and calling a test case corresponding to the test task through the test task;
The configuration module is used for configuring corresponding target wireless access points according to the test cases, wherein the target wireless access points are one or more wireless access points in the at least one wireless access point;
the configuration module is further configured to monitor whether the configuration of the target wireless access point fails, if the configuration fails and the reset condition is met, control the target wireless access point to restart, and reconfigure the restarted target wireless access point according to the test case;
The configuration module is further configured to update the number of times of configuration of the target wireless access point if the configuration of the target wireless access point fails;
the reset condition includes:
the current configuration times of the target wireless access point are within a preset configuration threshold;
the electronic device further includes:
And the performance test module is used for controlling the tested terminal equipment to be connected with the target wireless access point successfully configured to perform Wi-Fi performance test if the configuration success message sent by the configuration module is received.
9. The electronic device of claim 8, wherein the configuration module comprises:
The first monitoring module is used for judging whether the electronic equipment successfully logs in the target wireless access point or not, and if the login fails, the configuration fails;
And the second monitoring module is used for judging whether the configuration request is successfully sent to the target wireless access point after the electronic equipment successfully logs in the target wireless access point, and if the configuration request is failed to be sent, the configuration failure exists.
10. The electronic device of claim 8, wherein the test case includes configuration parameters for configuring the target wireless access point;
The configuration module further comprises a third monitoring module, wherein the third monitoring module is used for judging whether the actual configuration parameters of the target wireless access point are consistent with the configuration parameters, and if not, the configuration failure exists.
11. The electronic device of any of claims 8-10, wherein the test case includes configuration parameters for configuring the target wireless access point;
the acquisition module is also used for acquiring inspection parameters;
The acquisition module further comprises:
the checking sub-module is used for checking whether the configuration parameters are correct according to the obtained checking parameters;
Wherein:
If not, the verification sub-module does not transmit the test case to the configuration module;
And if the test case is correct, the verification sub-module transmits the test case to the configuration module.
12. The electronic device of claim 11, wherein the configuration parameters include a check type parameter and characters of configuration parameters of the target wireless access point;
The parity type parameters include a first parity type parameter and a second parity type parameter,
The first check type parameter is used to characterize that the character of the configuration parameter of the target wireless access point belongs to the type of discrete value,
The second checking type parameter is used for representing that the character of the configuration parameter of the target wireless access point belongs to the type with the character length between the intervals;
Wherein:
if the check type parameter corresponds to the first check type parameter, the check submodule judges whether the character of the configuration parameter is equal to the character corresponding to the configuration parameter type in the check parameter;
and if the check type parameter corresponds to the second check type parameter, the check submodule judges whether the character length of the configuration parameter is in the character length range corresponding to the configuration parameter type in the check parameter.
13. The electronic device of any of claims 8-10, wherein the test case includes a power-up and power-down parameter for controlling power-up or power-down of the corresponding target wireless access point;
The configuration module comprises:
the power-on and power-off module is used for controlling the corresponding target wireless access point to be powered on or powered off according to the power-on and power-off parameters so as to simulate the test environment corresponding to the test case;
and the power-on and power-off module sends the power-on message or the power-off message of the corresponding target wireless access point to the configuration module.
14. The electronic device of claim 8, wherein the performance testing module comprises:
The throughput data stream establishing module is used for controlling the tested terminal to establish throughput data stream connection with the target wireless access point which is successfully configured;
the first acquisition submodule is used for acquiring throughput of the test task corresponding to the transmission of the tested terminal equipment;
the storage module is used for packaging the test task and the output throughput data stream corresponding to the test task into a test message packet, and storing the test message packet in a mode corresponding to a test task field;
And the second acquisition sub-module is used for comparing the output throughput data flow in the test message packet with the comparison output throughput data flow to acquire a test result.
15. An electronic device, comprising:
at least one processor; and
At least one memory communicatively coupled to the processor, wherein:
The memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-7.
16. A non-transitory computer readable storage medium storing computer instructions that cause the computer to perform the method of any one of claims 1 to 7.
CN202111066912.5A 2021-09-13 2021-09-13 Test configuration method, electronic equipment and storage medium Active CN113742236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111066912.5A CN113742236B (en) 2021-09-13 2021-09-13 Test configuration method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111066912.5A CN113742236B (en) 2021-09-13 2021-09-13 Test configuration method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113742236A CN113742236A (en) 2021-12-03
CN113742236B true CN113742236B (en) 2024-06-04

Family

ID=78738219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111066912.5A Active CN113742236B (en) 2021-09-13 2021-09-13 Test configuration method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113742236B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222320A (en) * 2021-12-16 2022-03-22 展讯通信(上海)有限公司 Method, device, apparatus, storage medium, and program for testing communication device
CN113985321B (en) * 2021-12-27 2022-04-05 成都万创科技股份有限公司 Cable connection performance testing device and method with intelligent self-learning capability

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039480A (en) * 2018-08-03 2018-12-18 广州蓝豹智能科技有限公司 A kind of WIFI test method, device, terminal and storage medium
CN111130929A (en) * 2019-12-12 2020-05-08 深圳市兆驰通信技术有限公司 Method and system for automatically testing WIFI throughput
CN111563042A (en) * 2020-05-09 2020-08-21 中国科学院微电子研究所 Wireless performance test system and method applied to Wi-Fi5 chip
CN111787555A (en) * 2020-06-30 2020-10-16 展讯通信(上海)有限公司 Method and equipment for testing intelligent terminal
CN112333019A (en) * 2020-10-30 2021-02-05 展讯半导体(成都)有限公司 Router configuration and test method and system and readable storage medium
CN112437463A (en) * 2020-11-24 2021-03-02 展讯半导体(成都)有限公司 Terminal Wi-Fi compatibility automatic test method, device, system, equipment and medium
CN113038499A (en) * 2021-04-22 2021-06-25 紫光展锐(重庆)科技有限公司 Terminal Wi-Fi compatibility testing method, device, system, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190215729A1 (en) * 2018-03-15 2019-07-11 Intel Corporation Session description protocol mechanisms for signaling radio access network capabilities in multimedia telephony sessions

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039480A (en) * 2018-08-03 2018-12-18 广州蓝豹智能科技有限公司 A kind of WIFI test method, device, terminal and storage medium
CN111130929A (en) * 2019-12-12 2020-05-08 深圳市兆驰通信技术有限公司 Method and system for automatically testing WIFI throughput
CN111563042A (en) * 2020-05-09 2020-08-21 中国科学院微电子研究所 Wireless performance test system and method applied to Wi-Fi5 chip
CN111787555A (en) * 2020-06-30 2020-10-16 展讯通信(上海)有限公司 Method and equipment for testing intelligent terminal
CN112333019A (en) * 2020-10-30 2021-02-05 展讯半导体(成都)有限公司 Router configuration and test method and system and readable storage medium
CN112437463A (en) * 2020-11-24 2021-03-02 展讯半导体(成都)有限公司 Terminal Wi-Fi compatibility automatic test method, device, system, equipment and medium
CN113038499A (en) * 2021-04-22 2021-06-25 紫光展锐(重庆)科技有限公司 Terminal Wi-Fi compatibility testing method, device, system, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Pattern reconfigurable antennas for passive motion detection: WiFi test-bed and first studies;Stefano Savazzi等;《2019 IEEE 30th Annual International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC)》;20191121;第1-6页 *
基于场景还原的无线接入路由器测试系统的设计与实现;张扬;《cnki优秀硕士学位论文全文库 信息科技辑》;20180415(第04期);第I136-568页 *

Also Published As

Publication number Publication date
CN113742236A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
US10609575B2 (en) Method and apparatus for monitoring and adjusting multiple communication services at a venue
CN113742236B (en) Test configuration method, electronic equipment and storage medium
CN110032512B (en) Debugging method of small program, related equipment and terminal
EP2757738A2 (en) Communication management system, relay device, communication control system, communication system, communication method, and carrier means storing comunication control program
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
CN108055688A (en) A kind of distribution method and device for intelligent display device, terminal device
CN113553257B (en) Test method, device, storage medium and electronic equipment
CN109522198A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of application program
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
US11570274B1 (en) Systems for exchange of data between remote devices
US11659366B1 (en) Method and system for sensing-data collection and transport from Minimization-of-Drive Tests device
CN114221866A (en) Method, device and medium for upgrading terminal
CN108090024B (en) Ad hoc network module bottom layer driving development device based on LC1860 chip
CN114390574B (en) Wireless network throughput test method, device and computer readable storage medium
CN113391931B (en) Remote control method and device based on Bluetooth, computer equipment and storage medium
US11416383B1 (en) Systems for remote communication with test devices
CN112769845B (en) Vulnerability testing method and device, electronic device and computer equipment
CN110650071B (en) Access management method and device of user equipment and management server
CN104427539B (en) Determine the method and gateway device of gateway status
CN114745759B (en) Method and device for determining resident cell, storage medium and electronic equipment
CN118093444B (en) Test method, test device, electronic equipment and storage medium
CN114124691B (en) Equipment deployment method and device
CN115001549B (en) Terminal performance detection system and method
CN116367177A (en) Wireless grid network equipment configuration method, device, electronic equipment and medium
CN117896752A (en) Analysis method and device of base station hardware relationship, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant