Background technology
Wireless router is to be applied to user's online, with the router of wireless coverage function.
Wireless router is considered as a transponder, is forwarded by antenna by the broadband network signal that wall in family picks out
To neighbouring Wireless Communication Equipment, such as, notebook computer, support the mobile phone of WIFI, flat board and all with WIFI function
Equipment.
At present, wireless router the most all supports proprietary X digital subscriber line/cable of cable TV (xDSL/Cable, x
Digital Subscriber Line/Cable), dynamic xDSL, Point to Point Tunnel Protocol (PPTP, Point to Point
Tunneling Protocol) four kinds of access waies, it also has the function of some other network management, as DynamicHost configures
Agreement (DHCP, Dynamic Host Configuration Protocol) service, network address translation (NAT, Network
Address Translation) fire wall, media interviews control (MAC, Media Access Control) address filtering, dynamic
State domain name etc. function.
Wireless router provides the mobility got online without being tethered to a cable, simplicity, convenience to be widely used in family, enterprise because of it
In the various network environment such as industry, and wireless router wireless can access how many users and also just become measurement and route
One important indicator of device performance quality.Statement should be that router can access how many users more accurately, is not only single
In pure connection wireless, and be used to get online without being tethered to a cable, occupied bandwidth resource, i.e. ensureing that each user remains to keep reasonably
The number of users having access under Consumer's Experience, rational bandwidth premise, referred to as concurrent user number.
The method of existing test wireless router number of concurrent is to use real wireless client to connect on wireless router
Net, browses webpage, sees video etc., sees that can the terminal number that can support meet product requirement.By true during the method test
The impact of the real network bandwidth and Website server, the performance impact of video server, be difficult to accurately test out wireless router
Concurrent user number;And need to use real user terminal, may tens, dozens or even hundreds of, expend test resource;And
And manipulate so many true terminal online, need a number of tester and long testing time, waste people
Power, time.
Based on the above shortcoming, it is necessary to design a kind of saving time and the test of labour-saving wireless router concurrent user number
Scheme.
Summary of the invention
The many aspects of the present invention disclose the test system and method for a kind of wireless router concurrent user number, pass through network
Flow simulation test software simulation wireless terminal user, it is not necessary to the true terminal of substantial amounts, saves test resource;And operation letter
Folk prescription is just, it is only necessary to client, a station server, saves manpower, time cost.
An aspect of of the present present invention provides the test system of a kind of wireless router concurrent user number, including connecing accessing wirelessly joint
Point, server end and client, described client is by the local area network side of wireless access node described in wireless connections, described service
Device end is by the wide area network side of wireless access node described in wired connection, wherein,
Described server end, is used for installing network traffics simulation & testing software, creates a pair and leads to described client
Letter;Operational network flow simulation test software draws maximum throughput M;Relatively M and N*mR, wherein, N is the user that requirement is concurrent
Number and be positive integer, mR is the bandwidth of each CU of the number of concurrent of requirement;If M < N*mR, then judge to be unsatisfactory for requirement
Number of concurrent;If M >=N*m, arrange described pair up and down or downlink throughput capacity mS is described mR, run described network traffics
Simulation & testing software draws real handling capacity mA of each user;Relatively mA and mR is the most equal, if mA=mR, then judges full
The concurrent user number that foot requires;
Described client, is used for installing network traffics simulation & testing software, by the pair of described establishment and described service
Device end communicates, and coordinates described server end to complete downlink traffic test of unloading goods by described network traffics simulation & testing software.
If it is preferred that described server end is additionally operable to judge that mA < mR, mS is incremented by until mA=mR with step-length 0.1Mbps,
Judge to meet the number of concurrent required, if mS is incremented to a certain value with step-length 0.1Mbps still can not be equal to mR more than mA during M/N,
Then judge to meet the number of concurrent of requirement.
It is preferred that described server end and client are respectively used to arrange the IP address of described pair, script information.
By which terminal in wherein said server end and client initiated it is preferred that described IP address is specified, be sent to
Which terminal.
It is preferred that described server end is server PC, described client is client PC.
It is preferred that the information of each pair represents the relevant information of a user, i.e. one wireless terminal user of simulation, multiple
Make this pair and reach N bar, the N number of user of representative simulation.
Another aspect of the present invention provides the method for testing of a kind of wireless router concurrent user number, and a client passes through nothing
Line connects the local area network side of wireless access node, and a server end is by the wide area network of wireless access node described in wired connection
Side, described method includes:
Network traffics simulation & testing software is installed in described client and server end, and in described client and service
A pair is created between device end;
Operational network flow simulation test software draws maximum throughput M;
Relatively M and N*mR, wherein, N is the concurrent number of users of requirement and for positive integer, and mR is each of the number of concurrent of requirement
The bandwidth of CU;If M < N*mR, then judge the number of concurrent being unsatisfactory for requiring;
If M >=N*m, arrange described pair up and down or downlink throughput capacity mS is described mR, run described network traffics
Simulation & testing software draws real handling capacity mA of each user;
Relatively mA and mR is the most equal, if mA=mR, then judges to meet the concurrent user number required.
It is preferred that described method also includes:
If mA < mR, mS is incremented by until mA=mR with step-length 0.1Mbps, it is judged that meet the number of concurrent required;
If mS is incremented to a certain value with step-length 0.1Mbps still can not be equal to mR more than mA during M/N, then judge to meet
The number of concurrent required.
It is preferred that described method also includes:
The IP address of described pair, script information are set respectively in described server end and client.
By which terminal in wherein said server end and client initiated it is preferred that described IP address is specified, be sent to
Which terminal.
It is preferred that the information of each pair represents the relevant information of a user, i.e. one wireless terminal user of simulation, multiple
Make this pair and reach N bar, the N number of user of representative simulation.
It is preferred that described operational network flow simulation test software show that maximum throughput M specifically includes:
Use TCP procotol, select Throughput script, operational network flow simulation test software to show that maximum gulps down
The amount of telling M.
The present invention simulates wireless terminal user by network traffics simulation & testing software, it is not necessary to the true end of substantial amounts
End, saves test resource;And simple to operation, it is only necessary to client, a station server, save manpower, time
Cost;And wireless router WAN mouth can reach with the server being connected maximum transmission speed such as 100Mbps or
1000Mbps, the network interface according to different product is different, and the bandwidth of such wireless router WAN mouth compares the more real network bandwidth
For would not become the bottleneck of the concurrent user number that wireless router is supported to require.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Technical scheme described herein is applicable to various communication system, such as current 2G, 3G communication system and the next generation
Communication system, such as global mobile communication (GSM, Global System for Mobile communication) system, code
Divide multiple access (CDMA, Code Division Multiple Access) system, time division multiple acess (TDMA, Time Division
Multiple Access) system, WCDMA (WCDMA, Wideband Code Division Multiple
Access Wireless) system, frequency division multiple access (FDMA, Frequency Division Multiple Access) system, just
Hand over frequency division multiple access (OFDMA, Orthogonal Frequency-Division Multiple Access) system, general packet
Wireless traffic (GPRS, General Packet Radio Service) system, universal mobile communications UMTS (Universal
Mobile Telecommunications) system, Long Term Evolution (LTE, Long Term Evolution) system, and other
This type of communication system.
It addition, the terms " system " and " network " are the most often used interchangeably.The terms " with/
Or ", a kind of incidence relation describing affiliated partner, can there are three kinds of relations, such as, A and/or B in expression, can be with table
Show: individualism A, there is A and B, individualism B these three situation simultaneously.It addition, character "/" herein, before and after typicallying represent
Affiliated partner is the relation of a kind of "or".
As it is shown in figure 1, be the structure of the test system of a kind of wireless router concurrent user number of embodiments of the invention
Schematic diagram, the test system of described wireless router concurrent user number includes connecing wireless access node (AP, Access Point)
10, server end (Network Server) 11 and client (Client) 12, wherein, described server end 11 can be service
Device PC, described client 12 can be client rs PC machine.The described client 12 LAN by AP10 described in wireless connections
(LAN, Local Area Network) side, described server end 11 by the wide area network of AP10 described in wired connection (WAN,
Wide Area Network) side.Described server end 11 and client 12 are provided with network traffics simulation & testing software and
Endpoint software (Endpoint), such as, described network traffics simulation & testing software can be IxChariot software, described network
Flow simulation test software can also is that other network testing software, as long as can test by analogue flow rate.
Described server end 11, is used for installing network traffics simulation & testing software, creates a pair and described client
12 communications;Operational network flow simulation test software draws maximum throughput M;Relatively M and N*mR, wherein, N is that requirement is concurrent
Number of users and be positive integer, mR is the bandwidth of each CU of the number of concurrent of requirement;If M < N*mR, then judge to be unsatisfactory for
The number of concurrent required;If M >=N*m, the downlink throughput capacity mS arranging described pair is described mR, runs described network traffics mould
Intend test software and draw real handling capacity mA of each user;Relatively mA and mR is the most equal, if mA=mR, then judges to meet
The concurrent user number required.
Described client 12, is used for installing network traffics simulation & testing software, by the pair of described establishment and described clothes
Business device end 11 communicates, and coordinates described server end 11 to complete downlink traffic by described network traffics simulation & testing software and tests.
In another embodiment of the invention, if described server end 11 is additionally operable to judge mA, < mR, mS are with step-length
0.1Mbps is incremented by until mA=mR, i.e. judges to meet the number of concurrent required, if mS is incremented to a certain value with step-length 0.1Mbps
Still can not be equal to mR more than mA during M/N, then judge to meet the number of concurrent of requirement.
In another embodiment of the invention, if wanting testing uplink flow, described server end 11 and client 12
Function is essentially identical, and difference is that uplink throughput mS arranging described pair is described mR.
In another embodiment of the invention, if described server end 11 is additionally operable to judge mA, < mR, mS are with step-length
0.1Mbps is incremented by until mA=mR, i.e. meets the number of concurrent required, is more than if mS is incremented to a certain value with step-length 0.1Mbps
During M/N, mA still can not be equal to mR, then can not meet the number of concurrent of requirement.
As in figure 2 it is shown, be the stream of the method for testing of a kind of wireless router concurrent user number of another embodiment of the present invention
Journey schematic diagram.
Before the test of wireless router concurrent user number, set the IP ground of described server end and client respectively
Location, it is ensured that between described server end and client can proper communication, i.e. operational network flow simulation test software time can
Carry out testing throughput.
Such as, respectively for described server end and client, after opening network traffics simulation & testing software, first create one
Bar pair, this pair are included up-link and downlink, set the relevant information of pair, including IP address, script information etc..
When IP address is set, Endpoint 1to Endpoint 2 specify by wherein said server end and client which eventually
End is initiated, and is sent to which terminal.By setting the IP address of Endpoint 1 and Endpoint 2, it may be determined that this test
Handling capacity flows to, and i.e. client is to server end or server end to client, the most often the uplink and downlink network flow of finger
Amount.During user is actually used, downlink traffic takes up a good part, and it can be that server end is to client that direction of the traffic is arranged.
Step 201, operational network flow simulation test software draws maximum throughput M.
Such as, use TCP procotol, select Throughput script, operational network flow simulation test software to draw
Maximum throughput M.
Step 202, compares M and N*mR.
Wherein, N is the concurrent number of users of requirement and for positive integer, and mR is the band of each CU of the number of concurrent of requirement
Wide.If M < N*mR, then judging the number of concurrent (i.e. step 207) being unsatisfactory for requiring, then flow process terminates;If M >=N*m, continue
Continue and test, perform step 203.
Step 204, the downlink throughput capacity mS arranging described pair is described mR, runs described network traffics simulation test soft
Part draws real handling capacity mA of each user.
Such as, the send_data_rate parameter in the edit script of described network traffics simulation & testing software is set (i.e.
MS parameter), i.e. the downlink throughput capacity of this pair, each user of the number of concurrent that value mS is described requirement arranging this parameter accounts for
Bandwidth mR.The information of each pair represents the relevant information of a user, i.e. one wireless terminal user of simulation, and replicating should
Bar pair reaches N bar, the N number of user of representative simulation.After having configured, run described network traffics simulation & testing software, draw
Real handling capacity mA of each user.
Step 204, compares mA and mR the most equal.
If mA=mR, then meet the concurrent user number required, i.e. step 208, flow process terminates;If mA < mR, perform step
Rapid 205.
Step 205-206, mS is incremented by with step-length 0.1Mbps, if mA≤M/N, goes to step described 204;If mA > M/N,
Then be unsatisfactory for the concurrent user number required, i.e. step 207, flow process terminates.
Such as, mS is incremented by with step-length 0.1Mbps until mA=mR, i.e. meets the number of concurrent required, i.e. step 208, flow process
Terminate;If mS is incremented to a certain value with step-length 0.1Mbps still can not be equal to mR more than mA during M/N, then can not meet requirement
Number of concurrent, i.e. step 207, flow process terminates.
The method of testing for testing downlink traffic that above-described embodiment describes, in another embodiment of the invention, if
Wanting testing uplink flow, the work process of described server end and client is essentially identical, and difference is to arrange described
Uplink throughput mS of pair is described mR.
In sum, by method of testing and the system of above-mentioned wireless router concurrent user number, to wireless router also
Send out the performance of number when being estimated, simulate wireless terminal user by network traffics simulation & testing software software, it is not necessary to quantity is huge
Big true terminal, saves test resource;And simple to operation, it is only necessary to client, a station server, save
Manpower, time cost;And wireless router WAN mouth can reach the transmission speed of maximum such as with the server being connected
100Mbps or 1000Mbps, the network interface according to different product is different, and the bandwidth of such wireless router WAN mouth is compared truer
The network bandwidth for would not become the bottleneck of the concurrent user number that wireless router is supported to require.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.