CN101527672A - Device and method for controlling network traffic - Google Patents
Device and method for controlling network traffic Download PDFInfo
- Publication number
- CN101527672A CN101527672A CN200810083148A CN200810083148A CN101527672A CN 101527672 A CN101527672 A CN 101527672A CN 200810083148 A CN200810083148 A CN 200810083148A CN 200810083148 A CN200810083148 A CN 200810083148A CN 101527672 A CN101527672 A CN 101527672A
- Authority
- CN
- China
- Prior art keywords
- count value
- counting unit
- successively decreasing
- covering
- formation
- 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.)
- Pending
Links
Images
Abstract
The invention relates to a device and a method for controlling network traffic. The device for controlling network traffic comprises a control logic, a first counting unit and a second counting unit. The method for controlling network traffic comprises the following steps that: by using a dual leaky bucket method, the first counting unit generates a first counting value and the second counting unit generates a second counting value respectively, so that the control logic controls the average rate according to whether the first counting value is in accordance with a first threshold value range, and controls the peak rate according to whether the second counting value is in accordance with a second threshold value range; and when the first counting value is in accordance with the first threshold value range and the second counting value is in accordance with the second threshold value range, the queue packets are transmitted so as to effectively control the network traffic.
Description
Technical field
The present invention relates to a kind of volume control device and method, particularly relate to network traffics control device and method.
Background technology
In recent years because the fast development of network, the rapid increase of user, though the frequency range of network is also grown up with surprising rapidity, network still is jammed, and the future that can not be expected at short also be like this, do not caused by the Network Transmission quality is good with regard to its main cause.
Guarantee (Quality of service at needs service quality, Qos) network application, as video conference (Video Conference), long-distance teaching (Distance Learning) and video on demand (Video on Demand), the frequency range that all needs to guarantee just can be kept online quality, can influence transmission speed because of network quality at that time in the process of transmission.When different groupings all needs to transmit at one time, just must grab the frequency range resource, the frequency range and stable online of having no idea effectively to give security.
General solution improves network bandwidth exactly, as Internet Service Provider (InternetService Provider, ISP) (AsymmetricalDigital Subscriber is ADSL) with the broadband online service of cable modem (cable modem) for the Asymmetrical Digital Subscriber Line that is provided.Yet because these two kinds of broadband services are all used Ethernet online (Ethernetconnection) in client, and Ethernet is a target so that maximum frequency range to be provided as far as possible promptly in design, therefore, if do not control the use of client frequency range, will make ISP dealer's the network equipment can't bear load.In addition, with regard to network manager,, also need manage to control frequency range, with the problem of avoiding network to be jammed in the face of being the network traffics of growing up as the index.
Therefore, how propose a kind of volume control device and method of novel network bandwidth, not only can improve the shortcoming that legacy network is jammed, can effectively utilize frequency range again, make and to solve the above problems at the problems referred to above.
Summary of the invention
One of purpose of the present invention is to provide a kind of network traffics control device and method, is the Mean Speed of Control Network flow.
One of purpose of the present invention is to provide a kind of network traffics control device and method, is the peak rate of Control Network flow.
One of purpose of the present invention is to provide a kind of network traffics control device and method, is can adjust Mean Speed and peak rate respectively, to reach effective Control Network flow according to the demand on using.
Network traffics control device of the present invention comprises a control logic, one first counting unit and one second counting unit.Its method for controlling network flow is when grouping waiting for transmission is kept in a formation, flow by control logic control formation transmission grouping, utilize first counting unit and second counting unit to produce one first count value and one second count value respectively, when first count value meets a first threshold scope and second count value and also meets one second threshold range, then by control logic control formation transmission grouping, with the frequency range of effective Control Network.
Description of drawings
Fig. 1 is the schematic diagram of a preferred embodiment of the present invention;
Fig. 2 is the calcspar of a preferred embodiment of the present invention; And
Fig. 3 is the flow chart of a preferred embodiment of the present invention.
The reference numeral explanation
10 formations
20 network traffics control device
21 first leak bucket
22 second leak bucket
23 control logics
24 frequency cells
25 first counting units
26 second counting units
27 memory cell
Embodiment
Further understand and understanding for architectural feature of the present invention and the effect that realized are had, now in conjunction with the accompanying drawings embodiment is done detailed explanation.
See also Fig. 1, it is the schematic diagram of one embodiment of the invention.Network traffics control device 20 is used for the flow of Control Network device, for example controls the network traffics of interchanger.As shown in Figure 1, a formation 10 stores grouping waiting for transmission, and network traffics control device 20 connects formation 10, with control formation 10 transmission groupings.Network traffics control device 20 is distinguished the Mean Speed and the peak rate of control transmission grouping by two control modes of leaking bucket (Dual Leaky Bucket).
The network traffics control device 20 of one embodiment of the invention comprises that one first leaks bucket 21,1 second leakage bucket 22 and one control logic 23.Network traffics control device 20 cooperates first to leak the Mean Speed of bucket 21 with control formation 10 transmission groupings by control logic 23, and add that control logic 23 cooperates second to leak the peak rate of bucket 22 with control formation 10 transmission groupings, and reach effective Control Network flow.
May command formation 10 is with certain Mean Speed transmission grouping on the first leakage bucket, 21 macroscopics, and second leaks barrel 22 control formations 10 has a blanking time between each grouping of transmission, with the peak rate of Control Network flow.First leaks bucket 21 comprises a plurality of first news marks (token) and a first threshold, second leaks bucket 22 comprises a plurality of second news marks and one second threshold value, in addition, first leaks bucket 21 also comprises a sudden and violent momentum (Burst Size), this sudden and violent momentum is the zone between first threshold to the 3rd threshold value, adds the 3rd threshold value so first threshold is sudden and violent momentum.
See also Fig. 2, it is the calcspar of another embodiment of the present invention.As shown in the figure, receive grouping by formation 10, network traffics control device 20 couples this formation 10, packet traffic with control formation 10, it comprises a frequency cells 24, produces a first frequency signal according to first frequency of successively decreasing, and produces a second frequency signal according to second frequency of successively decreasing, wherein, frequency cells 24 can be a voltage controlled oscillator.One first counting unit 25 produces one first count value, and according to first frequency signal and first number this first count value of successively decreasing of successively decreasing.One second counting unit 26 is used to produce one second count value equally, and according to second frequency signal and second number this second count value of successively decreasing of successively decreasing.From the above, first count value and second count value can be as the described first news target quantity of Fig. 1 and the second news target quantity.
Moreover, network traffics control device 20 also comprises a memory cell 27, it is coupled to control logic 23, to store first threshold, second threshold value, the 3rd threshold value, first frequency, first number, second frequency and second numerical value such as number that successively decrease that successively decrease that successively decrease that successively decrease, and provide this control logic 23 to read, wherein this control logic 23 can be in order to the parameter of setpoint frequency unit 24, first counting unit 25, second counting unit 26.
See also Fig. 3, it is the flow chart of the method for controlling network flow of another embodiment of the present invention, at first, execution in step S10 divides into groups in formation with reception, execution in step S11 compares first count value and whether meets a first threshold scope again, if first count value meets first threshold, then then execution in step S12 compares second count value and whether meets second threshold range, if second count value also meets second threshold range, the then then grouping of execution in step S13 transmit queue again, and next execution in step S14 addition one first covering is worth in first count value and addition one second covering and is worth in second count value.
Be among the step S11, first count value is according to first frequency and first number first count value that continues to successively decrease of successively decreasing of successively decreasing, when first count value is less than or equal to the 3rd threshold value, then stop first count value of successively decreasing, in like manner, in step S12, second count value is according to second frequency and second number second count value that continues to successively decrease of successively decreasing of successively decreasing, when second count value is less than or equal to second threshold value, then stop second count value of successively decreasing, wherein above-mentioned first successively decrease frequency and first successively decrease number and second successively decrease frequency and second successively decrease two groups of parameters of number can be according to different situations and adjust respectively, in addition, step S11 and the commutative execution order of step S12 do not influence its result.
The invention provides another embodiment, it supposes that second threshold value is that the 30, the 3rd threshold value is 40, sudden and violent momentum is that 1522, first frequency of successively decreasing is that per second 4 times, first numbers of successively decreasing of successively decreasing are that 10, second frequency of successively decreasing is that per second 2 times and second number of successively decreasing is 5, wherein, first threshold is that sudden and violent momentum adds the 3rd threshold value, and promptly 1522 to add 40 be 1562.Be grouped into 64 bytes as one and enter formation, and when detecting this grouping by control logic, compare then whether first count value meets the first threshold scope and whether comparison second count value that continues meets second threshold range, because first count value and second count value of initial condition can be set at the 3rd threshold value and second threshold value, so first count value and second count value of this moment meet the first threshold scope and second threshold range respectively, promptly first count value is 40, it is 1562 first threshold less than value, and second count value is 30, and its value of being less than or equal to is 30 second threshold value.Control logic control formation transmission grouping, and the size that adds grouping is 64 in first count value and second count value (because aforesaid 64 byte packet enter formation), first count value is that 40 to add 64 be that 104, the second count values are that 30 to add 64 be 94 at this moment.When next one grouping still is that 64 bytes are when entering formation, first count value is 104 still to meet the first threshold scope, but second count value is 94 and does not meet second threshold range 30, must be according to second frequency and second number of successively decreasing of successively decreasing, second count value of successively decreasing, after waiting for 6.5 seconds approximately, second count value be decremented to 30 or following after, when meeting second threshold value, control logic is just controlled formation with the transmission grouping, so can avoid continuous 23 as 64 above-mentioned byte packet to send continuously, cause cruelly towards phenomenon.Though 1522 sudden and violent momentum can be set at a smaller value, when the next one is grouped into 1500 bytes when entering formation, this grouping possibly can't be transmitted.Therefore, by adjusting first frequency and first Mean Speed of number of successively decreasing of successively decreasing with the Control Network flow, and by adjust second successively decrease frequency, second successively decrease number and second threshold value, make transmit each grouping between produce blanking time, with the peak rate of Control Network flow.
By above-mentioned network traffics control principle of the present invention as can be known, can finish first by the mode that first counting unit and second counting unit increase progressively first count value and second count value equally and leak the working mechanism that bucket and second leaks barrel, and then finish the Mean Speed and the peak rate of Control Network flow, this is well known to those skilled in the art, and therefore just repeats no more.
The above, it only is preferred embodiment of the present invention, be not to be used for limiting scope of the invention process, all equalizations of doing according to the described shape of claim of the present invention, structure, feature and spirit change and modify, and all should be contained in the scope of claim of the present invention.
Claims (14)
1. method for controlling network flow, its step comprises:
Receiving one divides into groups in a formation;
Relatively whether one first count value meets a first threshold scope; And
Relatively whether one second count value meets one second threshold range;
Wherein, when this first count value meets this first threshold scope and this second count value and meets this second threshold range, transmit this grouping of this formation, and add one first covering and be worth in this first count value and add one second covering and be worth in this second count value.
2. the method for claim 1 also comprises:
According to one first frequency and one first number this first count value of successively decreasing of successively decreasing of successively decreasing; And
According to one second frequency and one second number this second count value of successively decreasing of successively decreasing of successively decreasing.
3. method as claimed in claim 2, wherein in the step of this first count value of successively decreasing, when this first count value met one the 3rd threshold range, this first count value then stopped to successively decrease.
4. method as claimed in claim 2, wherein in the step of this second count value of successively decreasing, when this second count value met this second threshold range, this second count value then stopped to successively decrease.
5. the method for claim 1 wherein is worth in this first count value and adds this second covering and be worth in the step of this second count value in adding this first covering, and this first covering value is that the size according to this grouping by this formation determines.
6. the method for claim 1 wherein is worth in this first count value and adds this second covering and be worth in the step of this second count value in adding this first covering, and this second covering value is that the size according to this grouping by this formation determines.
7. network traffics control device, it comprises:
One formation receives a grouping;
One first counting unit produces one first count value;
One second counting unit produces one second count value; And
One control logic, couple this formation, this first counting unit and this second counting unit, and when this first count value meets a first threshold scope and this second count value and meets one second threshold range, transmission one drives signal to this formation, transmit this grouping to order about this formation, and transmit a covering signal to this first counting unit and this second counting unit, add one first covering and be worth in this first count value and order about this second counting unit and add one second covering and be worth in this second count value and order about this first counting unit.
8. device as claimed in claim 7, wherein this first counting unit is according to one first frequency and one first number this first count value of successively decreasing of successively decreasing of successively decreasing, and this second counting unit foundation one second frequency and one second number this second count value of successively decreasing of successively decreasing of successively decreasing.
9. device as claimed in claim 7 also comprises:
One frequency cells, couple this first counting unit and this second counting unit, produce a first frequency signal and a second frequency signal respectively, wherein this first counting unit is according to this first frequency signal and one first number of successively decreasing, this first count value of successively decreasing, this second counting unit is according to this second frequency signal and one second number this second count value of successively decreasing of successively decreasing.
10. device as claimed in claim 9, wherein this first counting unit is when this first count value meets one the 3rd threshold range, and this first count value then stops to successively decrease.
11. device as claimed in claim 10, wherein this first threshold is that a sudden and violent momentum adds the 3rd threshold value.
12. device as claimed in claim 9, wherein this second counting unit is when this second count value meets this second threshold range, and this second count value then stops to successively decrease.
13. device as claimed in claim 7, wherein this first covering value is the size decision according to this grouping of passing through this formation.
14. device as claimed in claim 7, wherein this second covering value is the size decision according to this grouping of passing through this formation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810083148A CN101527672A (en) | 2008-03-07 | 2008-03-07 | Device and method for controlling network traffic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810083148A CN101527672A (en) | 2008-03-07 | 2008-03-07 | Device and method for controlling network traffic |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101527672A true CN101527672A (en) | 2009-09-09 |
Family
ID=41095376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810083148A Pending CN101527672A (en) | 2008-03-07 | 2008-03-07 | Device and method for controlling network traffic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101527672A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618682A (en) * | 2013-10-16 | 2014-03-05 | 杭州电子科技大学 | Low power frequency modulation method based on traffic |
CN104270526A (en) * | 2014-09-29 | 2015-01-07 | 广东欧珀移动通信有限公司 | Data traffic control method and system for mobile terminal |
-
2008
- 2008-03-07 CN CN200810083148A patent/CN101527672A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618682A (en) * | 2013-10-16 | 2014-03-05 | 杭州电子科技大学 | Low power frequency modulation method based on traffic |
CN103618682B (en) * | 2013-10-16 | 2017-06-06 | 杭州电子科技大学 | A kind of low power consumption frequency modulation based on flow |
CN104270526A (en) * | 2014-09-29 | 2015-01-07 | 广东欧珀移动通信有限公司 | Data traffic control method and system for mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7023799B2 (en) | Leaky bucket type traffic shaper and bandwidth controller | |
US7414973B2 (en) | Communication traffic management systems and methods | |
CN100502315C (en) | Business flow monitoring method and system | |
CN103999414B (en) | A kind of method and apparatus of attribution for the congestion contribution of the shared resource of relative users register | |
CN107438031A (en) | The audio/video flow transfer control method and system of multichannel network bandwidth adaptive | |
CN100384156C (en) | Method for multiplexing residual bandwidth and network equipment | |
CN103391253B (en) | The control method of network congestion, apparatus and system | |
CN101692648A (en) | Method and system for queue scheduling | |
CN101789880A (en) | Method for realizing uplink QoS (Quality of Service) based on IP access network and multi-service access gateway | |
WO2008104100A1 (en) | An apparatus and a method for realizing flow control based on rate restrict for mstp device | |
US20080192633A1 (en) | Apparatus and method for controlling data flow in communication system | |
CN101527672A (en) | Device and method for controlling network traffic | |
US20120051218A1 (en) | Adaptive method and system of regulation of yellow traffic in a network | |
WO2015136098A2 (en) | Flow control on wireline network | |
US7672242B2 (en) | Traffic management device and method thereof | |
Guillemin et al. | On characterizing an ATM source via the sustainable cell rate traffic descriptor | |
CN106656866A (en) | Software defined optical access network-based method and system for time-based bandwidth customization | |
CN114745333B (en) | IMS system self-adaptive flow control method | |
CN105357083A (en) | Gateway flow adjusting method and system based on uncertain bandwidth detection | |
WO2009003329A1 (en) | Method for performing building link with non-normal low speed on a single pair high speed digital subscriber line | |
US7433303B2 (en) | Preemptive network traffic control for regional and wide area networks | |
CN104936218A (en) | User end equipment and power saving method thereof | |
CN101442453B (en) | Method and system for testing random early detection function | |
CN107888508A (en) | A kind of anti-interference weak projectivity procotol of digital control system and its AUT based on PC NC | |
KR101049289B1 (en) | Transmission speed control device and method in asynchronous transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090909 |