Summary of the invention
The problem to be solved in the present invention provides a kind of customer end wireless switch-in method, system and its apparatus, improves the accuracy of load balance scheduling, avoids the user to live through many access failures and attempts.
For achieving the above object, the technical scheme of the embodiment of the invention proposes a kind of customer end wireless switch-in method, may further comprise the steps: receive the interior client-side information of its coverage that each radio reception device AP reports; Set up the client list item that comprises described client and report the AP corresponding relation according to described client-side information, and unified the preservation; All start an ageing timer at each client list item, before described timer expiry, described client list item is not rebulid, then with described client table entry deletion, if before timer is not overtime, described client list item is rebulid, and then restarts timer; When client-requested inserts, select proper A P to insert for described client according to the described unified client list item of preserving.
Wherein, the client-side information in its coverage of reporting of described radio reception device AP obtains by following steps: described AP intercepts the probe requests thereby message of described client; Described AP is according to the probe requests thereby message of described client, obtains described client-side information and reports.
Wherein, after obtaining described client-side information and report, described AP also comprises: write down described client sends time from the probe requests thereby message to described AP; If described client sends the probe requests thereby message to described AP once more in timing, time of new record more then; If described client does not send the probe requests thereby message to described AP once more in timing, then will include the client table entry deletion of not receiving new request message AP.
Wherein, describedly select AP to insert for described client according to the unified client list item of preserving, specifically may further comprise the steps: the client-side information of the client that inserts with described request is an index, and the AP that covers described client is set to the load balancing group; Detect the load state of AP in the described load balancing group; According to the load state of AP in the detected described load balancing group, carry out load-balancing algorithm and select the AP in the described load balancing group to insert for described client.
Wherein, described client list item comprises: described client
MAC Address and the IP address that reports AP.
The technical scheme of the embodiment of the invention also proposes a kind of client wireless access device, comprise that the client list item sets up module and load balancing configuration module, described client list item is set up module, client-side information in its coverage that is used for reporting according to each radio reception device AP is set up and is comprised described client and the client list item that reports the AP corresponding relation, and unified the preservation; Described load balancing configuration module is used for when described client-requested inserts, and sets up the unified described client list item of preserving in the module according to described client list item, selects AP to insert for described client; Described client list item is set up module and is comprised the timer submodule, be used for all starting a timer at each client list item, behind described timer expiry and described client list item when setting up module and not rebuliding described client list item, with the client table entry deletion.
Wherein, described load balancing configuration module comprises that the load balancing group is provided with submodule, AP load state detection sub-module and AP chooser module, described load balancing group is provided with submodule, the client-side information that is used for the client that inserts with request is an index, and the AP that covers described client is set to the load balancing group; Described AP load state detection sub-module is used for detecting the load state that described load balancing group is provided with the load balancing group AP of submodule setting; Described AP chooser module is used for according to the detected load state of described AP load state detection sub-module, carries out default load-balancing algorithm and selects the AP in the described load balancing group to insert for described client.
The technical scheme of the embodiment of the invention also proposes a kind of client wireless connecting system, comprise at least two radio reception device AP, also comprise wireless controller, described AP all is connected with described wireless controller, described AP is used to write down the client-side information in its coverage and report described wireless controller; Described wireless controller, being used for the client-side information that reports according to each AP sets up and comprises unified preservation the behind described client and the client list item that reports the AP corresponding relation, all start a timer at each client list item, behind described timer expiry and described client list item when setting up module and not rebuliding described client list item, with the client table entry deletion, and when described client-requested inserts, according to the described unified client list item of preserving, select AP to insert for described client.
Wherein, described wireless controller comprises that the client list item sets up module and load balancing configuration module, described client list item is set up module, the client-side information that is used for reporting according to radio reception device AP is set up and is comprised described client and the client list item that reports the AP corresponding relation, and unified the preservation; Described load balancing configuration module is used for setting up the described client list item of preserving in the module according to described client list item when described client-requested inserts, and selects AP to insert for described client.
Wherein, described client list item is set up module and is comprised the timer submodule, be used for all starting a timer, behind described timer expiry and described client list item when setting up module and not rebuliding described client list item, with the client table entry deletion at each client list item.
Wherein, described load balancing configuration module comprises that the load balancing group is provided with submodule, AP load state detection sub-module and AP chooser module, described load balancing group is provided with submodule, the client-side information that is used for the client that inserts with request is an index, and the AP that covers described client is set to the load balancing group; Described AP load state detection sub-module is used for detecting the load state that described load balancing group is provided with the load balancing group AP of submodule setting; Described AP chooser module is used for according to the detected load state of described AP load state detection sub-module, carries out default load-balancing algorithm and selects the AP in the described load balancing group to insert for described client.
The technical scheme of the embodiment of the invention also proposes a kind of client wireless connecting system, comprise at least two radio reception device AP, can exchange load information between the described AP, have at least on the described AP and comprise the client wireless access device, described AP is used to write down the client-side information in its coverage and report described wireless controller; Described client wireless access device is used for the client-side information that reports according to each AP and sets up and comprise unified preservation the behind described client and the client list item that reports the AP corresponding relation, all start a timer at each client list item, behind described timer expiry and described client list item when setting up module and not rebuliding described client list item, with the client table entry deletion, and when described client-requested inserts, according to the described unified client list item of preserving, select AP to insert for described client.
Wherein, described client wireless access device comprises that the client list item sets up module and load balancing configuration module, described client list item is set up module, the client-side information that is used for reporting according to radio reception device AP is set up and is comprised described client and the client list item that reports the AP corresponding relation, and unified the preservation; Described load balancing configuration module is used for setting up the described client list item of preserving in the module according to described client list item when described client-requested inserts, and selects AP to insert for described client.
Wherein, described client list item is set up module and is comprised the timer submodule, be used for all starting a timer, behind described timer expiry and described client list item when setting up module and not rebuliding described client list item, with described client table entry deletion at each client list item.
Wherein, described load balancing configuration module comprises that the load balancing group is provided with submodule, AP load state detection sub-module and AP chooser module, described load balancing group is provided with submodule, the client-side information that is used for the client that inserts with request is an index, and the AP that covers described client is set to the load balancing group; Described AP load state detection sub-module is used for detecting the load state that described load balancing group is provided with the load balancing group AP of submodule setting; Described AP chooser module is used for according to the detected load state of described AP load state detection sub-module, carries out default load-balancing algorithm and selects the AP in the described load balancing group to insert for described client.
The technical scheme of embodiments of the invention has realized that the user does not need manual being configured, and selects AP to insert for client by the present invention according to loading condition, has improved the accuracy of load balance scheduling, has avoided the user to live through many access failures and has attempted.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
The core concept of the embodiment of the invention is the positional information of unified record client, promptly find and confirm that client is in the coverage of which radio reception device AP, so just realized automatic discovery to the load balancing group, when client sends when inserting request, just can be very easily go out an only AP for this client access from the load balancing group selection at this client place.
Therefore the embodiment of the invention has proposed two kinds of client wireless connecting system figure, respectively as shown in Figure 3 and Figure 4, wherein the client wireless access device can be connected to AP on this device by wired mouthful, shown in Figure 3 this client wireless access device is placed wireless controller, by carrying out the configuration of wireless load balancing with wireless controller that each AP all links to each other.In the time of also can between each AP, can exchanging the load information of each AP mutually as shown in Figure 4, the client wireless access device is set at least one AP, by AP unification the carrying out configuration of load balancing that is provided with this client wireless access device by agreement.The key of the embodiment of the invention is the positional information by client wireless access device record and maintain customer end; and send the request back at it and select only AP to insert for it, so no matter this client wireless access device is concentrated to place still to place respectively and all should be encompassed within the protection range of the embodiment of the invention.
As shown in Figure 3, be a kind of client wireless connecting system of the embodiment of the invention.This system comprises at least one client 1, at least two radio reception device AP2 and wireless controllers 3, AP2 all is connected with wireless controller 3, AP2 is used to write down the information of the client 1 in its coverage and report wireless controller 3, be specially client 1 and send the probe requests thereby message to AP2, AP2 is according to the probe requests thereby message that listens to, writes down this client-side information and reports; Unification was preserved after client-side information in its coverage that wireless controller 3 is used for reporting according to each AP2 was set up the client list item that comprises client 1 and report the AP2 corresponding relation, this client list item comprises client-side information and reports the AP sign of this client-side information, wherein client-side information and AP are designated the ID of this client of unique identification and this AP, the MAC Address of this client for example, the IP address of AP.In client 1 when AP2 send to insert request, AP2 is sent to wireless controller 3 with this request and handles, wireless controller 3 is according to the client list item of its preservation, judge that this client is in the signal cover of which AP2, promptly find to provide the group membership of load balancing automatically for active client, and detect the load state of AP in this load balancing group, load state according to AP in the detected load balancing group, insert for this client 1 according to only AP2 of load-balancing algorithm selection accordingly then, i.e. load balancing group selection from this client 1 place goes out the AP2 of a load minimum for this client 1 access.
Wherein, wireless controller 3 comprises that the client list item sets up module 31 and load balancing configuration module 32, the client list item is set up module 31 and is used for the client-side information that reports according to radio reception device AP2 and sets up and comprise client 1 and the client list item that reports the AP2 corresponding relation, and unified the preservation; Load balancing configuration module 32 is used for setting up the client list item of preserving in the module 31 according to the client list item when client 1 request inserts, and selects AP to insert for described client.
Wherein, the client list item is set up module 31 and is comprised timer submodule 311, be used for all starting a timer at each client list item, behind this timer expiry, if the client list item is set up module 31 and is not rebulid this client list item, then with described client table entry deletion, do not rebulid this client list item behind the timer expiry and this client is described not in the coverage of the AP2 that reports this client-side information, perhaps this client has been shut down and has been rolled off the production line.Because if this client not in the coverage of the AP that reports this client-side information or the shutdown roll off the production line, then this client just can not send the probe requests thereby message to AP2, and wireless controller 3 just can not rebulid this client list item according to the probe requests thereby message that AP2 listens to yet; If before timer is also not overtime, wireless controller 3 has rebulid this client list item and this client promptly has been described also in the coverage of the AP2 that reports this client-side information, therefore restarts timer.
Wherein, load balancing configuration module 32 comprises that the load balancing group is provided with submodule 321, AP load state detection sub-module 322 and AP chooser module 323.It is index that the load balancing group is provided with the client-side information that submodule 321 is used for the client that inserts with request, and the AP that covers this client is set to the load balancing group; AP load state detection sub-module 322 is used for detecting the load state that the load balancing group is provided with the load balancing group AP of submodule 321 settings; AP chooser module 323 is used for according to AP load state detection sub-module 322 detected load states, carries out default load-balancing algorithm and selects the AP in the load balancing group to insert for client.The load balancing group that for example covers this client is made of AP1, AP2 and AP3, the client terminal quantity that passes through the AP1 access that writes down in wireless controller is 10, reached load balancing, and the client terminal quantity that passes through the AP2 access that writes down in wireless controller is 8, near load balancing, the client terminal quantity that inserts by AP3 just is 5, then selects AP3 to insert for this client.The embodiment of the invention not only can be selected according to the quantity of the client by the AP access network, also can judge whether this AP reaches load balancing by the flow through AP.Different load-balancing algorithms can be selected various criterion or two kinds of modes that standard combines.
As shown in Figure 4, the embodiment of the invention has also proposed another kind of client wireless connecting system, the prerequisite of this system is can exchange separately load information by agreement between each AP, therefore just can realize purpose of the present invention as long as the client wireless access device is set at least one AP.This system comprises at least one client 1 and at least two radio reception device AP4, can exchange load information between the AP4, wherein have at least an AP4 to be provided with client wireless access device 41, other AP reports the information of the client 1 in its coverage to this AP that is provided with client wireless access device 41; Client wireless access device 41 is used for the client-side information that reports according to AP4 and sets up and comprise unified preservation the behind client and the client list item that reports the AP corresponding relation, and when client 1 request inserts, according to the client list item that client wireless access device 41 is preserved, select AP to insert for described client.
Wherein, client wireless access device 41 comprises that the client list item sets up module 411 and load balancing configuration module 412, the client list item is set up module 411 and is used for the client-side information that reports according to AP and sets up and comprise client and the client list item that reports the AP corresponding relation, and unified the preservation; Load balancing configuration module 412 is used for setting up the client list item of preserving in the module 411 according to the client list item when client 1 request inserts, and selects AP to insert for client 1.
Wherein, the client list item is set up module 411 and is also comprised timer submodule 4111, be used for all starting a timer, behind timer expiry and client list item when setting up module and not rebuliding described client list item, with described client table entry deletion at each client list item.
Wherein, load balancing configuration module 412 comprises that the load balancing group is provided with submodule 4121, AP load state detection sub-module 4122 and AP chooser module 4123.It is index that the load balancing group is provided with the client-side information that submodule 4121 is used for the client that inserts with request, and the AP that covers this client is set to the load balancing group; AP load state detection sub-module 4122 is used for detecting the load state that the load balancing group is provided with the load balancing group AP of submodule 4121 settings; AP chooser module 4123 is used for according to AP load state detection sub-module 4122 detected load states, carries out default load-balancing algorithm and selects the AP in the load balancing group to insert for client.The load balancing group that for example covers this client is made of AP1, AP2 and AP3, the client terminal quantity that passes through the AP1 access that writes down in wireless controller is 10, reached load balancing, and the client terminal quantity that passes through the AP2 access that writes down in wireless controller is 8, near load balancing, the client terminal quantity that inserts by AP3 just is 5, then selects AP3 to insert for this client.The embodiment of the invention not only can be selected according to the quantity of the client by the AP access network, also can judge whether this AP reaches load balancing by the flow through AP.Different load-balancing algorithms can be selected various criterion or two kinds of modes that standard combines.
As shown in Figure 5, flow chart for embodiment of the invention customer end wireless switch-in method, this embodiment is example with the wireless controller, realize finding automatically the purpose of load balancing group by the positional information of the unified record of wireless controller client, therefore be not restricted at wireless controller according to inventive concept, also can finish the present invention by other device.Wherein wireless controller links to each other with each AP by wireline interface, and this embodiment may further comprise the steps:
Step S501: each radio reception device AP writes down the client-side information in its coverage and reports.
Radio reception device AP intercepts the probe requests thereby message that client sends on current working channel, this probe requests thereby message is 802.11 protocol massages, this probe requests thereby message carries the essential information (as the MAC Address of this client) of client, and client can find AP by this message.Therefore if AP receives the probe requests thereby message of a client then this client is described in the coverage of this AP, this AP is according to the information of this client of probe requests thereby message accounting of receiving, and this information is reported wireless controller.
Step S502: wireless controller is connected client-side information that AP reports according to all and sets up and comprise client and client list item that reports the AP corresponding relation and unified the preservation with it.
The client-side information that wireless controller reports according to each AP is set up and is comprised client and client list item that reports the AP corresponding relation and unified the preservation, this client list item comprises client-side information and reports the AP sign of this client-side information, wherein client-side information and AP are designated the ID of this client of unique identification and this AP, the MAC Address of this client for example, the IP address of AP.
Step S503: when client-requested inserted, wireless controller selected AP to insert for client according to the unified client list item of preserving.
When client when AP send to insert request, the request that this AP will receive is handed wireless controller over to and is handled, wireless controller is the unified client list item of preserving of indexed search with this client-side information, be the information which AP of index search has reported this client with the client mac address for example, promptly this client is in the signal cover of which AP; The AP of this client of covering that wireless controller will retrieve is made as a load balancing group, and detect the load state of AP in this load balancing group, according to the load state of AP in the detected load balancing group, carry out relevant load-balancing algorithm then and select a suitable AP for this client access.The load balancing group that for example covers this client is made of AP1, AP2 and AP3, the client terminal quantity that passes through the AP1 access that writes down in wireless controller is 10, reached load balancing, and the client terminal quantity that passes through the AP2 access that writes down in wireless controller is 8, near load balancing, the client terminal quantity that inserts by AP3 just is 5, then selects AP3 to insert for this client.The embodiment of the invention not only can be selected according to the quantity of the client by the AP access network, also can judge whether this AP reaches load balancing by the flow through AP.Different load-balancing algorithms can be selected various criterion or two kinds of modes that standard combines.
As shown in Figure 6, flow chart for a kind of Dynamic Maintenance client of embodiment of the invention list item, this embodiment has proposed a kind of method by AP maintain customer end list item, by ageing timer is set on AP, if this AP does not receive the probe requests thereby message that certain client is new before this aging timing is overtime, then notify wireless controller with this client and the deletion of this AP clients corresponding list item, with the client list item that upgrades in time.This embodiment may further comprise the steps:
Step S601: each radio reception device AP writes down the client-side information in its coverage and reports.
Radio reception device AP intercepts the probe requests thereby message that client sends on current working channel, this probe requests thereby message is 802.11 protocol massages, carry the essential information (as the MAC Address of this client) of client, client finds AP by this message.If therefore AP receives the probe requests thereby message of a client then illustrates that this client is in the coverage of this AP, this AP is according to the information of this client of probe requests thereby message accounting of receiving and receive the timestamp of this probe requests thereby message, and above-mentioned information is reported wireless controller.
Step S602: radio reception device AP reports at this client list item is set on the AP, and is that this client list item starts an ageing timer.
Step S603: wireless controller is connected client-side information that AP reports according to all and sets up and comprise client and client list item that reports the AP corresponding relation and unified the preservation with it.
The client-side information that wireless controller reports according to each AP is set up and is comprised client and client list item that reports the AP corresponding relation and unified the preservation, this client list item comprises client-side information and reports the AP sign of this client-side information, wherein client-side information and AP are designated the ID of this client of unique identification and this AP, the MAC Address of this client for example, the IP address of AP.
Step S604: if before the ageing timer of client list item is overtime, this AP does not receive the probe requests thereby message that this client list item clients corresponding is new, and then AP notice wireless controller is with this client on the wireless controller and the deletion of this AP clients corresponding list item.For example AP1 does not receive the probe requests thereby message that client 1 is new before ageing timer is overtime, and then this AP1 will notify wireless controller will comprise AP1 and the deletion of client 1 clients corresponding list item.
If before the ageing timer of client list item is overtime, this AP does not receive the probe requests thereby message that this client list item clients corresponding is new, this client then is described not in the coverage of this AP, or this client has been shut down and rolled off the production line.The list item of this client in wireless controller that therefore should upgrade in time is not received the client table entry deletion of new request message AP, the accuracy of so further raising load balance scheduling with expired useless including.Include the client list item of not receiving new request message AP all deleted after, illustrate that then this client rolls off the production line or shuts down, then should be with this client table entry deletion, this client is created the clients corresponding list item for it after resending request message again to wait for next time.The message communication of this embodiment by on AP, the client list item being worn out and can reduce AP and wireless controller, the serviceability of raising wireless controller.
As shown in Figure 7, be the flow chart of the another kind of Dynamic Maintenance client of embodiment of the invention list item, this embodiment has proposed a kind of maintaining method that aging counter is set on wireless controller, may further comprise the steps:
Step S701: each radio reception device AP writes down the client-side information in its coverage and reports.
Radio reception device AP intercepts the probe requests thereby message that client sends on current working channel, this probe requests thereby message is 802.11 protocol massages, carry the essential information (as the MAC Address of this client) of client, client finds AP by this message.If therefore AP receives the probe requests thereby message of a client then illustrates that this client is in the coverage of this AP, this AP is according to the information of this client of probe requests thereby message accounting of receiving and receive the timestamp of this probe requests thereby message, and above-mentioned information is reported wireless controller.
Step S702: wireless controller is connected client-side information that AP reports according to all and sets up and comprise client and client list item that reports the AP corresponding relation and unified the preservation with it.
The client-side information that wireless controller reports according to each AP is set up and is comprised client and client list item that reports the AP corresponding relation and unified the preservation, this client list item comprises client-side information and reports the AP sign of this client-side information, wherein client-side information and AP are designated the ID of this client of unique identification and this AP, the MAC Address of this client for example, the IP address of AP.
Step S703: wireless controller all starts an ageing timer at each client list item.
Step S704: if before the ageing timer of client list item is overtime, this client list item is not rebulid, then with this client table entry deletion.
Do not rebulid this client list item after ageing timer is overtime and this client is described not in the coverage of the AP that reports this client-side information, perhaps this client has been shut down and has been rolled off the production line.Because if this client not in the coverage of the AP that reports this client-side information or the shutdown roll off the production line, then this client just can not send the probe requests thereby message to AP, and wireless controller just can not rebulid this client list item according to the probe requests thereby message that AP listens to yet.
If before timer is also not overtime, wireless controller has rebulid this client list item and has illustrated that promptly this client also in the coverage of the AP that reports this client-side information, then needs to restart timer.Therefore by the embodiment of the invention client list item that can upgrade in time,, further improved the accuracy of load balance scheduling with expired client table entry deletion useless.
Realized that by the embodiment of the invention user does not need manual being configured, and selected AP to insert according to loading condition, improved the accuracy of load balance scheduling, avoided the user to live through many access failures and attempted for client by the embodiment of the invention.And by to the Dynamic Maintenance of client list item, the client that can upgrade in time list item has further improved the accuracy of load balance scheduling.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.