# Patent

## Title
Load balancing

## Abstract

A technique for associating clients with APs in an advantageous manner may involve local balancing of clients across APs. This may involve providing instructions to APs to disable client association. Alternatively, this technique may involve load balancing across controllers.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application claims priority to U.S. Provisional Patent App. No. 60/852,179, by Liang-Jong Huang and David Bradburn Aragon entitled “Wireless Load Balancing System and Method” filed on Oct. 16, 2006, which is incorporated herein by reference.


BACKGROUND
In 802.11 infrastructure basic service set (BSS) networks, connections are initiated from the client side. Many clients may seek to associate with many APs in a network. In some cases only a few APs receive most of the clients. The few APs may be come heavily loaded while many other APs remain under utilized. The underutilization may be spread over multiple APs associated with a single access area, or may be distributed over many access areas. Clients may experience poor service from an overloaded AP while some APs remain relatively underutilized.
The foregoing examples of the related art and limitations related therewith are intended to be illustrative and not exclusive. Other limitations of the related art will become apparent to those of skill in the art upon a reading of the specification and a study of the drawings.
SUMMARY
The following examples and aspects thereof are described and illustrated in conjunction with systems, tools, and methods that are meant to be exemplary and illustrative, not limiting in scope. In some of the examples one or more of the above-described problems has been reduced or eliminated, while other examples are directed to other improvements.
A technique for associating clients with APs in an advantageous manner may involve local balancing of clients across APs. This may involve providing instructions to APs to disable client association procedures. Alternatively, this technique may involve load balancing across controllers. The technique may calculate overlaps between APs and may determine target loads for the APs. Using target loads, APs may be instructed to steer clients to other APs when target loads are met or exceeded. Communication between multiple controllers may facilitate balanced loads across a network.
A system based on the technique may include a target load calculator. Target loads may be adjusted dynamically. The system may dynamically rebalance client loads on APs, thereby improving overall performance of the system.
A method based on the technique may disable association capabilities of an AP to allow clients to associate with other APs thereby distributing the load of clients. The method may be used in collaboration with various algorithms and create useful applications. A load balancing algorithm may balance wireless traffic based on certain criteria among a group of APs. In a non-limiting example, clients may be steered in multiple bands to a preferred band in a multi-band wireless network.
Consider, for the purposes of example only, a network having two APs, each under the control of separate controllers. There are two clients seeking to associate with one AP. The two APs overlap sufficiently for either one of the APs to handle both clients. A target load of one client per AP is established for each AP. A first client associates with a first AP. The first AP is instructed to stop associating new clients. The remaining one client then associates with the second AP. Advantageously, the client load of each AP is balanced, and each AP has an approximately evenly distributed client load.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 depicts a diagram of an example of a system for load balancing.
FIG. 2 depicts a diagram of an example of a system balancing loads for two APs.
FIG. 3 depicts a diagram of an example of an AP in communication with a client.
FIG. 4 depicts a diagram of an example of a system in communication with an AP.
FIG. 5 depicts a flowchart of an example of a method for load balancing.
FIG. 6 depicts a diagram of an example of a system for load balancing.
FIG. 7 depicts a flowchart of an example of a method for steering a client.
FIG. 8 depicts a diagram of an example a system steering a client from a first AP to a second AP.
FIG. 9 depicts a flowchart of an example of a method for steering a client to a different AP.
FIG. 10 depicts a diagram of an example of a device capable of load balancing.



DETAILED DESCRIPTION
In the following description, several specific details are presented to provide a thorough understanding. One skilled in the relevant art will recognize, however, that the concepts and techniques disclosed herein can be practiced without one or more of the specific details, or in combination with other components, etc. In other instances, well-known implementations or operations are not shown or described in detail to avoid obscuring aspects of various examples disclosed herein.
In 802.11 infrastructure BSS networks, connections are initiated from the client side. If there are multiple access points (APs) within range of a client, the client selects one for association. Although the criteria for selecting an AP are embedded in the client and are implementation-specific, nevertheless clients frequently apply similar strategies, such as strongest signal strength, and consequently make similar selections. There is therefore a tendency for some APs to attract more (or even all) clients than the others in a service area, thwarting an administrator's attempts to improve service by providing multiple APs to offer more bandwidth.
Load balancing and client steering may be implemented to redistribute clients to multiple APs. Load balancing suggests a method to balance the wireless traffic among APs to meet certain criteria. Client steering suggests an approach to induce the client to connect with another AP. Herein, both methods are referred to as “load balancing” and client steering is referred to explicitly when a distinction is considered helpful for improved understanding of the techniques described.
A technique for client steering involves overseeing a network to determine which AP allows admittance and which AP disallows admittance based on certain criteria. A system according to this technique may include multiple controllers and APs in an Electronic Switching System (ESS) network. The controllers oversee the ESS network and determine which AP allows admittance and which AP disallows admittance based on certain criteria. In a non-limiting embodiment, for APs disallowing admittance, a controller may activate an AP's steering function and adjust a safety valve, if needed, by sending message commands through the network. For APs allowing admittance, controllers will deactivate their steering functions in a similar manner.
FIG. 1 depicts a diagram 100 of an example of a system for load balancing. FIG. 1 includes network 102, controller 104, wireless switch 106-1 through wireless switch 106-n (collectively wireless switches 106), AP 108-1 through AP 108-n (collectively APs 108s), client load 110-1 through client load 110-n (collectively client loads 110), and new client 112.
In the example of FIG. 1, network 102 couples controller 104 to wireless switches 106. The network 102 may be practically any type of communications network, such as, by way of example but not limitation, the Internet or an infrastructure network. The term “Internet” as used herein refers to a network of networks which uses certain protocols, such as the TCP/IP protocol, and possibly other protocols such as the hypertext transfer protocol (HTTP) for hypertext markup language (HTML) documents that make up the World Wide Web (the web).
In the example of FIG. 1, wireless switches 106 swap topology data and client information with each other, or other wireless switches in the network. One or more of the wireless switches 106 and the controller 104 may be the same unit. Alternatively, the wireless switches 106 may be separate units from the controller 104, and may receive instructions from the controller 104 via network 102.
In the example of FIG. 1, the APs 108 are hardware units that act as a communication node by linking wireless mobile stations such as PCs to a wired backbone network. The APs 108 may generally broadcast a service set identifier (SSID). In an example, the APs 108 connect users to other users within the network, and may serve as a point of connection between WLAN and a wired network. The APs may have one or more radios. In a non-limiting embodiment, the radios are configured for 802.11 standard transmissions.
In the example of FIG. 1, the client loads 110 may be any previously associated computing devices capable of WLAN communication. APs may be part of the client load. In a non-limiting example, an un-tethered AP is coupled to AP 108-1, and is part of the client load 110-1. Client load may simply be the number of client sessions on a radio. However, other measures of load may be used. In a non-limiting example, a system may include a bandwidth reservation scheme e.g. for IP telephone clients. There, client load can be a weighted sum where the weights depend on the bandwidth reserved by each client. In another non-limiting example, load can be measured reciprocally by measuring the available bandwidth, transmit queue availability, or some other suitable measure of AP capacity remaining, and the sense of the target thresholds adjusted appropriately.
In the example of FIG. 1, the new client 112 may be any computing device capable of wireless local area network (WLAN) communication. The client 112 is depicted as ready to associate with either AP 108-1 or AP 108-2. Given client loads 110 it may be advantageous to cause either AP 108-1 or AP 108-2 to refrain from associating with new client 112 so as to balance the client loads 110.
FIG. 2 depicts a diagram 200 of an example of a system balancing loads for two APs. FIG. 2 includes AP 202, AP 203, local load 204, neighbor load 206, neighbor designation engine 208, and load distribution engine 208.
In the example of FIG. 2, the AP 202 may be one of two or more APs with which a client may associate. AP 202 may have a current load of zero or more clients. An overloaded AP may have more clients than a specified threshold.
In the example of FIG. 2, the AP 203 is an AP near the AP 202. AP 203 may be close enough to AP 202 and the client that the AP 203 may associate the client as an alternative AP to the AP 202.
In the example of FIG. 2, the local load 204 may be a database, data store, file, table, or any known or convenient manner of storing a client load. The local load may be updated dynamically in association with the AP 202 to include recently added clients at AP 202.
In the example of FIG. 2, the neighbor load 206 may also be a database, data store, file, table, or any known or convenient manner of storing data. The neighbor load may be updated dynamically in association with the AP 203 to include clients recently added to the AP 203.
In the example of FIG. 2, the neighbor designation engine 208 may identify neighbors to an AP that may be suitable for associating with the client. A client may be steered to neighbor APs if desirable.
In the example of FIG. 2, the load distribution engine 210 may have steering functionality. For example, the load distribution engine 210 may instruct the AP 202 to refrain from associating with a client for a duration of time, or until the AP 202 is instructed to resume associating with new clients. Alternatively, the load distribution engine 210 may actively balance loads across adjacent APs by disassociating clients from currently relatively heavily loaded APs and re-associating the clients with a relatively lightly loaded adjacent AP.
In the example of FIG. 2, in operation, the load of the AP 202 is recorded in the local load database 204. The load of the AP 203 is recorded in the neighbor load database 206. The neighbor designation engine 208 identifies the AP 203 as a neighbor of the AP 202 that may be able to associate a new client. More specifically, the neighbor designation engine identifies a client as being within range of both the AP 202 and the AP 203. The neighbor designation engine 208 knows which of the APs 202, 203 have a heavier load and provides sufficient data to the load distribution engine 210 to balance the load. For illustrative purposes only, it is assumed that the AP 202 receives the load balancing instructions, rather than the AP 203. The load distribution engine 210 instructs the AP 202 to be non-responsive to association requests and other communications from the new client. In this way, the AP 202 ceases associating with clients, and the new clients are forced to associate at the AP 203.
FIG. 3 depicts a diagram 300 of an example of an AP in communication with a client. The diagram 300 includes client 302, AP 304, and processing engine 308.
In the example of FIG. 3, the client 302 may be any client computing device capable of WLAN communication. It is possible that APs allowing admittance receive a burst of requests for probe, authentication and association from clients, and responses to clients have been already sent before a controller commands a change of admittance state. Either the associated clients can be later steered by the method mentioned above, or the admittance policy can be evaluated before granting the association request. If the policy shows that the AP has reached the watermark to shut down the admittance, the AP should decline association requests from clients and the controller should activate the AP's steering function.
In the example of FIG. 3, the AP 304 includes radio 306, safety valve 310, steering engine 312, and optional SSID configuration engine 314. In the example of FIG. 3, the radio 306 may be any radio device capable of WLAN communication. By way of example but not limitation, the radio 306 may be capable of 802.11 communication.
In the example of FIG. 3, the safety valve 310 may prevent an AP from steering clients for more than a maximum amount of time. The safety valve may use a timer or counter to limit the duration of the steering function. Various clients manufactured by different vendors may have their own probing, authentication and association patterns. Advantageously, timers may be dynamically adjusted either by the controllers or by the AP itself based on certain criteria to meet application requirements.
In the example of FIG. 3, the steering engine 312 may cause the AP to refrain from responding to probe requests or authentication requests until the safety valve is open. The AP may also take out the SSID information in beacons. When steering associated clients is desired, a de-authentication with a reason code may first be sent to a client. The steering engine 312 may be activated afterwards. Depending on the requirements and the certainty of available APs to steer clients to, the safety valve may be set to a large value to make the previously associated AP as well as APs disallowing admittance almost invisible to the client so that the client will associate with another AP, allowing de-authentication. Alternatively, the timer may be set to a low value so that a client may re-associate with the previously associated AP in the case there are no suitable APs to associate with other than the first AP.
In the example of FIG. 3, the optional SSID configuration engine 314 may be used to create useful applications. The optional SSID configuration engine may work with a load balancing algorithm to balance wireless traffic based on certain criteria among a group of APs. The optional SSID configuration engine may be used to steer clients capable of multiple bands to a preferred band in a multi-band wireless network. Alternatively, the SSID configuration engine 314 may be used to selectively provide wireless service to a certain group of clients.
In the example of FIG. 3, in operation, the client transmits probe requests or authentication requests to radio 306, however, processing 308 has instructed safety valve 310 to close, and steering engine 312 to steer all clients to other APs because AP 304 has reached a capacity, and it may be necessary to drive clients to other APs to balance the load on the network. Steering engine 312 causes AP 304 to provide no response to probe requests or authentication requests from client 302. Optional SSID configuration engine 314 may completely remove SSID information from beacons so as to preclude n new clients from requesting association with radio 306.
FIG. 4 depicts a diagram 400 of an example of a system in communication with an AP. FIG. 4 includes AP 402 and processing block 404. In the example of FIG. 4, the AP 402 may connect users to other users within the network, and may serve as a point of connection between WLAN and a wired network.
In the example of FIG. 4, the processing block 404 includes data 406, target load generation engine 412, optional neighborhood support 414, and admittance determining engine 416.
in the example of FIG. 4 data 406 includes radio neighbors 408 and radio loads 410. Radio neighbors 408 may be may be a database, data store, file, table, or any known or convenient manner of storing information about neighboring radios. The radio neighbors 408 may include entries for the received signal strength of one or more radios as received by the AP 402. Radio loads 410 may be a database, data store, file, table, or any known or convenient manner of storing information. Neighbor load 410 may store a number of clients associated with one or more neighboring radios.
In the example of FIG. 4, target load generation engine 412 may use load and radio overlap information to compute a target load for each radio connected to the processing 404. The target load may take into consideration a proportion of a radio's actual load that could potentially be handled by other (overlapping) radios, and also the proportion of those neighboring radios' loads that could be potentially handled by the radio whose target is being computed.
In the example of FIG. 4, the optional neighborhood support 414 may be a subsystem for recording and reporting transmitters detected by an AP radio. The optional neighborhood support 414 may periodically scan channels other than the channel on which the radio is primarily operating. Upon detecting another access point transmitting on either its own or another channel, the optional neighborhood support 414 may pass a message to a controller showing the transmitter's media access control (MAC) address and received signal strength.
The optional neighborhood support 414 may be a part of a device such as a Trapeze Mobility Point AP which allows one transmitter to exhibit multiple MAC addresses on the air. MAC addresses may assigned within defined ranges so that the (possibly several) MAC addresses belonging to one transmitter may be correctly ascribed to one transmitter by the controller that receives the report.
In the example of FIG. 4, the admittance determination engine 416 may control the AP 402 such as by instructing the AP to cease to admit new clients for a duration of time.
In the example of FIG. 4, in operation, the AP provides received signal strengths of neighboring radios to radio neighbors 408. Client loads on the neighboring APs may be provided to radio loads 410. Target load generation engine 412 produces a target load for the AP 402. Optionally neighborhood support 414 provides information about the loads of neighborhood APs. Using the information provided by the target load generation engine 412, and optionally the neighborhood support 414, the admittance determination engine 416 decides whether to instruct AP 402 to continue admitting new clients or to refrain from admitting new clients.
FIG. 5 depicts a flowchart 500 of an example of a method for load balancing. The method is organized as a sequence of modules in the flowchart 500. However, it should be understood that these and modules associated with other methods described herein may be reordered for parallel execution or into different sequences of modules.
In the example of FIG. 5, the flowchart 500 starts at module 502 with providing a first AP and a second AP in an access area. The first AP and the second AP may be part of a network connected to a controller. The controller may monitor the loads on the first AP and the second AP and provide load balancing and other features for the network.
In the example of FIG. 5, the flowchart continues to module 504 with associating one or more clients at the first AP wherein the plurality of clients may be referred to as a first load. The associations may be recorded and provided to the controller for monitoring of the load on the first AP.
In the example of FIG. 5, the flowchart continues to module 506 with determining that a second load on the second AP is less than the first load on the first AP. As the controller monitors the loads on the APs it is connected to the controller may be aware that one or more APs have a lower load than the first AP. The controller may dynamically update AP loading as the APs associate with additional clients.
In the example of FIG. 5, the flowchart continues to module 508 with setting a target load threshold at least based on the second load. In dynamically rebalancing the load on the network, the controller may set target threshold by considering the second load. In a non-limiting example, the target load may be raised because a number of clients on the network has increased overall with the additional loading of the new client.
In the example of FIG. 5, the flowchart continues to module 510 with disabling association capabilities for additional clients at the first AP if the first load exceeds the target threshold. In balancing the load the controller may prevent the AP from taking on more clients. This will cause the clients to associate with other APs. By causing clients to associate with under loaded APs, the controller may dynamically rebalance the network.
FIG. 6 depicts a diagram 600 of an example of a system for load balancing. FIG. 6 includes RF neighbor detector 602, radio neighbors 604, messages 606, radio load 608, overlap calculation engine 610, target load calculation engine 612, optional neighborhood support 614, admittance determining engine 616, and admittance gate 618.
In the example of FIG. 6, RF neighbor detector 602 may be a subsystem for recording and reporting transmitters detected by an AP radio. RF neighbor detector 602 may periodically scan channels other than the channel on which the radio is primarily operating. Upon detecting another access point transmitting on either its own or another channel, RF neighbor detector 602 may pass a message to a controller showing the transmitter's MAC address and received signal strength.
In the example of FIG. 6, radio neighbors 604 may be may be a database, data store, file, table, or any known or convenient manner of storing information about neighboring radios. The radio neighbors 604 may include entries for the received signal strength of one or more radios as received by the AP using RF neighbor detector 602.
In the example of FIG. 6, the messages 606 may be received into the radio neighbors 604 and the radio load 608 from other controllers. It may be possible for load balancing to occur across multiple controllers. In that case, it may be necessary for the multiple controllers to provide messages regarding the loads on various APs. RF data pertaining to an AP that is associated with another controller may be included in a message that is sent to the controller. Conversely, messages 606 may be received into the radio neighbors 604. Messages pertaining to radio neighbors may be termed part of a radio “neighborhood.” The radio neighbors 604 may include messages received from other controllers in the radio neighborhood. In a non-limiting example, a client is steered to a local AP, and a message is transmitted and stored into the local radio load because the client was steered to the local AP.
In the example of FIG. 6, the radio load 608 may include information about clients connected to APs. The controller may maintain this information for making load balancing decisions such as to steer clients to nearby APs or to steer clients to APs associated with other controllers.
In the example of FIG. 6, the overlap calculation engine 610, may estimate the conditional probability that a client can be served by a given radio in a load-balancing scheme, given that it is associated to another such radio. Overlap may be “inward” if the client could be served by the given radio but is presently associated to a neighbor radio, and as “outward” if the client is associated to the given radio but could be served by a neighbor.
A client may be deemed able to be served by a radio if that radio's signal strength at the client's location exceeds a predetermined threshold. In a non-limiting example, the threshold may be set to −65 dB.
For target loads to optimally account for all client load in the system, overlap calculations between any two radios may necessarily be symmetric. The inward overlap of a neighbor's coverage area into the central radio's coverage area may have the same value as the central radio's outward overlap calculated at the neighbor radio.
Two radios may be attached to different network controllers, so an important issue is that inward and outward overlaps be calculated consistently from the two perspectives, with minimal requirement to pass data between the controllers. The overlap calculator accomplishes the calculation using only two measurements, namely, the received signal strength (RSSI) of each radio as received at the other radio.
The following notation may be used to calculate the overlap:

    sj@k denotes the signal measurement of radio j as heard at radio k
    sref is the reference signal strength defining the outer limit of a radio's coverage area
    L is the path loss exponent (typically assumed to be about 3 inside an office building)
    rj denotes the radius of radio j's coverage area
    djk is the distance between radios j and k


The path loss exponent and the reference signal strength may be predetermined and the same for all radios. The overlap calculation for two radios j and k may then require measurement only of the two values sj@k and sk@j. First, the overlap calculator forms two intermediate terms representing the estimated radii of each coverage area in units of the inter-radio distance:




  
    
      r
      j
    
    
      d
      jk
    
  
  =
  
    10
    
      
        
          S
          
            j
            @
            k
          
        
        -
        
          S
          ref
        
      
      
        10
        ⁢
        
          
        
        ⁢
        L
      
    
  








  
    and
    ⁢
    
      
    
    ⁢
    
      
        r
        k
      
      
        d
        jk
      
    
  
  =
  
    10
    
      
        
          S
          
            k
            @
            j
          
        
        -
        
          S
          ref
        
      
      
        10
        ⁢
        
          
        
        ⁢
        L
      
    
  




The overlap calculator then detects the limiting conditions where there is either no overlap, or complete overlap (i.e. one coverage area completely contained within the other):




  overlap
  =
  
    {
    
      
        
          
            0
            ,
          
        
        
          
            
              
                
                  r
                  j
                
                
                  d
                  jk
                
              
              +
              
                
                  r
                  k
                
                
                  d
                  jk
                
              
            
            ≤
            1
          
        
      
      
        
          
            1
            ,
          
        
        
          
            
              
              
                
                  
                    r
                    j
                  
                  
                    d
                    jk
                  
                
                -
                
                  
                    r
                    k
                  
                  
                    d
                    jk
                  
                
              
              
            
            >
            1
          
        
      
    
  




The above equations for overlap define two limits of a range. If we choose k as the index for the lower signal strength value then the absolute value signs can be removed and the above limits re-written as limits on one of the two measured values in terms of the other:




  overlap
  =
  
    {
    
      
        
          
            0
            ,
          
        
        
          
            
              
                r
                j
              
              
                d
                jk
              
            
            ≤
            
              (
              
                1
                -
                
                  
                    r
                    k
                  
                  
                    d
                    jk
                  
                
              
              )
            
          
        
      
      
        
          
            1
            ,
          
        
        
          
            
              
                r
                j
              
              
                d
                jk
              
            
            >
            
              (
              
                1
                +
                
                  
                    r
                    k
                  
                  
                    d
                    jk
                  
                
              
              )
            
          
        
      
    
  




For values of




  
    r
    j
  
  
    d
    jk
  




within the range





  
    (
    
      1
      ±
      
        
          r
          k
        
        
          d
          jk
        
      
    
    )
  
  ,




the overlap calculation engine 610 interpolates smoothly. The operation of the invention may not be extremely sensitive to the precise interpolation function chosen. A function may be derived by trigonometry assuming that the coverage areas are circular. The interpolation may also be linear.

The overlap value may be interpreted as a fraction or proportion, expressing the area of overlapping coverage in terms of the smaller of the two individual coverage areas. The fraction may provide the outward overlap of the smaller area into the larger or equivalently, the inward overlap of the larger area into the smaller.
The overlap calculator may compute converse overlaps. A converse overlap may be an overlap in terms of a larger coverage area. The converse overlap may be found by multiplying the above-derived overlap value by the ratio of the two coverage areas, which is the square of the ratio of their radii, namely




  
    
      (
      
        
          
            r
            k
          
          /
          
            d
            jk
          
        
        
          
            r
            j
          
          /
          
            d
            jk
          
        
      
      )
    
    2
  
  .




In the example of FIG. 6, the target load calculation engine 612, may generate a load level for each radio in terms of the number of clients and the number of other radios available to serve those clients. In a non-limiting example, the target load may be calculated as estimated number of clients that the given radio can serve, divided by the estimated number of radios able to serve those clients.
In generating target loads, radios generally do not cover identical ranges, and thus cannot be assumed able to serve the same clients. Even assuming each radio's coverage area to be approximately circular, in a realistic installation both the center locations and the radii of those areas will differ; therefore, the overlaps between radio coverage areas may generally be partial rather than total.
To provide the ability to balance client load in such an environment, the target load calculation for a given radio weights the factors as follows. The radio is regarded as being in the center of an approximately circular neighborhood, around which are neighboring AP radios each having some degree of overlap with the central radio's coverage area. Inward overlap may designate an estimated fraction of the neighbor's load that can also be covered by the central radio, and outward overlap may designate an estimated fraction of the central radio's client load that is also in the neighbor radio's coverage area. In the numerator of the target load value (of the central radio), each neighbor radio's client load is weighted by its inward overlap. For the denominator of the target load value, each neighbor radio may count as 1 times the outward overlap.
For the central radio, both the inward and outward overlaps may be defined as 1.0. For the central radio, a numerator of the target load accumulates the client load of the radio. The denominator accumulates a count of 1.0, i.e. the central radio counts as one radio. The target loads on the several radios may converge to values that together account for the entire client load in the system.
In the example of FIG. 6, the optional neighborhood support 614 may be a subsystem for recording and reporting transmitters detected by an AP radio. Channels other than a current channel on which the radio is primarily operating may be scanned. Upon detecting another access point transmitting on either its own or another channel, a message may be passed to a controller showing the transmitter's MAC address and received signal strength.
In the example of FIG. 6, the admittance determining engine 616, The admittance determining engine 616 may produce an admittance value that determines the action of the admittance gate 618. The admittance value for a radio may set the radio's propensity to accept an additional client. The admittance value may be calculated by comparing the radio's current load against its target load. In a non-limiting example, admittance may be set to 0 (admit no client) if the radio's load is above its target load, or to 1 (admit any client) otherwise.
The admittance determining engine may also produce values intermediate between 0 and 1, which instruct the admittance gate to admit some (but not all) potential new clients. Admittance may be accomplished by applying multiple thresholds to the difference between current load and target load, and outputting an appropriate value depending on which of the thresholds are exceeded.
In the example of FIG. 6, the admittance gate 618 may control a radio's response to new clients. The admittance gate 618 may be a software component within an AP that influences the AP to associate or not to associate clients. The admittance gate 618 may cause the radio to respond normally to 802.11 probes and 802.11 authentication requests when new clients are to be admitted, or to inhibit or delay responses when new clients are not to be admitted.
The admittance gate 618 may respond to commands from admittance determining engine 616. The commands may include a binary admittance value that instructs the radio whether to admit or inhibit new clients.
The admittance gate 618 may also have a rule table for conditioning a response based on characteristics of the client. The rule table may include a rule for responding to a client that is already associated to the radio. In a non-limiting example, the AP is subject to a rule that requires that the AP always respond to an already-associated client. The rule table may have an associated function that evaluates a hardware address of a client and causes the client to associate with an AP because the function falls within a range of values. Using the function the AP may quickly determine whether a hardware address is within a range to which the AP should respond.
The rule table may also have other rules. In a non-limiting example a signal strength rule instructs the AP to respond to clients whose requests exceed a programmed signal strength value, thereby creating a preference for clients that are physically near the AP.
An exemplary rule computes a hash value from a MAC address and associates a client with a first AP if the hash value is odd or a second AP if the hash value is even. In applying such a rule, consider two APs that have overlapping coverage areas. One can be instructed to respond to clients when the output of a MAC hash function is even, and the other instructed to respond when the output of the same MAC hash function is odd.
FIG. 7 depicts a flowchart 700 of an example of a method for steering a client. The method is organized as a sequence of modules in the flowchart 700. However, it should be understood that these and modules associated with other methods described herein may be reordered for parallel execution or into different sequences of modules.
In the example of FIG. 7, the flowchart 700 starts at module 702 with receiving a probe request or an authentication request. Controllers oversee the network and determine which AP allows admittance and which AP disallows admittance based on certain criteria. For APs disallowing admittance, controllers may activate their steering functions and adjust safety valves, if needed, by sending message commands through the network. Advantageously, clients may be steered in response to a probe request or an authentication request without receiving an association request.
In the example of FIG. 7, the flowchart continues to determination module 704 with deciding: is the client associated? For APs allowing admittance, controllers will deactivate their steering functions. This may allow a client to associate with an AP.
If the result from determination module 704 is yes then the flowchart proceeds to module 714 with process and send response. Having processed and sent the response, the flowchart terminates.
If the result of the determination module 704 is negative, the flowchart proceeds to determination module 706 with testing whether the steering function is enabled. Enabling the steering function may allow execution of module 708, module 710 and module 712. With the steering function enabled, responses to the client's probe and authentication requests may be inhibited as in module 712 for a duration that depends on a configurable safety valve discussed in reference to module 710. Optionally, enabling the steering function may inhibit the beaconing of SSID information when an AP is not admitting clients, additionally any desirable effect of enabling a steering function known or convenient may be implemented.
If the result of determination module 706 is yes then the flowchart proceeds to module 708 and 710, which together manage a safety valve. A timer may be used to implement the safety valve to limit the duration of the steering function for any particular client. Alternatively, a counter or other means may be used to implement the safety valve. Various clients manufactured by different vendors have their differing probing, authentication and association patterns, whereby counting the client-generated events may be an unreliable means of assessing the client's situation Thus, any manner of implementing a safety valve known or convenient may be used. The safety valve may be dynamically adjusted, either by the controllers or by the AP itself based on certain criteria to meet application requirements.
If the result of determination module 706 is no then the flowchart proceeds to module 714 with process and send response. Having processed and sent the response, the flowchart terminates.
In the example of FIG. 7, the flowchart proceeds to determination module 710 with deciding: is the duration >safety value?
If the result of the determination module 710 is yes then the flowchart proceeds to module 714 with process and send response. Having processed and sent the response, the flowchart terminates.
If the result of the determination module 710 is no then the flowchart proceeds to module 712 with providing no response. Having provided no response, the flowchart terminates
FIG. 8 depicts a diagram 800 of an example a system steering a client from a first AP to a second AP. FIG. 8 includes controller 802, network 804, AP 806-1, AP 806-2, AP 806-n (collectively APs 806), client 808, and balanced client 810.
In the example of FIG. 8, the controller 802 includes functionally to instruct an AP to de-authenticate a client, and to prevent the client from re-association to that AP. When steering associated clients is desired, a de-authentication command may be sent to a client on an overloaded AP. Because the AP is overloaded it may have its steering function activated. The de-authenticated client may have a tendency to associate to a different AP, improving the balance of the load on the AP by decreasing the number of associated clients. A safety valve timer value may be set to suit the characteristics of a particular network installation. In a non-limiting example, physical density of access points is high and a de-authenticated client may be very likely to be able to find an alternative AP; thus, the safety valve can be set to a very large value so that the previously associated AP will remain invisible to the client until after the client has associated elsewhere. Alternatively, in a less dense deployment, the safety valve may be set to a moderate value so that the client may possibly re-associate with the previously associated AP in case there are no other suitable APs within range of the client.
It may be possible that APs allowing admittance receive a burst of requests for probe, authentication and association from clients, and responses to clients have been already sent before the controller commands a change of admittance state. To meet the application requirements, either the associated clients may be later steered, or the admittance policy may be evaluated before granting the association request. If the policy shows that the AP has reached the watermark to shut down the admittance, the AP may decline association requests from clients and the controller should activate the AP's steering function.
In the example of FIG. 8, the network 804 may be a wired network, or other known or convenient manner of connecting a controller to APs 806. Network 804 may be an un-tethered network, where APs 806 are not connected by wires, but instead repeat transmissions via other APs.
In the example of FIG. 8, the APs 806 may be access points capable of associating clients and receiving instructions from controller 802.
In the example of FIG. 8, the client 808 may be any computing device capable of WLAN communication and may be associated with AP 806-1. If client 808 is to associate with AP 806-1, then AP 806-1 may be unbalanced in terms of its client load.
In the example of FIG. 8, the balanced client 810 may be a client associated with the AP 806-2. By preventing client 808 from associating with AP 806-1, client 808 may instead associate with AP 806-2 as the balanced client 810.
In the example of FIG. 8, in operation, the AP 806-1 has exceeded a client threshold, and client 808 is an associated client of AP 806-1. Controller 802 instructs AP 806-1 to de-authenticate client 808 and to not re-associate. By doing so, AP 806-2 will gain a client, and this will balance the load on AP 806-1. Client 808 is de-authenticated, and proceeds to associate with AP 806-2 as balanced client 810.
FIG. 9 depicts a flowchart 900 of an example of a method for steering a client to a different AP. The method is organized as a sequence of modules in the flowchart 900. However, it should be understood that these and modules associated with other methods described herein may be reordered for parallel execution or into different sequences of modules.
In the example of FIG. 9, the flowchart starts at module 902 with deciding to steer an associated client. The controller may have a variety of reasons for deciding to steer an associated client. One reason may be to balance a network load. An overloaded AP may have a client steered to an under-loaded AP thereby balancing the network. The overloaded AP may be instructed to deny the client re-association.
In the example of FIG. 9, the flowchart continues to module 904 with sending a de-authentication to the associated client. The client may be simply informed that it will not longer be in communication with the AP, and the client is disconnected.
In the example of FIG. 9, the flowchart continues to module 906 with activate steering function and reset an AP's steering duration. In activating the steering function, the AP ignores any requests from the client to re-associate. The client is instead forced to associated with another AP to continue to use the network.
In the example of FIG. 9, the flowchart continues to module 908 with client associates with another AP in the network. The client is now associated with another AP that had a lower load, and could thus accommodate additional clients. Having associated with another AP in the network, the flowchart terminates.
FIG. 10 depicts a diagram 1000 of an example of a device capable of load balancing. The system 1000 may be a conventional computer system that can be used as a client computer system, such as a wireless client or a workstation, or a server computer system. The computer system 1000 includes a device 1002, I/O devices 1004, radio 1024, and a display device 1006. The device 1002 includes a processor 1008, a communications interface 1010, memory 1012, display controller 1014, non-volatile storage 1016, I/O controller 1018, and clock 1020. The device 1002 may be coupled to or include the I/O devices 1004 display device 1006, and radio 1024.
The device 1002 interfaces to external systems through the communications interface 1010, which may include a modem or network interface. It will be appreciated that the communications interface 1010 can be considered to be part of the system 1000 or a part of the device 1002. The communications interface 1010 can be an analog modem, ISDN modem, cable modem, token ring interface, ethernet interface, wireless 802.11 interface, satellite transmission interface (e.g. “direct PC”), or other interfaces for coupling a computer system to other computer systems.
The processor 1008 may be, for example, a conventional microprocessor such as an Intel Pentium microprocessor or Motorola power PC microprocessor. The memory 1012 is coupled to the processor 1008 by a bus 1020. The memory 1012 can be Dynamic Random Access Memory (DRAM) and can also include Static RAM (SRAM). The bus 1020 couples the processor 1008 to the memory 1012, also to the non-volatile storage 1016, to the display controller 1014, and to the I/O controller 1018.
The I/O devices 1004 can include a keyboard, disk drives, printers, a scanner, and other input and output devices, including a mouse or other pointing device. The display controller 1014 may control in the conventional manner a display on the display device 1006, which can be, for example, a cathode ray tube (CRT) or liquid crystal display (LCD). The display controller 1014 and the I/O controller 1018 can be implemented with conventional well known technology.
The non-volatile storage 1016 is often a magnetic hard disk, an optical disk, or another form of storage for large amounts of data. Some of this data is often written, by a direct memory access process, into memory 1012 during execution of software in the device 1002. One of skill in the art will immediately recognize that the terms “machine-readable medium” or “computer-readable medium” includes any type of storage device that is accessible by the processor 1008 and also encompasses a carrier wave that encodes a data signal.
Clock 1020 can be any kind of oscillating circuit creating an electrical signal with a precise frequency. In a non-limiting example, clock 1020 could be a crystal oscillator using the mechanical resonance of vibrating crystal to generate the electrical signal.
Radio 1024 may be any combination of known or convenient electrical components including by way of example, but not limitation, transistors, capacitors, resistors, multiplexers, wiring, registers, diodes or any other electrical components known or convenient.
The system 1000 is one example of many possible computer systems which have different architectures. For example, personal computers based on an Intel microprocessor often have multiple buses, one of which can be an I/O bus for the peripherals and one that directly connects the processor 1008 and the memory 1012 (often referred to as a memory bus). The buses are connected together through bridge components that perform any necessary translation due to differing bus protocols.
Network computers are another type of computer system that can be used in conjunction with the teachings provided herein. Network computers do not usually include a hard disk or other mass storage, and the executable programs are loaded from a network connection into the memory 1012 for execution by the processor 1008. A Web TV system, which is known in the art, is also considered to be a computer system, but it may lack some of the features shown in FIG. 10, such as certain input or output devices. A typical computer system will usually include at least a processor, memory, and a bus coupling the memory to the processor.
In addition, the system 1000 is controlled by operating system software which includes a file management system, such as a disk operating system, which is part of the operating system software. One example of operating system software with its associated file management system software is the family of operating systems known as Windows® from Microsoft Corporation of Redmond, Wash., and their associated file management systems. Another example of operating system software with its associated file management system software is the Linux operating system and its associated file management system. The file management system is typically stored in the non-volatile storage 1016 and causes the processor 1008 to execute the various acts required by the operating system to input and output data and to store data in memory, including storing files on the non-volatile storage 1016.
Some portions of the detailed description are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
The present invention, in some embodiments, also relates to apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language, and various embodiments may thus be implemented using a variety of programming languages.

## Claims

1. A method comprising:
determining, by a network device, that a first number of clients associated with a first access point (AP) is less than a second number of clients associated with a second AP;
setting, by the network device, a target load threshold associated with the first AP, where the target load threshold is based on the second number of clients;
disabling, by the network device, association capabilities, of the first AP, for associating additional clients with the first AP when the first number of clients exceeds the target load threshold; and
applying, by the network device and based on the association capabilities of the first AP being disabled, a limits test to a first coverage area, associated with the first AP, and to a second coverage area, associated with the second AP, where the limits test is applied to determine an area of overlap between the first coverage area and the second coverage area.

2. The method of claim 1 further comprising:
calculating, based on the first number of clients and the second number of clients, an aggregate load associated with the first AP and the second AP; and
redistributing the aggregate load to the first AP and the second AP, where the one or more of the first number of clients are steered to the second AP based on the redistribution of the aggregate load.

3. The method of claim 1, where applying the limits test further comprises:
interpolating between a limit of the first coverage area and a limit of the second coverage area to determine the area of overlap, where the area of overlap is determined in terms of a smaller of the first coverage area and the second coverage area.

4. A system comprising:
a network device including:
an overlap calculation engine to determine an area of overlap between an access point (AP) and another AP,
a target load calculation engine coupled to the overlap calculation engine, and
an admittance determining engine coupled to the target load calculation engine,

where the target load calculation engine calculates a target load for the AP based on data determined by the overlap calculation engine; and
where the admittance determining engine:
determines whether a number of clients associated with the AP exceeds a threshold number of clients, and
sends, when the number of clients exceeds the threshold number of clients, instructions to the AP to close a safety valve based on the determination, where closing the safety valve causes one or more of clients, seeking to associate with the AP, to be steered to the other AP.

5. The system of claim 4, where the admittance determining engine:
generates, based on determining whether the number of clients exceeds the threshold number of clients, a value between zero and one that is included in the instructions sent to the AP, where the value comprises zero when the AP is to not admit additional clients, the value comprises one when the AP is to admit the additional clients, and the value is less than one and greater than zero when the AP is to admit some, but not all of the additional clients.

6. The system of claim 4, where, based on the instructions, clients are steered from the AP to the other AP.

7. The system of claim 4, where the network device:
receives a message, from a controller associated with an access area that is different than an access area associated with the AP, the message including information about APs in the access area associated with the controller, and
calculates, based on the message, the target load to steer clients to the access area associated with the controller.

8. The system of claim 4, where a timer limits the duration of the closure of the safety valve to a time determined by the network device.

9. The system of claim 4, where, based on the calculated target load, the network device transmits a message to a controller, associated with an access area that is different than an access area associated with the AP, to cause the controller to steer clients to the AP.

10. A method comprising:
receiving a report that a first access point (AP), associated with a local access area, is in communication with a second AP, associated with a non-local access area;
identifying a controller associated with the non-local access area;
transmitting a message to the controller;
receiving a message from the controller, the message including a current client load on the second AP;
calculating an overlap between the first AP and the second AP;
calculating a target load for the first AP;
generating, based on determining whether a number of clients associated with the first AP exceeds the target load, a value between zero and one; and
transmitting, to the first AP, instructions including the generated value, where the value comprises zero when the first AP is to not admit additional clients, the value comprises one when the first AP is to admit the additional clients, and the value is less than one and greater than zero when the first AP is to admit some, but not all of the additional clients.

11. The method of claim 10, where the message is transmitted to the controller based on:
the first AP being in radio communication with the second AP in the non-local access area, controlled by the controller, and
the second AP and the first AP being associated with different access areas.

12. A network device comprising:
a controller to:
determine that a first number of clients associated with a first access point (AP) is less than a second number of clients associated with a second AP,
set, based on the second number of clients, a target load threshold associated with the first AP,
disable, when the first number of clients exceeds the target load threshold, association capabilities of the first AP, for associating additional clients with the first AP,
apply, based on disabling the association capabilities, a limits test to a first coverage area, associated with the first AP, and a second coverage area, associated with the second AP, to determine an area of overlap between the first coverage area and the second coverage area.

13. The network device of claim 12, where, when disabling the association capabilities, the controller is to:
calculate, based on the target load threshold, a value, and
include the value in instructions transmitted to the first AP, where the value comprises:
a first value to indicate that the first AP is to prevent all of the additional clients from associating with the first AP, or
a second value to indicate that the first AP is to prevent less than all the additional clients from associating with the first AP.