CN102404771A - Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module - Google Patents

Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module Download PDF

Info

Publication number
CN102404771A
CN102404771A CN2010102869634A CN201010286963A CN102404771A CN 102404771 A CN102404771 A CN 102404771A CN 2010102869634 A CN2010102869634 A CN 2010102869634A CN 201010286963 A CN201010286963 A CN 201010286963A CN 102404771 A CN102404771 A CN 102404771A
Authority
CN
China
Prior art keywords
data
data files
wireless communication
testing
file
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
CN2010102869634A
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.)
Shanghai Phone Test Public Service Platforms Co Ltd
Original Assignee
Shanghai Phone Test Public Service Platforms 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 Shanghai Phone Test Public Service Platforms Co Ltd filed Critical Shanghai Phone Test Public Service Platforms Co Ltd
Priority to CN2010102869634A priority Critical patent/CN102404771A/en
Publication of CN102404771A publication Critical patent/CN102404771A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for testing GPRS (General Packet Radio Service) data transmission performance of a wireless communication module. The method comprises the following steps of: (1) compiling configuration files and data files; (2) importing the configuration files to carry out network connection; (3) selecting data files and uploading the data files to IP (Internet Protocol) addresses in the configuration files; (4) after finishing uploading, recording the size of uploaded data files and the time for uploading the data files; (5) determining whether to continuously upload the data files or not, if the data files are needed to be uploaded, returning to (3), and if the data files are not needed to be uploaded, going to (6); (6), selecting and downloading the data files; (7) after finishing downloading, recording the size of the downloaded data files and the time for downloading the data files; (8) determining whether to continuously download the data files or not, if the data files are needed to be downloaded, returning to (6), and if the data files are not needed to be downloaded, going to (9); and (9), gathering test data, and further, calculating the maximum transmission rate and average transmission rate. The method realizes the automatic testing of the GPRS data transmission performance of the wireless communication module, and avoids the defect that the testing conditions are difficult to control.

Description

The method of testing of wireless communication module GPRS data transmission performance
Technical field
The present invention relates to a kind of method of testing of wireless communication module GPRS data transmission performance, particularly relating to a kind of is the automated testing method of the wireless communication module GPRS data upload download of data file with the txt document.
Background technology
The GPRS of wireless communication module (general packet radio service technology) data transmission performance is the problem that the active user relatively pays close attention to; To receive the influence of network and concrete website situation more for function but owing to use GPRS to dial up on the telephone; Usually can produce a lot of uncertainties and error property; As: the situation that the file of same website is downloaded in equivalent environment, different time sections possibly have than big-difference; Therefore need a method control test condition, i.e. the current network signal amount of the Data Source of test and size, the beginning concluding time of test, test products etc. is to improve performance test efficient and accuracy.The moving operation of the main armrest of existing method of testing is accomplished; And manual operation need be carried out a series of configuration; Also will receive the restriction of network condition in the layoutprocedure, like network signal etc., and this class testing needs like products or the different product contrast test that walks abreast usually; The manual operation meeting makes has the long time difference between the product of concurrent testing, influence contrast effect.If can find a kind of method of automatic test, just can reduce setup time in early stage, make the test condition between the product consistent as much as possible.
Summary of the invention
The technical problem that the present invention will solve be for the GPRS data transmission performance that overcomes prior art test wireless communication module must manual test, receive the restriction of network condition and be difficult to control the defective of test condition, a kind of method of testing that can control the wireless communication module GPRS data transmission performance of test condition and automation is provided.
The present invention solves above-mentioned technical problem through following technical proposals:
A kind of method of testing of wireless communication module GPRS data transmission performance, its characteristics are that it may further comprise the steps:
S 1, editor configuration file and data file, wherein this configuration file is the network parameter configuration;
S 2, import configuration file and carry out network and connect;
S 3, the selected local data file that imports is uploaded to the IP address of appointment in the configuration file with it;
S 4, accomplish GPRS and upload the size of the data file that the back record uploads and upload the used time;
S 5, judge whether to continue to upload data file, if upload data file, return step S 3If not, then get into step S 6
S 6, appointment in the selected configuration file the IP address in data file and download;
S 7, accomplish GPRS and download the size of back record data downloaded file and download the used time;
S 8, judge whether to continue download data files, if download data files is returned step S 6If not, get into step S 9
S 9, gather all test datas and calculate peak transfer rate and average transmission rate.
Preferably, step S 2Step S afterwards, 3Further comprising the steps of before: as to judge whether network connects normal, if then get into step S 3If not, then get into step S P, step S wherein PFurther comprising the steps of: as to judge whether to update configuration file, if then return step S 1If not, then get into step S P1: the prompting user makes mistakes, request inspection network state.
Preferably, step S 9Further comprising the steps of afterwards: that peak transfer rate that calculates and average transmission rate are compared with the peak transfer rate and the average transmission rate of other wireless communication modules.
Preferably, said configuration file comprises AT instruction and IP address.
Preferably, said data file comprises the packet that varies in size.
Preferably, said configuration file and data file are the file of TXT form.。
Positive progressive effect of the present invention is: test wireless communication module GPRS need not to write down by hand the method for test during data transmission performance again, but automatically wireless communication module GPRS data transmission performance is tested.In addition, method of testing of the present invention has been stopped the unmanageable defective of test condition, has solved the problem that between the product of concurrent testing is arranged the long time difference and influence contrast effect.
Description of drawings
Fig. 1 is the flow chart of steps of test wireless communication module GPRS data transmission performance of the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to specify technical scheme of the present invention.
The method of testing of wireless communication module GPRS data transmission performance of the present invention may further comprise the steps:
Step 101; Editor's configuration file and data file; Wherein this configuration file is the network parameter configuration, and said configuration file comprises AT instruction and IP address, specifically; Configuration file mainly carries out parameter configuration to some AT orders that needs dial up on the telephone, and uploading of configuring fixed downloaded IP address etc.; Data file is mainly edited the packet of some different sizes, as uploading downloaded contents.
Step 102 imports configuration file and carries out the network connection.
Step 103 judges whether network connects normal, if then get into step 104; If not, then get into step 103 '.
Step 103 ', judge whether to update configuration file? If, return step 101, update and attempt network behind the configuration file again and connect; If not, get into step 104 '.
Step 104 ', the prompting user can't carry out network and connect, request inspection network state.
Step 104, the selected local data file that imports is with its IP address that is uploaded to appointment in the configuration file, and said data file comprises the packet that varies in size;
Step 105, completion GPRS uploads the size that afterwards writes down the data file of uploading and uploads the used time;
Step 106 judges whether to continue to upload data file, if upload data file, returns step 104; If not, then get into step 107;
Step 107, the data file in the selected configuration file in the IP address of appointment is also downloaded;
Step 108, completion GPRS downloads the size of back record data downloaded file and downloads the used time;
Step 109 judges whether to continue download data files, if download data files is returned step 107; If not, get into step 110;
Step 110 gathers all test datas and calculates peak transfer rate and average transmission rate.
Step 111 is compared peak transfer rate that calculates and average transmission rate with the peak transfer rate and the average transmission rate of other wireless communication modules.
Preferably, said configuration file and data file are the file of TXT form.
The concrete realization of above-mentioned steps 101~103 in reality is the state of the art, is not inventive point of the present invention place, and those skilled in the art can select suitable known approaches to realize according to actual needs voluntarily.
Whether the performance of this wireless communication module as a result on the GPRS transfer of data as for test be good, mainly sees the Mean Speed and the maximum rate of transfer of data, and this must be that this is that manual test can't be accomplished under the situation of test condition unanimity.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these execution modes under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.

Claims (6)

1. the method for testing of a wireless communication module GPRS data transmission performance is characterized in that it may further comprise the steps:
S 1, editor configuration file and data file, wherein this configuration file is the network parameter configuration;
S 2, import configuration file and carry out network and connect;
S 3, the selected local data file that imports is uploaded to the IP address of appointment in the configuration file with it;
S 4, accomplish GPRS and upload the size of the data file that the back record uploads and upload the used time;
S 5, judge whether to continue to upload data file, if upload data file, return step S 3If not, then get into step S 6
S 6, appointment in the selected configuration file the IP address in data file and download;
S 7, accomplish GPRS and download the size of back record data downloaded file and download the used time;
S 8, judge whether to continue download data files, if download data files is returned step S 6If not, get into step S 9
S 9, gather all test datas and calculate peak transfer rate and average transmission rate.
2. the method for testing of wireless communication module GPRS data transmission performance as claimed in claim 1 is characterized in that step S 2Step S afterwards, 3Further comprising the steps of before: as to judge whether network connects normal, if then get into step S 3If not, then get into step S P, step S wherein PFurther comprising the steps of: as to judge whether to update configuration file, if then return step S 1If not, then get into step S P1: the prompting user makes mistakes, request inspection network state.
3. the method for testing of wireless communication module GPRS data transmission performance as claimed in claim 1 is characterized in that step S 9Further comprising the steps of afterwards: that peak transfer rate that calculates and average transmission rate are compared with the peak transfer rate and the average transmission rate of other wireless communication modules.
4. the method for testing of wireless communication module GPRS data transmission performance as claimed in claim 1 is characterized in that, said configuration file comprises AT instruction and IP address.
5. the method for testing of wireless communication module GPRS data transmission performance as claimed in claim 1 is characterized in that said data file comprises the packet that varies in size.
6. the method for testing of wireless communication module GPRS data transmission performance as claimed in claim 1 is characterized in that, said configuration file and data file are the file of TXT form.
CN2010102869634A 2010-09-17 2010-09-17 Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module Pending CN102404771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102869634A CN102404771A (en) 2010-09-17 2010-09-17 Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102869634A CN102404771A (en) 2010-09-17 2010-09-17 Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module

Publications (1)

Publication Number Publication Date
CN102404771A true CN102404771A (en) 2012-04-04

Family

ID=45886450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102869634A Pending CN102404771A (en) 2010-09-17 2010-09-17 Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module

Country Status (1)

Country Link
CN (1) CN102404771A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856955A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Method and device for testing data transmission
CN105430035A (en) * 2014-09-18 2016-03-23 腾讯科技(北京)有限公司 Network data uploading method and device
CN109922142A (en) * 2019-02-21 2019-06-21 阿里巴巴集团控股有限公司 A kind of document down loading method, apparatus and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856955A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Method and device for testing data transmission
CN103856955B (en) * 2012-11-28 2018-07-20 腾讯科技(深圳)有限公司 A kind of test method and device of data transmission
CN105430035A (en) * 2014-09-18 2016-03-23 腾讯科技(北京)有限公司 Network data uploading method and device
CN109922142A (en) * 2019-02-21 2019-06-21 阿里巴巴集团控股有限公司 A kind of document down loading method, apparatus and system
CN109922142B (en) * 2019-02-21 2022-04-19 创新先进技术有限公司 File downloading method, device and system

Similar Documents

Publication Publication Date Title
US20130085886A1 (en) Method and system for automatic application recommendation
CN103164311B (en) Method for automatically testing communication function of object to be tested
CN103809996B (en) The method and its broadcasting system for being updated over driver are propagated mobile computing device
CN102255748B (en) Automatization test system and method, version server and terminal
CN102880535A (en) Wireless automation testing device and method used for mobile equipment
CN102708050B (en) Method and system for testing mobile application
CN106933729A (en) A kind of method of testing and system based on cloud platform
CN106155907B (en) A kind of automated testing method, device and calculate equipment
US11678243B2 (en) Enhanced data analytics for actionable improvements based on data collected in wireless and streaming data networks
CN105302706B (en) Applied program testing method and device
CN103176895A (en) Method and system of regression testing
CN105740262A (en) Crowdsourcing mode-based data acquisition sharing system and method
CN104360921A (en) Method, device and system for monitoring performance of mobile terminal
CN102404771A (en) Method for testing GPRS (General Packet Radio Service) data transmission performance of wireless communication module
CN107122293A (en) software performance testing method, device, server and system
CN110351685B (en) Virtual drive test method and system for rail transit wireless communication network
CN102445943A (en) Development testing method for automobile electric controlling component and development testing platform
CN103678130A (en) Automated performance test method and platform
CN104021056A (en) Diskless automatic testing method based on DRBL tool
CN101662478B (en) Method for tracking downloading, installation and uninstallation of software and system thereof
CN114338443B (en) CDN node full link monitoring method and device
CN111224835A (en) Automatic switching method, device and system for serial port communication modes
CN103970536B (en) Method and device for generating APP installation program
CN108540344A (en) A kind of router upgrade test method and system
CN108062266A (en) A kind of PCIE-SSD automated testing methods based on cloud platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120404