CN101808033A - 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
CN101808033A
CN101808033A CN201010120140A CN201010120140A CN101808033A CN 101808033 A CN101808033 A CN 101808033A CN 201010120140 A CN201010120140 A CN 201010120140A CN 201010120140 A CN201010120140 A CN 201010120140A CN 101808033 A CN101808033 A CN 101808033A
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.)
Granted
Application number
CN201010120140A
Other languages
Chinese (zh)
Other versions
CN101808033B (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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 big 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 takes place 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, client's bandwidth resources can not make full use of.
In the IP technical field,, often recommend to adopt RSVP to realize intserv model in conjunction with TE traffic engineering technology in order to realize RSVP.But RSVP (Resource Reservation Protocol, RSVP) and TE (Traffic Engineering, traffic engineering) art designs is equally comparatively complicated, can not realize the requirement of bandwidth sharing, thereby be difficult to accomplish making full use of of IP bandwidth.
Therefore,, no matter adopt the common Q oS queue technology of DiffServ, still adopt the TE traffic engineering technology of IntServ, all be difficult to accomplish simultaneously the specification requirement of RSVP and bandwidth sharing in the IP field of packet switching.
In the prior art, in the IP field of packet switching, by the 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 promptly is not set), directly continues to send, and does not need the processing through token bucket; If need carry out the message of flow control, then need to use token bucket to handle.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 configured strategy.
In actual applications, CAR can also carry out the mark of message, comprises being provided with or revising priority of messages.For example, when message met discharge characteristic (having disposed the flow of bandwidth reserved), it was 5 that priority of messages can be set, when message does not meet discharge characteristic, can dropping packets, and priority of messages also can be set is 1 and proceed to send.Like this, follow-up processing can guarantee as far as possible that loss priority not is 5 message, under 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.With the double-colored principle of single speed is example, and the enter the mouth bandwidth reserved of pre-configured 50M of router is comprising the 20M bandwidth of distributing for video flow be the 30M bandwidth of data traffic distribution.The flow that the router inlet 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 designated as red flow greater than the partial data flux scale of 30M, priority is 0.Carry out flow in the outlet of router according to the priority of flow and transmit, priority is that 2 the green flow of 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 handled according to configured strategy, carries out flow by the shared bandwidth formation and transmits.
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 be transmitted by shared 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 transmitting service traffics,, guarantee that priority service preferentially enters the bandwidth reserved formation, thereby definitely guarantee the dynamic utilized bandwidth of priority service by dynamic CAR technology.
The invention provides a kind of method of transmitting service traffics, be applied to be provided with respectively for a plurality of service traffics the equipment of bandwidth reserved, this 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, be 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;
The residue bandwidth reserved of the service traffics by described bandwidth reserved that sets in advance and/or higher priority, the bandwidth that does not exceed described bandwidth reserved that sets in advance and described residue bandwidth reserved that transmission receives and service traffics, abandon or according to configured strategy send 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 pre-configured bandwidth reserved of these service traffics and higher priority.
Described if the service traffics that receive do not have limit priority, the residue bandwidth reserved that then is retrieved as the service traffics of 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 permission bandwidth for the described service traffics configuration that receives; If, then send the service traffics that do not exceed described maximum permission bandwidth greater than the described maximum bandwidth that allows.
The service traffics of the described service traffics that receive, high priority or the service traffics of low priority have the corresponding token bucket respectively, have in the described token bucket and the bandwidth reserved corresponding token.
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 described service traffics corresponding token bucket that receives according to the service identification information of the described service traffics that receive; Obtain the token more than needed in the service traffics corresponding token bucket of higher priority, described token more than needed is put into the described service traffics corresponding token bucket that receives;
The residue bandwidth reserved of the service traffics by described bandwidth reserved that sets in advance or higher priority, send the bandwidth that does not exceed the described bandwidth reserved that sets in advance and described residue bandwidth reserved that receives and service traffics comprise: obtain in the described token bucket and bandwidth and the corresponding token transmission described service traffics that receive of the described bandwidth reserved that sets in advance with the residue bandwidth reserved.
The invention provides a kind of equipment of transmitting service traffics, for a plurality of service traffics are provided with bandwidth reserved respectively, this equipment comprises:
Receiving element is used to receive the service traffics that send to described equipment;
Judging unit is connected with described receiving element, is used to judge 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, the bandwidth and sending of residue bandwidth reserved that is used for the 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 do not exceed described bandwidth and service traffics; Abandon or according to configured strategy send exceed described bandwidth and service traffics.
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 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 the bandwidth of the residue bandwidth reserved of the bandwidth reserved of the described service traffics that are used to judge that described acquiring unit obtains and the service traffics of higher priority and whether allow bandwidth greater than maximum for described service traffics configuration with described acquiring unit;
Described retransmission unit also is used for: if the described bandwidth that described acquiring unit obtains and greater than the described maximum bandwidth that allows sends and do not exceed the described maximum service traffics that allow bandwidth.
Described memory cell also is used for: storage and described service traffics corresponding token bucket have in the described token bucket and the bandwidth reserved corresponding token.
Described acquiring unit also is used for: obtain described service traffics corresponding token bucket according to the service identification information of described service traffics; Obtain the token more than needed in the service traffics corresponding token bucket of higher priority, described token more than needed is put into described service traffics corresponding token bucket;
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, using the professional corresponding residue bandwidth reserved of bandwidth reserved corresponding with these service traffics and higher priority to carry out flow transmits, 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 a router incoming interface CAR configuration schematic diagram;
Fig. 4 is a 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: equipment carries out bandwidth reserved and transmits when disposing on interface, the priority of different bandwidth reserved business is set, for the bandwidth reserved business of high priority, if its flow less than bandwidth reserved, then will remain the bandwidth reserved business that bandwidth reserved is distributed to low priority.
The invention provides a kind of method of transmitting service traffics, be applied to be provided with respectively for a plurality of service traffics the equipment of bandwidth reserved, as shown in Figure 2, this 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 configured strategy transmission receives exceed described bandwidth and service traffics.
Introduce the method for forwarding service traffics provided by the invention in detail 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 discerned 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 bandwidth reserved 20M, 30M design respectively for video flow and data traffic, the bandwidth reserved of data flow is " a 30M+ video flowing residue bandwidth reserved ", for example, when the real-time traffic of video flow was 5M, its token number more than needed can dynamic assignment be given data flow, and 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 traffics 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.
Should only be video flowing and data flow configure reserved bandwidth with equipment in the scene, and with priority flag EXP5 and EXP2 video flowing and data flow be discerned 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 take, if the bandwidth that video flow need take less than the configuration bandwidth reserved 20M, equipment is put into green flow formation with video flow, sends by bandwidth reserved; If the bandwidth that video flow need take is greater than the bandwidth reserved 20M of configuration, then equipment abandons the video flow that exceeds the bandwidth reserved part according to configured strategy.Usually, the video flow bandwidth that need 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 promptly to distribute to data flow behind the device discovery video flowing residue bandwidth reserved.
Concrete, behind the equipment receiver, video flow, search video flow corresponding token bucket, the token that obtains wherein carries out the flow forwarding.The bandwidth that need 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 all being transmitted in the token bucket of back, video flow has token more than needed, 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 promptly to distribute to data flow behind the device discovery video flowing residue bandwidth reserved.
Step 403, device learns service traffics are data traffic, transmit data traffic according to the residue bandwidth reserved of bandwidth reserved that disposes for data traffic and video flow.
Concrete, if existing video flow has data traffic again in the flow that equipment receives, equipment is transmitted two kinds of service traffics respectively 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; Equipment is searched the bandwidth reserved forwarding data traffic of data traffic correspondence then, this bandwidth reserved be the bandwidth reserved of pre-configured data traffic and video flow residue bandwidth reserved and, comprise that promptly equipment is the token of data traffic configuration and the residue token of transmitting video flow this moment in the data traffic corresponding token bucket.Transmit in this token bucket video flow the residue token 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 is gone into green flow buffer queue, and red flow directly abandons; If video flow is lower than 20M, the token quantity part of reserving for this formation more than needed is distributed to data flow so; 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 has only data traffic, then equipment at first obtains the 20M bandwidth reserved of video flow correspondence for data traffic, be data traffic corresponding token bucket and obtain whole tokens of video flow correspondence, at this moment, the token that the token that has 50M in the data traffic corresponding token bucket, equipment obtain in the data traffic corresponding token bucket carries out the forwarding of data traffic.
In the application scenarios of the present invention, the maximum that service traffics can also be set according to actual needs allows bandwidth, and the maximum permission 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 pairing bandwidth reserved of data traffic is 40M to the maximum, rather than 50M.
Introduce the method for forwarding service traffics 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 priority tag 5,2 and 1 respectively, 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 then the residue token of video flow correspondence is 5M.Equipment will remain the 5M token and distribute to token bucket B, perhaps when transmitting data traffic, obtain the 5M residue token of video flow correspondence, have 25M token among the token bucket B this moment, and in fact the data traffic bandwidth that need take is 15M, so after the device forwards data traffic, the residue token of data traffic correspondence is 10M, and equipment is distributed to the 3rd service traffics corresponding token bucket C with this 10M token, and perhaps equipment obtains the 10M residue token of data traffic correspondence when transmitting the 3rd service traffics.If it is 25M that the maximum that token bucket C is provided with 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, the bandwidth reserved of the priority of equipment disposition different business and each priority correspondence, using the professional corresponding residue bandwidth reserved of bandwidth reserved corresponding with service traffics and higher priority to carry out flow transmits, 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 transmitting service traffics, for a plurality of service traffics are provided with bandwidth reserved respectively, as shown in Figure 5, this equipment comprises:
Receiving element 11 is used to receive the service traffics that send to described equipment.
Judging unit 12 is connected with described receiving element 11, is used to judge whether the described service traffics that receive have bandwidth reserved.The bandwidth of the residue bandwidth reserved of the bandwidth reserved of the described service traffics that this judging unit 12 also is used to judge that described acquiring unit obtains and the service traffics of higher priority and whether allow bandwidth greater than maximum for described service traffics configuration.
Memory cell 13 is used for the service identification information of storage service flow and the corresponding relation of bandwidth reserved.
Acquiring unit 14, be connected with memory cell 13 with described judging unit 12, 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 configured strategy 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 the described maximum bandwidth that allows, and sends not exceed the described maximum service traffics that allow bandwidth.
In the equipment provided by the invention, the memory cell 13 storages bandwidth reserved corresponding with service traffics is specifically as follows storage and service traffics corresponding token bucket, places and the bandwidth reserved corresponding token in the described token bucket.Accordingly, acquiring unit 14 obtains described service traffics corresponding token bucket according to the service identification information of described service traffics, and obtain token more than needed in the service traffics corresponding token bucket of all higher priority, described token more than needed is put into described service traffics corresponding token bucket; The token that described retransmission unit 15 obtains in the described token bucket sends service traffics.
By adopting equipment provided by the invention, the priority of configuration different business and the bandwidth reserved of each priority correspondence, using the professional corresponding residue bandwidth reserved of bandwidth reserved corresponding with service traffics and higher priority to carry out flow transmits, 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 under 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 a 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, 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 the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented 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, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (12)

1. method of transmitting service traffics is applied to be provided with respectively for a plurality of service traffics the equipment of bandwidth reserved, it is characterized in that this 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 configured strategy transmission receives exceed described bandwidth and service traffics.
2. the method for claim 1 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 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.
3. method as claimed in claim 2 is characterized in that, and is described if the service traffics that receive do not have limit priority, and 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.
4. 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:
Whether the bandwidth reserved of judging the described service traffics that receive is with the bandwidth of residue bandwidth reserved with greater than the maximum permission bandwidth for the described service traffics configuration that receives; If, then send the service traffics that do not exceed described maximum permission bandwidth greater than the described maximum bandwidth that allows.
5. as each described method among the claim 1-4, 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 the corresponding token bucket respectively, have in the described token bucket and bandwidth reserved corresponding token separately.
6. method as claimed in claim 5 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 the described service traffics corresponding token bucket that receives according to the service identification information of the described service traffics that receive; Obtain the token more than needed in the service traffics corresponding token bucket of all higher priority, described token more than needed is put into the described service traffics corresponding token bucket that receives;
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 bandwidth and the described service traffics that receive of corresponding token transmission with bandwidth reserved with the residue bandwidth reserved of the described service traffics that receive.
7. an equipment of transmitting service traffics for a plurality of service traffics are provided with bandwidth reserved respectively, is characterized in that, this equipment comprises:
Receiving element is used to receive the service traffics that send to described equipment;
Judging unit is connected with described receiving element, is used to judge 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 configured strategy send the bandwidth exceed described bandwidth reserved and described residue bandwidth reserved and service traffics.
8. equipment as claimed in claim 7 is characterized in that, 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.
9. equipment as claimed in claim 8 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.
10. equipment as claimed in claim 7 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 allow bandwidth greater than maximum for described service traffics configuration;
Described retransmission unit also is used for: if the described bandwidth that described acquiring unit obtains and greater than the described maximum bandwidth that allows sends and do not exceed the described maximum service traffics that allow bandwidth.
11. as each described equipment among the claim 7-10, it is characterized in that,
Described memory cell also is used for: storage and described service traffics corresponding token bucket have in the described token bucket and each bandwidth reserved corresponding token.
12. equipment as claimed in claim 11 is characterized in that,
Described acquiring unit also is used for: obtain described service traffics corresponding token bucket according to the service identification information of described service traffics; Obtain the token more than needed in the service traffics corresponding token bucket of all higher priority, described token more than needed is put into described service traffics corresponding token bucket;
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 true CN101808033A (en) 2010-08-18
CN101808033B 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)

Cited By (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
CN102932272A (en) * 2012-11-23 2013-02-13 迈普通信技术股份有限公司 Message forwarding method and forwarding device based on flow capacity
CN104519021A (en) * 2013-09-29 2015-04-15 杭州华三通信技术有限公司 Method and device for preventing malicious traffic attack
CN105847183A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Bandwidth distribution method of content distribution network and bandwidth distribution system of content distribution network
WO2017032157A1 (en) * 2015-08-25 2017-03-02 上海交通大学 Coflow scheduling method for distributed computer platform
CN109391555A (en) * 2017-08-08 2019-02-26 迈普通信技术股份有限公司 Method for dispatching message, device and communication equipment
CN110753004A (en) * 2019-10-18 2020-02-04 北京浪潮数据技术有限公司 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
CN111935033A (en) * 2020-08-05 2020-11-13 上海映驰科技有限公司 Terminal flow reservation method, system and computer equipment for time sensitive flow
CN112600762A (en) * 2020-12-09 2021-04-02 西安邮电大学 Dynamic flow distribution method for accelerating EF service forwarding
CN112953848A (en) * 2021-03-12 2021-06-11 西安电子科技大学 Strict priority based traffic supervision method, system and equipment
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

Cited By (18)

* 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
CN102932272A (en) * 2012-11-23 2013-02-13 迈普通信技术股份有限公司 Message forwarding method and forwarding device based on flow capacity
CN104519021A (en) * 2013-09-29 2015-04-15 杭州华三通信技术有限公司 Method and device for preventing malicious traffic attack
WO2017032157A1 (en) * 2015-08-25 2017-03-02 上海交通大学 Coflow scheduling method for distributed computer platform
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
CN109391555A (en) * 2017-08-08 2019-02-26 迈普通信技术股份有限公司 Method for dispatching message, device and communication equipment
CN110753004A (en) * 2019-10-18 2020-02-04 北京浪潮数据技术有限公司 Dynamic current limiting method, system and device for data transmission and readable storage medium
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
CN111935033A (en) * 2020-08-05 2020-11-13 上海映驰科技有限公司 Terminal flow reservation method, system and computer equipment for time sensitive flow
CN111935033B (en) * 2020-08-05 2022-11-25 上海映驰科技有限公司 Terminal flow reservation method, system and computer equipment for time sensitive flow
CN112600762A (en) * 2020-12-09 2021-04-02 西安邮电大学 Dynamic flow distribution method for accelerating EF service forwarding
CN112953848A (en) * 2021-03-12 2021-06-11 西安电子科技大学 Strict priority based traffic supervision method, system and equipment
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
CN113726691B (en) * 2021-08-20 2024-04-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

Also Published As

Publication number Publication date
CN101808033B (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN101808033B (en) Method and apparatus for allocating reservation bandwidth of traffic
CN1104124C (en) Process for transmitting data packets using ethermet from a first device to at least one other device
CN107580340A (en) A kind of resource regulating method in V2X networks
US8553708B2 (en) Bandwith allocation method and routing device
KR101354130B1 (en) Method for transmitting and receiving the frame in wireless LAN
CN1750517B (en) Method for realizing service wide band warranty
CN110808920B (en) Satellite communication flow control method with coexistence of CCSDS frame and IP message
US20120027024A1 (en) Zero-Setting Network Quality Service System
CN100505685C (en) Method for processing conversion require of network address/port in communication network
CN109981488B (en) Scheduling method and device
CN109962760B (en) Service scheduling method suitable for wireless TDMA ad hoc network
CN101616097A (en) A kind of management method of output port queue of network processor and system
CN101436987A (en) Method and apparatus for scheduling and configuring QoS service
CN112583729B (en) Path flow distribution method, network equipment and network system
CN102932275A (en) Priority message forwarding method applied to allowed time delay network
CN101212467B (en) MPLS network service scheduling method
CN110519178B (en) Low-delay data processing method, device and system
EP2997762B1 (en) Method and system for providing deterministic quality of service for communication devices
EP1983695B1 (en) A method, an apparatus and a system for controlling the uplink traffic of the access network
CN101212412A (en) MPLS network service scheduling system
CN102780630A (en) Method and equipment for realizing QoS (Quality of Service) queue based on FPGA (Field Programmable Gate Array) queue
RU2598293C1 (en) Method and apparatus for transmitting standard configuration data of improved system of selecting a transmitting protocol
CN102904836A (en) Real-time service time slot encapsulating method for multi-frequency time-division multiple-address access system
De Rango et al. GCAD: A novel call admission control algorithm in IEEE 802.16 based Wireless Mesh Networks
CN110493822B (en) Point-to-multipoint communication 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

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.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130417

Termination date: 20200309

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