CN102291745A - Method and device for testing multiple access points (AP) - Google Patents

Method and device for testing multiple access points (AP) Download PDF

Info

Publication number
CN102291745A
CN102291745A CN2011102272172A CN201110227217A CN102291745A CN 102291745 A CN102291745 A CN 102291745A CN 2011102272172 A CN2011102272172 A CN 2011102272172A CN 201110227217 A CN201110227217 A CN 201110227217A CN 102291745 A CN102291745 A CN 102291745A
Authority
CN
China
Prior art keywords
address
test
capwap
capwap tunnel
tester
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011102272172A
Other languages
Chinese (zh)
Inventor
任文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2011102272172A priority Critical patent/CN102291745A/en
Publication of CN102291745A publication Critical patent/CN102291745A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a device for testing multiple access points (AP). The method comprises the following steps of: simulating N AP; creating N Control And Provisioning of Wireless Access Point Protocol (CAPWAP) channels corresponding to the N AP; connecting the N CAPWAP channels with a wireless access controller (AC), and testing the capacity of the AC; and transmitting test messages through the N CAPWAP channels, and testing the forwarding performance of the AC. By using the method and the device, the problem of low testing efficiency because the AC of multiple AP and multiple users cannot be tested at the same time in the prior art is solved, then the application test of the multiple AP of the AC is achieved, and the effect of the testing efficiency is improved.

Description

A kind of method and apparatus of many AP tests
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of many AP tests.
Background technology
At WLAN (Wireless Local Area Network, WLAN (wireless local area network)) during technology is used, the wlan network framework can be divided into two kinds, a kind of is " fat " AP ((Wireless) Access Point, (wireless) access points) network architecture, a kind of is " thin " AP network architecture.Traditional " fat " AP framework is the distributed frame of core with smart access point " fat AP ".The conspicuous problem that it faces: to AP must manage one by one, single carrying out; Can not carry out flow, radio frequency, user's distribution etc. to whole wireless network and carry out global administration.
Referring to Fig. 1, " thin " AP network architecture is by AC ((Wireless) Access controller, (wireless) network controller) all AP by the cable network centralized control second line of a couplet, thin AP architecture has been realized the centralized planning of wireless network and deployment, wireless controller has been finished the centralized management to all AP, and the more flow of whole net, radio frequency, user's etc. management function is provided, guaranteed that network-efficient stably moves.
In " thin " AP framework, AC is in order to realize the management to AP, and sets up a CAPWAP (Control And Provisioning of Wireless Access Point Protocol, wireless access point control and configuration protocol) tunnel between each AP.AC is to realize by CAPWAP tunnel to the management of AP, and after the data message of wireless client arrives AP, and AP also is that the encapsulate forwarded by CAPWAP tunnel goes up the visit that could realize internet (internet) to AC.
In existing big-and-middle-sized wireless network, " thin " AP relies on its manageability, powerful advantage to be widely used.For wireless network manufacturer, particularly important for the test of the framework core component AC of " thin " AP, then vital especially for the performance of AC under many AP, multi-user's application in the test of AC.
Many AP that present industry can be done, multi-user's analogy method generally have two kinds:
1. buy a large amount of wireless access points (AP) and wireless terminal product (other-end of computer, wireless network card, band wireless access) and come actual many AP of establishment and the test of many STA (Sta-tion stands).
2. adopt large-scale wireless test instrument to realize the simulation of wireless terminal user.
Yet above simulation all exists some problems:
1. a large amount of wireless access points (AP) and wireless terminal product have expended a large amount of costs, and the single access of numerous wireless terminals makes the managerial of test, and controllability reduces greatly.
2. the cost of wireless test instrument is very high, and can't realize the simulation of many AP.
Simultaneously, the capacity of many AP of realization AC and the test of the performance under multi-user's background are absolutely necessary in " thin " AP, and at present main solution has following two kinds:
1. test by a large amount of true AP and wireless terminal:
In this testing scheme, AC forms " thin " AP network by connecting the AP of a large amount of reality, and all AP are actual real equipment, and AC can connect with each AP, and it is managed.The wireless user also is to test by a large amount of real wireless terminals, goes up such as a PC a plurality of wireless network cards are installed, and these PC can perhaps be distributed among many AP really to an AP, and the actual flow of transmission is realized the test to AC afterwards.Be subject to the restricted number of AP and wireless terminal in this testing scheme, differing to arrive test request to the capacity of AC surely, and can't realize unified management to the single independently wireless terminal of terminal.
2. come simulation test by the wireless test instrument:
Test by buying the wireless test instrument in this scheme, the wireless test instrument can be realized the simulation to the multi-user, the client of these simulations brings in and is associated with in " thin " AP network, realize the test to AC, but present tester can't be realized the simulation to AP, the simulation of AP also needs to use real AP to test, and these wireless users of simulation can only be associated with on same the AP simultaneously, can't be distributed to a plurality of AP, promptly can't realize many AP, test in the time of the multi-user.
Summary of the invention
Main purpose of the present invention is to provide a kind of method and apparatus of many AP tests, owing to can't realize that many AP, multi-user test AC simultaneously, and causes the low problem of testing efficiency to solve in the prior art.
According to an aspect of the present invention, provide a kind of method of many wireless access points AP test, this method comprises: simulate N AP; Create and N N the CAPWAP tunnel that AP is corresponding; N CAPWAP tunnel linked to each other the capacity of test AC with radio network controller AC; Send test packet by N CAPWAP tunnel, the forwarding performance of test AC.
N CAPWAP tunnel comprised with the step that radio network controller AC links to each other: the quantity N of Mo Ni AP as required is provided with N loopback address as the source IP address that need link with CAPWAP tunnel; The IP address of AC is set, the source IP address of N AP is linked to each other by CAPWAP tunnel with the IP address of AC.
The capacity step of test AC comprises: check whether the CAPWAP state that is connected to each AP of AC by CAPWAP tunnel all is in running status; The AP that will be in running status counts the capability value of AC; Calculate the capability value of the AP of the maximum that AC can insert by dichotomy.
The step that sends test packet by N CAPWAP tunnel comprises: send test packet by tester from AP to AC; Receive the test packet that AC transmits; Wherein, the address of an end of tester is and the address of STA of each AP corresponding simulating of simulation that the address of the other end is the address that tester links to each other with AC.
The step of the forwarding performance of test AC comprises: calculate test packet quantity that sends from AP to AC and the message amount that receives from AC to AP; Obtain the forwarding performance of testing the AC that obtains according to result of calculation.
According to a further aspect in the invention, provide a kind of device of many wireless access points AP test, this device comprises: analogue unit is used to simulate N AP; Creating unit is used to create and N N the CAPWAP tunnel that AP is corresponding; First measuring unit is used for N CAPWAP tunnel linked to each other with radio network controller AC, the capacity of test AC; Second measuring unit is used for sending test packet by N CAPWAP tunnel, the forwarding performance of test AC.
First measuring unit comprises: setting device, and the quantity N of the AP that is used for simulating as required is provided with N loopback address as the source IP address that need link with CAPWAP tunnel; Jockey is used to be provided with the IP address of AC, and the source IP address of N AP is linked to each other by CAPWAP tunnel with the IP address of AC.
First measuring unit also comprises: check device, be used to check whether the CAPWAP state that is connected to each AP of AC by CAPWAP tunnel all is in running status; Tape deck, the AP that is used for being in running status counts the capability value of AC; First calculation element is used for calculating by dichotomy the capability value of the AP of the maximum that AC can insert.
Second measuring unit comprises: dispensing device is used for sending test packet by tester from AP to AC; Receiving system is used to receive the test packet that AC transmits; Wherein, the address of an end of tester is and the address of STA of each AP corresponding simulating of simulation that the address of the other end is the address that tester links to each other with AC.
Second measuring unit also comprises: second calculation element, calculate test packet quantity that sends and the message amount that receives from AC to AP from AP to AC; Deriving means is used for obtaining the forwarding performance of testing the AC that obtains according to result of calculation.
By the present invention, adopt a plurality of AP of simulation, and create the CAPWAP tunnel that a plurality of AP are connected with AC, carry out the test of capacity and the forwarding performance of AC, solved in the prior art owing to can't realize that many AP, multi-user test AC simultaneously, and cause the low problem of testing efficiency, and then reached test to the application of many AP of AC, improve the effect of testing efficiency.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is according to correlation technique " thin " AP network architecture schematic diagram;
Fig. 2 is a kind of preferred structure block diagram according to the device of many AP tests of the embodiment of the invention;
Fig. 3 is the another kind of structured flowchart according to the device of many AP tests of the embodiment of the invention;
Fig. 4 is a kind of preferred flow charts according to the method for many AP tests of the embodiment of the invention;
Fig. 5 is the another kind of flow chart according to the method for many AP tests of the embodiment of the invention;
Fig. 6 is the structured flowchart of the system that forms according to the device by many AP test of the embodiment of the invention;
Fig. 7 is another structured flowchart of device according to many AP tests of the embodiment of the invention;
Fig. 8 is the CAPWAP modular structure block diagram according to the device of many AP tests of the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Embodiment 1
Fig. 2 has shown a kind of preferred structure block diagram of the device of many AP tests, and referring to Fig. 2, this device comprises: connect the creating unit 204 of analogue unit 202, connect first measuring unit 206 and second measuring unit 208 of creating unit 204, wherein:
N AP of analogue unit 202 simulations;
Creating unit 204 is created and N N the CAPWAP tunnel that AP is corresponding;
First measuring unit 206 links to each other N CAPWAP tunnel with radio network controller AC, the capacity of test AC;
Second measuring unit 208 sends test packet by N CAPWAP tunnel, the forwarding performance of test AC.
In this preferred embodiment, adopt a plurality of AP of simulation, and create the CAPWAP tunnel that a plurality of AP are connected with AC, carry out the test of capacity and the forwarding performance of AC, solved in the prior art owing to can't realize that many AP, multi-user test AC simultaneously, and cause the low problem of testing efficiency, and then reached test to the application of many AP of AC, improve the effect of testing efficiency.
Based on Fig. 2, Fig. 3 has shown the another kind of structured flowchart of the device of many AP tests, wherein:
First measuring unit 206 comprises: setting device 2061 of Lian Jieing and jockey 2062 successively, wherein:
The quantity N of the AP that setting device 2061 is simulated as required is provided with N loopback address as the source IP address that need link with CAPWAP tunnel;
Jockey 2062 is provided with the IP address of AC, and the source IP address of N AP is linked to each other by CAPWAP tunnel with the IP address of AC.
First measuring unit 206 also comprises: what connect jockey 2062 checks device 2063, connects the tape deck 2064 of checking device 2063, first calculation element 2065 of linkage record device 2064, wherein:
Check that device 2063 checks whether the CAPWAP state that is connected to each AP of AC by CAPWAP tunnel all is in running status;
The AP that tape deck 2064 will be in running status counts the capability value of AC;
First calculation element 2065 calculates the capability value of the AP of the maximum that AC can insert by dichotomy.
Wherein, first calculation element 2065 calculates the capability value of the AP of the maximum that AC can insert in the following way:
Suppose the maximum M (on this value M regular software regulation is arranged all, promptly allow the maximum that inserts) of the permission of a software.
Simulate with maximum M earlier during analogue unit 202 simulation AP, and judge whether all to set up CAPWAP tunnel;
If can all set up CAPWAP tunnel, then the capability value of the AP of the AC maximum that can insert is the M value.
If can't all set up CAPWAP tunnel, analogue unit 202 adopts M/2 to simulate; And judge whether all to set up CAPWAP tunnel;
If can all set up CAPWAP tunnel, then simulate according to (M-M/2)/2+M/2; And judge whether all to set up CAPWAP tunnel;
If can't all set up CAPWAP tunnel, analogue unit 202 adopts M/2/2 to simulate; And judge whether all to set up CAPWAP tunnel;
Up to, last value that can all set up CAPWAP tunnel simulation and last difference of value that can not all set up the CAPWAP tunnel simulation less than default precision till, this moment, the capability value of AP of maximum can all be set up the analogue value of CAPWAP tunnel for last.
Capability value according to the AP that calculates the maximum that AC can insert as upper type is controlled at 10 with precision and gets final product.
And second measuring unit 208 comprises: dispensing device 2081 and receiving system 2082, wherein: dispensing device 2081 is connected tester by creating unit 204 respectively with receiving system 2082.
Dispensing device 2081 sends test packet by tester from AP to AC;
Receiving system 2082 receives the test packet that AC transmits;
Wherein, creating unit 204 cooperates the message of dispensing device 2081 transmissions and the message of tester transmission to simulate STA respectively, the address of one end of tester is and the address of STA of each AP corresponding simulating of simulation that the address of the other end is the address that tester links to each other with AC.
Also be, dispensing device 2081 sends the test packet of STA, creating unit Unit 204 are packaged into test packet the message that meets the CAPWAP tunnel transmission rule, this part message is forwarded on the AC through CAPWAP tunnel, AC can think the message of the STA that simulates, play the effect of simulation STA, after the AC decapsulation, be forwarded to the other test port of tester.
Second measuring unit also comprises: connects second calculation element 2083 of dispensing device 2081 and receiving system 2082, connects the deriving means 2084 of second calculation element 2083, wherein:
Second calculation element 2083 calculates test packet quantity that sends and the message amount that receives from AC to AP from AP to AC;
Deriving means 2084 obtains the forwarding performance of testing the AC that obtains according to result of calculation.
Because the simulation by to a plurality of AP does not need to adopt real testing equipment, when improving testing efficiency, reduced the cost of test.
What deserves to be explained is that above-mentioned first and second only are used for distinguishing different main bodys, and be not used in and limit different main bodys that for example first can also be called second etc.
Embodiment 2
Fig. 4 has shown a kind of preferred flow charts of the method for many AP tests, and referring to Fig. 4, this method comprises:
S402 simulates N AP;
S404 creates and N N the CAPWAP tunnel that AP is corresponding;
S406 links to each other N CAPWAP tunnel with radio network controller AC, the capacity of test AC;
S408 sends test packet by N CAPWAP tunnel, the forwarding performance of test AC.
Wherein, step S406 and step S408 there is no sequencing, and it can carry out simultaneously, also can first execution in step S408 execution in step S406 again.
In this preferred embodiment, adopt a plurality of AP of simulation, and create the CAPWAP tunnel that a plurality of AP are connected with AC, carry out the test of capacity and the forwarding performance of AC, solved in the prior art owing to can't realize that many AP, multi-user test AC simultaneously, and cause the low problem of testing efficiency, and then reached test to the application of many AP of AC, improve the effect of testing efficiency.
Based on Fig. 4, Fig. 5 has shown the another kind of flow chart of the method for many AP test, and step S406 wherein comprises N CAPWAP tunnel with the step that radio network controller AC links to each other:
S4061, the quantity N of Mo Ni AP as required is provided with N loopback address as the source IP address that need link with CAPWAP tunnel;
S4062 is provided with the IP address of AC, and the source IP address of N AP is linked to each other by CAPWAP tunnel with the IP address of AC.
Step S406, the capacity step of test AC comprises:
S4063 checks whether the CAPWAP state that is connected to each AP of AC by CAPWAP tunnel all is in running status;
S4064, the AP that will be in running status counts the capability value of AC;
S4065 calculates the capability value of the AP of the maximum that AC can insert by dichotomy.
Step S408, the step that sends test packet by N CAPWAP tunnel comprises:
S4081 sends test packet by tester from AP to AC;
S4082 receives the test packet that AC transmits;
Wherein, the address of an end of tester is and the address of STA of each AP corresponding simulating of simulation that the address of the other end is the address that tester links to each other with AC.
S408, the step of the forwarding performance of test AC comprises:
S4083 calculates test packet quantity that sends and the message amount that receives from AC to AP from AP to AC;
S4084 obtains the forwarding performance of testing the AC that obtains according to result of calculation.
Because the simulation by to a plurality of AP does not need to adopt real testing equipment, when improving testing efficiency, reduced the cost of test.
What deserves to be explained is that above-mentioned first and second only are used for distinguishing different main bodys, and be not used in and limit different main bodys that for example first can also be called second etc.
Embodiment 3
Present embodiment provides an instantiation of the method for many AP tests, in the present embodiment, Fig. 6 has shown the structured flowchart of the system that is made up of the device of many AP tests, this system comprises: the device 602 and the tester 603 that connect many AP tests of AC wireless controller 601 (being equipment under test), the device 602 of many AP tests connects tester 603, wherein:
The device 602 of many AP tests is realized the simulation of a large amount of AP equipment, realize the foundation and the maintenance of the CAPWAP tunnel between each AP and the AC, guarantee that the tunnel path between each AP and the AC normally moves, and send data flow from device 602 local terminals of many AP tests, receive a termination of transmitting data flow after this data flow from wireless controller AC and receive data, realize each AP, and the test of the data path of each STA.
AC wireless controller 601 is used for providing management function to all AP in " thin " AP network architecture;
Thereby the device 602 of many AP tests is used to simulate the equipment that many CAPWAP tunnel are realized many AP simulations.
In the present invention, after using the device of many AP tests, the device of many AP tests can replace a large amount of actual AP, simulate the CAPWAP tunnel of multichannel, each tunnel independent maintenance can realize the management of AC to each virtual AP, and each safeguards independent data path for each AP, the AP of these simulations is operated on the public physical link, thereby reaches the effect of a large amount of AP of simulation.
Wherein: the device 602 of many AP tests is that prototype forms with a high performance AP.
As shown in Figure 7: the software of the device of many AP tests is realized being divided into being several sections:
AP administration agent module 6021, CAPWAP module 6022, network transmission module 6023 and the data forwarding module 6024 of Lian Jieing successively, wherein, AP administration agent module 6021 is carried out the function of above-mentioned analogue unit 202, CAPWAP module 6022 is carried out the function of above-mentioned creating unit 204, network transmission module 6023 and the data forwarding module 6024 common functions of carrying out first test cell 206 and second test cell 208.
AP administration agent module 6021: operate on the CAPWAP module, control message by the CAPWAP agreement, transmit user's relevant configuration to the CAPWAP module, the interface of configuration simulation multichannel CAPWAP tunnel is provided, thereby for the user provides the interface that can dispose a plurality of AP of simulation, the user can be provided with the following information of the AP that needs simulation by this interface:
The quantity of simulation AP;
The IP address of simulation AP;
AP wants the IP address of the AC of association.
CAPWAP module 6022: be used to realize foundation, management and the control in the tunnel between AP and the AC.Referring to Fig. 8, this module comprises following several submodule altogether:
(1) CAPWAP configuration module
(2) CAPWAP control channel module
(3) CAPWAP state machine module
(4) CAPWAP transport layer module
(5) CAPWAP data channel module
Wherein:
CAPWAP configuration module: be used for the initialization that configuration module mainly is responsible for whole C APWAP module.
At first receive the relevant information of the AP that needs simulation from AP administration agent module 6021:
Comprise and be provided with previously: the quantity of AP, the IP address of AP, AP wants the IP address of related AC;
Configuration information with the overall situation that receives passes to the CAPWAP state machine module, to finish the initialization to the CAPWAP tunnel of all AP of simulation.
Receive MTU (the Maximum Transmission Unit of each CAPWAP tunnel that AP administration agent module 6021 is provided with simultaneously, MTU) value, and pass to the CAPWAP transport layer module, to revise the correlation module of transport network layer, MTU is come into force.
CAPWAP state machine module: be used for
1. state machine initialization:
Be associated with the CAPWAP configuration module, by receiving the configuration information of CAPWAP configuration module, as the IP address of AP, the IP address of AC, the quantity of the AP of simulation is carried out initialization to each state machine.
2. state machine operation
Each CAPWAP independent operating of state machine according to the RFC5415 standard to describe.
3. establishment data channel
Each tunnel is when state is in operation (run) state, and the CAPWAP state machine module can be called CAPWAP data channel module, begins to create data channel for each CAPWAP.
CAPWAP transport layer module: be used for each AP is handled to data message between the AC.Comprise the encapsulation and the decapsulation of message sending function, message fragment recombination function, CAPWAP head.
CAPWAP data channel module: be used to each CAPWAP tunnel to provide data channel to create interface, and safeguard the keepalive feature of each data channel, be each channel message encapsulation decapsulation function to agreement CAPWAP state machine module.
CAPWAP control channel module: be used to accept the managing control information to CAPWAP tunnel of transferring of AP administration agent module 6021, pass to each cawpwap state machine afterwards.
Network transmission module 6023: the encapsulation and the decapsulation of transport layer of the data message in each tunnel is provided, because the CAPWAP agreement is based on UDP (User Datagram Protocol, User Datagram Protocol), so in transport layer, for all messages through CAPWAP encapsulation in each tunnel all carry out the encapsulation and the decapsulation of UDP head.Each CAPWAP message to encapsulation also needs to encrypt simultaneously, and at this moment, according to standard code, the foundation of each CAPWAP tunnel need be encrypted through DLTS, so before the tunnel is set up, network transmission module 6023 also is each tunnel creation DTLS link.
Data forwarding module 6024 is used to finish the special visit of CAPWAP tunnel data message network layer.Software according to standard is transmitted realization, with common router unanimity.
Tester 603:
Because the device 602 of many AP tests in the textural requirement that can't satisfy the performance test of AC of performance and many data flow, has therefore been introduced tester 602.Tester 602 adopts the device of the general test performance of industry, and this device can be constructed the IP message of appointment as requested, receives the performance that these messages calculate tested equipment (being the AC wireless controller) by sending.Tester 603 can be constructed the parallel transmitting-receiving of many data flow simultaneously, and the performance height, therefore can satisfy the requirement of the test of the performance under many CAPWAP tunnel of test situation.
After the device 602 of many AP tests had been simulated a large amount of CAPWAP tunnel, tester 603 can send independent data flow to each tunnel, realizes the simulation of the data flow in real each tunnel.
Based on the device of above-mentioned many AP tests, present embodiment also provides the implementation method of the device 602 of many AP tests, thereby realizes pressure testing system and the method for AC under many AP association under " thin " AP framework.Concrete implementation process and method are as follows:
Build system according to structured flowchart as shown in Figure 6, and implement test according to following operation:
(1) configuration AC:
On wireless console, dispose loopback (Loopback) address, as 55.55.55.55, as the IP address that is connected with the AP initiation.
The interconnected interface of device of configuration and many AP test is as trunking (Trunk) mouth, IP address 192.168.1.1/32.
Configuration WLAN (Wireless Local Area Networks, WLAN) and corresponding VLAN (Virtual Local Area Network, VLAN), think that the AP of each simulation issues corresponding WLAN and VLAN, and the VLAN of the correspondence of each AP is variant, WLAN can be identical, for example: AP1, WLAN 100 and VLAN 100, AP2WLAN 100, VLAN101, and for each vlan configuration three layers of IP address, as 172.16.1.1-172.16.1.N.
Configuration AC and the interconnected Port IP address 193.168.1.1/24 of tester.
Configuration AC can arrive the route of the loopback address of all AP.
(2) device of the many AP tests of configuration:
The IP address of the interface that configuration and AC are interconnected, as the Trunk mouth, IP address 192.168.1.2/32, and the configuration route can arrive the loopback address of AC.
Configuration needs quantity N and the AP-name of the AP of simulation.
It is corresponding with each AP to create N loopback address, as each simulation AP, the Ip address, source of initiating the link of CAPWAP tunnel.
The interconnected port of configuration AP simulation shape and tester is the Trunk mouth, and configuration comprises each AP that all top AC dispose, the VLAN that comprises, as, need comprise the VLAN100 of AP1, the VLAN101 of AP2
Check the capacity that can connect AP of the CAPWAP state of each AP with test AC.
On AC, check the state of all CAPWAP, can see that the CAPWAP state of each AP all is in the run state.The tunnel that is in non-run state shows not to be set up successfully, is not counted in the AP capability value.By dichotomy, can draw the capability value of the AP of the maximum that AC can insert at last.
(3) configuration testing instrument data flow:
Upstream (AP is to AC):
Configuration and the interconnected port of device that many AP test send the data flow through each AP on tester.
As: configuration N bar data flow, the purpose MAC of each data flow is the interconnected MAC Address of device of AC and many AP test, source IP address is address+1 (172.16.1.2-172.16.1.N+1) of each AP of simulation, and purpose IP address is the IP address of the interconnected port of tester and AC.Certainly, the present invention is not limited to address+1, all right address+2 or-1 etc.
Downstream data flow (AC is to AP):
On tester, dispose and the interconnected port of AC, send the data flow of every each AP of process.
As: configuration N bar data flow, the purpose MAC of each data flow is the MAC Address of AC and tester interconnect port, and source IP address is the IP address of tester and AC interconnect port, and destination address is address+1 (172.16.1.2-172.16.1.N+1) of each AP.Certainly, the present invention is not limited to address+1, all right address+2 or-1 etc.
(4) collect the tester test data:
Up, descending give out a contract for a project and whether packet receiving equates that on tester, can see every stream, thus draw the forwarding performance of every data flow, and then draw the forwarding performance under many AP of AC.
Certainly, under the prerequisite of spirit of the present invention, the present invention can expand under any " thin " AP framework, to the test of function between AP and the AC.
This shows that the present invention has successfully solved under " thin " AP framework, to the problem of the test of capacity under many AP of AC and performance.Realized that an equipment finishes the simulation of many AP, and can carry out data forwarding, realized cost has been saved in the test of the application of many AP of AC, improved efficient for every simulation AP.
From above description, as can be seen, the present invention has realized following technique effect: adopt a plurality of AP of simulation, and create the CAPWAP tunnel that a plurality of AP are connected with AC, carry out the test of capacity and the forwarding performance of AC, solved in the prior art owing to can't realize that many AP, multi-user test AC simultaneously, and caused the low problem of testing efficiency, and then reached test to the application of many AP of AC, improve the effect of testing efficiency.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for the test of wireless access points AP more than a kind is characterized in that, comprising:
Simulate N AP;
Create corresponding with the individual described AP of N N wireless access point control and configuration protocol CAPWAP tunnel;
N described CAPWAP tunnel linked to each other with radio network controller AC, test the capacity of described AC;
Send test packet by N described CAPWAP tunnel, test the forwarding performance of described AC.
2. method according to claim 1 is characterized in that, described N described CAPWAP tunnel is comprised with the step that radio network controller AC links to each other:
The quantity N of Mo Ni AP as required is provided with N loopback address as the source IP address that need link with described CAPWAP tunnel;
The IP address of described AC is set, the source IP address of N described AP is linked to each other by described CAPWAP tunnel with the IP address of described AC.
3. method according to claim 1 is characterized in that, the capacity step of the described AC of described test comprises:
Check whether the CAPWAP state that is connected to each described AP of described AC by CAPWAP tunnel all is in running status;
The described AP that will be in running status counts the capability value of described AC;
Calculate the capability value of the AP of the maximum that described AC can insert by dichotomy.
4. method according to claim 1 is characterized in that, the described step that sends test packet by N described CAPWAP tunnel comprises:
Send described test packet from described AP to described AC by tester;
Receive the described test packet that described AC transmits;
Wherein, the address of an end of described tester is and the address of STA of each described AP corresponding simulating of simulation that the address of the other end is the address that described tester links to each other with described AC.
5. method according to claim 1 is characterized in that, the step of the forwarding performance of the described AC of described test comprises:
Described test packet quantity that calculating sends from described AP to described AC and the described message amount that receives to described AP from described AC;
Obtain the forwarding performance of testing the described AC that obtains according to result of calculation.
6. the device of the test of wireless access points AP more than a kind is characterized in that, comprising:
Analogue unit is used to simulate N AP;
Creating unit is used to create corresponding with N described AP N wireless access point control and configuration protocol CAPWAP tunnel;
First measuring unit is used for N described CAPWAP tunnel linked to each other with radio network controller AC, tests the capacity of described AC;
Second measuring unit is used for sending test packet by N described CAPWAP tunnel, tests the forwarding performance of described AC.
7. device according to claim 6 is characterized in that, described first measuring unit comprises:
Setting device, the quantity N of the AP that is used for simulating as required is provided with N loopback address as the source IP address that need link with described CAPWAP tunnel;
Jockey is used to be provided with the IP address of described AC, and the source IP address of N described AP is linked to each other by described CAPWAP tunnel with the IP address of described AC.
8. device according to claim 6 is characterized in that, described first measuring unit also comprises:
Check device, be used to check whether the CAPWAP state that is connected to each described AP of described AC by CAPWAP tunnel all is in running status;
Tape deck, the described AP that is used for being in running status counts the capability value of described AC;
First calculation element is used for calculating by dichotomy the capability value of the AP of the maximum that described AC can insert.
9. device according to claim 6 is characterized in that, described second measuring unit comprises:
Dispensing device is used for sending described test packet from described AP to described AC by tester;
Receiving system is used to receive the described test packet that described AC transmits;
Wherein, the address of an end of described tester is and the address of STA of each described AP corresponding simulating of simulation that the address of the other end is the address that described tester links to each other with described AC.
10. device according to claim 6 is characterized in that, described second measuring unit also comprises:
Second calculation element calculates described test packet quantity that sends from described AP to described AC and the described message amount that receives to described AP from described AC;
Deriving means is used for obtaining the forwarding performance of testing the described AC that obtains according to result of calculation.
CN2011102272172A 2011-08-09 2011-08-09 Method and device for testing multiple access points (AP) Pending CN102291745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102272172A CN102291745A (en) 2011-08-09 2011-08-09 Method and device for testing multiple access points (AP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102272172A CN102291745A (en) 2011-08-09 2011-08-09 Method and device for testing multiple access points (AP)

Publications (1)

Publication Number Publication Date
CN102291745A true CN102291745A (en) 2011-12-21

Family

ID=45337798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102272172A Pending CN102291745A (en) 2011-08-09 2011-08-09 Method and device for testing multiple access points (AP)

Country Status (1)

Country Link
CN (1) CN102291745A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572912A (en) * 2011-12-28 2012-07-11 武汉虹旭信息技术有限责任公司 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system
CN102571283A (en) * 2012-01-19 2012-07-11 神州数码网络(北京)有限公司 Method and system for testing message of wireless network device
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method
CN102781028A (en) * 2012-08-14 2012-11-14 北京傲天动联技术有限公司 Analog wireless working station online testing method and system
CN102833778A (en) * 2012-08-29 2012-12-19 北京傲天动联技术有限公司 System and method for testing wireless access controller
CN103023726A (en) * 2012-12-24 2013-04-03 云海创想信息技术(北京)有限公司 Method and system for testing maximum mainframe connection number of network storage device
CN103338210A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol
CN103354650A (en) * 2013-07-25 2013-10-16 广州杰赛科技股份有限公司 Dial testing method and congestion control method of wireless local area network and wireless local area network system
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
CN103826217A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 WLAN user service access method and device
CN103945445A (en) * 2014-03-13 2014-07-23 京信通信技术(广州)有限公司 Method and device for testing performance of access controller
CN104053173A (en) * 2013-03-12 2014-09-17 中国移动通信集团广东有限公司 A method, central server and network for patrolling access controllers
WO2015051553A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Tunnel processing method, device and system
CN108494627A (en) * 2018-03-23 2018-09-04 四川斐讯信息技术有限公司 Portal pressure testing systems and method based on cloud AC
CN113163420A (en) * 2021-02-24 2021-07-23 深圳市吉祥腾达科技有限公司 Test method for simulating online of multiple APs
CN113572661A (en) * 2021-07-28 2021-10-29 迈普通信技术股份有限公司 System and method for testing multi-activation detection performance
CN115314410A (en) * 2022-08-10 2022-11-08 深圳市吉祥腾达科技有限公司 Soft AC client simulation and authentication automatic test method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6965605B1 (en) * 2001-09-10 2005-11-15 Cisco Technologies, Inc. Split access point
CN1878376A (en) * 2005-12-13 2006-12-13 华为技术有限公司 Base station simulator and base station testing method
CN102056293A (en) * 2010-12-10 2011-05-11 北京星网锐捷网络技术有限公司 Radio frequency fingerprint positioning method and system as well as access controller (AC) and positioning server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6965605B1 (en) * 2001-09-10 2005-11-15 Cisco Technologies, Inc. Split access point
CN1878376A (en) * 2005-12-13 2006-12-13 华为技术有限公司 Base station simulator and base station testing method
CN102056293A (en) * 2010-12-10 2011-05-11 北京星网锐捷网络技术有限公司 Radio frequency fingerprint positioning method and system as well as access controller (AC) and positioning server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭子明: "基于CAPWAP协议的无线接入点扩展的设计与实现", 《CNKI优秀硕士学位论文全文库》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572912A (en) * 2011-12-28 2012-07-11 武汉虹旭信息技术有限责任公司 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system
CN102572912B (en) * 2011-12-28 2014-08-13 武汉虹旭信息技术有限责任公司 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system
CN102571283A (en) * 2012-01-19 2012-07-11 神州数码网络(北京)有限公司 Method and system for testing message of wireless network device
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method
CN103581937B (en) * 2012-07-27 2017-02-08 中兴通讯股份有限公司 Device and method for testing wireless controller
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
CN102781028B (en) * 2012-08-14 2016-08-03 北京华信傲天网络技术有限公司 Simulate method of testing and system that wireless stations is reached the standard grade
CN102781028A (en) * 2012-08-14 2012-11-14 北京傲天动联技术有限公司 Analog wireless working station online testing method and system
CN102833778A (en) * 2012-08-29 2012-12-19 北京傲天动联技术有限公司 System and method for testing wireless access controller
CN102833778B (en) * 2012-08-29 2015-07-15 北京傲天动联技术股份有限公司 System and method for testing wireless access controller
CN103826217B (en) * 2012-11-16 2017-03-22 中国移动通信集团公司 WLAN user service access method and device
CN103826217A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 WLAN user service access method and device
CN103023726A (en) * 2012-12-24 2013-04-03 云海创想信息技术(北京)有限公司 Method and system for testing maximum mainframe connection number of network storage device
CN104053173A (en) * 2013-03-12 2014-09-17 中国移动通信集团广东有限公司 A method, central server and network for patrolling access controllers
CN103338210A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol
CN103354650A (en) * 2013-07-25 2013-10-16 广州杰赛科技股份有限公司 Dial testing method and congestion control method of wireless local area network and wireless local area network system
WO2015051553A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Tunnel processing method, device and system
CN105191223A (en) * 2013-10-12 2015-12-23 华为技术有限公司 Tunnel processing method, device and system
CN105191223B (en) * 2013-10-12 2019-05-10 华为技术有限公司 Tunnel processing method, apparatus and system
CN103945445A (en) * 2014-03-13 2014-07-23 京信通信技术(广州)有限公司 Method and device for testing performance of access controller
CN108494627A (en) * 2018-03-23 2018-09-04 四川斐讯信息技术有限公司 Portal pressure testing systems and method based on cloud AC
CN113163420A (en) * 2021-02-24 2021-07-23 深圳市吉祥腾达科技有限公司 Test method for simulating online of multiple APs
CN113572661A (en) * 2021-07-28 2021-10-29 迈普通信技术股份有限公司 System and method for testing multi-activation detection performance
CN113572661B (en) * 2021-07-28 2022-12-27 迈普通信技术股份有限公司 System and method for testing multi-activation detection performance
CN115314410A (en) * 2022-08-10 2022-11-08 深圳市吉祥腾达科技有限公司 Soft AC client simulation and authentication automatic test method and system

Similar Documents

Publication Publication Date Title
CN102291745A (en) Method and device for testing multiple access points (AP)
CN106301911B (en) The centralized simulation platform in kind of Information Network based on SDN half and its implementation
CN105227344B (en) Software defined network simulation system and method based on OpenStack
CN105210337B (en) A kind of service implementation method and communication unit of NFV system
CN103891224B (en) There is the distributed cabinet framework of integrated service device
CN103036784B (en) Method and apparatus for two layers of enterprise network infrastructure of self-organizing
US7440415B2 (en) Virtual network addresses
CN102067533A (en) Port grouping for association with virtual interfaces
CN102572912B (en) Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system
CN107801249A (en) The resource allocation methods and its equipment and system of wireless communication system
CN104426758A (en) Transmission control system, device and method
CN103945445A (en) Method and device for testing performance of access controller
CN101378573B (en) System and method for testing access gateway performance
CN102098702B (en) Performance testing system, method and equipment
CN101355505A (en) Method, apparatus and system for forwarding packet
CN109905280A (en) A kind of emulation mode and system towards mobile satellite network
CN104349511B (en) The distribution method and device of AP addresses in wlan network
CN108924006A (en) Automated testing method, system and the device of router far and near distance performance
CN103813350B (en) Agricultural internet of things cloud communication system performance simulation platform
CN103200067A (en) Dynamic virtual LANs to segregate data
CN100546261C (en) The method and system of Wireless LAN testing
Suresh et al. ns-3-click: click modular router integration for ns-3
CN103763676B (en) Communication means and equipment between AP and AC
CN102710463A (en) Dynamic simulation system and simulation method of electric power data network
CN105376118B (en) A kind of test method of AFDX interchangers sending performance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111221