CN103139094A - Method and device for adjusting uneven load sharing - Google Patents

Method and device for adjusting uneven load sharing Download PDF

Info

Publication number
CN103139094A
CN103139094A CN2013100783539A CN201310078353A CN103139094A CN 103139094 A CN103139094 A CN 103139094A CN 2013100783539 A CN2013100783539 A CN 2013100783539A CN 201310078353 A CN201310078353 A CN 201310078353A CN 103139094 A CN103139094 A CN 103139094A
Authority
CN
China
Prior art keywords
load balancing
outgoing interface
item
adjustment
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100783539A
Other languages
Chinese (zh)
Other versions
CN103139094B (en
Inventor
周冲
徐芳瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Ordnance Equipment Group Ordnance Equipment Research Institute
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310078353.9A priority Critical patent/CN103139094B/en
Publication of CN103139094A publication Critical patent/CN103139094A/en
Application granted granted Critical
Publication of CN103139094B publication Critical patent/CN103139094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for adjusting uneven load sharing, and relates to the technical field of communication. Under the condition of the uneven load sharing, load sharing adjustment can be quickly achieved, and problems of low efficiency and accuracy of the load sharing adjustment are solved. The method comprises that statistic flow of each load sharing item is acquired, flow and configuration proportion of an output interface are further obtained, and adjustment of the uneven load sharing is achieved through adjustment of corresponding relation of load sharing items and the output interface. The method is mainly applied to the load sharing flow.

Description

A kind of method and device of adjusting the load balancing inequality
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of adjusting the load balancing inequality.
Background technology
At present, the general working load of existing network is shared, and realizes that network establishes; The bandwidth expansion of standby and server, increase throughput, Strengthens network data-handling capacity.And load balancing is divided into and shares and load balancing packet-by-packet by current load, and, be to guarantee the reception order of message and the normal function of business, can adopt by current load and share technology.But should share the situation that the load balancing inequality easily occurs by current load.Can only obtain the flow of outgoing interface due to user or terminal equipment, when load balancing occurring when uneven, just need to analyze the flow of each outgoing interface, complex steps causes efficient and the accuracy rate of load balancing adjustment low.
Summary of the invention
Embodiments of the invention provide a kind of method and device of adjusting the load balancing inequality, in the situation that the load balancing inequality can realize the load balancing adjustment fast, have solved efficient and low this problem of accuracy rate that load balancing is adjusted.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, a kind of method of adjusting the load balancing inequality comprises:
Obtain the flow of each load balancing item, described load balancing item represents to deposit the list item of service traffics outgoing interface;
Carry out the load balancing adjustment according to the flow of all described load balancing items that get.
In the possible implementation of the first of first aspect, the described flow that obtains each load balancing item comprises:
Receive service traffics, described service traffics are the flow of incoming interface;
According to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item, described preset algorithm comprises the load balancing algorithm;
According to the corresponding relation of described service traffics and described load balancing item, obtain the flow of described each load balancing item.
May implementation in conjunction with the first of first aspect, first aspect, in the second of first aspect may implementation, before the described flow that obtains each load balancing item, also comprise:
Obtain the preset configuration ratio of outgoing interface, described outgoing interface comprises the outlet of service traffics;
Determine the corresponding relation of each load balancing item and described outgoing interface.
In conjunction with the first possibility implementation of first aspect, first aspect, the second possibility implementation of first aspect, in the third possibility implementation of first aspect, before carrying out described load balancing adjustment, also comprise:
According to the corresponding relation of described each load balancing item and described outgoing interface, obtain the flow of each outgoing interface, obtain the current allocation ratio of described outgoing interface;
When the preset configuration ratio of described outgoing interface and described current allocation ratio not simultaneously, determine that present load shares inequality.
In conjunction with the first of first aspect, first aspect may implementation, the second of first aspect may implementation, first aspect the third may implementation, the 4th kind of first aspect may implementation in, after inequality is shared in definite present load, also comprise:
Adjust the corresponding relation of described load balancing item and described outgoing interface, be adjusted the allocation ratio of rear outgoing interface;
When the allocation ratio of outgoing interface surpasses preset value after adjusting back loading to share uneven and described adjustment, the allocation ratio of each outgoing interface after adjusting and the preset configuration ratio of each outgoing interface are compared;
According to the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface and each outgoing interface, obtain the maximum or minimum outgoing interface of ratio, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
Second aspect provides a kind of device of adjusting the load balancing inequality, comprising:
Acquiring unit, for the flow that obtains each load balancing item, described load balancing item represents to deposit the list item of service traffics outgoing interface;
Adjustment unit, the flow that is used for all described load balancing items of getting according to described acquiring unit carries out the load balancing adjustment.
In the first possibility implementation of second aspect, described acquiring unit comprises:
Receive subelement, be used for receiving service traffics, described service traffics are the flow of incoming interface;
Obtain subelement, be used for according to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item, described preset algorithm comprises the load balancing algorithm; And obtain the flow of described each load balancing item.
In conjunction with the first possibility implementation of first aspect, first aspect, in the second possibility implementation of first aspect, this device also comprises:
Described acquiring unit, also for the preset configuration ratio of obtaining outgoing interface, described outgoing interface comprises the outlet of service traffics;
Determining unit is for the corresponding relation of determining each load balancing item and described outgoing interface.
In conjunction with the first possibility implementation of first aspect, first aspect, the second possibility implementation of first aspect, in the third possibility implementation of first aspect, comprising:
Described acquiring unit also is used for according to the corresponding relation of described each load balancing item and described outgoing interface, obtaining the flow of each outgoing interface before described adjustment unit carries out the load balancing adjustment, obtains the current allocation ratio of described outgoing interface;
Described determining unit, also be used for when the current allocation ratio of the preset configuration ratio of described outgoing interface and the described outgoing interface that described acquiring unit obtains not simultaneously, determine that present load shares inequality.
In conjunction with the first of first aspect, first aspect may implementation, the second of first aspect may implementation, first aspect the third may implementation, the 4th kind of first aspect may the side of realization in, comprising:
Described adjustment unit also is used for adjusting the corresponding relation of described load balancing item and described outgoing interface after inequality is shared in definite present load, is adjusted the allocation ratio of rear outgoing interface;
This device also comprises:
Comparing unit when the allocation ratio that is used for outgoing interface after adjusting back loading to share uneven and described adjustment surpasses preset value, compares the allocation ratio of each outgoing interface after adjustment and the preset configuration ratio of each outgoing interface;
Processing unit, be used for the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface of obtaining according to described comparing unit and each outgoing interface, obtain ratio maximum or minimum outgoing interface, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
Method and the device of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiving the flow of incoming interface, by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of flow chart of adjusting the method for load balancing inequality that Fig. 1 provides for one embodiment of the invention;
A kind of flow chart of adjusting the method for load balancing inequality that Fig. 2 provides for another embodiment of the present invention;
A kind of composition frame chart of adjusting the device of load balancing inequality that Fig. 3 provides for another embodiment of the present invention;
The another kind that Fig. 4 provides for another embodiment of the present invention is adjusted the composition frame chart of the device of load balancing inequality;
A kind of composition frame chart of adjusting the device of load balancing inequality that Fig. 5 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
One embodiment of the invention provides a kind of method of adjusting the load balancing inequality, and as shown in Figure 1, the method comprises:
101, obtain the flow of each load balancing item.
Wherein, the load balancing item represents to deposit the list item of service traffics outgoing interface, be positioned on the veneer of each flow incoming interface, and the outgoing interface that several load balancing items are deposited is identical.
102, the flow according to all load balancing items that get carries out the load balancing adjustment.
Wherein, carrying out the load balancing adjustment comprises:
A, according to the corresponding relation of load balancing item and outgoing interface, obtain the current flow of each outgoing interface;
B, calculate current allocation ratio according to present flow rate;
After getting current allocation ratio, the pre-configured ratio of current allocation ratio and outgoing interface is compared.
C, at current allocation ratio with the pre-configured ratio of outgoing interface not simultaneously, adjust the corresponding relation of interface and load balancing item, just can adjust the allocation ratio of interface, can be identical with pre-configured ratio or approaching in allowed band, the allocation ratio of the outgoing interface after namely adjusting.
What deserves to be explained is, when the allocation ratio of the outgoing interface after adjusting surpasses preset value, the allocation ratio of each outgoing interface after adjusting is compared; Obtain the outgoing interface of ratio maximum or ratio minimum, and increase or reduce a load balancing item on the maximum or minimum outgoing interface of this ratio.
The method of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiving the flow of incoming interface, by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
Another embodiment of the present invention provides a kind of method of adjusting the load balancing inequality, and as shown in Figure 2, the method comprises:
201, receive service traffics.
Wherein, service traffics are the flow of incoming interface.
202, according to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item.
Optionally, preset algorithm comprises the load balancing algorithm, and this algorithm can be hash algorithm, can obtain the corresponding relation of service traffics and load balancing item from this algorithm.
203, according to the corresponding relation of described service traffics and described load balancing item, obtain the flow of each load balancing item.
Wherein, according to the corresponding relation of service traffics and load balancing item, by the method for accumulative total addition, can obtain the flow of each load balancing item.
204, according to the corresponding relation of each load balancing item and outgoing interface, obtain the flow of each outgoing interface, obtain the current allocation ratio of described outgoing interface.
What deserves to be explained is, obtain the flow of each outgoing interface herein, in above-mentioned 203, the flow that obtains each load balancing item is identical, namely does equally addition and processes.And then the flow of all outgoing interfaces is carried out ratio calculation, obtain factor number identical with outgoing interface quantity, the simplest ratio of one group of data.
Further, when the preset configuration ratio of outgoing interface and described current allocation ratio not simultaneously, determine that present load is shared unevenly to carry out following 205.
205, carry out the load balancing adjustment.
Concrete, carry out the load balancing adjustment and comprise:
A, adjust the corresponding relation of load balancing item and described outgoing interface, be adjusted the allocation ratio of rear outgoing interface.
B, when adjust back loading share inequality and adjust after the allocation ratio of outgoing interface when surpassing preset value, the allocation ratio of each outgoing interface after adjusting and the preset configuration ratio of each outgoing interface are compared.
C, in conjunction with b, obtain the maximum or minimum outgoing interface of ratio, on the maximum or minimum outgoing interface of ratio, increase or reduce the load balancing item.
Optionally, the implementation that load balancing is adjusted in 205, including but not limited to following two kinds:
The first implementation: dynamically adjustment, the implementation of dynamically adjusting comprise adopts the mode of permutation and combination to realize.
The second implementation: manually adjust, refer to that the user carries out according to the statistic flow of each load balancing item, the adjustment of the corresponding relation of load balancing item and outgoing interface.
What deserves to be explained is, adjust the corresponding relation of load balancing item and outgoing interface, namely adjust the position of interface, adjust the number of interface.
The method of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiving the flow of incoming interface, by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
The present invention another embodiment a kind of method of adjusting the load balancing inequality is provided, the method can use with instantiation in.The specific implementation flow process of the method is as follows:
In the present embodiment, the load balancing algorithm is hash algorithm.And comprise 4 outgoing interfaces, be designated as respectively, B, C, D, and the preset configuration ratio of outgoing interface is: A: B: C: D=3: 2: 2: 1, the number of load balancing item was outgoing interface weight sum, was 8.
And according to the corresponding relation of load balancing item and service traffics, the statistic flow that obtains each load balancing item is as follows:
The statistic flow of load balancing item 1 is 200M;
The statistic flow of load balancing item 2 is 0M;
The statistic flow of load balancing item 3 is 250M;
The statistic flow of load balancing item 4 is 420M;
The statistic flow of load balancing item 5 is 180M;
The statistic flow of load balancing item 6 is 150M;
The statistic flow of load balancing item 7 is 50M;
The statistic flow of load balancing item 8 is 400M.
And according to hash algorithm, the corresponding relation of load balancing item and outgoing interface is, load balancing item 1-3, corresponding outgoing interface A, the corresponding outgoing interface B of load balancing item, load balancing item 6,7, corresponding outgoing interface C, load balancing item 8, corresponding outgoing interface D, the actual flow that obtains current outgoing interface A, B, C, D is followed successively by: 450M, 600M, 200M, 400M, the current allocation ratio of corresponding outgoing interface is 450: 600: 200: 400=2.2: 3: 1: 2, be different from the preset configuration ratio.Adjust the corresponding relation of load balancing item and outgoing interface, the adjustment principle is: make the allocation ratio of the outgoing interface after adjustment identical or approaching as far as possible with the preset configuration ratio of outgoing interface, the adjustment mode comprises: dynamically adjust or manually adjust, the adjustment of this moment be the position of outgoing interface.
Load balancing item after adjustment with the corresponding relation of outgoing interface is: the corresponding outgoing interface D of load balancing item 1; Load balancing item 2,8 corresponding outgoing interface C, load balancing item 3,6 corresponding outgoing interface B, load balancing item 4,5,7 corresponding outgoing interface A.Flow after adjusting is: A=650M, and B=400M, C=400M, D=200M meets substantially, A: B: C: D=3: 2: 2: 1, as shown in table 1, think that this adjustment scheme is preferred plan, need not to carry out follow-up adjustment.
Table 1
The method of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiving the flow of incoming interface, by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
Another embodiment of the present invention provides a kind of device of adjusting the load balancing inequality, and as shown in Figure 3, this device comprises: acquiring unit 31, adjustment unit 32.
Acquiring unit 31 is for the flow that obtains each load balancing item.
Wherein, the load balancing item represents to deposit the list item of service traffics outgoing interface, be positioned on the veneer of each flow incoming interface, and a plurality of load balancing item can share an outgoing interface.
Adjustment unit 32, the flow that is used for all load balancing items of getting according to described acquiring unit 31 carries out the load balancing adjustment.
Optionally, as shown in Figure 4, described acquiring unit 31 comprises: receive subelement 311, obtain subelement 312; This device also comprises: determining unit 33, comparing unit 34, processing unit 35.
Receive subelement 311, be used for receiving service traffics.
Optionally, service traffics are the flow of incoming interface.
Obtain subelement 312, be used for according to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item, and obtain the flow of described each load balancing item.
Wherein, preset algorithm comprises the load balancing algorithm.
Determining unit 33 is for the corresponding relation of determining each load balancing item and described outgoing interface.
Optionally,
Described acquiring unit 31 also is used for according to the corresponding relation of described each load balancing item and described outgoing interface, obtaining the flow of each outgoing interface before described adjustment unit 32 carries out the load balancing adjustment, obtains the current allocation ratio of described outgoing interface.
Described determining unit 33, also be used for when the current allocation ratio of the preset configuration ratio of described outgoing interface and the described outgoing interface that described acquiring unit 31 obtains not simultaneously, determine that present load shares inequality.
Optionally, described adjustment unit 32 also is used for adjusting the corresponding relation of described load balancing item and described outgoing interface after inequality is shared in definite present load, is adjusted the allocation ratio of rear outgoing interface.
Comparing unit 34 is used for when described adjustment unit 32, adjusts back loading and shares when the allocation ratio of outgoing interface surpasses preset value after uneven and described adjustment, and the allocation ratio of each outgoing interface after adjusting and the preset configuration ratio of each outgoing interface are compared.
Processing unit 35, be used for the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface of obtaining according to described comparing unit 34 and each outgoing interface, obtain ratio maximum or minimum outgoing interface, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
The device of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiving the flow of incoming interface, by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
Another embodiment of the present invention provides a kind of device of adjusting the load balancing inequality, and as shown in Figure 5, this device comprises: receiver 01, processor 02, memory 03.
Receiver 01 is used for receiving service traffics.
Optionally, these service traffics are the flow of incoming interface.
Memory 03 is used for storing the service traffics that described receiver 01 receives.
Processor 02 for the preset configuration ratio of obtaining outgoing interface, is determined the corresponding relation of each load balancing item and outgoing interface; Again according to preset algorithm, the described service traffics that described receiver 01 is received and the corresponding relation of load balancing item; And according to this corresponding relation, obtain the flow of each load balancing item.
Optionally, described outgoing interface comprises the outlet of service traffics; Described processor 02, the preset algorithm of use comprises the load balancing algorithm.
Described processor 02, concrete for the corresponding relation according to described each load balancing item and described outgoing interface, obtain the flow of each outgoing interface, obtain the current allocation ratio of described outgoing interface.When the preset configuration ratio of described outgoing interface and described current allocation ratio not simultaneously, determine that present load shares inequality.
And then adjust the corresponding relation of described load balancing item and described outgoing interface, be adjusted the allocation ratio of rear outgoing interface; When the allocation ratio of outgoing interface surpasses preset value after adjusting back loading to share uneven and described adjustment, the allocation ratio of each outgoing interface after adjusting and the preset configuration ratio of each outgoing interface are compared; According to the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface and each outgoing interface, obtain the maximum or minimum outgoing interface of ratio, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
Described memory 03, the current allocation ratio, the preset configuration ratio that are used for storing outgoing interface, and described processor 02, the comparative result that obtains.
The device of the adjustment load balancing inequality that the embodiment of the present invention provides, after receiver receives the flow of incoming interface, processor is by flow and load balancing item corresponding relation, obtain the statistic flow of each load balancing item, and then carry out the load balancing adjustment according to the statistic flow of each load balancing item.Technical solution of the present invention in the situation that the load balancing inequality can realize the load balancing adjustment fast, is carried out load balancing when adjusting thereby solved prior art, and efficient and accuracy rate are hanged down this problem.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a method of adjusting the load balancing inequality, is characterized in that, comprising:
Obtain the flow of each load balancing item, described load balancing item represents to deposit the list item of service traffics outgoing interface;
Carry out the load balancing adjustment according to the flow of all described load balancing items that get.
2. the method for adjustment load balancing inequality according to claim 1, is characterized in that, the described flow that obtains each load balancing item comprises:
Receive service traffics, described service traffics are the flow of incoming interface;
According to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item, described preset algorithm comprises the load balancing algorithm;
According to the corresponding relation of described service traffics and described load balancing item, obtain the flow of described each load balancing item.
3. the method for adjustment load balancing inequality according to claim 2, is characterized in that, before the described flow that obtains each load balancing item, also comprises:
Obtain the preset configuration ratio of outgoing interface, described outgoing interface comprises the outlet of service traffics;
Determine the corresponding relation of each load balancing item and described outgoing interface.
4. the method for adjustment load balancing inequality according to claim 3, is characterized in that, before carrying out described load balancing adjustment, also comprises:
According to the corresponding relation of described each load balancing item and described outgoing interface, obtain the flow of each outgoing interface, obtain the current allocation ratio of described outgoing interface;
When the preset configuration ratio of described outgoing interface and described current allocation ratio not simultaneously, determine that present load shares inequality.
5. the method for adjustment load balancing inequality according to claim 4, is characterized in that, after inequality is shared in definite present load, also comprises:
Adjust the corresponding relation of described load balancing item and described outgoing interface, be adjusted the allocation ratio of rear outgoing interface;
When the allocation ratio of outgoing interface surpasses preset value after adjusting back loading to share uneven and described adjustment, the allocation ratio of each outgoing interface after adjusting and the preset configuration ratio of each outgoing interface are compared;
According to the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface and each outgoing interface, obtain the maximum or minimum outgoing interface of ratio, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
6. a device of adjusting the load balancing inequality, is characterized in that, comprising:
Acquiring unit, for the flow that obtains each load balancing item, described load balancing item represents to deposit the list item of service traffics outgoing interface;
Adjustment unit, the flow that is used for all described load balancing items of getting according to described acquiring unit carries out the load balancing adjustment.
7. the device of adjustment load balancing inequality according to claim 6, is characterized in that, described acquiring unit comprises:
Receive subelement, be used for receiving service traffics, described service traffics are the flow of incoming interface;
Obtain subelement, be used for according to preset algorithm, obtain the corresponding relation of described service traffics and described load balancing item, described preset algorithm comprises the load balancing algorithm; And obtain the flow of described each load balancing item.
8. the device of adjustment load balancing inequality according to claim 7, is characterized in that, this device also comprises:
Described acquiring unit, also for the preset configuration ratio of obtaining outgoing interface, described outgoing interface comprises the outlet of service traffics;
Determining unit is for the corresponding relation of determining each load balancing item and described outgoing interface.
9. the device of adjustment load balancing inequality according to claim 8, is characterized in that, also comprises:
Described acquiring unit also is used for according to the corresponding relation of described each load balancing item and described outgoing interface, obtaining the flow of each outgoing interface before described adjustment unit carries out the load balancing adjustment, obtains the current allocation ratio of described outgoing interface;
Described determining unit, also be used for when the current allocation ratio of the preset configuration ratio of described outgoing interface and the described outgoing interface that described acquiring unit obtains not simultaneously, determine that present load shares inequality.
10. the device of adjustment load balancing inequality according to claim 9, it is characterized in that described adjustment unit also is used for after inequality is shared in definite present load, adjust the corresponding relation of described load balancing item and described outgoing interface, be adjusted the allocation ratio of rear outgoing interface;
This device also comprises:
Comparing unit when the allocation ratio that is used for outgoing interface after adjusting back loading to share uneven and described adjustment surpasses preset value, compares the allocation ratio of each outgoing interface after adjustment and the preset configuration ratio of each outgoing interface;
Processing unit, be used for the comparative result on the preset configuration ratio of the allocation ratio of described each outgoing interface of obtaining according to described comparing unit and each outgoing interface, obtain ratio maximum or minimum outgoing interface, on the maximum or minimum outgoing interface of described ratio, increase or reduce described load balancing item.
CN201310078353.9A 2013-03-12 2013-03-12 Method and device for adjusting uneven load sharing Active CN103139094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310078353.9A CN103139094B (en) 2013-03-12 2013-03-12 Method and device for adjusting uneven load sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310078353.9A CN103139094B (en) 2013-03-12 2013-03-12 Method and device for adjusting uneven load sharing

Publications (2)

Publication Number Publication Date
CN103139094A true CN103139094A (en) 2013-06-05
CN103139094B CN103139094B (en) 2017-04-12

Family

ID=48498420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310078353.9A Active CN103139094B (en) 2013-03-12 2013-03-12 Method and device for adjusting uneven load sharing

Country Status (1)

Country Link
CN (1) CN103139094B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181697A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of balancing link load method and device
CN113992596A (en) * 2021-10-18 2022-01-28 北京沃东天骏信息技术有限公司 Interface current limiting method, device, equipment, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217491A (en) * 2008-01-04 2008-07-09 杭州华三通信技术有限公司 A method of rectification processing unit load allocation method and device
CN101494611A (en) * 2009-02-20 2009-07-29 华为技术有限公司 Method and apparatus for regulating load share
CN102088457A (en) * 2010-12-17 2011-06-08 天津曙光计算机产业有限公司 Message shunting method for ensuring connection proportionality
CN102447636A (en) * 2012-01-06 2012-05-09 中兴通讯股份有限公司 Load sharing method and device of data center communication equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217491A (en) * 2008-01-04 2008-07-09 杭州华三通信技术有限公司 A method of rectification processing unit load allocation method and device
CN101494611A (en) * 2009-02-20 2009-07-29 华为技术有限公司 Method and apparatus for regulating load share
CN102088457A (en) * 2010-12-17 2011-06-08 天津曙光计算机产业有限公司 Message shunting method for ensuring connection proportionality
CN102447636A (en) * 2012-01-06 2012-05-09 中兴通讯股份有限公司 Load sharing method and device of data center communication equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181697A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of balancing link load method and device
CN107181697B (en) * 2016-03-11 2022-05-20 中兴通讯股份有限公司 Link load balancing method and device
CN113992596A (en) * 2021-10-18 2022-01-28 北京沃东天骏信息技术有限公司 Interface current limiting method, device, equipment, system and storage medium

Also Published As

Publication number Publication date
CN103139094B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
US8254249B2 (en) Session resilience prioritization queuing mechanism to minimize and eliminate packet loss
CN110602156A (en) Load balancing scheduling method and device
US20140341370A1 (en) Method and apparatus for routing a call using a hybrid call routing scheme with real-time automatic adjustment
CN106899857B (en) Server load adjusting method, device and server
CN109218216B (en) Link aggregation flow distribution method, device, equipment and storage medium
US10892837B2 (en) Methods and apparatus for transporting data on a network
CN111414641B (en) Sampling-based personalized differential privacy protection method and system
CN106506701A (en) A kind of server load balancing method and load equalizer
CN111078391A (en) Service request processing method, device and equipment
CN112053105A (en) Method and device for dividing service area
CN102724105B (en) A kind of load-balancing method and device
CN103139094A (en) Method and device for adjusting uneven load sharing
CN111726299A (en) Flow balancing method and device
CN112685169B (en) Load control method, device, server and readable storage medium
WO2024088079A1 (en) Request processing method and system
EP2622499B1 (en) Techniques to support large numbers of subscribers to a real-time event
EP2348676A1 (en) Method for accessing magnanimity data of intelligent network service database and system and device thereof
CN103905324A (en) Dispatching and distributing method and system based on message five-element set
CN116545929A (en) Congestion state detection method, device, server and storage medium for network link
CN107277895B (en) Game theory-based access network selection method and device under heterogeneous network
CN104243587A (en) Load balancing method and system for message servers
CN116800675A (en) Flow control method, device, equipment and computer readable storage medium
CN101945448B (en) Service quality control method and equipment
CN105188113B (en) A kind of information processing method and radio reception device
CN110611622A (en) Method for load balancing, network interface card and computer program product

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211118

Address after: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee after: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230906

Address after: No. 57 Maxing Road, Changping District, Beijing 102200

Patentee after: CHINA ORDNANCE EQUIPMENT GROUP ORDNANCE EQUIPMENT Research Institute

Address before: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee before: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.