CN100544321C - Support bandwidth management method and device that dynamic bandwidth is cut apart - Google Patents

Support bandwidth management method and device that dynamic bandwidth is cut apart Download PDF

Info

Publication number
CN100544321C
CN100544321C CNB2006101267693A CN200610126769A CN100544321C CN 100544321 C CN100544321 C CN 100544321C CN B2006101267693 A CNB2006101267693 A CN B2006101267693A CN 200610126769 A CN200610126769 A CN 200610126769A CN 100544321 C CN100544321 C CN 100544321C
Authority
CN
China
Prior art keywords
traffic identifier
message
calculated value
exist
corresponding relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2006101267693A
Other languages
Chinese (zh)
Other versions
CN1946059A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2006101267693A priority Critical patent/CN100544321C/en
Publication of CN1946059A publication Critical patent/CN1946059A/en
Application granted granted Critical
Publication of CN100544321C publication Critical patent/CN100544321C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of bandwidth management method and device of supporting that dynamic bandwidth is cut apart, it can flow identification automatically on the basis of application or traffic identification, is the suitable bandwidth of each flow distribution on the stream base of recognition.The bandwidth management method that support dynamic bandwidth according to the present invention is cut apart may further comprise the steps: the type of service of the message of the data flow of identification input, this message is sent into the sendaisle corresponding with the type of service that identifies; The traffic identifier of this message of identification in sendaisle; If the traffic identifier of this message is identified, then this message is sent into the transmission subchannel corresponding, thereby scheduling sends this message with the traffic identifier that identifies; If the traffic identifier of this message is not identified, then refusal inserts the data flow of described input.Bandwidth management method that support dynamic bandwidth of the present invention is cut apart and device can be applied to router, and perhaps other has other equipment of route effect, perhaps only has on the equipment of bandwidth management capability.

Description

Support bandwidth management method and device that dynamic bandwidth is cut apart
Technical field
The present invention relates to a kind of bandwidth management method, particularly a kind of bandwidth management method and device of supporting that dynamic bandwidth is cut apart.
Background technology
The major function of Bandwidth Management is to be VoIP (Voice over IP, i.e. voice-over-net), and the business of interactivegaming (being interactive game) or VoD delay sensitives such as (Video-On-Demand, i.e. video request programs) provides guaranteed transmission performance.The most effectual way that guarantees transmission performance is exactly for upper layer application or professionally provides enough bandwidth, and therefore, QoS (service quality assurance) changes a kind of more effective, " Bandwidth Management " more targetedly into from traditional " congestion management ".
The main application scenarios of Bandwidth Management bandwidth contention usually occurs easily in the outgoing interface direction of router as shown in Figure 1, uses or the stream of type of service obtains required bandwidth in order to guarantee to specify, and Bandwidth Management usually is applied to the outgoing interface direction of router.
In the commonly used bandwidth management method of router outgoing interface direction as shown in Figure 2, mainly realize by the queue management technology.Bandwidth Management is by following three parts: flow classifier, transmit queue and queue dispatcher (hereinafter referred scheduler) are formed.
The effect of flow classifier is when message arrives outgoing interface, according to class condition message is assigned in the different formations, and the shared same formation of message that both can a plurality of classes, message that also can each class respectively takies a formation.
Each outgoing interface can have a plurality of message transmit queues, and the message in the individual queue is all being waited for next transmission that is scheduled constantly.The effect of scheduler then is in the scheduling of each chronomere, and decision is dispatched message and dispatched what messages from which formation.If each class takies a formation, scheduler will determine the amount of bandwidth that each class can obtain so.Dispatching algorithm commonly used has strict priority scheduling (Priority Queuing), weighted round robin (Weighted Round Robin Queuing), class-based scheduling multiple dispatching algorithms such as (Class-based Queuing).
Present Bandwidth Management only is identification key and non-critical application, directly carries out traffic classification afterwards.And existing bandwidth management method needs the user, and the network manager accurately disposes upper layer application or the required bandwidth parameter of Business Stream often.Under the many situations of Business Stream number, will bring heavy configuration burden to the keeper.For example, when implementing the network planning, keeper's planning requirement is the voice quality that inserts and guarantee at least 100 tunnel voip conversations simultaneously, and the total bandwidth of planning for the VoIP speech business is 2Mbps (supposing that wherein the required minimum bandwidth of each road VoIP is 20Kbps).Under this Bandwidth Management mode, only clear and definite in advance its service feature of keeper is VoIP, but the stream feature of this 100 tunnel voip conversation can not be described out clearly, be that voip conversation belongs to which IP five-tuple (source IP address, source port number, purpose IP address, destination slogan and protocol number), whether belong to a voip conversation with other VoIP Business Stream.
As seen, bandwidth can not be guaranteed automatically, be distributed accurately, efficiently to existing bandwidth management method.
Summary of the invention
The purpose of this invention is to provide a kind of bandwidth management method and device of supporting that dynamic bandwidth is cut apart, it can flow identification automatically on the basis of application or traffic identification, on the stream base of recognition is the suitable bandwidth of each flow distribution, streamlining management person is the required configuration of carrying out when the network planning, guarantees the accuracy and the high efficiency of allocated bandwidth.
The bandwidth management method that support dynamic bandwidth according to the present invention is cut apart may further comprise the steps: the type of service of the message of the data flow of identification input, this message is sent into the sendaisle corresponding with the type of service that identifies; The traffic identifier of this message of identification in sendaisle; If the traffic identifier of this message is identified, then this message is sent into the transmission subchannel corresponding, thereby scheduling sends this message with the traffic identifier that identifies; If the traffic identifier of this message is not identified, then refusal inserts the data flow of described input.
Preferably, the step of discerning the traffic identifier of this message comprises: use the parameter of this message to calculate calculated value, set up the corresponding relation of calculated value and traffic identifier.
Preferably, set up calculated value and comprise: search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found if exist with calculated value with the step of the corresponding relation of traffic identifier; If do not exist, then carry out one of following steps, be the step that this calculated value distributes a traffic identifier: judge whether the traffic identifier number of having distributed has surpassed maximum and inserted quantity, if do not surpass, then distributes a new traffic identifier according to calculated value for this message; Search whether exist can be by the aging traffic identifier that has distributed, if exist, then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out; Search whether there is the more data flow of low priority, if exist, then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.In addition, under the current situation that does not have a traffic identifier corresponding, also can carry out the combination of above-mentioned steps with calculated value.
Preferably, set up calculated value and comprise: search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found,, then enter next step if do not exist if exist with calculated value with the step of the corresponding relation of traffic identifier; Judge that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then for this message distributes a new traffic identifier, if surpass, then enters next step; Search whether exist can be by the aging traffic identifier that has distributed, if exist, then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then enter next step; Search whether there is the more data flow of low priority, if exist, then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then enter next step.
Preferably, search whether there are one of the traffic identifier that has distributed employing following steps that can be worn out: check in a period of time interval whether have message to need to send on the transmission subchannel of a traffic identifier correspondence, if do not have, this traffic identifier energy quilt wears out; Catch the TCP flag bit that carries in each message TCP (transmission control protocol) head,, judge that then the traffic identifier of the data flow of the message with FIN or RST sign can be by aging if capture FIN sign (end mark) or RST sign (reseting mark).
Preferably, search whether there are the more data flow employing following steps of low priority: check DSCP (differentiated service code point) precedence information or ToS (the IP grade of service) precedence information that each heading is carried.
Preferably, the refusal data flow that inserts described input adopts one of following steps: the message of the data flow of described input is directly abandoned; Inform that by the Internet Control Message Protocol notification message transmitting terminal purpose is unreachable.
Preferably, the parameter of the message of the data flow of described input is following one or more parameters: source IP address, source port number, purpose IP address, destination slogan, protocol number, DSCP precedence information and ToS priority information; The described Hash calculation that is calculated as, thus cryptographic Hash obtained.The combination of above-mentioned parameter can be: use IP source address, IP destination address or IP source address to add that destination address carries out Hash calculation and obtains different cryptographic Hash, perhaps carry out Hash calculation by different session id (source port number or destination slogan) and obtain different cryptographic Hash; Perhaps carry out Hash calculation and obtain different cryptographic Hash by different DSCP, ToS or other priority.
Preferred, use IP five-tuple (source IP address, source port number, purpose IP address, destination slogan, protocol number) to carry out Hash calculation.
The Bandwidth Management device that support dynamic bandwidth according to the present invention is cut apart comprises: the traffic identification device, in order to the type of service of the message of the data flow of identification input, this message is sent into the sendaisle corresponding with the type of service that identifies; Sendaisle is electrically connected on described traffic identification device, comprises flow classifier, sends subchannel and stream scheduler; Service dispatcher is electrically connected on described sendaisle, uses which sendaisle scheduling message in order to decision; Wherein, discern the traffic identifier of this message by flow classifier, if identify the traffic identifier of this message, then this message is sent into the transmission subchannel corresponding with the traffic identifier that identifies, if the traffic identifier of this message is not identified, then refusal inserts the data flow of described input.
Preferably, this flow classifier comprises: computing module, use the parameter of this message to calculate calculated value; Corresponding relation building module is set up the corresponding relation of calculated value and traffic identifier.
Preferably, this corresponding relation building module comprises: first searches module, searches the current traffic identifier corresponding with calculated value that whether exist, if exist, then sets up the corresponding relation of calculated value and the traffic identifier that is found, if do not exist, then notifies with one of lower module; Judge module judges that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message; Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out; The 3rd searches module, search whether to have the more data flow of low priority, if exist, and then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.
Preferably, this corresponding relation building module comprises: first searches module, searches the current traffic identifier corresponding with calculated value that whether exist, if exist, then sets up the corresponding relation of calculated value and the traffic identifier that is found, if do not exist, then notifies judge module; Judge module judges whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message, if surpass, then notifies second to search module; Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then notify the 3rd to search module; The 3rd searches module, searches whether to have the more data flow of low priority, if exist, this more traffic identifier of the message of the data flow of low priority then wears out, and set up the corresponding relation of the aging traffic identifier of calculated value and this quilt, if do not exist, then refusal inserts the data flow of described input.
Bandwidth management method and device that support dynamic bandwidth of the present invention is cut apart have following beneficial technical effects: can or use the overall channel of creating nominated bandwidth for a certain class business; Can on professional or application base of recognition, utilize IP five-tuple or other specific characteristic (for example DSCP or ToS priority information) to automatically identify not homogeneous turbulence or session; When stream of new access, the subchannel of a nominated bandwidth of dynamic assignment; When a stream is aging, dynamically discharge the subchannel that it takies; If when the flow amount of current active surpasses maximum number, no longer insert new stream, allow the transmission subchannel of high priority session preemption lower priority session.
Description of drawings
Fig. 1 is the main application scenarios of Bandwidth Management;
Fig. 2 is the bandwidth management method according to the router outgoing interface of prior art;
The flow chart of the bandwidth management method that Fig. 3 is cut apart for support dynamic bandwidth of the present invention;
The Bandwidth Management schematic representation of apparatus that Fig. 4 is cut apart for support dynamic bandwidth of the present invention;
Fig. 5 carries out Hash calculation for adopting the IP five-tuple in the bandwidth management method of the present invention, sets up the schematic diagram of cryptographic Hash and traffic identifier corresponding relation;
Fig. 6 for identification of the present invention not homogeneous turbulence to distribute the flow chart of different transmission subchannels.
Embodiment
The principle of dynamic bandwidth dividing method proposed by the invention is as follows:
Set up and the corresponding a plurality of sendaisles of a plurality of application (also can be described as business) type, the bandwidth of each sendaisle (overall channel) is specified, and is used to send the application or the business of same type.
Each sendaisle (overall channel) is comprised be used to send a plurality of transmission subchannels of phase homogeneous turbulence (also can be described as session), each sends the bandwidth of subchannel and specifies.
As shown in Figure 3, the bandwidth management method cut apart of support dynamic bandwidth of the present invention comprises:
Step 1: the type of service of the message of the data flow of identification input, this message is sent into the sendaisle corresponding with the type of service that identifies;
Step 2: the traffic identifier (promptly flowing ID) of this message of identification in sendaisle;
Step 3: if the traffic identifier of this message is identified, then this message is sent into the transmission subchannel corresponding, thereby scheduling sends this message with the traffic identifier that identifies; If the traffic identifier of this message is not identified, then refusal inserts the data flow of described input.
In the present embodiment, the method that makes each send subchannel transmission phase homogeneous turbulence is to set up two corresponding relations: first corresponding relation is to make the transmission subchannel corresponding with traffic identifier; Second corresponding relation is to make traffic identifier corresponding with the message of the data flow of input.
In the present embodiment, be to utilize the parameter of the message of input to calculate a calculated value, set up the one-to-one relationship of calculated value and traffic identifier, make traffic identifier corresponding with the message of the data flow of input.Preferably, utilize IP five-tuple or other specific characteristic to calculate the cryptographic Hash (being hash value) of message, set up the mapping relations (this point will hereinafter be described in detail) of cryptographic Hash and traffic identifier.
As shown in Figure 4, the Bandwidth Management device that support dynamic bandwidth of the present invention is cut apart is by three parts that electrically connect successively: professional grader, sendaisle and service dispatcher are formed, and each sendaisle is again by flow classifier, a plurality of transmission subchannel with flow scheduler and form.The functional description of above-mentioned each part is as follows.
Professional grader: when message arrives outgoing interface, message is divided into different business or application type, as VoIP, interactive game or VoD etc., enter different sendaisle (also can be called overall channel or parent channel), so that the message in same sendaisle is of a sort business or application.Professional grader can be according to service priority, as ToS, and DSCP; Also can be according to protocol port, as TCP, udp port; For the variable agreement of port, also can be according to the intrinsic feature of agreement, as: protocol fields etc. are classified; Certainly, also can comprehensively above all information carry out the business classification.
A plurality of sendaisles: the message in each passage is that same class is professional or use, and each sendaisle identifies the message of different traffic identifier in the message of same class type of service, and it is sent into corresponding transmission subchannel, thereby is scheduled transmission.Each sendaisle is by three parts: flow classifier, a plurality of transmission subchannel (number that sends subchannel can default settings, also can manually be divided by the user) and flow scheduler and form.Wherein, flow classifier is used for automatically identifying different sessions or stream in same class business, so that different sessions or stream take different transmission subchannels; Send subchannel, take by same session or stream; The stream scheduler will carry out dispatching message between different transmission subchannels.
Service dispatcher: in the scheduling of each chronomere, service dispatcher will determine to dispatch message and dispatch what messages from which sendaisle.
An embodiment with flow classifier of above-mentioned functions comprises: computing module, use the parameter of this message to calculate calculated value; Corresponding relation building module is set up the corresponding relation of calculated value and traffic identifier.
An embodiment with corresponding relation building module of above-mentioned functions comprises: first searches module, search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found if exist with calculated value, if do not exist, then notify with one of lower module; Judge module judges that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message; Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out; The 3rd searches module, search whether to have the more data flow of low priority, if exist, and then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.
Another embodiment with corresponding relation building module of above-mentioned functions comprises: first searches module, search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found if exist with calculated value, if do not exist, then notify judge module; Judge module judges whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message, if surpass, then notifies second to search module; Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then notify the 3rd to search module; The 3rd searches module, searches whether to have the more data flow of low priority, if exist, this more traffic identifier of the message of the data flow of low priority then wears out, and set up the corresponding relation of the aging traffic identifier of calculated value and this quilt, if do not exist, then refusal inserts the data flow of described input.
It is functional module that those skilled in the art should understand above-mentioned module, can realize in the mode that hardware, software or hardware combine with software.
The Bandwidth Management device that support dynamic bandwidth of the present invention is cut apart can be a for example router of an independent devices, also can be an additional part, and for example router or other have a part of the equipment of route effect.
Fig. 5 illustrates and adopts the IP five-tuple of message to carry out the cryptographic Hash that Hash calculation obtains message, and the message with different cryptographic Hash is assigned with the mapping relations schematic diagram of different traffic identifier.Each traffic identifier is corresponding to an independently stream of being distinguished by cryptographic Hash, and corresponding to a subchannel independently.All messages with same stream sign all enter the scheduling transmission that same subchannel is waited for the stream scheduler.
Carry out after Hash calculation obtains cryptographic Hash in the IP five-tuple information of extracting message, set up the corresponding relation of calculated value and traffic identifier.At first be to seek corresponding traffic identifier, promptly whether currently had an effective traffic identifier according to this cryptographic Hash.If exist, then enter corresponding transmission subchannel and wait for that scheduling sends according to this traffic identifier.If there is no, then judge and to distribute a traffic identifier for this cryptographic Hash.In the present invention, can judgement can adopt one of following steps for traffic identifier of this cryptographic Hash distribution:
Judge that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message;
Search whether exist can be by the aging traffic identifier that has distributed, if exist, then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out;
Search whether there is the more data flow of low priority, if exist, then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.
Certainly, can judgement distribute the various combinations that new traffic identifier also can be an above-mentioned steps for this cryptographic Hash.For example, whether whether the traffic identifier number that judgement has distributed has surpassed maximum access quantity and searched exists energy by the combination of the aging traffic identifier that has distributed, promptly, if the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, search again and whether exist energy by the combination of the aging traffic identifier that has distributed, can be if exist by the aging traffic identifier that has distributed, then earlier aging this traffic identifier that has been assigned with, promptly delete former (cryptographic Hash, traffic identifier) corresponding relation, then, this traffic identifier is redistributed the cryptographic Hash of this new message; If there is no can be by the aging traffic identifier that has distributed, then refusal inserts new stream.Or judge whether the traffic identifier number of having distributed has surpassed maximum access quantity and searched whether there is the more combination of the data flow of low priority, promptly, if the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, search again and whether have the more data flow of low priority, if there is the more active session of low priority, then wear out earlier and be assigned to this more traffic identifier of the active session of low priority, then, this traffic identifier is redistributed the cryptographic Hash of this new message; The if there is no data flow of low priority more, then refusal inserts new stream.
Fig. 6 illustrate made up above-mentioned identification in steps not homogeneous turbulence to distribute the flow chart of different transmission subchannels.
When receiving a message, the IP five-tuple that extracts message carries out Hash calculation, obtains different cryptographic Hash.
Search corresponding traffic identifier according to the cryptographic Hash of message.
If corresponding traffic identifier exists, then directly enter corresponding subchannel and wait for scheduling according to traffic identifier.
If corresponding traffic identifier does not exist, judge earlier then whether current traffic identifier number of having distributed has surpassed the maximum quantity that inserts.If do not surpass as yet, then can be new traffic identifier of this flow distribution, enter corresponding subchannel according to this traffic identifier then and wait for scheduling.
Whether if the traffic identifier that has distributed surpasses the maximum quantity that inserts, then searching earlier has the traffic identifier that can wear out.If have, this traffic identifier that has been assigned with that then can wear out is earlier promptly deleted the corresponding relation of former cryptographic Hash and traffic identifier.Then, this traffic identifier is redistributed the cryptographic Hash of this new message, set up the corresponding relation of a cryptographic Hash and traffic identifier, enter corresponding subchannel according to this traffic identifier then and wait for scheduling.
If there is no the traffic identifier that can wear out then enters the flow process of seizing that sends subchannel, allows the high priority session to take the employed transmission subchannel of lower priority session, promptly seeks whether there is the more active session of low priority.If the more active session of low priority is arranged, then wear out earlier and be assigned to this more traffic identifier of the active session of low priority, promptly delete former cryptographic Hash and traffic identifier corresponding relation.Then, this traffic identifier is redistributed the cryptographic Hash of this new message, set up a new cryptographic Hash and traffic identifier corresponding relation, enter corresponding subchannel according to this traffic identifier then and wait for scheduling.If there is not the more active session of low priority, then refusal inserts new stream.
Judge whether a stream can wear out and can adopt following method:
In a period of time interval, if there is not message to need to send, then the subchannel of this stream correspondence can discharge the stream to new access on the subchannel of a stream correspondence.This time interval can default setting be five minutes, also can be specified by the user.
For the upper layer application of Transmission Control Protocol carrying, also can be by catching the TCP flag bit that carries in the message TCP head.If capture FIN or RST sign, can judge that then this stream closes to an end, therefore can discharge the corresponding subchannel of this stream.
Judge whether a stream can be seized the precedence information of the transmission subchannel of other active flow and can be: DSCP that the IP heading is carried or ToS priority.
The method of the new stream of refusal access has multiple, as: message directly can be abandoned; Also can inform that the transmitting terminal purpose is unreachable by ICMP (Internet Control Message Protocol) notification message.
Above described only be one embodiment of the present of invention.Those skilled in the art can make various remodeling and variation in the scope that does not break away from spirit of the present invention and principle.
When on business base of recognition, discerning not homogeneous turbulence, can adopt following method as:
(1) adds that by IP source address, IP destination address or IP source address destination address carries out Hash calculation and obtains different cryptographic Hash.
(2) carry out Hash calculation by different session id (source port number or destination slogan) and obtain different cryptographic Hash.
(3) carry out Hash calculation by different DSCP, ToS or other priority and obtain different cryptographic Hash.
The invention provides a kind of effectively automatic stream recognition method and device, it at first carries out traffic identification, automatically flow identification then, and can be according to flowing distribution and the release that the result who discerns dynamically send subchannel automatically, perhaps seize the transmission subchannel, and each bandwidth that sends subchannel and provide can satisfy the QoS of a stream according to the precedence information of stream.By this bandwidth management method and the device that dynamic bandwidth is cut apart that have is provided, can simplify the difficulty of the network planning and configuration greatly, guarantee the accuracy and the high efficiency of allocated bandwidth.
Bandwidth management method that support dynamic bandwidth of the present invention is cut apart and device can be applied to router, and perhaps other has other equipment of route effect.In addition, bandwidth management method of the present invention and device can be applied in the Bandwidth Management equipment of transparent mode, this Bandwidth Management equipment is serially connected between a pair of network interface and does not have routing function, network traffics flow into from a network interface of Bandwidth Management equipment one side, from the corresponding network interface of this network interface, the network interface that is Bandwidth Management equipment opposite side flows out, otherwise, as the same.
Though the present invention enumerates the foregoing description the present invention is described, yet the foregoing description is not in order to restriction the present invention.Those skilled in the art can make various remodeling and variation fully under the prerequisite that does not break away from spirit of the present invention and principle, yet these remodeling and variation also should belong in the scope of patent protection of the present invention.

Claims (12)

1. bandwidth management method of supporting that dynamic bandwidth is cut apart is characterized in that may further comprise the steps:
The type of service of the message of the data flow of identification input is sent this message into the sendaisle corresponding with the type of service that identifies;
The traffic identifier of this message of identification in sendaisle;
If the traffic identifier of this message is identified, then this message is sent into the transmission subchannel corresponding, thereby scheduling sends this message with the traffic identifier that identifies; If the traffic identifier of this message is not identified, then refusal inserts the data flow of described input.
2. the bandwidth management method that support dynamic bandwidth as claimed in claim 1 is cut apart is characterized in that:
The step of discerning the traffic identifier of this message comprises: use the parameter of this message to calculate calculated value, set up the corresponding relation of calculated value and traffic identifier.
3. the bandwidth management method that support dynamic bandwidth as claimed in claim 2 is cut apart is characterized in that:
The step of setting up the corresponding relation of calculated value and traffic identifier comprises:
Search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found,, then enter one of following steps if do not exist if exist with calculated value;
Judge that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message;
Search whether exist can be by the aging traffic identifier that has distributed, if exist, then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out;
Search whether there is the more data flow of low priority, if exist, then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.
4. the bandwidth management method that support dynamic bandwidth as claimed in claim 2 is cut apart is characterized in that:
The step of setting up the corresponding relation of calculated value and traffic identifier comprises:
Search the current traffic identifier corresponding that whether exist,, then set up the corresponding relation of calculated value and the traffic identifier that is found,, then enter next step if do not exist if exist with calculated value;
Judge whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message, if surpass, then enters next step;
Search whether exist can be by the aging traffic identifier that has distributed, if exist, then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then enter next step;
Search whether there is the more data flow of low priority, if exist, then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the aging traffic identifier of calculated value and this quilt, if do not exist, then refuse the data flow of the described input of access.
5. the bandwidth management method of cutting apart as claim 3 or 4 described support dynamic bandwidths is characterized in that:
Search and whether exist and can be adopted one of following steps by the aging traffic identifier that has distributed:
Check in a period of time interval whether have message to need to send on the transmission subchannel of a traffic identifier correspondence, if do not have, this traffic identifier can be worn out;
Catch the transmission control protocol flag bit that carries in each message transmissions control protocol head,, judge that then the traffic identifier of the data flow of the message with FIN or RST sign can be by aging if capture FIN or RST sign.
6. the bandwidth management method of cutting apart as claim 3 or 4 described support dynamic bandwidths is characterized in that:
Search and whether have the more data flow employing following steps of low priority:
Check differentiated service code point precedence information or IP grade of service precedence information that each heading is carried.
7. the bandwidth management method that support dynamic bandwidth as claimed in claim 4 is cut apart is characterized in that:
The data flow that refusal inserts described input adopts one of following steps:
The message of the data flow of described input is directly abandoned;
Inform that by the Internet Control Message Protocol notification message transmitting terminal purpose is unreachable.
8. the bandwidth management method of cutting apart as each described support dynamic bandwidth in claim 2-4 and 7 is characterized in that:
The parameter of described message is following one or more parameters: source IP address, source port number, purpose IP address, destination slogan, protocol number, differentiated service code point precedence information and IP grade of service precedence information.
9. Bandwidth Management device of supporting that dynamic bandwidth is cut apart is characterized in that comprising:
The traffic identification device in order to the type of service of the message of the data flow of identification input, is sent this message into the sendaisle corresponding with the type of service that identifies;
Sendaisle comprises flow classifier, sends subchannel and stream scheduler;
Which sendaisle scheduling message service dispatcher uses in order to decision;
Wherein, discern the traffic identifier of this message by flow classifier,, then this message is sent into the transmission subchannel corresponding and carried out dispatching message by the stream scheduler with the traffic identifier that identifies if identify the traffic identifier of this message, if the traffic identifier of this message is not identified, then refusal inserts the stream of described input.
10. the Bandwidth Management device that support dynamic bandwidth as claimed in claim 9 is cut apart is characterized in that this flow classifier comprises:
Computing module uses the parameter of this message to calculate calculated value; And
Corresponding relation building module is set up the corresponding relation of calculated value and traffic identifier.
11. the Bandwidth Management device that support dynamic bandwidth as claimed in claim 10 is cut apart is characterized in that this corresponding relation building module comprises:
First searches module, searches the current traffic identifier corresponding with calculated value that whether exist, if exist, then sets up the corresponding relation of calculated value and the traffic identifier that is found, if do not exist, then notifies with one of lower module;
Judge module judges that whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message;
Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out;
The 3rd searches module, search whether to have the more data flow of low priority, if exist, and then aging this traffic identifier of the message of the data flow of low priority more, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out.
12. the Bandwidth Management device that support dynamic bandwidth as claimed in claim 10 is cut apart is characterized in that this corresponding relation building module comprises:
First searches module, searches the current traffic identifier corresponding with calculated value that whether exist, if exist, then sets up the corresponding relation of calculated value and the traffic identifier that is found, if do not exist, then notifies judge module;
Judge module judges whether the traffic identifier number of having distributed has surpassed the maximum quantity that inserts, and as if not surpassing, then distributes a new traffic identifier according to calculated value for this message, if surpass, then notifies second to search module;
Second searches module, searches whether exist can be by the aging traffic identifier that has distributed, if exist, and then aging this traffic identifier that has distributed, and set up the corresponding relation of the traffic identifier that calculated value and this quilt wear out, as if not existing, then notify the 3rd to search module;
The 3rd searches module, searches whether to have the more data flow of low priority, if exist, this more traffic identifier of the message of the data flow of low priority then wears out, and set up the corresponding relation of the aging traffic identifier of calculated value and this quilt, if do not exist, then refusal inserts the data flow of described input.
CNB2006101267693A 2006-09-06 2006-09-06 Support bandwidth management method and device that dynamic bandwidth is cut apart Expired - Fee Related CN100544321C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101267693A CN100544321C (en) 2006-09-06 2006-09-06 Support bandwidth management method and device that dynamic bandwidth is cut apart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101267693A CN100544321C (en) 2006-09-06 2006-09-06 Support bandwidth management method and device that dynamic bandwidth is cut apart

Publications (2)

Publication Number Publication Date
CN1946059A CN1946059A (en) 2007-04-11
CN100544321C true CN100544321C (en) 2009-09-23

Family

ID=38045277

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101267693A Expired - Fee Related CN100544321C (en) 2006-09-06 2006-09-06 Support bandwidth management method and device that dynamic bandwidth is cut apart

Country Status (1)

Country Link
CN (1) CN100544321C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257454B (en) * 2008-03-21 2012-01-25 北京星网锐捷网络技术有限公司 Apparatus and method for managing band width
CN101631384B (en) * 2008-07-16 2011-10-12 大唐移动通信设备有限公司 Method and equipment for allocating service bandwidth resources
CN101547159B (en) * 2009-05-13 2012-01-04 杭州华三通信技术有限公司 Method and device for preventing network congestion
WO2014176740A1 (en) * 2013-04-28 2014-11-06 华为技术有限公司 Stream classifier, service routing trigger, and message processing method and system
CN107846341B (en) * 2016-09-20 2021-02-12 华为技术有限公司 Method, related device and system for scheduling message
CN110868364B (en) * 2018-08-28 2023-04-18 阿里巴巴集团控股有限公司 Bandwidth isolation device and method

Also Published As

Publication number Publication date
CN1946059A (en) 2007-04-11

Similar Documents

Publication Publication Date Title
Roberts Internet traffic, QoS, and pricing
US8068422B2 (en) Arrangement and method relating to handling of IP traffic
US7020143B2 (en) System for and method of differentiated queuing in a routing system
CN109714275B (en) SDN controller for access service transmission and control method thereof
JP4474192B2 (en) Method and apparatus for implicit discrimination of quality of service in networks
CN101616097B (en) Method and system for managing output port queue of network processor
CN100544321C (en) Support bandwidth management method and device that dynamic bandwidth is cut apart
CN101848167B (en) Weighted fair queue dispatching method and device based on category
JP2001358772A (en) Random early demotion and promotion marker
Li et al. A QoS guaranteed technique for cloud applications based on software defined networking
Romanchuk et al. Method for processing multiservice traffic in network node based on adaptive management of buffer resource
CN102170663A (en) 3G (The Third Generation Telecommunication)-based method and equipment for guaranteeing service quality in real-time transmission service
Petrangeli et al. Network-based dynamic prioritization of http adaptive streams to avoid video freezes
Li et al. Enabling software defined networking with qos guarantee for cloud applications
KR20090080794A (en) Ip converged system and method of call processing in ip converged system
EP1978682B1 (en) QoS CONTROL METHOD AND SYSTEM
Akhtar et al. Performance analysis of integrated service over differentiated service for next generation Internet
TW200303670A (en) Inverse multiplexing of managed traffic flows over a multi-star network
KR100653454B1 (en) Apparatus and method for dynamic traffic management of qos to an each service in homenetwork environment
Cisco QC: Quality of Service Overview
CN110753007B (en) QoS-based flow strategy configuration method and device
Bodamer A scheduling algorithm for relative delay differentiation
Parra et al. IPV6 and IPV4 QoS mechanisms
KR20110067855A (en) Method for managing subscriber traffic based on flow information
Čelanović et al. QUALITY OF SERVICE POLICIES UTILIZATION IN LOCAL AREA NETWORKS AND WIRELESS ACCESS NETWORKS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090923

Termination date: 20200906