CN102281559B - Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards - Google Patents

Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards Download PDF

Info

Publication number
CN102281559B
CN102281559B CN201010199309.XA CN201010199309A CN102281559B CN 102281559 B CN102281559 B CN 102281559B CN 201010199309 A CN201010199309 A CN 201010199309A CN 102281559 B CN102281559 B CN 102281559B
Authority
CN
China
Prior art keywords
data card
ftp
address
data
wireless network
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.)
Expired - Fee Related
Application number
CN201010199309.XA
Other languages
Chinese (zh)
Other versions
CN102281559A (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.)
Yu Fenliang
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010199309.XA priority Critical patent/CN102281559B/en
Publication of CN102281559A publication Critical patent/CN102281559A/en
Application granted granted Critical
Publication of CN102281559B publication Critical patent/CN102281559B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for testing the packet switch (PS) performance of a wireless network by performing a file transfer protocol (FTP) service through multiple data cards. The method comprises the following steps that: a plurality of data cards are integrated on an industrial personal computer or a computer through a serial port, wherein each data card communicates with the wireless network through a null interface; an FTP client of the computer is connected with the plurality of data cards by dialing a number respectively and each data card acquires an Internet protocol (IP) address which is allocated by the wireless network; the FTP client establishes connection between each data card and an FTP server of the wireless network by binding the IP address of each data card so as to make each data card perform file downloading/uploading services; and uplink/downlink rates corresponding to the file downloading/uploading services performed by each data card are counted periodically. Under the condition that the plurality of data cards can be integrated on one computer for testing the PS performance of the network by performing FTP service, the FTP connection is established on different data cards respectively, so that test on the PS domain service performance of the network is realized.

Description

Most method and device carrying out ftp business test wireless network PS performance according to card
Technical field
The present invention relates to the communications field, be specifically related to a kind of many data cards and carry out FTP (file transfer protocol (FTP) respectively, File Transfer Protocol) method of operational trials wireless network PS (packet switching, Packet Switch) performance and device.
Background technology
Along with the construction of 3G network, the demand of data service is also increasing, the providing capability of each operator to data service is also more and more paid attention to, so extremely urgent for the performance test of PS domain data service, the successful commercialization of data card terminal is for we solve terminal equipment problem, but the USB (USB on a notebook, Universal Serial BUS) mouth can only plug a data card test, a huge waste to test resource, want to test with multiple terminals, need the PC of respective numbers.
Industrial computer is integrated with multiple data card, normally used ftp client (such as CuteFtp, etc. FileZilla) certain data card can not be specified to carry out ftp business, and the speed of adding up each data card also will by other instrument, inconvenience very.
Summary of the invention
A kind of majority is the object of the present invention is to provide to carry out the method for ftp business test wireless network PS performance, so that ftp client can specify arbitrary data card to carry out ftp business according to card.
Another object of the present invention is to provide a kind of majority carries out ftp business test wireless network PS performance device according to card, so that ftp client can specify arbitrary data card to carry out ftp business.
According to an aspect of the present invention, provide a kind of majority carries out ftp business test wireless network PS performance method according to card, comprising:
On computers by the integrated multiple data card of serial ports, each data card is by eating dishes without rice or wine and wireless network communication;
The ftp client of described computer is connected with described multiple data card respectively by dialing, and makes each data card obtain the IP address distributed by wireless network;
Ftp client, by the I P address of the described each data card of binding, sets up the connection of the ftp server of each data card and wireless network respectively, makes each data card carry out file download/upload business;
Periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate.
Wherein, ftp client and the connection of each data card are that ftp client is connected realization by carrying out PPP with each data card Modem mouth.
Wherein, the driver that ftp client utilizes the RAS of windows to call each data card modem successively carries out dial-up operation.
Wherein, ftp client, behind the IP address of binding one data card, by filling in ftp server address, port numbers, sets up the connection with ftp server.
Wherein, the connection of data card and ftp server is described ftp client by bind this data card IP address and set up and the connection of ftp server realizing.
Wherein, after ftp client utilizes the data card I P address of binding to set up to be connected with ftp server, the listed files on acquisition ftp server, then therefrom selects a certain file, and carries out the download/upload of selected file via the data card of binding IP address.
Wherein, for the data card carrying out ftp business, the RasGetConnectionStatistics function of the RAS that client uses windows to provide obtains each transmission of data card Modem port and the data volume of reception.
Wherein, by the transmission data volume in the unit of account time, upstream rate value is obtained; By the reception data volume in the unit of account time, obtain downstream data rate.
According to a further aspect of the invention, provide a kind of majority carries out ftp business test wireless network PS performance device according to card, comprising:
Be integrated in the multiple data cards on serial ports of computers, its each data card is by eating dishes without rice or wine and wireless network communication;
Be loaded in ftp client in described computer, connected with described multiple data card respectively by dialing, the IP address making each data card obtain wireless network to distribute to, and by the IP address of the described each data card of binding, set up the connection of the ftp server of each data card and wireless network respectively, make each data card carry out file download/upload business;
Be loaded in the statistic unit in described computer, for periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate.
Wherein, after ftp client utilizes the data card IP address of binding to set up to be connected with ftp server, the listed files on acquisition ftp server, therefrom selects a certain file, and carries out the download/upload of selected file via the data card of binding IP address.
Compared with prior art, beneficial effect of the present invention is: on an industrial computer, integrated multiple data card carries out ftp business when carrying out test network PS performance, FTP can be made to connect be based upon respectively on different data cards, realize the test to network PS field service feature.
Accompanying drawing explanation
Fig. 1 is environment configurations schematic diagram of the present invention;
Fig. 2 is a kind of majority of the present invention carries out the device of ftp business test wireless network PS performance schematic diagram according to card;
Fig. 3 is display a kind of majority of the present invention carries out the method for ftp business test wireless network PS performance schematic diagram according to card;
Fig. 4 is the schematic diagram of the service structure of the RAS dialing of Windows of the present invention;
To be ftp client of the present invention link via data the ftp server connecing wireless network to Fig. 5 goes forward side by side the flow chart of row data communication;
Fig. 6 is the flow chart carrying out counting rate of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, should be appreciated that following illustrated preferred embodiment is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Fig. 1 shows environment configurations of the present invention, as shown in Figure 1, at a computer or industrial computer (below for industrial computer, the present invention will be described) on by the integrated multiple data card of serial ports, each data card carries out communication by eat dishes without rice or wine i.e. UU mouth and wireless network (as Node B).
Fig. 2 shows majority of the present invention carries out ftp business test wireless network performance device according to card, comprising:
Be integrated in the multiple data cards on industrial computer serial ports, its each data card is by eating dishes without rice or wine and wireless network communication;
Be loaded in the ftp client in industrial computer, connected with described each of multiple data card respectively by dialing, the IP address making (obtaining) each data card obtain wireless network to distribute to, and by binding the IP address of described each data card successively, set up the connection of the ftp server of each data card and wireless network respectively, make each data card carry out file download/upload business, specifically, ftp client is connecting with the first data card, and after making this data card obtain the IP address of wireless network distribution by dialing, bind the IP address of this data card, then the ftp server via this data card and wireless network sets up data cube computation, and then start to carry out the download of file via the first data card or upload business, then ftp client is successively to the second data card, 3rd data card ... N data card performs the operation identical with the first data card, make the second data card, 3rd data card ... N data card all carries out the download of file or uploads business,
Be loaded in the statistic unit in industrial computer, for periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate.
The driver that ftp client utilizes the RAS of windows to call each data card modem successively carries out dial-up operation; Windows system automatically completes and is connected with the PPP of each data card Modem mouth, realizes ftp client and is connected with each data card.Data card realizes PDP activation automatically, thus obtains IP address.
In order to set up the connection of ftp client and ftp server, need after FTP binds the IP address of a data card, fill in ftp server address, port numbers, then by initiating connection request, realize the connection of ftp client and ftp server, and realize the connection of this data card and ftp server thus.
After ftp client utilizes the data card IP address of binding to set up to be connected with ftp server, the listed files on ftp server can be obtained, then therefrom select a certain file by user, and carry out the download/upload of selected file via the data card of binding IP address.
For the data card carrying out ftp business, the RasGetConnectionStatistics function of the RAS that client can use windows to provide obtains each transmission of data card Modem port and the data volume of reception.
Statistic unit, by the transmission data volume in the unit of account time, obtains upstream rate value, or by the reception data volume in the unit of account time, obtains downstream data rate.
Fig. 3 shows majority of the present invention carries out ftp business test wireless network PS performance method according to card, comprises the following steps:
By the integrated multiple data card of serial ports on an industrial computer, each data card is by eating dishes without rice or wine and wireless network communication;
The ftp client of described industrial computer is connected with described each of multiple data card respectively by dialing, makes (obtaining) each data card obtain the IP address distributed by wireless network;
Ftp client, by binding the IP address of described each data card successively, sets up the connection of the ftp server of each data card and wireless network respectively, makes each data card carry out file download/upload business;
Periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate.
Below in conjunction with Fig. 4, Fig. 5 and Fig. 6, apparatus and method of the present invention are specifically described.
Fig. 4 shows the service structure of the RAS dialing of Windows of the present invention, as can be seen from the figure RAS is in the upper strata of ISO/OSI model, TAPI (the Telephony Application Programming Interface of lower floor, Telephony Application Program Interface) call Unimodem, Unimodem is general modem driver, and it calls serial ports API and realizes the communication with modulation /demodulation equipment.The present invention uses RAS (the remote access service of windows, Remote Access Service) dial, the application program calling RAS performs usually on a client, the remote access protocol of this connection use two kinds of standards: PPP point-to-point protocol and SLIP (serial transmission line Internet agreement, Serial Line InternetProtocol).
Before testing, the AT instruction of standard can be used easily to needing the PS territory service rate of test to arrange, e.g. ,+CREGREQ=1,2,64,128.......Wherein " 2 " are network type: interactive class, and " 64 " are upstream rate, and " 128 " are downstream rate; Can arrange the speed of test easily like this.
In general, the present invention drives the USB port mapping out by data card, arranges the Qos (network quality, Quality of Service) of PS link, mainly arranges the network type in PS territory, up-downgoing speed.
Fig. 5 shows ftp client of the present invention and links via data the ftp server connecing wireless network and to go forward side by side the flow process of row data communication.
Step S31, the API using the RAS of Windows to provide, utilizes function RasSetEntryProperties to arrange the attribute information of dial-up connection, dials with RasDial function, use call back function RasDialFuncl to obtain dialing procedure, create ftp client and be connected with the PPP of data card;
Step S32, the dialing in step S31 can carry out PDP activation by trigger data card simultaneously, sets up the connection with network side;
Step S33, obtains by AT instruction AT+CGPADDR=1 the IP address that this data card is assigned to; The IP address format such as got is: h1.h2.h3.h4;
Step S34, starts ftp client;
Step S35, sets up the control connection between ftp client and ftp server:
Step S36, ftp server returns FTP successful connection message;
Step S37, ftp client binds the IP address of a certain data card, is connected with port foundation according to the ftp server address that user fills in the Socket of ftp server;
Step S38, ftp client uses File Transfer Protocol word PORT, and (form of PORT agreement word is: PORT h1, h2, h3, h4, p1, p2, wherein h1 is the most most-significant byte of IP address, p1 is the most-significant byte of local port) set up the data cube computation with ftp server, such as, local IP is specified to data cube computation, prevent data cube computation to be based upon on other data card;
Step S39, ftp client obtains the list of ftp server files, carries out download/upload according to a certain file that user selects;
After this, set up the connection of other data cards and ftp server respectively according to above flow process and upload/download file;
Fig. 6 shows the flow process that statistic unit of the present invention realizes counting rate, and the present invention periodically obtains the data volume D of data card port, and obtains system time T by the API of Windows.
For each data card carrying out ftp business, the RasGetConnectionStatistics function of the RAS that statistic unit of the present invention can use windows to provide obtains each transmission of data card Modem port and the data volume of reception.Idiographic flow as shown in Figure 6, if setting timer → acquisitions current time T → acquisition Modem mouth data volume → by data volume D and time T calculating real time rate → calculating Mean Speed → determine whether is maximum or minimum-rate →, then preserve rate value, and report UI carry out showing → if not, then report UI to show.
The speed of statistics comprises real time rate and Mean Speed, and both account forms are identical, and difference is only that real time rate obtains data volume by standard time unit, and Mean Speed then obtains data volume according to from the statistics time started to current time.For example, if this data volume got is D1, the data volume got last time is D2, and this time is t1, and the time of last time is t2, then rate value R is: R=(D1-D2)/(t1-t2); If statistics real time rate, then the time interval of t1-t2 is standard time unit; If statistical average speed, then the t2 corresponding to data volume D2 is statistics start time, and the t1 corresponding to data volume D1 is current time.
The present invention can show the rate behavior of each data card respectively, and utilizes a kind of line of color to represent downstream rate, represents upstream rate by another kind of color.
In sum, on an industrial computer, integrated multiple data card carries out ftp business when carrying out test network PS performance, the present invention can make FTP connection be based upon on different data cards respectively, realize test to network PS field service feature, solving common ftp client can not the situation of designated terminal; Conveniently carry out effect display, can the rate behavior of each data card of real time inspection, also can check the situation of whole network; Further, check that the rate behavior of each data card no longer needs other instrument.
Although above to invention has been detailed description, the present invention is not limited thereto, those skilled in the art of the present technique can carry out various amendment according to principle of the present invention.Therefore, all amendments done according to the principle of the invention, all should be understood to fall into protection scope of the present invention.

Claims (9)

1. majority carries out a method for ftp business test wireless network PS performance according to card, it is characterized in that, comprising:
By the integrated multiple data card of serial ports on industrial computer, each data card is by eating dishes without rice or wine and the base station communication of wireless network;
The ftp client of described industrial computer is connected with described multiple data card respectively by dialing, and makes each data card obtain the IP address distributed by wireless network;
Ftp client, by the IP address of the described each data card of binding, sets up the connection of the ftp server of each data card and wireless network respectively,
Described ftp client utilizes the data card IP address of binding to set up to be connected with ftp server, makes each data card carry out file download/upload business;
After the data card IP address of described utilization binding is set up and is connected with ftp server, periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate;
Wherein, described ftp client and the connection of each data card are that ftp client is connected realization by carrying out PPP with each data card Modem mouth;
Wherein, described FTP is file transfer protocol (FTP), and described PS is packet switching, and described PPP is point-to-point protocol.
2. method according to claim 1, is characterized in that, the driver that described ftp client utilizes the RAS of windows to call each data card modem successively carries out dial-up operation.
3. method according to claim 1, is characterized in that, described ftp client, behind the IP address of binding one data card, by filling in ftp server address, port numbers, sets up the connection with ftp server.
4. method according to claim 3, is characterized in that, the connection of data card and ftp server is described ftp client by bind this data card IP address and set up and the connection of ftp server realizing.
5. method according to claim 1, it is characterized in that, after described ftp client utilizes the foundation of the data card IP address of binding to be connected with ftp server, obtain the listed files on ftp server, then therefrom select a certain file, and carry out the download/upload of selected file via the data card of binding IP address.
6. method according to claim 5, it is characterized in that, for the data card carrying out ftp business, the RasGetConnectionStatistics function of the RAS that client uses windows to provide obtains each transmission of data card Modem port and the data volume of reception.
7. method according to claim 6, is characterized in that, by the transmission data volume in the unit of account time, obtains upstream rate value; By the reception data volume in the unit of account time, obtain downstream data rate.
8. majority carries out a device for ftp business test wireless network PS performance according to card, it is characterized in that described device comprises:
Be integrated in the multiple data cards on industrial computer serial ports, its each data card is by eating dishes without rice or wine and the base station communication of wireless network;
Be loaded in ftp client in described industrial computer, connected with described multiple data card respectively by dialing, the IP address making each data card obtain wireless network to distribute to, and by the IP address of the described each data card of binding, set up the connection of the ftp server of each data card and wireless network respectively;
Be loaded in the statistic unit in described industrial computer, for after utilizing the data card IP address of binding to set up to be connected with ftp server, periodically add up file download that each data card carries out/upload corresponding to business descending/upstream rate;
Wherein, described ftp client utilizes the data card IP address of binding to set up to be connected with ftp server, makes each data card carry out file download/upload business;
Wherein, described ftp client and the connection of each data card are that ftp client is connected realization by carrying out PPP with each data card Modem mouth;
Wherein, described FTP is file transfer protocol (FTP), and described PS is packet switching, and described PPP is point-to-point protocol.
9. device according to claim 8, it is characterized in that, after described ftp client utilizes the foundation of the data card IP address of binding to be connected with ftp server, obtain the listed files on ftp server, therefrom select a certain file, and carry out the download/upload of selected file via the data card of binding IP address.
CN201010199309.XA 2010-06-12 2010-06-12 Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards Expired - Fee Related CN102281559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010199309.XA CN102281559B (en) 2010-06-12 2010-06-12 Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010199309.XA CN102281559B (en) 2010-06-12 2010-06-12 Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards

Publications (2)

Publication Number Publication Date
CN102281559A CN102281559A (en) 2011-12-14
CN102281559B true CN102281559B (en) 2015-04-01

Family

ID=45106673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010199309.XA Expired - Fee Related CN102281559B (en) 2010-06-12 2010-06-12 Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards

Country Status (1)

Country Link
CN (1) CN102281559B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906084A (en) * 2012-12-26 2014-07-02 工业和信息化部电信规划研究院 Download speed testing method for multiple LTE terminals
CN104125120B (en) * 2014-08-14 2018-01-02 上海斐讯数据通信技术有限公司 A kind of full load method for testing reliability, test system and test device
WO2018223304A1 (en) * 2017-06-07 2018-12-13 华为技术有限公司 Method and apparatus for transmitting data
CN111200539A (en) * 2019-12-26 2020-05-26 天津中科曙光存储科技有限公司 Network card performance statistical method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538671A (en) * 2003-04-14 2004-10-20 华为技术有限公司 Digital user line broad band business testing method
CN1859703A (en) * 2006-03-10 2006-11-08 华为技术有限公司 Radio communication detecting system
CN201440734U (en) * 2009-08-18 2010-04-21 深圳华为通信技术有限公司 Network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538671A (en) * 2003-04-14 2004-10-20 华为技术有限公司 Digital user line broad band business testing method
CN1859703A (en) * 2006-03-10 2006-11-08 华为技术有限公司 Radio communication detecting system
CN201440734U (en) * 2009-08-18 2010-04-21 深圳华为通信技术有限公司 Network equipment

Also Published As

Publication number Publication date
CN102281559A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN102025759B (en) Method and system for providing user generated content (UGC) sharing businesses in real time
CN102281559B (en) Method and device for testing packet switch (PS) performance of wireless network by performing file transfer protocol (FTP) service through multiple data cards
CN100369414C (en) Method for changing push business parameters data according to user and terminal relation
US20070117560A1 (en) Remote testing of mobile terminals
CN103516576A (en) Method for processing instant message and device thereof
RU2004104355A (en) MOBILE COMMUNICATION DELIVERY SYSTEM
WO2010050643A1 (en) System and method for managing and appling history information of terminal in converged personal network service environment, and converged personal network service server, mobile communication and end device therefor
CN103167428B (en) Picture adapting method, mobile phone newspaper pusher and system
CN101022612A (en) Mobile terminal user information data duplicate method
CN101867572B (en) The implementation method of wireless U disk and system
CN101998473B (en) System for testing performance of communication equipment
CN101534519B (en) Method for displaying package switching congestion state of wireless communication network
CN103428754A (en) Method and device for reporting traffic, network traffic statistical method and device
CN107222560A (en) A kind of multinode Hui Yuan method, device and storage medium
CN105578450A (en) Flow control method and apparatus thereof
CN100394732C (en) WAP gateway performance test method
CN104243725B (en) Simple call system and method thereof
CN101668258B (en) Method, system and device for data transmission
CN107479911A (en) Download method, user equipment and the application server of application program
CN106302670B (en) A kind of picture update method, communication terminal and server
CN109922484A (en) A kind of test method and test device
CN104780591B (en) Business interoperability implementation method, device, system and relevant device between terminal device
CN103916517B (en) A kind of method and apparatus realizing GSM support in Android system
CN100358293C (en) Method for changing push business parameters data according to user signed data
WO2020253330A1 (en) Method and apparatus for customer premise equipment configuration management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171116

Address after: 024000 the Inner Mongolia Autonomous Region Chifeng City Wengniute Guangde Gong Zhen four village four groups

Patentee after: Yu Fenliang

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Yu Fenliang

Inventor before: Ma Wenchao

Inventor before: Jiao Baojun

Inventor before: Wang Guomin

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150401

Termination date: 20180612