CN101478495B - Flow limitation method and apparatus - Google Patents

Flow limitation method and apparatus Download PDF

Info

Publication number
CN101478495B
CN101478495B CN2009100767741A CN200910076774A CN101478495B CN 101478495 B CN101478495 B CN 101478495B CN 2009100767741 A CN2009100767741 A CN 2009100767741A CN 200910076774 A CN200910076774 A CN 200910076774A CN 101478495 B CN101478495 B CN 101478495B
Authority
CN
China
Prior art keywords
tunnel
sub
priority
bandwidth
flow
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
CN2009100767741A
Other languages
Chinese (zh)
Other versions
CN101478495A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009100767741A priority Critical patent/CN101478495B/en
Publication of CN101478495A publication Critical patent/CN101478495A/en
Application granted granted Critical
Publication of CN101478495B publication Critical patent/CN101478495B/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 embodiment of the invention relates to a traffic limiting method and a device. The traffic limiting method comprises the following steps: acquiring the traffic of sub-tunnels, a plurality of sub-tunnels being bound to one main tunnel; and limiting the traffic of the main tunnel in a first bandwidth of the main tunnel according to the correlative priorities of the sub-tunnels, namely, according to service priority of the sub-tunnels, the priority of the sub-tunnels or the priority of the sub-tunnel group, when the traffic of the main tunnel exceeds the first bandwidth, discarding the service in the sub-tunnels, the sub-tunnels or the sub-tunnel group according to an order from high to low of the priority, limiting the traffic of the main tunnel within the first bandwidth, wherein the traffic of the main tunnel is the traffic summation of all of the sub-tunnels; and the first bandwidth is the largest bandwidth of the main tunnel. In the embodiment, the main tunnel can achieve traffic limitation and management of the sub-tunnels according to the correlative priorities of the sub-tunnels, thereby ensuring successful transmission of traffic with higher priority.

Description

Flow limitation method and device
Technical field
The embodiment of the invention relates to communication technical field, particularly a kind of flow limitation method and device.
Background technology
Along with the accelerated development of network, tunneling technique is more and more used widely.Converge traffic engineering (the Traffic Engineering that fringe node is set up at the server node; Hereinafter to be referred as: TE), the traffic engineering tunnel that makes all fringe node foundation can be simplified the core net session status by a main tunnel unified management, utilizes the quick heavy-route of TE (Fast Reroute; Hereinafter to be referred as: FRR) protect.
Existing tunnel binding technology is generally at user side edge device (User-end Provider Edge; Hereinafter to be referred as: set up two tunnels (TE1 and TE2) UPE), at network side edge device (Network Provider Edge; Hereinafter to be referred as: set up a tunnel (TE3) NPE).On the NPE TE1 and TE2 being bundled on the TE3, come unified management TE1 and TE2 by TE3, then TE3 is that main tunnel, TE1 and TE2 are sub-tunnel.Having the bandwidth inspection method that on NPE TE is bundled now is: the bandwidth sum in all sub-tunnels must be less than or equal to the bandwidth in main tunnel.Then can not be bundled on the main tunnel in this sub-tunnel as the bandwidth sum in fruit tunnel bandwidth greater than main tunnel.For example: the bandwidth of TE3 is 100Mbps, when the bandwidth of TE1 is the bandwidth of 50Mbps, TE2 when being 50Mbps, can be bundled into TE1 and TE2 on the TE3 on the NPE.But, will can not bundle because of the bandwidth deficiency of main tunnel TE3 if having a TE4 need be bundled on the TE3 again.Because main tunnel is the bandwidth in simple antithetical phrase tunnel to be done and distribute and check, the sub-tunnel of distributing bandwidth also takies the bandwidth resources in main tunnel when not having flow not moving business.
Existing be bundled into sub-tunnel in the main tunnel after, sub-tunnel just directly according to the bandwidth for transmission business that is assigned to, is unfavorable for that the flow in the antithetical phrase tunnel, main tunnel manages.
Summary of the invention
The embodiment of the invention provides a kind of flow limitation method and device, in order to solve the problem of traffic management inconvenience in the antithetical phrase tunnel, main tunnel.
The embodiment of the invention provides a kind of flow limitation method, comprising:
On main tunnel, set in advance the convergence ratio of sub-tunnel and main tunnel binding, described sub-tunnel is bundled on the described main tunnel according to described convergence ratio;
Obtain the flow in sub-tunnel, a plurality of described sub-tunnels are bundled in a main tunnel;
According to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, be specially: according to the service priority in sub-tunnel, the priority of the priority in sub-tunnel or sub-tunnel group, when the flow in main tunnel exceeds first bandwidth, abandon business in the sub-tunnel according to priority order from low to high, sub-tunnel or sub-tunnel group, with the flow restriction in main tunnel in first bandwidth, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
The embodiment of the invention also provides a kind of flow rate limiting device, comprising:
Bonding module, is bundled into described main tunnel with described sub-tunnel at the convergence ratio that is used for bundling according to the sub-tunnel that sets in advance and main tunnel;
Acquisition module is used to obtain the flow in sub-tunnel, and a plurality of described sub-tunnels are bundled in a main tunnel;
The flow restriction module, be used for according to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, be specially: according to the service priority in sub-tunnel, the priority of the priority in sub-tunnel or sub-tunnel group, when the flow in main tunnel exceeds first bandwidth, abandon business in the sub-tunnel according to priority order from low to high, sub-tunnel or sub-tunnel group, with the flow restriction in main tunnel in first bandwidth, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
The embodiment of the invention provides a kind of flow limitation method and device, and main tunnel can be realized the restriction and the management of flow in the antithetical phrase tunnel according to the relevant priority in sub-tunnel, has guaranteed that the high flow of priority can successfully transmit.
Description of drawings
Fig. 1 is the flow chart of flow limitation method embodiment of the present invention;
Fig. 2 is the flow chart of flow limitation method embodiment situation one of the present invention;
Fig. 3 is the flow chart of flow limitation method embodiment situation two of the present invention;
Fig. 4 is the structural representation of flow rate limiting device first embodiment of the present invention;
Fig. 5 is the structural representation of flow rate limiting device second embodiment of the present invention;
Fig. 6 is the application scenarios schematic diagram of flow control methods of the present invention;
Fig. 7 is the schematic diagram of flow control methods neutron of the present invention tunnel group.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 1 is the flow chart of flow limitation method embodiment of the present invention.As shown in Figure 1, this flow limitation method may further comprise the steps:
Step 101, obtain the flow in sub-tunnel, a plurality of described sub-tunnels belong to a main tunnel.
In communication network, the network equipment for example NPE can detect each sub-tunnel, and the flow that obtains each sub-tunnel is the data volume that per second passes through in the sub-tunnel.Before obtaining flow, can set up a plurality of sub-tunnels according to the difference of concrete business, and should be bundled in the main tunnel in a plurality of sub-tunnels, common way be the private network tunnel that will set up between the UPE as sub-tunnel, with the public network tunnel set up between the NPE as main tunnel.But do not get rid of main tunnel is that private network tunnel, sub-tunnel are the public network tunnel, and perhaps main tunnel and sub-tunnel are all the situation in private network tunnel or public network tunnel.Be that the private network tunnel set up between main tunnel, the UPE is that the situation in sub-tunnel is that example describes with the public network tunnel of setting up between the NPE in the present embodiment.
A plurality of sub-tunnels are bundled into a method on the main tunnel to be had multiple.When wherein the flow in existing main tunnel is 100Mbps, sub-tunnel can only bundle the 100Mbps total bandwidth, even distribute the bandwidth resources that also take main tunnel when the sub-tunnel of bandwidth does not have flow not moving business, and the flow in other sub-tunnels can't be assigned to the bandwidth resources in main tunnel, thereby has caused the waste of main tunnel bandwidth resource.NPE can be bundled in a plurality of sub-tunnels on the main tunnel according to the convergence ratio of sub-tunnel and the binding of main tunnel in the present embodiment.Convergence ratio is meant the ratio of first bandwidth in the bandwidth sum in all sub-tunnels that can be bundled in the main tunnel and main tunnel, and first bandwidth is the maximum bandwidth value in main tunnel.Wherein convergence ratio can be " 2: 1 ", " 3: 1 ", " 4: 1 " etc., and convergence ratio can set in advance on NPE according to the professional transfer bandwidth demand of reality.According to the needs of concrete business, the size of adjusting the last convergence ratio of NPE just can be controlled the total bandwidth in the sub-tunnel that is bundled into main tunnel flexibly.Fig. 6 is the application scenarios schematic diagram of flow control methods of the present invention.As shown in Figure 6, first bandwidth of supposing the main tunnel FE3 that sets up between NPE is 100Mbps, the sub-tunnel TE1 that sets up between UPE, the 3rd bandwidth of TE2, TE4 are respectively 50Mbps, 50Mbps, 100Mbps, and wherein the 3rd bandwidth is meant the maximum bandwidth value in each sub-tunnel.If convergence ratio is " 2: 1 ", then can be that sub-tunnel TE1, TE2 and the TE4 of 200Mbps is bundled on the main tunnel with total bandwidth.If the flow sum in all sub-tunnels, for example: among TE1, TE2 and the TE4 all flow sum less than 100Mbps then this TE3 can export normally, but, then need the flow in neutron tunnel, main tunnel is limited if the flow sum in all sub-tunnels surpasses the bandwidth constraints value in main tunnel.
Step 102, according to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
In fact the flow sum in all sub-tunnels is exactly the flow in main tunnel in the main tunnel, when the flow in main tunnel during greater than first bandwidth in main tunnel, need abandon a part of flow can with the flow restriction in main tunnel first bandwidth in.Can abandon which partial discharge according to the relevant priority decision in sub-tunnel.The priority that its neutron tunnel is relevant can comprise: the multiple priority such as priority of the service priority in sub-tunnel, the priority in sub-tunnel and sub-tunnel group.The priority that sub-tunnel is relevant can set in advance.According to the priority in the service priority in sub-tunnel, sub-tunnel or the priority of sub-tunnel group, can exceed first bandwidth at the flow in main tunnel, abandon the business in the sub-tunnel, sub-tunnel or sub-tunnel group according to priority order from low to high, with the flow restriction in main tunnel in first bandwidth.
Wherein, NPE can be divided into the sub-tunnel in the main tunnel different sub-tunnel groups.Fig. 7 is the schematic diagram of flow control methods neutron of the present invention tunnel group, as shown in Figure 7, comprising in the main tunnel 75 can a plurality of sub-tunnels group 71, comprises at least one sub-tunnel 73 in each sub-tunnel group 71, is further limited according to the flow in 71 pairs of main tunnels 75 of group, sub-tunnel.The type in its neutron tunnel 73 can be the user scope in this sub-tunnel, user class, type of service, amount of bandwidth, service quality etc.Can comprise a plurality of professionally 77 in each sub-tunnel 73, can comprise a plurality of sub-tunnels 73 in each sub-tunnel group 71, can comprise a plurality of sub-tunnels group 71 and/or a plurality of sub-tunnel 73 in each main tunnel 75.
In step 102, NPE can be divided into following several situation according to the method that the relevant priority in different sub-tunnels limits the flow in main tunnel:
Situation one, the priority that sub-tunnel is relevant are the service priority in sub-tunnel.Fig. 2 is the flow chart of flow limitation method embodiment situation one of the present invention, and as shown in Figure 2, step 102 can comprise following any one or a plurality of step:
Step 201, according to the service priority in described sub-tunnel with the flow restriction in described sub-tunnel in the 3rd bandwidth in described sub-tunnel, described the 3rd bandwidth is the maximum bandwidth value in each described sub-tunnel.
Because all there is i.e. the 3rd bandwidth of a maximum bandwidth value in each sub-tunnel, business that can first antithetical phrase tunnel internal is done bandwidth constraints one time, promptly in advance with each delineation of activities priority of sub-tunnel internal, can preferentially successfully transmit to guarantee the high business of priority.Particularly, when the flow that detects this sub-tunnel exceeds the 3rd bandwidth,, abandon the business of the low priority in the sub-tunnel earlier, till the flow in each sub-tunnel is less than or equal to the 3rd bandwidth in sub-tunnel according to service priority order from low to high.After the flow restriction in each sub-tunnel is in the 3rd bandwidth in sub-tunnel, can prevent that the flow in sub-tunnel from exceeding the maximum bandwidth value that transmits in sub-tunnel, also can limit the flow that from main tunnel, transmits to a certain extent simultaneously.For example: the 3rd bandwidth of sub-tunnel TE1 and TE2 all is 50M, but need be through the flow of the transmission of TE1 and TE2 for being respectively 60Mbps and 40Mbps, then will abandon 10Mbps through the lower business of service priority in the sub-tunnel of TE1, other business could normally transmit from TE1, TE2.
Step 202, according to the service priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described second bandwidth is the maximum bandwidth value of described sub-tunnel group, described sub-tunnel group comprises at least one described sub-tunnel, and the flow of described sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group.
Each sub-tunnel group can set in advance i.e. second bandwidth of a maximum bandwidth value.After the execution in step 201, NPE can also detect and obtain the flow and second bandwidth of sub-tunnel group, if the flow of this sub-tunnel group promptly the flow sum in interior all the sub-tunnels of this sub-tunnel group do not exceed second bandwidth, then the business in sub-tunnel can normal transmission; If the flow of this sub-tunnel group exceeds second bandwidth, then execution in step 202 according to the service priority in sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth, be specially: according to the service priority order from low to high in sub-tunnel, abandon the low business of priority in sub-tunnel in the sub-tunnel group earlier, till the flow of each sub-tunnel group is less than or equal to second bandwidth in sub-tunnel, can guarantee the successful transmission of the business that the priority in sub-tunnel is high.The flow of its neutron tunnel group is the flow sum in all sub-tunnels in the sub-tunnel group.For example: sub-tunnel TE1 and TE2 belong to same sub-tunnel group TE12, the 3rd bandwidth of TE1 and TE2 all is 50Mbps, second bandwidth of TE12 is 70Mbps, after execution in step 201, when the flow of TE1 and TE2 was limited in 50Mbps and 40Mbps respectively, the flow sum of TE1 and TE2 was 90Mbps, greater than the second bandwidth 70Mbps, after will abandoning 20Mbps through the lower business of service priority in the sub-tunnel of TE1, other business could be from TE1, TE2, TE12 normal transmission.
Wherein, the second bandwidth sum of the sub-tunnel of all in main tunnel group can have certain relation with first bandwidth in main tunnel, for example: when the second bandwidth sum of each sub-tunnel group is less than or equal to first bandwidth, just can guarantee after the execution in step 202 that the business that priority is high in the sub-tunnel successfully transmits.In addition, if execution in step 201 not, behind the flow in all sub-tunnels that obtain according to step 101, calculate the flow of each sub-tunnel group, relatively whether the flow of each sub-tunnel group exceeds second bandwidth, execution in step 202 when the flow of this sub-tunnel group exceeds second bandwidth then.
Step 203, according to the service priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth.
After execution of step 201, whether the flow sum of judging all sub-tunnels in the main tunnel i.e. flow in main tunnel exceeds first bandwidth; Perhaps after execution of step 202, whether the flow sum of judging all sub-tunnel groups in the main tunnel i.e. flow in main tunnel exceeds first bandwidth, if exceed, again according to the service priority in sub-tunnel with the flow restriction in main tunnel in first bandwidth.Be specially: if the flow in main tunnel is greater than first bandwidth, then can abandon the low business of priority in sub-tunnel in the main tunnel according to the service priority order from low to high in sub-tunnel, till the flow in main tunnel is less than or equal to first bandwidth in main tunnel, can successfully transmit to guarantee the business that priority is high in the sub-tunnel.Certainly, also not execution in step 201, step 202, when the flow sum in all sub-tunnels in the main tunnel during greater than first bandwidth, directly according to the service priority in sub-tunnel with the flow restriction in main tunnel in first bandwidth.
Step 201 in situation one, 202,203 can not have sequential relationship, and any one step can be carried out separately or carry out jointly with other steps.
Situation two, the priority that sub-tunnel is relevant are the priority in sub-tunnel.Fig. 3 is the flow chart of flow limitation method embodiment situation two of the present invention, and as shown in Figure 3, step 102 can comprise following any one or a plurality of step:
Step 301, according to the priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described second bandwidth is the maximum bandwidth value of described sub-tunnel group.
Because when the sub-tunnel in the main tunnel was divided into sub-tunnel group, sub-tunnel group comprised at least one described sub-tunnel, the flow of sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group.Can set in advance the priority in sub-tunnel, promptly priority is distinguished in each sub-tunnel.Then according to the priority in described sub-tunnel with the flow restriction of sub-tunnel group at the maximum bandwidth value of described sub-tunnel group promptly in second bandwidth, described sub-tunnel group comprises at least one described sub-tunnel.Be specially: the flow of group tunnel group is during greater than second bandwidth, the low sub-tunnel of priority order loss priority from low to high according to sub-tunnel, up to till the flow restriction of sub-tunnel group is in second bandwidth, wherein abandon sub-tunnel and be meant all business in this sub-tunnel that abandon.For example: sub-tunnel TE1 and TE2 belong to same sub-tunnel group TE12, the flow of TE1 and TE2 is respectively 60Mbps and 40Mbps, second bandwidth of TE12 is 70Mbps, the priority of TE1 is high, the priority of TE2 is inferior high, then NPE selection this moment abandons the business of the 40Mbps flow of TE2, the business of the 60Mbps flow of transmission TE1.
Step 302, according to the priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth.
After execution in step 301, detect the flow in main tunnel, if the flow in main tunnel exceeds first bandwidth, then can also according to the priority in sub-tunnel with the flow restriction in main tunnel in first bandwidth.Be specially:, then can abandon the low sub-tunnel of priority in the main tunnel according to the priority order from low to high in sub-tunnel, till the flow in main tunnel is less than or equal to first bandwidth in main tunnel if the flow in main tunnel exceeds first bandwidth.
Wherein step 301,302 can not have sequential relationship yet, and any one step can be carried out separately or carry out simultaneously with other steps.Also execution in step 301 not directly detects and obtains the flow and first bandwidth in main tunnel, and execution in step 302 when the flow in main tunnel exceeded first bandwidth.
Situation three, the priority that sub-tunnel is relevant are set to the priority of sub-tunnel group.Be each sub-tunnel group differentiation priority.Then according to the priority of described sub-tunnel group, with the flow restriction in described main tunnel in described first bandwidth.The flow in main tunnel is specially: if then can abandon the sub-tunnel group in the main tunnel according to the priority order from low to high of sub-tunnel group, till the flow in main tunnel is less than or equal to first bandwidth in main tunnel greater than first bandwidth.The implication that wherein abandons sub-tunnel group is all sub-tunnels that abandon in the sub-tunnel group.According to the priority of sub-tunnel group with the flow restriction in main tunnel in first bandwidth in main tunnel, can guarantee that the business in all sub-tunnels in the high sub-tunnel group of priority can successfully be transmitted.
Present embodiment has guaranteed that the high business of priority can successfully transmit in flow restriction flow restriction first bandwidth in main tunnel in second bandwidth, main tunnel of flow restriction in the 3rd bandwidth, sub-tunnel group of service priority information with sub-tunnel according to sub-tunnel; Priority according to business, sub-tunnel, sub-tunnel group etc. is carried out the multilayer flow restriction, helps user's business is carried out hierarchical control and management; By carrying out flow restriction after on the network equipment in main tunnel convergence ratio being set setting up, can increase the total bandwidth that is bundled into the sub-tunnel on the main tunnel, thereby increase the total flow of passing through in the main tunnel, improve the utilance of bandwidth resources in the main tunnel.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 4 is the structural representation of flow rate limiting device first embodiment of the present invention, and as shown in Figure 4, this flow rate limiting device comprises: acquisition module 41 and flow restriction module 43.Wherein acquisition module 41 is used to obtain the flow in sub-tunnel, and a plurality of described sub-tunnels belong to a main tunnel; Flow restriction module 43 be used for according to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
Particularly, a plurality of sub-tunnels can be bundled on the main tunnel according to certain convergence ratio in advance.Wherein the setting of convergence ratio and application process can be with reference to description and the Fig. 6 among the flow limitation method embodiment of the present invention.Acquisition module 41 can detect each sub-tunnel, to obtain the flow in each sub-tunnel, also can detect or calculate the information such as flow sum in all sub-tunnels, can also obtain the information such as first bandwidth in main tunnel.The flow sum in all sub-tunnels is the flow in main tunnel, when the flow in main tunnel during greater than first bandwidth in main tunnel, flow restriction module 43 need abandon a part of flow with the flow restriction in main tunnel first bandwidth in.Which partial discharge is flow restriction module 43 can abandon according to the relevant priority decision in sub-tunnel.The priority that its neutron tunnel is relevant can comprise: the multiple priority such as priority of the service priority in sub-tunnel, the priority in sub-tunnel and sub-tunnel group.The priority that sub-tunnel is relevant can set in advance.According to the priority in the service priority in sub-tunnel, sub-tunnel or the priority of sub-tunnel group, flow restriction module 43 can exceed first bandwidth at the flow in main tunnel, abandon the business in the sub-tunnel, sub-tunnel or sub-tunnel group according to priority order from low to high, with the flow restriction in main tunnel in first bandwidth.Wherein abandon the business in the sub-tunnel, sub-tunnel or sub-tunnel group, the method for flow restriction in first bandwidth in main tunnel can not repeated them here with reference to the associated description among the aforesaid flow limitation method embodiment of the present invention.
After the present embodiment acquisition module obtains sub-tunnel traffic, the flow restriction module according to the relevant priority in sub-tunnel with the flow restriction in main tunnel in first bandwidth in main tunnel, realized the management of flow in the antithetical phrase tunnel, main tunnel, guaranteed that the high flow of priority can successfully transmit.
Fig. 5 is the structural representation of flow rate limiting device second embodiment of the present invention.As shown in Figure 5, on the basis of flow rate limiting device first embodiment of the present invention, flow restriction module 43 can comprise any or multinomial in first limiting unit 51, second limiting unit 53 and the 3rd limiting unit 55.Wherein first limiting unit 51 is used for if the relevant priority in described sub-tunnel is the service priority in sub-tunnel, then according to the service priority in described sub-tunnel with the flow restriction in described sub-tunnel in the 3rd bandwidth in described sub-tunnel, described the 3rd bandwidth is the maximum bandwidth value in described sub-tunnel; And/or according to the service priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described second bandwidth is the maximum bandwidth value of described sub-tunnel group; And/or according to the service priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth, described sub-tunnel group comprises at least one described sub-tunnel, and the flow of described sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group.Second limiting unit 53 is used for if the relevant priority in described sub-tunnel is the priority in sub-tunnel, then according to the priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group; And/or according to the priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth.The 3rd limiting unit 55 is used for if described priority is the priority of sub-tunnel group, then according to the priority of described sub-tunnel group, with the flow restriction in described main tunnel in described first bandwidth.Further, this flow rate limiting device can also comprise: presetting module 45 and/or bonding module 47.Wherein presetting module 45 is used to set in advance the relevant priority in described sub-tunnel, and described priority comprises the priority in the service priority in sub-tunnel, sub-tunnel or the priority of sub-tunnel group, and described sub-tunnel group comprises at least one described sub-tunnel.Bonding module 47 is used for according to the convergence ratio of described sub-tunnel that sets in advance and described main tunnel binding, described sub-tunnel is bundled into described main tunnel.
Particularly, the convergence ratio in the time of on flow rate limiting device, can setting in advance the binding of sub-tunnel and main tunnel, bonding module 47 is bundled into sub-tunnel on the main tunnel according to described convergence ratio then.Presetting module 45 can set in advance the relevant priority in sub-tunnel, and described priority comprises the priority in the service priority in sub-tunnel, sub-tunnel or the priority of sub-tunnel group, and described sub-tunnel group comprises at least one described sub-tunnel.Acquisition module 41 can detect each sub-tunnel, to obtain the flow in each sub-tunnel, also can detect or calculate the information such as flow in sub-tunnel group, main tunnel, can also obtain second bandwidth of the 3rd bandwidth in sub-tunnel, sub-tunnel group and the information such as first bandwidth in main tunnel.
When the priority that the group tunnel is relevant is the service priority in sub-tunnel, when if the flow that acquisition module 41 detects sub-tunnel exceeds the 3rd bandwidth in sub-tunnel, then first limiting unit 51 of flow restriction module 43 abandons the low business of priority in the sub-tunnel according to the service priority order from low to high in sub-tunnel, flow in sub-tunnel less than the 3rd bandwidth till, wherein the 3rd bandwidth is the maximum bandwidth value in sub-tunnel.If flow rate limiting device with the sub-tunnel in the main tunnel according to dissimilar a plurality of sub-tunnels groups that are divided into, when then the flow that detects sub-tunnel group when acquisition module 41 exceeds second bandwidth of sub-tunnel group, first limiting unit 51 abandons the low business of priority in the sub-tunnel according to the service priority in sub-tunnel, with the flow restriction of sub-tunnel group in second bandwidth.When if the flow that acquisition module 41 detects main tunnel exceeds first bandwidth in main tunnel, then first limiting unit 51 abandons the low business of priority in the sub-tunnel according to the service priority order from low to high in sub-tunnel, with the flow restriction in main tunnel in first bandwidth.Its neutron tunnel group comprises at least one sub-tunnel, and the flow of sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group, and the flow in main tunnel is the flow sum in all sub-tunnels in the described main tunnel.Wherein first limiting unit 51 is according to the service priority in sub-tunnel, and abandoning the business that priority is low in the sub-tunnel can be with reference to the associated description among the flow limitation method embodiment of the present invention with the method for limited flow.
When the priority that the group tunnel is relevant is the priority in sub-tunnel, if flow rate limiting device with the sub-tunnel in the main tunnel according to dissimilar a plurality of sub-tunnels groups that are divided into, when then the flow that detects sub-tunnel group when acquisition module 41 exceeds second bandwidth of sub-tunnel group, second limiting unit 53 is according to the low sub-tunnel of priority order loss priority from low to high in sub-tunnel, with the flow restriction of sub-tunnel group in second bandwidth.No matter whether divide sub-tunnel group in the main tunnel, when the flow that detects main tunnel when acquisition module 41 exceeds first bandwidth in main tunnel, second limiting unit 53 is according to the low sub-tunnel of priority order loss priority from low to high in sub-tunnel, with the flow restriction in main tunnel in first bandwidth.Wherein second limiting unit 53 is according to the priority in sub-tunnel, and abandoning sub-tunnel can be with reference to the associated description among the flow limitation method embodiment of the present invention with the method for limited flow.
When the priority that the group tunnel is relevant is the priority of sub-tunnel group, this moment flow rate limiting device with the sub-tunnel in the main tunnel according to dissimilar a plurality of sub-tunnels groups that are divided into, if acquisition module 41 detects first bandwidth that the flow in main tunnel exceeds main tunnel, then the 3rd limiting unit 55 is according to the low sub-tunnel group of the priority order loss priority from low to high of sub-tunnel group, with the flow restriction in main tunnel in first bandwidth.Wherein the 3rd limiting unit 55 is according to the priority of sub-tunnel group, and the sub-tunnel group that loss priority is low can be with reference to the associated description among the flow limitation method embodiment of the present invention with the method for limited flow.
After the present embodiment bonding module is bundled into main tunnel according to convergence ratio with sub-tunnel, after acquisition module detects and obtains the flow in sub-tunnel, sub-tunnel group or main tunnel, the flow restriction module limits according to the flow of the relevant priority in sub-tunnel to sub-tunnel in the main tunnel, has guaranteed that the high flow of priority can successfully transmit; According to the priority of the business in sub-tunnel, sub-tunnel, sub-tunnel group etc. flow is carried out the multilayer restriction respectively by first limiting unit, second limiting unit, the 3rd limiting unit, help user's business is carried out hierarchical control and management; Before carrying out flow restriction, bonding module is bundled into sub-tunnel on the main tunnel according to default convergence ratio, can increase the total bandwidth that is bundled into the sub-tunnel on the main tunnel, thereby increase the total flow of passing through in the main tunnel, improve the utilance of bandwidth resources in the main tunnel.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a flow limitation method is characterized in that, comprising:
On main tunnel, set in advance the convergence ratio of sub-tunnel and main tunnel binding, described sub-tunnel is bundled on the described main tunnel according to described convergence ratio;
Obtain the flow in sub-tunnel, a plurality of described sub-tunnels are bundled in a main tunnel;
According to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, be specially: according to the service priority in sub-tunnel, the priority of the priority in sub-tunnel or sub-tunnel group, when the flow in main tunnel exceeds first bandwidth, abandon business in the sub-tunnel according to priority order from low to high, sub-tunnel or sub-tunnel group, with the flow restriction in main tunnel in first bandwidth, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
2. flow limitation method according to claim 1, it is characterized in that, the priority that described sub-tunnel is relevant comprises the service priority in sub-tunnel, described one or more that the flow restriction in main tunnel be may further comprise the steps in first bandwidth in described main tunnel according to the relevant priority in described sub-tunnel:
According to the service priority in described sub-tunnel with the flow restriction in described sub-tunnel in the 3rd bandwidth in described sub-tunnel, described the 3rd bandwidth is the maximum bandwidth value in described sub-tunnel;
According to the service priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described sub-tunnel group comprises at least one described sub-tunnel, the flow of described sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group, and described second bandwidth is the maximum bandwidth value of described sub-tunnel group;
According to the service priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth.
3. flow limitation method according to claim 1, it is characterized in that, the priority that described sub-tunnel is relevant comprises the priority in sub-tunnel, described according to the relevant priority in described sub-tunnel with the flow restriction in main tunnel in first bandwidth in described main tunnel, comprising:
According to the priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described sub-tunnel group comprises at least one described sub-tunnel, the flow of described sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group, and described second bandwidth is the maximum bandwidth value of described sub-tunnel group; And/or
According to the priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth.
4. flow limitation method according to claim 1, it is characterized in that, the priority that described sub-tunnel is relevant comprises the priority of sub-tunnel group, described sub-tunnel group comprises at least one described sub-tunnel, described according to the relevant priority in described sub-tunnel with the flow restriction in main tunnel in first bandwidth in described main tunnel, comprising:
According to the priority of described sub-tunnel group, with the flow restriction in described main tunnel in described first bandwidth.
5. according to any described flow limitation method of claim 1-4, it is characterized in that, also comprise: set in advance the relevant priority in described sub-tunnel.
6. a flow rate limiting device is characterized in that, comprising:
Bonding module, is bundled into described main tunnel with described sub-tunnel at the convergence ratio that is used for bundling according to the sub-tunnel that sets in advance and main tunnel;
Acquisition module is used to obtain the flow in sub-tunnel, and a plurality of described sub-tunnels are bundled in a main tunnel;
The flow restriction module, be used for according to the relevant priority in described sub-tunnel with the flow restriction in described main tunnel in first bandwidth in described main tunnel, be specially: according to the service priority in sub-tunnel, the priority of the priority in sub-tunnel or sub-tunnel group, when the flow in main tunnel exceeds first bandwidth, abandon business in the sub-tunnel according to priority order from low to high, sub-tunnel or sub-tunnel group, with the flow restriction in main tunnel in first bandwidth, the flow in described main tunnel is the flow sum in all sub-tunnels in the described main tunnel, and described first bandwidth is the maximum bandwidth value in described main tunnel.
7. flow rate limiting device according to claim 6 is characterized in that, described flow restriction module comprises any or multinomial with lower unit:
First limiting unit, be used for if the relevant priority in described sub-tunnel is the service priority in sub-tunnel, then according to the service priority in described sub-tunnel with the flow restriction in described sub-tunnel in the 3rd bandwidth in described sub-tunnel, described the 3rd bandwidth is the maximum bandwidth value in described sub-tunnel; And/or according to the service priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group, described second bandwidth is the maximum bandwidth value of described sub-tunnel group; And/or according to the service priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth, described sub-tunnel group comprises at least one described sub-tunnel, and the flow of described sub-tunnel group is the flow sum in all sub-tunnels in the described sub-tunnel group;
Second limiting unit is used for if the relevant priority in described sub-tunnel is the priority in sub-tunnel, then according to the priority in described sub-tunnel with the flow restriction of sub-tunnel group in second bandwidth of described sub-tunnel group; And/or according to the priority in described sub-tunnel with the flow restriction in described main tunnel in described first bandwidth;
The 3rd limiting unit is used for if the relevant priority in described sub-tunnel is the priority of sub-tunnel group, then according to the priority of described sub-tunnel group, with the flow restriction in described main tunnel in described first bandwidth.
8. according to claim 6 or 7 described flow rate limiting devices, it is characterized in that, also comprise:
Presetting module is used to set in advance the relevant priority in described sub-tunnel, and the priority that described sub-tunnel is relevant comprises the priority in the service priority in sub-tunnel, sub-tunnel or the priority of sub-tunnel group, and described sub-tunnel group comprises at least one described sub-tunnel.
CN2009100767741A 2009-01-20 2009-01-20 Flow limitation method and apparatus Expired - Fee Related CN101478495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100767741A CN101478495B (en) 2009-01-20 2009-01-20 Flow limitation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100767741A CN101478495B (en) 2009-01-20 2009-01-20 Flow limitation method and apparatus

Publications (2)

Publication Number Publication Date
CN101478495A CN101478495A (en) 2009-07-08
CN101478495B true CN101478495B (en) 2011-08-10

Family

ID=40839130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100767741A Expired - Fee Related CN101478495B (en) 2009-01-20 2009-01-20 Flow limitation method and apparatus

Country Status (1)

Country Link
CN (1) CN101478495B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11863464B2 (en) * 2022-05-24 2024-01-02 Arista Networks, Inc. Resource utilization in resource reservation protocol split tunnels with adaptive sub-tunneling

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166872B (en) * 2013-03-07 2016-12-28 北京华为数字技术有限公司 In network flow forward method and the network equipment
CN105812286B (en) * 2014-12-31 2019-06-11 华为技术有限公司 Service bandwidth determines method and the network equipment in a kind of IP network
CN107438013B (en) * 2016-05-27 2022-05-17 中兴通讯股份有限公司 Port optimization method, device and system
CN111600793B (en) * 2020-03-31 2022-07-12 新华三信息安全技术有限公司 Message forwarding method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1780977A1 (en) * 2005-10-26 2007-05-02 Samsung Electronics Co., Ltd. Method of route optimization with dual mobile node in IPV4-only network
CN101163084A (en) * 2007-11-13 2008-04-16 华为技术有限公司 Classification based tunnel selecting method and apparatus
CN101282298A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1780977A1 (en) * 2005-10-26 2007-05-02 Samsung Electronics Co., Ltd. Method of route optimization with dual mobile node in IPV4-only network
CN101163084A (en) * 2007-11-13 2008-04-16 华为技术有限公司 Classification based tunnel selecting method and apparatus
CN101282298A (en) * 2008-05-22 2008-10-08 中兴通讯股份有限公司 Method and device for regulating bandwidth

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11863464B2 (en) * 2022-05-24 2024-01-02 Arista Networks, Inc. Resource utilization in resource reservation protocol split tunnels with adaptive sub-tunneling

Also Published As

Publication number Publication date
CN101478495A (en) 2009-07-08

Similar Documents

Publication Publication Date Title
CN101478495B (en) Flow limitation method and apparatus
CN100502315C (en) Business flow monitoring method and system
CN103685072B (en) A kind of method that network traffics are quickly distributed
US20150372896A1 (en) Packet segmentation with different segment sizes for a switch fabric
CN101478527A (en) Bandwidth allocation method and routing equipment
CN105812287A (en) Effective circuits in packet-switched networks
CN102387076B (en) Shaping-combined hierarchical queue scheduling method
CN102447610A (en) Method and device for realizing message buffer resource sharing
CN104145438A (en) Method and apparatus for dynamically allocating bandwidth to a client in a passive optical network
CN112433881A (en) Data recovery method and device for distributed storage system
CN103973265A (en) Lossless adjustment method of ODUflex channel bandwidth and optical transport network
CN102946443B (en) Multitask scheduling method for realizing large-scale data transmission
CN101478486B (en) Method, equipment and system for switch network data scheduling
CN101826981B (en) Method for processing event message, northbound interface and operation support system
CN103874133A (en) Method and device for bandwidth control and access point
CN102347877A (en) Bus dispatching method and device
CN102833173A (en) Network device and tunnel adaptation method
CN102223311A (en) Queue scheduling method and device
CN100544316C (en) A kind of flow control system and method based on interface group
CN103701721A (en) Message transmission method and device
CN103516619A (en) Bandwidth adjusting method and device in network virtualization system
CN106656711B (en) A kind of predefined method of token bus time slot
CN102820992A (en) Processing method and device of data packets
CN101765156A (en) Flow control method and device
CN103078766B (en) The auditing method of network traffics, device and the network equipment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110810

Termination date: 20200120

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