CN104052681A - Flow control method and device - Google Patents

Flow control method and device Download PDF

Info

Publication number
CN104052681A
CN104052681A CN201410289616.5A CN201410289616A CN104052681A CN 104052681 A CN104052681 A CN 104052681A CN 201410289616 A CN201410289616 A CN 201410289616A CN 104052681 A CN104052681 A CN 104052681A
Authority
CN
China
Prior art keywords
flow control
flow
list
control
dynamic
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
CN201410289616.5A
Other languages
Chinese (zh)
Other versions
CN104052681B (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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410289616.5A priority Critical patent/CN104052681B/en
Publication of CN104052681A publication Critical patent/CN104052681A/en
Application granted granted Critical
Publication of CN104052681B publication Critical patent/CN104052681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow control method and device, and relates to the technical field of communication. Dynamic flow control can be more flexibly achieved according to a real-time link condition, the utilization rate of bandwidths is increased, and waste of the bandwidths is reduced. The flow control method includes the steps that a plurality of adjustable flow control policies with different priorities are set; dynamic flow control lists are periodically generated, and dynamic flow control is conducted according to the newest dynamic flow control list, wherein the process for generating the dynamic flow control list each time includes the steps that an empty dynamic flow control list is generated, if it is judged that flow control is not conducted on a current link, blockage can be generated, at least one adjustable flow control policy is added to the dynamic flow control list according to a low-to-high priority sequence until the link is not blocked when dynamic flow control is conducted according to the current dynamic flow control list, and available surplus bandwidths are distributed to data flow corresponding to the adjustable flow control policy with the highest priority in the current dynamic flow control list.

Description

Flow control methods and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of flow control methods and device.
Background technology
Along with the fast development of the Internet, diverse network application emerges in an endless stream, and network traffics also present rapid growth situation thereupon.Wherein, the network application that the P2P of take is representative has produced a large amount of low value-added data flow, has consumed a large amount of network bandwidths, causes congested happening occasionally, and has had a strong impact on the overall quality of service that user obtains, and even threatens the stability of network integral body.Because existing network flow is huge, fluctuation frequent, and agreement is complicated and changeable.Therefore, for guaranteeing network security, realize differentiated service, at present conventionally by carrying out flow control based on deep packet inspection technical (Deep Packet Inspection, DPI) simultaneously.
Conventional flow control methods is in advance flow control strategy to be input in DPI fluidic device, according to certain trigger condition, carries out flow-control operation.For example, when link flow surpasses threshold value, the flow of P2P data flow being controlled, is 500Mbps by the flow restriction of P2P data flow.Yet, existing flow control methods underaction and easily cause the waste of bandwidth.
Summary of the invention
The invention provides a kind of flow control methods and device, can carry out dynamic flow control according to real-time link condition, more flexibly and improved bandwidth availability ratio, reduce the waste of bandwidth.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
On the one hand, provide a kind of flow control methods, comprising:
Setting has a plurality of adjustable flow control strategies of different priorities, and different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Periodically generate dynamic flow list, and carry out dynamic flow control according to up-to-date dynamic flow list;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until according to current dynamic flow list carry out dynamic flow while controlling described in link can be not congested, available remaining bandwidth described in when the dynamic flow list according to current is carried out to flow control on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
A plurality of adjustable flow control strategies that described setting has different priorities are specially:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
On the other hand, provide a kind of volume control device, comprising:
Adjustable control strategy setting module, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Dynamic flow list setting module, for periodically generating dynamic flow list, the described dynamic flow list of each generation comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to current dynamic flow list, available remaining bandwidth described in when the dynamic flow list according to current is carried out to flow control on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority,
Flow Control module, for carrying out flow control according to up-to-date dynamic flow list.
Described adjustable control strategy setting module specifically for:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
On the other hand, provide a kind of flow control methods, comprising:
Setting has a plurality of adjustable flow control strategies of different priorities, and different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Set static Flow Control list and carry out quiescent flow control according to described static Flow Control list, in described static Flow Control list, be provided with non-adjustable flow control strategy;
Periodically generate dynamic flow list, and according to up-to-date dynamic flow list, carry out dynamic flow control on the basis of controlling at quiescent flow;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth described in when carrying out flow control according to static Flow Control list and current dynamic flow list on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
A plurality of adjustable flow control strategies that described setting has different priorities are specially:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
On the other hand, provide a kind of volume control device, comprising:
Adjustable control strategy setting module, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Static Flow Control list setting module, for setting static Flow Control list, is provided with non-adjustable flow control strategy in described static Flow Control list;
Dynamic flow list setting module, for periodically generating dynamic flow list, the list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth described in when carrying out flow control according to static Flow Control list and current dynamic flow list on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority,
Flow Control module, for carrying out flow control according to static Flow Control list and up-to-date dynamic flow list.
Described adjustable control strategy setting module specifically for:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
Flow control methods provided by the invention and device, carry out dynamic flow control, the generation of each dynamic flow list comprises: when link meeting is congested, according to priority orders, adjustable flow control strategy is added to dynamic flow list, thereby can carry out flow control according to real-time link condition, make flow control procedure more flexible, and available remaining bandwidth is distributed to the highest adjustable flow control strategy of dynamic flow list medium priority, thereby improved bandwidth availability ratio, reduced the waste of bandwidth.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of flow control methods in the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of flow control methods in the embodiment of the present invention two;
Fig. 3 is each particular flow sheet that generates dynamic flow list in the flow control methods of Fig. 2;
Fig. 4 is the structured flowchart of a kind of volume control device in the embodiment of the present invention three;
Fig. 5 is the structured flowchart of a kind of volume control device in the embodiment of the present invention four.
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.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
As shown in Figure 1, the embodiment of the present invention provides a kind of flow control methods, comprising:
Step 101, setting have a plurality of adjustable flow control strategies of different priorities, and different adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Particularly, adjustable flow strategy can be divided according to the dissimilar of data flow, such as dividing according to type of service, divide or divide etc. according to stream five-tuple according to Application Type, the dividing mode of adjustable flow control strategy is not construed as limiting.The data flow of this strategy correspondence of the higher expression of priority of adjustable flow control strategy is used the authority of link bandwidth higher.
Step 102, periodicity generate dynamic flow list, and carry out dynamic flow control according to up-to-date dynamic flow list;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by least one adjustable flow control strategy, until carry out dynamic flow according to current dynamic flow list, this link can be not congested while controlling, available remaining bandwidth when the dynamic flow list according to current is carried out to flow control on this link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
In this step, can obtain by DPI equipment the input flow rate information of link bandwidth information and this link, input flow rate is also on link, not carry out the flow of Flow Control, when the cycle of a new round starts, generate empty dynamic flow list, according to input flow rate information, can judge whether can invent congested if no longer carry out this link of flow control, if, in empty dynamic flow list, add adjustable flow control strategy, the adjustable flow control strategy that priority is lower can first be added in dynamic flow list and be performed, until judgement according to this dynamic flow list, carry out Flow Control after this link can be not congested again, if not, according to empty dynamic flow list, control, this cycle is not carried out flow control.In said process, because adjustable flow control strategy is pre-set, after being added to dynamic flow list, adjustable flow control strategy directly carries out flow control, often on link, have remaining bandwidth, therefore in order to guarantee to make full use of bandwidth, available remaining bandwidth can be distributed to the adjustable flow control strategy (finally adding the adjustable flow control strategy in dynamic flow list) that above-mentioned dynamic flow list medium priority is the highest, improve the control thresholding of this strategy corresponding data stream.
Particularly, in above-mentioned steps 101, setting a plurality of adjustable flow control strategies with different priorities can be: according to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service.For example, according to type of service, set Web service traffics control strategy, video traffic flow control strategy, P2P service traffics control strategy and other service traffics control strategies, the priority of each service traffics control strategy arranges as shown in table 1, wherein numerical priority value is less, and the priority of strategy is higher.In service traffics control strategy, the control thresholding of data flow can arrange as required.
Table 1
Class of business Priority
Web business 1
Video traffic 2
P2P business 4
Other business 3
Or, in above-mentioned steps 101, setting a plurality of adjustable flow control strategies with different priorities can also be: according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type.For example, on the basis of above-mentioned table 1, the data flow of P2P business is set to " PPS " application rs traffic control strategy, " being in fashion " application rs traffic control strategy etc. according to Application Type.It should be noted that, priority orders between service traffics control strategy and application rs traffic control strategy arranges according to the service traffics control strategy under application program, for example the priority of P2P service traffics control strategy is minimum in all business, and the priority of the application rs traffic control strategy in P2P business is necessarily lower than the application rs traffic control strategy in other service traffics control strategies and other service traffics control strategies so.
Or, in above-mentioned steps 101, setting a plurality of adjustable flow control strategies with different priorities can also be: according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
Certainly, in above-mentioned steps 101, setting a plurality of adjustable flow control strategies with different priorities can also set according to NM mode in other the present embodiment.
Flow control methods in the present embodiment, carry out dynamic flow control, the generation of each dynamic flow list comprises: when link meeting is congested, according to priority orders, adjustable flow control strategy is added to dynamic flow list, thereby can carry out flow control according to real-time link condition, make flow control procedure more flexible, and available remaining bandwidth is distributed to the highest adjustable flow control strategy of dynamic flow list medium priority, thus improved bandwidth availability ratio, reduce the waste of bandwidth.
Embodiment bis-
As shown in Figure 2, the embodiment of the present invention provides a kind of flow control methods, comprising:
Step 201, setting have a plurality of adjustable flow control strategies of different priorities, and different adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
In this step, adjustable flow strategy can be divided according to the dissimilar of data flow, such as dividing according to type of service, divide or divide etc. according to stream five-tuple according to Application Type, the dividing mode of adjustable flow control strategy is not construed as limiting.
Step 202, set static Flow Control list and carry out quiescent flow control according to static Flow Control list, in static Flow Control list, be provided with non-adjustable flow control strategy;
In this step, non-adjustable flow control strategy refers to that any moment all needs the data flow con-trol strategy that these service traffics are controlled, for example, flow control strategy corresponding to " sudden peal of thunder " data flow in P2P business is made as to non-adjustable flow control strategy, any moment, the flow of " sudden peal of thunder " is all controlled in the flow control thresholding of himself.Like this can compatible existing flow control methods.
Step 203, periodicity generate dynamic flow list, and according to up-to-date dynamic flow list, carry out dynamic flow control on the basis of controlling at quiescent flow;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by least one adjustable flow control strategy, until this link can be not congested while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth when carrying out flow control according to static Flow Control list and current dynamic flow list on this link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
In above-mentioned steps 201, setting a plurality of adjustable flow control strategies with different priorities can be:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
The detailed process of a plurality of adjustable flow control strategies that setting has different priorities is identical with embodiment mono-, does not repeat them here.
Example and three kinds of link condition by a complete flow control illustrate the flow control methods that the embodiment of the present invention provides below, for example, link bandwidth is 10G, and the highest link utilization is 80%, and the flow on link surpasses 8Gbps and thinks that generation is congested.
First, carry out above-mentioned steps 201, wherein adjustable flow control strategy corresponding to each data flow is as shown in table 2;
Table 2
Stream kind Control thresholding Priority
Web business 3Gbps 1
Video traffic 3Gbps 2
P2P business 0 4
Other business 2Gbps 3
PPS 500Mbps 5
Be in fashion 500Mbps 6
Carry out above-mentioned steps 202, wherein in static Flow Control list, only comprise " sudden peal of thunder " strategy, wherein the control gate of " sudden peal of thunder " data flow is limited to 1Gbps, owing to only there being non-adjustable flow control strategy to be arranged in static Flow Control list, therefore only the data flow of " sudden peal of thunder " is carried out to Flow Control, control gate is limited to 1Gbps;
Carry out above-mentioned steps 203, as shown in Figure 3, in above-mentioned steps 203, the process that at every turn generates dynamic flow list specifically comprises:
Step 2031, generate empty dynamic flow list;
Step 2032, judge current link only carries out whether can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, if, enter step 2033, if not, enter step 2034, obtain the dynamic flow list without flow control strategy, this cycle is not controlled data flow corresponding to adjustable flow control strategy;
Step 2033, will not add the adjustable flow control strategy that dynamic flow list medium priority is minimum to add dynamic flow list, then progressive step 2035;
When step 2035, judgement are carried out flow control according to static Flow Control list and current dynamic flow list, whether link can be congested, if so, enters step 2033, if not, enters step 2036;
Step 2036, the available remaining bandwidth when carrying out flow control according to static Flow Control list and current dynamic flow list on link are according to distributing to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
Link condition one
For example, as shown in table 3 in the input flow rate information of link.
Table 3
Because " sudden peal of thunder " strategy is non-adjustable flow control strategy, all the time the control gate that comprises " sudden peal of thunder " data flow in static Flow Control list is limited to the Flow Control strategy of 1Gbps, if therefore carry out after Flow Control according to static Flow Control list, the flow of each data flow in link is as shown in table 4.
Table 4
Total flow in link is 6.5Gbps, does not surpass 8Gbps, therefore in step 2032, judges that link can be not congested, only carries out static Flow Control, without carrying out dynamic flow.
Link condition two
The input flow rate information of link is as shown in table 5.
Table 5
Input total flow in link is 8.5Gbps, in step 2032, judge that link can be congested, enter step 2033, in step 2033, " being in fashion " flow control strategy is added in dynamic flow list, the control gate that wherein " is in fashion " data flow is limited to 500Mbps; In step 2035, judge that link can be not congested again, and link still there is 1G bandwidth to use; In step 2036, by 1G allocated bandwidth, give " being in fashion " flow control strategy, make the control thresholding that " is in fashion " data flow in dynamic flow list rise to 1.5Gbps, according to static Flow Control list and up-to-date dynamic flow list, carry out after Flow Control in circuit the flow of each data flow as shown in table 6.
Table 6
Now the total flow in link is 8Gbps, can not occur congestedly, and the utilance of link is the highest.
Link condition three
The input flow rate information of link is as shown in table 7.
Table 7
The input total flow of link is 9.5Gbps, judges that link can be congested in step 2032, enters step 2033, in step 2033, " being in fashion " flow control strategy is added in dynamic flow list, and the control gate of " being in fashion " data flow is limited to 500Mbps, now the total flow of link will be 9Gbps, judge that link still can be congested in step 2035, enter step 2033, " PPS " flow control strategy is added in dynamic flow list, the control gate of " PPS " data flow is limited to 500Mbps, now the total flow in link will be 8.5Gbps, judge that link still can be congested in step 2035, enter step 2033, P2P service traffics control strategy is added to dynamic flow list, because " sudden peal of thunder ", " being in fashion " and " PPS " all belong to P2P business, therefore according to the control gate of data flow in P2P business, being limited to 0 carries out flow control, now the total flow in link will be 6.5Gbps, judge that link can be not congested, and still have 1.5G bandwidth to use in step 2035, enter step 2036, by 1.5G allocated bandwidth to the highest data flow corresponding to P2P business of priority, P2P business comprises " sudden peal of thunder ", " PPS ", " be in fashion " and " other P2P " application program, therefore also need specifically 1.5G allocated bandwidth to corresponding application data stream, wherein " sudden peal of thunder " belongs to the data flow in non-adjustable strategy, therefore " sudden peal of thunder " priority in P2P business is minimum, 1.5G bandwidth is distributed to " other P2P " according to priority orders from high to low, " PPS ", " be in fashion " and " sudden peal of thunder " data flow, the priority of " other P2P " data flow is determined by the priority of P2P service traffics control strategy, therefore " other P2P " data flow priority in P2P business is the highest, the control gate that limits " other P2P " data flow is limited to 500Mbps, after giving " other P2P " data flow by 1.5G allocated bandwidth, still have 1G remaining bandwidth, again the remaining bandwidth of 1G is distributed to " PPS " data flow that priority is higher, carry out after Flow Control the flow of each data flow of link as shown in table 8.
Table 8
Now the total flow in link is 8Gbps, can not occur congestedly, and the utilance of link is the highest.
Flow control methods in the present embodiment, carry out dynamic flow control, the generation of each dynamic flow list comprises: when link meeting is congested, according to priority orders, adjustable flow control strategy is added to dynamic flow list, thereby can carry out flow control according to real-time link condition, make flow control procedure more flexible, and available remaining bandwidth is distributed to the highest adjustable flow control strategy of dynamic flow list medium priority, thus improved bandwidth availability ratio, reduce the waste of bandwidth.
Embodiment tri-
As shown in Figure 4, the embodiment of the present invention provides a kind of volume control device, comprise: adjustable control strategy setting module 1, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams, dynamic flow list setting module 2, for periodically generating dynamic flow list, the described dynamic flow list of each generation comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to current dynamic flow list, available remaining bandwidth described in when the dynamic flow list according to current is carried out to flow control on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority, Flow Control module 3, for carrying out flow control according to up-to-date dynamic flow list.
Above-mentioned adjustable control strategy setting module 1 specifically for: according to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service; Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type; Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
Concrete flow control methods is identical with above-described embodiment one, does not repeat them here.
Volume control device in the present embodiment, carry out dynamic flow control, the generation of each dynamic flow list comprises: when link meeting is congested, according to priority orders, adjustable flow control strategy is added to dynamic flow list, thereby can carry out flow control according to real-time link condition, make flow control procedure more flexible, and available remaining bandwidth is distributed to the highest adjustable flow control strategy of dynamic flow list medium priority, thus improved bandwidth availability ratio, reduce the waste of bandwidth.
Embodiment tetra-
As shown in Figure 5, the embodiment of the present invention provides a kind of volume control device, comprise: adjustable control strategy setting module 1, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams, static Flow Control list setting module 4, for setting static Flow Control list, is provided with non-adjustable flow control strategy in described static Flow Control list, dynamic flow list setting module 2, for periodically generating dynamic flow list, the list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth described in when carrying out flow control according to static Flow Control list and current dynamic flow list on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority, Flow Control module 3, for carrying out flow control according to static Flow Control list and up-to-date dynamic flow list.
Above-mentioned adjustable control strategy setting module 1 specifically for: according to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service; Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type; Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
Concrete flow control methods is identical with above-described embodiment two, does not repeat them here.
Volume control device in the present embodiment, carry out dynamic flow control, the generation of each dynamic flow list comprises: when link meeting is congested, according to priority orders, adjustable flow control strategy is added to dynamic flow list, thereby can carry out flow control according to real-time link condition, make flow control procedure more flexible, and available remaining bandwidth is distributed to the highest adjustable flow control strategy of dynamic flow list medium priority, thus improved bandwidth availability ratio, reduce the waste of bandwidth.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, 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 can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in 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, is anyly 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 (8)

1. a flow control methods, is characterized in that, comprising:
Setting has a plurality of adjustable flow control strategies of different priorities, and different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Periodically generate dynamic flow list, and carry out dynamic flow control according to up-to-date dynamic flow list;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until according to current dynamic flow list carry out dynamic flow while controlling described in link can be not congested, available remaining bandwidth described in when the dynamic flow list according to current is carried out to flow control on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
2. flow control methods according to claim 1, is characterized in that,
A plurality of adjustable flow control strategies that described setting has different priorities are:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
3. a volume control device, is characterized in that, comprising:
Adjustable control strategy setting module, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Dynamic flow list setting module, for periodically generating dynamic flow list, the described dynamic flow list of each generation comprises: generate empty dynamic flow list, it is congested if judge, current link can occur when not carrying out flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to current dynamic flow list, available remaining bandwidth described in when the dynamic flow list according to current is carried out to flow control on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority,
Flow Control module, for carrying out flow control according to up-to-date dynamic flow list.
4. volume control device according to claim 3, is characterized in that,
Described adjustable control strategy setting module specifically for:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
5. a flow control methods, is characterized in that, comprising:
Setting has a plurality of adjustable flow control strategies of different priorities, and different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Set static Flow Control list and carry out quiescent flow control according to described static Flow Control list, in described static Flow Control list, be provided with non-adjustable flow control strategy;
Periodically generate dynamic flow list, and according to up-to-date dynamic flow list, carry out dynamic flow control on the basis of controlling at quiescent flow;
The list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth described in when carrying out flow control according to static Flow Control list and current dynamic flow list on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority.
6. flow control methods according to claim 5, is characterized in that,
A plurality of adjustable flow control strategies that described setting has different priorities are:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
7. a volume control device, is characterized in that, comprising:
Adjustable control strategy setting module, for setting a plurality of adjustable flow control strategies with different priorities, different described adjustable flow control strategies is for the default control thresholding of separate provision different data streams;
Static Flow Control list setting module, for setting static Flow Control list, is provided with non-adjustable flow control strategy in described static Flow Control list;
Dynamic flow list setting module, for periodically generating dynamic flow list, the list of each generation dynamic flow comprises: generate empty dynamic flow list, if judge, current link only carries out can occurring when quiescent flow is controlled congested not carrying out dynamic flow control, foundation priority orders from low to high adds dynamic flow list by adjustable flow control strategy described at least one, until link can be not congested described in while carrying out flow control according to static Flow Control list and current dynamic flow list, available remaining bandwidth described in when carrying out flow control according to static Flow Control list and current dynamic flow list on link is distributed to current the highest data flow corresponding to adjustable flow control strategy of dynamic flow list medium priority,
Flow Control module, for carrying out flow control according to static Flow Control list and up-to-date dynamic flow list.
8. volume control device according to claim 7, is characterized in that,
Described adjustable control strategy setting module specifically for:
According to type of service, set corresponding service traffics control strategy, different service traffics control strategies carry out priority division according to type of service;
Or, according to type of service, set corresponding service traffics control strategy, and according to Application Type, set corresponding application rs traffic control strategy in same business, different service traffics control strategies carry out priority division according to type of service, and different application rs traffic control strategies carry out priority division according to Application Type;
Or, according to the source of data flow, object IP address, source, target MAC (Media Access Control) address, source, destination slogan or application layer protocol kind are set corresponding service traffics control strategy, and different service traffics control strategies carry out priority division according to data stream type.
CN201410289616.5A 2014-06-25 2014-06-25 Flow control methods and device Active CN104052681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410289616.5A CN104052681B (en) 2014-06-25 2014-06-25 Flow control methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410289616.5A CN104052681B (en) 2014-06-25 2014-06-25 Flow control methods and device

Publications (2)

Publication Number Publication Date
CN104052681A true CN104052681A (en) 2014-09-17
CN104052681B CN104052681B (en) 2018-09-21

Family

ID=51505063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410289616.5A Active CN104052681B (en) 2014-06-25 2014-06-25 Flow control methods and device

Country Status (1)

Country Link
CN (1) CN104052681B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767809A (en) * 2015-04-02 2015-07-08 天脉聚源(北京)教育科技有限公司 Downloading control method and system
CN105847169A (en) * 2015-01-13 2016-08-10 阿里巴巴集团控股有限公司 Method and device for traffic control
CN106330778A (en) * 2016-08-22 2017-01-11 深圳广联赛讯有限公司 Network flow control method and apparatus
CN106506387A (en) * 2015-09-08 2017-03-15 北京国双科技有限公司 The method and apparatus of flow-control
CN107295572A (en) * 2016-04-11 2017-10-24 北京搜狗科技发展有限公司 A kind of dynamic self-adapting current-limiting method and electronic equipment
CN107623577A (en) * 2016-07-14 2018-01-23 深圳市远行科技股份有限公司 Service call flow control methods and device
CN109413675A (en) * 2018-12-05 2019-03-01 斑马网络技术有限公司 Car networking flow control methods, device and car-mounted terminal
CN110135198A (en) * 2019-02-18 2019-08-16 北京车和家信息技术有限公司 Program flow monitoring method, system and vehicle
CN110475291A (en) * 2019-08-22 2019-11-19 惠州市新一代工业互联网创新研究院 Application traffic control, safe Check System and method based on the 5G communication technology
CN113300974A (en) * 2020-07-10 2021-08-24 阿里巴巴集团控股有限公司 Congestion control method, equipment and computer readable medium
WO2024066623A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Method for determining scheduling policy, and related apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193061A (en) * 2006-12-14 2008-06-04 中兴通讯股份有限公司 Multi-Qos-based traffic control method
CN102158420A (en) * 2011-05-25 2011-08-17 杭州华三通信技术有限公司 Service traffic scheduling method based on priority queue and device thereof
CN103634223A (en) * 2013-12-03 2014-03-12 北京东土科技股份有限公司 Network service flow based dynamic control transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193061A (en) * 2006-12-14 2008-06-04 中兴通讯股份有限公司 Multi-Qos-based traffic control method
CN102158420A (en) * 2011-05-25 2011-08-17 杭州华三通信技术有限公司 Service traffic scheduling method based on priority queue and device thereof
CN103634223A (en) * 2013-12-03 2014-03-12 北京东土科技股份有限公司 Network service flow based dynamic control transmission method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847169A (en) * 2015-01-13 2016-08-10 阿里巴巴集团控股有限公司 Method and device for traffic control
CN105847169B (en) * 2015-01-13 2019-07-05 阿里巴巴集团控股有限公司 A kind of method and device for flow control
CN104767809B (en) * 2015-04-02 2018-12-21 天脉聚源(北京)教育科技有限公司 A kind of download control method and system
CN104767809A (en) * 2015-04-02 2015-07-08 天脉聚源(北京)教育科技有限公司 Downloading control method and system
CN106506387A (en) * 2015-09-08 2017-03-15 北京国双科技有限公司 The method and apparatus of flow-control
CN107295572A (en) * 2016-04-11 2017-10-24 北京搜狗科技发展有限公司 A kind of dynamic self-adapting current-limiting method and electronic equipment
CN107623577A (en) * 2016-07-14 2018-01-23 深圳市远行科技股份有限公司 Service call flow control methods and device
CN107623577B (en) * 2016-07-14 2022-10-14 深圳市远行科技股份有限公司 Service call flow control method and device
CN106330778A (en) * 2016-08-22 2017-01-11 深圳广联赛讯有限公司 Network flow control method and apparatus
CN106330778B (en) * 2016-08-22 2020-01-24 深圳广联赛讯有限公司 Network flow control method and device
CN109413675A (en) * 2018-12-05 2019-03-01 斑马网络技术有限公司 Car networking flow control methods, device and car-mounted terminal
CN110135198A (en) * 2019-02-18 2019-08-16 北京车和家信息技术有限公司 Program flow monitoring method, system and vehicle
CN110475291A (en) * 2019-08-22 2019-11-19 惠州市新一代工业互联网创新研究院 Application traffic control, safe Check System and method based on the 5G communication technology
CN113300974A (en) * 2020-07-10 2021-08-24 阿里巴巴集团控股有限公司 Congestion control method, equipment and computer readable medium
CN113300974B (en) * 2020-07-10 2024-04-26 阿里巴巴集团控股有限公司 Congestion control method, device and computer readable medium
WO2024066623A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Method for determining scheduling policy, and related apparatus

Also Published As

Publication number Publication date
CN104052681B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN104052681A (en) Flow control method and device
US20230283568A1 (en) Scalable network slice based queuing using segment routing flexible algorithm
US9369390B2 (en) Methods, systems, and computer readable media for providing a thinking diameter network architecture
Hong et al. Achieving high utilization with software-driven WAN
CN111654438B (en) Method, controller and system for establishing forwarding path in network
US11451890B2 (en) Virtual optical network-oriented spectrum resource trading method and system
JP2006511137A5 (en)
CN102685904A (en) Bandwidth self-adaptive allocation method and bandwidth self-adaptive allocation system
CN102594675A (en) Traffic control system and method
CN105721350A (en) Intelligent bandwidth allocation method and apparatus
CN103209186A (en) Design method for ensuring quality of service of businesses in heterogeneous network
Kim et al. Communicating with caps: Managing usage caps in home networks
CN109995668A (en) Flow control methods and device, storage medium
CN112311687A (en) Traffic scheduling method and device
CN103685057B (en) Flow statistical method and device
CN104320353A (en) User address managing method and device
CN107995121B (en) Method for counting flow in software defined network based on wildcard
CN103516761A (en) Time-sharing control method for server accessed by multiple terminals and cloud computing system
US7668090B1 (en) Setting pre-congestion notification admission and preemption thresholds in computer networks
Tegueu et al. Towards application driven networking
US11689467B2 (en) QOS policy provisioning on resource constrained network devices
CN105207952A (en) Hierarchical quality of service queue speed-limiting method and apparatus
CN110447207A (en) The system and method for reaction equation Path selection
CN104426855A (en) Traffic switching method, equipment and system
EP3725044B1 (en) Actn virtual network augmentation for resource sharing

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