CN105764094A - Hybrid load balancing method and device - Google Patents
Hybrid load balancing method and device Download PDFInfo
- Publication number
- CN105764094A CN105764094A CN201610080249.7A CN201610080249A CN105764094A CN 105764094 A CN105764094 A CN 105764094A CN 201610080249 A CN201610080249 A CN 201610080249A CN 105764094 A CN105764094 A CN 105764094A
- Authority
- CN
- China
- Prior art keywords
- load
- client
- mixed
- load ratio
- ratio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a hybrid load balancing method and device. The method is applied to the AC in a wireless network. The method comprises the steps that a connection request message of a client side to be accessed transmitted by a first AP is received, and the first AP is an AP which can be scanned by the client side to be accessed and is in the state of being correlated with the AC; the hybrid load ratio of the first AP is determined according to the current client side load value of the first AP and the current traffic load value of the first AP, and the hybrid load ratio is used for representing the load degree of the first AP; whether the first AP meets the hybrid load balancing conditions is judged according to the hybrid load ratio of the first AP; and if the first AP meets the hybrid load balancing conditions, a second AP which can perform hybrid load balancing with the first AP is determined and the client side to be accessed is controlled to be accessed to the second AP. Therefore, accuracy of hybrid load balancing can be enhanced by the hybrid load balancing method and device.
Description
Technical field
The application relates to network communication technology field, particularly relates to a kind of mixed load equalization methods and device.
Background technology
Along with the development of the network communications technology, in wireless network, the importance of load balancing between each access point (AccessPoint, AP) is also more and more important.In prior art, the access controller (AccessController, AC) in wireless network can the balanced both of which of holding load: conversation modes and flow rate mode.But, after AC starts the load balancing of conversation modes or flow rate mode, owing to load-sharing mode is single, it may appear that the situation that the accuracy of load balancing is not high.
Summary of the invention
The application provides a kind of mixed load equalization methods and device, to solve in prior art owing to load-sharing mode is single, it may appear that the problem that the accuracy of load balancing is not high.
First aspect according to the embodiment of the present application, it is provided that a kind of mixed load equalization methods, described method is applied on the access controller AC in wireless network, including:
Receiving the AP connection request message of client to be accessed sent, a described AP is an AP can scanning of described client to be accessed and is in association status with described AC;
Determine the mixed load ratio of an AP according to the traffic load value that current for an AP client load value and the oneth are current for AP, described mixed load ratio is for characterizing the loading level of an AP;
Mixed load ratio according to a described AP judges whether a described AP meets mixed load equilibrium condition;
If a described AP meets described mixed load equilibrium condition, it is determined that the 2nd AP that mixed load is balanced can be carried out with a described AP, and control described client to be accessed described 2nd AP of access.
Second aspect according to the embodiment of the present application, it is provided that a kind of mixed load balancer, described device is applied on the access controller AC in wireless network, including:
Receiving unit, for receiving the AP connection request message of client to be accessed sent, a described AP is an AP can scanning of described client to be accessed and is in association status with described AC;
Determining unit, determine the mixed load ratio of an AP for the traffic load value that the client load value current for AP according to the oneth and the oneth are current for AP, described mixed load ratio is for characterizing the loading level of an AP;
For the mixed load ratio according to a described AP, judging unit, judges whether a described AP meets mixed load equilibrium condition;
Load Balance Unit, if meeting described mixed load equilibrium condition for a described AP, it is determined that can carry out the 2nd AP that mixed load is balanced with a described AP, and control described client to be accessed described 2nd AP of access.
nullApplication the embodiment of the present application,When receiving the connection request message of the AP client to be accessed sent,The mixed load ratio of an AP can be determined according to the traffic load value that current for an AP client load value and the oneth are current for AP,This mixed load ratio is for characterizing the loading level of an AP,And the mixed load ratio according to an AP judges whether an AP meets mixed load equilibrium condition,If an AP meets mixed load equilibrium condition,It is determined to carry out, with a described AP, the 2nd AP that mixed load is balanced,And control described client to be accessed described 2nd AP of access,The loading level of the oneth AP all can be had a direct impact by the oneth current for AP client load value and current for an AP traffic load value,And also can all play critical effect to whether carrying out mixed load equilibrium,Thus improve the accuracy that mixed load is balanced.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram that application the embodiment of the present application mixed load is balanced;
Fig. 2 is an embodiment flow chart of the application mixed load equalization methods;
Fig. 3 is another embodiment flow chart of the application mixed load equalization methods;
Fig. 4 is a kind of hardware architecture diagram of the application mixed load balancer place equipment;
Fig. 5 is an embodiment block diagram of the application mixed load balancer.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings.When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the application.On the contrary, they only with in appended claims describe in detail, the application some in the example of consistent apparatus and method.
It is only merely for the purpose describing specific embodiment at term used in this application, and is not intended to be limiting the application." one ", " described " and " being somebody's turn to do " of the singulative used in the application and appended claims is also intended to include most form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and comprises any or all of one or more project of listing being associated and be likely to combination.
Although should be appreciated that and be likely to adopt term first, second, third, etc. to describe various information in the application, but these information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other out same type of information.Such as, when without departing from the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... " or " in response to determining ".
Referring to Fig. 1, for the application scenarios schematic diagram that application the embodiment of the present application mixed load is balanced.This application scenarios is a wireless network, and this wireless network includes AC, switch Switch, AP1, AP2, client 1, client 2 and client 3.Wherein, AP1 and AP2 is associated with on AC by switch Switch, and client 1 is associated with AP1, and client 2 is associated with AP2, and client 3 is the client of wireless network to be accessed, and this client 3 can scan AP1 and AP2 simultaneously.
After client 3 sends connection request message to AP1, AP1 can send client 3 request to AC and access the connection request message of AP1.AC is after receiving this connection request message, and AC can calculate the mixed load ratio of AP1 according to the current traffic load value of client load value current for AP1 and AP1, and judges that whether the mixed load ratio of this AP1 is more than pre-configured ratio thresholding.Wherein, the size of mixed load ratio of AP1 is directly proportional to the loading level of AP1.
If the mixed load ratio of AP1 is more than pre-configured ratio thresholding, then calculates mixed load ratio difference between AP1 and AP2, and judge that between AP1 and AP2, whether mixed load ratio difference is more than pre-configured difference threshold.
If mixed load ratio difference is more than pre-configured difference threshold between AP1 and AP2, enabling mixed load equilibrium, and determine that AP1 has reached mixed load equilibrium condition, namely AP1 is in high load condition, need that AP1 is started mixed load balanced, so needing to control client 3 to be associated with AP2.
Therefore, during the mixed load ratio of above-mentioned calculating AP1, it is not only related to client load value current for AP1, also relate to the current traffic load value of AP1, make client load value current for AP1 and the current traffic load value of AP1 all the mixed load equilibrium of AP1 be created and directly affect, improve the accuracy that mixed load is balanced.
Below in conjunction with accompanying drawing, the application mixed load equilibrium embodiment is described in detail.
Referring to Fig. 2, for an embodiment flow chart of the application mixed load equalization methods, this embodiment AC side from wireless network is described, and comprises the following steps:
Step 210, receives the connection request message of the AP client to be accessed sent, and an AP is that AP Yu AC that client to be accessed can scan is in association status.
Specifically, when client to be accessed is to an AP initiation connection request, it is in an AP of association status with AC and the connection request message of client to be accessed can report to AC, and determined to accept the connection request of client to be accessed by AC and still refuse the connection request of client to be accessed.Wherein, an AP is that client to be accessed can scan and the AP of request access.
Step 220, determines the mixed load ratio of an AP according to the traffic load value that current for an AP client load value and the oneth are current for AP.Wherein, the mixed load ratio of an AP is for characterizing the loading level of an AP.
Specifically, current for an AP client load value also refers to current with the AP client terminal quantity associated.Such as: currently have 5 client associate to an AP, then current for an AP client load value is 5.Oneth current for AP traffic load value also refers to the load flow of reality.Such as: actual load flow is 20M, then current for an AP traffic load value is 20.
The mixed load ratio related in the application can be used to characterize the loading level of corresponding AP, and, the size of mixed load ratio is directly proportional to loading level, and mixed load ratio is more big, and loading level is more high.
Such as: mixed load ratio span is 0 to 200, if the mixed load ratio of an AP is 0, it was shown that an AP does not have load;If the mixed load ratio of an AP is 200, it was shown that full load.
It addition, when determining the mixed load ratio of an AP, it is possible to adopt the mode of inquiry, setting data storehouse directly finds the mixed load ratio that current for the AP client load value traffic load value current for AP with the oneth is corresponding;The mode of calculating can also be adopted, first calculate corresponding client load ratio according to current for an AP client load value, and calculate corresponding flow load ratio according to current for an AP traffic load value, further according to the mixed load ratio that client load ratio is corresponding with flow load ratio calculation.Certainly, also have other to determine the mode of the mixed load ratio of an AP, here just no longer repeat one by one.
According to the mixed load ratio of an AP, step 230, judges whether an AP meets mixed load equilibrium condition.
Specifically, mixed load equilibrium condition is at least satisfied includes three:
(1) AP condition.This AP condition refers to client to be accessed and enables, except the AP that request accesses can also scan other, the AP that mixed load is balanced.
(2) mixed load Ratio Conditions.This mixed load Ratio Conditions refers to the mixed load ratio of the AP receiving connection request message more than pre-configured ratio thresholding, and namely this AP is in high load condition.
(3) mixed load ratio difference condition.This mixed load ratio difference condition refer to the AP that receives connection request message and client scan to be accessed to and enable at least one balanced AP of mixed load mixed load ratio difference more than pre-configured difference threshold, namely ensure have at least can carry out another AP that mixed load is balanced with the AP receiving connection request message.
It should be noted that herein presented all AP refer both to enable the AP that mixed load is balanced, follow-up no longer illustrate.
Step 240, if an AP meets mixed load equilibrium condition, it is determined that can carry out the 2nd AP that mixed load is balanced with an AP, and control client to be accessed access the 2nd AP.
Specifically, if an AP meets mixed load equilibrium condition, it is possible to instruction the oneth AP refuses the connection request of client to be accessed.
If only one of which can carry out, with an AP, the 3rd AP that mixed load is balanced, 3rd AP is another AP that can scan of client to be accessed and is in association status with AC, it is possible to directly be defined as to carry out, with an AP, the 2nd AP that mixed load is balanced by the 3rd AP.
Multiple can carry out, with an AP, the 3rd AP that mixed load is balanced, it is possible to be defined as to carry out, with an AP, the 2nd AP that mixed load is balanced by the 3rd corresponding for minima in the mixed load ratio of each the 3rd AP AP if having;Can also be defined as can carrying out, with an AP, the 2nd AP that mixed load is balanced by the 3rd corresponding for the maximum in the mixed load ratio difference between an AP and each the 3rd AP AP.
nullAs seen from the above-described embodiment,When receiving the connection request message of the AP client to be accessed sent,The mixed load ratio of an AP can be determined according to the traffic load value that current for an AP client load value and the oneth are current for AP,This mixed load ratio is for characterizing the loading level of an AP,And the mixed load ratio according to an AP judges whether an AP meets mixed load equilibrium condition,If an AP meets mixed load equilibrium condition,Then it is determined to carry out, with an AP, the 2nd AP that mixed load is balanced,And control client associate to be accessed to the 2nd AP,The loading level of the oneth AP all can be had a direct impact by the oneth current for AP client load value and current for an AP traffic load value,And also can all play critical effect to whether carrying out mixed load equilibrium,Thus improve the accuracy that mixed load is balanced.
Referring to Fig. 3, for another embodiment flow chart of the application mixed load equalization methods, this embodiment AC side from wireless network is described, and in conjunction with embodiment illustrated in fig. 2, comprises the following steps:
Step 300, receives the AP connection request message of client to be accessed sent, and an AP is an AP can scanning of client to be accessed and is in association status with AC.This step is identical with step 210, here repeats no more.
Step 310, determines the client load ratio of an AP according to current for an AP client load value.
Specifically, the client load ratio of an AP is for characterizing AP loading level in client, and client load ratio is directly proportional to the loading level of client aspect.
Such as: client load ratio is 0 to 100, if the client load ratio of an AP is 0, it was shown that an AP does not have associated clients;If the mixed load ratio of an AP is 100, it was shown that the quantity of the associated clients of an AP reaches full load.
It addition, the mode of inquiry can be adopted at the client load ratio determining an AP, inquire about, in setting form, the client load ratio that current client load value is corresponding.
The mode of calculating can also be adopted, including:
(1) current for an AP client load value and pre-configured client load maximum are obtained.Wherein, pre-configured client load maximum can be a fixing parameter, and configure in advance according to the performance of an AP.Such as: pre-configured client load maximum is 50.
(2) calculate the business of current for an AP client load value and pre-configured client load maximum, obtain the client load ratio of an AP.Wherein, the calculating process of this client load ratio, it is possible to as shown in formula (1).
Client_Percent=Num_Client ÷ Max_Client................................. (1)
Wherein, Client_Percent is client load ratio, and Num_Client is current client load value, and Max-Client is pre-configured client load maximum.
Such as: Num_Client is 5, Max-Client is 50, then it is 10% according to formula (1) calculated Client_Percent.
Owing in a computer, integer is easy to data transmission and data calculate.So, it is possible to adopt formula (2) to calculate the client load ratio of an AP.
Client_Percent=(Num_Client ÷ Max-Client) × 100...................... (2)
Wherein, calculated Client_Percent is integer, if Client_Percent is more than 100, to be also 100 by Client_Percent value so that the span of Client_Percent is 0 to 100.
Such as: Num_Client is 5, Max-Client is 50, then it is 10 according to formula (2) calculated Client_Percent.
Step 320, determines the flow load ratio of an AP according to current for an AP traffic load value.
Specifically, the flow load ratio of an AP.For characterizing AP loading level in flow, flow load ratio is directly proportional to the loading level of flow aspect.
Such as: flow load ratio is 0 to 100, if the flow load ratio of an AP is 0, it was shown that an AP does not add inbound traffics;If the flow load ratio of an AP is 100, it was shown that the flow of the addition of an AP reaches full load.
It addition, the mode of inquiry can be adopted at the flow load ratio determining an AP, inquire about, in setting form, the flow load ratio that current traffic load value is corresponding.
The mode of calculating can also be adopted, including:
(1) current for an AP traffic load value and pre-configured flow load maximum are obtained.Wherein, pre-configured flow load maximum can be a fixing parameter, and configure in advance according to the performance of an AP.Such as: pre-configured flow load maximum is 100M.
(2) calculate the business of current for an AP traffic load value and pre-configured flow load maximum, obtain the flow load ratio of an AP.Wherein, the calculating process of this flow load ratio, it is possible to as shown in formula (3).
Traffic_Percent=Num_Traffic ÷ Max_Traffic........................... (3)
Wherein, Traffic_Percent is flow load ratio, and Num_Traffic is current traffic load value, and Max_Traffic is pre-configured flow load maximum.
Such as: Num_Traffic is 20, Max_Traffic is 100, then it is 20% according to formula (3) calculated Traffic_Percent.
Owing in a computer, integer is easy to data transmission and data calculate.So, it is possible to adopt formula (4) to calculate the flow load ratio of an AP.
Traffic_Percent=(Num_Traffic ÷ Max_Traffic) × 100..................... (4)
Wherein, calculated Traffic_Percent is integer.If Traffic_Percent is more than 100, to be also 100 by Traffic_Percent value so that the span of Traffic_Percent is 0 to 100.
Such as: Num_Traffic is 20, Max_Traffic is 100, then it is 20 according to formula (4) calculated Traffic_Percent.
Step 330, determines the mixed load ratio of an AP according to client load ratio and flow load ratio.
Specifically, it is determined that the method for the mixed load ratio of an AP is a lot, such as: directly calculate client load ratio and flow load ratio sum, obtain the mixed load ratio of an AP.Wherein, the calculating process of this mixed load ratio, it is possible to as shown in formula (5).
Load_Percent=Client_Percent+Traffic_Percent............. ... ... (5)
Wherein, Load_Percent is mixed load ratio, and Client_Percent is client load ratio, and Traffic_Percent is flow load ratio.
Such as: Client_Percent is 10, Traffic_Percent is 20, then Load_Percent is 30.
Furthermore it is also possible to pre-set the weighted value for client load and the weighted value for flow load ratio according to practical situation.Such as: an AP lays particular emphasis on client load, then the weighted value for client load can be set more than the weighted value for flow load ratio.So, when calculating the mixed load ratio of an AP, can be considered for the weighted value of client load, client load ratio, for the weighted value of flow load ratio, flow load ratio these four because usually calculating, concrete calculating process is here not described in detail.
Above-mentioned steps 310 to step 330 completes the client load value current for AP according to the oneth and current for an AP traffic load value determines the function of mixed load ratio of an AP.
Step 340, it is judged that whether the mixed load ratio of an AP is more than pre-configured ratio thresholding.
Specifically, pre-configured ratio thresholding is the AC threshold value arranged in advance according to the performance of an AP, if the mixed load ratio of an AP is more than pre-configured ratio thresholding, it was shown that an AP enters high load condition, meets the mixed load Ratio Conditions in mixed load equilibrium condition.
Such as: the span of mixed load ratio is 0-200, pre-configured ratio thresholding is 180, if the mixed load ratio of an AP is more than 180, indicates that an AP enters high load condition, it is necessary to run mixed load balanced.
Step 350, if the mixed load ratio of an AP is more than pre-configured ratio thresholding, then determines from each AP of wireless network that at least one the 3rd AP, the 3rd AP are another AP that can scan of client to be accessed and are in association status with AC.
Specifically, client to be accessed can regularly send scanning message, this scanning message can be reported AC by each AP receiving this scanning message, so, AC just can determine, according to the scanning message that each AP sends, all AP that this client to be accessed can scan.
Step 360, calculates the mixed load ratio of each the 3rd AP.
Step 370, calculates the difference of the mixed load ratio of an AP and the mixed load ratio of each the 3rd AP, obtains the mixed load ratio difference between an AP and each the 3rd AP.
Specifically, when calculating mixed load ratio difference, it is necessary to first determine from each AP of wireless network that at least one the 3rd AP, the 3rd AP are another AP that can scan of client to be accessed and are in association status with AC..
If only one of which the 3rd AP, directly calculate the mixed load ratio of the 3rd AP, and calculate the mixed load ratio of an AP and the difference of the mixed load ratio of the 3rd AP, obtain the mixed load ratio difference between an AP and the 3rd AP.
If there being multiple 3rd AP, it is possible to calculate the mixed load ratio of each the 3rd AP, and calculate the mixed load ratio of an AP and the difference of the mixed load ratio of each the 3rd AP, obtain the mixed load ratio difference between an AP and each the 3rd AP.
Additionally, if there being multiple 3rd AP, can first calculate the mixed load ratio of the 3rd AP, and calculate the mixed load ratio of an AP and the difference of the mixed load ratio of the 3rd AP, obtain the mixed load ratio difference between an AP and the 3rd AP, then judge that whether this mixed load ratio difference is more than pre-configured difference threshold, if more than pre-configured difference threshold, just no longer calculating the 3rd AP below;If being not greater than, then calculating next 3rd AP, until having the mixed load ratio difference of the 3rd AP more than pre-configured difference threshold, just no longer calculating.
Step 380, if at least one mixed load ratio difference is more than pre-configured difference threshold, it is determined that an AP meets mixed load equilibrium condition.
Specifically, pre-configured ratio thresholding is the AC threshold value arranged in advance according to the practical situation of each AP in wireless network.Such as: the difference threshold of configuration is 100.
If having a mixed load ratio difference more than pre-configured difference threshold, it was shown that wireless network exists another AP that can scan compared to client relatively more idle and to be accessed, it is possible to help an AP to carry out load balancing.
Such as: pre-configured difference threshold is 100, the mixed load ratio of the oneth AP is 180, the mixed load ratio of the 3rd AP is 60, then the mixed load ratio difference between a calculated AP and the 3rd AP is 120, and more than pre-configured difference threshold, now show the 3rd AP relative free, it is possible to help an AP to carry out load balancing.
The mixed load ratio that above-mentioned steps 340 to step 380 completes according to an AP judges whether an AP meets the function of mixed load equilibrium condition.
Step 390, if an AP meets mixed load equilibrium condition, it is determined that can carry out the 2nd AP that mixed load is balanced with an AP, and control client to be accessed access the 2nd AP.This step is identical with step 240, here repeats no more.
As seen from the above-described embodiment, when the traffic load value that the client load value current for AP according to the oneth and the oneth are current for AP determines the mixed load ratio of an AP, the mixed load ratio of the first AP all can be obtained by different computational methods, judge whether to, thus accelerating, the speed of decision that mixed load is balanced, and then improve the efficiency that mixed load is balanced.
In another embodiment, AC is also provided with alarm function, it is achieved process includes:
If detecting within the setting time, the mixed load ratio of an AP is all more than pre-configured ratio thresholding, then export the warning information of an AP.
Specifically, the mixed load ratio of an AP is not only and is decided whether to enable the condition that mixed load is balanced, or the real embodiment of an AP current load degree.If the mixed load ratio of an AP is for a long time more than pre-configured ratio thresholding, show an AP and be chronically at high load condition, now need the warning information of output the oneth AP, so that network manager can know the loading level of an AP in time according to warning information, and take corresponding safety measure.Such as: increase the quantity of AP, optimize channel or change high performance AP etc..
As seen from the above-described embodiment, by outputting alarm information, it is ensured that the safety of each AP in wireless network, be conducive to optimizing further the service performance of whole wireless network.
Corresponding with aforementioned mixed load equalization methods embodiment, present invention also provides the embodiment of mixed load balancer.
The embodiment of the application mixed load balancer can be applied on AC in the wireless network.Device embodiment can be realized by software, it is also possible to is realized by the mode of hardware or software and hardware combining.Implemented in software for example, as the device on a logical meaning, it is that computer program instructions corresponding in nonvolatile memory is read to run in internal memory and formed by the processor by its place equipment.Say from hardware view; as shown in Figure 4; a kind of hardware architecture diagram for the application mixed load balancer place equipment; except the processor shown in Fig. 4, network interface, internal memory and nonvolatile memory; in embodiment, the equipment at device place generally can also include other hardware, such as the forwarding chip etc. of responsible process message;This equipment from hardware configuration is it is also possible that distributed equipment, it is possible to include multiple interface card, in order to carry out the extension of Message processing at hardware view.
Referring to Fig. 5, an embodiment block diagram for the application mixed load balancer, this device can be applied on AC in the wireless network, and may be used for performing the mixed load equalization methods shown in Fig. 2 or Fig. 3, it is possible to including: receive unit 51, determine unit 52, judging unit 53 and Load Balance Unit 54.
Wherein, receiving unit 51 for receiving the connection request message of the AP client to be accessed sent, a described AP is an AP can scanning of described client to be accessed and is in association status with described AC;
Determining that unit 52 determines the mixed load ratio of an AP for the traffic load value that the client load value current for AP according to the oneth and the oneth are current for AP, described mixed load ratio is for characterizing the loading level of an AP;
For the mixed load ratio according to a described AP, judging unit 53 judges whether a described AP meets mixed load equilibrium condition;
If Load Balance Unit 54 meets described mixed load equilibrium condition for a described AP, it is determined that the 2nd AP that mixed load is balanced can be carried out with a described AP, and control described client to be accessed described 2nd AP of access.
In an optional implementation, described determine that unit 52 includes: first determine subelement, second determine that subelement (not shown in Fig. 5) determined by subelement and the 3rd.
Wherein, first determines that subelement determines the client load ratio of an AP for the client load value current for AP according to the oneth;
Second determines that subelement determines the flow load ratio of an AP for the traffic load value current for AP according to the oneth;
3rd determines that subelement for determining the mixed load ratio of an AP according to described client load ratio and described flow load ratio.
In another optional implementation, described first determines that subelement includes: the first acquisition module and the first computing module (not shown in Fig. 5).
Wherein, the first acquisition module is for obtaining current for an AP client load value and pre-configured client load maximum;
First computing module, for calculating the business of current for an AP client load value and pre-configured client load maximum, obtains the client load ratio of an AP.
Described second determines that subelement includes: the second acquisition module and the second computing module (not shown in Fig. 5).
Wherein, the second acquisition module is for obtaining current for an AP traffic load value and pre-configured flow load maximum;
Second computing module, for calculating the business of current for an AP traffic load value and pre-configured flow load maximum, obtains the flow load ratio of an AP.
Described 3rd determines that subelement includes: the 3rd computing module (not shown in Fig. 5).
Wherein, the 3rd computing module is used for calculating described client load ratio and described flow load ratio sum, obtains the mixed load ratio of a described AP.
In another optional implementation, described judging unit 53 includes: judgment sub-unit, the 4th determine that subelement, the first computation subunit, the second computation subunit and the 5th determine subelement (not shown in Fig. 5).
Wherein, it is judged that whether subelement is used for the mixed load ratio judging a described AP more than pre-configured ratio thresholding;
If the 4th determines that the subelement mixed load ratio for a described AP is more than pre-configured ratio thresholding, from each AP of described wireless network, then determine that at least one the 3rd AP, described 3rd AP are another AP that can scan of described client to be accessed and are in association status with described AC;
First computation subunit is for calculating the mixed load ratio of each described 3rd AP;
Second computation subunit is used for the difference of the mixed load ratio calculating a described AP and the mixed load ratio of each described 3rd AP, obtains the mixed load ratio difference between a described AP and each described 3rd AP;
If the 5th determine subelement for mixed load ratio difference at least one described more than pre-configured difference threshold, it is determined that a described AP meets described mixed load equilibrium condition.
In another optional implementation, described Load Balance Unit 54 includes: the 6th determines that subelement (not shown in Fig. 5) determined by subelement or the 7th.
Wherein, the 6th determines that subelement is for being defined as described 2nd AP by the 3rd corresponding for the minima of described mixed load ratio AP;
7th determines that subelement is for being defined as described 2nd AP by the 3rd corresponding for the maximum of described mixed load ratio difference AP.
In another optional implementation, this device can also include: Alarm Unit (not shown in Fig. 5).
Wherein, if Alarm Unit is used for a mixed load ratio AP being detected within the setting time all more than pre-configured ratio thresholding, then the warning information of an AP is exported.
What in said apparatus, the function of unit and the process that realizes of effect specifically referred in said method corresponding step realizes process, does not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method.Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the application scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all within spirit herein and principle, any amendment of making, equivalent replacements, improvement etc., should be included within the scope that the application protects.
Claims (12)
1. a mixed load equalization methods, it is characterised in that described method is applied on the access controller AC in wireless network, including:
Receiving the AP connection request message of client to be accessed sent, a described AP is an AP can scanning of described client to be accessed and is in association status with described AC;
Determine the mixed load ratio of an AP according to the traffic load value that current for an AP client load value and the oneth are current for AP, described mixed load ratio is for characterizing the loading level of an AP;
Mixed load ratio according to a described AP judges whether a described AP meets mixed load equilibrium condition;
If a described AP meets described mixed load equilibrium condition, it is determined that the 2nd AP that mixed load is balanced can be carried out with a described AP, and control described client to be accessed described 2nd AP of access.
2. method according to claim 1, it is characterised in that the described traffic load value current for AP according to current for an AP client load value and the oneth determines the mixed load ratio of an AP, including:
The client load ratio of an AP is determined according to current for an AP client load value;
The flow load ratio of an AP is determined according to current for an AP traffic load value;
The mixed load ratio of an AP is determined according to described client load ratio and described flow load ratio.
3. method according to claim 2, it is characterised in that
The described client load ratio determining an AP according to current for an AP client load value, including:
Obtain current for an AP client load value and pre-configured client load maximum;
Calculate the business of current for an AP client load value and pre-configured client load maximum, obtain the client load ratio of an AP;
The described flow load ratio determining an AP according to current for an AP traffic load value, including:
Obtain current for an AP traffic load value and pre-configured flow load maximum;
Calculate the business of current for an AP traffic load value and pre-configured flow load maximum, obtain the flow load ratio of an AP;
The described mixed load ratio determining an AP according to described client load ratio and described flow load ratio, including:
Calculate described client load ratio and described flow load ratio sum, obtain the mixed load ratio of a described AP.
4. method according to claim 1, it is characterised in that the described mixed load ratio according to a described AP judges whether a described AP meets mixed load equilibrium condition, including:
Judge that whether the mixed load ratio of a described AP is more than pre-configured ratio thresholding;
If the mixed load ratio of a described AP is more than pre-configured ratio thresholding, from each AP of described wireless network, then determine that at least one the 3rd AP, described 3rd AP are another AP that can scan of described client to be accessed and are in association status with described AC;
Calculate the mixed load ratio of each described 3rd AP;
Calculate the difference of the mixed load ratio of a described AP and the mixed load ratio of each described 3rd AP, obtain the mixed load ratio difference between a described AP and each described 3rd AP;
If at least one described mixed load ratio difference is more than pre-configured difference threshold, it is determined that a described AP meets described mixed load equilibrium condition.
5. method according to claim 4, it is characterised in that described in be determined to carry out, with a described AP, the 2nd AP that mixed load is balanced, including:
The 3rd corresponding for the minima of described mixed load ratio AP is defined as described 2nd AP;Or
The 3rd corresponding for the maximum of described mixed load ratio difference AP is defined as described 2nd AP.
6. method according to claim 1, it is characterised in that described method also includes:
If detecting within the setting time, the mixed load ratio of an AP is all more than pre-configured ratio thresholding, then export the warning information of an AP.
7. a mixed load balancer, it is characterised in that described device is applied on the access controller AC in wireless network, including:
Receiving unit, for receiving the AP connection request message of client to be accessed sent, a described AP is an AP can scanning of described client to be accessed and is in association status with described AC;
Determining unit, determine the mixed load ratio of an AP for the traffic load value that the client load value current for AP according to the oneth and the oneth are current for AP, described mixed load ratio is for characterizing the loading level of an AP;
For the mixed load ratio according to a described AP, judging unit, judges whether a described AP meets mixed load equilibrium condition;
Load Balance Unit, if meeting described mixed load equilibrium condition for a described AP, it is determined that can carry out the 2nd AP that mixed load is balanced with a described AP, and control described client to be accessed described 2nd AP of access.
8. device according to claim 7, it is characterised in that described determine that unit includes:
First determines subelement, determines the client load ratio of an AP for the client load value current for AP according to the oneth;
Second determines subelement, determines the flow load ratio of an AP for the traffic load value current for AP according to the oneth;
3rd determines subelement, for determining the mixed load ratio of an AP according to described client load ratio and described flow load ratio.
9. device according to claim 8, it is characterised in that
Described first determines that subelement includes:
First acquisition module, for obtaining current for an AP client load value and pre-configured client load maximum;
First computing module, for calculating the business of current for an AP client load value and pre-configured client load maximum, obtains the client load ratio of an AP;
Described second determines that subelement includes:
Second acquisition module, for obtaining current for an AP traffic load value and pre-configured flow load maximum;
Second computing module, for calculating the business of current for an AP traffic load value and pre-configured flow load maximum, obtains the flow load ratio of an AP;
Described 3rd determines that subelement includes:
3rd computing module, is used for calculating described client load ratio and described flow load ratio sum, obtains the mixed load ratio of a described AP.
10. device according to claim 7, it is characterised in that described judging unit includes:
Whether judgment sub-unit, be used for the mixed load ratio judging a described AP more than pre-configured ratio thresholding;
4th determines subelement, if for the mixed load ratio of a described AP more than pre-configured ratio thresholding, from each AP of described wireless network, then determine that at least one the 3rd AP, described 3rd AP are another AP that can scan of described client to be accessed and are in association status with described AC;
First computation subunit, for calculating the mixed load ratio of each described 3rd AP;
Second computation subunit, is used for the difference of the mixed load ratio calculating a described AP and the mixed load ratio of each described 3rd AP, obtains the mixed load ratio difference between a described AP and each described 3rd AP;
5th determines subelement, if at least one described mixed load ratio difference more than pre-configured difference threshold, it is determined that a described AP meets described mixed load equilibrium condition.
11. device according to claim 10, it is characterised in that described Load Balance Unit includes:
6th determines subelement, for the 3rd corresponding for the minima of described mixed load ratio AP is defined as described 2nd AP;Or
7th determines subelement, for the 3rd corresponding for the maximum of described mixed load ratio difference AP is defined as described 2nd AP.
12. device according to claim 7, it is characterised in that described device also includes:
Alarm Unit, if being used for a mixed load ratio AP being detected within the setting time all more than pre-configured ratio thresholding, then exports the warning information of an AP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610080249.7A CN105764094A (en) | 2016-02-04 | 2016-02-04 | Hybrid load balancing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610080249.7A CN105764094A (en) | 2016-02-04 | 2016-02-04 | Hybrid load balancing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105764094A true CN105764094A (en) | 2016-07-13 |
Family
ID=56330669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610080249.7A Pending CN105764094A (en) | 2016-02-04 | 2016-02-04 | Hybrid load balancing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105764094A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412999A (en) * | 2016-11-14 | 2017-02-15 | 上海斐讯数据通信技术有限公司 | Load balancing method and load balancing system |
CN109219023A (en) * | 2017-06-29 | 2019-01-15 | 青岛恒金源电子科技有限公司 | A kind of wireless network load-balancing method in intelligence workshop |
CN110831112A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Network connection method, intelligent household equipment, intelligent gateway and electronic equipment |
CN110933701A (en) * | 2019-12-12 | 2020-03-27 | 新华三大数据技术有限公司 | Network load state detection method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067975A (en) * | 2013-01-14 | 2013-04-24 | 福建星网锐捷网络有限公司 | Method and device of load balancing in wireless local area network |
CN103188733A (en) * | 2013-03-25 | 2013-07-03 | 华为技术有限公司 | Method and device capable of increasing load balance degree |
CN103813340A (en) * | 2012-11-06 | 2014-05-21 | 中兴通讯股份有限公司 | Method, AP, and system for sharing network load based on pool |
CN104023357A (en) * | 2014-05-06 | 2014-09-03 | 京信通信系统(中国)有限公司 | Load balancing method of concentrated-type wireless local area network and access controller |
CN104602301A (en) * | 2014-12-30 | 2015-05-06 | 奇点新源国际技术开发(北京)有限公司 | Wireless network load balancing method and device |
CN104735725A (en) * | 2015-04-15 | 2015-06-24 | 杭州敦崇科技股份有限公司 | Load balancing method for wireless access points |
-
2016
- 2016-02-04 CN CN201610080249.7A patent/CN105764094A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103813340A (en) * | 2012-11-06 | 2014-05-21 | 中兴通讯股份有限公司 | Method, AP, and system for sharing network load based on pool |
CN103067975A (en) * | 2013-01-14 | 2013-04-24 | 福建星网锐捷网络有限公司 | Method and device of load balancing in wireless local area network |
CN103188733A (en) * | 2013-03-25 | 2013-07-03 | 华为技术有限公司 | Method and device capable of increasing load balance degree |
CN104023357A (en) * | 2014-05-06 | 2014-09-03 | 京信通信系统(中国)有限公司 | Load balancing method of concentrated-type wireless local area network and access controller |
CN104602301A (en) * | 2014-12-30 | 2015-05-06 | 奇点新源国际技术开发(北京)有限公司 | Wireless network load balancing method and device |
CN104735725A (en) * | 2015-04-15 | 2015-06-24 | 杭州敦崇科技股份有限公司 | Load balancing method for wireless access points |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412999A (en) * | 2016-11-14 | 2017-02-15 | 上海斐讯数据通信技术有限公司 | Load balancing method and load balancing system |
CN109219023A (en) * | 2017-06-29 | 2019-01-15 | 青岛恒金源电子科技有限公司 | A kind of wireless network load-balancing method in intelligence workshop |
CN110831112A (en) * | 2019-11-07 | 2020-02-21 | 深圳市欧瑞博科技有限公司 | Network connection method, intelligent household equipment, intelligent gateway and electronic equipment |
CN110831112B (en) * | 2019-11-07 | 2022-05-03 | 深圳市欧瑞博科技股份有限公司 | Network connection method, intelligent household equipment, intelligent gateway and electronic equipment |
CN110933701A (en) * | 2019-12-12 | 2020-03-27 | 新华三大数据技术有限公司 | Network load state detection method and device |
CN110933701B (en) * | 2019-12-12 | 2022-07-26 | 新华三大数据技术有限公司 | Network load state detection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103139303B (en) | A kind of for keeping the heart beating method, the Apparatus and system that connect | |
CN111008075B (en) | Load balancing system, method, device, equipment and medium | |
CN108924274B (en) | Domain name system DNS processing method and device, storage medium and electronic equipment | |
CN105764094A (en) | Hybrid load balancing method and device | |
CN109688207A (en) | Log transmission method, apparatus and server | |
US20070070904A1 (en) | Feedback mechanism for flexible load balancing in a flow-based processor affinity scheme | |
CN108683722B (en) | Data transmission method, ESB platform and client | |
CN110691384A (en) | Network slice using method and device | |
CN101616083A (en) | A kind of message forwarding method and device | |
WO2020125539A1 (en) | Node device selecting method and related device thereof | |
CN111314945A (en) | Test method, system and terminal equipment | |
CN110650503B (en) | Network access method, device, system and computer readable storage medium | |
CN108200218A (en) | A kind of method, apparatus and electronic equipment for realizing load balancing | |
CN106851779A (en) | A kind of method and mobile terminal for recognizing access point and focus | |
CN107370685A (en) | A kind of internet-of-things terminal cut-in method and device | |
CN115604171B (en) | Network line selection method, system, terminal and storage medium | |
CN113791792B (en) | Method, device and storage medium for acquiring application call information | |
CN103781188A (en) | Virtual network card constructing method and electronic equipment | |
CN111432453B (en) | Communication channel determination method, device and equipment | |
CN115914164A (en) | Tunnel connection method and device, electronic equipment and storage medium | |
CN109639555B (en) | Link layer message generation method, link layer message generation device and terminal equipment | |
CN111093238A (en) | Wireless network control method and device, storage medium and electronic equipment | |
CN113965367B (en) | Policy object upper limit control method, system, computer and storage medium | |
CN108023837B (en) | Virtual network switch system and establishing method thereof | |
CN112596893B (en) | Monitoring method and system for multi-node edge computing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160713 |
|
RJ01 | Rejection of invention patent application after publication |