Summary of the invention
The object of the present invention is to provide a kind of system and method being tested the performance of wireless access controller by artificial antenna access point and subscriber station.
According to an aspect of the present invention, provide a kind of wireless access controller test macro, described system comprises: WAP (wireless access point) analogue unit, be configured to simulate multiple WAP (wireless access point), the WAP (wireless access point) of simulation is used to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller; Subscriber station analogue unit, is configured to simulate multiple subscriber station, uses the subscriber station of simulation to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of subscriber station and wireless access controller.
Described WAP (wireless access point) analogue unit can comprise: WAP (wireless access point) creating unit, is configured to create WAP (wireless access point), and is that each WAP (wireless access point) arranges configuration parameter based on the WAP (wireless access point) parameter set pre-set; WAP (wireless access point) dispensing unit, be configured to for each WAP (wireless access point) arrange by with the communication information that uses in the communication of described wireless access controller; WAP (wireless access point) test cell, is configured to use WAP (wireless access point) to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller.
Described subscriber station analogue unit can comprise: subscriber station creating unit, is configured to create subscriber station, and arranges identifier for each subscriber station; Subscriber station dispensing unit, being configured to based on the described WAP (wireless access point) parameter set pre-set is that each subscriber station arranges access parameter; Subscriber station test cell, is configured to use subscriber station to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of subscriber station and wireless access controller.
Described identifier can be that media interviews control (MAC) address.
The described WAP (wireless access point) parameter set pre-set can comprise Internet protocol (IP) address, MAC Address and BSSID (BSSID) address.
WAP (wireless access point) creating unit can be each wireless access point selection as the IP address of configuration parameter, MAC Address and BSSID address from the described WAP (wireless access point) parameter set pre-set.Subscriber station dispensing unit can from the described WAP (wireless access point) parameter set pre-set be each subscriber station select as access parameter by the IP address of WAP (wireless access point) of access, MAC Address and BSSID address.
Described WAP (wireless access point) creating unit also can be each WAP (wireless access point) and arranges access rate and line duration.
The described communication information can comprise the IP address information of described wireless access controller, the type information of WAP (wireless access point) and WAP (wireless access point) reporting information, wherein, and the information that described WAP (wireless access point) reporting information instruction is relevant with the transfer of data of WAP (wireless access point).
According to a further aspect in the invention, provide a kind of wireless access controller method of testing, described method comprises the steps: a) to simulate multiple WAP (wireless access point); B) WAP (wireless access point) of simulation is used to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller; C) multiple subscriber station is simulated; D) subscriber station of simulation is used to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of subscriber station and wireless access controller.
Described step a) can comprise: a1) create WAP (wireless access point), and be that each WAP (wireless access point) arranges configuration parameter based on the WAP (wireless access point) parameter set pre-set; A2) for each WAP (wireless access point) arrange by with the communication information that uses in the communication of described wireless access controller.
Described step c) can comprise: c1) create subscriber station, and identifier is set for each subscriber station; C2) be that each subscriber station arranges access parameter based on the described WAP (wireless access point) parameter set pre-set.
Described identifier can be that media interviews control (MAC) address.
The described WAP (wireless access point) parameter set pre-set can comprise Internet protocol (IP) address, MAC Address and BSSID (BSSID) address.
Can be each wireless access point selection as the IP address of configuration parameter, MAC Address and BSSID address from the described WAP (wireless access point) parameter set pre-set.Can from the described WAP (wireless access point) parameter set pre-set be each subscriber station select as access parameter by the IP address of WAP (wireless access point) of access, MAC Address and BSSID address.
Step a1) also can comprise: for each WAP (wireless access point) arranges access rate and line duration.
The described communication information can comprise the IP address information of described wireless access controller, the type information of WAP (wireless access point) and WAP (wireless access point) reporting information, wherein, and the information that described WAP (wireless access point) reporting information instruction is relevant with the transfer of data of WAP (wireless access point).
According to the present invention, the performance of wireless access controller easily can be tested.And use according to wireless access controller test macro of the present invention and method, the equipment cost spent when testing the performance of wireless access controller can be reduced, reduce the testing time, even can test the performance of wireless access controller in nominal full configuration situation according to demand.
Embodiment
Below, describe exemplary embodiment of the present invention more fully with reference to the accompanying drawings, its example is shown in the drawings.But, can exemplifying embodiment embodiment in many different forms, and the present invention should not be construed as limited to exemplary embodiment set forth herein.On the contrary, these embodiments are provided thus the scope of exemplary embodiment thoroughly and complete, and fully will can be conveyed to those skilled in the art by the disclosure.In the accompanying drawings, identical label represents identical part.
Fig. 1 is the block diagram of the wireless access controller test macro 100 illustrated according to exemplary embodiment of the present invention.
As shown in Figure 1, described wireless access controller test macro 100 comprises WAP (wireless access point) analogue unit 110 and subscriber station analogue unit 120.
According to exemplary embodiment of the present invention, WAP (wireless access point) analogue unit 110 can be configured to simulate multiple WAP (wireless access point), the WAP (wireless access point) of simulation is used to communicate with wireless access controller 200, to test the performance of wireless access controller 200 and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller 200.Subscriber station analogue unit 120 is configured to simulate multiple subscriber station, the subscriber station of simulation is used to communicate with wireless access controller 200, to test the performance of wireless access controller 200 and to be recorded in produced problem in the communication process of subscriber station and wireless access controller 200.
The performance of the wireless access controller tested according to the wireless access controller test macro 100 of exemplary embodiment of the present invention can include but not limited to: the quantity of the maximum wireless access point that wireless access controller can manage simultaneously, wireless access controller can maintain simultaneously online maximum subscriber station quantity, the quantity of online WAP (wireless access point), the access rate of supported WAP (wireless access point) (namely, the quantity of the WAP (wireless access point) of access per second), on supported subscriber station, wire rate (namely, access rate) and lower wire rate is (namely, the quantity of the subscriber station of reaching the standard grade or rolling off the production line per second) etc.
The wireless access controller test macro 100 according to exemplary embodiment of the present invention is described in detail hereinafter with reference to Fig. 2 to Fig. 5.Fig. 2 is the detailed diagram of the wireless access controller test macro 100 illustrated according to exemplary embodiment of the present invention.
As shown in Figure 2, in an exemplary embodiment of the present invention, WAP (wireless access point) analogue unit 110 can comprise WAP (wireless access point) creating unit 111, WAP (wireless access point) dispensing unit 112 and WAP (wireless access point) test cell 113.Subscriber station analogue unit 120 can comprise subscriber station creating unit 121, subscriber station dispensing unit 122 and subscriber station test cell 123.
Shown in figure 2 in WAP (wireless access point) analogue unit 110, WAP (wireless access point) creating unit 111 can be configured to create WAP (wireless access point), and is that each WAP (wireless access point) arranges configuration parameter based on the WAP (wireless access point) parameter set pre-set.WAP (wireless access point) dispensing unit 112 can be configured to each WAP (wireless access point) arrange by with the communication information that uses in the communication of described wireless access controller.WAP (wireless access point) test cell 113 can be configured to use WAP (wireless access point) to communicate with wireless access controller 200, to test the performance of wireless access controller 200 and to be recorded in the communication process of WAP (wireless access point) and wireless access controller 200 produced problem (such as, the quantity of the WAP (wireless access point) that wireless access controller 200 reality can manage simultaneously cannot reach the maximum quantity of this wireless access controller 200 nominals, the access rate too low (such as, access rate does not reach nominal access rate) etc. of WAP (wireless access point)).
In addition, should be appreciated that, although do not illustrate, described WAP (wireless access point) test cell 113 can comprise memory (not shown) to produced problem in the communication process being recorded in WAP (wireless access point) and wireless access controller 200.
The process using WAP (wireless access point) analogue unit 110 to carry out the test of WAP (wireless access point) part is described in detail below in conjunction with Fig. 3.
Fig. 3 is the flow chart of the method for the access of artificial antenna access point illustrated according to exemplary embodiment of the present invention.
As shown in Figure 3, in step 301, create WAP (wireless access point) by WAP (wireless access point) creating unit 111, and be that the WAP (wireless access point) created arranges configuration parameter based on the WAP (wireless access point) parameter set pre-set.
Specifically, the WAP (wireless access point) parameter set pre-set described in can comprise Internet protocol (IP) address, media interviews control (MAC) address and BSSID (BSSID) address.Therefore, WAP (wireless access point) creating unit 111 can be that the wireless access point selection that creates is as the IP address of configuration parameter, MAC Address and BSSID address from described WAP (wireless access point) parameter set.
For example, described WAP (wireless access point) parameter set can pre-set, make described wireless interface lambda line parameter set comprise group number and organize parameter with by as many for the quantity of the WAP (wireless access point) of simulation more, often organize parameter can comprise an IP address, a MAC Address and at least one BSSID address and often organize parameter different (that is, often organize the IP address in parameter, MAC Address and BSSID address and other organize different).In this case, WAP (wireless access point) creating unit 111 can be establishment WAP (wireless access point) from described WAP (wireless access point) parameter set selecting (such as, Stochastic choice) one group of parameter as configuration parameter.
Should be understood that in the present invention, because the multiple WAP (wireless access point) created have different IP and MAC Address, be therefore easily distinguished from each other.In addition, in step 301, WAP (wireless access point) creating unit 111 also can be each WAP (wireless access point) and arranges access rate (such as, access per second 100 WAP (wireless access point)) and line duration etc.
In step 303, by WAP (wireless access point) dispensing unit 112 be each WAP (wireless access point) arrange by with the communication information that uses in the communication of wireless access controller 200.
Specifically, the described communication information can comprise the IP address information of described wireless access controller, the type information of each WAP (wireless access point) and WAP (wireless access point) reporting information.The information that described WAP (wireless access point) reporting information instruction is relevant with the transfer of data of WAP (wireless access point), and such as WAP (wireless access point) can be comprised send the form of data (such as, wirelessly broadcast, multicast or unicast data, even when WAP (wireless access point) also has wireline transmission capabilities, also comprise broadcast through a cable, multicast or unicast data), the information such as data transmission rate.
In step 305, WAP (wireless access point) is used to communicate with wireless access controller 200 by WAP (wireless access point) test cell 113, to test the performance of wireless access controller 200 and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller 200.The communication process of WAP (wireless access point) and wireless access controller 200 will be described in detail in Fig. 4 below.
In step 307, WAP (wireless access point) test cell 113 waits for the line duration of the WAP (wireless access point) setting for creating.Then, in step 309, when the line duration of WAP (wireless access point) expires, WAP (wireless access point) test cell 113 performs operation (that is, no longer communicating with wireless access controller 200) of rolling off the production line.
In addition, in general, in testing for keeping larger load test the performance of the wireless access controller 200 under nominal full configuration state and possible produced problem (such as, when WAP (wireless access point) and the subscriber station of nominal number, wireless access controller may be restarted or crash), usually can the line duration of WAP (wireless access point) be arranged larger, to ensure that WAP (wireless access point) does not roll off the production line in whole test process.
Fig. 4 illustrates the flow chart communicated with wireless access controller according to the WAP (wireless access point) of the simulation of exemplary embodiment of the present invention.
In the diagram, WAP (wireless access point) sends to wireless access controller and finds request (discoveryrequest) (401).When wireless access controller receives this request (that is, wireless access controller can find this WAP (wireless access point)), wireless access controller sends to described WAP (wireless access point) and finds response (discovery response) (402).
After WAP (wireless access point) receives the response from wireless access controller, WAP (wireless access point) can send request the access request (join request) (403) of access wireless access controller to wireless access controller.Then, in response to the access request that WAP (wireless access point) sends, wireless access controller can feed back access response (join response) (404), and whether this response instruction WAP (wireless access point) can access wireless access controller.
If allow WAP (wireless access point) access wireless access controller, then WAP (wireless access point) can send configuration status request (config state request) (405) to wireless access controller, and this request can comprise the information such as the spendable channel of such as WAP (wireless access point), power.In response to described configuration status request, wireless access controller can send configuration status response (config state response) (406).
Then, after WAP (wireless access point) receives the response of described configuration status, WAP (wireless access point) can send echo request (407) with predetermined period, and receives the echo response (408) to the response of described echo request from wireless access controller.Described echo request and echo response is for detecting the connection between WAP (wireless access point) and wireless access controller, such as, when all not receiving the echo response from wireless access controller after WAP (wireless access point) sends 3 requests continuously, or when wireless access controller continuous 3 cycles do not receive the echo request from WAP (wireless access point), WAP (wireless access point) or wireless access controller can determine that the other side has been in not communicable state, now can terminate the communication between WAP (wireless access point) and wireless access controller.
Above-mentioned communication process is described in detail in CAPWAP agreement, therefore will no longer be further described at this.
Referring back to Fig. 2, shown in figure 2 in subscriber station analogue unit 120, subscriber station creating unit 121 can be configured to create subscriber station, and arranges identifier for each subscriber station.Described identifier can be MAC Address.
Subscriber station dispensing unit 122 can be that each subscriber station arranges access parameter based on the WAP (wireless access point) parameter set pre-set.Described access parameter generally includes each subscriber station by some network configuration parameters of WAP (wireless access point) of access, thus subscriber station clearly can be known which WAP (wireless access point) of access is visited network.Specifically, in the network service of reality, subscriber station normally by access WAP (wireless access point), and realizes the communication with wireless access controller by the connection between WAP (wireless access point) and wireless access controller.Therefore, be Reality simulation situation, need the subscriber station for simulation that it is set by the parameter of the WAP (wireless access point) of access, that is, can be subscriber station and specify parameters such as the IP address of the WAP (wireless access point) of access, MAC Address and BSSID addresses.
For analog subscriber station uses the situation of the WAP (wireless access point) access wireless access controller of being simulated by WAP (wireless access point) analogue unit 110, the WAP (wireless access point) parameter set that subscriber station dispensing unit 122 can use when WAP (wireless access point) creating unit 111 creates WAP (wireless access point) come for each subscriber station select as access parameter by the IP address of the WAP (wireless access point) of access, MAC Address and BSSID address.
In the present invention, various method and software can be used to come analog subscriber station, such as, ixia system can be used to come analog subscriber station.The method using ixia system simulation subscriber station is known to those skilled in the art, therefore will not be described in detail.
In addition, subscriber station dispensing unit 122 also can be each subscriber station and arranges access rate (such as, the quantity of the subscriber station of access per second), lower wire rate, packet sending speed (that is, sending the speed of packet) and line duration etc.
After creating subscriber station and subscriber station is configured, subscriber station test cell 123 can use subscriber station to communicate with wireless access controller 200, to test the performance of wireless access controller 200 and to be recorded in the communication process of subscriber station and wireless access controller 200 produced problem (such as, wireless access controller 200 reality can maintain online subscriber station quantity simultaneously cannot reach the maximum quantity of this wireless access controller 200 nominals, the access rate of subscriber station is too low (such as, the access rate of subscriber station does not reach the subscriber station access rate of nominal) etc.).
In addition, should be appreciated that, although do not illustrate, described subscriber station test cell 123 also can comprise memory (not shown) to produced problem in the communication process being recorded in WAP (wireless access point) and wireless access controller 200.The communication process of subscriber station and wireless access controller will be described in detail in Fig. 5 below.
Fig. 5 illustrates the flow chart communicated with wireless access controller according to the WAP (wireless access point) of the simulation of exemplary embodiment of the present invention.
In reality test, subscriber station needs usually by access WAP (wireless access point), and realizes the communication with wireless access controller by the connection between described WAP (wireless access point) and wireless access controller.But, in test macro according to the present invention, WAP (wireless access point) and subscriber station are all simulations, consider in the test of the performance to wireless access controller, from the angle of wireless access controller, the packet received be directly sent by subscriber station or send to WAP (wireless access point) by subscriber station and what be transmitted to wireless access controller by WAP (wireless access point) subsequently is not key factor.Therefore, in the present invention, can stand erectly and connect Packet Generation to wireless access controller by analog subscriber.On the other hand, due to create subscriber station time for subscriber station be provided with access parameter (, described subscriber station is by the relevant configured parameter of the WAP (wireless access point) of access, comprise the IP address of described WAP (wireless access point), MAC Address and distribute to the first-class of available BSSID of described WAP (wireless access point) of described subscriber station), therefore, can be considered that described subscriber station is by carrying out being connected thus communicating with wireless access controller with WAP (wireless access point).
Schematically show the communication between the subscriber station of simulation and wireless access controller in Figure 5.In described communication process, user can by the Packet Generation of pre-sizing to wireless access controller (501).After wireless access controller receives the packet of subscriber station transmission, wireless access controller can respond it (such as, confirming to receive described packet) (502).Then, such communication is sustainable carries out, until subscriber station rolls off the production line.When subscriber station rolls off the production line, subscriber station can send to wireless access controller and to roll off the production line packet (503), then, when roll off the production line described in wireless access controller receives packet time, can respond (504) it.
Only simply describe the communication between subscriber station and wireless access controller in Figure 5, but, the present invention is not limited thereto.Can modify to it according to actual conditions.Such as, for simulating described communication more realistically, the type of the packet sent between subscriber station from wireless access controller or size can be different, and the time interval sending packet also can be change.In addition, when reality uses wireless access controller test macro 100 of the present invention, router (not shown) can be set between wireless access controller test macro and wireless access controller, WAP (wireless access point) analogue unit 110 is connected with described router respectively with subscriber station analogue unit 120, and by described router, the output from WAP (wireless access point) analogue unit 110 and subscriber station analogue unit 120 is transmitted to wireless access controller, to ensure the stability in test process.
Preferably, when use wireless access controller test macro 100 of the present invention complete one take turns test after, can according to problem recorded in testing, the setting of adjustment wireless access controller test macro 100 (such as, by the access rate of the quantity of WAP (wireless access point) of simulation, WAP (wireless access point), will the quantity of subscriber station, the access rate etc. of subscriber station of simulation) and next round test is carried out in setting after Use Adjustment, thus finds out the reason thrown into question.For example, in current test (such as, use when carrying out testing with the nominal WAP (wireless access point) quantity that can manage artificial antenna access point as many or more simultaneously), when the quantity that wireless access controller 200 reality can manage WAP (wireless access point) cannot reach the maximum quantity of this wireless access controller 200 nominals simultaneously, the quantity of WAP (wireless access point) participating in test can be reduced in next round test, with determine to reach the reason of nominal number be caused by wireless access controller itself or caused by other reasons.Similarly, such as, when in current test, the access rate of WAP (wireless access point) is too low (such as, the access rate of WAP (wireless access point) does not reach nominal access rate) time, the access rate of the WAP (wireless access point) of setting can be reduced, with the reason determining to cause the access rate of wireless access too low in next round test.In this way, problem existing in the actual performance of wireless access controller and wireless access controller can effectively be tested out.
Fig. 6 is the flow chart of the wireless access controller method of testing illustrated according to exemplary embodiment of the present invention.
As shown in Figure 6, in step 601, simulate multiple WAP (wireless access point) by WAP (wireless access point) analogue unit 110.Specifically, create WAP (wireless access point) by the WAP (wireless access point) creating unit 111 in WAP (wireless access point) analogue unit 110, and be that each WAP (wireless access point) arranges configuration parameter based on the WAP (wireless access point) parameter set pre-set.Then, by the WAP (wireless access point) dispensing unit 112 in WAP (wireless access point) analogue unit 110 be each WAP (wireless access point) created arrange by with the communication information that uses in the communication of described wireless access controller.In the present invention, described WAP (wireless access point) parameter set can comprise IP address, MAC Address and BSSID address, and WAP (wireless access point) creating unit 111 can be each wireless access point selection as the IP address of configuration parameter, MAC Address and BSSID address from described WAP (wireless access point) parameter set.
In step 603, the WAP (wireless access point) of simulation is used to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of WAP (wireless access point) and wireless access controller by the WAP (wireless access point) test cell 113 in WAP (wireless access point) analogue unit 110.
In the present invention, composition graphs 2 to Fig. 4 describes the WAP (wireless access point) that creates simulation in detail and artificial antenna access point and wireless access controller carry out the process that communicates, therefore will no longer be described in detail at this.
In step 605, simulate multiple subscriber station by subscriber station analogue unit 120.Specifically, in step 605, create subscriber station by the subscriber station creating unit 121 in subscriber station analogue unit 120, and identifier (such as, MAC Address) is set for each subscriber station.Then, be that each subscriber station arranges access parameter by the subscriber station dispensing unit 122 in subscriber station analogue unit 120 based on the WAP (wireless access point) parameter set pre-set.Described access parameter generally includes each subscriber station by some network configuration parameters of WAP (wireless access point) of access, thus subscriber station clearly can be known which WAP (wireless access point) of access is visited network.In addition, the WAP (wireless access point) parameter set of subscriber station dispensing unit 122 use is identical with the WAP (wireless access point) parameter set that WAP (wireless access point) creating unit in step 601 111 uses.Therefore, such as, subscriber station dispensing unit 122 can from described WAP (wireless access point) parameter set be each subscriber station select as access parameter by the IP address of WAP (wireless access point) of access, MAC Address and BSSID address.
Then, in step 607, the subscriber station of simulation is used to communicate with wireless access controller, to test the performance of wireless access controller and to be recorded in produced problem in the communication process of subscriber station and wireless access controller by the subscriber station test cell 123 in subscriber station analogue unit 120.
In the present invention, composition graphs 2 and Fig. 5 describe the subscriber station that creates simulation in detail and analog subscriber station and wireless access controller carry out the process that communicates, therefore will no longer be described in detail at this.
According to the present invention, the performance of wireless access controller easily can be tested.And use according to wireless access controller test macro of the present invention and method, the equipment cost spent when testing the performance of wireless access controller can be reduced, reduce the testing time, even can test the performance of wireless access controller in nominal full configuration situation according to demand.
Although specifically show with reference to its exemplary embodiment and describe the present invention, but it should be appreciated by those skilled in the art, when not departing from the spirit and scope of the present invention that claim limits, the various changes in form and details can be carried out to it.