CN102572912A - Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system - Google Patents

Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system Download PDF

Info

Publication number
CN102572912A
CN102572912A CN 201110446179 CN201110446179A CN102572912A CN 102572912 A CN102572912 A CN 102572912A CN 201110446179 CN201110446179 CN 201110446179 CN 201110446179 A CN201110446179 A CN 201110446179A CN 102572912 A CN102572912 A CN 102572912A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
ap
ac
system
simulator
data
Prior art date
Application number
CN 201110446179
Other languages
Chinese (zh)
Other versions
CN102572912B (en )
Inventor
刘小伟
张光华
穆启伟
Original Assignee
武汉虹旭信息技术有限责任公司
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

Links

Abstract

The invention discloses a networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and a method for the system, and relates to the technology of test on WLAN AC performance. The networking system comprises an authentication system and an external network, main and backup AC systems and a PC (personal computer) machine and is provided with an AP simulator, wherein the authentication system and the external network, the main and backup AC systems, the AP simulator system and the PC machine are communicated in sequence; the AP simulator is software developed under an Linux operation system and can work on a double-network-card server loaded with a Linux system. The invention simulates internet access of the user by adopting a wired way and breaks through the limitation of bandwidth with wireless technology, and operation of a single device of the AP simulator can simulate throughput approximating to a wired network; cost for testing the performance of AC is greatly reduced; the expansibility is strong, and the currently simulated data volume can be doubled by just adding a small quantity of servers and PC machines with the operation of the AP simulator.

Description

基于AP模拟器的测试WLAN AC性能的组网系统及其方法 Networking system and method for testing the performance of the WLAN AC AP based simulator

技术领域 FIELD

[0001] 本发明涉及WLAN AC性能测试技术,尤其涉及一种基于AP模拟器的测试WLANAC 性能的组网系统及其方法;本发明能够模拟并测试在大量AP及用户时有关AC的控制能力, 以及在用户数据业务量巨大时有关AC数据的封装、解封装和转发能力。 [0001] The present invention relates to a WLAN AC performance testing technique, particularly to a system and method for testing network performance WLANAC AP-based simulator; the present invention can simulate and test the control on the AC and AP when a large number of users, and a data package on the AC when huge user data traffic, de-encapsulation and forwarding capabilities.

背景技术 Background technique

[0002] 随着WLAN技术的发展,使得WLAN受到越来越多的重视。 [0002] With the development of WLAN technology makes WLAN attracted more and more attention. 近几年,国内电信运营商也逐渐重视WLAN的建设,WLAN正在向全国大中城市铺开。 In recent years, the domestic telecom operators are also increasing emphasis on the construction of a WLAN, WLAN is being rolled out to the cities. 这些WLAN基本上都采用集中式架构,而AC要能支持IOM,2048,甚至4096个AP,支持的用户数为20 X AP数,这就对集中式WLAN AC提出了很高的要求。 These are basically using a centralized WLAN architecture, and AC to be able to support the IOM, 2048, or even 4096 AP, the number of users supported is 20 X the number of AP, which made for a centralized WLAN AC high demands. 测试AC设备的性能也就成为了一个非常重要的问题。 AC performance testing equipment has become a very important issue. 采用真正的几千个AP和几万个用户来测试AC,那显然是不太现实的事情,因一般测试交换机性能的测试仪只能测试出AC的数据交换性能,无法模拟AP的CAPWAP心跳报文和用户的CAPffAP数据报文,不能测试AC对大量AP的控制能力以及业务数据封装和转发的性能。 AP uses real and thousands of tens of thousands of users to test the AC, it is clearly not realistic thing, because the general performance of the switch test tester can test out the data exchange performance AC can not simulate the AP reported CAPWAP heartbeat CAPffAP above and the user data packets can not control and AC test traffic data encapsulation and forwarding performance of a large number of the AP. 面对这个问题,设计一种能模拟现实的集中式WLAN中大量AP及用户的方法在开发和测试阶段就变得十分重要。 Faced with this problem, design a realistic simulation of a centralized WLAN AP and a large number of users of the method becomes very important in the development and testing phase.

发明内容 SUMMARY

[0003] 本发明的目的就在于克服现有技术存在的问题和不足,提供一种基于AP模拟器的测试WLAN AC性能的组网系统及其方法。 [0003] The object of the present invention lies in overcoming the problems of the prior art deficiencies and to provide a network system and a WLAN AC performance testing based simulator of AP.

[0004] 本发明的目的是这样实现的: [0004] The object of the present invention is implemented as follows:

[0005] 包括AP模拟器、测试网(集中式WLAN AC设备)和性能测试方法。 [0005] AP simulator comprises a test network (WLAN AC centralized device) and performance test methods.

[0006] 开发的AP模拟器能够模拟1024、2048和4096等不同规模的AP数量和20 XAP 个数的STA (用户); [0006] AP development simulator to simulate 1024, 2048, and the number of the AP and the number 20 of different sizes like the STA XAP 4096 (user);

[0007] 采用独特的组网方式能够最真实地模拟现实网络的环境,利用较小的硬件成本便能测试出AC控制面和数据面的极限性能。 [0007] The unique networking can be the most realistic simulation of real network environment, using a smaller hardware costs will be able to test the limits of performance AC control plane and data plane.

[0008] 1、基于AP模拟器的测试WLAN AC性能的组网系统(简称组网系统) [0008] 1, based on the test simulator AP WLAN AC performance of the network system (network system)

[0009] 本性能测试方法是基于图1给出的组网平台,运行AP模拟器的服务器至少需要有两张网卡,一个连接至主AC和备AC的下联口网络,另一张网卡连接一个PC,作为用户或模拟多用户数据的种子。 [0009] The present method is based on performance testing Figure 1 shows a networking platform, AP server runs the simulator requires at least two network cards, a master is connected to the second line AC and AC backup network port, another a card connector PC, seeds as a user or multi-user simulation data. AC的上下联口都采用万兆光模块接口。 AC down uplink port Gigabit optical modules are used.

[0010] 2、基于AP模拟器的测试WLAN AC性能的方法(简称方法) [0010] 2. The method of testing the performance of an AP WLAN AC based simulator (referred Method)

[0011] 本方法包括下列步骤: [0011] the method comprising the steps of:

[0012] ①先模拟大批量的AP上线,每秒几十个或几百个AP同时上线对AC进行冲击,记录上线AP成功个数,接入后模拟AP上的配置建立成功个数,接入的时间; [0012] ① AP on-line to simulate the mass of tens or hundreds per second, while the AP on the AC line impingement, recording the line number of the AP successfully, establishing the number of successful simulated arranged on the AP after access, then the time;

[0013] ②通过模拟异常情况的AP,如对AC的配置请求不予回应或回应错误的消息,记录AC是否能处理这些异常情况; [0013] ② the AP by simulating abnormal conditions, such as the configuration of the AC not respond or respond to a request of error message, if the recording can handle these exceptions AC;

[0014] ③将PC机与AP模拟器相连的网卡禁用,然后启用,此时PC机会发出DHCP请求,经过AP模拟器后转发至主备AC系统,主备AC系统分配地址给PC机,得到地址后,PC机进入Portal(门户)认证阶段,认证完成后,就可以访问外网了;在主备AC系统上联口放置一台对等的机器,此时两台机器就可以通信了,在两台机器上运行打流软件,就可以模拟大量的用户数据了;放置多对对等的机器,可能模拟5-10G的数据量,可以很好地测试备AC系统对用户业务数据的转发能力; [0014] ③ is connected to the PC and NIC AP simulator disabled and enabled, when a PC is the opportunity to send a DHCP request is forwarded to the standby system after AP simulator AC, AC standby system address assigned to the PC, to give after the address, PC machine into the portal (gateway) authentication phase, the authentication is completed, you can access the external network; uplink port to place a peer machine on the primary AC system, this time the two machines can communicate, on both machines running play streaming software, you can simulate a large number of user data; placing a plurality of pairs of such machines, analog data may 5-10G, the test can be well prepared for the AC system forwards user traffic data ability;

[0015] ④在AP模拟器上输入模拟用户的命令,如10240个用户,均勻的分布在AP模拟器所模拟的AP上,然后向主备AC系统发起大量的DHCP请求,记录主备AC系统对多用户接入能力的测试; [0015] ④ AP simulator simulates the input user commands, such as the 10240 users, evenly distributed on the AP AP simulator simulated, and then initiates a DHCP request to a large amount of standby AC system, a recording standby AC system test multi-user access capability;

[0016] ⑤在主AC系统正常运行时,将主AC系统下联口网线拔掉,看主AC系统上运行的业务是否转移到备AC系统上去,用户的业务数据是否有中断,测试主备AC系统的高可用性。 [0016] ⑤ main AC system during normal operation, the main AC system downlink port unplug the network cable, to see whether running on the main AC system operations to prepare the AC system up, if the user's service data interrupt, testing standby AC high-availability systems.

[0017] 本发明相对现有技术具有下列优点和积极效果: [0017] The prior art relative to the present invention has the following advantages and positive effects:

[0018] 1、通过有线的方式模拟用户上网,突破了无线技术带宽的限制,运行AP模拟器的单台设备可以模拟出接近有线网络的吞吐量。 [0018] 1, analog wired manner through Internet user, breaking the bandwidth limitations of wireless technology, a single operation of AP simulator can simulate the device closer to the wired network throughput.

[0019] 2、测试AC的性能成本大大降低,只需要几台运行AP模拟器的一般服务器(性能好一点的PC也能运行AP模拟器)和普通的PC机,而一般专门的测试仪造价昂贵且不一定能模拟AP及用户的数据流。 [0019] 2 AC performance testing greatly reduce the cost, only a few general server running AP simulator (good performance PC can run a little simulator AP) and an ordinary PC, and the general cost of a dedicated tester expensive and not be able to simulate the AP and the user data stream.

[0020] 3、可扩展性强,当运行的AP模拟器不能达到性能测试的要求时,只需增加少量运行AP模拟器的服务器及PC机则可以将当前所模拟的数据量翻倍。 [0020] 3, scalability, when run AP simulator not meet the requirements of the performance test, a small increase in the simulator operating AP server PC, and the amount of data currently being simulated may be doubled.

附图说明 BRIEF DESCRIPTION

[0021] 图1为测试的组网方式,图中: [0021] FIG 1 is a networking test drawings in which:

[0022] 000-认证系统及外网, [0022] 000- authentication system and the external network,

[0023] 001—防火墙, [0023] 001 firewall,

[0024] 002-Portal (门户)服务器, [0024] 002-Portal (gateway) server,

[0025] 003-Radius (半径)服务器, [0025] 003-Radius (Radius) server,

[0026] 004-打流用的对端服务器; [0026] 004 to play streaming server using the peer;

[0027] 100-主备AC 系统, [0027] AC 100 standby system,

[0028] 101—主AC, [0028] 101 main AC,

[0029] 102—备AC ; [0029] Preparation of the AC 102-;

[0030] 200-AP 模拟器; [0030] 200-AP simulator;

[0031] 300-PC 机。 [0031] 300-PC machines.

[0032] 图2为AP模拟器的处理流程图。 [0032] FIG 2 is a flowchart showing the processing AP simulator.

[0033] 英译汉: [0033] English to Chinese:

[0034] UffLAN :ffireless Local Area Networks,无线局域网络; [0034] UffLAN: ffireless Local Area Networks, wireless local area network;

[0035] 2、AP =Access Point,无线访问节点; [0035] 2, AP = Access Point, the wireless access point;

[0036] 3, AC -.Access Controller,接入控制器: [0036] 3, AC -.Access Controller, the access controller:

[0037] 4> CAPffAP :Control And Provisioning of Wireless Access Points Protocol, 控制和保障无线接入点的协议;[0038] 5> DHCP =Dynamic Host Configuration Protocol,云力ϋϋ殳gti]、iX。 [0037] 4> CAPffAP: Control And Provisioning of Wireless Access Points Protocol, control and security protocol of the wireless access point; [0038] 5> DHCP = Dynamic Host Configuration Protocol, cloud force ϋϋ Shu gti], iX.

[0039] 6、PC :personal computer,个人计算机。 [0039] 6, PC: personal computer, a personal computer.

具体实施方式 detailed description

[0040] 下面结合附图和实施例详细说明: [0040] The following detailed description in conjunction with the accompanying drawings and examples:

[0041] 一、基于AP模拟器的测试WLAN AC性能的组网系统 [0041] a networking system based on WLAN AC performance testing of AP simulator

[0042] 1、总体 [0042] 1 overall

[0043] 如图1,本组网系统包括认证系统及外网000、主备AC系统100和PC机300 ; [0043] As shown in FIG 1, this network system comprises an authentication system and the external network 000, AC standby system 100 and PC 300;

[0044] 设置有AP模拟器200 ; [0044] AP simulator 200 is provided with;

[0045] 认证系统及外网000、主备AC系统100、AP模拟器系统200和PC机300依次连通; 000, 100, AP simulator system standby AC system 200 and PC 300 sequentially communicates [0045] The authentication system and the external network;

[0046] 2、功能块 [0046] 2, the function block

[0047] 0)认证系统及外网000 [0047] 0) The authentication system 000 and the external network

[0048] ①防火墙001 [0048] ① firewall 001

[0049] 过滤外网的不安全数据。 [0049] The filtering data insecure external network.

[0050]② Portal 服务器002 [0050] ② Portal Server 002

[0051] 仿照运营商Portal服务器,弹出Portal页面。 [0051] modeled operators Portal Server, Portal pop-up page.

[0052]③ Radius 服务器003 [0052] ③ Radius server 003

[0053] 仿照运营商Radius服务器,用户的认证和计费。 [0053] modeled operator Radius server, user authentication and accounting.

[0054] ④打流用的对端服务器004 [0054] ④ play stream using the peer server 004

[0055] 充当PC机上打流软件的对端,用万兆网卡。 [0055] to play streaming software peer to act as a PC, and with the Gigabit network card.

[0056] ⑤ Internet 网 [0056] ⑤ Internet network

[0057] Internet 互联网。 [0057] Internet Internet.

[0058] 1)主备AC 系统100 [0058] 1) AC standby system 100

[0059]①主 AC101 [0059] ① main AC101

[0060] 正常情况下运行,定期和动态备份数据到备AC。 Run [0060] Normally, regular and dynamic backup data to the backup AC.

[0061]②备 AC102 [0061] ② Preparation AC102

[0062] 出现异常情况下接替主AC。 [0062] appeared to take over the main AC exceptional circumstances.

[0063] 2) AP 模拟器200 [0063] 2) AP simulator 200

[0064] AP模拟器200是在Linux操作系统下开发的一种软件,运行在装有Linux系统的双网卡服务器上。 [0064] AP 200 is a software simulator developed under the Linux operating system, running on a Linux server with dual card system.

[0065] 1)模拟DHCP流程 [0065] 1) Analog DHCP process

[0066] 充当DHCP客户端,模拟DHCP流程,并在AC回应给AP DHCP ACK后,根据报文中分配的IP地址,发送免费ARP报文检测是否有其它设备使用这个地址,如果有,则发送DHCP Decline报文并重新请求IP地址,直到获得一个可用的地址进入CAPWAP状态机; [0066] After acting as DHCP clients, analog DHCP process, and to respond to the AP DHCP ACK in AC, packets according to the assigned IP address, sends a gratuitous ARP packet to detect whether there is another device using this address, if so, send DHCP Decline message and re-requests the IP address, until an available address state machine enters CAPWAP;

[0067] 2)模拟ARP协议栈及ICMP协议 [0067] 2) Analog ARP and ICMP Protocol Stack

[0068] 由于IP协议栈要使用ARP来获取MAC地址,模拟器必须能够对ARP请求进行回应, 为了更真实接近真AP,ICMP请求也需要进行回应; [0068] Because the IP protocol stack to be used to obtain the MAC address of the ARP, the simulator must be able to respond to the ARP request, to more realistically close to a true AP, ICMP request may also need to respond;

[0069] 3)模拟CAPWAP状态机 [0069] 3) a state machine simulation CAPWAP

[0070] 集中式WLAN中,AP和AC间交互通过CAPWAP协议来实现(RFC5415),所以AP模 [0070] centralized WLAN, the interaction between the AP and AC achieved by the CAPWAP protocol (RFC5415), the AP mold

6拟器要能够模拟CAPWAP状态机,并按照协议规范,在Discovery、Join、Image、Configure, DataCheck、Run状态之间切换; [0071 ] 4)维持AP与AC间心跳 6 is intended to be able to simulate CAPWAP a state machine, and in accordance with the protocol specification, switching between Discovery, Join, Image, Configure, DataCheck, Run state; [0071] 4) maintained between the AP and AC heartbeat

[0072] 每隔一段时间(协议默认30S),向AC主动发送Echo Request消息来维持和AC 之间的心跳,如果多次没有收到AC的回应,则认为AC掉线,重新进入CAPWAP状态机中Discovery阶段,多次Discovery没有回应后,则重启进入DHCP阶段; [0072] from time to time (the default protocol 30S), sending Echo Request message to the AC to maintain the initiative and heartbeat between the AC, if no response is received repeatedly AC, the AC believes dropped, re-enter the CAPWAP state machine the Discovery phase, after several Discovery did not respond, then reboot into DHCP phase;

[0073] 5)对AC的配置请求回应 [0073] 5) arranged to respond to the request of AC

[0074] 对AC的Configuration Update Request请求给以适当的回应,让AC就像在操作一台真实的AP。 [0074] AC for the Configuration Update Request request give an appropriate response, so that AC operation as in a real AP.

[0075] 6)模拟多AP及多用户 [0075] 6) Simulation and multi-user multi-AP

[0076] 按照AC的规格,可以模拟10¾,2048,4096个々? [0076] According to AC specifications, you can simulate 10¾, 2048,4096 a 々? ,20从? 20 from? 个数的用户; Number of users;

[0077] 7)模拟STA上下线及STA所有流程 [0077] 7) on offline simulation and STA STA processes all

[0078] 通过CAPWAP控制报文,发送给AC来模拟STA上下线,对数据面的报文,AP模拟器则充当类似协议转换的网关,将一个网口PC的所有数据封装成AC识别的业务数据发送到与AC相连的网口,反之,AC回来的数据服务器将业务数据剥离发给PC。 [0078] By CAPWAP control packets transmitted to the AC offline simulation on the STA, the data plane packets, the AP acts as a gateway simulator similar protocol conversion, all the data of a PC to an AC network port identified traffic package sending data to the Ethernet interface connected to the AC, on the contrary, AC back release data server traffic data sent PC.

[0079] 3) PC 机300 [0079] 3) PC machine 300

[0080] 模拟无线的用户。 [0080] The analog radio users.

[0081] 组网系统的工作原理是: [0081] networking system works is:

[0082] PC机300的数据经过AP模拟器200封装后,发送给主备AC100,解封装后传给认证系统及外网000, Internet网005,防火墙001 ,Portal服务器002,Radius服务器003模拟运营商认证系统。 Data [0082] PC 300 via the AP simulator machine 200 after the package is sent to the standby AC100, decapsulated and passed the authentication system outside the network 000, Internet network 005, firewall 001, Portal server 002, Radius server 003 analog operators provider certification system. 打流用的对端服务器004用来测试大流量。 Play streaming server to end with 004 used to test large flow.

[0083] 二、AP模拟器200的工作流程 [0083] bis, AP simulator workflow 200

[0084] 如图2,AP模拟器200的工作流程: [0084] As shown in FIG 2, AP simulator workflow 200:

[0085] 第1步骤10,判断数据到达的网口,根据从不同的网口收到的数据进行数据处理; [0085] The first step 10, the data reach the network port is determined for data processing based on data received from different network port;

[0086] 第2步骤11,如果是从PC侧网口收到的数据,则将数据进行封装,从与AC相连的网口发送出去; [0086] The second step 11, if it is received from the PC and the network interface data, the data is encapsulated, transmitted from the network and connected to AC port;

[0087] 第3步骤21,如果是与AC相连的网口收到的数据,则要判断数据的类型,然后根据数据类型进行不同的处理; [0087] The third step 21, if it is connected to the AC network and the data received in the mouth, will have to determine the type of data, and then processed differently according to the data type;

[0088] 第4步骤22,数据包为ARP请求,找到对应的AP上下文发送回应。 [0088] The fourth step 22, the data packet is an ARP request to find the corresponding context AP sends a reply. 如果发现免费的ARP报文与其中某个AP的相同且此AP正处在DHCP阶段,则发送DHCPDECLINE拒绝AC 分配的该地址,重新进入DHCP请求。 If you find free ARP packet in which an AP is the same and this AP is in DHCP stage, sending the address DHCPDECLINE reject AC distribution, re-enter the DHCP request. 另外,由于考虑到HA的原因AC的MAC地址可能是虚的地址,也需要通过ARP来学习到,而不能通过其它包中的目的地址得到; Further, in consideration of the reasons for the MAC address HA may be an AC virtual address, also needs to be learned by the ARP, but not by other packages obtained destination address;

[0089] 第5步骤23,数据包为ICMP请求报文,找到对应的AP上下文直接回应ICMP回应; [0089] The fifth step 23, the request packet is an ICMP packet, to find context corresponding to AP directly ICMP echo response;

[0090] 第6步骤30,数据包为UDP包则进一步细分,分为CAPWAP控制报文,数据报文和DHCP报文; [0090] The sixth step 30, the data packet is a UDP packet is further subdivided into CAPWAP control packets and data packets and DHCP packets;

[0091] 第7步骤31,数据包为CAPWAP控制报文,通过IP查找到该AP的上下文; [0091] The seventh step 31, the data packet is a CAPWAP control packets, the AP found by the IP context;

[0092] 第8步骤32,判断是否存在此AP ; [0092] The eighth step 32, it is determined whether the AP exists;

[0093] 第9步骤33,找不到上下文则丢弃; [0093] The ninth step 33, the context is not found discarded;

[0094] 第10步骤34,找到后解析出CAPWAP控制报文的消息类型;[0095] 第11步骤35,根据当前AP所处的CAPWAP状态机的状态进行处理,特定的状态只处理相应的报文,多次没收到心跳报文则回到状态机的初始状态; [0094] 10 step 34, after finding parses CAPWAP control packet message type; [0095] 11 first step 35, the processing in accordance with the current state of the state machine CAPWAP AP is located, the status of only the specific treatment of the corresponding packet Wen, many did not receive heartbeat packets to return to the initial state of the state machine;

[0096] 第12步骤36,数据包为CAPWAP数据报文,解封装CAPWAP数据报文,发往与PC机相连的网口; [0096] 12 step 36, the data packet is a data packet CAPWAP, CAPWAP decapsulating data packets sent to the network port connected to a PC;

[0097] 第13步骤37,数据包为DHCP包,则根据当前AP所处的DHCP状态来决定下一步动作,如果收到DHCP Discovery Response,则发送DHCP Request,如果是DHCP ACK,则暂时记录ACK中的地址,发送ARP免费报文,看网络中是否有其它设备或模拟AP正在使用,连续发几次,没有回应则正式使用该地址,有则拒绝该地址并重新请求。 [0097] 13 step 37, the data packet is a DHCP packet, to decide the next operation based on the current state of the AP which the DHCP, if the received DHCP Discovery Response, sends the Request DHCP, if a DHCP ACK, ACK is temporarily recorded the address to send free ARP packets to see if there are other devices in the network is being used or simulated AP, continuous hair a few times, did not respond to the use of the official address, the address and have refused to re-request.

Claims (4)

  1. 1.一种基于AP模拟器的测试WLAN AC性能的组网系统,包括认证系统及外网(000)、 主备AC系统(100)和PC机(300);其特征在于:设置有AP模拟器O00);认证系统及外网(000)、主备AC系统(100)、AP模拟器系统(200)和PC机(300)依次连通;所述的AP模拟器(200)是在Linux操作系统下开发的一种软件,运行在装有Linux系统的双网卡服务器上。 A networking system test simulator AP WLAN AC performance, including the authentication system and the external network (000), AC standby system (100) and PC (300) based; characterized in that: there is provided an analog AP device O00); authentication system and the external network (000), AC standby system (100), AP simulator system (200) and PC (300) communicates sequentially; AP said simulator (200) is the Linux operating a software developed under the system, running on a Linux server with dual-card systems.
  2. 2.按权利要求1所述的一种基于AP模拟器的测试WLAN AC性能的组网系统,其特征在于:所述的AP模拟器(200)包括:1)模拟DHCP流程;2)模拟ARP协议及ICMP协议;3)模拟CAPWAP状态机;4)维持AP与AC间心跳;5)对AC的配置请求回应;6)模拟多AP及多用户;7)模拟STA上下线及STA所有流程。 2. one of the claims 1 to AP networking system test simulator based WLAN AC performance, wherein: said AP simulator (200) comprising: 1) an analog DHCP process; 2) ARP Analog protocol and ICMP protocol; 3) analog CAPWAP state machine; 4) maintained between the AP and AC heartbeat; 5) arranged on the AC request response; 6) the analog multiplexer AP and multiple users; offline 7) analog STA and STA all processes.
  3. 3.按权利要求1所述的组网系统的测试方法,其特征在于:①先模拟大批量的AP上线,每秒几十个或几百个AP同时上线对AC进行冲击,记录上线AP成功个数,接入后模拟AP上的配置建立成功个数,接入的时间;②通过模拟异常情况的AP,如对AC的配置请求不予回应或回应错误的消息,记录AC是否能处理这些异常情况;③将PC机与AP模拟器相连的网卡禁用,然后启用,此时PC机会发出DHCP请求,经过AP 模拟器后转发至主备AC系统,主备AC系统分配地址给PC机,得到地址后,PC机进入Portal 认证阶段,认证完成后,就可以访问外网了;在主备AC系统上联口放置一台对等的机器,此时两台机器就可以通信了,在两台机器上运行打流软件,就可以模拟大量的用户数据了;放置多对对等的机器,可能模拟5-10G的数据量,可以很好地测试备AC系统对用户业务数据的转发能力;④ 3. The method of testing as claimed in claim 1, said network system, wherein is: ① a large volume to simulate the line AP, per tens or hundreds of on-line while the AC AP impingement, AP successfully recorded on-line the number, the configuration of the analog access AP number is successfully established, the access time; ② simulated abnormal condition through the AP, such as the configuration of the AC request message or not respond to the error response, the recording can handle such that the AC abnormality; ③ is connected to the PC and NIC AP simulator disabled and enabled, when a PC is the opportunity to send a DHCP request is forwarded to the standby system after AP simulator AC, AC standby system address assigned to the PC, to give after the address, PC Portal machine enters the authentication phase, the authentication is completed, you can access the external network; uplink port to place a peer machine on the primary AC system, this time the two machines can communicate in two running on the machine to play streaming software, you can simulate a large number of user data; placing a plurality of pairs of such machines, analog data may 5-10G, the test equipment can be a good AC system forwarding capability of the user traffic data; ④ AP模拟器上输入模拟用户的命令,如10240个用户,均勻的分布在AP模拟器所模拟的AP上,然后向主备AC系统发起大量的DHCP请求,记录主备AC系统对多用户接入能力的测试;⑤在主AC系统正常运行时,将主AC系统下联口网线拔掉,看主AC系统上运行的业务是否转移到备AC系统上去,用户的业务数据是否有中断,测试主备AC系统的高可用性。 Input analog user command on the AP simulator, such as 10,240 users, evenly distributed on the AP AP simulator simulated, and then initiates a DHCP request to a large number of system standby AC, AC recording standby system Multiple Access testing capabilities; ⑤ main AC system during normal operation, the main AC system downlink port unplug the network cable, to see whether running on the main AC system operations to prepare the AC system up, if the user's service data interrupt, testing standby AC high-availability systems.
  4. 4.按权利要求3所述的测试方法,其特征在于AP模拟器(200)的工作流程:第1步骤(10),判断数据到达的网口,根据从不同的网口收到的数据进行数据处理;第2步骤(11),如果是从PC侧网口收到的数据,则将数据进行封装,从与AC相连的网口发送出去;第3步骤,如果是与AC相连的网口收到的数据,则要判断数据的类型,然后根据数据类型进行不同的处理;第4步骤(22),数据包为ARP请求,找到对应的AP上下文发送回应。 4. The method of testing according to claim 3, characterized in that the AP simulator (200) workflow: a first step (10), the network interface determines the data arrives, according to data received from different network port the data processing; second step (11), if it is received from the PC and the network interface data, the data is encapsulated, transmitted from the network and connected to AC port; a third step, if it is connected to the AC network port the data received, will have to determine the type of data, and then processed differently according to the data type; a fourth step (22), an ARP request packet, the AP find the corresponding transmission context response. 如果发现免费的ARP报文与其中某个AP的相同且此AP正处在DHCP阶段,则发送DHCP DECLINE拒绝AC分配的该地址,重新进入DHCP请求。 If you find free ARP packet in which an AP is the same and this AP is in DHCP stage, sending the address DHCP DECLINE refused AC distribution, re-enter the DHCP request. 另外,由于考虑到HA的原因AC的MAC地址可能是虚的地址,也需要通过ARP来学习到,而不能通过其它包中的目的地址得到;第5步骤(23),数据包为ICMP请求报文,找到对应的AP上下文直接回应ICMP回应; 第6步骤(30),数据包为UDP包则进一步细分,分为CAPWAP控制报文,数据报文和DHCP 报文;第7步骤(31),数据包为CAPWAP控制报文,通过IP查找到该AP的上下文; 第8步骤(32),判断是否存在此AP ; 第9步骤(3¾,找不到上下文则丢弃; 第10步骤(34),找到后解析出CAPWAP控制报文的消息类型;第11步骤(35),根据当前AP所处的CAPWAP状态机的状态进行处理,特定的状态只处理相应的报文,多次没收到心跳报文则回到状态机的初始状态;第12步骤(36),数据包为CAPWAP数据报文,解封装CAPWAP数据报文,发往与PC机相连的网口;第13步骤(37),数据包为DHCP包,则根据当前AP所 Further, in consideration of the MAC address of the reason the HA AC may be a virtual address, also needs to be learned by the ARP, and not through the other packet destination address obtained; fifth step (23), the packet is an ICMP requests Wen, found AP context corresponding to a direct response to the ICMP echo; a sixth step (30), the data packet is a UDP packet is further subdivided into CAPWAP control packets and data packets and DHCP packets; step 7 (31) , data packet CAPWAP control packets, the AP found by the IP context; step 8 (32), it is determined whether this AP; step 9 (3¾, discarding the context can not be found; step 10 (34) after parsing find CAPWAP control packet message type; step 11 (35), processed according to the current state of the state machine CAPWAP AP is located, the status of only the specific treatment of the corresponding packet, multiple packets not received a heartbeat wen back to the initial state of the state machine; step 12 (36), the data packet is a CAPWAP message, decapsulating CAPWAP data packets sent to the network port connected to a PC; step 13 (37), the data packet is a DHCP packet, in accordance with the current AP 的DHCP状态来决定下一步动作,如果收到DHCP DISCOVERY RESPONSE,则发送DHCP REQUEST,如果是DHCP ACK,则暂时记录ACK中的地址,发送ARP免费报文,看网络中是否有其它设备或模拟AP正在使用,连续发几次,没有回应则正式使用该地址,有则拒绝该地址并重新请求。 The DHCP state to decide the next operation, if the received DHCP DISCOVERY RESPONSE, sending the REQUEST DHCP, if a DHCP ACK, the ACK address is recorded temporarily sending gratuitous ARP packet, if there are other devices or network simulation AP See is being used, continuous hair a few times, did not respond to the use of the official address, the address and have refused to re-request.
CN 201110446179 2011-12-28 2011-12-28 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)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110446179 CN102572912B (en) 2011-12-28 2011-12-28 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110446179 CN102572912B (en) 2011-12-28 2011-12-28 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system

Publications (2)

Publication Number Publication Date
CN102572912A true true CN102572912A (en) 2012-07-11
CN102572912B CN102572912B (en) 2014-08-13

Family

ID=46417110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110446179 CN102572912B (en) 2011-12-28 2011-12-28 Networking system for testing WLAN (wireless local area network) AC (access controller) performance based on AP (access point) simulator and method for the system

Country Status (1)

Country Link
CN (1) CN102572912B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102781028A (en) * 2012-08-14 2012-11-14 北京傲天动联技术有限公司 Analog wireless working station online testing method and system
CN102811144A (en) * 2012-08-16 2012-12-05 北京傲天动联技术有限公司 NMS topological discovery performance testing system and method
CN102833777A (en) * 2012-08-23 2012-12-19 北京傲天动联技术有限公司 Method for testing PORTAL performance of access controller
CN103023727A (en) * 2012-12-28 2013-04-03 迈普通信技术股份有限公司 Portal performance testing system and Portal performance testing method
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
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
CN103763676A (en) * 2014-01-24 2014-04-30 成都西加云杉科技有限公司 Communication method and equipment between AP and AC
CN103945445A (en) * 2014-03-13 2014-07-23 京信通信技术(广州)有限公司 Method and device for testing performance of access controller
CN104519500A (en) * 2013-09-26 2015-04-15 上海斐讯数据通信技术有限公司 Automatic test system of throughput of wireless communication equipment and automatic test method of throughput
CN105050131A (en) * 2015-07-08 2015-11-11 深圳市华讯方舟科技有限公司 Pressure testing method of access controller and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026144A (en) * 2010-11-05 2011-04-20 北京星网锐捷网络技术有限公司 Roaming performance test method, equipment and system thereof
CN102291745A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 A method and apparatus for testing a multi-ap

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026144A (en) * 2010-11-05 2011-04-20 北京星网锐捷网络技术有限公司 Roaming performance test method, equipment and system thereof
CN102291745A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 A method and apparatus for testing a multi-ap

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
P.CALHOUN: "《RFC5415》", 31 March 2009, article "Control And Provisioning of Wireless Access Points (CAPWAP) Protocol Specification" *
熊鹏等: "基于CAPWAP协议的AP模拟器的设计与实现", 《光通信研究》, no. 174, 31 December 2012 (2012-12-31), pages 64 - 66 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581937B (en) * 2012-07-27 2017-02-08 中兴通讯股份有限公司 A radio control apparatus and method for testing
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
CN102781028A (en) * 2012-08-14 2012-11-14 北京傲天动联技术有限公司 Analog wireless working station online testing method and system
CN102781028B (en) * 2012-08-14 2016-08-03 北京华信傲天网络技术有限公司 Test Method and system for analog radio stations on the line
CN102811144A (en) * 2012-08-16 2012-12-05 北京傲天动联技术有限公司 NMS topological discovery performance testing system and method
CN102811144B (en) * 2012-08-16 2015-02-04 北京傲天动联技术股份有限公司 NMS topological discovery performance testing system and method
CN102833777A (en) * 2012-08-23 2012-12-19 北京傲天动联技术有限公司 Method for testing PORTAL performance of access controller
CN102833777B (en) * 2012-08-23 2015-02-04 北京傲天动联技术股份有限公司 Method for testing PORTAL performance of access controller
CN103023727A (en) * 2012-12-28 2013-04-03 迈普通信技术股份有限公司 Portal performance testing system and Portal performance testing method
CN103023727B (en) * 2012-12-28 2015-08-26 迈普通信技术股份有限公司 Portal performance testing system and method
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
CN104519500B (en) * 2013-09-26 2018-03-02 上海斐讯数据通信技术有限公司 Throughput wireless communication devices automatic test system and test method thereof
CN104519500A (en) * 2013-09-26 2015-04-15 上海斐讯数据通信技术有限公司 Automatic test system of throughput of wireless communication equipment and automatic test method of throughput
CN103763676A (en) * 2014-01-24 2014-04-30 成都西加云杉科技有限公司 Communication method and equipment between AP and AC
CN103945445A (en) * 2014-03-13 2014-07-23 京信通信技术(广州)有限公司 Method and device for testing performance of access controller
CN105050131A (en) * 2015-07-08 2015-11-11 深圳市华讯方舟科技有限公司 Pressure testing method of access controller and device

Also Published As

Publication number Publication date Type
CN102572912B (en) 2014-08-13 grant

Similar Documents

Publication Publication Date Title
Ahrenholz et al. CORE: A real-time network emulator
US20040240440A1 (en) Virtual network addresses
US20060234636A1 (en) Wireless network virtual station address translation with external data source
US20100192218A1 (en) Method and system for packet filtering for local host-management controller pass-through communication via network controller
US20060143309A1 (en) Verifying network connectivity
CN101159657A (en) Method, equipment and server of implementing private network cross-over
US8005958B2 (en) Virtual interface
CN1972231A (en) Method to search access controller in wireless LAN and proxy server
CN104363159A (en) Virtual open network building system and method based on software definition network
CN101729425A (en) Method and equipment for flow sending in VRRP networking
CN102710777A (en) Advertisement push-delivery method and system, as well as advertisement pusher
CN102255903A (en) Safety isolation method for virtual network and physical network of cloud computing
CN102231763A (en) Sharing method based on NAT (Network Address Translation) penetration
CN1434382A (en) Test method and system for IEEE 802.1x network insertion equipment
CN102291745A (en) A method and apparatus for testing a multi-ap
CN101272291A (en) Network appliance testing method and system
CN1514586A (en) Data communication equipment testing system and method of imitation multiuser, multi connection
US20100005190A1 (en) Method and system for a network controller based pass-through communication mechanism between local host and management controller
CN102223365A (en) User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster
CN101286884A (en) Method for implementing non-status multi-host backup and proxy gateway
CN101345741A (en) Proxy system and proxy connecting method based on internet
CN102811335A (en) Method, device and system for establishing video session
CN101442493A (en) Method for distributing IP message, cluster system and load equalizer
CN101917439A (en) Data transmission method and equipment
CN1674579A (en) Method for supporting PPPoA on wideband switch-in equipment

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model