CN105049297A - Wireless throughput testing method and system - Google Patents

Wireless throughput testing method and system Download PDF

Info

Publication number
CN105049297A
CN105049297A CN201510532522.0A CN201510532522A CN105049297A CN 105049297 A CN105049297 A CN 105049297A CN 201510532522 A CN201510532522 A CN 201510532522A CN 105049297 A CN105049297 A CN 105049297A
Authority
CN
China
Prior art keywords
throughput
terminal
testing
radio
equipment
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.)
Granted
Application number
CN201510532522.0A
Other languages
Chinese (zh)
Other versions
CN105049297B (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510532522.0A priority Critical patent/CN105049297B/en
Publication of CN105049297A publication Critical patent/CN105049297A/en
Application granted granted Critical
Publication of CN105049297B publication Critical patent/CN105049297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless throughput testing method. The method comprises the following steps of: newly configuring N sub-networks with different service set identifiers for a throughput testing device, wherein each service set identifier is corresponding to a different virtual local area network with an exclusive network segment; enabling a first terminal to connect to the N sub-networks with different service set identifiers, obtaining corresponding network attribute of the first terminal according to the exclusive network segment; newly configuring a transmitting-receiving port of the throughput testing device, and connecting the corresponding virtual local area network; newly configuring a receiving port and M forwarding ports of an interactive device, and connecting the corresponding local area network; enabling a second terminal to connect to the corresponding forwarding port, configuring the network attribute according to the exclusive network segment of the second terminal; determining a testing terminal from N first terminals, configuring wireless throughput testing script for the testing terminal, and running the wireless throughput testing script within a preset period of time to obtain the wireless throughput. With the method and the system, the wireless throughput can be tested and obtained accurately by statistics, and batch test of throughput is realized.

Description

A kind of radio throughput method of testing and system
Technical field
The invention belongs to wireless communication technology field, relate to a kind of method of testing and system, particularly relate to a kind of radio throughput method of testing and system.
Background technology
Data in network are made up of packet one by one, and consumes resources is wanted in the process of fire compartment wall to each packet.Throughput refers to when not having LOF, the maximum rate that equipment can accept, its method of testing is: the frame sending some in testing with given pace, and calculate the frame of Devices to test transmission, if the frame sent is equal with the number of frames of reception, so just transmission rate is improved and retest; If received frame is less than transmission frame, reduces transmission rate and retest, until draw final result, throughput test results with bps or byte per second represent.
When testing equipment (such as wireless router) radio throughput supporting WIFI (Wireless Fidelity), usual way calls Chariot (the applied in network performance test instrument that the angle based on application layer uses the performance of some standard flows to network system to analyze) or Iperf (a kind of applied in network performance test instrument with 2 computers, the bandwidth performance of maximum transmitted control protocol and User Datagram Protoco (UDP) can be tested) software tests, but one can only be tested simultaneously, when factory produces in batches, cannot batch detection, utilization rate of equipment and installations is low.
Especially current WIFI product has many SSID (ServiceSetIdentifier, service set), and different SSID can also arrange different VLAN (VirtualLocalAreaNetwork, VLAN), the test for throughput is in this case exactly a kind of challenge.For this challenge, prior art is exactly the throughput of the wireless aps of multi-VLAN (AccessPoint, wireless access node) be simply added, but this simple addition can not equal the wireless aps throughput of the multi-VLAN that will test.
Therefore, how to provide a kind of radio throughput method of testing and system, inaccurate with the test solved in radio throughput in prior art, cannot the many disadvantages such as batch testing throughput, become the technical problem that practitioner in the art is urgently to be resolved hurrily.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of radio throughput method of testing and system, inaccurate for solving the test of radio throughput in prior art, cannot the problem of batch testing throughput.
For achieving the above object and other relevant objects, one aspect of the present invention provides a kind of radio throughput method of testing, be applied to and comprise N number of first terminal, M the second terminal, the communication network of testing throughput equipment and two-layer switching equipment, described double-deck interactive device is configured with receiving port and M forwarding port, wherein, N, M be more than or equal to 1 positive integer, described radio throughput method of testing comprises the following steps: described in initialization, testing throughput equipment makes it restore to initial condition; Again be the N number of sub-network with different service set of described testing throughput Equipments Setting, service set described in each respectively corresponding difference has the VLAN of the exclusive network segment; Wherein, described first terminal and the second terminal belong to the Bu Tong described exclusive network segment;
Described first terminal is made to be connected to N number of sub-network with different service set respectively, and the network attribute corresponding with it according to described exclusive network segment automatic acquisition; Reconfigure the transmitting-receiving port of described testing throughput equipment, connect corresponding VLAN; Reconfigure receiving port and M the forwarding port of described interactive device, connect corresponding VLAN; Described second terminal is made to be connected to M with it corresponding forwarding port respectively, and according to the described exclusive network segment configuration network attribute of described second terminal;
In described N number of first terminal, determine a test terminal, be described test terminal configuration radio throughput test script, and run the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.
Alternatively, the step reconfiguring the transmitting-receiving port of described testing throughput equipment described in is the forward mode of the transmitting-receiving port reconfiguring described testing throughput equipment; The step of the described receiving port and M forwarding port that reconfigure described interactive device is the repeater mode of the receiving port reconfiguring described interactive device, makes described M to forward port and allows access different virtual LAN.
Alternatively, described network attribute comprises IP address and gateway address.
Alternatively, describedly run the step that described radio throughput test script obtains the radio throughput of described testing throughput equipment within a predetermined period of time and comprise: in the multiple direction of the traffics that are provided with scheduled volume transmission channel of N number of first terminal to M the second terminal, run described radio throughput test script, in described predetermined amount of time, add up the first radio throughput of described radio throughput testing equipment; At M the second terminal in multiple direction of the traffics being provided with scheduled volume transmission channel of N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the second radio throughput of described radio throughput testing equipment; The direction of the traffic of scheduled volume transmission channel and M the second terminal is provided with in multiple direction of the traffics being provided with scheduled volume transmission channel of N number of first terminal to M the second terminal multiple at N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the 3rd radio throughput of described radio throughput testing equipment.
Alternatively, the first radio throughput refers to the throughput of described radio throughput testing equipment from wireless to wired; Second radio throughput refers to the throughput of described radio throughput testing equipment from wired to wireless; 3rd radio throughput refers to the throughput while described radio throughput testing equipment is from wireless to wired, from wired to wireless.
The present invention also provides a kind of radio throughput test macro on the other hand, be applied to and comprise N number of first terminal, N number of second terminal, the communication network of testing throughput equipment and two-layer switching equipment, described double-deck interactive device is configured with receiving port and N number of forwarding port, wherein, N be more than or equal to 1 positive integer, described radio throughput test macro comprises: initialization module, makes it restore to initial condition for testing throughput equipment described in initialization; First configuration module, is connected with described initialization module, and for being the N number of sub-network with different service set of described testing throughput Equipments Setting again, service set described in each respectively corresponding difference has the VLAN of the exclusive network segment; Wherein, described first terminal and the second terminal belong to the Bu Tong described exclusive network segment; First control module, is connected with described first configuration module, for making described first terminal be connected to N number of sub-network with different service set respectively, and the network attribute corresponding with it according to described exclusive network segment automatic acquisition; Second configuration module, is connected with described first configuration module and the first control module respectively, for reconfiguring the transmitting-receiving port of described testing throughput equipment, connects corresponding VLAN; 3rd configuration module, respectively with described first configuration module and the second configuration module, forwards port for the receiving port and M reconfiguring described interactive device, connects corresponding VLAN; Second control module, is connected with described 3rd configuration module, for making described second terminal be connected to M with it corresponding forwarding port respectively, and according to the described exclusive network segment configuration network attribute of described second terminal; Testing throughput module, be connected with described first control module and the second control module, for determining a test terminal in described N number of first terminal, for described test terminal configuration radio throughput test script, and run the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.
Alternatively, described second configuration module is specifically for reconfiguring the forward mode of the transmitting-receiving port of described testing throughput equipment; Described 3rd configuration module, specifically for reconfiguring the repeater mode of the receiving port of described interactive device, makes described M to forward port and allows access different virtual LAN
Alternatively, described testing throughput module also for: at N number of first terminal to N number of direction of the traffic being provided with scheduled volume transmission channel of M the second terminal, run described radio throughput test script, in described predetermined amount of time, add up the first radio throughput of described radio throughput testing equipment; At M the second terminal in N number of direction of the traffic being provided with scheduled volume transmission channel of N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the second radio throughput of described radio throughput testing equipment; The direction of the traffic of scheduled volume transmission channel and M the second terminal is provided with in N number of direction of the traffic being provided with scheduled volume transmission channel of N number of first terminal to M the second terminal N number of at N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the 3rd radio throughput of described radio throughput testing equipment.
Alternatively, described radio throughput test script is IxChariot script.
Alternatively, the network attribute of N number of described first terminal and M described second terminal can change in the exclusive network segment corresponding with it.
As mentioned above, radio throughput method of testing of the present invention and system, have following beneficial effect:
Radio throughput method of testing described in example of the present invention and system can go out radio throughput by test statistics exactly, substantially increase production efficiency and utilization rate of equipment and installations, save manpower and cost of equipment maintenance, and tool is more widely used scope.
Accompanying drawing explanation
Fig. 1 is shown as the outdoor scene schematic diagram of the communication network of the present invention's application.
Fig. 2 is shown as radio throughput method of testing schematic flow sheet of the present invention.
Fig. 3 is shown as the idiographic flow schematic diagram of step S7 in radio throughput method of testing of the present invention.
Fig. 4 is shown as the theory structure schematic diagram of radio throughput test macro of the present invention.
Element numbers explanation
1 communication network
11 first terminals
12 second terminals
13 testing throughput equipment
14 double-deck switching equipment
2 radio throughput test macros
20 initialization modules
21 first configuration modules
22 first control modules
23 second configuration modules
24 the 3rd configuration modules
25 second control modules
26 testing throughput modules
S1 ~ S7 step
S71 ~ S73 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Embodiment one
The present embodiment provides a kind of radio throughput method of testing, be applied to and comprise N number of first terminal 11, M the second terminal 12, the communication network 14 of testing throughput equipment 13 (DUT13) and double-deck switching equipment, the outdoor scene schematic diagram of described communication network as shown in Figure 1.Described two layers of interactive device are configured with X receiving port and M and forward port, wherein, N, M be more than or equal to 1 positive integer.In the present embodiment, N, M are 4.Described first terminal 11 and the second terminal 12 can be smart mobile phone, panel computer, notebook computer, the terminal equipments such as desktop computer, in the present embodiment, described first terminal 11 and the second terminal 12 are all notebook computer PC, PC1, PC2, PC3, PC4, PC5, PC6, PC7, PC8 namely in figure, and described testing throughput equipment 13 is WIFI router.Refer to Fig. 2, be shown as radio throughput method of testing schematic flow sheet.As shown in Figure 2, described radio throughput method of testing comprises following step:
S1, described in initialization, testing throughput equipment makes it restore to initial condition.In the present embodiment, step S1 is by described testing throughput equipment, and namely WIFI router returns to factory state.
S2, again for described testing throughput Equipments Setting 4 has the sub-network of different service set (SSID), namely configure 4 names and be called SSID1, SSID2, SSID3, the sub-network of SSID4, service set described in each (SSID) respectively corresponding difference has the virtual LAN VLAN of the exclusive network segment, i.e. VLAN100, VLAN200, VLAN300, VLAN400.As shown in Figure 2, described 4 first terminals and the second terminal belong to the Bu Tong described exclusive network segment; Such as, the sub-network of the PC1 of first terminal described in the present embodiment configuration server set identifier SSID1, the corresponding VLAN100 of this sub-network, belongs to the 192.168.1.0/24 network segment; The sub-network of described first terminal PC2 configuration server set identifier SSID2, the corresponding VLAN200 of this sub-network, belongs to the 192.168.2.0/24 network segment; The sub-network of described first terminal PC3 configuration server set identifier SSID3, the corresponding VLAN300 of this sub-network, belongs to the 192.168.3.0/24 network segment; The sub-network of described first terminal PC4 configuration server set identifier SSID4, the corresponding VLAN400 of this sub-network, belongs to the 192.168.4.0/24 network segment.
S3, described 4 first terminals are made to be connected to the sub-network that 4 have different service set respectively, namely first terminal PC1 is connected to the sub-network of server set mark SSID1, first terminal PC2 is connected to the sub-network of server set mark SSID2, first terminal PC3 is connected to the sub-network of server set mark SSID3, first terminal PC4 is connected to the sub-network of server set mark SSID4, and the network attribute corresponding with it according to each self-corresponding described exclusive network segment automatic acquisition.Described network attribute comprises IP address and gateway address, in the present embodiment, and first terminal PC1, the IP address of PC2, PC3, PC4 is set to 192.168.1.100 respectively, 192.168.2.100,192.168.3.100,192.168.4.100, first terminal PC1, PC2, PC3, belonging to PC4, gateway is respectively 192.168.1.1,192.168.2.1,192.168.3.1,192.168.4.1.In the present embodiment, the IP address of PC1-PC4 can suitably be changed, but will be arranged in the corresponding network segment, and the gateway of PC1-PC4 also can do corresponding adjustment according to the corresponding network segment.
S4, reconfigure the transmitting-receiving port of described testing throughput equipment 13 (DUT), and allow different virtual LAN, namely allow VLAN100, VLAN200, VLAN300, VLAN400 pass through.In the present embodiment, the transmitting-receiving port reconfiguring described testing throughput equipment 13 (DUT) refers to that the forward mode of the transmitting-receiving port reconfiguring described testing throughput equipment is BRIDGE pattern (bridge mode).
S5, reconfigures receiving port (F0/1) and 4 forwardings port (F0/2, F0/3, F0/4, F0/5) of described interactive device 14, connects corresponding VLAN, namely connect VLAN500, VLAN600, VLAN700, VLAN800.In the present embodiment, the receiving port (F0/1) and the N number of forwarding port that reconfigure described interactive device 14 refer to that the repeater mode of the receiving port (F0/1) reconfiguring described interactive device 14 is TRUNK pattern, described 4 are made to forward port (F0/2, F0/3, F0/4, F0/5) accessing virtual LAN VLAN500, VLAN600, VLAN700, VLAN800.
S6, makes described 4 the second terminal PC 5, PC6, PC7, PC8 is connected to it corresponding 4 respectively and forwards ports, namely forward port F0/2, F0/3, F0/4, F0/5, and according to the described exclusive network segment configuration network attribute of described N number of second terminal.In the present embodiment, the second terminal PC 5, PC6, the IP address of PC7, PC8 is set to 192.168.1.100,192.168.2.100 respectively, 192.168.3.100,192.168.4.100, the second terminal PC 1, belonging to PC2, PC3, PC4, gateway is respectively 192.168.1.1,192.168.2.1,, 192.168.3.1,192.168.4.1.In the present embodiment, the IP address of PC5-PC8 can suitably be changed, but will be arranged in the corresponding network segment, and the gateway of PC5-PC8 also can do corresponding adjustment according to the corresponding network segment.
In the present embodiment, described first terminal PC1, PC2, PC3, PC4 sends packet to WIFI router, and store a routing table in described WIFI router, WIFI router one 3 receives described first terminal PC1, PC2, the packet that PC3, PC4 send, and resolve described packet, described packet comprises the object network address of Packet Generation, next hop address.In the present embodiment, due to merely through router one 3 so first terminal PC1, the next hop address of PC2, PC3, PC4 is directly pay+transmitting-receiving port.Described Packet Generation to the F0/1 network interface of switching equipment 14, through resolving, is given forwarding port F0/2, F0/3, F0/4, the F0/5 corresponding with the object network address by the Packet Generation of reception by described WIFI router one 3.
S7, determines a test terminal in described 4 first terminals, is described test terminal configuration radio throughput test script, and runs the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.Transmission data in VLAN are made up of packet one by one, and consumes resources is wanted in the process of fire compartment wall to each packet.Throughput refers to when not having LOF, the maximum rate that testing throughput equipment can accept, and namely described testing throughput equipment is in saturation condition.In the present embodiment, the mode data transmission bauds of testing throughput equipment being adjusted to maximum rate can comprise:
1, pre-configured transmission channel is increased;
2, the delivery flow rate of preset value is increased.
In the present embodiment, the test terminal determined is PC1, for described test terminal PC1 configures the IxChariot script in order to test traffic.Refer to Fig. 3, be shown as the idiographic flow schematic diagram of step S7.Described step S7 comprises:
S71, be provided with in the direction of the traffic of scheduled volume transmission channel at 4 first terminals 11 (PC1, PC2, PC3, PC4) to 4 of 4 the second terminals 12 (PC5, PC6, PC7PC8), run described radio throughput test script, in described predetermined amount of time, add up first radio throughput (RX throughput) of described radio throughput testing equipment.Described scheduled volume is 4 in the present embodiment, namely in each direction of the traffic, configures 4 transmission channels.Described first radio throughput refers to the throughput of described radio throughput testing equipment from wireless to wired, namely from PC1 to PC5, and PC2 to PC6, PC3 to PC7, PC4 to PC8.In the present embodiment, described predetermined amount of time is set to 60S, but this predetermined amount of time can do corresponding adjustment according to concrete testing requirement.
S72, be provided with in the direction of the traffic of scheduled volume transmission channel at 4 the second terminals 12 (PC5, PC6, PC7PC8) to 4 of 4 first terminals 11 (PC1, PC2, PC3, PC4), run described radio throughput test script, in described predetermined amount of time, add up second radio throughput (TX throughput) of described radio throughput testing equipment.Described second radio throughput refers to the throughput of described radio throughput testing equipment from wired to wireless, namely from PC5 to PC1, and PC6 to PC2, PC7 to PC3, PC8 to PC4.
S73, the direction of the traffic of scheduled volume transmission channel is provided with and 4 of 4 the second terminals, 12 to 4 first terminals 11 are provided with in the direction of the traffic of scheduled volume transmission channel 4 of 4 first terminals, 11 to 4 the second terminals 12, namely from PC1 to PC5, PC2 to PC6, PC3 to PC7, PC4 to PC8, PC5 to PC1, PC6 to PC2, PC7 to PC3, PC8 to PC4, these eight direction of the traffics configure 4 transmission channels and run described radio throughput test script, the 3rd radio throughput (RX+TX throughput) of described radio throughput testing equipment is added up in described predetermined amount of time.3rd radio throughput refers to the throughput while described radio throughput testing equipment is from wireless to wired, from wired to wireless.
The method of testing of throughput is: the frame sending some in testing with given pace, and calculates the frame of described testing throughput device transmission, if the frame sent is equal with the number of frames of reception, so just transmission rate is improved and retests;
If PC1, PC2, PC3, PC4 received frame is less than PC5, during PC6, PC7, PC8 transmission frame, the test result of throughput is maximum throughput;
If PC5, PC6, PC7, PC8 received frame is less than PC1, PC2, PC3, PC4 transmission frame, the test result of throughput is maximum throughput;
If or PC1 received frame is less than PC5 transmission frame, PC5 received frame is less than PC1 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC2 received frame is less than PC6 transmission frame, PC6 received frame is less than PC2 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC3 received frame is less than PC7 transmission frame, PC7 received frame is less than PC3 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC4 received frame is less than PC8 transmission frame, PC8 received frame is less than PC4 transmission frame simultaneously, and the test result of throughput is maximum throughput.Throughput unit for bps or byte per second represent.Radio throughput method of testing described in the present embodiment can go out radio throughput by test statistics exactly, the batch testing of throughput can be realized, substantially increase production efficiency and utilization rate of equipment and installations, save manpower and cost of equipment maintenance, tool is more widely used scope.
Embodiment two
Radio throughput test macro 2 described in the present embodiment, is applied to and comprises N number of first terminal, M the second terminal, the communication network of testing throughput equipment (DUT) and double-deck switching equipment.Described testing throughput equipment has WAN port, and described two layers of interactive device are configured with X receiving port and N number of forwarding port, wherein, N, M be more than or equal to 1 positive integer.In the present embodiment, N, M are 4.Described first terminal 11 and the second terminal 12 can be smart mobile phone, panel computer, notebook computer, the terminal equipments such as desktop computer, in the present embodiment, described first terminal 11 and the second terminal 12 are all notebook computer PC, and PC1, PC2, PC3, PC4, PC5, PC6, PC7, PC8 namely in figure, described testing throughput equipment is WIFI router.Refer to Fig. 4, be shown as the theory structure schematic diagram of radio throughput test macro.As shown in Figure 4, described radio throughput test macro comprises: initialization module 20, first configuration module 21, first control module 22, second configuration module 23, the 3rd configuration module 24, second control module 25 and testing throughput module 26.
Initialization module 20 makes it restore to initial condition for testing throughput equipment described in initialization.In the present embodiment, described initialization module 20 is by described testing throughput equipment, and namely WIFI router returns to factory state.
The first configuration module 21 connected from described initialization module 20 is for again for described testing throughput Equipments Setting 4 has the sub-network of different service set (SSID), namely configure 4 names and be called SSID1, SSID2, the sub-network of SSID3, SSID4, service set described in each (SSID) respectively corresponding difference has the virtual LAN VLAN of the exclusive network segment, i.e. VLAN100, VLAN200, VLAN300, VLAN400.As shown in Figure 2, described 4 first terminals and the second terminal belong to the Bu Tong described exclusive network segment; Such as, the sub-network of the PC1 of first terminal described in the present embodiment configuration server set identifier SSID1, the corresponding VLAN100 of this sub-network, belongs to the 192.168.1.0/24 network segment; The sub-network of described first terminal PC2 configuration server set identifier SSID2, the corresponding VLAN200 of this sub-network, belongs to the 192.168.2.0/24 network segment; The sub-network of described first terminal PC3 configuration server set identifier SSID3, the corresponding VLAN300 of this sub-network, belongs to the 192.168.3.0/24 network segment; The sub-network of described first terminal PC4 configuration server set identifier SSID4, the corresponding VLAN400 of this sub-network, belongs to the 192.168.4.0/24 network segment.
The first control module 22 connected from described first configuration module 21 is connected to for making described 4 first terminals the sub-network that 4 have different service set respectively, namely first terminal PC1 is connected to the sub-network of server set mark SSID1, first terminal PC2 is connected to the sub-network of server set mark SSID2, first terminal PC3 is connected to the sub-network of server set mark SSID3, first terminal PC4 is connected to the sub-network of server set mark SSID4, and the network attribute corresponding with it according to each self-corresponding described exclusive network segment automatic acquisition.Described network attribute comprises IP address and gateway address, in the present embodiment, and first terminal PC1, the IP address of PC2, PC3, PC4 is set to 192.168.1.100 respectively, 192.168.2.100,192.168.3.100,192.168.4.100, first terminal PC1, PC2, PC3, belonging to PC4, gateway is respectively 192.168.1.1,192.168.2.1,192.168.3.1,192.168.4.1.In the present embodiment, the IP address of PC1-PC4 can suitably be changed, but will be arranged in the corresponding network segment, and the gateway of PC1-PC4 also can do corresponding adjustment according to the corresponding network segment.
The second configuration module 23 be connected with described first configuration module 21 and the first control module 22 is respectively for reconfiguring the transmitting-receiving port of described testing throughput equipment (DUT), and allow different virtual LAN, namely connect corresponding VLAN500, VLAN600, VLAN700, VLAN800.In the present embodiment, the transmitting-receiving port reconfiguring described testing throughput equipment 13 (DUT) refers to that the forward mode of the transmitting-receiving port reconfiguring described testing throughput equipment is BRIDGE pattern.
The 3rd configuration module 24 be connected with described first configuration module 21 and the second configuration module 23 respectively forwards port (F0/2, F0/3, F0/4, F0/5) for the receiving port (F0/1) and 4 reconfiguring described interactive device 14, connect corresponding VLAN, connect VLAN500, VLAN600, VLAN700, VLAN800 pass through.In the present embodiment, the receiving port (F0/1) and the N number of forwarding port that reconfigure described interactive device 14 refer to that the receiving port (F0/1) reconfiguring described interactive device 14 is TRUNK pattern, described 4 are made to forward port (F0/2, F0/3, F0/4, F0/5) accessing virtual LAN VLAN500, VLAN600, VLAN700, VLAN800.
The second control module 25 connected with described 3rd configuration module 24 for making described 4 the second terminal PC 5, PC6, PC7, PC8 be connected to corresponding with it 4 respectively and forward port, namely port F0/2, F0/3, F0/4, F0/5 is forwarded, and according to the described exclusive network segment configuration network attribute of described N number of second terminal.In the present embodiment, the second terminal PC 5, PC6, the IP address of PC7, PC8 is set to 192.168.1.100,192.168.2.100 respectively, 192.168.3.100,192.168.4.100, the second terminal PC 1, belonging to PC2, PC3, PC4, gateway is respectively 192.168.1.1,192.168.2.1,, 192.168.3.1,192.168.4.1.In the present embodiment, the IP address of PC5-PC8 can suitably be changed, but will be arranged in the corresponding network segment, and the gateway of PC5-PC8 also can do corresponding adjustment according to the corresponding network segment.
In the present embodiment, described first terminal PC1, PC2, PC3, PC4 sends packet to WIFI router, and store a routing table in described WIFI router, WIFI router one 3 receives described first terminal PC1, PC2, the packet that PC3, PC4 send, and resolve described packet, described packet comprises the object network address of Packet Generation, next hop address.In the present embodiment, due to merely through router one 3 so first terminal PC1, the next hop address of PC2, PC3, PC4 is directly pay+transmitting-receiving port.Described Packet Generation to the F0/1 network interface of switching equipment 14, through resolving, is given forwarding port F0/2, F0/3, F0/4, the F0/5 corresponding with the object network address by the Packet Generation of reception by described WIFI router one 3.
The testing throughput module 26 be connected with described first control module 22 and the second control module 25 for determining a test terminal in described 4 first terminals, for described test terminal configuration radio throughput test script, and run the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.Data in VLAN are made up of packet one by one, and consumes resources is wanted in the process of fire compartment wall to each packet.Throughput refers to when not having LOF, the maximum rate that testing throughput equipment enough accepts, and namely described testing throughput equipment is in saturation condition.In the present embodiment, whether testing throughput equipment can accept the foundation of the judgement of maximum rate:
1, judge whether pre-configured transmission channel is maximum quantity;
2, judge whether pre-set delivery flow rate is maximum.
In the present embodiment, the test terminal determined is PC1, for described test terminal PC1 configures the IxChariot script in order to test traffic.Described testing throughput module 26 is specifically for performing following functions:
Be provided with in the direction of the traffic of scheduled volume transmission channel at 4 first terminals 11 (PC1, PC2, PC3, PC4) to 4 of 4 the second terminals 12 (PC5, PC6, PC7PC8), run described radio throughput test script, in described predetermined amount of time, add up first radio throughput (RX throughput) of described radio throughput testing equipment.Described scheduled volume is 4 in the present embodiment, namely in each direction of the traffic, configures 4 transmission channels.Described first radio throughput refers to the throughput of described radio throughput testing equipment from wireless to wired, namely from PC1 to PC5, and PC2 to PC6, PC3 to PC7, PC4 to PC8.In the present embodiment, described predetermined amount of time is set to 60S, but this predetermined amount of time can do corresponding adjustment according to concrete testing requirement.
Be provided with in the direction of the traffic of scheduled volume transmission channel at 4 the second terminals 12 (PC5, PC6, PC7PC8) to 4 of 4 first terminals 11 (PC1, PC2, PC3, PC4), run described radio throughput test script, in described predetermined amount of time, add up second radio throughput (TX throughput) of described radio throughput testing equipment.Described second radio throughput refers to the throughput of described radio throughput testing equipment from wired to wireless, namely from PC5 to PC1, and PC6 to PC2, PC7 to PC3, PC8 to PC4.
The direction of the traffic of scheduled volume transmission channel is provided with and 4 of 4 the second terminals, 12 to 4 first terminals 11 are provided with in the direction of the traffic of scheduled volume transmission channel 4 of 4 first terminals, 11 to 4 the second terminals 12, namely from PC1 to PC5, PC2 to PC6, PC3 to PC7, PC4 to PC8, PC5 to PC1, PC6 to PC2, PC7 to PC3, PC8 to PC4, these eight direction of the traffics configure 4 transmission channels and run described radio throughput test script, the 3rd radio throughput (RX+TX throughput) of described radio throughput testing equipment is added up in described predetermined amount of time.3rd radio throughput refers to the throughput while described radio throughput testing equipment is from wireless to wired, from wired to wireless.
The method of testing of throughput is: the frame sending some in testing with given pace, and calculates the frame of described testing throughput device transmission, if the frame sent is equal with the number of frames of reception, so just transmission rate is improved and retests;
If PC1, PC2, PC3, PC4 received frame is less than PC5, during PC6, PC7, PC8 transmission frame, the test result of throughput is maximum throughput;
If PC5, PC6, PC7, PC8 received frame is less than PC1, PC2, PC3, PC4 transmission frame, the test result of throughput is maximum throughput;
If or PC1 received frame is less than PC5 transmission frame, PC5 received frame is less than PC1 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC2 received frame is less than PC6 transmission frame, PC6 received frame is less than PC2 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC3 received frame is less than PC7 transmission frame, PC7 received frame is less than PC3 transmission frame simultaneously, and the test result of throughput is maximum throughput; If PC4 received frame is less than PC8 transmission frame, PC8 received frame is less than PC4 transmission frame simultaneously, and the test result of throughput is maximum throughput.Throughput unit for bps or byte per second represent.
In sum, radio throughput method of testing of the present invention and system can go out radio throughput by test statistics exactly, can realize the batch testing of throughput, substantially increase production efficiency and utilization rate of equipment and installations, save manpower and cost of equipment maintenance, tool is more widely used scope.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. a radio throughput method of testing, be applied to and comprise N number of first terminal, M the second terminal, the communication network of testing throughput equipment and two-layer switching equipment, described testing throughput equipment has transmitting-receiving port, described double-deck interactive device is configured with receiving port and M forwarding port, wherein, N, M be more than or equal to 1 positive integer, it is characterized in that, described radio throughput method of testing comprises the following steps:
Described in initialization, testing throughput equipment makes it restore to initial condition;
Again be the N number of sub-network with different service set of described testing throughput Equipments Setting, service set described in each respectively corresponding difference has the VLAN of the exclusive network segment; Wherein, described first terminal and the second terminal belong to the Bu Tong described exclusive network segment;
Described first terminal is made to be connected to N number of sub-network with different service set respectively, and the network attribute corresponding with it according to described exclusive network segment automatic acquisition;
Reconfigure the transmitting-receiving port of described testing throughput equipment, connect corresponding VLAN;
Reconfigure receiving port and M the forwarding port of described interactive device, connect corresponding VLAN;
Described second terminal is made to be connected to M with it corresponding forwarding port respectively, and according to the described exclusive network segment configuration network attribute of described second terminal;
In described N number of first terminal, determine a test terminal, be described test terminal configuration radio throughput test script, and run the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.
2. radio throughput method of testing according to claim 1, is characterized in that:
The described step reconfiguring the transmitting-receiving port of described testing throughput equipment is the forward mode of the transmitting-receiving port reconfiguring described testing throughput equipment;
The step of the described receiving port and M forwarding port that reconfigure described interactive device is the repeater mode of the receiving port reconfiguring described interactive device, makes described M to forward port and allows access different virtual LAN.
3. radio throughput method of testing according to claim 1, is characterized in that: described network attribute comprises IP address and gateway address.
4. radio throughput method of testing according to claim 1, is characterized in that: describedly run the step that described radio throughput test script obtains the radio throughput of described testing throughput equipment within a predetermined period of time and comprise:
In the multiple direction of the traffics that are provided with scheduled volume transmission channel of N number of first terminal to M the second terminal, run described radio throughput test script, in described predetermined amount of time, add up the first radio throughput of described radio throughput testing equipment;
At M the second terminal in multiple direction of the traffics being provided with scheduled volume transmission channel of N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the second radio throughput of described radio throughput testing equipment;
The direction of the traffic of scheduled volume transmission channel and M the second terminal is provided with in multiple direction of the traffics being provided with scheduled volume transmission channel of N number of first terminal to M the second terminal multiple at N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the 3rd radio throughput of described radio throughput testing equipment.
5. radio throughput method of testing according to claim 4, is characterized in that:
First radio throughput refers to the throughput of described radio throughput testing equipment from wireless to wired;
Second radio throughput refers to the throughput of described radio throughput testing equipment from wired to wireless;
3rd radio throughput refers to the throughput while described radio throughput testing equipment is from wireless to wired, from wired to wireless.
6. a radio throughput test macro, be applied to and comprise N number of first terminal, N number of second terminal, the communication network of testing throughput equipment and two-layer switching equipment, described testing throughput equipment has transmitting-receiving port, and described double-deck interactive device is configured with receiving port and N number of forwarding port, wherein, N be more than or equal to 1 positive integer, it is characterized in that, described radio throughput test macro comprises:
Initialization module, makes it restore to initial condition for testing throughput equipment described in initialization;
First configuration module, is connected with described initialization module, and for being the N number of sub-network with different service set of described testing throughput Equipments Setting again, service set described in each respectively corresponding difference has the VLAN of the exclusive network segment; Wherein, described first terminal and the second terminal belong to the Bu Tong described exclusive network segment;
First control module, is connected with described first configuration module, for making described first terminal be connected to N number of sub-network with different service set respectively, and the network attribute corresponding with it according to described exclusive network segment automatic acquisition;
Second configuration module, is connected with described first configuration module and the first control module respectively, for reconfiguring the transmitting-receiving port of described testing throughput equipment, connects corresponding VLAN;
3rd configuration module, respectively with described first configuration module and the second configuration module, forwards port for the receiving port and M reconfiguring described interactive device, connects corresponding VLAN;
Second control module, is connected with described 3rd configuration module, for making described second terminal be connected to M with it corresponding forwarding port respectively, and according to the described exclusive network segment configuration network attribute of described second terminal;
Testing throughput module, be connected with described first control module and the second control module, for determining a test terminal in described N number of first terminal, for described test terminal configuration radio throughput test script, and run the radio throughput that described radio throughput test script obtains described testing throughput equipment within a predetermined period of time.
7. radio throughput test macro according to claim 6, is characterized in that:
Described second configuration module is specifically for reconfiguring the forward mode of the transmitting-receiving port of described testing throughput equipment;
Described 3rd configuration module, specifically for reconfiguring the repeater mode of the receiving port of described interactive device, makes described M to forward port and allows access different virtual LAN.
8. radio throughput test macro according to claim 6, is characterized in that: described testing throughput module also for:
In the N number of direction of the traffic that be provided with scheduled volume transmission channel of N number of first terminal to M the second terminal, run described radio throughput test script, in described predetermined amount of time, add up the first radio throughput of described radio throughput testing equipment;
At M the second terminal in N number of direction of the traffic being provided with scheduled volume transmission channel of N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the second radio throughput of described radio throughput testing equipment;
The direction of the traffic of scheduled volume transmission channel and M the second terminal is provided with in N number of direction of the traffic being provided with scheduled volume transmission channel of N number of first terminal to M the second terminal N number of at N number of first terminal, run described radio throughput test script, in described predetermined amount of time, add up the 3rd radio throughput of described radio throughput testing equipment.
9. radio throughput test macro according to claim 6, is characterized in that: described radio throughput test script is IxChariot script.
10. radio throughput test macro according to claim 6, is characterized in that: the network attribute of N number of described first terminal and M described second terminal can change in the exclusive network segment corresponding with it.
CN201510532522.0A 2015-08-26 2015-08-26 A kind of radio throughput test method and system Active CN105049297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510532522.0A CN105049297B (en) 2015-08-26 2015-08-26 A kind of radio throughput test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510532522.0A CN105049297B (en) 2015-08-26 2015-08-26 A kind of radio throughput test method and system

Publications (2)

Publication Number Publication Date
CN105049297A true CN105049297A (en) 2015-11-11
CN105049297B CN105049297B (en) 2018-05-25

Family

ID=54455518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510532522.0A Active CN105049297B (en) 2015-08-26 2015-08-26 A kind of radio throughput test method and system

Country Status (1)

Country Link
CN (1) CN105049297B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764024A (en) * 2016-05-09 2016-07-13 广东欧珀移动通信有限公司 Method and device for testing handling capacity of wireless device
CN111130929A (en) * 2019-12-12 2020-05-08 深圳市兆驰通信技术有限公司 Method and system for automatically testing WIFI throughput
CN112217690A (en) * 2020-09-18 2021-01-12 苏州浪潮智能科技有限公司 Concurrent testing method and system for local area network availability between computing nodes
CN112579453A (en) * 2020-12-22 2021-03-30 平安银行股份有限公司 Task testing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100098087A1 (en) * 2008-10-17 2010-04-22 Gerald Pepper Traffic Generator Using Parallel Coherent Transmit Engines
CN103546344A (en) * 2013-10-22 2014-01-29 上海斐讯数据通信技术有限公司 Wireless router performance testing system and method
CN104754637A (en) * 2015-03-30 2015-07-01 深圳市吉祥腾达科技有限公司 Wireless device throughput capacity and machine loading capacity measurement method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100098087A1 (en) * 2008-10-17 2010-04-22 Gerald Pepper Traffic Generator Using Parallel Coherent Transmit Engines
CN103546344A (en) * 2013-10-22 2014-01-29 上海斐讯数据通信技术有限公司 Wireless router performance testing system and method
CN104754637A (en) * 2015-03-30 2015-07-01 深圳市吉祥腾达科技有限公司 Wireless device throughput capacity and machine loading capacity measurement method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764024A (en) * 2016-05-09 2016-07-13 广东欧珀移动通信有限公司 Method and device for testing handling capacity of wireless device
CN105764024B (en) * 2016-05-09 2019-05-07 Oppo广东移动通信有限公司 A kind of test method and device of wireless device handling capacity
CN111130929A (en) * 2019-12-12 2020-05-08 深圳市兆驰通信技术有限公司 Method and system for automatically testing WIFI throughput
CN112217690A (en) * 2020-09-18 2021-01-12 苏州浪潮智能科技有限公司 Concurrent testing method and system for local area network availability between computing nodes
CN112217690B (en) * 2020-09-18 2022-06-14 苏州浪潮智能科技有限公司 Concurrent testing method and system for local area network availability between computing nodes
CN112579453A (en) * 2020-12-22 2021-03-30 平安银行股份有限公司 Task testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105049297B (en) 2018-05-25

Similar Documents

Publication Publication Date Title
US11271671B2 (en) WLAN testing using an RF abstraction layer
CN111416730A (en) Management apparatus and method for controlling end-to-end network in wireless communication system
EP3355532A1 (en) Method for path detection in vxlan, and controller and network device
Staub et al. VirtualMesh: an emulation framework for wireless mesh and ad hoc networks in OMNeT++
CN105049297A (en) Wireless throughput testing method and system
EP2530900A2 (en) Network security parameter generation and distribution
US11716637B2 (en) Systems and methods for a multiple-operator distributed antenna system
US11539454B2 (en) Service validation using emulated virtual clients
CN104980317A (en) Automatic test system and test method for dispatching data network equipment
CN111200878A (en) Information transmission method and device
CN109587734B (en) Communication method and device of double-frequency repeater
CN107949010A (en) Wireless networking route test method and system based on MESH network
CN105357709A (en) Wireless router throughput testing method and system as well as router
CN104486167A (en) Concurrence network performance and network trending direction testing method based on MESH network
CN105208657B (en) A kind of data transmission method, equipment and system
CN111865633A (en) Communication method, device and system
CN104184637B (en) Fully-mechanized mining working data transmission system and its data transmission method
CN102202334A (en) Method and system for testing 3G (3rd Generation) wireless router with encryption card
EP3086530A1 (en) Network resource sharing processing and sharing method, device and system
CN113259196B (en) WiFi6 router throughput test system
US11240749B2 (en) Provisioning radios associated with access points for testing a wireless network
CN104320322A (en) Message control method and equipment
CN109428763A (en) A kind of method and apparatus of fault measuring
CN106603348A (en) DHCP Offer flooding simulation method and system
Hu et al. The Method of Adaptive Radio Coverage Formation of Wireless Network Based on the Wi-Fi controller

Legal Events

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

Effective date of registration: 20201130

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee after: Bengbu 309 Technology Consulting Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210202

Address after: 313001 room 1019, Xintiandi office building, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 233000 3rd floor, Dong'an Market, Fengyang West Road, Longzihu District, Bengbu City, Anhui Province

Patentee before: Bengbu 309 Technology Consulting Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A wireless throughput test method and system

Effective date of registration: 20230111

Granted publication date: 20180525

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231205

Granted publication date: 20180525

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072

PC01 Cancellation of the registration of the contract for pledge of patent right