CN100544316C - A kind of flow control system and method based on interface group - Google Patents
A kind of flow control system and method based on interface group Download PDFInfo
- Publication number
- CN100544316C CN100544316C CNB2005100951883A CN200510095188A CN100544316C CN 100544316 C CN100544316 C CN 100544316C CN B2005100951883 A CNB2005100951883 A CN B2005100951883A CN 200510095188 A CN200510095188 A CN 200510095188A CN 100544316 C CN100544316 C CN 100544316C
- Authority
- CN
- China
- Prior art keywords
- interface group
- interface
- group
- flow control
- bandwidth
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention aims to provide a kind of flow control system based on interface group, comprising: interface group management control submodule, Flow Control policy selection submodule; Interface group management control submodule: related command is provided, creates interface group, interface is added interface group or deletion from interface group, set binding relationship or unbind relation between the interface group; According to the result that Flow Control policy selection submodule returns, the interface in the docking port group is operated, and realizes the control of flow; Flow Control policy selection submodule: the bandwidth inspection between the trigger interface group; According to specific policy, select the corresponding interface to inform that interface group management control submodule operates accordingly, realize the flow control between the interface group.The present invention also provides a kind of flow control methods based on interface group.The present invention can prevent that the packet loss that occurs owing to not matching of bandwidth between the interface group from influencing the data flow that total interface flows into from the incoming interface group, improved network reliability.
Description
Technical field
The present invention relates to the data communication field, particularly flow control technique.
Background technology
Concerning individual interface, exist multiple existing method to solve when flow velocity the time greater than interface bandwidth, docking port carries out flow control, guarantees the reliability of network.But between interface group docking port group, carrying out traffic load in the setting outgoing interface group shares, if the flow of incoming interface group greater than the bandwidth of outgoing interface group the time, does not but have a kind of effective method to realize control to flow fast, guarantee the reliability of network.At some to network reliability in the exigent application, if the flow summation of the total interface of incoming interface group greater than the bandwidth summation of all valid interfaces of outgoing interface group, can cause occurring a large amount of packet losses.And the influence of this packet loss at random will be the packet that flows at all interfaces from the incoming interface group, and this obviously is need be improved.
Summary of the invention
Purpose of the present invention is exactly in order to solve existing technological deficiency, and a kind of flow control system and method based on interface group is provided, and some interface in the incoming interface group is controlled, thereby guaranteed packet loss can not occur from the packet that most of other interface enters.
The present invention is by the following technical solutions:
A kind of flow control system based on interface group comprises: interface group management control submodule, Flow Control policy selection submodule; Wherein
Interface group management control submodule provides following function: related command is provided, creates interface group, interface is added interface group or deletion from interface group, set binding relationship or unbind relation between the interface group; According to the result that Flow Control policy selection submodule returns, the interface in the docking port group is operated, and realizes the control of flow;
Flow Control policy selection submodule provides following function: the bandwidth inspection between the trigger interface group; According to specific policy, select the corresponding interface to inform that interface group management control submodule operates accordingly, realize the flow control between the interface group.
Further, interface group management control submodule can be set the binding of one-to-many between the interface group, and each interface group is set different priority simultaneously.
A kind of flow control methods based on interface group may further comprise the steps:
The first step is created interface group A and B, and the interface group name must guarantee interface group of unique sign;
Second step joined some interfaces respectively among interface group A and the B, and an interface synchronization can only join in the interface group;
The 3rd step, set the binding relationship between interface group A and the interface group B, setting interface group A is bandwidth benchmark interface group, promptly the outgoing interface group is set the time interval and bandwidth threshold values that the interface group bandwidth is checked simultaneously; Interface group of synchronization can only be unique set up binding relationship with another non-oneself interface group;
The 4th step, regular check, according to interface group A and the current valid interface bandwidth situation decision of interface group B is that certain valid interface among the interface group B is closed, still certain previous pent interface among the interface group B is opened once more, perhaps maintain the statusquo, directly return, wait for the interface group bandwidth inspection of timer triggering carrying out again next time.
Compared with prior art, the invention provides a kind of flow control system and method based on interface group, can prevent that the packet loss that occurs owing to not matching of bandwidth between the interface group from influencing the data flow that total interface flows into from the incoming interface group, improved network reliability.
In addition, the present invention takes modularized design, is convenient to expansion: interface group management control submodule and Flow Control policy selection submodule are relatively independent, can divide interface group as required neatly, the interface group binding can be set different Flow Control strategies, and very strong autgmentability is arranged.
Description of drawings
Fig. 1 is the networking schematic diagram of the applied network of the present invention;
Fig. 2 is the module relation diagram of each submodule of system of the present invention and associated external intermodule;
Fig. 3 is the flow chart of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing to proposed by the invention being described in further detail based on the flow control system of interface group and the enforcement of method.
As shown in Figure 1, be the networking schematic diagram of the applied network of the present invention, wherein, interface 1-5 is an incoming interface, interface 6-7 is an outgoing interface.Incoming interface can connect concrete equipment or certain network as shown in Figure 1.The flow that enters upstream router among the interface 1-5 flows out from two outgoing interface 6-7 by load sharing.Interface 6-7 is added among the interface group A, interface 1-5 is added among the interface group B.The effective bandwidth summation that must guarantee interface group A just is unlikely to occur because not matching of bandwidth causes the generation of packet loss phenomenon greater than the flow summation that total interface from interface group B flows into.
As shown in Figure 2, described between each submodule of system of the present invention and and the associated external module between relation.Control the mutual of submodule (being called for short interface group management submodule) by Oam (Operation and Maintenance) module and interface group management, realize the configuration of the related command of interface group Flow Control, comprise create and the delete interface group, interface added interface group or deletion from interface group, set that binding relationship between the interface group or unbind relation, Flow Control strategy and interface group bind related etc.Interface group management control submodule needs and interface management module are mutual, thereby obtain the relevant information about interface in the interface group, and comprising: whether the interface in the interface group is current effective, the bandwidth of interface or interface bandwidth utilance etc.When certain interface is carried out corresponding operation according to the final needs of the feedback result of Flow Control strategy, need operate accordingly by interface group management control submodule notification interface administration module.Interface group management control submodule needs and Flow Control policy selection submodule are mutual, thereby learn which interface need carry out the flow control operation, carries out for which kind of operation.
Basic model of the present invention is the binding relationship of setting between two interface group, several interfaces is joined in these two interface group respectively.Owing to exist multiple situation to cause the bandwidth summation of the interface in the interface group change (certain interface physical state is closed, ether interface automatically consult to cause interface bandwidth variation etc.), if the bandwidth summation of all valid interfaces of discovery incoming interface group is greater than the bandwidth summation of all valid interfaces of outgoing interface group, just select a valid interface in the incoming interface group to carry out corresponding flow-control operation at random this moment.Equally, deduct the difference of bandwidth of all valid interfaces of incoming interface group greater than the threshold values of setting if find the bandwidth of all valid interfaces of outgoing interface group, guaranteeing under the prerequisite of outgoing interface group bandwidth greater than incoming interface group bandwidth, from the incoming interface group, selecting one before to be taked the interface of Flow Control measure again it to be recovered normal again.Here so-called valid interface is exactly the in running order interface of current reality, this interface can not be exactly physically close, be configured to close or protocol status is closed in the order.Here the Flow Control measure of Cai Yonging can be different and different according to the actual demand of business.If the data that flow into from interface have other backup links to guarantee that data flow is continuous, can directly this interface be closed.If there is not corresponding backup link to guarantee, and this application can stand certain packet loss, and the method that can use qos to be correlated with is carried out speed limit to this interface.
Above-mentioned basic model is man-to-man binding between a kind of interface group, further, can set the binding of one-to-many between the interface group.The corresponding a plurality of incoming interface groups of outgoing interface group require the valid interface bandwidth summation of the valid interface bandwidth summation of outgoing interface group greater than all outgoing interface groups.Each incoming interface group is set different priority simultaneously.If the bandwidth summation of valid interface of finding all incoming interface groups is greater than the bandwidth summation of the valid interface of outgoing interface group, then from the minimum incoming interface group of priority, select several valid interfaces that it is taked the Flow Control measure.Otherwise, preferentially from the highest incoming interface group of priority, choose an interface of before having been taked the Flow Control measure, again it is recovered normal function.A kind of service of differentiation so just is provided, has been convenient to the network provider and commences business neatly.
Again further, can judge according to the actual bandwidth utilance of interface in the interface statistics.Above-mentioned method just simply will go out, the bandwidth summation of the valid interface of incoming interface group compares, and in fact this can not truly reflect the inflow and outflow situation of current actual flow.The valid interface bandwidth summation of possible incoming interface group is greater than the valid interface bandwidth summation of outgoing interface group, but actual incoming interface bandwidth availability ratio is very low, and just take the Flow Control measure just to seem that some is unreasonable to the interface in certain incoming interface group this moment.Can calculate the actual flow summation of current incoming interface group according to the bandwidth availability ratio of the current valid interface of incoming interface group, if this flow summation greater than the valid interface bandwidth of outgoing interface group, is then taked the Flow Control measure to some interface in the incoming interface group.Adopt bandwidth availability ratio can reflect within a period of time scope network flow situation stably, can effectively avoid since the concussion of flow cause the docking port group frequent take the Flow Control measure.And calculate the time interval that the interface bandwidth utilance adopted and can order setting, calculate the bandwidth availability ratio of fixed time within interval.So also can be according to the difference of business, docking port group Flow Control can be set different response promptnesses.
As shown in Figure 3, be the flow chart of the embodiment of the invention.SpeedA represents the bandwidth summation of all valid interfaces of interface group A among the figure, and SpeedB represents the bandwidth summation of all valid interfaces of interface group B.Suppose that interface group A and B have set up binding relationship, and the bandwidth that to set Flow Control strategy associated therewith be comparison interface group valid interface.Regularly trigger and check, when finding to cause for a certain reason SpeedA little the time with SpeedB, Flow Control policy selection submodule just from interface group B valid interface of picked at random inform that the interface group management controls submodule it is closed.Otherwise, the difference that Flow Control policy selection submodule is found interface group A and interface group B bandwidth is during greater than the bandwidth threshold values Threshold that sets, take an interface of Flow Control measure with regard to the previous quilt among the picked at random outgoing interface group B, notification interface group management control submodule opens it again, thereby realizes the dynamic management of interface group bandwidth Flow Control.
The scheme implementation step is as follows:
The first step is created interface group A and B, and the interface group name must guarantee interface group of unique sign; Second step joined some interfaces respectively among interface group A and the B, and an interface synchronization can only join in the interface group; The 3rd step, set the binding relationship between interface group A and the interface group B, setting interface group A is bandwidth benchmark interface group, promptly the outgoing interface group is set the time interval and bandwidth threshold values that the interface group bandwidth is checked simultaneously; Interface group of synchronization can only be unique set up binding relationship with another non-oneself interface group; The 4th step, regular check, according to interface group A and the current valid interface bandwidth situation decision of interface group B is that certain valid interface among the interface group B is closed, still certain previous pent interface among the interface group B is opened once more, perhaps maintain the statusquo, directly return, wait for the interface group bandwidth inspection of timer triggering carrying out again next time.
In sum, flow control system and the method for using the present invention to propose based on interface group, prevented to have influence on the packet that total interface enters from the incoming interface group owing to the packet loss that causes occurring that do not match of bandwidth between the interface group, improve the effect of network reliability thereby reached, and can on this basis, rationally utilize the network bandwidth to greatest extent.In addition, modularized design thinking described in the invention makes that the present invention is easy to realize, and has stronger extensibility, has more wide application.Can both find application aspect a lot of about the flow control between the interface group, very wide application prospect is arranged.This invention helps the network provider when guaranteeing network reliability, makes full use of the bandwidth of network, provides services on the Internet neatly.Adopt this method can guarantee that sip server can grasp the presence of sip terminal in real time, be applicable to the sip server of a small amount of sip terminal of management.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (3)
1. the flow control system based on interface group is characterized in that, comprising: interface group management control submodule, Flow Control policy selection submodule; Wherein
Interface group management control submodule provides following function: related command is provided, creates interface group, interface is added interface group or deletion from interface group, set binding relationship or unbind relation between the interface group; According to the result that Flow Control policy selection submodule returns, the interface in the docking port group is operated, and realizes the control of flow;
Flow Control policy selection submodule provides following function: the bandwidth inspection between the trigger interface group; According to specific policy, select the corresponding interface to inform that interface group management control submodule operates accordingly, realize the flow control between the interface group.
2. system according to claim 1 is characterized in that, interface group management control submodule can be set the binding of one-to-many between the interface group, and each interface group is set different priority simultaneously.
3. flow control methods based on interface group may further comprise the steps:
The first step is created interface group A and B, and the interface group name must guarantee interface group of unique sign;
Second step joined some interfaces respectively among interface group A and the B, and an interface synchronization can only join in the interface group;
The 3rd step, set the binding relationship between interface group A and the interface group B, setting interface group A is bandwidth benchmark interface group, promptly the outgoing interface group is set the time interval and bandwidth threshold values that the interface group bandwidth is checked simultaneously; Interface group of synchronization can only be unique set up binding relationship with another non-oneself interface group;
The 4th step, regular check, according to interface group A and the current valid interface bandwidth situation decision of interface group B is that certain valid interface among the interface group B is closed, still certain previous pent interface among the interface group B is opened once more, perhaps maintain the statusquo, directly return, wait for the interface group bandwidth inspection of timer triggering carrying out again next time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100951883A CN100544316C (en) | 2005-11-02 | 2005-11-02 | A kind of flow control system and method based on interface group |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100951883A CN100544316C (en) | 2005-11-02 | 2005-11-02 | A kind of flow control system and method based on interface group |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1960314A CN1960314A (en) | 2007-05-09 |
CN100544316C true CN100544316C (en) | 2009-09-23 |
Family
ID=38071814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100951883A Expired - Fee Related CN100544316C (en) | 2005-11-02 | 2005-11-02 | A kind of flow control system and method based on interface group |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100544316C (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286937B (en) * | 2008-05-16 | 2011-01-05 | 成都市华为赛门铁克科技有限公司 | Network flow control method, device and system |
CN101778042B (en) * | 2010-01-05 | 2013-01-16 | 杭州华三通信技术有限公司 | Whole machine flow control method based on user and device thereof |
CN101808036B (en) * | 2010-03-23 | 2013-01-23 | 深圳市深信服电子科技有限公司 | Flow control system, device and method |
CN105703928A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Traffic adjustment method and traffic adjustment device |
CN106209670B (en) * | 2016-06-28 | 2020-02-11 | 新华三技术有限公司 | Interface control method and device |
CN110401603B (en) * | 2019-07-25 | 2023-07-28 | 北京百度网讯科技有限公司 | Method and device for processing information |
-
2005
- 2005-11-02 CN CNB2005100951883A patent/CN100544316C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1960314A (en) | 2007-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100544316C (en) | A kind of flow control system and method based on interface group | |
CN101605102B (en) | Load sharing method and apparatus in IRF stacking | |
CN102014075B (en) | Traffic policing method and device | |
CN102209358B (en) | Mobile network and method for accessing terminal of mobile network to service network | |
US9667570B2 (en) | Fabric extra traffic | |
CN103095568B (en) | Rack switching equipment realizes stacking system and method | |
CN101582904B (en) | Implementation method of symmetry of multi-line access flow rate of data center, device and system | |
CN101127721B (en) | Bandwidth control method and bandwidth control device | |
CN103067291A (en) | Method and device of up-down link correlation | |
WO2022037266A1 (en) | Method, apparatus, and system for communication in data centre | |
CN101114939A (en) | Method and system for performing simple management to network management-free ethernet switchboard | |
CN101179510B (en) | Main/slave link load sharing method and apparatus for virtual switch system | |
CN104639437A (en) | Forwarding method and apparatus of broadcast messages in stack system | |
CN104539558A (en) | Capacity-expansible IP telephone exchange blade mechanism frame and automatic capacity expansion method | |
CN100563145C (en) | Bundle interface among the RPR and its implementation and device | |
CN102223312A (en) | Flow control method and equipment based on link status | |
CN101478486B (en) | Method, equipment and system for switch network data scheduling | |
CN104618157A (en) | Network management method, device and system | |
CN103840972A (en) | System and method for backup between link aggregation groups in packet switched network | |
CN102857436B (en) | Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network | |
CN106209633A (en) | A kind of message forwarding method and device | |
CN107465628A (en) | The control method and control device of a kind of software defined network | |
CN101635683A (en) | Method and device for transmitting service based on link aggregation | |
CN101389149B (en) | Signal batch processing method applied in ASON | |
CN102195863A (en) | Multicasting realization method, access layer equipment and system under ring network framework |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090923 Termination date: 20151102 |
|
EXPY | Termination of patent right or utility model |