CN106254447A - Load-balancing method, BRAS equipment and SDN controller - Google Patents
Load-balancing method, BRAS equipment and SDN controller Download PDFInfo
- Publication number
- CN106254447A CN106254447A CN201610618022.3A CN201610618022A CN106254447A CN 106254447 A CN106254447 A CN 106254447A CN 201610618022 A CN201610618022 A CN 201610618022A CN 106254447 A CN106254447 A CN 106254447A
- Authority
- CN
- China
- Prior art keywords
- bras equipment
- bras
- interface
- equipment interface
- hash
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000008569 process Effects 0.000 claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims description 20
- 230000001143 conditioned effect Effects 0.000 claims description 11
- 230000008878 coupling Effects 0.000 claims description 6
- 238000010168 coupling process Methods 0.000 claims description 6
- 238000005859 coupling reaction Methods 0.000 claims description 6
- 238000005303 weighing Methods 0.000 claims description 6
- 241000208340 Araliaceae Species 0.000 claims description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 4
- 235000008434 ginseng Nutrition 0.000 claims description 4
- 230000013011 mating Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 25
- 238000013461 design Methods 0.000 description 41
- 230000006855 networking Effects 0.000 description 32
- 238000005516 engineering process Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 14
- 230000008859 change Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 10
- 230000004044 response Effects 0.000 description 7
- 239000012141 concentrate Substances 0.000 description 5
- 238000013475 authorization Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 238000000205 computational method Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/287—Remote access server, e.g. BRAS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of load-balancing method, BRAS equipment and SDN controller.The method includes: BRAS equipment receives the DHCP Discover message that subscriber equipment sends, and DHCP Discover message is carried out Hash process, obtains cryptographic Hash;BRAS equipment judges whether described cryptographic Hash mates with the Hash scope of the first BRAS equipment interface receiving DHCP Discover message;The most then respond described DHCP Discover message by the first BRAS equipment interface;If it is not, respond described DHCP Discover message by the first BRAS equipment interface after then waiting default delay time.The method of the embodiment of the present invention makes subscriber equipment not be concentrated in reaching the standard grade in same BRAS equipment, substantially improves the load balancing effect of current BRAS equipment.
Description
Technical field
The present embodiments relate to communication technology, particularly relate to a kind of load-balancing method, BRAS equipment and SDN and control
Device.
Background technology
Ethernet bearing Internet protocol (IP over Ethernet is called for short IPoE) access way is current internet
Access way common under technology.The access way of this IPoE is possible not only to the processing mode according to actual networking and business not
With being divided into, IPoE accesses, (IP over Ethernet over VLAN is called for short the IPoE of VLAN tag
IPoEoVLAN) access, the tokenized IPoE of QinQ (IP over Ethernet over QinQ is called for short IPoEoQ) access etc.,
Personal user can also be divided into according to the access style of user to access and access via telephone line.Under the access way of above-mentioned IPoE,
IPoE shown in Figure 1 accesses the system architecture schematic diagram of scene, and in FIG, user can be accessed by Digital Subscriber Line
Multiplexer (Digital Subscriber Line Access Multiplexer is called for short DSLAM) accesses, remote by broadband
End access server (Broadband Remote Access Server is called for short BRAS) equipment and remote validation user dial in clothes
The server interaction certification of business (Remote Authentication Dial-In User Service, be called for short RADIUS) also obtains
After service authorization, and by DHCP (Dynamic Host Configuration Protocol,
It is called for short DHCP) behind server-assignment IP address, it is possible to access corresponding business.
But, employ DSLAM during due to networking in early days mono-up, so too much cause when this DSLAM accesses user
When the total bandwidth of user's request exceedes the bandwidth of BRAS equipment access interface, then the bandwidth that user can use just cannot be protected
Card.Little in this situation, networking is revised as many multi-upstream access scene graph shown in Figure 2 by LAN provider, in Fig. 2
The connection of DSLAM and two BRAS equipment need to use identical VLAN (Virtual Local Area Network,
It is called for short VlAN), the most all use Vlan1-4094.So, pass through when client (Personal Computer is called for short PC)
When DSLAM applies for IP address, the DHCP Discover message sent due to client is broadcasting packet, therefore two in Fig. 2
BRAS equipment all can receive DHCP Discover message, and first PC is responding this DHCP Discover request message
Reach the standard grade in BRAS equipment.
In prior art, under this kind of networking, as long as controlling which BRAS equipment first responding, returning after which BRAS equipment
Should, can control client first is reached the standard grade in which BRAS equipment, and then adjust the load of the two BRAS equipment so that use
Reach the standard grade in the BRAS equipment that bandwidth is sufficient as far as possible in family.To this end, BRAS equipment develops access delay (Access Delay) life
Order, for configuring the response time delay to DHCP Discover message of this interface.If in this group BRAS equipment, certain BRAS
The load of equipment is bigger, then just the Access Delay value of the access interface of this BRAS equipment configured is relatively big, thus this
Platform BRAS equipment responds DHCP request the most afterwards, thus client will preferentially be reached the standard grade in other BRAS equipment, and then make this TV station
The load of BRAS equipment does not continues to improve.
But, the mode of this load balancing of prior art, due to DHCP Discover message response rapidly,
As long as being therefore configured with Access Delay order, the most no longer reach the standard grade in this BRAS equipment, always i.e. user collects
In be configured without in the BRAS equipment that Access Delay order or Configuration Values are minimum reaching the standard grade, in not considering further that group at certain
Other are suitable for the BRAS equipment reached the standard grade, and this makes the poor effect of load balancing.
Summary of the invention
The embodiment of the present invention provides a kind of load-balancing method, BRAS equipment and SDN controller, in order to solve prior art
The technical problem that the load balancing effect of middle BRAS equipment is the best.
First aspect, the embodiment of the present invention provides a kind of load-balancing method, including:
Broadband remote access servers BRAS equipment receives the DHCP discovery DHCP that subscriber equipment sends
Discover message, and described DHCP Discover message is carried out Hash process, obtain cryptographic Hash;In described BRAS equipment
Each BRAS equipment interface respectively corresponding Hash scope;
Described BRAS equipment judges that described cryptographic Hash and the first BRAS equipment receiving described DHCP Discover message connect
Whether the Hash scope of mouth mates;
The most then respond described DHCP Discover message by described first BRAS equipment interface;
If it is not, respond described DHCP by described first BRAS equipment interface after then waiting default delay time
Discover message;Wherein, described delay time is corresponding with described first equipment interface.
The load-balancing method that above-mentioned first aspect is provided, by the BRAS equipment DHCP Discover to receiving
Message carries out Hash process, and judges that obtained cryptographic Hash and the first BRAS equipment receiving this DHCP Discover message connect
Whether the Hash scope of mouth mates, and when coupling, BRAS equipment responds described DHCP by described first BRAS equipment interface
Discover message, when not mating, BRAS equipment is connect by described first BRAS equipment after waiting the delay time preset
Mouth responds described DHCP Discover message.The method of the present embodiment, BRAS equipment can be by the Kazakhstan on BRAS equipment interface
The arranging of uncommon scope controls subscriber equipment and whether is not concentrated in same BRAS as the load of self, i.e. subscriber equipment and sets
Standby upper reaching the standard grade, and be based on determining in which BRAS equipment with the matching result of the Hash scope on each BRAS interface
On reach the standard grade, therefore, improve the load balancing effect of current BRAS equipment;Further, since above-mentioned Hash scope is variable, example
Such as on-demand change or mechanical periodicity, therefore, more avoid subscriber equipment to concentrate on same BRAS equipment and reach the standard grade, be substantially improved
The load balancing effect of BRAS equipment.
In a kind of possible design, described BRAS equipment judges described cryptographic Hash and receives described DHCP Discover
Before whether the Hash scope of the first BRAS equipment interface of message mates, also include:
Described BRAS equipment receives the acquisition instruction that software defined network SDN controller sends;
Described BRAS equipment obtains the instruction load ginseng to the described SDN controller described BRAS equipment of transmission according to described
Number, so that according to described load parameter, described SDN controller determines that in described BRAS equipment, each BRAS equipment interface is corresponding
Hash scope and delay time;Wherein, described load parameter is for characterizing each BRAS equipment interface in described BRAS equipment
Residual capacity information;
It is corresponding that described BRAS equipment receives each BRAS equipment interface in the described BRAS equipment that described SDN controller sends
Hash scope and delay time.
In a kind of possible design, described BRAS equipment receives the acquisition instruction that SDN controller sends, and specifically includes:
Described BRAS equipment receives the described acquisition instruction that described SDN controller periodically sends;
Or,
Described BRAS equipment receives described SDN controller and indicates the described acquisition instruction of transmission according to user.
In a kind of possible design, described BRAS equipment receives the acquisition instruction that SDN controller sends, and specifically includes:
If described BRAS equipment detects that current upper linear flow rate is unsatisfactory for pre-conditioned, then send out to described SDN controller
Send warning information;
Described BRAS equipment receives the described acquisition instruction that described SDN controller sends according to described warning information.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
The load-balancing method that above-mentioned each possible design is provided, is controlled in each BRAS equipment by SDN controller
The Hash scope of each BRAS equipment interface, so that BRAS equipment can be by the Hash scope of each BRAS equipment interface
Control subscriber equipment whether as the load of self, i.e. subscriber equipment is not concentrated in reaching the standard grade in same BRAS equipment,
And be based on determining to reach the standard grade in which BRAS equipment with the matching result of the Hash scope on each BRAS interface, because of
This, improve the load balancing effect of current BRAS equipment;Further, since SDN controller can gather in the cycle or according to touch
Clockwork spring part gathers the load parameter of each BRAS equipment, and the Hash scope of each BRAS equipment interface in the most each BRAS equipment is
Variable, more guarantee that subscriber equipment is not concentrated in reaching the standard grade in same BRAS equipment, and, can by SDN controller
Automatically to change the Hash scope of each BRAS equipment interface of each BRAS equipment, thus the automatic load to each BRAS equipment
Dynamically adjust, it is not necessary to artificial manual configuration Access Delay order, simplify user operation, improve the experience of user
Effect.
Second aspect, the embodiment of the present invention provides a kind of load-balancing method, including:
Software defined network SDN controller sends to each BRAS equipment and obtains instruction, and receives each BRAS equipment according to institute
State and obtain the load parameter that instruction sends;Wherein, described load parameter is used for characterizing each BRAS equipment in described BRAS equipment
The residual capacity information of interface;
Described SDN controller, according to the load parameter of each BRAS equipment, obtains each BRAS in each load balancing group
The residual capacity ratio of equipment interface;Wherein, the virtual LAN VLAN of the BRAS equipment interface in same load balancing group
Configure identical;
Described SDN controller is according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, really
Each BRAS equipment interface pair in the Hash scope of each BRAS equipment interface and each BRAS equipment in fixed each BRAS equipment
The delay time answered;
Described SDN controller is by the Hash scope of BRAS equipment interface each in each BRAS equipment and each BRAS equipment
The delay time correspondence that upper each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS equipment is according to every
Hash scope and the delay time of individual BRAS equipment interface dynamically adjust present load.
In a kind of possible design, described SDN controller connects according to each BRAS equipment in each load balancing group
The residual capacity ratio of mouth, determines the Hash scope of each BRAS equipment interface in each BRAS equipment, specifically includes:
Described SDN controller is according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, really
The height of the Hash bucket that fixed each described load balancing group is corresponding;
Described SDN controller, according to the height of Hash bucket corresponding to each described load balancing group, determines each described negative
The Hash weighted value of each BRAS equipment interface in load equilibrium group;
Described SDN controller according to the Hash weighted value of each BRAS equipment interface in each described load balancing group and
The height of the Hash bucket that each described load balancing group is corresponding, determines the Hash of each BRAS equipment interface in each BRAS equipment
Scope.
In a kind of possible design, described SDN controller sends to each BRAS equipment and obtains instruction, specifically includes:
Described SDN controller periodically sends described acquisition to each BRAS equipment and indicates;
Or,
Described SDN controller sends described acquisition according to user's instruction to each BRAS equipment and indicates;
Or,
The warning information that described SDN controller sends according to arbitrary BRAS equipment, sends described acquisition to each BRAS equipment
Instruction.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
In a kind of possible design, if each BRAS equipment interface in described load balancing group belongs to a BRAS
Same interface board on equipment, the most described SDN controller, according to the load parameter of each BRAS equipment, obtains each load balancing
The residual capacity ratio of each BRAS equipment interface in group, specifically includes:
Described SDN controller according to the bandwidth availability ratio of each BRAS equipment interface in described load balancing group, and/
Or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain in described load balancing group is every
The residual capacity ratio of individual BRAS equipment interface.
In a kind of possible design, described SDN controller connects according to each BRAS equipment in described load balancing group
The Session utilization rate of each BRAS equipment interface in the bandwidth availability ratio of mouth and described load balancing group, obtains described negative
The residual capacity ratio of each BRAS equipment interface in load equilibrium group, specifically includes:
Described SDN controller is equal according to bandwidth availability ratio weighter factor, Session utilization rate weighter factor, described load
The bandwidth availability ratio of each BRAS equipment interface in weighing apparatus group and the Session utilization rate of each BRAS equipment interface, obtain institute
State the residual capacity ratio of each BRAS equipment interface in load balancing group.
In a kind of possible design, described SDN controller connects according to each BRAS equipment in each load balancing group
The residual capacity ratio of mouth, determines the delay time that in each BRAS equipment, each BRAS equipment interface is corresponding, specifically includes:
Described SDN controller in the residual capacity ratio of each BRAS equipment interface in each load balancing group
Fractional value is normalized, and obtains new residual capacity ratio;
Described SDN controller, according to the unit delay time preset and described new residual capacity ratio, determines each
The delay time that in BRAS equipment, each BRAS equipment interface is corresponding.
The load-balancing method that each possible design of above-mentioned second aspect and second aspect is provided, its beneficial effect
It is referred to the beneficial effect that each possible design of above-mentioned first aspect and first aspect is brought, does not repeats them here.
The third aspect, the embodiment of the present invention provides a kind of broadband remote access servers BRAS equipment, including:
Receiver module, the DHCP sent for receiving subscriber equipment finds DHCP Discover message,
And described DHCP Discover message is carried out Hash process, obtain cryptographic Hash;Each BRAS equipment in described BRAS equipment
The most corresponding Hash scope of interface;
Judge module, for judging described cryptographic Hash and the first BRAS equipment receiving described DHCP Discover message
Whether the Hash scope of interface mates;
Sending module, for judging the Hash of described cryptographic Hash and described first BRAS equipment interface at described judge module
During commensurate in scope, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable in described judgement
Module judges when described cryptographic Hash is not mated with the Hash scope of described first BRAS equipment interface, waits the delay time preset
Described DHCP Discover message is responded afterwards by described first BRAS equipment interface;Wherein, described delay time is with described
First equipment interface is corresponding.
In a kind of possible design, described receiver module, be additionally operable to described judge module judge described cryptographic Hash with
Before whether the Hash scope of the first BRAS equipment interface receiving described DHCP Discover message mates, receive software fixed
The acquisition instruction that justice network SDN controller sends;
Described sending module, is additionally operable to obtain instruction to the described SDN controller described BRAS equipment of transmission according to described
Load parameter, so that described SDN controller determines each BRAS equipment interface in described BRAS equipment according to described load parameter
Corresponding Hash scope and delay time;Wherein, described load parameter is used for characterizing each BRAS equipment in described BRAS equipment
The residual capacity information of interface;
The most described receiver module, is additionally operable to receive each BRAS in the described BRAS equipment that described SDN controller sends and sets
The Hash scope corresponding for interface and delay time.
In a kind of possible design, described receiver module, specifically for receiving what described SDN controller periodically sent
Described acquisition indicates;Or, receive described SDN controller and indicate the described acquisition instruction of transmission according to user.
In a kind of possible design, described sending module, if being additionally operable to described BRAS equipment current reaching the standard grade to be detected
When flow is unsatisfactory for pre-conditioned, send a warning message to described SDN controller;
Described receiver module, specifically for receiving the described acquisition that described SDN controller sends according to described warning information
Instruction.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
The BRAS equipment that each possible design of the above-mentioned third aspect and the third aspect is provided, its beneficial effect is permissible
The beneficial effect brought with reference to each possible design of above-mentioned first aspect and first aspect, does not repeats them here.
Fourth aspect, the embodiment of the present invention provides a kind of software defined network SDN controller, including:
Sending module, obtains instruction for sending to each BRAS equipment;
Receiver module, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described negative
Carry parameter for characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Acquisition module, for the load parameter according to each BRAS equipment, obtains each BRAS in each load balancing group
The residual capacity ratio of equipment interface;Wherein, the virtual LAN VLAN of the BRAS equipment interface in same load balancing group
Configure identical;
Determine module, specifically for the residual capacity ratio according to each BRAS equipment interface in each load balancing group
Value, determines that in the Hash scope of each BRAS equipment interface in each BRAS equipment and each BRAS equipment, each BRAS equipment connects
The delay time that mouth is corresponding;
Described sending module, is additionally operable to the Hash scope of BRAS equipment interface each in each BRAS equipment and each
The delay time correspondence that in BRAS equipment, each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS sets
For dynamically adjusting present load according to Hash scope and the delay time of each BRAS equipment interface.
In a kind of possible design, described determine module, each specifically for according in each load balancing group
The residual capacity ratio of BRAS equipment interface, determines the height of Hash bucket corresponding to each described load balancing group, and according to often
The height of the Hash bucket that individual described load balancing group is corresponding, determines each BRAS equipment interface in each described load balancing group
Hash weighted value;And, according to the Hash weighted value of each BRAS equipment interface in each described load balancing group and every
The height of the Hash bucket that individual described load balancing group is corresponding, determines the Hash model of each BRAS equipment interface in each BRAS equipment
Enclose.
In a kind of possible design, described sending module, described specifically for periodically sending to each BRAS equipment
Obtain instruction;Or, send described acquisition according to user's instruction to each BRAS equipment and indicate;Or, according to arbitrary BRAS equipment
The warning information sent, sends described acquisition to each BRAS equipment and indicates.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
In a kind of possible design, if each BRAS equipment interface in described load balancing group belongs to a BRAS
Same interface board on equipment,
Described acquisition module, specifically for the bandwidth usage according to each BRAS equipment interface in described load balancing group
Rate, and/or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain described load balancing group
In the residual capacity ratio of each BRAS equipment interface.
In a kind of possible design, described acquisition module, specifically for according to bandwidth availability ratio weighter factor,
The bandwidth availability ratio of each BRAS equipment interface in Session utilization rate weighter factor, described load balancing group and each
The Session utilization rate of BRAS equipment interface, obtains the residual capacity of each BRAS equipment interface in described load balancing group
Ratio.
In a kind of possible design, described determine module, specifically for each BRAS in each load balancing group
Minimum value in the residual capacity ratio of equipment interface is normalized, and obtains new residual capacity ratio, and according to
The unit delay time preset and described new residual capacity ratio, determine each BRAS equipment interface pair in each BRAS equipment
The delay time answered.
The SDN controller that each possible design of above-mentioned fourth aspect and fourth aspect is provided, its beneficial effect can
The beneficial effect brought with each possible design with reference to above-mentioned first aspect and first aspect, does not repeats them here.
5th aspect, the embodiment of the present invention provides a kind of broadband remote access servers BRAS equipment, including:
Receptor, the DHCP sent for receiving subscriber equipment finds DHCP Discover message, and
Described DHCP Discover message is carried out Hash process, obtains cryptographic Hash;Each BRAS equipment in described BRAS equipment connects
The most corresponding Hash scope of mouth;
Processor, for judging that described cryptographic Hash and the first BRAS equipment receiving described DHCP Discover message connect
Whether the Hash scope of mouth mates;
Transmitter, for judging the Hash scope of described cryptographic Hash and described first BRAS equipment interface at described processor
During coupling, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable to sentence at described processor
When disconnected described cryptographic Hash is not mated with the Hash scope of described first BRAS equipment interface, logical after waiting the delay time preset
Cross described first BRAS equipment interface and respond described DHCP Discover message;Wherein, described delay time sets with described first
Standby interface is corresponding.
In a kind of possible design, described receptor, it is additionally operable to receive obtaining of software defined network SDN controller transmission
Fetching is shown;
Described transmitter, is additionally operable to obtain instruction bearing to the described SDN controller described BRAS equipment of transmission according to described
Carry parameter, so that described SDN controller determines each BRAS equipment interface pair in described BRAS equipment according to described load parameter
The Hash scope answered and delay time;Wherein, described load parameter is used for characterizing each BRAS equipment in described BRAS equipment and connects
The residual capacity information of mouth;
Described receptor, is additionally operable to receive each BRAS equipment in the described BRAS equipment that described SDN controller sends and connects
The Hash scope of mouth correspondence and delay time.
In a kind of possible design, described receptor, specifically for receiving the institute that described SDN controller periodically sends
State acquisition instruction;Or, receive described SDN controller and indicate the described acquisition instruction of transmission according to user.
In a kind of possible design, described transmitter, it is additionally operable to current upper linear flow rate be detected at described processor
When being unsatisfactory for pre-conditioned, send a warning message to described SDN controller;
Described receptor, the described acquisition sent according to described warning information specifically for receiving described SDN controller refers to
Show.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
The BRAS equipment that each possible design of above-mentioned 5th aspect and the 5th aspect is provided, its beneficial effect is permissible
The beneficial effect brought with reference to each possible design of above-mentioned first aspect and first aspect, does not repeats them here.
6th aspect, the embodiment of the present invention provides a kind of software defined network SDN controller, including:
Transmitter, obtains instruction for sending to each BRAS equipment;
Receptor, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described load
Parameter is for characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Processor, for the load parameter according to each BRAS equipment, each BRAS obtained in each load balancing group sets
The residual capacity ratio of standby interface, and according to the residual capacity ratio of each BRAS equipment interface in each load balancing group,
Determine each BRAS equipment interface in the Hash scope of each BRAS equipment interface in each BRAS equipment and each BRAS equipment
Corresponding delay time;Wherein, the virtual LAN VLAN configuration of the BRAS equipment interface in same load balancing group is identical;
Described transmitter, is additionally operable to the Hash scope of BRAS equipment interface each in each BRAS equipment and each BRAS
The delay time correspondence that on equipment, each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS equipment root
Hash scope and delay time according to each BRAS equipment interface dynamically adjust present load.
In a kind of possible design, described processor, specifically for according to each BRAS in each load balancing group
The residual capacity ratio of equipment interface, determines the height of Hash bucket corresponding to each described load balancing group, and according to each institute
State the height of Hash bucket corresponding to load balancing group, determine the Kazakhstan of each BRAS equipment interface in each described load balancing group
Uncommon weighted value;And, according to Hash weighted value and each institute of each BRAS equipment interface in each described load balancing group
State the height of Hash bucket corresponding to load balancing group, determine the Hash scope of each BRAS equipment interface in each BRAS equipment.
In a kind of possible design, described transmitter, specifically for periodically obtaining to described in the transmission of each BRAS equipment
Fetching is shown;Or, send described acquisition according to user's instruction to each BRAS equipment and indicate;Or, send out according to arbitrary BRAS equipment
The warning information sent, sends described acquisition to each BRAS equipment and indicates.
In a kind of possible design, described load parameter includes the band of each BRAS equipment interface in described BRAS equipment
Wide interface board belonging to utilization rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface
At least one in the memory usage of the interface board belonging to cpu busy percentage, each BRAS equipment interface.
In a kind of possible design, if each BRAS equipment interface in described load balancing group belongs to a BRAS
Same interface board on equipment, described processor, specifically for connecing according to each BRAS equipment in described load balancing group
The bandwidth availability ratio of mouth, and/or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain institute
State the residual capacity ratio of each BRAS equipment interface in load balancing group.
In a kind of possible design, described processor, specifically for according to bandwidth availability ratio weighter factor, Session
Bandwidth availability ratio and each BRAS equipment of each BRAS equipment interface in utilization rate weighter factor, described load balancing group connect
Mouthful Session utilization rate, obtain the residual capacity ratio of each BRAS equipment interface in described load balancing group.
In a kind of possible design, described processor, specifically for setting each BRAS in each load balancing group
Minimum value in the residual capacity ratio of standby interface is normalized, and obtains new residual capacity ratio, and according in advance
If unit delay time and described new residual capacity ratio, determine in each BRAS equipment that each BRAS equipment interface is corresponding
Delay time.
The SDN controller that each possible design of above-mentioned 6th aspect and the 6th aspect is provided, its beneficial effect can
The beneficial effect brought with each possible design with reference to above-mentioned first aspect and first aspect, does not repeats them here.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 accesses the system architecture schematic diagram of scene for the IPoE that the embodiment of the present invention provides;
Many multi-upstream access scene graph that Fig. 2 provides for the embodiment of the present invention;
The networking structure schematic diagram one that Fig. 3 provides for the embodiment of the present invention;
The networking structure schematic diagram two that Fig. 4 provides for the embodiment of the present invention;
The networking structure schematic diagram three that Fig. 5 provides for the embodiment of the present invention;
The networking structure schematic diagram four that Fig. 6 provides for the embodiment of the present invention;
The networking structure schematic diagram five that Fig. 7 provides for the embodiment of the present invention;
The networking structure schematic diagram six that Fig. 8 provides for the embodiment of the present invention;
The schematic flow sheet of the load-balancing method embodiment one that Fig. 9 provides for the embodiment of the present invention;
The signaling process figure of the load-balancing method embodiment two that Figure 10 provides for the embodiment of the present invention;
The schematic flow sheet of the load-balancing method embodiment three that Figure 11 provides for the embodiment of the present invention;
The schematic flow sheet of the load-balancing method embodiment four that Figure 12 provides for the embodiment of the present invention;
The structural representation of the BRAS equipment embodiment one that Figure 13 provides for the embodiment of the present invention;
The structural representation of the SDN controller embodiment one that Figure 14 provides for the embodiment of the present invention;
The structural representation of the BRAS equipment embodiment two that Figure 15 provides for the embodiment of the present invention;
The structural representation of the SDN controller embodiment two that Figure 16 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Load-balancing method, device and the equipment that the present embodiments relate to, goes for the networking shown in Fig. 3-Fig. 8
Structural representation.Networking to Fig. 3 to Fig. 8 is introduced separately below:
Seeing Fig. 3, this networking includes software defined network (Software Defined Network is called for short SDN) control
Device processed, subscriber equipment, at least one DSLAM (in Fig. 3 as a example by two DSLAM), at least one BRAS equipment are (with two in Fig. 3
As a example by individual BRAS equipment), radius server and Dynamic Host Configuration Protocol server.Under this networking mode, BRAS equipment and radius server
Undertaking the functions such as the certification of user, mandate, charging, forwarding control management, the Dynamic Host Configuration Protocol server of far-end undertakes and divides for subscriber equipment
Join the function of IP address, after subscriber equipment is by certification obtaining service authorization, corresponding business can be accessed.This SDN is controlled
Device processed is for gathering the loading condition of above-mentioned BRAS equipment, and this load can include that the cpu busy percentage of BRAS equipment, internal memory utilize
Rate, bandwidth availability ratio (or remaining bandwidth), Session utilization rate etc..
Seeing Fig. 4, this networking includes SDN controller, subscriber equipment, at least one LAN switch (Local
Area Network Switch, is called for short LSW) (in Fig. 4 as a example by two LSW), at least one BRAS equipment is (with two in Fig. 4
As a example by BRAS equipment), domain name system (Domain Name System, be called for short DNS) server, authentication and authorization charging
(Authentication, Authorization and Accounting is called for short AAA) server and web page server (WEB
Server), wherein, BRAS equipment undertakes the function into user equipment allocation IP address, aaa server and web page server and undertakes
User be authenticated, authorize, the function of charging, the subscriber equipment in this networking is two wires access user equipment, and this user sets
For passing through DHCP message, IP message or address resolution protocol, (Address Resolution Protocol is called for short
ARP) message triggers and reaches the standard grade.This SDN controller is also used for gathering the loading condition of above-mentioned BRAS equipment.
Seeing Fig. 5, this networking includes that SDN controller, subscriber equipment, at least one LSW (in Fig. 5 with two LSW are
Example), at least one BRAS equipment (in Fig. 5 as a example by two BRAS equipment), Dynamic Host Configuration Protocol server, dns server, aaa server
And web page server.Under this networking mode, subscriber equipment can obtain IP address, now BRAS equipment from remote DHCP server
Only carry out the certification of user, mandate, charging, forwarding control management, be not re-used as the main body of address administration, i.e. BRAS and can be responsible for handle
DHCP message is transmitted to remote DHCP server, and is responsible for the back message of Dynamic Host Configuration Protocol server to be transmitted to subscriber equipment, this group
Subscriber equipment in net is also two wires access user equipment, and above-mentioned SDN controller is also used for gathering the load of above-mentioned BRAS equipment
Situation.
Seeing Fig. 6, this networking includes that SDN controller, subscriber equipment, at least one LSW (in Fig. 6 with two LSW are
Example), router (Router), Dynamic Host Configuration Protocol server, at least one BRAS equipment (in Fig. 6 as a example by two BRAS equipment),
Radius server and web page server.Under this networking mode, subscriber equipment can obtain temporary IP from remote DHCP server
Address, then subscriber equipment can send a DNS association message to dns server, and then dns server resolves this DNS report
The address of the web page server carried in literary composition.Then, subscriber equipment can be according to the address of web page server to this web page server
Send a HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol is called for short HTTP) request to web service
Device, and then by web page server, user is authenticated.User in this networking is three layers of access user equipment, above-mentioned SDN
Controller is also used for gathering the loading condition of above-mentioned BRAS equipment.
Seeing Fig. 7, this networking includes subscriber equipment, two-layer network device, router (Router), at least one BRAS
Equipment (in Fig. 7 as a example by two BRAS equipment), aaa server and web page server.Under this networking mode, access way is three
Layer DHCP subscriber equipment accesses, and router serves as DHCP relay (Relay) equipment, the DHCP message of subscriber equipment is relayed to
BRAS equipment, after BRAS equipment is to user authentication, according to the principle of relaying, for the IP address that user equipment allocation is idle, or,
Issued IP address by Radius server, and DHCP back message is sent to subscriber equipment.SDN in this networking controls
Device is also used for gathering the loading condition of above-mentioned BRAS equipment.
See Fig. 8, this networking include subscriber equipment, two-layer network device, router (Router), Dynamic Host Configuration Protocol server,
At least one BRAS equipment (in Fig. 8 as a example by two BRAS equipment), radius server and web page server.This networking mode
Under, access way is that three layers of IP subscriber equipment accesses, and router serves as DHCP Relay equipment, and subscriber equipment is by this DHCP
Relay equipment distributes IP address to Dynamic Host Configuration Protocol server.When subscriber equipment needs to access network when, can send to BRAS equipment
One virtual message, this virtual message includes a source IP address (the IP address of distribution before i.e.), source MAC and a mesh
Address (address of arbitrary public network), then BRAS equipment verifies whether this IP address is distribute before, i.e. BRAS equipment lead to
Cross and send DHCP release (DHCP Leasequery) message to confirm the source IP address in virtual message and source to Dynamic Host Configuration Protocol server
MAC Address is the most correct, if correctly, just builds user name with this MAC Address, is sent to radius server and is authenticated,
Certification is by i.e. addressable network.SDN controller under this networking mode is also used for gathering the loading condition of above-mentioned BRAS equipment.
In networking structure shown in above-mentioned Fig. 3 to Fig. 8, involved subscriber equipment can be PC, computer, panel computer
Deng equipment.
In conjunction with the networking structure schematic diagram shown in above-mentioned Fig. 3 to Fig. 8, above-mentioned each BRAS equipment can include multiple
BRAS equipment interface, the BRAS equipment interface of the BRAS equipment in any one figure of above-mentioned Fig. 3 to Fig. 8 can be divided into many
Individual load balancing group, can include multiple BRAS equipment interface, the BRAS in a load balancing group in each load balancing group
Equipment interface can be in the interface in same BRAS equipment, it is also possible to is that part is positioned in same BRAS equipment, separately
A part is positioned at the interface in other BRAS equipment, it is also possible to be that each BRAS equipment interface is respectively positioned in different BRAS equipment
Interface, the position belonging to the BRAS equipment interface in load balancing group is not limited by the embodiment of the present invention, as long as one is born
Multiple BRAS equipment interfaces in load equilibrium group have identical VLAN and configure.
See Fig. 2, in prior art, when PC applies for IP address by DSLAM, the DHCP sent due to PC
Discover message is broadcasting packet, and therefore two BRAS equipment in Fig. 2 all can receive DHCP Discover message, and PC is
Reach the standard grade in the BRAS equipment first responding this DHCP Discover request message at last.Therefore, under this kind of networking, existing
Technology is that BRAS equipment develops Access Delay order, for configuring the response to DHCP Discover message of this interface
Which BRAS equipment time delay, thus can control and first respond, and responds, can control PC preferentially at which after which BRAS equipment
Reach the standard grade in BRAS equipment, and then adjust the load of the two BRAS equipment;But, this side controlling load of the prior art
Formula, due to DHCP Discover message response rapidly, as long as being therefore configured with Access Delay order, the most just
No longer reach the standard grade in this BRAS equipment, i.e. user always concentrates on certain and is configured without Access Delay order or joins
Putting and reach the standard grade in the BRAS equipment that value is minimum, do not consider further that in organizing, other are suitable for the BRAS equipment reached the standard grade, this makes load balancing
Poor effect.
Load-balancing method, device and the equipment that the present embodiments relate to, it is intended to solve BRAS equipment in prior art
The best technical problem of load balancing effect.
With specifically embodiment, technical scheme is described in detail below.These concrete enforcements below
Example can be combined with each other, and may repeat no more in some embodiment for same or analogous concept or process.
The schematic flow sheet of the load-balancing method embodiment one that Fig. 9 provides for the embodiment of the present invention.The present embodiment relates to
Be after BRAS equipment carries out Hash process by the DHCP Discover message sending subscriber equipment, according to obtained
Cryptographic Hash is mated with the Hash scope on the BRAS interface receiving this message, thus determines that user sets according to matching result
The standby detailed process whether reached the standard grade by this BRAS equipment.It should be noted that come for any of the above-described networking structure schematic diagram
Saying, each BRAS equipment in figure is required to perform following embodiment of the method, and the embodiment of the present invention is with a BRAS equipment
As a example by illustrate.For the more specific description embodiment of the present invention, as a example by the networking structure schematic diagram shown in above-mentioned Fig. 8
Illustrate.
As it is shown in figure 9, the method comprises the steps:
S101:BRAS equipment receives the DHCP Discover message that subscriber equipment sends, and to described DHCP
Discover message carries out Hash process, obtains cryptographic Hash.
Wherein, the most corresponding Hash scope of each BRAS equipment interface in described BRAS equipment.
Concrete, in the embodiment of the present invention, each BRAS equipment interface in BRAS equipment is respectively provided with a Hash scope,
And BRAS equipment is appreciated which load balancing group these BRAS interfaces are all under the jurisdiction of.Optionally, this Hash scope is permissible
It is that user is allocated to BRAS equipment interface, it is also possible to be BRAS equipment cycle or on-demand acquisition from other communication equipments
's.Optionally, this Hash scope can change along with the change in cycle.One the most corresponding Hash of BRAS equipment interface
Scope, and BRAS equipment interface can also distinguish a corresponding delay time, this delay time can be that user is allocated to
BRAS equipment interface, it is also possible to be BRAS equipment cycle or acquisition in real time from other communication equipments.
After BBRAS equipment receives the DHCP Discover message that subscriber equipment sends, can be to this DHCP
Discover message carries out Hash process, obtains cryptographic Hash;Optionally, this Hash processes and can include that MD5 etc. processes, the present invention
The mode that Hash is processed by embodiment does not limit.It should be noted that the corresponding DSLAM of each load balancing group,
As a example by Fig. 8, it is assumed that include in BRAS equipment 1 that 1#, 2#, 3#, 4# interface, BRAS equipment 2 include 5#, 6#, 7#, 8# interface, its
In, load balancing group A includes that 1#, 2#, 3# and 5# interface, load balancing group B include 4#, 6#, 7# and 8# interface;So work as user
When equipment sends DHCP Discover1 message by DSLAM1, this message can be supported all BRAS equipment in equilibrium group A
Interface arrives, and load balancing group B does not receives this message;Certainly, DHCP is sent when subscriber equipment by DSLAM2
During Discover2 message, all BRAS equipment interface that this message can be supported in equilibrium group B arrive, and load balancing group A connects
Can not receive this message.
So, for BRAS equipment, BRAS equipment can know that the DHCP Discover message being currently received is logical
Cross what which BRAS equipment interface arrived.In the present embodiment, it is assumed that receive this DHCP Discover message for first
BRAS equipment interface.
S102:BRAS equipment judges described cryptographic Hash and receives the first BRAS equipment of described DHCP Discover message
Whether the Hash scope of interface mates.If so, S103 is performed, if it is not, then perform S104.
S103:BRAS equipment responds described DHCP Discover message by described first BRAS equipment interface.
Concrete, when BRAS equipment and is somebody's turn to do to DHCP Discover message by the first BRAS equipment interface
After the cryptographic Hash of message, BRAS equipment can judge the cryptographic Hash of this message whether with the Hash scope of the first BRAS equipment interface
Coupling, in the range of i.e. judging the Hash whether cryptographic Hash of this message is positioned at the first BRAS equipment interface.If the Kazakhstan of this message
In the range of uncommon value is positioned at the Hash of the first BRAS equipment interface, then BRAS equipment determines that subscriber equipment can pass through self to reach the standard grade,
Then this BRAS equipment responds this DHCP Discover message by the first BRAS equipment interface, thus is the upper of this subscriber equipment
Line is laid the groundwork.
S104:BRAS equipment is described by described first BRAS equipment interface response after waiting the delay time preset
DHCP Discover message.
Wherein, described delay time is corresponding with described first equipment interface.
Concrete, when BRAS equipment judges that the DHCP Discover arrived above by the first BRAS equipment interface reports
The cryptographic Hash of literary composition is not mated with the Hash scope of the first BRAS equipment interface, then BRAS equipment wait default delay time it
After, then responding described DHCP Discover message by the first BRAS equipment interface, say, that this DHCP Discover reports
Literary composition may be rung in time by the BRAS equipment interface in other BRAS equipment or other BRAS equipment interfaces in this BRAS equipment
Ying Liao;When this DHCP Discover message is timely responded to by the BRAS equipment interface in other BRAS equipment, subscriber equipment leads to
Cross other BRAS equipment to reach the standard grade, when DHCP Discover message by this BRAS equipment on other BRAS equipment interfaces ring in time
At once, subscriber equipment still can be reached the standard grade by this BRAS equipment.
Seen from the above description, BRAS equipment can control to use by arranging of the Hash scope on BRAS equipment interface
Whether family equipment is as the load of self, i.e. subscriber equipment is not concentrated in reaching the standard grade in same BRAS equipment, and is based on
Determine to reach the standard grade in which BRAS equipment with the matching result of the Hash scope on each BRAS interface, therefore, improve
The load balancing effect of current BRAS equipment;Further, since above-mentioned Hash scope is variable, the most on-demand change or cycle
Change, therefore, more avoids subscriber equipment to concentrate on same BRAS equipment and reaches the standard grade, and the load substantially improving BRAS equipment is equal
Weighing apparatus effect.
The load-balancing method that the present invention provides, is carried out the DHCP Discover message received by BRAS equipment
Hash processes, and judges the Hash of obtained cryptographic Hash and the first BRAS equipment interface receiving this DHCP Discover message
Whether scope mates, and when coupling, BRAS equipment responds described DHCP Discover by described first BRAS equipment interface and reports
Literary composition, when not mating, BRAS equipment is described by described first BRAS equipment interface response after waiting the delay time preset
DHCP Discover message.The method of the present embodiment, BRAS equipment can setting by the Hash scope on BRAS equipment interface
Put control subscriber equipment whether as the load of self, i.e. subscriber equipment be not concentrated in same BRAS equipment upper
Line, and be based on determining to reach the standard grade in which BRAS equipment with the matching result of the Hash scope on each BRAS interface,
Therefore, the load balancing effect of current BRAS equipment is improved;Further, since above-mentioned Hash scope is variable, the most on-demand
Change or mechanical periodicity, therefore, more avoid subscriber equipment to concentrate on same BRAS equipment and reach the standard grade, substantially improve BRAS
The load balancing effect of equipment.
Further, Access Delay of the prior art relies on manual configuration, needs to adjust in time according to loading condition
Whole Access Delay configures, but owing to using Access Delay order to carry out the control of the load balancing in BRAS equipment
Time, user always concentrates on certain and is configured without on Access Delay, or the equipment of Configuration Values minimum reaching the standard grade, so can
The load making this BRAS equipment the most significantly rises, and needs soon to be again adjusted, and this makes manual configuration be difficult to
Implement.For this problem, following with specifically embodiment, technical scheme is described in detail, to illustrate the present invention
Embodiment solves the detailed process of this technical problem.
The signaling process figure of the load-balancing method embodiment two that Figure 10 provides for the embodiment of the present invention.The present embodiment relates to
Be SDN controller by gathering the load parameter in each BRAS equipment, calculate each BRAS equipment in each BRAS equipment and connect
The Hash scope of mouth, and change the Hash scope of each BRAS equipment interface in each BRAS equipment according to different situations
Detailed process.As shown in Figure 10, the method comprises the steps:
S201:SDN controller sends to each BRAS equipment and obtains instruction.
Concrete, this acquisition instruction obtains the load of each BRAS equipment for making SDN controller from each BRAS equipment
Parameter.
Optionally, SDN controller periodically can send this acquisition instruction to each BRAS equipment, it is also possible to according to user
Indicate and send this acquisition instruction to each BRAS equipment;Optionally, it is also possible to detect that self is current in arbitrary BRAS equipment
When upper linear flow rate is unsatisfactory for pre-conditioned, after SDN controller have sent warning information, SDN controller is believed according to this alarm
Cease and send this acquisition instruction to each BRAS equipment;This warning information is for informing the stream of reaching the standard grade of the current BRAS equipment of SDN controller
Amount is abnormal, such as the user reached the standard grade in the unit interval increases sharply, and does not meets pre-conditioned, then this BRAS equipment will be to SDN control
Device sends a warning message;This is pre-conditioned can be the value of upper linear flow rate in the unit interval.
S202: each BRAS equipment receives the acquisition instruction that SDN controller sends, and indicates to SDN control according to this acquisition
Device sends load parameter, so that according to described load parameter, described SDN controller determines that in described BRAS equipment, each BRAS sets
The Hash scope corresponding for interface and delay time.
Wherein, described load parameter is for characterizing the residual capacity letter of each BRAS equipment interface in described BRAS equipment
Breath.
Concrete, after each BRAS equipment receives the acquisition instruction that SDN controller sends, can according to this acquisition instruction to
SDN controller sends load parameter, and this load parameter is for characterizing the residue of each BRAS equipment interface in described BRAS equipment
Capacity information.Optionally, this load parameter can be with the bandwidth availability ratio of BRAS equipment interface each in BRAS equipment (or residue
Bandwidth), the session Session utilization rate of each BRAS equipment interface (or residue Session), each BRAS equipment interface institute
At least one in the memory usage of the interface board belonging to the cpu busy percentage of interface board belonged to, each BRAS equipment interface.
S203:SDN controller, according to the load parameter of each BRAS equipment, obtains each BRAS in each load balancing group
The residual capacity ratio of equipment interface.
Wherein, the virtual LAN VLAN configuration of the BRAS equipment interface in same load balancing group is identical.
Concrete, SDN controller, after collecting the load parameter of each BRAS equipment, can calculate each load balancing group
In the residual capacity ratio of each BRAS equipment interface.Optionally, after load balancing group selected by SDN controller, it is possible to use
The bandwidth availability ratio of each BRAS equipment interface each BRAS equipment interface in calculating this load balancing group in this load balancing group
Residual capacity ratio, now, this residual capacity ratio is remaining bandwidth ratio.Optionally, SDN controller can also utilize this
The Session utilization rate of each BRAS equipment interface each BRAS equipment interface in calculating this load balancing group in load balancing group
Residual capacity ratio, now, this residual capacity ratio be residue Session ratio.Optionally, SDN controller is all right
The cpu busy percentage utilizing in this load balancing group the interface board belonging to each BRAS equipment interface calculates in this load balancing group every
The residual capacity ratio of individual BRAS equipment interface, now, this residual capacity ratio is the ratio of residue CPU.Optionally, SDN control
Device processed can also utilize the memory usage of the interface board in this load balancing group belonging to each BRAS equipment interface to calculate this and bear
Carrying the residual capacity ratio of each BRAS equipment interface in equilibrium group, now, this residual capacity ratio is the ratio of free memory.
Further, SDN controller residual capacity ratio of each BRAS equipment interface in computational load equilibrium group is adopted
Which which can determine according to the attribute of BRAS equipment interface each in load balancing group with or load parameter.
Optionally, different BRAS equipment, then SDN are belonged to when each BRAS equipment interface in a load balancing group
Controller can use one or more in above-mentioned load parameter to calculate residual capacity ratio, and, when SDN controller
When determining to use multiple load parameter, SDN controller can calculate residual capacity ratio, specifically according to actual weighter factor
Computational methods be referred to following lifted example 1, the process that calculates is similar to.
Optionally, when the part BRAS equipment interface in a load balancing group belongs to same BRAS equipment, another portion
Point BRAS equipment interface belongs to different BRAS equipment, then during SDN controller can also use above-mentioned load parameter
Or multiple residual capacity ratios that calculate, and, when SDN controller determines to use multiple load parameter, SDN controller can
To calculate residual capacity ratio according to actual weighter factor, concrete computational methods are referred to following lifted example 1, meter
Calculation process is similar to.
Optionally, when all BRAS equipment interfaces in a load balancing group belong to same BRAS equipment, but
Belong on interface boards different in this BRAS equipment, then during SDN controller can also use above-mentioned load parameter one or
The multiple residual capacity ratio that calculates of person, and, when SDN controller determines to use multiple load parameter, SDN controller is permissible
Calculating residual capacity ratio according to actual weighter factor, concrete computational methods are referred to following lifted example 1, calculate
Process is similar to.
Optionally, when all BRAS equipment interfaces in a load balancing group belong to same BRAS equipment, and
Belong in this BRAS equipment on same interface board, then SDN controller can be according to each BRAS equipment in this load balancing group
The bandwidth availability ratio of interface obtains the residual capacity ratio of each BRAS equipment interface in this load balancing group, it is also possible to profit
By the Session utilization rate of each BRAS equipment interface in this load balancing group, obtain in this load balancing group is each
The residual capacity ratio of BRAS equipment interface, it is also possible to utilize the bandwidth profit of each BRAS equipment interface in this load balancing group
By rate, and, the Session utilization rate of each BRAS equipment interface in this load balancing group, obtain in this load balancing group
The residual capacity ratio of each BRAS equipment interface.Optionally, all BRAS equipment interfaces in a load balancing group are equal
Belonging under same BRAS equipment, and the scene belonged in this BRAS equipment on same interface board, SDN controller utilizes this to bear
The bandwidth availability ratio of each BRAS equipment interface in load equilibrium group, and, each BRAS equipment interface in this load balancing group
Session utilization rate, obtain the detailed process of the residual capacity ratio of each BRAS equipment interface in this load balancing group,
May refer to following example 1.
Example 1:SDN controller is equal according to bandwidth availability ratio weighter factor, Session utilization rate weighter factor, above-mentioned load
The bandwidth availability ratio of each BRAS equipment interface in weighing apparatus group and the Session utilization rate of each BRAS equipment interface, in acquisition
State the residual capacity ratio of each BRAS equipment interface in load balancing group.Assume that this load balancing group includes that two BRAS set
Standby interface (A and B), the two BRAS equipment interface belongs on an interface board in a BRAS equipment, if BRAS equipment
The total bandwidth of interface A is 100MHZ, and total Session is 100, and bandwidth availability ratio current for this BRAS equipment interface A is 20%,
Session utilization rate is 30%, and the total bandwidth simultaneously setting BRAS equipment interface B is 100 as 100MHZ, total Session, should
Bandwidth availability ratio current for BRAS equipment interface B is 30%, and Session utilization rate is 40%, wherein, bandwidth availability ratio weighting because of
Son is 0.8, and the weighter factor of Session utilization rate is 20%, and the most concrete calculating process is:
The residual capacity of BRAS equipment A is 100*80%*0.8+100*70%*0.2=78;
The residual capacity of BRAS equipment B is 100*70%*0.8+100*50%*0.2=66;
Then BRAS equipment A is 13:11 with the residual capacity ratio of BRAS equipment B.
S204:SDN controller is according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, really
Each BRAS equipment interface pair in the Hash scope of each BRAS equipment interface and each BRAS equipment in fixed each BRAS equipment
The delay time answered.
First, the SDN controller residual capacity according to each BRAS equipment interface in each load balancing group is first introduced
Ratio, determines the detailed process of the Hash scope of each BRAS equipment interface in each BRAS equipment: when SDN controller is according to upper
The step stating S203 calculates in each load balancing group after the residual capacity ratio of each BRAS equipment interface, can basis
This residual capacity ratio, determines the Hash scope of each BRAS equipment interface in each BRAS equipment.Optionally, SDN controller
The Hash of each BRAS equipment interface in each BRAS equipment in each load balancing group can be determined by such a way
Scope, detailed process is shown in Figure 11, and as described in Figure 11, the method includes:
S301:SDN controller is according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, really
The height of the Hash bucket that fixed each described load balancing group is corresponding.
Optionally, SDN controller can be by the residual capacity ratio of each BRAS equipment interface in a load balancing group
Value sum is as the height of the Hash bucket of this load balancing group, it is also possible to each BRAS equipment in a load balancing group connect
The weighted value of the residual capacity ratio sum of mouth is not done as the height of the Hash bucket of this load balancing group, the present embodiment contrast
Limit.
S302:SDN controller, according to the height of Hash bucket corresponding to each described load balancing group, determines each described negative
The Hash weighted value of each BRAS equipment interface in load equilibrium group.
Concrete, DN controller is according to every in the height of Hash bucket corresponding to load balancing group and this load balancing group
The residual capacity ratio of individual BRAS equipment interface, determines the Hash weighted value of each BRAS equipment interface in this load balancing group,
Such as can be by each BRAS equipment interface at the Hash bucket corresponding with this load balancing group of the share shared by residual capacity ratio
Height be multiplied, both can obtain the Hash weighted value of this BRAS equipment interface.Certainly, optionally, SDN controller can be by surplus
Each ratio in remaining capacity ratio is directly as the Hash weighted value of current corresponding BRAS equipment interface.
S303:SDN controller is according to the Hash weighted value of each BRAS equipment interface in each described load balancing group
The height of the Hash bucket corresponding with each described load balancing group, determines the Kazakhstan of each BRAS equipment interface in each BRAS equipment
Uncommon scope.
Concrete, it is assumed that 4 BRAS equipment interfaces that load balancing group includes being positioned in 4 BRAS equipment (A,
B, C, D), if the ratio of the above-mentioned residual capacity calculated is 6:6:2:2, then determined by the height of Hash bucket can be 6+6+
2+2=16 (i.e. 0-15), then the Hash weighted value of A interface is 6, and the Hash weighted value of B interface is 6, the Hash weighted value of C interface
Being 2, the Hash weighted value of D interface is 2, then according to height and these Hash weighted values of above-mentioned Hash bucket, determine A interface
Hash scope is 0-5, and the Hash scope of B interface is 7-11, Hash scope 12-13 of C interface, and the Hash scope of D interface is 14-
15;Concrete outcome may refer to the Hash result table shown in table 1 below:
Table 1
To sum up, the Hash scope of each BRAS equipment interface during SDN controller can be obtained by each load balancing group.
Next introduces the SDN controller residual capacity ratio according to each BRAS equipment interface in each load balancing group
Value, determines the detailed process of the corresponding delay time of each BRAS equipment interface in each BRAS equipment.Optionally, SDN control
Device processed can determine each negative with the different residual capacity ratio of the one of internal preset and the mapping relations of different delay times
The residual capacity ratio of each BRAS equipment interface in load equilibrium group.Need exist for explanation, in SDN controller, for
For one residual capacity ratio, it is assumed that this ratio is 1:2:3:4, then in these mapping relations, can be first by wherein minimum ratio 1
A corresponding delay time, then judges which numerical range ratio below can fall at divided by after the ratio of this minimum
In, this numerical range is a corresponding delay time, ratio below can be respectively divided by wherein by such SDN controller respectively
Minimum ratio, obtains different numerical value, then looks at the numerical range belonging to this numerical value, and then determines that it corresponding respectively prolongs
Time the time.
Optionally, above-mentioned SDN controller is according to the residual capacity of each BRAS equipment interface in each load balancing group
Ratio, determines the corresponding delay time of each BRAS equipment interface in each BRAS equipment, it is also possible to shown in Figure 12
Embodiment, specifically includes:
S401:SDN controller is in the residual capacity ratio of each BRAS equipment interface in each load balancing group
Minimum value is normalized, and obtains new residual capacity ratio.
S402:SDN controller, according to the unit delay time preset and described new residual capacity ratio, determines each
The delay time that in BRAS equipment, each BRAS equipment interface is corresponding.
Concrete, example as shown in table 1, it is assumed that the residue of tetra-interfaces of A, B, C, D in a load balancing group is held
Amount ratio is 6:6:2:2, after being normalized numerical value 2 minimum in this residual capacity ratio, obtains new residual capacity
Ratio is 3:3:1:1.Then SDN controller according to preset unit delay time (i.e. the time of numerical value 1 correspondence, it is assumed that for
50ms) with above-mentioned new residual capacity ratio, it is possible to determine that the delay time that A interface is corresponding is that 50ms*3=150ms, B connect
The delay time that mouth is corresponding is 50ms*3=150ms, and the delay time that C interface is corresponding is 50ms*1=50ms, and D interface is corresponding
Delay time is 50ms*1=50ms.The delay time table that ginseng is shown in Table 2:
Table 2
To sum up, the Hash scope of each BRAS equipment interface during SDN controller just obtains each load balancing group and
Delay time.
Hash scope and each BRAS of BRAS equipment interface each in each BRAS equipment are set by S205:SDN controller
The delay time correspondence that standby each BRAS equipment interface is corresponding is sent to each BRAS equipment so that each BRAS equipment according to
Hash scope and the delay time of each BRAS equipment interface dynamically adjust present load.
S206: each BRAS equipment receives each BRAS equipment interface being positioned on equipment of itself of SDN controller transmission
Hash scope and delay time.
S207:BRAS equipment receives the DHCP Discover message that subscriber equipment sends, and to described DHCP
Discover message carries out Hash process, obtains cryptographic Hash.
S208:BRAS equipment judges described cryptographic Hash and receives the first BRAS equipment of described DHCP Discover message
Whether the Hash scope of interface mates;If so, S209 is performed, if it is not, then perform S210.
S209:BRAS equipment responds above-mentioned DHCP Discover message by the first BRAS equipment interface.
S210:BRAS equipment is described by described first BRAS equipment interface response after waiting the delay time preset
DHCP Discover message;Wherein, described delay time is corresponding with described first equipment interface.
Concrete, above-mentioned S206-S210 may refer to the detailed process of above-described embodiment one, and it realizes principle and technology effect
Fruit seemingly, does not repeats them here.
It should be noted that owing to above-mentioned SDN controller can periodically gather the load parameter in each BRAS equipment,
Therefore, Hash scope and the delay time of each BRAS equipment interface in its each load balancing group calculated also is the cycle
Property change so that each BRAS equipment dynamically adjusts negative in the Hash scope of each BRAS equipment interface according to self
(dynamically adjusting load to be just whether to allow user to be reached the standard grade by the equipment of self) during load, high degree avoids subscriber equipment
Situation about reaching the standard grade in same BRAS equipment occurs, and substantially improves the effect of BRAS equipment load balancing, it addition, pass through SDN
Controller can change the Hash scope of each BRAS equipment interface of each BRAS equipment automatically, thus automatically sets each BRAS
Standby load dynamically adjusts, it is not necessary to artificial manual configuration Access Delay order, simplifies user operation;It addition, by
Can also indicate the load parameter gathered in each BRAS equipment according to user in above-mentioned SDN controller, therefore, it is every that it is calculated
The Hash scope of each BRAS equipment interface in individual load balancing group and delay time are also to trigger change, and user only need to be
The input (such as on display interface) of SDN controller inputs a triggering command, and SDN controller just can gather each BRAS automatically
The load parameter of equipment, thus automatically adjust the Hash scope of each BRAS equipment interface in each load balancing group, it is also
Without artificial manual configuration Access Delay order, simplify user operation;Further, above-mentioned SDN controller can also
The load parameter in each BRAS equipment of warning information triggering collection according to arbitrary BRAS equipment, therefore, it is each that it is calculated
The Hash scope of each BRAS equipment interface in load balancing group and delay time are also to trigger change, i.e. SDN controller
Can also automatically change the Hash scope of each BRAS equipment interface of each BRAS equipment, thus automatically to each BRAS equipment
Load dynamically adjusts, it is not necessary to artificial manual configuration Access Delay order, simplifies user operation, improves user's
Experience.
The load-balancing method that the present invention provides, controls each BRAS equipment in each BRAS equipment by SDN controller
The Hash scope of interface, sets so that BRAS equipment can control user by the Hash scope of each BRAS equipment interface
Standby whether be not concentrated in reaching the standard grade in same BRAS equipment as the load of self, i.e. subscriber equipment, and be based on often
The matching result of the Hash scope on individual BRAS interface determines to reach the standard grade in which BRAS equipment, therefore, improves current
The load balancing effect of BRAS equipment;Further, since SDN controller can gather in the cycle or gathers each according to trigger condition
The load parameter of BRAS equipment, the Hash scope of each BRAS equipment interface in the most each BRAS equipment is variable, more
Guaranteeing that subscriber equipment is not concentrated in reaching the standard grade in same BRAS equipment, and, can automatically be changed often by SDN controller
The Hash scope of each BRAS equipment interface of individual BRAS equipment, thus the automatic load to each BRAS equipment is dynamically adjusted
Whole, it is not necessary to artificial manual configuration Access Delay order, simplify user operation, improve the experience effect of user.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to
The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey
Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
The structural representation of the BRAS equipment embodiment one that Figure 13 provides for the embodiment of the present invention.As shown in figure 13, should
BRAS equipment can include receiver module 11, judge module 12 and sending module 13.
Concrete, receiver module 11, the DHCP sent for receiving subscriber equipment finds DHCP
Discover message, and described DHCP Discover message is carried out Hash process, obtain cryptographic Hash;In described BRAS equipment
Each BRAS equipment interface respectively corresponding Hash scope;
Judge module 12, for judging that described cryptographic Hash and the BRAS receiving described DHCP Discover message set
Whether the Hash scope of standby interface mates;
Sending module 13, for judging described cryptographic Hash and described first BRAS equipment interface at described judge module 12
During Hash commensurate in scope, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable to described
Judge module 12 judges when described cryptographic Hash is not mated with the Hash scope of described first BRAS equipment interface, waits that presets prolongs
Time the time after by described first BRAS equipment interface respond described DHCP Discover message;Wherein, described delay time
Corresponding with described first equipment interface.
The BRAS equipment that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
Optionally, described receiver module 11, it is additionally operable to judge that described cryptographic Hash is described with reception at described judge module 12
Before whether the Hash scope of the first BRAS equipment interface of DHCP Discover message mates, receive software defined network SDN
The acquisition instruction that controller sends;
Described sending module 13, is additionally operable to obtain instruction to the described SDN controller described BRAS equipment of transmission according to described
Load parameter so that according to described load parameter, described SDN controller determines that in described BRAS equipment, each BRAS equipment connects
The Hash scope of mouth correspondence and delay time;Wherein, described load parameter is used for characterizing each BRAS in described BRAS equipment and sets
The residual capacity information of standby interface;
The most described receiver module 11, is additionally operable to receive each BRAS in the described BRAS equipment that described SDN controller sends
Hash scope that equipment interface is corresponding and delay time.
Further, described receiver module 11, specifically for receiving the described acquisition that described SDN controller periodically sends
Instruction;Or, receive described SDN controller and indicate the described acquisition instruction of transmission according to user.
Further, described sending module 13, if being additionally operable to described BRAS equipment to detect that current upper linear flow rate is discontented with
When foot is pre-conditioned, send a warning message to described SDN controller;
Described receiver module 11, specifically for receive described SDN controller according to described warning information send described in obtain
Fetching is shown.
Further, described load parameter includes the bandwidth usage of each BRAS equipment interface in described BRAS equipment
The CPU of the interface board belonging to rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface utilizes
At least one in the memory usage of the interface board belonging to rate, each BRAS equipment interface.
The BRAS equipment that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
The structural representation of the SDN controller embodiment one that Figure 14 provides for the embodiment of the present invention.As shown in figure 14, should
SDN controller may include that sending module 21, receiver module 22, acquisition module 23 and determines module 24.
Concrete, sending module 21, obtain instruction for sending to each BRAS equipment;
Receiver module 22, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described
Load parameter is for characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Acquisition module 23, for according to the load parameter of each BRAS equipment, obtain in each load balancing group is each
The residual capacity ratio of BRAS equipment interface;Wherein, the VLAN of the BRAS equipment interface in same load balancing group
VLAN configuration is identical;
Determine module 24, specifically for the residual capacity ratio according to each BRAS equipment interface in each load balancing group
Value, determines that in the Hash scope of each BRAS equipment interface in each BRAS equipment and each BRAS equipment, each BRAS equipment connects
The delay time that mouth is corresponding;
Described sending module 21, is additionally operable to the Hash scope of BRAS equipment interface each in each BRAS equipment and each
The delay time correspondence that in BRAS equipment, each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS sets
For dynamically adjusting present load according to Hash scope and the delay time of each BRAS equipment interface.
The SDN controller that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
Further, described module 24 is determined, specifically for connecing according to each BRAS equipment in each load balancing group
Mouthful residual capacity ratio, determine the height of Hash bucket corresponding to each described load balancing group, and according to each described load
The height of the Hash bucket that equilibrium group is corresponding, determines the Hash weight of each BRAS equipment interface in each described load balancing group
Value;And, according to Hash weighted value and each described load of each BRAS equipment interface in each described load balancing group
The height of the Hash bucket that equilibrium group is corresponding, determines the Hash scope of each BRAS equipment interface in each BRAS equipment.
Further, described sending module 21, indicate specifically for periodically sending described acquisition to each BRAS equipment;
Or, send described acquisition according to user's instruction to each BRAS equipment and indicate;Or, the alarm sent according to arbitrary BRAS equipment
Information, sends described acquisition to each BRAS equipment and indicates.
Further, described load parameter include the bandwidth availability ratio of each BRAS equipment interface in described BRAS equipment,
The cpu busy percentage of the interface board belonging to the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface,
At least one in the memory usage of the interface board belonging to each BRAS equipment interface.
Optionally, if each BRAS equipment interface in described load balancing group belong in a BRAS equipment same
Individual interface board,
Described acquisition module 23, specifically for the bandwidth profit according to each BRAS equipment interface in described load balancing group
By rate, and/or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain described load balancing
The residual capacity ratio of each BRAS equipment interface in group.
Further, described acquisition module 23, specifically for according to bandwidth availability ratio weighter factor, Session utilization rate
The bandwidth availability ratio of each BRAS equipment interface in weighter factor, described load balancing group and each BRAS equipment interface
Session utilization rate, obtains the residual capacity ratio of each BRAS equipment interface in described load balancing group.
Further, described module 24 is determined, specifically for each BRAS equipment interface in each load balancing group
Residual capacity ratio in minimum value be normalized, obtain new residual capacity ratio, and according to default list
Position delay time and described new residual capacity ratio, determine the time delay that in each BRAS equipment, each BRAS equipment interface is corresponding
Time.
The SDN controller that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
The structural representation of the BRAS equipment embodiment two that Figure 15 provides for the embodiment of the present invention.As shown in figure 15, this leads to
Letter equipment can include at least one communication bus 34 of receptor 30, processor 31, transmitter 32, memorizer 33.Communication bus
34 for realizing the communication connection between element.Memorizer 33 may comprise high-speed RAM memorizer, it is also possible to also includes non-volatile
Property storage NVM, for example, at least one disk memory, memorizer 33 can store various program, be used for various process
Function and realize the method step of the present embodiment.Optionally, the receptor 30 in the present embodiment can be have accordingly logical
Telecommunication function and the input interface of reception informational function, it is also possible to for the radio-frequency module in BRAS equipment or baseband module, this reality
Executing the transmitter 32 in example can be to have communication function accordingly and send the output interface of informational function, it is also possible to for BRAS
Radio-frequency module on equipment or baseband module.Optionally, this transmitter 32 can be integrated in one and communicates and connect with receptor 30
In Kou, it is also possible to be respectively two independent communication interfaces.
Concrete, in the present embodiment, receptor 30, the DHCP sent for receiving subscriber equipment is sent out
Existing DHCP Discover message, and described DHCP Discover message is carried out Hash process, obtain cryptographic Hash;Described BRAS
The most corresponding Hash scope of each BRAS equipment interface on equipment;
Processor 31, for judging described cryptographic Hash and the first BRAS equipment receiving described DHCP Discover message
Whether the Hash scope of interface mates;
Transmitter 32, for judging the Hash of described cryptographic Hash and described first BRAS equipment interface at described processor 31
During commensurate in scope, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable in described process
Device 31 judges when described cryptographic Hash is not mated with the Hash scope of described first BRAS equipment interface, waits the delay time preset
Described DHCP Discover message is responded afterwards by described first BRAS equipment interface;Wherein, described delay time is with described
First equipment interface is corresponding.
The BRAS equipment that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
Optionally, described receptor 30, it is additionally operable to receive the acquisition instruction that software defined network SDN controller sends;
Described transmitter 32, is additionally operable to obtain instruction to the described SDN controller described BRAS equipment of transmission according to described
Load parameter, so that described SDN controller determines each BRAS equipment interface in described BRAS equipment according to described load parameter
Corresponding Hash scope and delay time;Wherein, described load parameter is used for characterizing each BRAS equipment in described BRAS equipment
The residual capacity information of interface;
Described receptor 30, is additionally operable to receive each BRAS equipment in the described BRAS equipment that described SDN controller sends
Hash scope that interface is corresponding and delay time.
Further, described receptor 30, the described acquisition periodically sent specifically for receiving described SDN controller refers to
Show;Or, receive described SDN controller and indicate the described acquisition instruction of transmission according to user.
Further, described transmitter 32, it is additionally operable to detect that current upper linear flow rate is unsatisfactory at described processor 31
Time pre-conditioned, send a warning message to described SDN controller;
Described receptor 30, specifically for receiving the described acquisition that described SDN controller sends according to described warning information
Instruction.
Further, described load parameter includes the bandwidth usage of each BRAS equipment interface in described BRAS equipment
The CPU of the interface board belonging to rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface utilizes
At least one in the memory usage of the interface board belonging to rate, each BRAS equipment interface.
The BRAS equipment that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
The structural representation of the SDN controller embodiment two that Figure 16 provides for the embodiment of the present invention.As shown in figure 16, this leads to
Letter equipment can include at least one communication bus 44 of transmitter 40, receptor 41, processor 42, memorizer 43.Communication bus
44 for realizing the communication connection between element.Memorizer 43 may comprise high-speed RAM memorizer, it is also possible to also includes non-volatile
Property storage NVM, for example, at least one disk memory, memorizer 43 can store various program, be used for various process
Function and realize the method step of the present embodiment.Optionally, the receptor 41 in the present embodiment can be have accordingly logical
Telecommunication function and the input interface of reception informational function, it is also possible to for the radio-frequency module on SDN controller or baseband module, this reality
Executing the transmitter 40 in example can be to have communication function accordingly and send the output interface of informational function, it is also possible to for SDN
Radio-frequency module on controller or baseband module.Optionally, this transmitter 40 can be integrated in one with receptor 41 and communicates
In interface, it is also possible to be respectively two independent communication interfaces.
Concrete, in the present embodiment, transmitter 40, obtain instruction for sending to each BRAS equipment;
Receptor 41, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described negative
Carry parameter for characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Processor 42, for the load parameter according to each BRAS equipment, obtains each BRAS in each load balancing group
The residual capacity ratio of equipment interface, and according to the residual capacity ratio of each BRAS equipment interface in each load balancing group
Value, determines that in the Hash scope of each BRAS equipment interface in each BRAS equipment and each BRAS equipment, each BRAS equipment connects
The delay time that mouth is corresponding;Wherein, the virtual LAN VLAN configuration phase of the BRAS equipment interface in same load balancing group
With;
Described transmitter 40, is additionally operable to the Hash scope of BRAS equipment interface each in each BRAS equipment and each
The delay time correspondence that in BRAS equipment, each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS sets
For dynamically adjusting present load according to Hash scope and the delay time of each BRAS equipment interface.
The SDN controller that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
Further, described processor 42, specifically for according to each BRAS equipment interface in each load balancing group
Residual capacity ratio, determine the height of Hash bucket corresponding to each described load balancing group, and equal according to each described load
The height of the Hash bucket that weighing apparatus group is corresponding, determines the Hash weight of each BRAS equipment interface in each described load balancing group
Value;And, according to Hash weighted value and each described load of each BRAS equipment interface in each described load balancing group
The height of the Hash bucket that equilibrium group is corresponding, determines the Hash scope of each BRAS equipment interface in each BRAS equipment.
Further, described transmitter 40, indicate specifically for periodically sending described acquisition to each BRAS equipment;Or
Person, sends described acquisition according to user's instruction to each BRAS equipment and indicates;Or, the alarm letter sent according to arbitrary BRAS equipment
Breath, sends described acquisition to each BRAS equipment and indicates.
Further, described load parameter includes the bandwidth usage of each BRAS equipment interface in described BRAS equipment
The CPU of the interface board belonging to rate, the session Session utilization rate of each BRAS equipment interface, each BRAS equipment interface utilizes
At least one in the memory usage of the interface board belonging to rate, each BRAS equipment interface.
Optionally, if each BRAS equipment interface in described load balancing group belong in a BRAS equipment same
Individual interface board, described processor 42, specifically for the bandwidth profit according to each BRAS equipment interface in described load balancing group
By rate, and/or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain described load balancing
The residual capacity ratio of each BRAS equipment interface in group.Further, described processor 42, specifically for according to bandwidth profit
By the bandwidth profit of each BRAS equipment interface in rate weighter factor, Session utilization rate weighter factor, described load balancing group
By rate and the Session utilization rate of each BRAS equipment interface, obtain each BRAS equipment interface in described load balancing group
Residual capacity ratio.
Further, described processor 42, specifically for each BRAS equipment interface in each load balancing group
Minimum value in residual capacity ratio is normalized, and obtains new residual capacity ratio, and according to default unit
Delay time and described new residual capacity ratio, when determining the time delay that in each BRAS equipment, each BRAS equipment interface is corresponding
Between.
The SDN controller that the embodiment of the present invention provides, it can perform said method embodiment, and it realizes principle and technology
Effect is similar to, and does not repeats them here.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (36)
1. a load-balancing method, it is characterised in that including:
Broadband remote access servers BRAS equipment receives the DHCP discovery DHCP that subscriber equipment sends
Discover message, and described DHCP Discover message is carried out Hash process, obtain cryptographic Hash;In described BRAS equipment
Each BRAS equipment interface respectively corresponding Hash scope;
Described BRAS equipment judges described cryptographic Hash and the first BRAS equipment interface receiving described DHCP Discover message
Whether Hash scope mates;
The most then respond described DHCP Discover message by described first BRAS equipment interface;
If it is not, respond described DHCP by described first BRAS equipment interface after then waiting default delay time
Discover message;Wherein, described delay time is corresponding with described first equipment interface.
Method the most according to claim 1, it is characterised in that described in described BRAS equipment judges described cryptographic Hash and receives
Before whether the Hash scope of the first BRAS equipment interface of DHCP Discover message mates, also include:
Described BRAS equipment receives the acquisition instruction that software defined network SDN controller sends;
Described BRAS equipment obtains the instruction load parameter to the described SDN controller described BRAS equipment of transmission according to described, with
Described SDN controller is made to determine, according to described load parameter, the Hash model that in described BRAS equipment, each BRAS equipment interface is corresponding
Enclose and delay time;Wherein, described load parameter holds for the residue characterizing each BRAS equipment interface in described BRAS equipment
Amount information;
Described BRAS equipment receives the Kazakhstan that in the described BRAS equipment that described SDN controller sends, each BRAS equipment interface is corresponding
Uncommon scope and delay time.
Method the most according to claim 2, it is characterised in that described BRAS equipment receives the acquisition that SDN controller sends
Instruction, specifically includes:
Described BRAS equipment receives the described acquisition instruction that described SDN controller periodically sends;
Or,
Described BRAS equipment receives described SDN controller and indicates the described acquisition instruction of transmission according to user.
Method the most according to claim 2, it is characterised in that described BRAS equipment receives the acquisition that SDN controller sends
Instruction, specifically includes:
If described BRAS equipment detects that current upper linear flow rate is unsatisfactory for pre-conditioned, then send to described SDN controller and accuse
Alarming information;
Described BRAS equipment receives the described acquisition instruction that described SDN controller sends according to described warning information.
5. according to the method described in any one of claim 1-4, it is characterised in that described load parameter includes described BRAS equipment
The upper bandwidth availability ratio of each BRAS equipment interface, the session Session utilization rate of each BRAS equipment interface, each BRAS set
The standby cpu busy percentage of interface board belonging to interface, the interface board belonging to each BRAS equipment interface memory usage in extremely
Few one.
6. a load-balancing method, it is characterised in that including:
Software defined network SDN controller to each BRAS equipment send obtain instruction, and receive each BRAS equipment according to described in obtain
Fetching shows the load parameter of transmission;Wherein, described load parameter is used for characterizing each BRAS equipment interface in described BRAS equipment
Residual capacity information;
Described SDN controller, according to the load parameter of each BRAS equipment, obtains each BRAS equipment in each load balancing group
The residual capacity ratio of interface;Wherein, the virtual LAN VLAN configuration of the BRAS equipment interface in same load balancing group
Identical;
Described SDN controller, according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, determines every
In individual BRAS equipment, the Hash scope of each BRAS equipment interface BRAS equipment interface each with in each BRAS equipment is corresponding
Delay time;
Described SDN controller is by every in the Hash scope of BRAS equipment interface each in each BRAS equipment and each BRAS equipment
The delay time correspondence that individual BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS equipment is according to each
The Hash scope of BRAS equipment interface and delay time dynamically adjust present load.
Method the most according to claim 6, it is characterised in that described SDN controller is according in each load balancing group
The residual capacity ratio of each BRAS equipment interface, determines the Hash scope of each BRAS equipment interface in each BRAS equipment,
Specifically include:
Described SDN controller, according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, determines every
The height of the Hash bucket that individual described load balancing group is corresponding;
Described SDN controller, according to the height of Hash bucket corresponding to each described load balancing group, determines that each described load is equal
The Hash weighted value of each BRAS equipment interface in weighing apparatus group;
Described SDN controller is according to the Hash weighted value of each BRAS equipment interface in each described load balancing group and each
The height of the Hash bucket that described load balancing group is corresponding, determines the Hash model of each BRAS equipment interface in each BRAS equipment
Enclose.
Method the most according to claim 7, it is characterised in that described SDN controller sends acquisition to each BRAS equipment and refers to
Show, specifically include:
Described SDN controller periodically sends described acquisition to each BRAS equipment and indicates;
Or,
Described SDN controller sends described acquisition according to user's instruction to each BRAS equipment and indicates;
Or,
The warning information that described SDN controller sends according to arbitrary BRAS equipment, sends described acquisition to each BRAS equipment and indicates.
9. according to the method described in any one of claim 6-8, it is characterised in that described load parameter includes described BRAS equipment
The upper bandwidth availability ratio of each BRAS equipment interface, the session Session utilization rate of each BRAS equipment interface, each BRAS set
The standby cpu busy percentage of interface board belonging to interface, the interface board belonging to each BRAS equipment interface memory usage in extremely
Few one.
Method the most according to claim 9, it is characterised in that if each BRAS equipment in described load balancing group connects
Mouthful belong to the same interface board in a BRAS equipment, the most described SDN controller according to the load parameter of each BRAS equipment,
Obtain the residual capacity ratio of each BRAS equipment interface in each load balancing group, specifically include:
Described SDN controller according to the bandwidth availability ratio of each BRAS equipment interface in described load balancing group, and/or, institute
Stating the Session utilization rate of each BRAS equipment interface in load balancing group, obtain in described load balancing group is each
The residual capacity ratio of BRAS equipment interface.
11. methods according to claim 10, it is characterised in that described SDN controller is according in described load balancing group
The bandwidth availability ratio of each BRAS equipment interface and described load balancing group in the Session profit of each BRAS equipment interface
By rate, obtain the residual capacity ratio of each BRAS equipment interface in described load balancing group, specifically include:
Described SDN controller is according to bandwidth availability ratio weighter factor, Session utilization rate weighter factor, described load balancing group
In the bandwidth availability ratio of each BRAS equipment interface and the Session utilization rate of each BRAS equipment interface, obtain described negative
The residual capacity ratio of each BRAS equipment interface in load equilibrium group.
12. methods according to claim 9, it is characterised in that described SDN controller is according in each load balancing group
The residual capacity ratio of each BRAS equipment interface, when determining the time delay that in each BRAS equipment, each BRAS equipment interface is corresponding
Between, specifically include:
Described SDN controller is to the minimum number in the residual capacity ratio of each BRAS equipment interface in each load balancing group
Value is normalized, and obtains new residual capacity ratio;
Described SDN controller, according to the unit delay time preset and described new residual capacity ratio, determines that each BRAS sets
The delay time that standby each BRAS equipment interface is corresponding.
13. 1 kinds of broadband remote access servers BRAS equipment, it is characterised in that including:
Receiver module, the DHCP sent for receiving subscriber equipment finds DHCP Discover message, and right
Described DHCP Discover message carries out Hash process, obtains cryptographic Hash;Each BRAS equipment interface in described BRAS equipment
The most corresponding Hash scope;
Judge module, for judging described cryptographic Hash and the first BRAS equipment interface receiving described DHCP Discover message
Hash scope whether mate;
Sending module, for judging the Hash scope of described cryptographic Hash and described first BRAS equipment interface at described judge module
During coupling, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable at described judge module
Judge when described cryptographic Hash is not mated with the Hash scope of described first BRAS equipment interface, after waiting the delay time preset
Described DHCP Discover message is responded by described first BRAS equipment interface;Wherein, described delay time and described first
Equipment interface is corresponding.
14. BRAS equipment according to claim 13, it is characterised in that described receiver module, are additionally operable in described judgement
With the Hash scope of the first BRAS equipment interface receiving described DHCP Discover message whether module judges described cryptographic Hash
Before coupling, receive the acquisition instruction that software defined network SDN controller sends;
Described sending module, is additionally operable to obtain the instruction load to the described SDN controller described BRAS equipment of transmission according to described
Parameter, so that according to described load parameter, described SDN controller determines that in described BRAS equipment, each BRAS equipment interface is corresponding
Hash scope and delay time;Wherein, described load parameter is used for characterizing each BRAS equipment interface in described BRAS equipment
Residual capacity information;
The most described receiver module, is additionally operable to receive each BRAS equipment in the described BRAS equipment that described SDN controller sends and connects
The Hash scope of mouth correspondence and delay time.
15. BRAS equipment according to claim 14, it is characterised in that described receiver module, described specifically for receiving
The described acquisition instruction that SDN controller periodically sends;Or, receive described SDN controller and indicate the institute of transmission according to user
State acquisition instruction.
16. BRAS equipment according to claim 14, it is characterised in that described sending module, if being additionally operable to described BRAS
Equipment Inspection to current upper linear flow rate be unsatisfactory for pre-conditioned time, send a warning message to described SDN controller;
Described receiver module, specifically for receiving the described acquisition instruction that described SDN controller sends according to described warning information.
17. according to the BRAS equipment described in any one of claim 13-16, it is characterised in that described load parameter includes described
The bandwidth availability ratio of each BRAS equipment interface in BRAS equipment, the session Session utilization rate of each BRAS equipment interface, every
The internal memory of the interface board belonging to the cpu busy percentage of the interface board belonging to individual BRAS equipment interface, each BRAS equipment interface utilizes
At least one in rate.
18. 1 kinds of software defined network SDN controllers, it is characterised in that including:
Sending module, obtains instruction for sending to each BRAS equipment;
Receiver module, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described load ginseng
Number is for characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Acquisition module, for the load parameter according to each BRAS equipment, obtains each BRAS equipment in each load balancing group
The residual capacity ratio of interface;Wherein, the virtual LAN VLAN configuration of the BRAS equipment interface in same load balancing group
Identical;
Determine module, specifically for the residual capacity ratio according to each BRAS equipment interface in each load balancing group, really
Each BRAS equipment interface pair in the Hash scope of each BRAS equipment interface and each BRAS equipment in fixed each BRAS equipment
The delay time answered;
Described sending module, is additionally operable to set Hash scope and each BRAS of BRAS equipment interface each in each BRAS equipment
The delay time correspondence that standby each BRAS equipment interface is corresponding is sent to each BRAS equipment so that each BRAS equipment according to
Hash scope and the delay time of each BRAS equipment interface dynamically adjust present load.
19. SDN controllers according to claim 18, it is characterised in that described determine module, specifically for according to each
The residual capacity ratio of each BRAS equipment interface in load balancing group, determines the Hash that each described load balancing group is corresponding
The height of bucket, and according to the height of Hash bucket corresponding to each described load balancing group, determine in each described load balancing group
The Hash weighted value of each BRAS equipment interface;And, connect according to each BRAS equipment in each described load balancing group
Mouthful the height of the Hash weighted value Hash bucket corresponding with each described load balancing group, determine in each BRAS equipment each
The Hash scope of BRAS equipment interface.
20. SDN controllers according to claim 19, it is characterised in that described sending module, specifically for periodically
Send described acquisition to each BRAS equipment to indicate;Or, send described acquisition according to user's instruction to each BRAS equipment and indicate;Or
Person, the warning information sent according to arbitrary BRAS equipment, send described acquisition to each BRAS equipment and indicate.
21. according to the SDN controller described in any one of claim 18-20, it is characterised in that described load parameter includes described
The bandwidth availability ratio of each BRAS equipment interface in BRAS equipment, the session Session utilization rate of each BRAS equipment interface, every
The internal memory of the interface board belonging to the cpu busy percentage of the interface board belonging to individual BRAS equipment interface, each BRAS equipment interface utilizes
At least one in rate.
22. SDN controllers according to claim 21, it is characterised in that if each BRAS in described load balancing group
Equipment interface belongs to the same interface board in a BRAS equipment,
Described acquisition module, specifically for the bandwidth availability ratio according to each BRAS equipment interface in described load balancing group,
And/or, the Session utilization rate of each BRAS equipment interface in described load balancing group, obtain in described load balancing group
The residual capacity ratio of each BRAS equipment interface.
23. SDN controllers according to claim 22, it is characterised in that described acquisition module, specifically for according to bandwidth
The bandwidth of each BRAS equipment interface in utilization rate weighter factor, Session utilization rate weighter factor, described load balancing group
Utilization rate and the Session utilization rate of each BRAS equipment interface, each BRAS equipment obtained in described load balancing group connects
The residual capacity ratio of mouth.
24. SDN controllers according to claim 21, it is characterised in that described determine module, specifically for each negative
The minimum value carried in the residual capacity ratio of each BRAS equipment interface in equilibrium group is normalized, and obtains new
Residual capacity ratio, and according to default unit delay time and described new residual capacity ratio, determine each BRAS equipment
The delay time that upper each BRAS equipment interface is corresponding.
25. 1 kinds of broadband remote access servers BRAS equipment, it is characterised in that including:
Receptor, the DHCP sent for receiving subscriber equipment finds DHCP Discover message, and to institute
State DHCP Discover message and carry out Hash process, obtain cryptographic Hash;Each BRAS equipment interface in described BRAS equipment divides
Not corresponding Hash scope;
Processor, for judging the described cryptographic Hash the first BRAS equipment interface with the described DHCP Discover message of reception
Whether Hash scope mates;
Transmitter, for judging the Hash commensurate in scope of described cryptographic Hash and described first BRAS equipment interface at described processor
Time, respond described DHCP Discover message by described first BRAS equipment interface;It is additionally operable to judge institute at described processor
State cryptographic Hash when not mating with the Hash scope of described first BRAS equipment interface, after waiting the delay time preset, pass through institute
State the first BRAS equipment interface and respond described DHCP Discover message;Wherein, described delay time connects with described first equipment
Mouth is corresponding.
26. BRAS equipment according to claim 25, it is characterised in that described receptor, are additionally operable to receive software definition
The acquisition instruction that network SDN controller sends;
Described transmitter, is additionally operable to obtain the instruction load ginseng to the described SDN controller described BRAS equipment of transmission according to described
Number, so that according to described load parameter, described SDN controller determines that in described BRAS equipment, each BRAS equipment interface is corresponding
Hash scope and delay time;Wherein, described load parameter is for characterizing each BRAS equipment interface in described BRAS equipment
Residual capacity information;
Described receptor, is additionally operable to receive each BRAS equipment interface pair in the described BRAS equipment that described SDN controller sends
The Hash scope answered and delay time.
27. BRAS equipment according to claim 26, it is characterised in that described receptor, specifically for receiving described SDN
The described acquisition instruction that controller periodically sends;Or, receive described SDN controller and indicate according to user and obtain described in transmission
Fetching is shown.
28. BRAS equipment according to claim 26, it is characterised in that described transmitter, are additionally operable at described processor
Detect when current upper linear flow rate is unsatisfactory for pre-conditioned, send a warning message to described SDN controller;
Described receptor, specifically for receiving the described acquisition instruction that described SDN controller sends according to described warning information.
29. according to the BRAS equipment described in any one of claim 25-28, it is characterised in that described load parameter includes described
The bandwidth availability ratio of each BRAS equipment interface in BRAS equipment, the session Session utilization rate of each BRAS equipment interface, every
The internal memory of the interface board belonging to the cpu busy percentage of the interface board belonging to individual BRAS equipment interface, each BRAS equipment interface utilizes
At least one in rate.
30. 1 kinds of software defined network SDN controllers, it is characterised in that including:
Transmitter, obtains instruction for sending to each BRAS equipment;
Receptor, obtains, according to described, the load parameter that instruction sends for receiving each BRAS equipment;Wherein, described load parameter
For characterizing the residual capacity information of each BRAS equipment interface in described BRAS equipment;
Processor, for the load parameter according to each BRAS equipment, each BRAS equipment obtained in each load balancing group connects
The residual capacity ratio of mouth, and according to the residual capacity ratio of each BRAS equipment interface in each load balancing group, determine
In each BRAS equipment, the Hash scope of each BRAS equipment interface BRAS equipment interface each with in each BRAS equipment is corresponding
Delay time;Wherein, the virtual LAN VLAN configuration of the BRAS equipment interface in same load balancing group is identical;
Described transmitter, is additionally operable to the Hash scope of BRAS equipment interface each in each BRAS equipment and each BRAS equipment
The delay time correspondence that upper each BRAS equipment interface is corresponding is sent to each BRAS equipment, so that each BRAS equipment is according to every
Hash scope and the delay time of individual BRAS equipment interface dynamically adjust present load.
31. SDN controllers according to claim 30, it is characterised in that described processor, specifically for according to each negative
The residual capacity ratio of each BRAS equipment interface in load equilibrium group, determines the Hash bucket that each described load balancing group is corresponding
Height, and according to the height of Hash bucket corresponding to each described load balancing group, determine in each described load balancing group
The Hash weighted value of each BRAS equipment interface;And, according to each BRAS equipment interface in each described load balancing group
The height of the Hash weighted value Hash bucket corresponding with each described load balancing group, determine each BRAS in each BRAS equipment
The Hash scope of equipment interface.
32. SDN controllers according to claim 31, it is characterised in that described transmitter, specifically for periodically to
Each BRAS equipment sends described acquisition and indicates;Or, send described acquisition according to user's instruction to each BRAS equipment and indicate;Or
Person, the warning information sent according to arbitrary BRAS equipment, send described acquisition to each BRAS equipment and indicate.
33. according to the SDN controller described in any one of claim 30-32, it is characterised in that described load parameter includes described
The bandwidth availability ratio of each BRAS equipment interface in BRAS equipment, the session Session utilization rate of each BRAS equipment interface, every
The internal memory of the interface board belonging to the cpu busy percentage of the interface board belonging to individual BRAS equipment interface, each BRAS equipment interface utilizes
At least one in rate.
34. SDN controllers according to claim 33, it is characterised in that if each BRAS in described load balancing group
Equipment interface belongs to the same interface board in a BRAS equipment, and described processor, specifically for equal according to described load
The bandwidth availability ratio of each BRAS equipment interface in weighing apparatus group, and/or, each BRAS equipment interface in described load balancing group
Session utilization rate, obtain the residual capacity ratio of each BRAS equipment interface in described load balancing group.
35. SDN controllers according to claim 34, it is characterised in that described processor, specifically for according to bandwidth profit
By the bandwidth profit of each BRAS equipment interface in rate weighter factor, Session utilization rate weighter factor, described load balancing group
By rate and the Session utilization rate of each BRAS equipment interface, obtain each BRAS equipment interface in described load balancing group
Residual capacity ratio.
36. SDN controllers according to claim 33, it is characterised in that described processor, specifically for each load
Minimum value in the residual capacity ratio of each BRAS equipment interface in equilibrium group is normalized, and obtains new remaining
Remaining capacity ratio, and according to default unit delay time and described new residual capacity ratio, determine in each BRAS equipment
The delay time that each BRAS equipment interface is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610618022.3A CN106254447B (en) | 2016-07-29 | 2016-07-29 | Load-balancing method, BRAS equipment and SDN controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610618022.3A CN106254447B (en) | 2016-07-29 | 2016-07-29 | Load-balancing method, BRAS equipment and SDN controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254447A true CN106254447A (en) | 2016-12-21 |
CN106254447B CN106254447B (en) | 2019-10-18 |
Family
ID=57605484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610618022.3A Expired - Fee Related CN106254447B (en) | 2016-07-29 | 2016-07-29 | Load-balancing method, BRAS equipment and SDN controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254447B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534376A (en) * | 2016-12-29 | 2017-03-22 | 北京华为数字技术有限公司 | User online load balancing method, apparatus and device |
CN108289113A (en) * | 2017-01-10 | 2018-07-17 | 中兴通讯股份有限公司 | VBNG system multi-dummy machine load share methods and vBNG system equipments |
CN109768906A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | A kind of subnet special line configuration method and device |
CN110134467A (en) * | 2018-02-08 | 2019-08-16 | 中兴通讯股份有限公司 | Processing method, device, storage medium and the processor of parameter configuration |
CN111104414A (en) * | 2019-12-03 | 2020-05-05 | 紫光云(南京)数字技术有限公司 | SDN controller auditing method based on barrel hash |
CN111953615A (en) * | 2019-05-17 | 2020-11-17 | 华为技术有限公司 | Load sharing method and device and BRAS |
WO2021068685A1 (en) * | 2019-10-11 | 2021-04-15 | 中兴通讯股份有限公司 | Communication circuit management method, network device, and storage medium |
CN112804164A (en) * | 2021-04-01 | 2021-05-14 | 北京每日优鲜电子商务有限公司 | Flow information generation method and device, electronic equipment and computer readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610296A (en) * | 2009-07-21 | 2009-12-23 | 杭州华三通信技术有限公司 | A kind of network address translation (NAT) outgoing interface balancing method and device |
CN101986627A (en) * | 2010-11-25 | 2011-03-16 | 北京星网锐捷网络技术有限公司 | Method, device and equipment for balancing loads |
CN102577280A (en) * | 2011-11-28 | 2012-07-11 | 华为技术有限公司 | Method, apparatus and system for sending message |
CN104301233A (en) * | 2014-10-31 | 2015-01-21 | 易准科技发展(上海)有限公司 | Route access method, route access system and user terminal |
-
2016
- 2016-07-29 CN CN201610618022.3A patent/CN106254447B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610296A (en) * | 2009-07-21 | 2009-12-23 | 杭州华三通信技术有限公司 | A kind of network address translation (NAT) outgoing interface balancing method and device |
CN101986627A (en) * | 2010-11-25 | 2011-03-16 | 北京星网锐捷网络技术有限公司 | Method, device and equipment for balancing loads |
CN102577280A (en) * | 2011-11-28 | 2012-07-11 | 华为技术有限公司 | Method, apparatus and system for sending message |
CN104301233A (en) * | 2014-10-31 | 2015-01-21 | 易准科技发展(上海)有限公司 | Route access method, route access system and user terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534376A (en) * | 2016-12-29 | 2017-03-22 | 北京华为数字技术有限公司 | User online load balancing method, apparatus and device |
CN111182034A (en) * | 2016-12-29 | 2020-05-19 | 北京华为数字技术有限公司 | Load balancing method, device and equipment for user online |
CN108289113A (en) * | 2017-01-10 | 2018-07-17 | 中兴通讯股份有限公司 | VBNG system multi-dummy machine load share methods and vBNG system equipments |
CN110134467A (en) * | 2018-02-08 | 2019-08-16 | 中兴通讯股份有限公司 | Processing method, device, storage medium and the processor of parameter configuration |
CN110134467B (en) * | 2018-02-08 | 2021-11-02 | 中兴通讯股份有限公司 | Parameter configuration processing method and device, storage medium and processor |
CN109768906A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | A kind of subnet special line configuration method and device |
CN109768906B (en) * | 2019-03-29 | 2021-04-27 | 新华三技术有限公司 | Private subnet line configuration method and device |
CN111953615A (en) * | 2019-05-17 | 2020-11-17 | 华为技术有限公司 | Load sharing method and device and BRAS |
WO2021068685A1 (en) * | 2019-10-11 | 2021-04-15 | 中兴通讯股份有限公司 | Communication circuit management method, network device, and storage medium |
CN111104414A (en) * | 2019-12-03 | 2020-05-05 | 紫光云(南京)数字技术有限公司 | SDN controller auditing method based on barrel hash |
CN111104414B (en) * | 2019-12-03 | 2022-10-28 | 紫光云(南京)数字技术有限公司 | SDN controller auditing method based on barrel hash |
CN112804164A (en) * | 2021-04-01 | 2021-05-14 | 北京每日优鲜电子商务有限公司 | Flow information generation method and device, electronic equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN106254447B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254447A (en) | Load-balancing method, BRAS equipment and SDN controller | |
CN106375214B (en) | A kind of Tiered routing determining method of path and device based on SDN | |
CN104243337B (en) | A kind of method and device across cluster load balance | |
US8537709B2 (en) | Network device, and multi-wide area network interface selection module and method | |
CN104539531A (en) | Data transmission method and device | |
CN103581014B (en) | VRRP routers dynamic adjusting method and device | |
CN109698757A (en) | Switch master/slave device, the method for restoring user data, server and the network equipment | |
CN109787827B (en) | CDN network monitoring method and device | |
CN105282043A (en) | Global network load balancing system, device and method | |
CN109787801A (en) | A kind of network service management methods, devices and systems | |
CN104580293B (en) | For the methods, devices and systems of remote control management and control strategy | |
CN108234319B (en) | Data transmission method and device | |
CN108737544B (en) | CDN node scheduling method and device | |
CN102420868B (en) | The providing method of service, apparatus and system | |
CN109040243A (en) | A kind of message processing method and device | |
CN105099953A (en) | Cloud data center virtual network isolation method and device | |
CN106169978A (en) | The treating method and apparatus of BMP message | |
CN106936729A (en) | Control method, system and broadband access network system that a kind of terminal device is accessed | |
CN106130843A (en) | A kind of internet protocol address management system and method | |
CN104980368A (en) | Bandwidth guarantee method and apparatus in software defined network (SDN) | |
RU2616880C1 (en) | Method and device for switching interface | |
CN101902623B (en) | Method and device for transmitting network video service | |
CN110311838A (en) | A kind of method and device of security service traffic statistics | |
CN101087232B (en) | An access method, system and device based on Ethernet point-to-point protocol | |
US7697548B2 (en) | Load balancing of broadband subscriber sessions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191018 |