CN112714451A - Method for testing wireless throughput of mobile phone with attenuation - Google Patents

Method for testing wireless throughput of mobile phone with attenuation Download PDF

Info

Publication number
CN112714451A
CN112714451A CN202011525709.5A CN202011525709A CN112714451A CN 112714451 A CN112714451 A CN 112714451A CN 202011525709 A CN202011525709 A CN 202011525709A CN 112714451 A CN112714451 A CN 112714451A
Authority
CN
China
Prior art keywords
mobile phone
testing
tested
controlled
tool
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
Application number
CN202011525709.5A
Other languages
Chinese (zh)
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.)
Shenzhen Tenda Technology Co Ltd
Original Assignee
Shenzhen Tenda Technology 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 Shenzhen Tenda Technology Co Ltd filed Critical Shenzhen Tenda Technology Co Ltd
Priority to CN202011525709.5A priority Critical patent/CN112714451A/en
Publication of CN112714451A publication Critical patent/CN112714451A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/22Traffic simulation tools or models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method for testing mobile phone attenuation wireless throughput, which comprises the following steps: s1, building a network topology test environment; s2, installing a debugging tool on the first PC, connecting the debugging tool to the LAN port of the tested mobile phone through a wire, configuring the wireless signal of the tested mobile phone, and dialing to surf the internet; s3, connecting the second PC to the controlled mobile phone through the USB data line, and connecting the controlled mobile phone to the wireless signal of the tested mobile phone; s4, modulating the attenuation value of the attenuator to a set value; s5, running an automatic testing tool on the controlled mobile phone, and controlling and checking the controlled mobile phone by the second PC through the remote terminal; and S6, testing the RSSI, the wireless throughput and the network speed of the tested mobile phone, and recording the test result. The invention has the beneficial effects that: the device to be tested does not need to be carried to an actual scene for testing, unnecessary time and labor cost are reduced, testing efficiency is improved, and testing accuracy is improved.

Description

Method for testing wireless throughput of mobile phone with attenuation
Technical Field
The invention relates to a throughput testing method, in particular to a method for testing throughput of mobile phone plus attenuation wireless.
Background
In the actual application scenario of the current wireless product, after the mobile phone is connected with a wireless signal, the signal strength is always changing continuously, and there are various reasons for the change of the signal strength, the distance between the mobile phone and the wireless device, different media passing through in the transmission process, the anti-interference capability and the transmitting power of the wireless device, the antenna directivity of the wireless device, and the like, and the signal strength directly acts on the wireless throughput. When the wireless throughput is large, the network bandwidth of the device can be guaranteed, so that the internet access requirement of the mobile phone terminal can be met. Therefore, it is necessary to test the network throughput of the mobile phone terminal under different signal strengths.
Currently, there is a scenario test method: after the tested equipment is placed in a specified environment (a rental house, an office building and the like) and is connected with WIFI through a mobile phone, the signal intensity is checked at different places, then the network speed is tested through speed testing software of the mobile phone, and finally the mobile phone is placed at different testing places to carry out internet surfing services such as: webpage, video and live broadcast.
The disadvantages of this test method are as follows:
1: the tester needs to carry the tested equipment to a specified place to carry out wireless speed measurement verification of the actual place, and a large amount of time cost and labor cost are consumed in the whole process of building a testing environment.
2: in the actual scene test process, many factors are uncontrollable, wireless interference is suddenly strong and weak, network speed is occasionally fluctuated, the placing positions are different, and the like, so that too much uncertainty is filled.
Therefore, how to improve the testing efficiency and the testing accuracy is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method for testing the wireless throughput of a mobile phone with attenuation.
The invention provides a method for testing mobile phone attenuation wireless throughput, which comprises the following steps:
s1, establishing a network topology test environment as follows:
placing a tested mobile phone in a first shielding box, placing a controlled mobile phone in a second shielding box, connecting the tested mobile phone with the first shielding box for queuing and surfing the Internet, connecting the first shielding box with an attenuator through a feeder line, connecting the attenuator with the second shielding box, connecting the first shielding box with a first PC (personal computer), connecting the second shielding box with a second PC (personal computer), and controlling the mobile phone by the second PC through an automatic script to check signal intensity and test throughput;
s2, installing a debugging tool on the first PC, connecting the debugging tool to the LAN port of the tested mobile phone through a wire, configuring the wireless signal of the tested mobile phone, and dialing to surf the internet;
s3, connecting the second PC to the controlled mobile phone through the USB data line, and connecting the controlled mobile phone to the wireless signal of the tested mobile phone;
s4, modulating the attenuation value of the attenuator to a set value;
s5, running an automatic testing tool on the controlled mobile phone, and controlling and checking the controlled mobile phone by the second PC through the remote terminal;
and S6, testing the RSSI, the wireless throughput and the network speed of the tested mobile phone, and recording the test result.
As a further improvement of the invention, the method further comprises the step S7 of increasing the attenuation value of the attenuator, and repeating the steps S5 to S6 to complete the wireless throughput, network speed and RSSI test of the tested mobile phone under different attenuations.
As a further improvement of the present invention, in step S3, remote control software or Python automation script is installed on the second PC for controlling the controlled handset.
As a further improvement of the present invention, in step S5, the automated testing tool running on the controlled mobile phone is airtest ide tool.
As a further improvement of the present invention, in step S3, the second PC is used to implement the operation of the controlled handset.
As a further refinement of the present invention, the third party tool is an airtest ide tool.
As a further improvement of the present invention, in step S6, the step of testing the RSSI of the tested handset includes: and running an automatic script on a second PC, opening the WIFI magic box, checking the change of the signal intensity in 30s, and recording the final signal value.
As a further improvement of the present invention, in step S6, the testing the wireless throughput of the handset under test includes: and running an automatic script on the second PC, opening IxChariot Endport, filling the IP address of the first PC, clicking to run, and recording the throughput value after 30 s.
As a further improvement of the present invention, in step S6, the step of testing the network speed of the tested mobile phone includes: and running the automatic script on the second PC, opening the Speedtest, clicking to run, and recording the uplink and downlink results of speed measurement.
As a further improvement of the present invention, in step S2, the debugging tool installed at the first PC is a Secure CRT.
The invention has the beneficial effects that: the device to be tested does not need to be carried to an actual scene for testing, unnecessary time and labor cost are reduced, the testing efficiency is improved, the wireless throughput of the testing device under the condition of different degrees and attenuation can be more effectively tested, and the testing accuracy is improved.
Drawings
Fig. 1 is a test networking diagram of the method for testing the throughput of a mobile phone with fading radio.
Detailed Description
The invention is further described with reference to the following description and embodiments in conjunction with the accompanying drawings.
As shown in fig. 1, a method for testing mobile phone attenuation wireless throughput specifically adopts the following technical scheme:
testing and networking: the networking graph is tested as in fig. 1.
The test method comprises the following steps: adding an attenuator 1, a plurality of mobile phones (installing Speedtest, IxChariot Endpoint and WIFI magic boxes), Android and IOS batch control software, a plurality of feeder lines, a plurality of mobile phone supports, a PC 2, a plurality of USB lines and a USB adaptor 1
A tested mobile phone (DUT) 31 is placed in a first shielding box 21 after being electrified, the tested mobile phone 31 is connected with the first shielding box 21 for dial-up networking, the first shielding box 21 is connected with an attenuator 4 through a feeder line, the attenuator 4 is connected with a feeder line to a second shielding box 22, a controlled mobile phone 32 is placed in the second shielding box 22, the first shielding box 21 is externally connected with a first PC11, the second shielding box 22 is externally connected with a second PC12, and the second shielding box 22 controls the controlled mobile phone 32 through an automatic script to check signal strength and test throughput.
The present invention uses the following test protocol:
1. building a test environment according to the network topology shown in FIG. 1;
2. a first PC11 is provided with a debugging tool Secure CRT, is connected to a LAN port of the tested mobile phone 31 through a wire, configures a wireless signal of the tested mobile phone 31 as test, and dials to access the internet;
3. the second PC12 is provided with remote control software (or Python automation script), is connected to the controlled mobile phone 32 through a USB data line, and is connected to the wireless signal test of the tested mobile phone 31 by using the controlled mobile phone 32;
4. the attenuation value of the attenuator 4 is modulated to 10 dB;
5. operating airtest ide terminal on the controlled mobile phone 32, the second PC12 controlling and checking the controlled mobile phone 32 through the remote terminal;
6. running an automatic script on a second PC12, opening a WIFI magic box, checking the change of the signal strength within 30s, and recording a final signal value (in the step, the RSSI of the mobile phone is tested);
7. running an automation script on a second PC12, opening IxChariot Endport, filling in an IP address of a first PC11, clicking to run, and recording a throughput value after 30s (testing the wireless throughput of the mobile phone in the step);
8. running an automatic script on a second PC12, opening Speedtest, clicking to run, and recording an uplink result and a downlink result of speed measurement (the step is used for testing the real network speed of the mobile phone);
9. and (5) adjusting the attenuator 4 to 20dB, 30dB, 40dB and 50dB respectively, repeating the steps 5-7, and recording the result.
According to the method steps, the tester only needs to power on the equipment, run a program on the PC, check and record the result, and then the throughput, the network speed and the RSSI test of the tested equipment under different attenuations can be completed.
The present invention uses a tool or method. The controlled handset 32 in the second shielded box 22 can be operated on the second PC12 connected by a USB cable.
The method comprises the following steps:
the control of the controlled handset 32 by the second PC12 is realized by using a third-party tool. Airtest ide tools are used in the method.
The environment setting step and the using step are respectively described as follows:
1. an environment setting step:
(1) a developer option to enable the controlled handset 32; checking a USB debugging mode in the developer option;
(2) the controlled mobile phone 32 is connected to the second PC12 through a wire and grants all access rights;
(3) installing an android adb driver on a second PC 12; the device manager of the second PC12 is turned on, and the adb interface device is found in the device manager, i.e. the representative driver is normal. Otherwise, please replace the adb driver until the driver display is normal;
(4) when the controlled mobile phone 32 pops up to allow USB debugging, clicking to allow;
(5) the airtest ide tool is installed and opened.
Note that: it must be ensured that steps 1, 2, 3 are all successful.
2. Use introduction:
(1) opening an airtest IDE tool, clicking a refresh ADB button of a software equipment window, displaying a Devices list, displaying a state as a Device, and clicking a Connect button at the moment;
(2) if no Device is checked in the step (1), please check whether the previous environment setting step is correct;
(3) after clicking the Connect button, a mobile phone mirror image interface appears on the tool equipment window, and is the same as the mobile phone interface connected with the current PC;
(4) the mirror interface can be operated by a mouse to realize the control of the second PC12 on the controlled mobile phone 32. The mouse can simulate the action of touching the mobile phone screen by hand;
(5) we can now operate the controlled handset 32 outside the second shielded room 22 via the second PC 12. Such as connecting wireless signals, clicking speed measurement software to perform speed measurement and running and other operations.
The second method comprises the following steps:
an automated program designed based on the Python language is provided for the second PC12 to control the controlled handset 32.
1. An environment setting step:
(1) a developer option to enable the controlled handset 32; checking a USB debugging mode in the developer option;
(2) the controlled mobile phone 32 is connected to the second PC12 through a wire and grants all access rights;
(3) installing an android adb driver on a second PC 12; the device manager of the second PC12 is turned on, and the adb interface device is found in the device manager, i.e. the representative driver is normal. Otherwise, please replace the adb driver until the driver display is normal;
(4) when the controlled mobile phone 32 pops up to allow USB debugging, clicking to allow;
(5) installing java SDK and Android SDK;
(6) installing a Python environment and an Apium-Python-Client package;
(7) appium software is installed on the second PC 12.
Note that: the above environment requires the correct configuration to be successful.
2. Method of use (how to develop scripts, control principles):
(1) acquiring the package name of the apps such as speedtest EP, IxChariot EP and the like by means of airtest IDE tool or adb shell command. If other mobile phone APPs need to be opened and controlled, the same method can be used;
(2) acquiring a control for positioning an APP page by using an aritest IDE tool or a uiautomatoviewer in an SDK tool package (IxChariot EP is taken as an example below, and other APPs are controlled in the same manner);
(3) positioning a required page control on an IxChariot APP according to a manual test flow;
(4) a python code is written on the second PC12, an APP drive is called, IxChariot is opened according to the previously acquired APP package name, and then the code is written respectively to call a method provided by webdriver to click on the page control of the APP. Jumping the APP page to a specified page, and configuring a running IP address and time;
(5) the second PC12 executes python code to realize automatic control of the handset. The specific automatic control flow can be realized by modifying codes according to the requirements of the test process.
The method for testing the wireless throughput of the mobile phone with attenuation provided by the invention has the following advantages:
1: the tested device does not need to be carried to an actual scene for testing, and unnecessary time and labor cost are reduced.
2: a wireless throughput testing method is added, the influence of other factors is eliminated, and the wireless throughput of the equipment under the condition of different degrees of attenuation is more effectively tested.
3: through automated control cell-phone, do not need the manual connection wireless, open APP, it is scientific effective to save time.
4: the automatic script test can be used for other test methods and is not limited to the attenuation wireless throughput test.
The invention provides a method for testing mobile phone attenuation wireless throughput, provides a laboratory attenuation wireless throughput network speed control test scheme, and can be applied to a mobile phone throughput test system after wireless signals are attenuated
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method for testing mobile phone attenuation wireless throughput is characterized by comprising the following processes:
s1, establishing a network topology test environment as follows:
placing a tested mobile phone in a first shielding box, placing a controlled mobile phone in a second shielding box, connecting the tested mobile phone with the first shielding box for queuing and surfing the Internet, connecting the first shielding box with an attenuator through a feeder line, connecting the attenuator with the second shielding box, connecting the first shielding box with a first PC (personal computer), connecting the second shielding box with a second PC (personal computer), and controlling the mobile phone by the second PC through an automatic script to check signal intensity and test throughput;
s2, installing a debugging tool on the first PC, connecting the debugging tool to the LAN port of the tested mobile phone through a wire, configuring the wireless signal of the tested mobile phone, and dialing to surf the internet;
s3, connecting the second PC to the controlled mobile phone through the USB data line, and connecting the controlled mobile phone to the wireless signal of the tested mobile phone;
s4, modulating the attenuation value of the attenuator to a set value;
s5, running an automatic testing tool on the controlled mobile phone, and controlling and checking the controlled mobile phone by the second PC through the remote terminal;
and S6, testing the RSSI, the wireless throughput and the network speed of the tested mobile phone, and recording the test result.
2. The method of claim 1, wherein: the method also comprises the step S7 of increasing the attenuation value of the attenuator and repeating the steps S5 to S6 to finish the wireless throughput, network speed and RSSI test of the tested mobile phone under different attenuations.
3. The method of claim 1, wherein: in step S3, remote control software or Python automation script is installed on the second PC for controlling the controlled handset.
4. The method of claim 1, wherein: in step S5, the automated testing tool running on the controlled handset is an airtest ide tool.
5. The method of claim 1, wherein: in step S3, the second PC is used to implement the operation of the controlled handset.
6. The method of claim 5, wherein: the third party tool is an airtest ide tool.
7. The method of claim 1, wherein: in step S6, the testing the RSSI of the tested handset includes: and running an automatic script on a second PC, opening the WIFI magic box, checking the change of the signal intensity in 30s, and recording the final signal value.
8. The method of claim 1, wherein: in step S6, the testing the wireless throughput of the handset under test includes: and running an automatic script on the second PC, opening IxChariot Endport, filling the IP address of the first PC, clicking to run, and recording the throughput value after 30 s.
9. The method of claim 1, wherein: in step S6, the step of testing the network speed of the tested mobile phone includes: and running the automatic script on the second PC, opening the Speedtest, clicking to run, and recording the uplink and downlink results of speed measurement.
10. The method of claim 1, wherein: in step S2, the debug tool installed on the first PC is a Secure CRT.
CN202011525709.5A 2020-12-22 2020-12-22 Method for testing wireless throughput of mobile phone with attenuation Pending CN112714451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011525709.5A CN112714451A (en) 2020-12-22 2020-12-22 Method for testing wireless throughput of mobile phone with attenuation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011525709.5A CN112714451A (en) 2020-12-22 2020-12-22 Method for testing wireless throughput of mobile phone with attenuation

Publications (1)

Publication Number Publication Date
CN112714451A true CN112714451A (en) 2021-04-27

Family

ID=75545070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011525709.5A Pending CN112714451A (en) 2020-12-22 2020-12-22 Method for testing wireless throughput of mobile phone with attenuation

Country Status (1)

Country Link
CN (1) CN112714451A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438132A (en) * 2021-06-24 2021-09-24 深圳市吉祥腾达科技有限公司 System and method for testing data burst reliability of wireless routing equipment
CN114448532A (en) * 2021-12-22 2022-05-06 湖南金翎箭信息技术有限公司 Detection debugging system and method for wireless data communication terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070243826A1 (en) * 2006-04-13 2007-10-18 Accton Technology Corporation Testing apparatus and method for a multi-paths simulating system
CN105813126A (en) * 2016-04-27 2016-07-27 深圳市共进电子股份有限公司 Automatic wireless AP (Access Point) performance testing system
CN108847899A (en) * 2018-06-19 2018-11-20 Oppo广东移动通信有限公司 Electronic equipment radio communication Performance Test System, method, device and equipment
CN110620704A (en) * 2019-10-21 2019-12-27 江苏中利电子信息科技有限公司 Throughput automatic test equipment
CN111447640A (en) * 2020-04-08 2020-07-24 东莞信宝电子产品检测有限公司 Method and device for testing throughput of WIFI product and storage medium
CN111787561A (en) * 2020-08-13 2020-10-16 深圳市吉祥腾达科技有限公司 EasyMesh networking test verification-based system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070243826A1 (en) * 2006-04-13 2007-10-18 Accton Technology Corporation Testing apparatus and method for a multi-paths simulating system
CN105813126A (en) * 2016-04-27 2016-07-27 深圳市共进电子股份有限公司 Automatic wireless AP (Access Point) performance testing system
CN108847899A (en) * 2018-06-19 2018-11-20 Oppo广东移动通信有限公司 Electronic equipment radio communication Performance Test System, method, device and equipment
CN110620704A (en) * 2019-10-21 2019-12-27 江苏中利电子信息科技有限公司 Throughput automatic test equipment
CN111447640A (en) * 2020-04-08 2020-07-24 东莞信宝电子产品检测有限公司 Method and device for testing throughput of WIFI product and storage medium
CN111787561A (en) * 2020-08-13 2020-10-16 深圳市吉祥腾达科技有限公司 EasyMesh networking test verification-based system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438132A (en) * 2021-06-24 2021-09-24 深圳市吉祥腾达科技有限公司 System and method for testing data burst reliability of wireless routing equipment
CN114448532A (en) * 2021-12-22 2022-05-06 湖南金翎箭信息技术有限公司 Detection debugging system and method for wireless data communication terminal
CN114448532B (en) * 2021-12-22 2024-06-04 湖南金翎箭信息技术有限公司 Detection and debugging system and method for wireless data communication terminal

Similar Documents

Publication Publication Date Title
JP5425463B2 (en) Wireless device product acceptance test apparatus, product acceptance test method, wireless communication device, and computer program
CN112714451A (en) Method for testing wireless throughput of mobile phone with attenuation
CN108874677B (en) Android terminal and test method and system thereof
CN109040752B (en) Automatic debugging system for smart television
KR20100068491A (en) Apparatus and methods for determining network access performance of a wireless device
CN112333057B (en) Intelligent household equipment distribution network testing method and device, executive machine and storage medium
CN103546345A (en) Method and device for testing performance of communication equipment
CN107529189B (en) Mobile terminal testing device and transmitting antenna testing method
CN111314002B (en) Automatic test system for omnibearing coverage performance of wireless equipment
CN112165362A (en) WiFi module weak network test system and method
KR100794130B1 (en) Automatic Function Testing Equipment for Application Software and Additional Service of Mobile Communication Terminal
KR20010041214A (en) Configuration of a base station transceiver system in a mobile communication system
CN112787894B (en) Wireless device test system, method, apparatus, medium, and device
CN113709243B (en) Equipment remote control method and device, electronic equipment and storage medium
WO2021052075A1 (en) Interference simulation system, method and apparatus, interference test system, method and apparatus, and computer readable storage medium
CN101415199B (en) Test system and method for switching analog wireless channel
CN116996429A (en) Automatic test method, system, device, equipment and medium for communication instrument
US20020064259A1 (en) Portable sub-service station
KR100619959B1 (en) Remote debugging apparatus and method for telephone connection network service function of mobile communication device
CN114793346A (en) Whole vehicle networking NV-IOT test system and method in anechoic chamber
CN112994811A (en) Automatic evaluation system and method for co-frequency adjacent-frequency interference test
CN113014335A (en) Total omnidirectional sensitivity test method, equipment, system and storage medium
KR101539928B1 (en) method for automatically obtaining mobile terminal directory number for wireless communication testing
CN113890606B (en) Open wireless access network communication equipment test system and method
CN114501523B (en) WAPI switching test device and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427

RJ01 Rejection of invention patent application after publication