CN101808033B - Method and apparatus for allocating reservation bandwidth of traffic - Google Patents

Method and apparatus for allocating reservation bandwidth of traffic Download PDF

Info

Publication number
CN101808033B
CN101808033B CN2010101201404A CN201010120140A CN101808033B CN 101808033 B CN101808033 B CN 101808033B CN 2010101201404 A CN2010101201404 A CN 2010101201404A CN 201010120140 A CN201010120140 A CN 201010120140A CN 101808033 B CN101808033 B CN 101808033B
Authority
CN
China
Prior art keywords
service traffics
bandwidth
bandwidth reserved
receive
priority
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
CN2010101201404A
Other languages
Chinese (zh)
Other versions
CN101808033A (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 CN2010101201404A priority Critical patent/CN101808033B/en
Publication of CN101808033A publication Critical patent/CN101808033A/en
Application granted granted Critical
Publication of CN101808033B publication Critical patent/CN101808033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and an apparatus for allocating reservation bandwidth of traffic. For reservation bandwidth-configured traffic, traffic forwarding is implemented by using the reservation bandwidth corresponding to the traffic and residual reservation bandwidth corresponding to traffic with higher priority, thereby enhancing the using efficiency of the reservation bandwidth and favorably guaranteeing the transmission of the traffic with higher priority through the reservation bandwidth.

Description

The method and apparatus that the service traffics bandwidth reserved distributes
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus that a kind of service traffics bandwidth reserved distributes.
Background technology
QoS (Quality of Service, service quality) comprises the bandwidth of transfer of data, the time delay that data transmit, the packet loss of data etc.In network, can improve QoS by measures such as the bandwidth that guarantees transfer of data, the time delay that reduces the data transmission, the packet loss that reduces data and delay variations.QoS service model of the prior art can be divided into two large system: DiffServ (Differentiated Service, Differentiated Services) models and IntServ (Integrated Services, integrated service) model.
Wherein, the DiffServ model can fully be realized the multiplexing of bandwidth resources by the IP packet-switch technology, but seizes owing to bandwidth often occurs between different services, allocated bandwidth when needing to consider bandwidth congestion between miscellaneous service and priority scheduling relation, strategic planning and configuration are comparatively complicated; Intserv model adopt prior bandwidth or the time slot reservation mode guaranteed that fully the bandwidth of miscellaneous service or time slot exclusively enjoy, realized the optimal design of quality of service, but be difficult to accomplish bandwidth reuse, the client bandwidth resource can not take full advantage of.
In the IP technical field, in order to realize RSVP, often the recommend adoption RSVP is realized intserv model in conjunction with the TE Technology of Traffic Engineering.But RSVP (Resource Reservation Protocol, RSVP) and TE (Traffic Engineering, traffic engineering) Technology design is equally comparatively complicated, can not realize the requirement of bandwidth sharing, thereby be difficult to accomplish taking full advantage of of IP bandwidth.
Therefore, in the IP field of packet switching, no matter adopt the common Q oS queue technology of DiffServ, still adopt the TE Technology of Traffic Engineering of IntServ, all be difficult to accomplish simultaneously the specification requirement of RSVP and bandwidth sharing.
In the prior art, in the IP field of packet switching, by CAR (CommittedAccess Rate, committed access rate) and GTS (the Generic Traffic Shaping of DiffServ model, generic traffic shaping) technical scheme of combination has realized RSVP and shared simultaneously.
Wherein, the CAR technology is classified according to the bandwidth reserved size to the router inlet flow rate.The CAR that utilizes as shown in Figure 1 carries out the basic process of flow control.At first, router is classified to message according to the matched rule that sets in advance, if there is not the message of specified flow flow characteristic (flow of bandwidth reserved namely is not set), directly continues to send, and does not need the processing through token bucket; If need to carry out the message of flow control, then need to use token bucket to process.Concrete, if there are enough tokens can be used for sending message in the token bucket, then router allows message to pass through, and message can be continued to send; If the token in the token bucket does not satisfy the transmission condition of message, then message is dropped or carries out other processing according to the strategy that disposes.
In actual applications, CAR can also carry out the mark of message, comprises the priority that arranges or revise message.For example, when message met discharge characteristic (having disposed the flow of bandwidth reserved), the priority that message can be set was 5, when message does not meet discharge characteristic, can dropping packets, the priority that message also can be set is 1 and proceeds to send.Like this, follow-up processing can guarantee as far as possible that loss priority not is 5 message, in the not congested situation of network, also sends priority and be 1 message, and when network congestion, guarantees that preferentially priority is the normal transmission of 5 message.
Concrete, the CAR technology adopts the double-colored or 2-rate 3-color principle of single speed, and the router inlet flow rate is classified according to the bandwidth reserved size.Take the double-colored principle of single speed as example, the bandwidth reserved of the pre-configured 50M of router entrance is comprising the 20M bandwidth of distributing for video flow be the 30M bandwidth of data traffic distribution.The flow that the router entrance identification of configuration CAR technology receives if be video flow, and less than 20M, then is labeled as green flow with this video flow, and priority is 2; If be data traffic, and less than 30M, then this data traffic is labeled as green flow, priority is 1; If be data traffic, and greater than 30M, then will be labeled as red flow greater than the data traffic of the part of 30M, priority is 0.Outlet at router is carried out traffic forwarding according to the priority of flow, and priority is that the green flow of 2 video enters the formation of 20M bandwidth reserved and transmits, and priority is that 1 green data flow enters the formation of 30M bandwidth reserved and transmits; Priority is that 0 red data flow is then processed according to the strategy of configuration, carries out traffic forwarding by sharing bandwidth queue.
This mode can realize different clients or professional RSVP and the purpose of sharing, and still, this mode can't guarantee that but client's priority service transmits by bandwidth reserved.For example, when the video flow in the above-mentioned example is 5M, still transmit by the green flow formation of 20M; Even and this moment, data traffic was 40M, 10M data traffic wherein need to be transmitted by sharing bandwidth owing to there is not corresponding bandwidth reserved, can't guarantee the accurate forwarding of this 10M priority service.
Summary of the invention
The invention provides a kind of method and apparatus of forwarding service flow, by dynamic CAR technology, guarantee that priority service preferentially enters the bandwidth reserved formation, thereby definitely guarantee the dynamic utilized bandwidth of priority service.
The invention provides a kind of method of forwarding service flow, be applied to arrange respectively for a plurality of service traffics the equipment of bandwidth reserved, the method may further comprise the steps:
Receive service traffics, judge whether the described service traffics that receive have bandwidth reserved;
If the described service traffics that receive have bandwidth reserved, obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of the described service traffics that receive and higher priority according to the service identification information of the described service traffics that receive, obtain the priority tag information of the service traffics that receive, the service traffics of the high priority that priority treatment receives;
If the service traffics that receive have limit priority, then be retrieved as the pre-configured bandwidth reserved of these service traffics;
If the service traffics that receive do not have limit priority, then be retrieved as the residue bandwidth reserved of the service traffics of the pre-configured bandwidth reserved of these service traffics and higher priority;
The residue bandwidth reserved of the service traffics by the described bandwidth reserved that sets in advance and/or higher priority, the bandwidth that does not exceed the described bandwidth reserved that sets in advance and described residue bandwidth reserved that sends and receives and service traffics, abandon or according to the configuration strategy send and receive exceed described bandwidth and service traffics;
The residue bandwidth reserved that is retrieved as the service traffics of bandwidth reserved that the described service traffics that receive set in advance and higher priority according to the service identification information of the described service traffics that receive comprises:
Obtain the priority tag information of the service traffics that receive, the service traffics of the high priority that priority treatment receives;
If the service traffics that receive have limit priority, then be retrieved as the pre-configured bandwidth reserved of these service traffics;
If the service traffics that receive do not have limit priority, then be retrieved as the residue bandwidth reserved of the service traffics of the pre-configured bandwidth reserved of these service traffics and higher priority.
If the described service traffics that receive do not have limit priority, the residue bandwidth reserved that then is retrieved as the service traffics of the pre-configured bandwidth reserved of these service traffics and higher priority comprises:
If the service traffics that receive do not have limit priority, then obtain the residue bandwidth reserved of all service traffics of the priority that is higher than described service traffics.
Be retrieved as according to the service identification information of the described service traffics that receive after the residue bandwidth reserved of service traffics of bandwidth reserved that the described service traffics that receive set in advance and higher priority, also comprise:
Judge that the described bandwidth reserved that sets in advance is with the bandwidth of residue bandwidth reserved with whether greater than the maximum Permissible bandwidth for the described service traffics configuration that receives; If greater than described maximum Permissible bandwidth, then send the service traffics that do not exceed described maximum Permissible bandwidth.
The service traffics of the described service traffics that receive, high priority or the service traffics of low priority have respectively corresponding token bucket, have the token corresponding with bandwidth reserved in the described token bucket.
The residue bandwidth reserved that is retrieved as the service traffics of bandwidth reserved that the described service traffics that receive set in advance and higher priority according to the service identification information of the described service traffics that receive comprises: obtain token bucket corresponding to the described service traffics that receive according to the service identification information of the described service traffics that receive; Obtain the token more than needed in token bucket corresponding to the service traffics of higher priority, described token more than needed is put into token bucket corresponding to the described service traffics that receive;
The residue bandwidth reserved of the service traffics by the described bandwidth reserved that sets in advance or higher priority, the bandwidth that does not exceed the described bandwidth reserved that sets in advance and described residue bandwidth reserved that sends and receives and service traffics comprise: obtain in the described token bucket and the bandwidth of the described bandwidth reserved that sets in advance and residue bandwidth reserved and the corresponding described service traffics that receive of token transmission.
The invention provides a kind of equipment of forwarding service flow, for a plurality of service traffics arrange respectively bandwidth reserved, this equipment comprises:
Receiving element is used for receiving the service traffics that send to described equipment;
Judging unit is connected with described receiving element, is used for judging whether described service traffics have the bandwidth reserved that sets in advance;
Memory cell is used for the corresponding relation of the bandwidth reserved of the service identification information of storage service flow and setting;
Acquiring unit, be connected with memory cell with described judging unit, when being used for described service traffics and having the bandwidth reserved that sets in advance, be retrieved as the residue bandwidth reserved of the service traffics of bandwidth reserved that described service traffics set in advance and higher priority according to the service identification information of described service traffics;
Retransmission unit, be connected with described acquiring unit, be used for the bandwidth of residue bandwidth reserved of service traffics of the bandwidth reserved that sets in advance for described service traffics that obtains according to described acquiring unit and/or higher priority and transmission do not exceed described bandwidth and service traffics; Abandon or according to the strategy of configuration send exceed described bandwidth and service traffics;
Wherein, described acquiring unit also is used for:
Obtain the priority tag information of described service traffics, the service traffics of priority treatment high priority;
If described service traffics have limit priority, then be retrieved as the pre-configured bandwidth reserved of these service traffics;
If described service traffics do not have limit priority, then be retrieved as the residue bandwidth reserved of the service traffics of the pre-configured bandwidth reserved of these service traffics and higher priority.
Described acquiring unit also is used for:
When described service traffics do not have limit priority, obtain the residue bandwidth reserved of all service traffics of the priority that is higher than described service traffics.
Also comprise judging unit, be connected with described acquiring unit, be used for judging that the bandwidth reserved of the described service traffics that described acquiring unit obtains is with the bandwidth of the residue bandwidth reserved of the service traffics of higher priority with whether greater than being the maximum Permissible bandwidth that described service traffics dispose;
Described retransmission unit also is used for: if the described bandwidth that described acquiring unit obtains and greater than described maximum Permissible bandwidth sends the service traffics that do not exceed described maximum Permissible bandwidth.
Described memory cell also is used for: store the token bucket corresponding with described service traffics, have the token corresponding with bandwidth reserved in the described token bucket.
Described acquiring unit also is used for: obtain token bucket corresponding to described service traffics according to the service identification information of described service traffics; Obtain the token more than needed in token bucket corresponding to the service traffics of higher priority, described token more than needed is put into token bucket corresponding to described service traffics;
Described retransmission unit also is used for: the token that obtains described token bucket sends service traffics.
Compared with prior art, the present invention has the following advantages at least:
Among the present invention, equipment is to having disposed the service traffics of bandwidth reserved, use the professional corresponding residue bandwidth reserved of the bandwidth reserved corresponding with these service traffics and higher priority to carry out traffic forwarding, thereby improve the service efficiency of bandwidth reserved, guarantee that preferably the high-priority service flow sends by bandwidth reserved.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for service traffics bandwidth reserved distribution provided by the invention;
Fig. 2 is the schematic flow sheet of the service traffics bandwidth reserved that provides of the application scenarios of the present invention method of distributing;
Fig. 3 is router incoming interface CAR configuration schematic diagram;
Fig. 4 is router incoming interface bandwidth reserved assigning process schematic diagram;
Fig. 5 is the structural representation of the equipment of service traffics bandwidth reserved distribution provided by the invention.
Embodiment
Core concept of the present invention is: when equipment carries out bandwidth reserved forwarding configuration at interface, the priority of different bandwidth reserved business is set, bandwidth reserved for high priority is professional, if its flow, then will remain the bandwidth reserved business that bandwidth reserved is distributed to low priority less than bandwidth reserved.
The invention provides a kind of method of forwarding service flow, be applied to arrange respectively for a plurality of service traffics the equipment of bandwidth reserved, as shown in Figure 2, the method may further comprise the steps:
Step 201 receives service traffics, judges whether the described service traffics that receive have bandwidth reserved; If the described service traffics that receive have bandwidth reserved, execution in step 202;
Step 202 is retrieved as the residue bandwidth reserved of the service traffics of bandwidth reserved that the described service traffics that receive set in advance and higher priority according to the service identification information of the described service traffics that receive;
Step 203, the residue bandwidth reserved of the bandwidth reserved by the described service traffics that receive and/or the service traffics of higher priority, send the bandwidth reserved do not exceed the described service traffics that receive and described residue bandwidth reserved bandwidth and service traffics, abandon or according to the strategy that disposes send and receive exceed described bandwidth and service traffics.
Introduce in detail the method for forwarding service flow provided by the invention below in conjunction with concrete application scenarios, wherein, the bandwidth reserved that equipment carries out at the flow incoming interface is transmitted and is configured to CAR and is configured to example and describes.As shown in Figure 3, in the application scenarios of the present invention, equipment (for example router) configuration video flowing and data flow are identified by priority flag EXP5 and EXP2 respectively, and the priority of video flowing is higher than data flow.The bandwidth reserved of incoming interface amounts to 50M, equipment adopts dynamic CAR to carry out the token distribution, press respectively bandwidth reserved 20M, 30M design for video flow and data traffic, the bandwidth reserved of data flow is " 30M+ video flowing residue bandwidth reserved ", for example, when the real-time traffic of video flow is 5M, its token number more than needed can dynamic assignment to data flow, the token quantity of the maximum of data flow is 45M.
Concrete, in conjunction with shown in Figure 3, the method for the forwarding service flow that application scenarios of the present invention provides may further comprise the steps as shown in Figure 4:
Step 401 receives the flow that sends to equipment, judges according to the service identification information of flow whether this flow disposes the discharge pattern of bandwidth reserved or this flow; If carry priority flag EXP5 in the service traffics, execution in step 402; If carry priority flag EXP2 in the service traffics, execution in step 403; Otherwise, directly transmit this flow.
Equipment only is video flowing and data flow configure reserved bandwidth in this application scene, and with priority flag EXP5 and EXP2 video flowing and data flow is identified respectively.If establish in the flow of being engaged in receiving and do not carry priority flag EXP5 or EXP2, this flow of device learns does not have the configure reserved bandwidth, directly transmits this flow.
Step 402, device learns service traffics are video flow, according to transmitting video flow for the bandwidth reserved of video flow configuration.
Equipment obtains the bandwidth that video flow need to take, if the bandwidth that video flow need to take less than the configuration bandwidth reserved 20M, equipment is put into green flow formation with video flow, sends by bandwidth reserved; If the band that video flow need to take is wider than the bandwidth reserved 20M of configuration, then equipment abandons the video flow that exceeds the bandwidth reserved part according to the strategy of configuration.Usually, the video flow bandwidth that need to take is less than the bandwidth reserved of configuration.At this moment, this residue bandwidth reserved can be obtained by data flow.Data flow is obtained the remaining bandwidth that this mode of being born in bandwidth reserved can be equipment acquisition request video flowing when sending data flow, also can be namely to distribute to data flow behind the device discovery video flowing residue bandwidth reserved.
Concrete, behind the equipment receiver, video flow, search token bucket corresponding to video flow, the token that obtains wherein carries out traffic forwarding.The bandwidth that need to take when video flow is during less than 20M, equipment can obtain enough tokens in order to transmit video flow from token bucket, this token is corresponding with the bandwidth of flow, if have token more than needed in the token bucket after video flow is all transmitted, its token more than needed can be obtained by data flow, this obtain manner can be the remaining bandwidth of equipment acquisition request video flowing when sending data flow, also can be namely to distribute to data flow behind the device discovery video flowing residue bandwidth reserved.
Step 403, device learns service traffics are data traffic, according to being the bandwidth reserved of data traffic configuration and the residue bandwidth reserved forwarding data flow of video flow.
Concrete, if existing video flow has again data traffic in the flow that equipment receives, equipment is transmitted respectively two kinds of service traffics according to the priority of two kinds of service traffics.In the application scenarios of the present invention, equipment is at first according to the described forwarding video flow of step 402; Then equipment is searched bandwidth reserved forwarding data flow corresponding to data traffic, this bandwidth reserved be the bandwidth reserved of pre-configured data traffic and video flow residue bandwidth reserved and, namely comprise that equipment is the token of data traffic configuration and the residue token of transmitting video flow in token bucket corresponding to data traffic this moment.The residue token of this token bucket repeating video flow can by equipment when sending data flow to the video flowing acquisition request, also can be behind the residue token of device discovery video flow, to be about to this residue token to distribute to data flow.
In this bandwidth reserved assigning process, router at first carries out the red green traffic classification to the video flowing of incoming interface according to the 20M bandwidth reserved, and green flow enters green flow buffer queue, and red flow directly abandons; If video flow is lower than 20M, the token quantity part more than needed of reserving for this formation is so distributed to data flow; To the data flow of incoming interface, the bandwidth reserved more than needed according to the 30M+ video flowing carries out the red green traffic classification, and the flux scale that is lower than this token sum is designated as green, and the part that surpasses is labeled as redness.
If judging in the flow that receives, equipment only has data traffic, then equipment at first obtains 20M bandwidth reserved corresponding to video flow for data traffic, be token bucket corresponding to data traffic and obtain whole tokens corresponding to video flow, at this moment, have the token of 50M in token bucket corresponding to data traffic, the token that equipment obtains in token bucket corresponding to data traffic carries out the forwarding of data traffic.
In the application scenarios of the present invention, the maximum Permissible bandwidth of service traffics can also be set according to actual needs, the maximum Permissible bandwidth that data traffic for example is set is 40M, at this moment, it is 0M that the instant video flow takies bandwidth reserved, and the corresponding bandwidth reserved of data traffic is 40M to the maximum, rather than 50M.
Introduce the method for forwarding service flow provided by the invention below in conjunction with the Another Application scene.Equipment is video flow, data traffic and the 3rd service traffics configure reserved bandwidth at the flow incoming interface, and these 3 kinds of service traffics have respectively priority tag 5,2 and 1, and its corresponding bandwidth reserved is respectively 10M, 20M, 20M.
After equipment receives service traffics, obtain the priority tag of service traffics, at first forwarding priority is designated 5 video flow, has used the 5M token if transmit video flow, and the residue token that then video flow is corresponding is 5M.Equipment will remain the 5M token and distribute to token bucket B, perhaps when the forwarding data flow, obtain 5M residue token corresponding to video flow, have 25M token among the token bucket B this moment, and in fact the data traffic bandwidth that need to take is 15M, so after the device forwards data traffic, residue token corresponding to data traffic is 10M, and equipment is distributed to token bucket C corresponding to the 3rd service traffics with this 10M token, and perhaps equipment obtains 10M residue token corresponding to data traffic when transmitting the 3rd service traffics.If it is 25M that the maximum that token bucket C arranges allows bandwidth reserved, then the token among the token bucket C mostly is 25M most, and all the other 5M tokens can not be placed into token bucket C.
By adopting method provided by the invention, priority and the bandwidth reserved corresponding to each priority of equipment configuration different business, use the professional corresponding residue bandwidth reserved of the bandwidth reserved corresponding with service traffics and higher priority to carry out traffic forwarding, thereby improve the service efficiency of bandwidth reserved, guarantee that preferably the high-priority service flow sends by bandwidth reserved.
The invention provides a kind of equipment of forwarding service flow, for a plurality of service traffics arrange respectively bandwidth reserved, as shown in Figure 5, this equipment comprises:
Receiving element 11 is used for receiving the service traffics that send to described equipment.
Judging unit 12 is connected with described receiving element 11, is used for judging whether the described service traffics that receive have bandwidth reserved.This judging unit 12 is used for also judging that the bandwidth reserved of the described service traffics that described acquiring unit obtains is with the bandwidth of the residue bandwidth reserved of the service traffics of higher priority with whether greater than being the maximum Permissible bandwidth that described service traffics dispose.
Memory cell 13 is used for the service identification information of storage service flow and the corresponding relation of bandwidth reserved.
Acquiring unit 14, are connected with memory cell with described judging unit 12 and are connected, when being used for described service traffics and having bandwidth reserved, obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of described service traffics and higher priority according to the service identification information of described service traffics.Concrete, described acquiring unit 14 obtains the priority tag information of described service traffics, the service traffics of priority treatment high priority; If described service traffics have limit priority, then obtain the bandwidth reserved of these service traffics; If described service traffics do not have limit priority, then obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of these service traffics and higher priority.For example, when service traffics did not have limit priority, described acquiring unit obtained the residue bandwidth reserved of all service traffics of the priority that is higher than described service traffics; This residue bandwidth reserved is bandwidth reserved bandwidth reserved and that take with all service traffics of the priority that is higher than described service traffics poor of all service traffics that is higher than the priority of described service traffics.
Retransmission unit 15, be connected with described acquiring unit 14, the bandwidth and sending of residue bandwidth reserved that is used for the service traffics of the bandwidth reserved of the described service traffics obtained according to described acquiring unit 14 and/or higher priority do not exceed described bandwidth and service traffics; Abandon or according to the strategy of configuration send the bandwidth exceed described bandwidth reserved and described residue bandwidth reserved and service traffics.Described retransmission unit 15 also is connected with judging unit 12, is used for described bandwidth that described acquiring unit obtains and greater than described maximum Permissible bandwidth, sends the service traffics that do not exceed described maximum Permissible bandwidth.
In the equipment provided by the invention, the memory cell 13 storages bandwidth reserved corresponding with service traffics is specifically as follows the storage token bucket corresponding with service traffics, places the token corresponding with bandwidth reserved in the described token bucket.Accordingly, acquiring unit 14 obtains token bucket corresponding to described service traffics according to the service identification information of described service traffics, and the token more than needed in token bucket corresponding to the service traffics of obtaining all higher priority, described token more than needed is put into token bucket corresponding to described service traffics; The token that described retransmission unit 15 obtains in the described token bucket sends service traffics.
By adopting equipment provided by the invention, priority and the bandwidth reserved corresponding to each priority of configuration different business, use the professional corresponding residue bandwidth reserved of the bandwidth reserved corresponding with service traffics and higher priority to carry out traffic forwarding, thereby improve the service efficiency of bandwidth reserved, guarantee that preferably the high-priority service flow sends by bandwidth reserved.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. the method for a forwarding service flow is applied to arrange respectively for a plurality of service traffics the equipment of bandwidth reserved, it is characterized in that the method may further comprise the steps:
Receive service traffics, judge whether the described service traffics that receive have bandwidth reserved;
If the described service traffics that receive have bandwidth reserved, obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of the described service traffics that receive and higher priority according to the service identification information of the described service traffics that receive;
The residue bandwidth reserved of the bandwidth reserved by the described service traffics that receive and/or the service traffics of higher priority, send the bandwidth reserved do not exceed the described service traffics that receive and described residue bandwidth reserved bandwidth and service traffics, abandon or according to the strategy that disposes send and receive exceed described bandwidth and service traffics;
Wherein, the residue bandwidth reserved that obtains the service traffics of the bandwidth reserved of the described service traffics that receive and higher priority according to the service identification information of the described service traffics that receive comprises:
Obtain the priority tag information of the service traffics that receive, the service traffics of the high priority that priority treatment receives;
If the service traffics that receive have limit priority, then be retrieved as the bandwidth reserved of service traffics;
If the service traffics that receive do not have limit priority, then obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of these service traffics and higher priority.
2. the method for claim 1 is characterized in that, if the described service traffics that receive do not have limit priority, the residue bandwidth reserved that then obtains the service traffics of the bandwidth reserved of these service traffics and higher priority comprises:
If the service traffics that receive do not have limit priority, then obtain the residue bandwidth reserved of all service traffics of the priority that is higher than described service traffics.
3. the method for claim 1, it is characterized in that, obtain according to the service identification information of the described service traffics that receive after the residue bandwidth reserved of service traffics of the bandwidth reserved of the described service traffics that receive and higher priority, also comprise:
Judge that the bandwidth reserved of the described service traffics that receive is with the bandwidth of residue bandwidth reserved with whether greater than the maximum Permissible bandwidth for the described service traffics configuration that receives; If greater than described maximum Permissible bandwidth, then send the service traffics that do not exceed described maximum Permissible bandwidth.
4. such as each described method among the claim 1-3, it is characterized in that, the service traffics of the described service traffics that receive, high priority or the service traffics of low priority have respectively corresponding token bucket, have in the described token bucket and bandwidth reserved is corresponding separately token.
5. method as claimed in claim 4 is characterized in that,
The residue bandwidth reserved that obtains the service traffics of the bandwidth reserved of the described service traffics that receive and higher priority according to the service identification information of the described service traffics that receive comprises: obtain token bucket corresponding to the described service traffics that receive according to the service identification information of the described service traffics that receive; Obtain the token more than needed in token bucket corresponding to the service traffics of all higher priority, described token more than needed is put into token bucket corresponding to the described service traffics that receive;
The residue bandwidth reserved of the bandwidth reserved by the described service traffics that receive and/or the service traffics of higher priority, send the bandwidth reserved that do not exceed the described service traffics that receive and described residue bandwidth reserved bandwidth and service traffics comprise: obtain in the described token bucket and the bandwidth reserved of the described service traffics that receive and the bandwidth that remains bandwidth reserved and corresponding described service traffics that receive of token transmission.
6. the equipment of a forwarding service flow for a plurality of service traffics arrange respectively bandwidth reserved, is characterized in that, this equipment comprises:
Receiving element is used for receiving the service traffics that send to described equipment;
Judging unit is connected with described receiving element, is used for judging whether the described service traffics that receive have bandwidth reserved;
Memory cell is used for the service identification information of storage service flow and the corresponding relation of bandwidth reserved;
Acquiring unit, be connected with memory cell with described judging unit, when being used for described service traffics and having bandwidth reserved, obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of described service traffics and higher priority according to the service identification information of described service traffics;
Retransmission unit is connected with described acquiring unit, the bandwidth of residue bandwidth reserved that is used for the service traffics of the bandwidth reserved of the described service traffics obtained according to described acquiring unit and/or higher priority send do not exceed described bandwidth and service traffics; Abandon or according to the strategy of configuration send the bandwidth exceed described bandwidth reserved and described residue bandwidth reserved and service traffics;
Wherein, described acquiring unit also is used for:
Obtain the priority tag information of described service traffics, the service traffics of priority treatment high priority;
If described service traffics have limit priority, then obtain the bandwidth reserved of these service traffics;
If described service traffics do not have limit priority, then obtain the residue bandwidth reserved of the service traffics of the bandwidth reserved of these service traffics and higher priority.
7. equipment as claimed in claim 6 is characterized in that, described acquiring unit also is used for:
When described service traffics do not have limit priority, obtain the residue bandwidth reserved of all service traffics of the priority that is higher than described service traffics.
8. equipment as claimed in claim 6 is characterized in that,
Described judging unit also is used for: judge the bandwidth reserved of the described service traffics that described acquiring unit obtains and higher priority service traffics the residue bandwidth reserved bandwidth and whether greater than the maximum Permissible bandwidth for described service traffics configuration;
Described retransmission unit also is used for: if the described bandwidth that described acquiring unit obtains and greater than described maximum Permissible bandwidth sends the service traffics that do not exceed described maximum Permissible bandwidth.
9. such as each described equipment among the claim 6-8, it is characterized in that,
Described memory cell also is used for: store the token bucket corresponding with described service traffics, have the token corresponding with each bandwidth reserved in the described token bucket.
10. equipment as claimed in claim 8 is characterized in that,
Described acquiring unit also is used for: obtain token bucket corresponding to described service traffics according to the service identification information of described service traffics; Obtain the token more than needed in token bucket corresponding to the service traffics of all higher priority, described token more than needed is put into token bucket corresponding to described service traffics;
Described retransmission unit also is used for: the token that obtains described token bucket sends service traffics.
CN2010101201404A 2010-03-09 2010-03-09 Method and apparatus for allocating reservation bandwidth of traffic Expired - Fee Related CN101808033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101201404A CN101808033B (en) 2010-03-09 2010-03-09 Method and apparatus for allocating reservation bandwidth of traffic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101201404A CN101808033B (en) 2010-03-09 2010-03-09 Method and apparatus for allocating reservation bandwidth of traffic

Publications (2)

Publication Number Publication Date
CN101808033A CN101808033A (en) 2010-08-18
CN101808033B true CN101808033B (en) 2013-04-17

Family

ID=42609655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101201404A Expired - Fee Related CN101808033B (en) 2010-03-09 2010-03-09 Method and apparatus for allocating reservation bandwidth of traffic

Country Status (1)

Country Link
CN (1) CN101808033B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420773A (en) * 2012-01-05 2012-04-18 北京网御星云信息技术有限公司 Token-bucket-algorithm-based data transmission method and traffic control device
CN102932272B (en) * 2012-11-23 2016-05-11 迈普通信技术股份有限公司 Message forwarding method based on uninterrupted and forwarding unit
CN104519021B (en) * 2013-09-29 2018-07-20 新华三技术有限公司 The method and device for preventing malicious traffic stream from attacking
CN105227488B (en) * 2015-08-25 2018-05-08 上海交通大学 A kind of network flow group scheduling method for distributed computer platforms
CN105847183A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Bandwidth distribution method of content distribution network and bandwidth distribution system of content distribution network
CN109391555B (en) * 2017-08-08 2022-08-12 迈普通信技术股份有限公司 Message scheduling method and device and communication equipment
CN110753004B (en) * 2019-10-18 2023-02-24 北京浪潮数据技术有限公司 Dynamic current limiting method, system and device for data transmission and readable storage medium
CN111327542A (en) * 2020-03-31 2020-06-23 新华三信息安全技术有限公司 Bandwidth reservation method and device
CN111935033B (en) * 2020-08-05 2022-11-25 上海映驰科技有限公司 Terminal flow reservation method, system and computer equipment for time sensitive flow
CN112600762B (en) * 2020-12-09 2023-01-10 西安邮电大学 Dynamic flow distribution method for accelerating EF service forwarding
CN112953848B (en) * 2021-03-12 2023-05-02 西安电子科技大学 Traffic supervision method, system and equipment based on strict priority
CN113726691A (en) * 2021-08-20 2021-11-30 北京字节跳动网络技术有限公司 Bandwidth reservation method, device, equipment and storage medium
CN113810306A (en) * 2021-09-07 2021-12-17 山石网科通信技术股份有限公司 Bandwidth allocation method and device, storage medium and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022356A (en) * 2006-02-16 2007-08-22 中兴通讯股份有限公司 ABIS interface bandwidth distributing system and method
CN101060473A (en) * 2006-04-20 2007-10-24 中兴通讯股份有限公司 A method for realizing the multicast/broadcast service resource reserve
CN101111070A (en) * 2006-08-18 2008-01-23 清华大学 Fairness resource scheduling method based on resource scheduling in broadband wireless access system
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow
CN101286946A (en) * 2008-05-30 2008-10-15 北京北方烽火科技有限公司 Method of service flow access control and bandwidth allocation based on OFDM system
CN101360063A (en) * 2008-09-10 2009-02-04 中国科学院计算技术研究所 Service stream transmission control method and system in IP network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022356A (en) * 2006-02-16 2007-08-22 中兴通讯股份有限公司 ABIS interface bandwidth distributing system and method
CN101060473A (en) * 2006-04-20 2007-10-24 中兴通讯股份有限公司 A method for realizing the multicast/broadcast service resource reserve
CN101111070A (en) * 2006-08-18 2008-01-23 清华大学 Fairness resource scheduling method based on resource scheduling in broadband wireless access system
CN101123587A (en) * 2007-09-13 2008-02-13 杭州华三通信技术有限公司 Traffic control method and device for switch service flow
CN101286946A (en) * 2008-05-30 2008-10-15 北京北方烽火科技有限公司 Method of service flow access control and bandwidth allocation based on OFDM system
CN101360063A (en) * 2008-09-10 2009-02-04 中国科学院计算技术研究所 Service stream transmission control method and system in IP network

Also Published As

Publication number Publication date
CN101808033A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN101808033B (en) Method and apparatus for allocating reservation bandwidth of traffic
EP0986216B1 (en) Transmission system, bandwidth management apparatus, and bandwidth management method
US20200120043A1 (en) Network control to improve bandwidth utilization and parameterized quality of service
CN1104124C (en) Process for transmitting data packets using ethermet from a first device to at least one other device
JP4403348B2 (en) Communication apparatus and communication method
US7864676B2 (en) Network cross-domain precedence and service quality conflict mitigation
CN107580340A (en) A kind of resource regulating method in V2X networks
US8553708B2 (en) Bandwith allocation method and routing device
US20080080380A1 (en) HIGH SPEED PLC NETWORK-ETHERNET BRIDGE SYSTEM SUPPORTING QoS
JP2003258806A (en) Method for allocating radio resource and base station
CN105634991B (en) Method and device for realizing service bandwidth allocation
CN110808920B (en) Satellite communication flow control method with coexistence of CCSDS frame and IP message
CN112583729B (en) Path flow distribution method, network equipment and network system
CN109962760B (en) Service scheduling method suitable for wireless TDMA ad hoc network
CN104918281B (en) A kind of method and device that data are sent
CN100505685C (en) Method for processing conversion require of network address/port in communication network
CN109743751B (en) Resource allocation method and device for wireless access network
CN102932275A (en) Priority message forwarding method applied to allowed time delay network
CN102868638A (en) Method and system for dynamically regulating bandwidth
CN113141590B (en) Industrial Internet of things-oriented wireless communication scheduling method and device
JP2007028035A (en) Communication service control system, method, and program
CN112600684A (en) Bandwidth management and configuration method of cloud service and related device
CN103354528B (en) Method and device for multi-stream synchronization
CN113329276B (en) Data transmission method, device, gateway, chip and storage medium
CN110519178B (en) Low-delay data processing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20130417

Termination date: 20200309