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.
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.