CN105592502A - Load balancing method and device - Google Patents

Load balancing method and device Download PDF

Info

Publication number
CN105592502A
CN105592502A CN201510406791.2A CN201510406791A CN105592502A CN 105592502 A CN105592502 A CN 105592502A CN 201510406791 A CN201510406791 A CN 201510406791A CN 105592502 A CN105592502 A CN 105592502A
Authority
CN
China
Prior art keywords
load
radio frequency
parameter value
load information
frequency mouth
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.)
Granted
Application number
CN201510406791.2A
Other languages
Chinese (zh)
Other versions
CN105592502B (en
Inventor
李然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510406791.2A priority Critical patent/CN105592502B/en
Publication of CN105592502A publication Critical patent/CN105592502A/en
Application granted granted Critical
Publication of CN105592502B publication Critical patent/CN105592502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a load balancing method and a load balancing device. The load balancing method comprises the steps of: acquiring first load information reported by a first wireless access point AP managed by itself; acquiring second load information of a second AP managed by a second AC; judging whether a first RF port satisfies a load balancing condition according to the first load information and the second load information when a first AC receives an access request from a terminal requesting to access the first RF port of the first AP; and carrying out load balancing on the first RF port by the first AC when the first RF port satisfies the load balancing condition, so that the first RF port rejects the access request. According to the load balancing method and the load balancing device, each AC can obtain the load information of the AP managed by itself, and can perceive the load information of the AP managed by other AC, thereby achieving the purpose of realizing cross-AC load balancing.

Description

A kind of load-balancing method and device
Technical field
The present invention relates to network communications technology field, particularly a kind of load-balancing method and device.
Background technology
The load-balancing technique of WLAN (WirelessLocalAreaNetworks, WLAN) isIn order balancedly to share wireless user's load in network, thereby the performance of guarantee wireless access promotesUser experiences.
The WLAN environmental requirement of starting load equilibrium is: the WAP that mutually carries out load balancing(AccessPoint, AP) must link same wireless controller (AccessController, AC)Upper, and terminal can scan the radio frequency mouth that mutually carries out load balancing.
In the time that the load of radio frequency mouth reaches threshold value and maximum load difference threshold, radio frequency mouth brings into operationLoad balancing, is reduced to less than threshold value or is less than maximum load difference threshold value in the load of radio frequency mouthBefore, the association request of any other client of this radio frequency mouth refusal.
At present load balancing mode only has that between the AP managing by same AC, could to realize load equalWeighing apparatus, and relatively independent between the AP managing by different AC, therefore cannot realize load balancing.
Summary of the invention
In view of this, the invention provides a kind of load-balancing method and device, make AC except obtainingGet outside the load information of AP of self-management, can also perceive the load of the AP under other AC managementInformation, finally reaches the object that realizes load balancing across AC.
According to the first aspect of the embodiment of the present invention, a kind of load-balancing method is provided, wireless for firstController AC, described method comprises:
Obtain the first load information that the first wireless access point AP of self-management reports;
Obtain the second load information of the 2nd AP that belongs to the 2nd AC management;
When a described AC receives terminal request and access the access of the first radio frequency mouth of a described APWhen request, according to described the first load information and described the second load information, judge described the first radio frequency mouthWhether meet load balancing condition;
In the time that described the first radio frequency mouth meets load balancing condition, a described AC is to described the first radio frequencyMouth is carried out load balancing, so that described the first radio frequency mouth is refused described access request.
According to the second aspect of the embodiment of the present invention, a kind of load balancing apparatus is provided, wireless for firstController AC, described device comprises:
The first acquiring unit, first negative for what obtain that the first wireless access point AP of self-management reportsInformation carrying breath;
Second acquisition unit, for obtaining the second load information of the 2nd AP that belongs to the 2nd AC management;
The first judging unit, accesses a described AP for receiving terminal request as a described ACThe access request of the first radio frequency mouth time, according to described the first load information and described the second load information,Judge whether described the first radio frequency mouth meets load balancing condition;
Load Balance Unit, in the time that described the first radio frequency mouth meets load balancing condition, described firstAC carries out load balancing to described the first radio frequency mouth, asks so that described the first radio frequency mouth is refused described accessAsk.
In the embodiment of the present invention, an AC is except obtaining an AP first negative of self-managementOutside information carrying breath, can also get the second load information of the 2nd AP of the 2nd AC management, according to theOne load information and the second load information, judge whether to carry out negative to the first radio frequency mouth of an APCarry equilibrium, reach the object that realizes load balancing across AC.
Brief description of the drawings
Accompanying drawing is herein merged in description and forms the part of this description, shows and meets thisBright embodiment, and be used from and explain principle of the present invention with description one.
Fig. 1 is the application scenarios schematic diagram that the application embodiment of the present invention realizes load balancing;
Fig. 2 is an embodiment flow chart of load-balancing method of the present invention;
Fig. 3 is another embodiment flow chart of load-balancing method of the present invention;
Fig. 4 is a kind of hardware structure diagram of load balancing apparatus of the present invention place equipment;
Fig. 5 is an embodiment block diagram of load balancing apparatus of the present invention.
Detailed description of the invention
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings. BelowWhen description relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogousKey element. Embodiment described in following exemplary embodiment does not represent the institute consistent with the present inventionThere is embodiment. On the contrary, they be only with as that described in detail in appended claims, of the present invention oneThe example of the consistent apparatus and method in a little aspects.
The term using in the present invention is only for describing the object of specific embodiment, but not is intended to restrictionThe present invention. " one ", " institute of the singulative using in the present invention and appended claimsState " and " being somebody's turn to do " be also intended to comprise most forms, unless context clearly represents other implications. Also shouldWork as understanding, term "and/or" used herein refer to and comprise one or more be associated list itemAny or all may combine object.
Although should be appreciated that may to adopt term first, second, third, etc. to describe in the present invention variousInformation, but these information should not be limited to these terms. These terms be only used for by the information of same type thatThis distinguishes. For example, without departing from the present invention, the first information also can be called asTwo information, similarly, the second information also can be called as the first information. Depend on linguistic context, as in this instituteUse word " if " can be construed as into " ... time " or " when ... time " or " responseIn determining ".
Referring to Fig. 1, realize the application scenarios schematic diagram of load balancing for applying the embodiment of the present invention:
In Fig. 1, the first wireless controller AC can get the pass that an AP of self-management reportsIn the first load information of an AP; Meanwhile, an AC can also get the 2nd AC managementThe second load information of all the 2nd AP is that an AC gets respectively the 2nd AC1 pipe in Fig. 1The second load information of the 2nd AP2 of the 2nd AP1 of reason and the 2nd AC2 management. Thereby receivingAccess the access request of the first radio frequency mouth of an AP during to terminal request, an AC is according in the whole networkThe load information of all AP, judges whether to carry out load balancing to described the first radio frequency mouth, reachesRealize the object of load balancing across AC.
Referring to Fig. 2, be an embodiment flow chart of load-balancing method of the present invention, this embodiment is fromOne wireless controller AC is described, and wherein an AC is obtaining the wireless access point AP of the whole networkBefore load information, need to perform step 200.
Step 200 (not shown in Fig. 2): a described AC is set to the virtual interconnected EVI of EthernetIn edge device.
In the present embodiment, with Ethernet virtual interconnected (EthernetVirtualizationInterconnection,EVI) technology is basis, and an AP of an AC and management thereof is considered as to a website, wherein firstAC is as edge device, and an AP of an AC management is as equipment in its private network.
Correspondingly, the 2nd AP of the 2nd AC and management thereof is considered as a website equally, wherein the 2nd ACFor the edge device in this website, the 2nd AP of the 2nd AC management is as equipment in its private network.
Step 201: obtain the first load information that the first wireless access point AP of self-management reports.
In the present embodiment, load information is to identify corresponding load parameter value with radio frequency mouth, alternatively, penetratesFrequently mouth is designated media interviews control (MediaAccessControl, the MAC) address of radio frequency mouth.
After AC be set be the edge device in EVI by step 200, an AC and the 2nd AC itBetween become between website after neighbours, an AC both can acquire the MAC Address list item that the 2nd AC issues,Also can be to the MAC Address list item of the 2nd AC issue self dynamic learning and static configuration. Further,Can identify corresponding radio frequency mouth by MAC address entries. In prior art, EVI intermediate system inBetween Routing Information Exchange in system (IntermediateSystem-to-IntermediateSystem, IS-IS) territoryIt is right that link-state protocol (LinkStateProtocolDataUnit, LSP) message in agreement can be putMac address information is sent to opposite end neighbours by some ground.
Therefore, in the present embodiment, alternatively, can transform LSP message, make it carry loadInformation. 147 class MAC accessibility type lengths values (MAC-Reachability of existing LSP messageTLV) comprise 4 bit reserved field RESV. Alternatively, described in the present embodiment has newly definedA sub-TLV---the MAC-LBsub-TLV of MAC-ReachabilityTLV, for representing and penetratingFrequently mouthful load parameter value corresponding to mark modified to described reserved field, according to reserved field simultaneouslyValue judge the word that whether carries MAC-LBsub-TLV after described MAC-ReachabilityTLVSection. , while being specific value by the reserved field of making an appointment on AC and AP, represent this LSP reportIn literary composition, carry with radio frequency mouth and identify corresponding load parameter value, and described load parameter value is carried at follow-upIn MAC-LBsub-TLV field.
In the present embodiment, when an AP is detecting the first load parameter on self the first radio frequency mouthWhen value changes, can send the first load information message, carry the LSP report of the first load parameter valueLiterary composition is to a described AC. Wherein, an AP detects the process and existing mode phase that load parameter value changesWith, do not repeat them here. Alternatively, on an AC, safeguard load information storehouse, a described AC existsReceive after the described LSP message of an AP transmission, parse the MAC of the first radio frequency mouth whereinAddress, by load parameter value corresponding with the MAC Address of described the first radio frequency mouth in load information storehouse moreNew is described the first load parameter value.
Step 202: the second load information that obtains the 2nd AP that belongs to the 2nd AC management.
In the present embodiment, the 2nd AP of the 2nd AC management is on the second radio frequency mouth that detects selfWhen the second load parameter value changes, send the second load information message to the two AC, make secondDescribed the second load information message is sent to an AC by AC. Alternatively, the second load information message isLSP message, has wherein carried second load corresponding with the second radio frequency mouth mark of described the second radio frequency mouthParameter value.
The one AC receives after described the second load information message, by described load information storehouse with describedTwo radio frequency mouths identify corresponding load parameter value and are updated to described the second load parameter value.
In the present embodiment, an AC is dynamically updated with radio frequency mouth and is identified by step 201 and step 202Corresponding load parameter value, has got the load information of the whole network AP.
Step 203: when a described AC receives terminal request and access the first radio frequency of a described APMouthful access request time, according to described the first load information and described the second load information, judge described theWhether one radio frequency mouth meets load balancing condition. In the time that the first radio frequency mouth meets load balancing condition, carry outStep 204.
In the present embodiment, load balancing condition is: described the first load parameter value is not less than the first default thresholdValue, and the difference of described the first load parameter value and the 3rd load parameter value is not less than the second predetermined threshold value,Wherein said the 3rd load parameter value is in described the first load parameter value and described the second load parameter valueMinimum of a value.
Alternatively, the first load parameter value is the maximum bandwidth of supporting of online terminal numerical value, flow value duty mouthPercentage or bandwidth value. When the load parameter value of the first radio frequency mouth meets or exceeds the first predetermined threshold value,And when the difference of described the first load parameter value and the 3rd load parameter value meets or exceeds the second predetermined threshold value,Determine that the first radio frequency mouth meets load balancing condition. Wherein, the 3rd load parameter value is the whole network AP loadThe minimum of a value of parameter value.
Step 204: a described AC carries out load balancing to described the first radio frequency mouth, so that described theOne radio frequency mouth is refused described access request.
The one AC carries out load balancing to the first radio frequency mouth, reduces to making in the first load parameter valueBe less than the first predetermined threshold value, or the difference of the first load parameter value and the 3rd load parameter value is less than second pre-If before threshold value, the first radio frequency mouth is refused the access request of described terminal.
Except above-mentioned steps, in this enforcement, the upper load information storehouse of safeguarding of the whole network AC is synchronous, because ofThis, an AC, need to be by self in obtaining the load information of the AP under other AC managementIt is upper that the load information of management sends to the 2nd AC, same so that described the 2nd AC is safeguarded with an ACThe load information storehouse of step. The method that is described load balancing also comprises:
Step 205 (not shown in Fig. 2): a described AC sends described the first load information messageTo described the 2nd AC.
In the time that the first load parameter value on the first radio frequency mouth of an AP changes, an AP willSend first load information message to the AC, an AC sends to the first load information message againTwo AC are upper, to make upgrade in time self load information storehouse of the 2nd AC, reach the same of the whole network informationStep. Alternatively, the first load information message is LSP message.
Meanwhile, for fear of frequent mutual LSP message between AC, increase cost of device, alternatively,Before execution step 205, described method also comprises:
Step 204-1: whether the change amount that a described AC detects described the first load parameter value exceedesThree predetermined threshold value. Described in a described AC detects that the change amount of described the first load parameter value exceedesWhen the 3rd predetermined threshold value, execution step 205.
In the present embodiment, the 3rd predetermined threshold value can be reasonably set, when the change of the first load parameter valueWhen amount exceedes the 3rd predetermined threshold value, just trigger an AC and send described the first load information to the 2nd ACMessage.
The precondition that it should be noted that above-mentioned execution load balancing is that client can scan mutuallyThe radio frequency mouth of row load balancing, the radio frequency mouth that can not scan does not join in load balancing group.
In above-described embodiment, transform by the LSP message in EVI-ISIS agreement, make it haveCarry the function of load information, thereby realize the 2nd AP's under AC perception a 2nd AC managementThe second load information, an AC itself can get the first load letter of an AP of self-managementBreath, comprehensive above-mentioned load information, an AC safeguards a load information storehouse, according in load information storehouseThe load information of the whole network AP, judges whether the first radio frequency mouth to carry out load balancing, finally reaches across ACRealize the object of load balancing.
Referring to Fig. 3, be another embodiment flow chart of load-balancing method of the present invention, this embodiment masterBe described from an AC side, the precondition of carrying out load balancing is that client can scan mutuallyCarry out the radio frequency mouth of load balancing, the radio frequency mouth that can not scan does not join in load balancing group, loadEqualization methods comprises the following steps:
Step 300 (not shown in Fig. 3) a: AC is set in the virtual interconnected EVI of EthernetEdge device.
In the present embodiment, an AP of an AC and management thereof is considered as to a website, wherein firstAC is as edge device, and an AP of an AC management is as equipment in its private network.
Correspondingly, the 2nd AP of the 2nd AC and management thereof is considered as a website equally, wherein the 2nd ACFor edge device, the 2nd AP of the 2nd AC management is as equipment in its private network.
, alternatively, LSP message is transformed meanwhile, made it carry load information. Alternatively, negativeInformation carrying ceases for to identify corresponding load parameter value with radio frequency mouth, and described radio frequency mouth mark adopts radio frequency mouth MACAddress.
For example: when the reserved field RESV value of making an appointment on AC and AP is 0x00, representing shouldIn LSP message, do not carry load parameter value. In the time that RESV value is 0x01, represent this LSP messageIn carry load parameter value, and load parameter value is carried at MAC-ReachabilityTLV belowIn TLVMAC-LBsub-TLV field. Load parameter value is online terminal numerical value, flow value duty mouthMaximum percentage or the bandwidth value of supporting bandwidth.
Wherein alternatively, MAC-LBsub-TLV specific field is as follows:
Type:1 byte, value 0x01.
Length:1 byte.
Vaule:
MAC:6 byte.
Session:1 byte, acquiescence value 0, the number of terminals of the current radio frequency mouth of expression access.
Traffic:1 byte, acquiescence value 0, represents the maximum tenaculum of present flow rate duty mouthWide percentage.
Bandwidth:2 byte, acquiescence value 0, represents occupied bandwidth, unit million (M).
In improved LSP message, carry the load parameter value corresponding with radio frequency mouth MAC Address. LogicalCross above-mentioned LSP message, an AC just can obtain the first load parameter of an AP of self-managementBe worth, also can get the second load parameter value of the 2nd AP of the 2nd AC management. Complete above-mentionedAfter configuration and message transformation, execution step 301.
Step 301: receive a described AP in the first load ginseng detecting on described the first radio frequency mouthWhen numerical value changes, send to the first load information message of a described AC, described the first loadIn infomational message, carry the first radio frequency mouth mark and described the first load parameter value of described the first radio frequency mouth.
The one AP, in the time detecting that the first load parameter value on self the first radio frequency mouth changes, sends outSend first load information message to the AC. The first load information message is above-mentioned improved LSP reportLiterary composition, the first radio frequency mouth that has wherein carried described the first radio frequency mouth identifies and described the first load parameterValue.
Step 302: a described AC is according to described the first load information message, by pre-stored withDescribed the first radio frequency mouth identifies corresponding load parameter value and is updated to described the first load parameter value.
Alternatively, on an AC, safeguard and have load information storehouse in advance, example is as shown in table 1.
Table 1
When the first load information message that the one AC reports at an AP who receives self-management, separateSeparate out MAC Address and first load parameter value of the first radio frequency mouth wherein carrying, by table 1 withCorresponding load parameter value (online terminal numerical value, the flow value duty mouth of MAC Address of the first radio frequency mouthMaximum percentage or the bandwidth value of supporting bandwidth) be updated to described the first load parameter value.
Step 303: receive the second load information message that the 2nd AC sends, described the second load informationIn message, carry the second radio frequency mouth mark and the second load parameter value of the second radio frequency mouth of described the 2nd AP.
Second load parameter of the 2nd AP of the 2nd AC management on the second radio frequency mouth that detects selfWhen value changes, send the second load information message to the two AC, make the 2nd AC by described secondLoad information message sends to an AC. Alternatively, the second load information message is LSP message, itsIn carried second load parameter value corresponding with the second radio frequency mouth mark of described the second radio frequency mouth.
Step 304: a described AC is according to described the second load information message, by pre-stored withDescribed the second radio frequency mouth identifies corresponding load parameter value and is updated to described the second load parameter value.
The one AC, in the time receiving the second load information message, parses the second radio frequency mouth wherein carryingMAC Address and the second load parameter value, by corresponding the MAC Address with the second radio frequency mouth in table 1Load parameter value (online terminal numerical value, maximum percentage or the bandwidth of supporting bandwidth of flow value duty mouthValue) be updated to described the second load parameter value.
Step 305: when a described AC receives terminal request and access the first radio frequency of a described APMouthful access request time, according to described the first load information and described the second load information, judge described theWhether one radio frequency mouth meets load balancing condition. In the time that the first radio frequency mouth meets load balancing condition, carry outStep 306.
In the time receiving the access request of described terminal initiation, particularly, according to following three kinds of load balancingCriterion, carries out the judgement of load balancing condition.
<criterion one>conversation modes
When the online terminal quantity on the first radio frequency mouth meets or exceeds the first default session threshold value, and and itsOnline number of terminals minimum of a value (i.e. online terminal number of terminals corresponding to all AP in table 1 on its radio frequency mouthMinimum of a value) difference meet or exceed the second default session threshold value, now determine that the first radio frequency mouth meetsLoad balancing condition.
<criterion two>flow rate mode
When the maximum percentage of supporting bandwidth of the flow value duty mouth on the first radio frequency mouth meets or exceeds firstPreset flow threshold value, and (all in table 1 with the flow place percentage minimum of a value on other radio frequency mouthThe minimum of a value of the maximum percentage of supporting bandwidth of flow value duty mouth corresponding to AP) difference reach or superCross the second preset flow threshold value, now determine that the first radio frequency mouth meets load balancing condition.
<criterion three>bandwidth mode
When the bandwidth value on the first radio frequency mouth meets or exceeds the first pre-set bandwidths threshold value, and with other radio frequencyThe difference of the bandwidth minimum (minimum of a value of the bandwidth value that in table 1, all AP are corresponding) on mouth reachesOr exceed the second pre-set bandwidths threshold value, now determine that the first radio frequency mouth meets load balancing condition.
Step 306: a described AC carries out load balancing to described the first radio frequency mouth, so that described theOne radio frequency mouth is refused described access request.
The one AC carries out load balancing to the first radio frequency mouth, reduces to making in the first load parameter valueBe less than the first predetermined threshold value, or the difference of the first load parameter value and the 3rd load parameter value is less than second pre-If before threshold value, the first radio frequency mouth is refused the access request of described terminal.
In the time carrying out load balancing, the load information storehouse on all AC of the whole network is synchronous. Therefore,One AC is receiving the second load information message of the 2nd AC transmission, to dynamically update the load of selfWhen information bank, the first load information message need to be sent to the 2nd AC, to make the 2nd ACSafeguard the load information storehouse of self. Therefore the load-balancing method that, the present embodiment provides also comprises:
Step 307: whether the change amount that a described AC detects described the first load parameter value exceedesThree predetermined threshold value. Described in a described AC detects that the change amount of described the first load parameter value exceedesWhen the 3rd predetermined threshold value, execution step 308.
In the present embodiment, the 3rd predetermined threshold value can be reasonably set, when the change of the first load parameter valueWhen amount exceedes the 3rd predetermined threshold value, just trigger an AC and send described the first load information to the 2nd ACMessage. For example in the time that exceeding 3, the online client numerical value change amount of the first radio frequency mouth triggers; Or firstThe variable quantity of the maximum percentage of supporting bandwidth of flow value duty mouth of radio frequency mouth triggers while exceeding 10%; OrThe bandwidth changing value of person's the first radio frequency mouth triggers while exceeding 20M.
Step 308: a described AC sends described the first load information message to described the 2nd AC.
In above-described embodiment, transform by the LSP message in EVI-ISIS agreement, make it haveCarry the function of load information, thereby realize the 2nd AP's under AC perception a 2nd AC managementThe second load information, an AC itself can get the first load letter of an AP of self-managementBreath, comprehensive above-mentioned load information, an AC safeguards the load information storehouse that the whole network is synchronous, believes according to loadThe load information of the whole network AP in breath storehouse, judges whether the first radio frequency mouth to carry out load balancing, finalReach the object that realizes load balancing across AC. Meanwhile, can be by the 3rd predetermined threshold value is rationally set,Avoid frequent mutual LSP message between AC, increase cost of device.
Corresponding with aforementioned load-balancing method embodiment, the present invention also provides the reality of load balancing apparatusExecute example.
The embodiment of load balancing apparatus of the present invention can be applied in respectively congestion point equipment and data source terminalOn. Device embodiment can realize by software, also can be by the mode of hardware or software and hardware combiningRealize. Be embodied as example with software, as the device on a logical meaning, by its place equipmentProcessor reads computer program instructions corresponding in nonvolatile memory in internal memory that operation forms.Saying from hardware view, as shown in Figure 4, is a kind of hardware of load balancing apparatus of the present invention place equipmentStructure chart, except the processor shown in Fig. 4, network interface, internal memory and nonvolatile memory,The equipment that installs place in embodiment can also comprise other hardware conventionally, as being responsible for processing the forwarding of messageChip etc.; May be also distributed equipment from this equipment of hardware configuration, may comprise multipleInterface card, to carry out the expansion of load balancing at hardware view.
Referring to Fig. 5, be an embodiment block diagram of load balancing apparatus of the present invention, described application of installation existsFor the first wireless controller AC, described device comprises: the first acquiring unit 510, second is obtainedUnit 520, the first judging unit 530 and Load Balance Unit 540.
Wherein, the first acquiring unit 510, for obtaining the first wireless access point AP of self-managementThe first load information of report;
Second acquisition unit 520, for obtaining the second load letter of the 2nd AP that belongs to the 2nd AC managementBreath;
The first judging unit 530, accesses described first for receiving terminal request as a described ACWhen the access request of the first radio frequency mouth of AP, according to described the first load information and described the second load letterBreath, judges whether described the first radio frequency mouth meets load balancing condition;
Load Balance Unit 540, in the time that described the first radio frequency mouth meets load balancing condition, described inThe one AC carries out load balancing to described the first radio frequency mouth, so that connect described in described the first radio frequency mouth refusalEnter request.
In an optional implementation:
Described the first acquiring unit 510 comprises:
First receives subelement, is detecting on described the first radio frequency mouth for receiving a described APWhen the first load parameter value changes, send to the first load information message of a described AC, instituteState and in the first load information message, carry the first radio frequency mouth mark of described the first radio frequency mouth and described first negativeCarry parameter value;
First upgrades subelement, according to described the first load information message, incites somebody to action pre-for a described ACThe identifying corresponding load parameter value with described the first radio frequency mouth and be updated to described the first load parameter of first storageValue.
In another optional implementation:
Described second acquisition unit 520 comprises:
Second receives subelement, the second load information message sending for receiving described the 2nd AC, instituteState the second radio frequency mouth that carries described the 2nd AP in the second load information message the second radio frequency mouth mark andThe second load parameter value;
Second upgrades subelement, according to described the second load information message, incites somebody to action pre-for a described ACThe identifying corresponding load parameter value with described the second radio frequency mouth and be updated to described the second load parameter of first storageValue.
In another optional implementation:
Described device also comprises (not shown in Fig. 5):
Setting unit, the edge that is set to the virtual interconnected EVI of Ethernet for a described AC is establishedStandby;
Described the first load information message and described the second load information message are described EVI intermediate systemArrive the link-state protocol data message of Routing Information Exchange agreement in intermediate system territory.
In another optional implementation:
Described load balancing condition is: described the first load parameter value is not less than the first predetermined threshold value, and instituteThe difference of stating the first load parameter value and the 3rd load parameter value is not less than the second predetermined threshold value, wherein saidThe 3rd load parameter value is the minimum of a value in described the first load parameter value and described the second load parameter value.
In another optional implementation:
Described device also comprises (not shown in Fig. 5):
Transmitting element, sends described the first load information message to described the 2nd AC for a described AC.
In another optional implementation:
Described device also comprises (not shown in Fig. 5):
The second judging unit, the change amount that detects described the first load parameter value for a described AC isNo the 3rd predetermined threshold value that exceedes;
Described transmitting element is specifically for changing of described the first load parameter value being detected as a described ACWhen variable exceedes described the 3rd predetermined threshold value, a described AC sends described the first load information message and arrivesDescribed the 2nd AC.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers in said method correspondingThe implementation procedure of step, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part ginsengSee the part explanation of embodiment of the method. Device embodiment described above is only schematically,The wherein said unit as separating component explanation can or can not be also physically to separate, and doesThe parts that show for unit can be or can not be also physical locations, can be positioned at a place,Or also can be distributed on multiple NEs. Can select according to the actual needs part wherein orThe whole modules of person realize the present invention program's object. Those of ordinary skill in the art are not paying creativenessIn the situation of work, be appreciated that and implement.
As seen from the above-described embodiment, transform by the LSP message in EVI-ISIS agreement, make itThere is the function of carrying load information, thereby realize the 2nd AP under AC perception a 2nd AC managementThe second load information, an AC itself can get the first load of an AP of self-managementInformation, comprehensive above-mentioned load information, an AC safeguards the load information storehouse that the whole network is synchronous, according to loadThe load information of the whole network AP in information bank, judges whether the first radio frequency mouth to carry out load balancing,Reach eventually the object that realizes load balancing across AC. Meanwhile, can be by the 3rd predetermined threshold value is rationally set,Avoid frequent mutual LSP message between AC, increase cost of device.
Those skilled in the art are considering description and are putting into practice after invention disclosed herein, will easily expect thisOther embodiment of invention. The application is intended to contain any modification of the present invention, purposes or adaptabilityChange, these modification, purposes or adaptations are followed general principle of the present invention and are comprised thisBright undocumented common practise or conventional techniques means in the art. Description and embodiment only byBe considered as exemplary, true scope of the present invention and spirit pointed out by claim below.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all at thisWithin the spirit and principle of invention, any amendment of making, be equal to replacement, improvement etc., all should be included inWithin the scope of protection of the invention.

Claims (14)

1. a load-balancing method, for the first wireless controller AC, is characterized in that described sideMethod comprises:
Obtain the first load information that the first wireless access point AP of self-management reports;
Obtain the second load information of the 2nd AP that belongs to the 2nd AC management;
When a described AC receives terminal request and access the access of the first radio frequency mouth of a described APWhen request, according to described the first load information and described the second load information, judge described the first radio frequency mouthWhether meet load balancing condition;
In the time that described the first radio frequency mouth meets load balancing condition, a described AC is to described the first radio frequencyMouth is carried out load balancing, so that described the first radio frequency mouth is refused described access request.
2. the method for claim 1, is characterized in that, described in obtain the first nothing of self-managementThe first load information that line access point AP reports comprises:
Receive a described AP and detecting that the first load parameter value on described the first radio frequency mouth changesWhen change, send to the first load information message of a described AC, in described the first load information messageCarry the first radio frequency mouth mark and described the first load parameter value of described the first radio frequency mouth;
A described AC is according to described the first load information message, by pre-stored with described first penetrateFrequently a mouthful load parameter value corresponding to mark is updated to described the first load parameter value.
3. method as claimed in claim 2, is characterized in that, described in obtain and belong to the 2nd AC managementThe second load information of the 2nd AP comprise:
Receive the second load information message that described the 2nd AC sends, in described the second load information messageCarry the second radio frequency mouth mark and the second load parameter value of the second radio frequency mouth of described the 2nd AP;
A described AC is according to described the second load information message, by pre-stored with described second penetrateFrequently a mouthful load parameter value corresponding to mark is updated to described the second load parameter value.
4. method as claimed in claim 3, is characterized in that, first wireless what obtain self-managementBefore the first load information that access point AP reports, described method also comprises:
A described AC is set to the edge device in the virtual interconnected EVI of Ethernet;
Described the first load information message and described the second load information message are described EVI intermediate systemArrive the link-state protocol data message of Routing Information Exchange agreement in intermediate system territory.
5. method as claimed in claim 3, is characterized in that, described load balancing condition is:
Described the first load parameter value is not less than the first predetermined threshold value, and described the first load parameter value andThe difference of three load parameter value is not less than the second predetermined threshold value, described in wherein said the 3rd load parameter value isMinimum of a value in the first load parameter value and described the second load parameter value.
6. method as claimed in claim 2, is characterized in that, a described AC receives describedAfter one load information message, described method also comprises:
A described AC sends described the first load information message to described the 2nd AC.
7. method as claimed in claim 6, is characterized in that, a described AC sends described firstBefore load information message arrives described the 2nd AC, described method also comprises:
Whether the change amount that a described AC detects described the first load parameter value exceedes the 3rd predetermined threshold value;
A described AC sends described the first load information message and is specially to described the 2nd AC:
When a described AC detects that the change amount of described the first load parameter value exceedes the described the 3rd and presetsWhen threshold value, a described AC sends described the first load information message to described the 2nd AC.
8. a load balancing apparatus, for the first wireless controller AC, is characterized in that described dressPut and comprise:
The first acquiring unit, first negative for what obtain that the first wireless access point AP of self-management reportsInformation carrying breath;
Second acquisition unit, for obtaining the second load information of the 2nd AP that belongs to the 2nd AC management;
The first judging unit, accesses a described AP for receiving terminal request as a described ACThe access request of the first radio frequency mouth time, according to described the first load information and described the second load information,Judge whether described the first radio frequency mouth meets load balancing condition;
Load Balance Unit, in the time that described the first radio frequency mouth meets load balancing condition, described firstAC carries out load balancing to described the first radio frequency mouth, asks so that described the first radio frequency mouth is refused described accessAsk.
9. device as claimed in claim 8, is characterized in that, described the first acquiring unit comprises:
First receives subelement, is detecting on described the first radio frequency mouth for receiving a described APWhen the first load parameter value changes, send to the first load information message of a described AC, instituteState and in the first load information message, carry the first radio frequency mouth mark of described the first radio frequency mouth and described first negativeCarry parameter value;
First upgrades subelement, according to described the first load information message, incites somebody to action pre-for a described ACThe identifying corresponding load parameter value with described the first radio frequency mouth and be updated to described the first load parameter of first storageValue.
10. device as claimed in claim 9, is characterized in that, described second acquisition unit comprises:
Second receives subelement, the second load information message sending for receiving described the 2nd AC, instituteState the second radio frequency mouth that carries described the 2nd AP in the second load information message the second radio frequency mouth mark andThe second load parameter value;
Second upgrades subelement, according to described the second load information message, incites somebody to action pre-for a described ACThe identifying corresponding load parameter value with described the second radio frequency mouth and be updated to described the second load parameter of first storageValue.
11. devices as claimed in claim 10, is characterized in that, described device also comprises:
Setting unit, the edge that is set to the virtual interconnected EVI of Ethernet for a described AC is establishedStandby;
Described the first load information message and described the second load information message are described EVI intermediate systemArrive the link-state protocol data message of Routing Information Exchange agreement in intermediate system territory.
12. devices as claimed in claim 10, is characterized in that, described load balancing condition is:
Described the first load parameter value is not less than the first predetermined threshold value, and described the first load parameter value andThe difference of three load parameter value is not less than the second predetermined threshold value, described in wherein said the 3rd load parameter value isMinimum of a value in the first load parameter value and described the second load parameter value.
13. devices as claimed in claim 9, is characterized in that, described device also comprises:
Transmitting element, sends described the first load information message to described the 2nd AC for a described AC.
14. devices as claimed in claim 13, is characterized in that, described transmitting element comprises:
The second judging unit, the change amount that detects described the first load parameter value for a described AC isNo the 3rd predetermined threshold value that exceedes;
Described transmitting element is specifically for changing of described the first load parameter value being detected as a described ACWhen variable exceedes described the 3rd predetermined threshold value, a described AC sends described the first load information message and arrivesDescribed the 2nd AC.
CN201510406791.2A 2015-07-10 2015-07-10 A kind of load-balancing method and device Active CN105592502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510406791.2A CN105592502B (en) 2015-07-10 2015-07-10 A kind of load-balancing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510406791.2A CN105592502B (en) 2015-07-10 2015-07-10 A kind of load-balancing method and device

Publications (2)

Publication Number Publication Date
CN105592502A true CN105592502A (en) 2016-05-18
CN105592502B CN105592502B (en) 2019-05-07

Family

ID=55931615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510406791.2A Active CN105592502B (en) 2015-07-10 2015-07-10 A kind of load-balancing method and device

Country Status (1)

Country Link
CN (1) CN105592502B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027410A (en) * 2016-07-28 2016-10-12 北京邮电大学 Method and device for load balancing of controller
CN106332182A (en) * 2016-08-11 2017-01-11 杭州华三通信技术有限公司 Wireless access method and apparatus
CN106604309A (en) * 2017-02-06 2017-04-26 上海斐讯数据通信技术有限公司 Method and system for hiding SSID of wireless access device
CN108668375A (en) * 2018-03-23 2018-10-16 新华三技术有限公司 A kind of cut-in method and device of wireless terminal
CN109495930A (en) * 2018-12-20 2019-03-19 迈普通信技术股份有限公司 A kind of load-balancing method, AC and system
CN109661005A (en) * 2019-02-20 2019-04-19 新华三技术有限公司 The load balancing method of adjustment and device of local access controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860909A (en) * 2010-03-23 2010-10-13 北京傲天动联技术有限公司 Load balancing method for wireless network based on thin AP architecture
CN102802202A (en) * 2012-07-25 2012-11-28 福建星网锐捷网络有限公司 Terminal station accessing method, equipment and system
CN103188733A (en) * 2013-03-25 2013-07-03 华为技术有限公司 Method and device capable of increasing load balance degree
US20130322238A1 (en) * 2012-05-30 2013-12-05 Alexander Sirotkin Method, system and apparatus of wireless local area network (wlan) communication in conjunction with cellular communication
CN104519526A (en) * 2013-09-27 2015-04-15 华为技术有限公司 Network access point, network controller, network device, and load control method of network device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860909A (en) * 2010-03-23 2010-10-13 北京傲天动联技术有限公司 Load balancing method for wireless network based on thin AP architecture
US20130322238A1 (en) * 2012-05-30 2013-12-05 Alexander Sirotkin Method, system and apparatus of wireless local area network (wlan) communication in conjunction with cellular communication
CN102802202A (en) * 2012-07-25 2012-11-28 福建星网锐捷网络有限公司 Terminal station accessing method, equipment and system
CN103188733A (en) * 2013-03-25 2013-07-03 华为技术有限公司 Method and device capable of increasing load balance degree
CN104519526A (en) * 2013-09-27 2015-04-15 华为技术有限公司 Network access point, network controller, network device, and load control method of network device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027410A (en) * 2016-07-28 2016-10-12 北京邮电大学 Method and device for load balancing of controller
CN106027410B (en) * 2016-07-28 2019-01-22 北京邮电大学 A kind of method and device of controller load balancing
CN106332182A (en) * 2016-08-11 2017-01-11 杭州华三通信技术有限公司 Wireless access method and apparatus
CN106332182B (en) * 2016-08-11 2020-01-21 新华三技术有限公司 Wireless access method and device
CN106604309A (en) * 2017-02-06 2017-04-26 上海斐讯数据通信技术有限公司 Method and system for hiding SSID of wireless access device
CN108668375A (en) * 2018-03-23 2018-10-16 新华三技术有限公司 A kind of cut-in method and device of wireless terminal
CN109495930A (en) * 2018-12-20 2019-03-19 迈普通信技术股份有限公司 A kind of load-balancing method, AC and system
CN109661005A (en) * 2019-02-20 2019-04-19 新华三技术有限公司 The load balancing method of adjustment and device of local access controller
CN109661005B (en) * 2019-02-20 2022-04-22 新华三技术有限公司 Load sharing adjustment method and device of local access controller

Also Published As

Publication number Publication date
CN105592502B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN105592502A (en) Load balancing method and device
CN107005474B (en) Method, equipment and system for controlling routing
CN102893556B (en) Method, system and equipment for source peer-to-peer Diameter based on capacity load Sharing
EP2993838A1 (en) Method for setting identity of gateway device and management gateway device
EP2692095B1 (en) Method, apparatus and computer program product for updating load balancer configuration data
CN104412560B (en) Network collocating method, apparatus and system based on SDN
CN109672711B (en) Reverse proxy server Nginx-based http request processing method and system
EP3099032A1 (en) A load balancing method, device, system and computer storage medium
WO2014119715A1 (en) Communication terminal, communication method, program, communication system, and information processing apparatus
CN102571996A (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
US20190053169A1 (en) Method for dynamic adaptation of a data rate
WO2016180188A1 (en) Distributed link establishment method, apparatus and system
CN105391634A (en) Message processing method, device and switch
CN112671813B (en) Server determination method, device, equipment and storage medium
CN104301449A (en) Method and device for modifying IP address
US8429257B2 (en) Optimizing use of internet protocol addresses
CN107645570A (en) Client loading method and device
CN107534917A (en) Switching method, main equipment, slave unit and system in a kind of master-slave type network
CN109451539B (en) Service quality improving method and device
US10958651B2 (en) Method of providing nomadic service through virtual residential gateway
WO2018215816A1 (en) Handover at network edge
US10511494B2 (en) Network control method and apparatus
NO331677B1 (en) Filtering of IP packets in GPRS
US9942823B2 (en) Communication terminal, communication method, and communication program
CN107995125B (en) Traffic scheduling method and 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
GR01 Patent grant
GR01 Patent grant