CN104836743B - A kind of jamming control method and device - Google Patents
A kind of jamming control method and device Download PDFInfo
- Publication number
- CN104836743B CN104836743B CN201510271488.6A CN201510271488A CN104836743B CN 104836743 B CN104836743 B CN 104836743B CN 201510271488 A CN201510271488 A CN 201510271488A CN 104836743 B CN104836743 B CN 104836743B
- Authority
- CN
- China
- Prior art keywords
- message
- congestion
- exit port
- port queue
- point device
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/11—Identifying congestion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of jamming control method of present invention offer and device, the method includes:Whether the exit port queue that detection enables quantization congestion notification there is congestion;When congestion occurs in exit port queue, judge whether the first message in port queue carries the hot tag that label current business is urgency traffic;When the first message carries hot tag, increase the forwarding quantity to the first message.The present invention can realize fast-forwarding of the congestion point device to the corresponding message of urgency traffic of data stream terminal.
Description
Technical field
The present invention relates to network communication technology field more particularly to a kind of jamming control methods and device.
Background technology
Quantization congestion notification (Quantized Congestion Notification, QCN) is a set of to be applied to two layers
Congestion notification mechanism end to end reduces the packet loss in network and delay, to improve internetworking by active counter-notification
Energy.
But the function of QCN is only reduction of reaction point (Reaction Point, RP) to the corresponding report of certain business
The transmission rate of text, RP is exactly the source (i.e. data flow terminal) for referring to data flow in QCN, and the message for not promoting RP transmissions exists
Forwarding rate in congestion point device (Congestion Point, CP), thus can only be directed to some priority it is low, to send
Not high service traffics of rate requirement, but for those provisional urgency traffic flows, for example, it is interim urgent for some
Property installation procedure download, then be unable to reach the effect of fast-forwarding.
Invention content
In view of this, a kind of jamming control method of present invention offer and device, to realize that congestion point device is whole to data stream
The fast-forwarding of the corresponding message of urgency traffic at end.
According to a first aspect of the embodiments of the present invention, a kind of jamming control method is provided, the method is set for congestion point
It is standby, including:
Whether the exit port queue that detection enables quantization congestion notification there is congestion;
When congestion occurs in the exit port queue, judge whether the first message in the exit port queue carries label
Current business is the hot tag of urgency traffic;
When first message carries the hot tag, increase the forwarding quantity to first message.
According to a second aspect of the embodiments of the present invention, a kind of jamming control method is provided, the method is whole for data flow
End, including:
First message is sent to opposite end data flow terminal after congestion point device transfer, is carried in first message
It is the hot tag of urgency traffic to mark current business;
Judge whether to receive the congestion notification message that the congestion point device returns, the congestion notification message is described
There is congestion in the exit port queue that enables quantization congestion notification of the congestion point device where detecting first message, and
The current scheduling weighted value of the exit port queue passes back to the data flow terminal when having been increased to maximum preset threshold value
Message;
When receiving the congestion notification message, the current transmission rate of the second message is reduced, so that the congestion point
Equipment increases the forwarding quantity to first message, wherein the priority of second message is excellent less than first message
First grade.
According to a third aspect of the embodiments of the present invention, a kind of congestion control device is provided, described device is set for congestion point
It is standby, including:
Detection unit, for detecting whether the exit port queue for enabling quantization congestion notification congestion occurs;
Judging unit, for when congestion occurs in the exit port queue, judging the first report in the exit port queue
Whether text carries the hot tag that label current business is urgency traffic;
First execution unit, for when first message carries the hot tag, increasing to first message
Forwarding quantity.
According to a fourth aspect of the embodiments of the present invention, a kind of congestion control device is provided, described device is set for congestion point
It is standby, including:
Transmission unit, it is described for the first message to be sent to opposite end data flow terminal after congestion point device transfer
The hot tag that label current business is urgency traffic is carried in first message;
Judging unit, the congestion notification message for judging whether to receive the congestion point device passback, the congestion
Notice message is the exit port that enables quantization congestion notification of the congestion point device where detecting first message
There is congestion in queue, and when current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value passes back to institute
State the message of data flow terminal;
First execution unit, the transmission speed current for when receiving the congestion notification message, reducing the second message
Rate, so that the congestion point device increases the forwarding quantity to first message, wherein the priority of second message is low
In the priority of first message.
In the embodiment of the present invention, the detection of congestion point device enables the congestion feelings of the exit port queue of quantization congestion notification
Condition, when congestion occurs in the exit port queue, and the first message in the exit port queue carries hot tag, described urgent
It is urgency traffic that label, which marks current business, and congestion point device increases the forwarding quantity to first message at this time, to real
Fast-forwarding of the existing congestion point device to the message corresponding to data stream Terminal Emergency business.
Description of the drawings
Fig. 1 is the application scenarios schematic diagram that congestion control is realized using the embodiment of the present invention;
Fig. 2 is one embodiment flow chart of jamming control method of the present invention;
Fig. 3 is the form schematic diagram of QCN data messages;
Another embodiment flow chart of Fig. 4 jamming control methods of the present invention;
Fig. 5 is another embodiment flow chart of jamming control method of the present invention;
Fig. 6 is a kind of hardware structure diagram of equipment where congestion control device of the present invention;
Fig. 7 is one embodiment block diagram of congestion control device of the present invention;
Fig. 8 is another embodiment block diagram of congestion control device of the present invention.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, is not intended to limit the invention.
It is also intended to including majority in the present invention and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Referring to Fig. 1, the application scenarios schematic diagram of congestion control is realized for the application embodiment of the present invention:
In Fig. 1, data flow terminal transmitted traffic, including the first message corresponding with urgency traffic, in the first message
Carry the hot tag that label current business is urgency traffic;The detection of congestion point device enables the exit port of quantization congestion notification
The congestion situation of queue judges whether the first message therein carries tightly when detecting that congestion occurs in the exit port queue
Anxious label, the hot tag are urgency traffic for identifying current business, when the first message carries the hot tag, are gathered around
Plug point device dynamic adjusts the current scheduling weighted value of the exit port queue, to realize congestion point device to data stream terminal
The fast-forwarding of message corresponding to urgency traffic.When the current scheduling weighted value of exit port queue has had reached maximum preset
It is fast by returning the transmission that congestion notification message makes the second message of data flow terminal reduction low priority current when threshold value
Rate is equivalent to the bandwidth that exit port queue is increased in congestion point equipment end so that congestion point device is increased to the first message
Forwarding quantity, can equally realize fast-forwarding of the congestion point device to the message corresponding to data stream Terminal Emergency business.
Be one embodiment flow chart of jamming control method of the present invention referring to Fig. 2, the embodiment from congestion point device into
It goes and describes, the premise of congestion control is carried out in the present embodiment is, congestion point device and data stream terminal belong to and lead to congestion
Know in domain, and congestion point device is configured with the detection of congestion notification domain to certain priority, and to enabling quantization congestion notification
Exit port queue uses WRR or WFQ hardware queue scheduling modes.The jamming control method includes the following steps:
Step 201:Whether the exit port queue that detection enables quantization congestion notification there is congestion.
In the present embodiment, the exit port team that existing way detection enables quantization congestion notification may be used in congestion point device
Whether row there is congestion, such as congestion point device detects congestion situation by calculating the value of Fb.As Fb >=0, illustrate queue
There is no congestion;Work as Fb<When 0, illustrate queue congestion.Detailed process is identical as existing way, and details are not described herein.
Step 202:When congestion occurs in the exit port queue, judge whether is the first message in the exit port queue
Carry the hot tag that label current business is urgency traffic.If first message carries the hot tag, execute
Step 203, it is otherwise handled according to existing jamming control method.
In the present embodiment, whether congestion point device is carried by the first message in judging to occur the exit port queue of congestion
Hot tag, to judge whether first message is message corresponding with urgency traffic.
In existing congestion control procedure, quantization congestion notification can be interacted between data flow terminal and congestion point device
(QCN) message, QCN message formats are as shown in Figure 3.Wherein, data flow terminal, can be in transmission in order to distinguish different data flows
Congestion notification label (CN-TAG) is added in QCN messages, to identify different congestion control stream.Optionally, in the present embodiment
Hot tag can be multiplexed the congestion notification label.By arranging simultaneously in data flow terminal and congestion point equipment end in advance
Certain specific fields in CN-TAG are specific character, are urgency traffic to identify current business.For example, can be in advance in data
Stream terminal and congestion point equipment end arrange to indicate that current business is urgency traffic when the RPID fields of CN-TAG are full F simultaneously.
In order to avoid frequently improving the current scheduling weighted value of exit port queue, the drop of congestion point device treatment effeciency is caused
Low, the present embodiment optionally, in congestion point device detects that congestion occur in continuous first preset times of the exit port queue
When, it can just execute step 203.
Step 203:Increase the forwarding quantity to the first message.
Wherein, step 203 is specifically included and (is not shown in Fig. 2):
Judge whether the current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value, works as when described
When preceding dispatch weight value is not increased to maximum preset threshold value, step 203-1 is executed, it is no to then follow the steps 203-2.
The present embodiment is gone out mainly for the queue scheduling mode for being related to queue scheduling weighted value using WRR or WFQ etc.
Port queue, wherein the dispatch weight value of the exit port queue has been pre-configured with completion, range is optionally 1-15, maximum
Predetermined threshold value is 15.To the dispatch weight of the forwarding rate and the exit port queue of the first message in the exit port queue
It is worth directly proportional.
Such as the dispatch weight value is the quantity to E-Packet in the unit time, then the queue that dispatch weight value is 15 exists
The number to E-Packet in unit interval is 15.
When congestion point device detects that congestion occurs in exit port queue, if the current scheduling weighted value of exit port queue is small
In 15,203-1 is thened follow the steps;Since dispatch weight value can not possibly infinitely increase, if the current scheduling power of exit port queue
Weight values have had reached maximum preset threshold value, such as have been 15, but current exit port queue still congestion when, then execute
Step 203-2.
Step 203-1:Improve the current scheduling weighted value of the exit port queue.
Optionally, the current scheduling weighted value of exit port queue can be improved a point.Such as before exit port queue
Dispatch weight value is 6, then exit port queue current scheduling weighted value is increased to 7 at this time.
According to dispatch weight value before, then 6 the first messages of congestion point device forwards in the unit interval, work as dispatch weight
When value is increased to 7, accordingly, first message of congestion point device forwards 7 in the unit interval.
After the current scheduling weighted value of exit port queue improves, the urgent industry that CP equipment sends RP is just directly enhanced
It is engaged in the forwarding quantity of corresponding message, realizes the purpose of the present invention.
Step 203-2:Passback carries the congestion notification message of the hot tag to the data of transmission first message
Flow terminal.
In the present embodiment, when the exit port queue of only congestion point device enables quantization congestion notification, the congestion point
Equipment just can send congestion notification message to transmission first message when detecting that congestion occurs in the exit port queue
Data flow terminal.
It is provided with marker bit in the congestion notification message of passback, can not be further continued for improving for identifying congestion point device
The current scheduling weighted value of exit port queue.In the present embodiment, can by increasing the marker bit in congestion notification message, or
Person in congestion point device and data stream terminal both ends by arranging simultaneously by a few settings in existing congestion notification message
For particular value, the current scheduling weighted value to identify port queue has been increased to maximum preset threshold value.
After data flow terminal receives the congestion notification message, the second report of low priority is reduced according to marker bit therein
The transmission rate of text.From the point of view of congestion point equipment end, after the transmission rate of the second message reduces, it is equivalent to and improves the first report
The bandwidth of the exit port queue where literary, the forwarding quantity of the first message of congestion point device pair increase, equally realize and gather around
Fill in fast-forwarding of the point device to the message corresponding to data flow Terminal Emergency business.
After executing the step 203-2, the method can also include (being not shown in Fig. 2):
Step 204:When the congestion point device detects that continuous second preset times of the exit port queue do not occur
When congestion, the current scheduling weighted value of the exit port queue is reverted into pre-assigned dispatch weight value.
It, can working as exit port queue when congestion point device detects that the congestion situation of exit port queue decreases
Preceding dispatch weight value reverts to pre-assigned dispatch weight value.Certainly, if data flow terminal within a preset period of time not yet
The congestion notification message of congestion point device passback is received, then data flow terminal can restore the transmission rate of the second message.
As seen from the above-described embodiment, the detection of congestion point device enables the congestion feelings of the exit port queue of quantization congestion notification
Condition, when congestion occurs in the exit port queue where detecting corresponding first message of urgency traffic, dynamic adjusts exit port team
The current scheduling weighted value of row.If the current scheduling weighted value of exit port queue has had reached maximum preset threshold value, lead to
Cross the transmission rate that passback congestion notification message makes the second message of data flow terminal reduction low priority current so that congestion
Point device increases the forwarding quantity to first message, realizes congestion point device to corresponding to data stream Terminal Emergency business
Message fast-forwarding.
It is another embodiment flow chart of jamming control method of the present invention referring to Fig. 4, the embodiment is from data flow terminal
Side is described, and includes the following steps:
Step 401:First message is sent to opposite end data flow terminal, first report after congestion point device transfer
The hot tag that label current business is urgency traffic is carried in text.
Data flow terminal sends flow Jing Guo congestion point device transfer to distant terminal, which includes with urgency traffic
Corresponding first message.Optionally, the hot tag in the present embodiment can be multiplexed congestion notification label.Data flow terminal is sent
The first message for carrying hot tag, so that congestion point device judges whether that needing to execute the present invention implements according to the hot tag
The congestion control flow that example carried.
Step 402:Judge whether to receive the congestion notification message that the congestion point device returns, the congestion notification report
Text is that the exit port queue that enables quantization congestion notification of the congestion point device where detecting first message goes out
Existing congestion, and when current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value pass back to the data
Flow the message of terminal.
Step 403:When receiving the congestion notification message, the current transmission rate of the second message is reduced, so that institute
Forwarding quantity of the congestion point device increase to first message is stated, wherein the priority of second message is less than described first
The priority of message.
Embodiment illustrated in fig. 4 is consistent with the description of aforementioned embodiment illustrated in fig. 2, differs only in executive agent difference,
Details are not described herein.
As seen from the above-described embodiment, data flow terminal can send the first message, and the current industry of label can be carried in the first message
Business is the hot tag of urgency traffic.Congestion point device detects whether all exit port queues for enabling quantization congestion notification go out
Existing congestion, when congestion occurs in the exit port queue, congestion point device judges whether the first message in port queue is taken
Band hot tag, the hot tag are urgency traffic for indicating current business.If it is judged that first message carries
The hot tag, then congestion point device can improve the current scheduling weighted value of the exit port queue, exit port queue is worked as
After preceding dispatch weight value improves, congestion point device will accelerate the forwarding speed to the first message in exit port queue, to
The message fast-forwarding of the urgency traffic sent to data flow terminal is realized in congestion point equipment end.
Optionally, if current scheduling weighted value is increased to maximum preset threshold value by congestion point device, congestion at this time
Point device end can return the data flow terminal for carrying the congestion notification message of hot tag to the first message of transmission so that data flow
Terminal reduces the priority transmission rate current less than the second message of the first message, is corresponded again at this time in congestion point device
End increases the forwarding quantity of the first message, realizes the message for the urgency traffic that congestion point equipment end sends data flow terminal
Carry out the effect of fast-forwarding.
It is another embodiment flow chart of jamming control method of the present invention referring to Fig. 5, which passes through data flow end
Interaction between end and congestion point device, is described in detail the congestion control procedure of the embodiment of the present invention.It is carried out in the present embodiment
The premise of congestion control is that congestion point device and data stream terminal belong in same congestion notification domain, and congestion point device pair
Certain priority are configured with the detection of congestion notification domain, and use WRR or WFQ to the exit port queue for enabling quantization congestion notification
Hardware queue scheduling mode.Jamming control method includes:
Step 501:Data flow terminal sends corresponding with business message, can be carried in message mark current business whether be
The hot tag of urgency traffic.
Wherein optionally, which is multiplexed congestion notification label.
In embodiments of the present invention, it if current business is urgency traffic, such as needs to carry out installation procedure download etc., number
It is urgency traffic that label current business will be carried in the first message corresponding with the current business sent according to stream terminal
Congestion notification label.
It is alternatively possible to arrange the RPID words of congestion notification label simultaneously in data flow terminal and congestion point equipment end in advance
Indicate that current business is urgency traffic when Duan Weiquan F, otherwise RPID fields are other values.
Step 502:Congestion point device detects all enabling according to congestion notification configuration of territory and quantifies going out for congestion notification
If port queue judges whether the first message in port queue is taken detect that congestion occurs in the exit port queue
With the hot tag.
The detection of congestion point device, which enables quantization congestion notification queue and congestion whether occurs, may be used the inspection of existing congestion
Method of determining and calculating, judges whether the value of Fb is less than 0.When the value of the Fb of exit port queue is less than 0, need further to judge exit port team
Whether the first message in row carries the hot tag, the congestion that can be carried at this time by detecting message in port queue
Whether the RPID fields of notified tag are full F to judge.If the RPID fields of the first message are non-full F, enter step
503, otherwise enter step 505.
Step 503:Congestion point device returns congestion notification message to the data flow terminal for sending first message so that
The data flow terminal carries out Limit Rate transmission rate.
In the present embodiment, when the exit port queue of only congestion point device enables quantization congestion notification, the congestion point
Equipment just can send congestion notification message to transmission first message when detecting that congestion occurs in the exit port queue
Data flow terminal.
Congestion notification label is equally carried in the congestion notification message of congestion point device passback, so that data flow terminal exists
It is specifically that congestion has occurred in which item stream according to RPID fields therein parsing, so as to gathering around after receiving congestion notification message
The flow of plug carries out speed limit, subsequently into step 504.
Step 504:Data flow terminal does not receive the congestion notification message of congestion point device passback again within a preset period of time,
Then data flow terminal can improve the transmission rate for the message that RPID fields are non-full F, that is, improve the traffic messages being lowered before
Transmission rate transmission rate, it is alternatively possible to be restored to the rate before being lowered.
Data flow terminal within a preset period of time if do not receive the congestion notification message of congestion point device passback, explanation again
Congestion point device does not detect that congestion occurs in the message queue that the data flow terminal is sent again, therefore, will can before be lowered
The transmission rate transmission rates of traffic messages be restored to the rate before being lowered.
Step 505:Congestion point device improves the current scheduling weighted value of exit port queue.
In embodiments of the present invention, in order to avoid frequently changing the drop that dispatch weight value causes congestion point device treatment effeciency
Low, optionally, step 505 can be specially further:
When congestion point device detects that congestion occurs in exit port queue in the first preset times, congestion point device carries
It is higher by the current scheduling weighted value of port queue.
In embodiments of the present invention, mainly for the queue scheduling for relating to queue scheduling weighted value using WRR or WFQ etc.
The exit port queue of mode, wherein the dispatch weight value of the exit port queue has been pre-configured with completion, range is optionally
1-15.To the forwarding rate of the first message in the exit port queue and the dispatch weight value of the exit port queue at just
Than.Such as the dispatch weight value is the quantity to E-Packet in the unit time, then the queue that dispatch weight value is 15 is in unit
The number to E-Packet in time is 15.
If continuous first preset times of congestion point device, such as 3 times, (user can configure detection time according to actual demand
Number) all detect that the Fb of exit port queue is less than 0, that is, there is queue congestion, then by the current scheduling weighted value of exit port queue
Improve a point.Such as the dispatch weight value before exit port queue is 6, then at this time by exit port queue current scheduling weighted value
7 are increased to, queue current scheduling weighted value is not otherwise changed, then waits for and detecting next time.
After the current scheduling weighted value of exit port queue improves, congestion point device is just directly enhanced to data stream terminal
The forwarding rate of the corresponding message of urgency traffic of transmission, realizes the purpose of the present invention.
Since dispatch weight value can not possibly infinitely increase, if the current scheduling weighted value of exit port queue has reached
Maximum preset threshold value, but current exit port queue still congestion when, then enter step 506.
Step 506:Data of the congestion notification message that congestion point device passback RPID fields are full F to the first message of transmission
Flow terminal so that data flow terminal reduces the priority transmission rate current less than the second message of the first message.
Wherein, the current scheduling carried in the congestion notification message of congestion point device passback for marking port queue is weighed
Weight values have been increased to the marker bit of maximum preset threshold value.It in embodiments of the present invention, can be by congestion notification message
Increase the marker bit, or by arranging simultaneously by existing congestion notification message in congestion point device and data stream terminal both ends
In a few positions be set as particular value, the current scheduling weighted value to identify port queue has been increased to maximum preset threshold
Value.
When carrying the marker bit in the congestion notification message of congestion point device passback, data flow terminal just learns congestion point
Equipment can not adjust the current scheduling weighted value of exit port queue again.At this point it is possible to first be reduced preferentially in data flow terminal
Transmission rate of the grade less than the second message of the first message.For example, current first message carries the data information of installation procedure,
Data flow terminal also sends lower second message of priority simultaneously at this time, and the second message carries the data information of browser.
The current transmission rate of the second message can be first reduced at this time, be at this moment equivalent to the number that the first message is increased in congestion point device
The effect of the message progress fast-forwarding for the urgency traffic that congestion point device sends data stream terminal equally may be implemented in amount.
Specifically, QntzFb values in the congestion notification message that can be returned according to congestion point device by data flow terminal come
Determine the transmission rate value of the second message after reducing.
When congestion point device detects that the Congestion Level SPCC of the exit port queue declines in the second preset times, then
Enter step 507.
Step 507:Congestion point device stops passback congestion notification message, reduces the current scheduling power of the exit port queue
Weight values.
Optionally, the second preset times are 3 times, continuous 3 times Fb values for detecting the exit port queue of congestion point device
When more than or equal to 0, i.e., exit port queue congestion degree declines, and congestion point device stops passback congestion notification message, reduces simultaneously
The current scheduling weighted value of the exit port queue continues waiting for detecting next time, until return to again have congestion occur or
The current scheduling weighted value of the exit port queue is adjusted back until initial Configuration Values.
When congestion point device stops passback congestion notification message, 504 are returned to step, data flow terminal is at this time by before
The current transmission rate of the second message being lowered is restored to before being lowered by the transmission rate for the traffic messages being lowered
Rate.
In addition, when congestion point device can't detect the corresponding message of urgency traffic or congestion point device detects all queues
When without congestion, 508 are entered step.
Step 508:The dispatch weight value that congestion point device adjusts back current exit port queue is initial Configuration Values.
In the above jamming control method provided in an embodiment of the present invention, data flow terminal identifies current industry by sending to carry
Business whether be urgency traffic congestion notification label message so that congestion point device is detecting the corresponding message of urgency traffic
When congestion occurs in the exit port queue for enabling quantization congestion notification at place, the current scheduling weight of the queue is dynamically adjusted
Value, to realize the message fast-forwarding of the urgency traffic sent to data flow terminal.When congestion point device can not adjust scheduling again
When weighted value, data flow terminal is made to reduce the rate of low priority message by returning congestion notification message, it equally can be real
The message for the urgency traffic that existing congestion point equipment end sends data flow terminal carries out the effect of fast-forwarding.
Corresponding with aforementioned jamming control method embodiment, the present invention also provides the embodiments of congestion control device.
The embodiment of congestion control device of the present invention can be applied respectively on congestion point device and data stream terminal.Device
Embodiment can also be realized by software realization by way of hardware or software and hardware combining.For implemented in software,
It is by the processor of equipment where it by corresponding calculating in nonvolatile memory as the device on a logical meaning
Machine program instruction reads what operation in memory was formed.For hardware view, as shown in fig. 6, being filled for congestion control of the present invention
A kind of hardware structure diagram of equipment where setting, in addition to processor shown in fig. 6, network interface, memory and non-volatile memories
Except device, the equipment in embodiment where device can also include usually other hardware, such as be responsible for the forwarding chip of processing message
Etc.;The equipment is also possible to be distributed equipment from hardware configuration, may include multiple interface cards, so as in hardware
Level carries out the extension of Message processing.
It is one embodiment block diagram of congestion control device of the present invention referring to Fig. 7, described device is applied gathers around for detecting
On the congestion point device for filling in situation, described device includes detection unit 710, judging unit 720 and the first execution unit 730.
Wherein:Detection unit 710, for detecting whether the exit port queue for enabling quantization congestion notification congestion occurs;
Judging unit 720, for when congestion occurs in the exit port queue, judging first in the exit port queue
Whether message carries the hot tag that label current business is urgency traffic;
First execution unit 730, for when first message carries the hot tag, increasing to first report
The forwarding quantity of text.
In an optional realization method:
First execution unit 730 includes:
Judgment sub-unit, for judging it is maximum pre- whether the current scheduling weighted value of the exit port queue has been increased to
If threshold value;
First executes subelement, for when the current scheduling weighted value is not increased to maximum preset threshold value, improving institute
State the current scheduling weighted value of exit port queue;
Second executes subelement, for when the current scheduling weighted value has been increased to maximum preset threshold value, returning
The congestion notification message of the hot tag is carried to the data flow terminal of transmission first message so that the terminal reduces
The current transmission rate of second message, so that the congestion point device increases the forwarding quantity to first message, wherein institute
The priority for stating the second message is less than the priority of first message.
In an optional realization method:
Described first, which executes subelement, includes:
Execution module detects that continuous first preset times of the exit port queue go out for working as the congestion point device
When existing congestion, the current scheduling weighted value of the exit port queue is improved.
In an optional realization method:
Described device further includes (being not shown in Fig. 7):Second execution unit detects institute for working as the congestion point device
When stating continuous second preset times of exit port queue and not occurring congestion, by the current scheduling weight of the exit port queue
Value reverts to pre-assigned dispatch weight value.
It is another embodiment block diagram of congestion control device of the present invention referring to Fig. 8, described device is applied for data
It flows in terminal, described device includes:Transmission unit 810, judging unit 820 and the first execution unit 830.
Wherein:Transmission unit 810, it is whole for the first message to be sent to opposite end data flow after congestion point device transfer
It holds, the hot tag that label current business is urgency traffic is carried in first message;
Judging unit 820, the congestion notification message for judging whether to receive the congestion point device passback are described to gather around
Plug notice message is the outlet that enables quantization congestion notification of the congestion point device where detecting first message
There is congestion in mouthful queue, and when current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value passes back to
The message of the data flow terminal;
First execution unit 830, for when receiving the congestion notification message, reducing the current transmission of the second message
Rate, so that the congestion point device increases the forwarding quantity to first message, wherein the priority of second message
Less than the priority of first message.
In an optional realization method:
Described device further includes (being not shown in Fig. 8):Second execution unit, for when the data flow terminal is when default
Between when not receiving the congestion notification message again in section, improve the transmission rate of second message.
In another optional realization method:
Being carried in the congestion notification message marks the current scheduling weighted value of the exit port queue to improve
To the marker bit of the maximum preset threshold value;
First execution unit 830 includes:
Subelement is executed, for when receiving the congestion notification message, the second report to be reduced according to the marker bit
The current transmission rate of text, so that the congestion point device increases the forwarding quantity to first message.
The function of each unit and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, data flow terminal carries whether mark current business is gathering around for urgency traffic by sending
Fill in the message of notified tag so that congestion point device enables quantization where detecting corresponding first message of urgency traffic
When congestion occurs in the exit port queue of congestion notification, the current scheduling weighted value of the queue is dynamically adjusted, to realize to data flow
The message fast-forwarding for the urgency traffic that terminal is sent.When congestion point device can not adjust dispatch weight value again, pass through passback
Congestion notification message makes data flow terminal reduce the rate of low priority message, and congestion point equipment end logarithm equally may be implemented
The message of the urgency traffic sent according to stream terminal carries out the effect of fast-forwarding.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and includes undocumented common knowledge in the art of the invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (12)
1. a kind of jamming control method, the method is used for congestion point device, which is characterized in that the method includes:
Whether the exit port queue that detection enables quantization congestion notification there is congestion;
When congestion occurs in the exit port queue, it is current to judge whether the first message in the exit port queue carries label
Business is the hot tag of urgency traffic;
When first message carries the hot tag, increase the forwarding quantity to first message;
The increase includes to the forwarding quantity of first message:
Judge whether the current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value;
When the current scheduling weighted value is not increased to maximum preset threshold value, the current tune of the exit port queue is improved
Spend weighted value;
When the current scheduling weighted value has been increased to maximum preset threshold value, the congestion that passback carries the hot tag is logical
Know message to the data flow terminal for sending first message so that the data flow terminal reduces the current transmission of the second message
Rate, so that the congestion point device increases the forwarding quantity to first message, wherein the priority of second message
Less than the priority of first message.
2. the method as described in claim 1, which is characterized in that the current scheduling power for improving the exit port queue
Weight values are specially:
When the congestion point device detects that continuous first preset times of the exit port queue congestion occur, described in raising
The current scheduling weighted value of exit port queue.
3. the method as described in claim 1, which is characterized in that the passback carries the congestion notification message of the hot tag
To after the data flow terminal for sending first message, the method further includes:
It, will be described when the congestion point device detects that continuous second preset times of the exit port queue congestion do not occur
The current scheduling weighted value of exit port queue reverts to pre-assigned dispatch weight value.
4. a kind of jamming control method, the method is used for data flow terminal, which is characterized in that the method includes:
First message is sent to opposite end data flow terminal after congestion point device transfer, label is carried in first message
Current business is the hot tag of urgency traffic;
Judge whether to receive the congestion notification message that the congestion point device returns, the congestion notification message is the congestion
There is congestion in the exit port queue that enables quantization congestion notification of the point device where detecting first message, and described
The current scheduling weighted value of exit port queue passes back to the message of the data flow terminal when having been increased to maximum preset threshold value;
When receiving the congestion notification message, the current transmission rate of the second message is reduced, so that the congestion point device
Increase the forwarding quantity to first message, wherein the priority of second message is preferential less than first message
Grade.
5. method as claimed in claim 4, which is characterized in that after reducing the current transmission rate of the second message, the side
Method further includes:
When the data flow terminal does not receive the congestion notification message again within a preset period of time, second message is improved
The transmission rate.
6. method as described in claim 4 or 5, which is characterized in that carried in the congestion notification message and mark the outlet
The current scheduling weighted value of mouth queue has been increased to the marker bit of the maximum preset threshold value;
It is described when receiving the congestion notification message, the current transmission rate of the second message is reduced, so that the congestion point
Equipment increases:
When receiving the congestion notification message, the current transmission rate of the second message is reduced according to the marker bit, with
The congestion point device is set to increase the forwarding quantity to first message.
7. a kind of congestion control device, described device is used for congestion point device, which is characterized in that described device includes:
Detection unit, for detecting whether the exit port queue for enabling quantization congestion notification congestion occurs;
Judging unit, for when congestion occurs in the exit port queue, judging that the first message in the exit port queue is
It is no to carry the hot tag that label current business is urgency traffic;
First execution unit, for when first message carries the hot tag, increase to turn first message
Send out quantity;First execution unit includes:
Judgment sub-unit, for judging whether the current scheduling weighted value of the exit port queue has been increased to maximum preset threshold
Value;
First executes subelement, for when the current scheduling weighted value is not increased to maximum preset threshold value, going out described in raising
The current scheduling weighted value of port queue;
Second executes subelement, for when the current scheduling weighted value has been increased to maximum preset threshold value, passback to carry
Data flow terminal of the congestion notification message of the hot tag to transmission first message so that the data flow terminal drop
The current transmission rate of low second message, so that the congestion point device increases the forwarding quantity to first message, wherein
The priority of second message is less than the priority of first message.
8. device as claimed in claim 7, which is characterized in that described first, which executes subelement, includes:
Execution module detects that continuous first preset times of the exit port queue are gathered around for working as the congestion point device
When plug, the current scheduling weighted value of the exit port queue is improved.
9. device as claimed in claim 7, which is characterized in that described device further includes:
Second execution unit detects continuous second preset times of the exit port queue not for working as the congestion point device
When there is congestion, the current scheduling weighted value of the exit port queue is reverted into pre-assigned dispatch weight value.
10. a kind of congestion control device, described device is used for data flow terminal, which is characterized in that described device includes:
Transmission unit, for the first message to be sent to opposite end data flow terminal after congestion point device transfer, described first
The hot tag that label current business is urgency traffic is carried in message;
Judging unit, the congestion notification message for judging whether to receive the congestion point device passback, the congestion notification
Message is the exit port queue that enables quantization congestion notification of the congestion point device where detecting first message
There is congestion, and when current scheduling weighted value of the exit port queue has been increased to maximum preset threshold value passes back to the number
According to the message of stream terminal;
First execution unit, for when receiving the congestion notification message, reducing the current transmission rate of the second message, with
The congestion point device is set to increase the forwarding quantity to first message, wherein the priority of second message is less than described
The priority of first message.
11. device as claimed in claim 10, which is characterized in that described device further includes:
Second execution unit does not receive the congestion notification message again within a preset period of time for working as the data flow terminal
When, improve the transmission rate of second message.
12. the device as described in claim 10 or 11, which is characterized in that carry to go out described in label in the congestion notification message
The current scheduling weighted value of port queue has been increased to the marker bit of the maximum preset threshold value;
First execution unit includes:
Subelement is executed, for when receiving the congestion notification message, working as to reduce the second message according to the marker bit
Preceding transmission rate, so that the congestion point device increases the forwarding quantity to first message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510271488.6A CN104836743B (en) | 2015-05-25 | 2015-05-25 | A kind of jamming control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510271488.6A CN104836743B (en) | 2015-05-25 | 2015-05-25 | A kind of jamming control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104836743A CN104836743A (en) | 2015-08-12 |
CN104836743B true CN104836743B (en) | 2018-09-04 |
Family
ID=53814388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510271488.6A Active CN104836743B (en) | 2015-05-25 | 2015-05-25 | A kind of jamming control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104836743B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017117711A1 (en) * | 2016-01-05 | 2017-07-13 | 富士通株式会社 | Information transmission method, apparatus and system |
CN107025230B (en) * | 2016-01-29 | 2020-12-29 | 北京国双科技有限公司 | Processing method and device for web crawler |
CN108432194B (en) * | 2016-04-28 | 2022-02-25 | 华为技术有限公司 | Congestion processing method, host and system |
CN105915464B (en) * | 2016-06-21 | 2018-09-25 | 中南大学 | A kind of quick and easy quantization congestion notification method |
CN106130927B (en) * | 2016-08-31 | 2019-12-17 | 哈尔滨理工大学 | Network congestion control method based on discretization model |
WO2021012902A1 (en) * | 2019-07-24 | 2021-01-28 | 华为技术有限公司 | Method for processing network congestion, and related apparatus |
CN115277561B (en) * | 2022-05-16 | 2023-12-15 | 国网福建省电力有限公司超高压分公司 | Transmission queue control method and terminal based on time sensitivity |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146050A (en) * | 2007-11-06 | 2008-03-19 | 杭州华三通信技术有限公司 | Frame relaying packet transmission method and device |
CN102025617A (en) * | 2010-11-26 | 2011-04-20 | 中兴通讯股份有限公司 | Method and device for controlling congestion of Ethernet |
CN102244604A (en) * | 2010-05-11 | 2011-11-16 | 华为终端有限公司 | Quality of service control method for home gateway, home gateway and system |
CN103997465A (en) * | 2014-05-27 | 2014-08-20 | 华为技术有限公司 | Method and device for generating CNM |
WO2014141005A1 (en) * | 2013-03-15 | 2014-09-18 | International Business Machines Corporation | Bypassing congestion points in a network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9954781B2 (en) * | 2013-03-15 | 2018-04-24 | International Business Machines Corporation | Adaptive setting of the quantized congestion notification equilibrium setpoint in converged enhanced Ethernet networks |
-
2015
- 2015-05-25 CN CN201510271488.6A patent/CN104836743B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146050A (en) * | 2007-11-06 | 2008-03-19 | 杭州华三通信技术有限公司 | Frame relaying packet transmission method and device |
CN102244604A (en) * | 2010-05-11 | 2011-11-16 | 华为终端有限公司 | Quality of service control method for home gateway, home gateway and system |
CN102025617A (en) * | 2010-11-26 | 2011-04-20 | 中兴通讯股份有限公司 | Method and device for controlling congestion of Ethernet |
WO2014141005A1 (en) * | 2013-03-15 | 2014-09-18 | International Business Machines Corporation | Bypassing congestion points in a network |
CN103997465A (en) * | 2014-05-27 | 2014-08-20 | 华为技术有限公司 | Method and device for generating CNM |
Also Published As
Publication number | Publication date |
---|---|
CN104836743A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104836743B (en) | A kind of jamming control method and device | |
US9185047B2 (en) | Hierarchical profiled scheduling and shaping | |
CN111342941A (en) | Configuration method and equipment of feedback control channel | |
US9350665B2 (en) | Congestion mitigation and avoidance | |
IL269497B2 (en) | Method for transmitting data, terminal device, and network device | |
CN106453126A (en) | Virtual machine traffic control method and device | |
CN101272346B (en) | Method and device for packet flux monitoring | |
CN111147184B (en) | Ethernet transmitting and receiving equipment supporting multi-service preemption and continuous transmission and transmission device | |
CN107135164A (en) | Jamming control method and device | |
CN104052676B (en) | A kind of data processing method of transmission path device and transmission path | |
CN103763213A (en) | Message sending method and device | |
EP2730051B1 (en) | Network congestion control with adaptive qos bit-rate differentiation | |
CN105471763A (en) | Control message transmission method and device | |
EP3560152B1 (en) | Determining the bandwidth of a communication link | |
US20080205287A1 (en) | Apparatus and method for controlling the transfer of communication traffic to multiple links of a multi-link system | |
CN101616096B (en) | Method and device for scheduling queue | |
WO2014031106A1 (en) | Congestion notification in a network | |
CN105939282B (en) | The method of adjustment and device of packet size | |
EP2482501B1 (en) | Pipeline network device and related data transmission method | |
CN110417687A (en) | A kind of message sends and receives method and device | |
CN103560970A (en) | Method for realizing downlink speed limitation of network device with multiple LAN ports | |
CN111194056B (en) | Encapsulation of data packets | |
US20150029857A1 (en) | Per-class scheduling with rate limiting | |
CN106209676A (en) | The data processing method of cloud host computer systems based on many equipment and device | |
CN104426866B (en) | A kind of data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |