CN103533572A - WIFI performance automation testing method and device - Google Patents
WIFI performance automation testing method and device Download PDFInfo
- Publication number
- CN103533572A CN103533572A CN201310506792.5A CN201310506792A CN103533572A CN 103533572 A CN103533572 A CN 103533572A CN 201310506792 A CN201310506792 A CN 201310506792A CN 103533572 A CN103533572 A CN 103533572A
- Authority
- CN
- China
- Prior art keywords
- wifi
- test
- control command
- tester
- testing
- 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.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a WIFI (Wireless Fidelity) performance automation testing method and a device. The method is accomplished by establishing a function module frame and controlling a computer system by computer program instructions, and the computer program instructions are stored in a computer readable storage medium. The method is applied to a WIFI performance testing system, wherein the WIFI performance testing system comprises a WIFI testing instrument and a control host; the WIFI testing instrument is connected with the control host; and the WIFI testing instrument and the control host are connected with to-be-tested equipment. The method is characterized in that the WIFI performance automation testing method is executed by the control host, and comprises the steps that A, control instructions are generated according to input of testing personnel; B, WIFI performance testing is performed according to the corresponding control instruction; and C, testing data obtained by the WIFI performance testing is saved according to the corresponding control instruction, all the control instructions are only generated in Step A, and no control instruction is generated in Step B and Step C.
Description
Technical field
The present invention relates to a kind of WIFI automatic performance method of testing, the method, by setting up functional module construction, is controlled computer system by computer program instructions and is completed, and these computer program instructions are stored in computer-readable recording medium.
Background technology
Penetration and promotion along with WIFI, increasing communication equipment starts to be equipped with WIFI communication module, the mobile terminal such as smart mobile phone and panel computer is as the important component part of mobile communications network, and the popularity rate of WIFI on the mobile terminals such as smart mobile phone and panel computer is very high.After every equipment is produced, before list marketing, all to carry out quality testing and performance test, for guaranteeing the performance of the WIFI communication module of every equipment, just need to carry out WIFI performance test to it, the performance of WIFI physical layer has the greatest impact to the performance of whole WIFI communication module, so the performance test of WIFI physical layer is the most important link of WIFI performance test.
The WIFI physical layer performance test of mobile phone of take is example, normally adopt at present manual test mode to test, because the test item of WIFI physical layer performance test is very many, each test item needs to arrange mobile phone and tester simultaneously, the efficiency of manual test is lower, in the past mobile phone cycle of updating long, testing efficiency is required so not high, the defect that manual test mode testing efficiency is low does not impact the research and development of mobile phone and production efficiency.The cycle of the update of now mobile phone is shorter and shorter, and research and development and production efficiency have been proposed to more and more higher requirement, adopts the mode of manual test to test to the WIFI physical layer performance of mobile phone research and development and the production efficiency that is unfavorable for improving mobile phone.
Summary of the invention
The object of this invention is to provide a kind of simple to operation, WIFI automatic performance method of testing that testing efficiency is high.
For achieving the above object, the invention provides following technical scheme.
WIFI automatic performance method of testing, be applied to WIFI Performance Test System, described WIFI Performance Test System comprises WIFI tester and main control system, described WIFI tester is connected with main control system, described WIFI tester is all connected with Devices to test with main control system, this WIFI automatic performance method of testing is carried out by described main control system, comprises the following steps:
A. according to tester's input, produce control command;
B. according to corresponding control command, carry out WIFI performance test;
The test data of C. preserving described WIFI performance test gained according to corresponding control command,
Step B comprises the following steps:
B1. according to corresponding control command, control Devices to test emitting radio frequency signal, this control command comprises the corresponding test parameter that tester inputs;
B2. according to corresponding control command, control WIFI tester and receive the radiofrequency signal of Devices to test transmitting and test, this control command comprises the corresponding test parameter that tester inputs,
All control commands all only produce in steps A, and step B and step C do not produce control command.
Wherein, in steps A, control command is lined up to instruction queue by the sequencing producing, the control command in instruction queue is sequentially carried out.
Wherein, described control command comprises that the execution priority of interrupt instruction is higher than other control commands for suspending/end the interrupt instruction of described WIFI performance test.
Wherein, steps A, step B and step C carry out simultaneously.
Wherein, in step B, the WIFI protocol type using according to Devices to test, carries out WIFI performance test by corresponding with it independent test module to this Devices to test.
The invention has the beneficial effects as follows: by move WIFI automatic performance method of testing of the present invention in main control system, thereby realize, in main control system, control the object of WIFI tester and Devices to test simultaneously, in test process, without difference, manually arrange and control WIFI tester and Devices to test, simple to operation and be not easy to make mistakes, only need connect main control system, WIFI tester and Devices to test, set the required parameter of test and then on main control system, move WIFI automatic performance method of testing of the present invention, main control system just can be controlled WIFI tester and Devices to test and automatically test, testing efficiency is high.Control command only produces in steps A, step B and step C do not produce control command, and testing software just can not produce internal storage conflict due to communicating by letter of data each other at execution step A, step B during with step C like this, so testing software is stable, be not easy to make mistakes, improve testing efficiency.
Embodiment
Below in conjunction with specific embodiment, the present invention is elaborated.
WIFI automatic performance method of testing of the present invention, be applied to WIFI Performance Test System, described WIFI Performance Test System comprises WIFI tester and main control system, described WIFI tester is connected with main control system, described WIFI tester is all connected with Devices to test with main control system, in the present embodiment, the tester that the preferred model of WIFI tester is IQ2010, WIFI tester is connected with main control system by IQ2010 data wire, (the present embodiment be take mobile phone as example to Devices to test, below directly Devices to test is called to mobile phone to be measured) by USB line, be connected with main control system, the WIFI radio frequency mouth of mobile phone to be measured is connected with the test port of WIFI tester by Cable line.In main control system, installation testing software ,Ben testing software is the carrier of WIFI automatic performance method of testing of the present invention, and main control system is carried out WIFI automatic performance method of testing of the present invention by moving this testing software.
This testing software develops based on LabVIEW, and it comprises three threads: UI(user interface, user interface) thread, data processing thread and back-end data preserve thread.UI thread for monitor and the user interface (hereinafter to be referred as interface) of response test personnel Ben testing software on operation, utilize event structure to respond, UI thread is enumeration type control command by the response definition of each event structure, then control command is utilized instruction queue to be delivered to data processing thread or back-end data preservation thread, data processing thread is mainly responsible for receiving the control command from UI thread, and test according to corresponding control command control WIFI tester and mobile phone to be measured, particularly, data processing thread is controlled mobile phone emitting radio frequency signal to be measured according to corresponding control command, this control command comprises existing test parameter, such as transmitting power etc., data processing thread is controlled WIFI tester according to corresponding control command and is received the radiofrequency signal of mobile phone transmitting to be measured and test, this control command comprises corresponding test parameter, test item carrying out such as needs etc., WIFI tester completes after test, data processing thread just receives test data and according to corresponding control command, test data is processed from WIFI tester, this control command comprises will carry out to test data the information of which kind of processing, such as test data is asked to root mean square, flatness, or carry out Conversion of measurement unit etc., data processing thread is delivered to back-end data by the test data after processing by data queue and preserves thread, the corresponding control command that back-end data thread is mainly used in sending by instruction queue according to UI thread is saved in test data the assigned address of main control system, this control command comprises the information that whether will preserve and will preserve which test data, what back-end data was preserved thread dispatching is Microsoft Excel, utilizes ACTIVE_API to control the attribute of invoked Microsoft Excel.
Wherein, UI thread, it is parallel thread that data processing thread and back-end data are preserved thread, the corresponding steps A of carrying out WIFI automatic performance method of testing of the present invention of UI thread, the corresponding execution step of data processing thread B, back-end data is preserved the corresponding execution step of thread C, these three threads can move simultaneously, UI thread is used producer's circulation, data processing thread and back-end data are preserved thread as two sub-consumer's circulations of UI thread, thereby, UI thread is as production cycle, it is given as the data processing thread of consumer's circulation and back-end data and preserves thread generation control command, and produce control command can not reversely to the UI thread as producer's circulation as data processing thread and the back-end data preservation thread of consumer's circulation, that is to say that control command only sends from UI thread, data processing thread and back-end data preservation are only carried out control command and are not produced control command, control command is unidirectional output, like this, UI thread, data processing thread and back-end data are preserved thread just can be as other parallel threads because communicating by letter of data each other produces internal storage conflict, or because thereby the shared data contention of sequencing generation of loading procedure submodule causes system crash or program interrupt, so stable, be not easy to make mistakes, improve testing efficiency.UI thread is preserved thread transmission control command to data processing thread and back-end data, it is all to use the queue data structure of real-time synchronization to transmit that data processing thread is preserved thread transmission test data to back-end data, be different from the thread that general dependence array or static variable carry out data transmission, this is to consider for the stability of data, this data structure of queue is in the logical storage of hardware, stability, with all will be higher than array and static variable data structure above efficiency, between queue, can not influence each other, in addition, one of feature of queue is, data are tactic therein, last in, first out to be different from storehouse, data are first in first out in queue, when so the control command that UI thread produces passes by queue, can by data processing thread or back-end data, be preserved thread execution according to the sequencing producing, the execution sequence of control command just there will not be mistake like this, the operation of this testing software is more stable.It should be noted that, test be suspended/be ended to WIFI automatic performance method of testing of the present invention can midway in test, in all control commands that UI thread produces, comprise for suspending/end the interrupt instruction of described WIFI performance test, the priority of interrupt instruction is higher than other control commands, once interrupt instruction produces, even if also having other control commands not yet carries out, all preferably carry out interrupt instruction, after interrupt instruction is performed, just suspend/end test.
WIFI agreement comprises 802.11 a/b/g/n, this testing software is provided with corresponding test module accordingly at data processing thread, the mobile phone to be measured of each test module test respective protocol, such as mobile phone use to be measured is 802.11 a agreements, in when test, select test module that should agreement is tested, between test module in data processing thread, be separate, be convenient to like this later stage software respectively to the independent maintenance upgrade of corresponding test module, or during along with the new agreement of the evolution outlet of WIFI agreement, only need to add corresponding test module, so the maintainability of this testing software is higher.
The method providing herein, all or part of step wherein can, by setting up functional module construction, be controlled computer system by computer program instructions and complete.These computer program instructions are stored in computer-readable recording medium.
Finally should be noted that; above embodiment is only in order to illustrate technical scheme of the present invention; but not limiting the scope of the invention; although the present invention has been done to explain with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can modify or be equal to replacement technical scheme of the present invention, and not depart from essence and the scope of technical solution of the present invention.
Claims (10)
1.WIFI automatic performance method of testing, be applied to WIFI Performance Test System, described WIFI Performance Test System comprises WIFI tester and main control system, described WIFI tester is connected with main control system, described WIFI tester is all connected with Devices to test with main control system, it is characterized in that, this WIFI automatic performance method of testing is carried out by described main control system, comprises the following steps:
A. according to tester's input, produce control command;
B. according to corresponding control command, carry out WIFI performance test;
The test data of C. preserving described WIFI performance test gained according to corresponding control command,
Step B comprises the following steps:
B1. according to corresponding control command, control Devices to test emitting radio frequency signal, this control command comprises the corresponding test parameter that tester inputs;
B2. according to corresponding control command, control WIFI tester and receive the radiofrequency signal of Devices to test transmitting and test, this control command comprises the corresponding test parameter that tester inputs,
All control commands all only produce in steps A, and step B and step C do not produce control command.
2. WIFI automatic performance method of testing according to claim 1, is characterized in that, in steps A, control command is lined up to instruction queue by the sequencing producing, and the control command in instruction queue is sequentially carried out.
3. WIFI automatic performance method of testing according to claim 1, is characterized in that, described control command comprises that the execution priority of interrupt instruction is higher than other control commands for suspending/end the interrupt instruction of described WIFI performance test.
4. WIFI automatic performance method of testing according to claim 1, is characterized in that, steps A, step B and step C carry out simultaneously.
5. WIFI automatic performance method of testing according to claim 1, is characterized in that, in step B, the WIFI protocol type using according to Devices to test, carries out WIFI performance test by corresponding with it independent test module to this Devices to test.
6.WIFI automatic performance testing apparatus, be applied to WIFI Performance Test System, described WIFI Performance Test System comprises WIFI tester and main control system, described WIFI tester is connected with main control system, described WIFI tester is all connected with Devices to test with main control system, it is characterized in that, this WIFI automatic performance testing apparatus is carried out by described main control system, comprises with lower device:
Device A, its input according to tester produces control command;
Device B, it carries out WIFI performance test according to corresponding control command;
Device C, the test data that it preserves described WIFI performance test gained according to corresponding control command,
Device B comprises with lower device:
Device B1, it controls Devices to test emitting radio frequency signal according to corresponding control command, and this control command comprises the corresponding test parameter that tester inputs;
Device B2, it is controlled WIFI tester according to corresponding control command and receives the radiofrequency signal of Devices to test transmitting and test, and this control command comprises the corresponding test parameter that tester inputs,
All control commands all only produce in device A, and device B and device C do not produce control command.
7. WIFI automatic performance testing apparatus according to claim 6, is characterized in that, device A comprises device A1, and device A1 lines up instruction queue by control command by the sequencing producing, and the control command in instruction queue is sequentially carried out.
8. WIFI automatic performance testing apparatus according to claim 6, is characterized in that, described control command comprises that the execution priority of interrupt instruction is higher than other control commands for suspending/end the interrupt instruction of described WIFI performance test.
9. WIFI automatic performance testing apparatus according to claim 6, is characterized in that, device A, device B and device C move simultaneously.
10. WIFI automatic performance testing apparatus according to claim 6, is characterized in that, in device B, the WIFI protocol type using according to Devices to test, carries out WIFI performance test by corresponding with it independent test module to this Devices to test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310506792.5A CN103533572A (en) | 2013-10-24 | 2013-10-24 | WIFI performance automation testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310506792.5A CN103533572A (en) | 2013-10-24 | 2013-10-24 | WIFI performance automation testing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103533572A true CN103533572A (en) | 2014-01-22 |
Family
ID=49935163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310506792.5A Pending CN103533572A (en) | 2013-10-24 | 2013-10-24 | WIFI performance automation testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103533572A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103929753A (en) * | 2014-04-30 | 2014-07-16 | 广东欧珀移动通信有限公司 | Method and system for automatically testing WIFI compatibility of mobile phone |
CN106612149A (en) * | 2015-10-23 | 2017-05-03 | 小米科技有限责任公司 | Radio frequency circuit test method, device, system and mobile terminal |
CN107612784A (en) * | 2017-10-30 | 2018-01-19 | 上海斐讯数据通信技术有限公司 | A kind of router Wi Fi signal RFs index detection methods and system |
CN108204653A (en) * | 2017-12-28 | 2018-06-26 | Tcl空调器(中山)有限公司 | Fault detection method, device, terminal and the storage medium of WIFI module |
CN108600042A (en) * | 2018-03-27 | 2018-09-28 | 广州视源电子科技股份有限公司 | WiFi test method and device for electronic equipment, storage medium and test equipment |
CN109120358A (en) * | 2018-06-13 | 2019-01-01 | 北京星网锐捷网络技术有限公司 | Test method, mobile terminal, surveying device and the system of radio frequency signal |
CN111597026A (en) * | 2020-05-15 | 2020-08-28 | 北京百度网讯科技有限公司 | Method and device for acquiring information |
CN112486753A (en) * | 2020-12-18 | 2021-03-12 | 展讯半导体(成都)有限公司 | WiFi equipment automatic test method and system and readable storage medium |
CN117615407A (en) * | 2023-12-08 | 2024-02-27 | 广州通则康威科技股份有限公司 | Automatic test method and device for WiFi performance and terminal equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291506A (en) * | 2008-06-04 | 2008-10-22 | 青岛海信移动通信技术股份有限公司 | TDSCDMA terminal testing system and testing method for transmitter and receiver |
CN101854218A (en) * | 2010-06-03 | 2010-10-06 | 北京天碁科技有限公司 | System and method for testing radio-frequency performance of wireless terminal |
CN101895902A (en) * | 2009-05-18 | 2010-11-24 | 鸿富锦精密工业(深圳)有限公司 | Automatic testing method for WiFi (Wireless Fidelity) function of electronic product |
-
2013
- 2013-10-24 CN CN201310506792.5A patent/CN103533572A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291506A (en) * | 2008-06-04 | 2008-10-22 | 青岛海信移动通信技术股份有限公司 | TDSCDMA terminal testing system and testing method for transmitter and receiver |
CN101895902A (en) * | 2009-05-18 | 2010-11-24 | 鸿富锦精密工业(深圳)有限公司 | Automatic testing method for WiFi (Wireless Fidelity) function of electronic product |
CN101854218A (en) * | 2010-06-03 | 2010-10-06 | 北京天碁科技有限公司 | System and method for testing radio-frequency performance of wireless terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103929753A (en) * | 2014-04-30 | 2014-07-16 | 广东欧珀移动通信有限公司 | Method and system for automatically testing WIFI compatibility of mobile phone |
CN103929753B (en) * | 2014-04-30 | 2017-08-01 | 广东欧珀移动通信有限公司 | A kind of method and system of automatic test mobile phone WIFI compatibility |
CN106612149A (en) * | 2015-10-23 | 2017-05-03 | 小米科技有限责任公司 | Radio frequency circuit test method, device, system and mobile terminal |
CN107612784A (en) * | 2017-10-30 | 2018-01-19 | 上海斐讯数据通信技术有限公司 | A kind of router Wi Fi signal RFs index detection methods and system |
CN108204653A (en) * | 2017-12-28 | 2018-06-26 | Tcl空调器(中山)有限公司 | Fault detection method, device, terminal and the storage medium of WIFI module |
CN108600042A (en) * | 2018-03-27 | 2018-09-28 | 广州视源电子科技股份有限公司 | WiFi test method and device for electronic equipment, storage medium and test equipment |
CN108600042B (en) * | 2018-03-27 | 2020-07-07 | 广州视源电子科技股份有限公司 | WiFi test method and device for electronic equipment, storage medium and test equipment |
CN109120358A (en) * | 2018-06-13 | 2019-01-01 | 北京星网锐捷网络技术有限公司 | Test method, mobile terminal, surveying device and the system of radio frequency signal |
CN109120358B (en) * | 2018-06-13 | 2021-10-22 | 北京星网锐捷网络技术有限公司 | Wireless radio frequency signal testing method, mobile terminal, surveying equipment and system |
CN111597026A (en) * | 2020-05-15 | 2020-08-28 | 北京百度网讯科技有限公司 | Method and device for acquiring information |
CN112486753A (en) * | 2020-12-18 | 2021-03-12 | 展讯半导体(成都)有限公司 | WiFi equipment automatic test method and system and readable storage medium |
CN117615407A (en) * | 2023-12-08 | 2024-02-27 | 广州通则康威科技股份有限公司 | Automatic test method and device for WiFi performance and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103533572A (en) | WIFI performance automation testing method and device | |
US10455497B2 (en) | Selective activation of communications services on power-up of a remote unit(s) in a wireless communication system (WCS) based on power consumption | |
JP4757961B2 (en) | Test equipment and test modules | |
JP4885316B2 (en) | Test apparatus and test method | |
EP4016398A1 (en) | Apparatus and method for distributed training model, and computer program product | |
US7971110B2 (en) | System and method for testing a serial attached small computer system interface | |
CN101986278A (en) | Automatic testing method and system for electronic equipment | |
CN114157701A (en) | Task testing method, device, equipment and storage medium | |
CN113672441A (en) | Method and device for testing intelligent equipment | |
JP2017531339A (en) | Method and apparatus for interconnecting smart terminals and in-vehicle terminals | |
CN108337125A (en) | Intelligent hardware devices test method, cloud platform and background controller | |
CN112416804A (en) | Real-time simulation test system and method | |
CN109062820A (en) | A kind of software performance testing method and device | |
CN106789402A (en) | A kind of Multi-netmouth based on automation platform maps multimachine test system and method | |
CN102201877B (en) | Method and apparatus for testing air interface of TTCN (Testing and Test Control Notation)-3-based digital interphone | |
CN114430366A (en) | Information acquisition application issuing method, related device and computer program product | |
CN105988903A (en) | Laptop mainboard tester | |
CN110780630A (en) | Protocol library docking execution system suitable for Internet of things and working method | |
CN115967660B (en) | Method, device, terminal equipment and storage medium for testing CAN protocol conversion | |
CN115599438A (en) | Method, device, equipment and medium for constructing application program publishing package | |
CN103592527A (en) | Test system | |
US8996737B1 (en) | Method for emulating communication standards of transceiver modules for native host devices | |
CN114285766B (en) | Network bandwidth detection method and device, electronic equipment and storage medium | |
CN112147562B (en) | Bluetooth communication frame-based meter calibration method, system and meter calibration device | |
TWI486595B (en) | Wireless one-to-many testing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140122 |