CN103581937B - Device and method for testing wireless controller - Google Patents

Device and method for testing wireless controller Download PDF

Info

Publication number
CN103581937B
CN103581937B CN201210262567.7A CN201210262567A CN103581937B CN 103581937 B CN103581937 B CN 103581937B CN 201210262567 A CN201210262567 A CN 201210262567A CN 103581937 B CN103581937 B CN 103581937B
Authority
CN
China
Prior art keywords
sta
online
pond
service
offline
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.)
Active
Application number
CN201210262567.7A
Other languages
Chinese (zh)
Other versions
CN103581937A (en
Inventor
邱国奖
邬立保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210262567.7A priority Critical patent/CN103581937B/en
Publication of CN103581937A publication Critical patent/CN103581937A/en
Application granted granted Critical
Publication of CN103581937B publication Critical patent/CN103581937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a device and method for testing a wireless controller. The device comprises an AP analog module, an STA analog module, an STA test module and a resource management module. The AP analog module selects an AP from an idle AP pool to send an on line login request to an AC. The STA analog module selects an STA from an idle STA pool, selects the AP from a service available AP list provided by the resource management module, and enables the selected STA to send an association request to the AC through the selected AP. The STA test module selects an on line STA in an on-line STA pool, and simulates a roam service or an off-line service or a data service. The resource management module is used for maintaining and managing an on-line AP pool and the on-line STA pool, and providing the service available AP list for the STA analog module and the STA test module. The device and method for testing the wireless controller solve the problem that the system capacity of the wireless controller cannot be tested easily and efficiently in the prior art.

Description

A kind of wireless controller test device and method
Technical field
The present invention relates to wireless communication technology field, more particularly, to a kind of wireless controller test device and method.
Background technology
In recent years, with 3G(3rd-generation, G mobile communication)The widespread deployment of network and intelligence The popularization of the mobile terminals such as energy mobile phone, panel computer, the demand of wireless data is in explosive increase, and 3G technology itself cannot support Increasingly huger wireless data service demand, then domestic and overseas operators consider originally to be positioned access in radio one after another and supplement WLAN WLAN technology, lifting as 3G cover supplement, by WLAN(Wireless LAN, WLAN)Real The shunting of existing 3G business, lifting user's perception, reduces cost of investment, thus promoting wlan product and networking from IT level to electricity The transformation of letter Working level.Traditional wlan network is based on " fat " AP(WAP)Framework, wlan network is by separate AP form, traditional WLAN framework on networking, management, configuration etc. extremely complex it is difficult to meet large scale deployment requirement.At present Be applied to telecommunications deployment wlan network commonly used based on AP+AC(Wireless controller)" thin " AP framework(Note:Thin AP architecture Defined by RFC5415, RFC5416).
Under thin AP architecture, AC similar to the base station controller in mobile network, by CAPWAP(Control And Provisioning of Wireless Access Points Protocol Specification)Agreement is united to AP One management, configuration and to STA(Stand, Station)The control accessing.Because mobile data demand growth is very fast, AC AP quantity to be managed often is calculated in the thousands, even tens thousand of more than, and STA quantity is even more huge, supports by single AP Hundred STA calculate, and AC STA quantity to be managed is more than million grades.It is therefore desirable to being that maximum can in the power system capacity to AC After access AP, STA quantity test supported is passed through, AC product could be introduced to the market.
If building true wireless network environment to test, the test environment building Large Copacity AP and STA has lower Lieque Point:(1)Space requirement is big, substantially can not enable;(2)Wiring, channel planning need to put into a large amount of human and material resources, time Resource;(3)Test process inefficiency, reaches the standard grade at regular intervals than if desired for control AP or STA, or needs AP, STA in a large number simultaneously When sending out the abnormality tests such as request, troublesome poeration, also bad synchronization is carried out, inefficiency;(4)Set using the proprietary test of third party Standby, cost intensive.
The situation accessing AC using software simulation extensive AP, STA is a kind of method the most economic, the most feasible.For Simulation this situation, existing technical scheme is after analog systemss initialize good free time AP, idle STA, just that STA is average It is assigned on each AP, then system is pressed one idle AP of interval circulation taking-up and initiated CAPWAP register flow path to AC, waits AP to enter Enter to after the RUN state of CAPWAP protocol definition, allow this AP take administrative STA to be associated register flow path by interval.However, it is this Mode has the disadvantage that:(1)The test of STA is controlled by AP test process, controls and complex operation, surveys in particular for simulation When examination STA roaming, STA business, it is combined simulation, reduce test performance and AP, STA quantity of maximum detection examination;(2)All The STA quantity of AP band is all equally it is impossible to simulate STA load balancing etc.;(3)Count online AP, STA quantity hell to pay.
Content of the invention
The present invention provides a kind of wireless controller test device and method, can not simply, efficiently in order to solve prior art The problem of the power system capacity of ground test wireless controller.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is as follows:
On the one hand, the present invention provides a kind of wireless controller test device, including:
AP analog module, for choosing AP in idle wireless access point AP pond, and triggers the AP of selection to controlled in wireless Device AC initiates to reach the standard grade registration request;
STA analog module, for choosing STA in free station STA pond, and triggers each STA of selection in resource management AP is chosen, the STA that order is chosen initiates association request to corresponding AP in the serviced AP list that module provides;
STA test module, for choosing online STA in online STA pond, and triggers each online STA of selection and carries out STA roaming, STA data service or STA are offline;
Resource management module, moves into online AP pond for the AP after succeeding in registration, and the STA after being successfully associated moves into Line STA pond, and online AP pond and online STA pond described in maintenance and management;And be described STA analog module and STA test mould Block provides the AP list that can service in online AP pond.
Preferably, in described device, AP number in described online AP pond for the described STA analog module opens when reaching setting value Dynamic;Start when STA number in described online STA pond for the described STA test module reaches setting value.
Preferably, in described device, STA quantity and always online STA number that carrying out that described STA test module is chosen roams Amount is compared and is met ratio set in advance.
Preferably, in described device, described resource management module, specifically for, after STA is successfully associated, closing to this STA The service STA number of the AP of connection is updated, and after STA is offline, the service STA number of the AP of this STA association is updated, and works as When the STA number of AP service reaches the threshold value that AP can service, the state updating this AP is can not service state.
Further, in described device, described STA test module, specifically include:
STA roams submodule, for choosing new AP in the serviced AP list that described resource management module provides, triggering The online STA choosing initiates association request to described new AP, and after being successfully associated, notifies the online STA to described selection for the AC The AP of former association sends and for corresponding STA to carry out offline instruction message;
STA business submodule, the AP passing through current association for the online STA that triggering is chosen initiates data industry to described AC Business;
The offline submodule of STA, the AP passing through current association for the online STA that triggering is chosen initiates to go to associate to described AC Request, carries out STA offline.
Preferably, in described device, described STA analog module and STA roam submodule, specifically for according to load balancing Principle, chooses the minimum AP of current service STA number as the AP choosing in described service in AP list.
Preferably, in described device, described resource management module, it is additionally operable to roam successfully in the online STA of described selection Afterwards, the STA after roaming is moved into roaming STA pond, and described in maintenance and management, roam STA pond;And it is online in described selection STA complete offline after, will be offline after STA move into idle STA pond.
Further, in described device, described AP analog module, it is additionally operable to based on test instruction, in described online AP pond Middle selection AP, and it is offline to trigger the AP of selection;Described STA analog module, is additionally operable to move into each STA associating described offline AP Idle STA pond;Described resource management module, is additionally operable to, after the AP of described selection is offline, this AP be moved into idle AP pond.
On the other hand, the present invention provides a kind of wireless controller method of testing, including:
Choose AP in idle wireless access point AP pond, and trigger the AP of selection and initiate to reach the standard grade registration request to AC, and After succeeding in registration, described AP is moved into online AP pond;
Choose STA in free station STA pond, and trigger each STA of selection and choose and can service in described online AP pond AP, the STA that order is chosen initiates association request to corresponding AP, and after being successfully associated, described STA is moved into online STA pond;
Choose online STA in described online STA pond, and trigger each online STA of selection and carry out STA roaming, STA number Offline according to business or STA.
Preferably, in methods described, when the AP number in described online AP pond reaches setting value, triggering is in free station STA The operation of STA is chosen in pond;When STA number in described online STA pond reaches setting value, triggering is in described online STA pond Choose the operation of online STA.
Preferably, in methods described, described online STA pond is chosen the STA quantity that online STA roamed and always exists Line STA quantity is compared and is met ratio set in advance.
Preferably, in methods described, after STA is successfully associated, the service STA number of the AP of this STA association is updated, After STA is offline, the service STA number of the AP of this STA association is updated, and can service when the STA number of AP service reaches AP Threshold value when, update this AP state be can not service state.
Further, in methods described, the described online STA using selection carries out STA roaming, specifically includes:Described The new AP that can service is chosen, the online STA that triggering is chosen initiates association request to described new AP, and is being associated in online AP pond After work(, notify the AP of the former association of online STA to described selection for the AC to send and corresponding STA is carried out offline instruction message;
The described online STA using selection carries out data service, specifically includes:The online STA that triggering is chosen passes through current The AP of association initiates data service to described AC;
Described carry out offline using the online STA choosing, specifically include:The online STA that triggering is chosen passes through current association AP to described AC initiate go association request, carry out STA offline.
Preferably, the described AP that selection can service in described online AP pond, specifically includes:According to load balancing principle, The minimum AP of current service STA number is chosen in described online AP pond.
Preferably, after the online STA roaming success of described selection, the STA after roaming is moved into roaming STA pond;Institute State selection online STA complete offline after, will be offline after STA move into idle STA pond.
Preferably, methods described also includes:Based on test instruction, choose AP in described online AP pond, and trigger selection AP offline, and after the AP choosing is offline, the STA of this AP service is moved into idle STA pond, and will be offline after AP move Enter idle AP pond.
Compared with prior art, the present invention has the beneficial effect that:
Apparatus and method of the present invention, the testing and control of AP and STA is separated, and testing scheme should with Practical Project With closely.It is low to hardware requirement that the design of separate type makes test software run, and test operation motility and testing efficiency are big Big lifting, additionally, test statisticses result accurately has good reference value, can assist AC equipment orientation problem, checking AC's Performance and reliability are it is most important that make testing cost greatly reduce.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of wireless controller test device provided in an embodiment of the present invention;
Fig. 2 is that AP provided in an embodiment of the present invention registers flow chart of reaching the standard grade;
Fig. 3 reaches the standard grade flow chart for STA provided in an embodiment of the present invention;
Fig. 4 is STA roaming provided in an embodiment of the present invention, offline or service analogue flow chart;
Fig. 5 is the offline flow chart of AP provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of wireless controller method of testing provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Device embodiment
The embodiment of the present invention provides a kind of wireless controller test device, as shown in figure 1, including:
AP analog module 110, for choosing AP in idle wireless access point AP pond, and triggers the AP of selection to wireless controlled Device AC processed initiates to reach the standard grade registration request;
STA analog module 120, for choosing STA in free station STA pond, and triggers each STA of selection in resource pipe Choose AP in the serviced AP list that reason module provides, make the STA of described selection initiate association request to corresponding AP;
STA test module 130, for choosing online STA in online STA pond, and triggers each online STA of selection and enters Row STA roaming, STA data service or STA are offline;
Resource management module 140, moves into online AP pond for the AP after succeeding in registration, and the STA after being successfully associated moves Enter online STA pond, and online AP pond and online STA pond described in maintenance and management;And be STA analog module 120 and STA test Module 130 provides the AP list that can service in online AP pond.
Preferably, in the present embodiment described device, AP number in online AP pond for the STA analog module 120 reaches setting value Shi Qidong;The purpose that the embodiment of the present invention carries out this setting is to prevent resource management module 140 from failing in online AP pond Obtain enough serviced AP, and then can not can service AP list for STA analog module 120 offer;Certainly, this is simply preferably square Case, the embodiment of the present invention can also not rely on the enforcement of this feature, and start STA and ask unsuccessfully, such as after 3 failures, Just do not continue to ask.STA analog module may proceed to scan process next one STA.
Preferably, in the present embodiment described device, STA number in described online STA pond for the STA test module 130 reaches Start during setting value.The purpose that the present invention carries out this setting be in order to prevent the online STA number in online STA pond cannot meet into Row roaming, the demand of offline and data service.
Preferably, in the present embodiment described device, the STA quantity that roams of carrying out that STA test module 130 is chosen with always exist Line STA quantity is compared and is met ratio set in advance.
Further, in this enforcement described device, STA test module 130, specifically include:
STA roams submodule 131, for choosing new AP in the serviced AP list that resource management module 140 provides, touches Send out the online STA choosing and initiate association request to described new AP, and after being successfully associated, notify AC online to described selection The AP of the former association of STA sends and for corresponding STA to carry out offline instruction message;
STA business submodule 132, the AP passing through current association for the online STA that triggering is chosen initiates number to described AC According to business;
The offline submodule of STA 133, the AP passing through current association for the online STA that triggering is chosen initiates to go to described AC Association request, carries out STA offline.
Wherein, STA analog module 120 and STA roaming submodule 131 be it is preferable that according to load balancing principle, described Can service and choose the minimum AP of current service STA number in AP list as the AP choosing.
Further, in this enforcement described device, resource management module 140, specifically for:
After STA is successfully associated, the service STA number of the AP of this STA association is updated, after STA is offline, to this The service STA number of the AP of STA association is updated, and when the STA number of AP service reaches the threshold value that AP can service, updates this AP State be can not service state;
And, after the online STA roaming success chosen, the STA after roaming is moved into roaming STA pond, and safeguards and manage Manage described roaming STA pond;And the online STA of described selection complete offline after, will be offline after STA move into idle STA pond;
Further, in this enforcement described device:
AP analog module 110, is additionally operable to, based on test instruction, choose AP, and trigger selection in described online AP pond AP is offline;
STA test module 130, is additionally operable to for each STA associating described offline AP to move into idle STA pond;
Resource management module 140, is additionally operable to, after described AP is offline, this AP be moved into idle AP pond.
With reference to the concrete application scene of wireless controller in WLAN and accompanying drawing to provided in an embodiment of the present invention wireless Controller test process is described in detail.
It is applied to commonly used " thin " AP framework based on AP+AC of wlan network of telecommunications deployment at present, STA passes through 802.11 series techniques are communicated with AP access point, and all AP unify configuration management by AC.Under concentrating forward mode, The business data flow of STA is forwarded by the service tunnel between AP and AC.Modal business is that AP is upper and lower in a wlan The upper offline, roaming of line, STA and STA are carried out surfing the Net etc. data service.
In the present embodiment, AP is divided into idle AP, can service AP online, can not service AP online;STA be divided into idle STA, Online STA, roaming STA, wherein roaming STA is considered as a kind of special online STA.Above-mentioned AP or STA leaves in respective In resource pool, in maintenance system, the module of all simulation AP, STA status informations is resource management module.
As shown in Fig. 2 being to carry out line process in AP registration using embodiment of the present invention described device, specifically include:
Step S201:The idle AP pond of AP analog module scanning, takes out an idle AP;
After this step terminates, if not getting any free time AP, all AP has reached the standard grade, and terminates scanning.Obtain Idle AP include the information such as the MAC of AP, IP, maximum portability STA quantity(Call AP essential information in the following text).
Step S202:The idle AP that above-mentioned steps S201 are got initiates the CAPWAP register flow path of RFC5246 definition to AC; Wherein, register flow path includes a series of CAPWAP discovery, the interaction such as adds, configures.
Step S203:Judging to register whether successfully, if succeeding in registration, can service to resource management module transmission AP logical Know, in notice, include the essential information of AP;If registration is unsuccessful, it is taken back in idle AP pond, wait and being swept next time Retouch and registered again;
Step S204:After resource management module receives above-mentioned notice, AP is added in online AP pond, and records AP's Essential information;
In this step, when the request responding STA can service AP list, these information of record are used for resource management module Judge whether AP can service.Such as certain AP maximum portability STA quantity is 32, the currently STA of service(Including roaming STA) Quantity is also 32, then this AP can be labeled as servicing by resource management module.
As shown in figure 3, be to be reached the standard grade flow process using the STA that embodiment of the present invention described device is carried out, it should be noted that should Flow process preferably can service AP quantity online and reach and start during setting value, specifically include:
Step S301:The idle STA pond of STA analog module scanning, when scanning idle STA, takes out this idle STA, and Send the online AP list that message request acquisition can service to resource management module.Wherein, the idle STA of acquirement includes STA's MAC, IP information(Call STA essential information in the following text);
In this step, if scanning is less than idle STA, stop scanning.
Step S302:After resource management module receives request message, search for online AP pond, the information that can service AP is concentrated It is stored in service and in AP list, return to above-mentioned STA.
For example:Can service and comprise 3 AP, wherein each AP in AP list in addition to essential information, also include currently The STA quantity of service(The STA coming including roaming).
Because STA or AP reports the status information of oneself to resource management module in the way of triggering, or resource management Module monitor in real time STA or the status information of AP, resource management module can count currently online AP, STA quantity, also can count The information such as the STA quantity of any one AP current service.When AP be in can service state when, in certain time point, if AP is serviced STA quantity be equal to maximum can quantity of service when, although then this AP is online, can not service, resource management module can be by It is labeled as servicing, and in search procedure, if running into the AP being labeled as servicing, directly skips.
Step S303:STA receives after can servicing AP list, and by Selection Strategy set in advance, such as AP also can service STA population size, to choose one of list AP, to this AP initiate association register flow path, and wait to be returned process knot Really.
Step S304:The CAPWAP STA of AP construction standard reaches the standard grade and asks to AC, and waits the result of AC, if AC returns Returning reaches the standard grade successfully, then be successfully associated message to STA response, and otherwise response associates unsuccessful message.
Step S305:If STA is successfully associated, issues STA to resource management module and reach the standard grade notice, this STA is from idle STA Pond is moved into online STA pond;If unsuccessful, STA can choose the next AP in list(Similarly, by judging AP's STA population size can be serviced to choose)Proceed association request, if also unsuccessful, idle STA pond afterbody can be placed on, wait It is scanned next time.
As shown in figure 4, be the STA being carried out using embodiment of the present invention described device roam, offline or service analogue flow process, It should be noted that starting when this flow process STA quantity preferably in online STA pond reaches certain value, specifically include.
Step S401:The scanning of STA test module obtains online STA.
In the present embodiment, in order to be able to test roaming, business and offline flow process simultaneously, ratio a can be set(0<a< 1), only allow online a STA of STA total quantity * to be roamed, remaining online STA then carries out offline or service analogue.Wherein, a Flexibly can be arranged based on real needs.
Step S402:After getting online STA, based on ratio a, judge to carry out roaming simulation, service analogue still under Line is simulated, if roaming simulation, execution step S403, and if service analogue, execution step S409, if offline simulation, execution Step S410;
Step S403, when the STA obtaining can simulate roaming, sends message request to resource management module and can service AP List.
Wherein, carry the essential information of STA in the message of request, also include IP, MAC of the AP of the current association of STA.
Step S404:After resource management module receives above-mentioned request message, search for online AP pond, will can service the information of AP It is centrally stored in can service in AP list and return to STA.
For example:Can service and comprise 3 AP, wherein each AP in AP list in addition to essential information, also include currently The STA quantity of service(The STA coming including roaming).
In search procedure, except direct skip flag is the AP that can not service, if the AP mono- that AP is associated with current STA Sample, also directly skips.
Step S405:STA, according to the Selection Strategy setting, chooses an AP in can servicing AP list, initiates unrestrained to it Trip flow process, and wait returning result;
Actually roaming flow process only associates a kind of particular case of flow process, and STA roams on new AP, be also to This AP sends association request, and after roaming success, AC is notified that this STA is deleted and carries out offline process by the AP of former STA association.
Step S406:The CAPWAP STA that new AP constructs standard reaches the standard grade and asks to AC, and waits the result of AC, if AC Return is reached the standard grade successfully, then respond roaming success message to STA, and otherwise response roams unsuccessful message.
Step S407:If roaming successfully, STA issues STA road report to resource management module, carries new pass in notice Connection AP information, this STA is moved into roaming STA pond from online STA pond by resource management module, updates this STA association simultaneously New AP information;If roaming is unsuccessful, the next AP that STA can choose in list proceeds to roam flow process, if also unsuccessful Then it is placed on online STA pond afterbody, wait and being scanned next time.
Step S408:After roaming success, the AP of former STA association will receive the offline message of STA from AC, and former AP is in its institute In the STA of linchpin, this STA information is deleted, and respond the offline success message of STA to AC.
Step S409:If analog service, STA carries out ping AC or accesses the operation such as FTP.
Step S410:If simulation is offline, sends to the AP that it associates and go association request.
Step S411:AP initiates the offline flow process of STA to AC, and processes the response that AC returns, and sends result to STA.
Step S412:After STA receives response, send the offline notice of STA to resource management module, resource management module should STA is moved into idle STA pond from online STA pond.
As shown in figure 5, being the offline flow process of the AP being carried out using embodiment of the present invention described device, specifically include:
Step S501:It is offline that AP analog module detects AP(It is probably that test needs, deliberately allow AP offline), then AP simulation Module sends message informing resource management module, carries IP, MAC of AP in message.
Step S502:Resource management module navigates to this AP from online AP pond, this AP is labeled as servicing, simultaneously Send message informing this AP of STA test module can not service;
Step S503:After STA analog module receives above-mentioned message, whole STA that Search and Orientation to this AP is serviced(Including The STA of roaming), by Search and Orientation to all STA be moved in idle STA pond, then, notify resource management module.
Step S504:This AP is moved in idle AP pond from online AP pond by resource management module.
So far, this AP and its STA being serviced empties back in initial idle pond, waits after being scanned next time, Operated.
In sum, embodiment of the present invention described device, the idle AP pond of setting:The available free AP for depositing(Initialization Complete but also do not initiate register flow path to AC);The idle STA pond of setting:The available free STA for depositing(Initialization completes but goes back Do not show AP and initiate association flow process);Setting can service AP pond online:For depositing all AP succeeding in registration, clothes can be provided for STA Business;Online STA pond is set:For depositing, the STA of relevant certain AP upper, can carry out roaming flow process or operation flow;Setting Roaming STA pond:For depositing all STA carrying out roaming flow process, in concept, it is a subset in online STA pond;
And, resource management module is set:Reach the standard grade success notification for obtaining AP, all online AP information of maintenance management, And the change according to AP state, real-time update online AP information;The request of response STA, can service AP list for its distribution, make STA can initiate register flow path;Reach the standard grade success notification for obtaining STA, all online STA information of maintenance management, according to STA shape The change of state, real-time update online STA information;For obtaining STA road report, maintenance management is owned(Online)Roaming STA Information, according to the change of roaming STA state, real-time update roams STA information;And, can with AP online in statistical system, STA, the quantity of roaming STA, count STA, the roaming STA quantity that arbitrary AP is serviced;
By resource management module come the information of all of in management system test simulation AP, STA, by described STA from Resource management module obtains and can service AP list, chooses some AP according to certain strategy, and is associated registering with this AP Or roaming flow process, thus separating with AP test process, being easy to control and managing whole test process.
Using the present embodiment described device, the testing and control of AP and STA is separated, testing scheme should with Practical Project With closely.It is low to hardware requirement that the design of separate type makes test software run, and test operation motility and testing efficiency are big Big lifting, additionally, test statisticses result accurately has good reference value, can assist AC equipment orientation problem, checking AC's Performance and reliability are it is most important that make testing cost greatly reduce.
Embodiment of the method
As shown in fig. 6, the embodiment of the present invention provides a kind of wireless controller method of testing, including:
Step S601, chooses AP in idle wireless access point AP pond, and triggers the AP of selection and initiate to reach the standard grade registration to AC Request, and after succeeding in registration, described AP is moved into online AP pond;
Step S602, chooses STA in free station STA pond, and triggers each STA of selection and select in described online AP pond Take and can service AP, the STA that order is chosen initiates association request to corresponding AP, and after being successfully associated, this STA is moved into online STA Pond;
Step S603, chooses online STA in online STA pond, and trigger each online STA of selection carry out STA roaming, STA data service or STA are offline;Preferably, choose the STA quantity that online STA roamed in online STA pond and always exist Line STA quantity is compared and is met ratio set in advance.
In this step, carry out STA roaming, STA data service and the offline implementation of STA specific as follows:
The described online STA using selection carries out STA roaming, specifically includes:Described online AP pond is chosen and can be serviced New AP, the online STA that triggering is chosen passes through described new AP and initiates association request to AC, and after being successfully associated, notice AC to The AP of the former association of online STA of described selection sends and for corresponding STA to carry out offline instruction message;
The described online STA using selection carries out data service, specifically includes:The online STA that triggering is chosen passes through current The AP of association initiates data service to described AC;
Described carry out offline using the online STA choosing, specifically include:The online STA that triggering is chosen passes through current association AP to described AC initiate go association request, carry out STA offline.
Wherein, above-mentioned choose in online AP pond during the AP that can service it is preferable that according to load balancing principle, described The minimum AP of current service STA number is chosen in online AP pond.
Preferably, in the present embodiment, when the AP number in described online AP pond reaches setting value, triggering step S602 is in sky The operation of STA is chosen in the STA pond of not busy station;When STA number in described online STA pond reaches setting value, triggering step S603 exists The operation of online STA is chosen in described online STA pond.
Preferably, in the present embodiment, after STA is successfully associated, the service STA number of the AP of this STA association is updated, After STA is offline, the service STA number of the AP of this STA association is updated, and can service when the STA number of AP service reaches AP Threshold value when, update this AP state be can not service state.
Preferably, in the present embodiment, after the online STA roaming success of described selection, the STA after roaming is moved into roaming STA pond;The online STA of described selection complete offline after, will be offline after STA move into idle STA pond.
Further, the present embodiment methods described also includes:Based on test instruction, in described online AP pond, choose AP, And trigger that the AP of selection is offline, and after the AP choosing is offline, this AP is moved into idle AP pond, and by this AP service STA moves into idle STA pond.
In sum, using the present embodiment methods described, the testing and control of AP and STA is separated, testing scheme with Practical engineering application is closely.The design of separate type make test software run low to hardware requirement, test operation motility and Testing efficiency greatly promotes, additionally, test statisticses result accurately has good reference value, AC equipment positioning can be assisted to ask Topic, the performance of checking AC and reliability are it is most important that make testing cost greatly reduce.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (14)

1. a kind of wireless controller test device is it is characterised in that include:
AP analog module, for choosing AP in idle wireless access point AP pond, and triggers the AP of selection to wireless controller AC Initiation is reached the standard grade registration request;
STA analog module, for choosing STA in free station STA pond, and triggers each STA of selection in resource management module AP is chosen, the STA that order is chosen initiates association request to corresponding AP in the serviced AP list providing;
STA test module, for choosing online STA in online STA pond, and trigger each online STA of selection carry out STA overflow Trip, STA data service or STA are offline;
Resource management module, moves into online AP pond for the AP after succeeding in registration, and the STA after being successfully associated moves into online STA pond, and online AP pond and online STA pond described in maintenance and management;And be described STA analog module and STA test module The AP list that can service in online AP pond is provided.
2. device as claimed in claim 1 it is characterised in that
Start when AP number in described online AP pond for the described STA analog module reaches setting value;Described STA test module is in institute State the STA number in online STA pond and reach and start during setting value.
3. device as claimed in claim 1 is it is characterised in that the STA quantity that roams of carrying out chosen of described STA test module Meet ratio set in advance compared with always online STA quantity.
4. the device as described in claim 1 or 2 or 3 is it is characterised in that described resource management module, specifically for closing as STA After being unified into work(, the service STA number of the AP of this STA association is updated, service after STA is offline, to the AP of this STA association STA number is updated, and when the STA number of AP service reaches the threshold value that AP can service, the state updating this AP is to service State.
5. the device as described in claim 1 or 2 or 3, it is characterised in that described STA test module, specifically includes:
STA roams submodule, and for choosing new AP in the serviced AP list that described resource management module provides, triggering is chosen Online STA initiate association request to described new AP, and after being successfully associated, notify the former pass of online STA to described selection for the AC The AP of connection sends and for corresponding STA to carry out offline instruction message;
STA business submodule, the AP passing through current association for the online STA that triggering is chosen initiates data service to described AC;
The offline submodule of STA, initiates to go association to ask to described AC by the AP of current association for the online STA that triggering is chosen Ask, carry out STA offline.
6. device as claimed in claim 5, it is characterised in that described STA analog module and STA roaming submodule, is specifically used According to load balancing principle, choose the minimum AP of current service STA number in AP list as the AP choosing in described service.
7. the device as described in claim 1 or 2 or 3 it is characterised in that
Described AP analog module, is additionally operable to, based on test instruction, choose AP, and trigger under the AP of selection in described online AP pond Line;
Described STA analog module, is additionally operable to for each STA associating described offline AP to move into idle STA pond;
Described resource management module, is additionally operable to, after the AP of described selection is offline, this AP be moved into idle AP pond;And be additionally operable to After the online STA roaming success of described selection, the STA after roaming is moved into roaming STA pond, and roams described in maintenance and management STA pond;The online STA of described selection complete offline after, will be offline after STA move into idle STA pond.
8. a kind of wireless controller method of testing is it is characterised in that include:
Choose AP in idle wireless access point AP pond, and trigger that the AP of selection initiates to reach the standard grade registration to wireless controller AC please Ask, and after succeeding in registration, described AP is moved into online AP pond;
Choose STA in free station STA pond, and trigger each STA of selection and chooses in described online AP pond and can service AP, make The STA choosing initiates association request to corresponding AP, and after being successfully associated, described STA is moved into online STA pond;
Choose online STA in described online STA pond, and trigger each online STA of selection and carry out STA roaming, STA data industry Business or STA are offline.
9. method as claimed in claim 8 is it is characterised in that in methods described, the AP number in described online AP pond reaches During setting value, the operation of STA is chosen in triggering in free station STA pond;STA number in described online STA pond reaches setting value When, the operation of online STA is chosen in triggering in described online STA pond.
10. method as claimed in claim 8 is it is characterised in that in methods described, choose online in described online STA pond The STA quantity that STA is roamed meets ratio set in advance compared with always online STA quantity.
11. methods as described in claim 8 or 9 or 10 it is characterised in that
After STA is successfully associated, the service STA number of the AP of this STA association is updated, after STA is offline, this STA is closed The service STA number of the AP of connection is updated, and when the STA number of AP service reaches the threshold value that AP can service, updates the shape of this AP State is can not service state.
12. methods as described in claim 8 or 9 or 10 it is characterised in that
The described online STA using selection carries out STA roaming, specifically includes:What in described online AP pond, selection can service is new AP, the online STA that triggering is chosen initiate association request to described new AP, and after being successfully associated, notify AC to described selection The AP of the online former association of STA sends and for corresponding STA to carry out offline instruction message;
The described online STA using selection carries out data service, specifically includes:The online STA that triggering is chosen passes through current association AP to described AC initiate data service;
Described carry out offline using the online STA choosing, specifically include:The online STA that triggering is chosen passes through the AP of current association Initiate to go association request to described AC, carry out STA offline.
13. methods as claimed in claim 12 it is characterised in that described choose, in described online AP pond, the AP that can service, Specifically include:According to load balancing principle, described online AP pond is chosen the minimum AP of current service STA number.
14. methods as described in claim 8 or 9 or 10 are it is characterised in that methods described also includes:
After the online STA roaming success of described selection, the STA after roaming is moved into roaming STA pond;Online in described selection STA complete offline after, will be offline after STA move into idle STA pond;
And, based on test instruction, choose AP in described online AP pond, and trigger that the AP of selection is offline, and choosing After AP is offline, the STA of this AP service is moved into idle STA pond, and will be offline after AP move into idle AP pond.
CN201210262567.7A 2012-07-27 2012-07-27 Device and method for testing wireless controller Active CN103581937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210262567.7A CN103581937B (en) 2012-07-27 2012-07-27 Device and method for testing wireless controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210262567.7A CN103581937B (en) 2012-07-27 2012-07-27 Device and method for testing wireless controller

Publications (2)

Publication Number Publication Date
CN103581937A CN103581937A (en) 2014-02-12
CN103581937B true CN103581937B (en) 2017-02-08

Family

ID=50052657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210262567.7A Active CN103581937B (en) 2012-07-27 2012-07-27 Device and method for testing wireless controller

Country Status (1)

Country Link
CN (1) CN103581937B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449221B (en) * 2016-12-30 2021-04-13 迈普通信技术股份有限公司 Method, device and system for testing centralized forwarding performance of wireless controller
CN107708130A (en) * 2017-10-31 2018-02-16 下代互联网重大应用技术(北京)工程研究中心有限公司 Wireless network test evaluation method
CN108124280B (en) * 2017-12-19 2020-05-15 成都西加云杉科技有限公司 Monitoring diagnosis system and network monitoring diagnosis method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015573A1 (en) * 2007-07-31 2009-02-05 Hangzhou H3C Technologies Co., Ltd. Method and access controller for configuration and management of access point
CN102291745A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 Method and device for testing multiple access points (AP)
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
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009015573A1 (en) * 2007-07-31 2009-02-05 Hangzhou H3C Technologies Co., Ltd. Method and access controller for configuration and management of access point
CN102291745A (en) * 2011-08-09 2011-12-21 北京星网锐捷网络技术有限公司 Method and device for testing multiple access points (AP)
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
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种WLAN自动化测试平台的设计与实现;李欣伟等;《现代电子技术》;20120101;第35卷(第1期);第2.1节 *

Also Published As

Publication number Publication date
CN103581937A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN107820717B (en) The method and apparatus of cell switching
US20230199892A1 (en) Non-public network measurement method and apparatus, device, and storage medium
CN102045686B (en) The method and apparatus of mobile management is supported in a kind of cordless communication network
CN111698772B (en) Registration method and device of 5G system, storage medium and terminal
KR101615879B1 (en) A network map for location-based mobility decisions
CN106489274B (en) Mobile control method for terminal in RRC idle state, terminal and base station
CN108463805A (en) User equipment for moving edge calculations selects
CN111432444B (en) Network connection method, device, storage medium and terminal
CN104333914A (en) Method and equipment of establishing Mesh link
CN105992168A (en) Cell selection method and automatic neighbor cell relation configuration method and equipment
CN105430688A (en) WLAN architecture based on software-defined network
CN105848237B (en) Obtain the method and device of the 2G measurement frequency point of circuit domain dropping CSFB
CN103582053A (en) Method, device and system for switching channels
CN102833778B (en) System and method for testing wireless access controller
CN103582514A (en) Method and apparatus for carrier aggregation processing
CN103581937B (en) Device and method for testing wireless controller
CN107360600A (en) The method and apparatus of cell selection
CN103812723A (en) System, server and method for network access metering
CN106572508A (en) Method, apparatus and base station for switching terminal device to target cell
CN104270788B (en) A kind of method and apparatus of different system switching
CN108966331A (en) Cell registration method, apparatus, wireless routing device, terminal and storage medium
CN102378260A (en) Mobility load balance realizing method and device
CN112039831B (en) Voice calling method, device, storage medium and terminal
CN103179634A (en) Partner discovering and selecting method, device and system
CN107666688A (en) Public flow implementation method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant