CN101110744A - Method and equipment for adjusting band width of ring network node - Google Patents

Method and equipment for adjusting band width of ring network node Download PDF

Info

Publication number
CN101110744A
CN101110744A CNA200710120837XA CN200710120837A CN101110744A CN 101110744 A CN101110744 A CN 101110744A CN A200710120837X A CNA200710120837X A CN A200710120837XA CN 200710120837 A CN200710120837 A CN 200710120837A CN 101110744 A CN101110744 A CN 101110744A
Authority
CN
China
Prior art keywords
bandwidth
configuration
guaranteed service
current
service bandwidth
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
CNA200710120837XA
Other languages
Chinese (zh)
Other versions
CN100539535C (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 CNB200710120837XA priority Critical patent/CN100539535C/en
Publication of CN101110744A publication Critical patent/CN101110744A/en
Application granted granted Critical
Publication of CN100539535C publication Critical patent/CN100539535C/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 present invention discloses a method and an equipment used for adjusting the ring network node bandwidth, which belong to the communication field. The method comprises: when an allocable maximum having ensured service bandwidth changes, whether the ensured service bandwidth allocated by the requirement of the user last time is larger than the allocable maximum having ensured service bandwidth is judged, if the ensured service bandwidth allocated by the requirement of the user last time is larger, the present ensured service bandwidth is adjusted according to the pre set allocation ratio; if not, the present ensured service bandwidth is adjusted according to the ensured service bandwidth allocated by the last requirement of the user. The equipment comprises a judging module and an adjusting module. By adjusting the bandwidth having ensured service, the present invention improves the maintainability of the bandwidth, and ensures that the allocation of the ensured service bandwidth is in accordance with the requirement, and the loss of the packet is avoided.

Description

A kind of method and apparatus of adjusting the looped network node bandwidth
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of adjusting the looped network node bandwidth.
Background technology
RPR (Resilient Packet Ring, Resilient Packet Ring) technology is a kind of looped network technology, adopts the bidirectional loop network topological structure, and ring and outer shroud in being divided into (being also referred to as 0 ring and 1 ring) use simultaneously by interior ring and outer shroud, have improved the bandwidth availability ratio of looped network.
The RPR looped network can be supported 255 nodes, the bandwidth of each nodes sharing looped network at most.The RPR protocol definition message of 3 kinds of data priorities, be respectively A, B, C class priority.Wherein the category-A message priority is the highest, and C class priority of messages is minimum.The category-A message is divided into A0 and A1 again, and the priority of A0 is higher than A1, when the category-A flow surpasses the A0 bandwidth that is provided with, will become the A1 type, if surpass the A1 type, then can be lost.The category-B message is divided into B0 and B1, and the priority of B0 is higher than B1, when the category-B flow surpasses the B0 bandwidth that is provided with, will become the B1 type, if surpass the B1 type, then can be lost.
The A0 bandwidth is called reserved bandwidth again, and each node can dispose the reserved bandwidth of oneself, and the reserved bandwidth sum that the looped network total bandwidth deducts each node is called non-reserved bandwidth, A1, and B0, B1, C are included in the non-reserved bandwidth.Referring to Fig. 1,5 nodes are arranged in the looped network, be respectively node 1, node 2, node 3, node 4 and node 5, the total bandwidth of looped network is 10G, and three nodes ( node 1,2 and 3) have respectively disposed the reserved bandwidth of 1G, and then the non-reserved bandwidth of this looped network is 7G.Be that the A0 flow that can guarantee 1G on node 1, node 2 and the node 3 is normally gone up ring, and remaining 7G bandwidth is shared between 5 nodes.According to RPR agreement regulation, the A1 of each node, B0, B1, C class bandwidth can be provided with.
Each node can send data to another node on the ring, sends message as the node among Fig. 12 to node 5, if the message that 2 nodes send encircles from outer shroud, then needs the forwarding through node 3, node 4, arrives node 5 at last.Message was called ring through node 3, node 4.
When node adopts deque, the A0 class data of crossing ring will be buffered in PTQ (the Primary Transit Queue of node, the high priority forwarding queue) in, A1, B0, B1, the C class message of crossing ring will be buffered among the STQ (Secondary TransitQueue, low priority forwarding queue).The loop data of crossing of buffer memory carries out priority scheduling with the data of encircling on this node.Common dispatching sequence is:
Cross the lower-priority data (A1, B0, B1, C) of ring among lower-priority data (B1, the C) → STQ that encircles on the medium priority data of encircling on A0 data → this node that encircles on data → this node among the PTQ (A1 and B0) → this node.
When the data among the STQ surpassed the high threshold of STQ, the lower-priority data of crossing ring among the STQ will be scheduled prior to the high-priority data that encircles on this node.
A0 class flow has been owing to distributed fixing reserved bandwidth, and do not calculate in the shared bandwidth of each node, therefore can guarantee.Though A1 and B0 class flow will take non-reserved bandwidth, also be to need to guarantee, promptly go up the A1 and the B0 class flow of ring and can not be lost, with A1, the B0 bandwidth is called guaranteed service bandwidth.
The setting of A1 bandwidth is subjected to the influence of many-sided factor in the prior art, and its computing formula is as follows:
addRateA1≤((sizeStq-stqHighThreshold)/responseTime)-addRateB0;
That is: addRateA1+addRateB0≤(sizeStq-stqHighThreshold)/responseTime.
Wherein sizeStq is the size of forwarding queue STQ, and stqHighThreshold is the high threshold of forwarding queue STQ, and responseTime is the response time of node.
This shows that A1, B0 bandwidth sum will be subjected to STQ and STQ high threshold, and the influence of the response time of node.When these three values change, must in time adjust A1 and B0 bandwidth, make it to satisfy above-mentioned formula.If A1, B0 band width configuration do not meet the situation of above-mentioned requirements, just might cause packet loss.And the response time of node is subjected to the influence of a plurality of factors such as optic fibre of looped network length, fair algorithm convergence time, the non-reserved bandwidth of looped network, STQ high threshold, and these factors change and will cause the variation of looped network A1, the configurable bandwidth range of B0.And, the configurable A1 of each node on the same looped network, B0 bandwidth with maximum be identical.
After the configurable A0 of looped network, B1 bandwidth sum change, mainly be at present A1, the B0 bandwidth of revising each node by manual, make A0, B1 bandwidth sum satisfy above-mentioned formula requirement.
In realizing process of the present invention, the inventor finds A1, the B0 bandwidth (guaranteed service bandwidth) by manual each node of modification, because of speed hand-manipulated slow, can cause response untimely, respond and untimelyly may cause individual nodes configuration not meet above-mentioned formula requirement, cause part A 1, B0 traffic loss; Workload hand-manipulated is big simultaneously, and is maintainable poor.
Summary of the invention
Configuration in order to ensure guaranteed service bandwidth meets the requirements, and the embodiment of the invention provides a kind of method and apparatus of adjusting the looped network node bandwidth.Described technical scheme is as follows:
A kind of method of adjusting the looped network node bandwidth, described method comprises:
When the maximum of configurable guaranteed service bandwidth changes, judge that the last guaranteed service bandwidth that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth, if adjust current guaranteed service bandwidth according to predefined allocation ratio; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of described user.
The embodiment of the invention also provides a kind of equipment of adjusting the looped network node bandwidth, and described equipment comprises:
Judge module is used for when the maximum of configurable guaranteed service bandwidth changes, and judges that the last guaranteed service bandwidth that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth;
Adjusting module is used for adjusting current guaranteed service bandwidth according to predefined allocation ratio when described judge module is judged the last guaranteed service bandwidth that requires configuration of user greater than the maximum of configurable guaranteed service bandwidth; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of described user.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
By adjusting the bandwidth of guaranteed business, improved the maintainability of bandwidth, guarantee that the configuration of guaranteed service bandwidth meets the requirements, prevented packet loss.
Description of drawings
Fig. 1 is the ring network structure schematic diagram that prior art provides;
Fig. 2 is the method flow diagram of the adjustment looped network node bandwidth that provides of the embodiment of the invention 1;
Fig. 3 is the method flow diagram that the another kind that provides of the embodiment of the invention 1 is adjusted the looped network node bandwidth;
Fig. 4 is the equipment structure chart of the adjustment looped network node bandwidth that provides of the embodiment of the invention 2.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The embodiment of the invention is adjusted the configuration of A1, B0 bandwidth automatically by when the non-reserved bandwidth of looped network changes, it is pre-conditioned that A1, B0 bandwidth sum are satisfied, and has prevented the packet loss of the A1 on the node, B0 flow.
Above-mentionedly pre-conditionedly can be: A1, B0 bandwidth sum≤(high threshold of capacity-STQ of STQ)/response time, also can set as required.
Embodiment 1
Present embodiment provides a kind of method of adjusting the looped network node bandwidth, and this method comprises:
When the maximum of configurable guaranteed service bandwidth changes, judge that the last guaranteed service bandwidth (A1 bandwidth and B0 bandwidth) that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth, if adjust current guaranteed service bandwidth according to predefined allocation ratio; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of user.
Here predefined allocation ratio can be rule of thumb or the looped network amount of bandwidth set, in the time of also can be according to the last configuration successful of user the ratio of guaranteed service bandwidth of the A1 bandwidth that writes down and B0 bandwidth and current configuration set.
When receiving the configuration information that the user issues or detecting configurable (A1+B0) when maximum value bandwidth changes, need adjust A1, B0 bandwidth, be elaborated at both of these case respectively below.
First kind: referring to Fig. 2, when receiving the configuration information that the user issues, the method for adjusting the looped network node bandwidth may further comprise the steps:
Step 201: judge the configuration information that the user issues, if only dispose A1 bandwidth ConfigA1, execution in step 202, if only dispose B0 bandwidth ConfigB0, execution in step 203 is if the user disposes A1 bandwidth ConfigA1 and B0 bandwidth ConfigB0, execution in step 204.
Step 202: with the A1 bandwidth in the configuration information and current B0 bandwidth CurrentB0 as the configured bandwidth that issues, i.e. ConfigA1, ConfigB0=CurrentB0.
Step 203: with the B0 bandwidth in the configuration information and current A1 bandwidth CurrentA1 as the configured bandwidth that issues, i.e. ConfigA1=CurrentA1, ConfigB0.
Step 204: with the A1 bandwidth ConfigA1 in the configuration information and B0 bandwidth ConfigB0 as the configured bandwidth that issues, i.e. ConfigA1, ConfigB0.
Step 205: calculate the A1 bandwidth and the B0 bandwidth sum S that issue, S=ConfigA1+ConfigB0.
Step 206: judge S whether greater than the maximum MaxBWc of configurable (A1+B0) bandwidth, if be not more than, execution in step 207; If greater than, execution in step 208.
MaxBWc=(sizeStq-stqHighThreshold)/responseTime。
Wherein sizeStq is the size of forwarding queue STQ, and stqHighThreshold is the high threshold of forwarding queue STQ, and responseTime is the response time of node.
Step 207: issue the A1 bandwidth ConfigA1 and the B0 bandwidth ConfigB0 of configuration, i.e. CurrentA1 '=ConfigA1, CurrentB0 '=ConfigB0.After the configuration successful, write down the ratio RatioA1 of (A1+B0) bandwidth of current A1 bandwidth and current configuration, and the ratio RatioB0 that writes down (A1+B0) bandwidth of current B0 bandwidth and current configuration; Be RatioA1=CurrentA1 '/(CurrentA1 '+CurrentB0 '), RatioB0=CurrentB0 '/(CurrentA1 '+CurrentB0 ').
Step 208: alarm, stop configuration.
Second kind: referring to Fig. 3, when maximum value bandwidth changed, the method for adjusting the looped network node bandwidth may further comprise the steps configurable when detecting (A1+B0);
Step 301: looped network changes, and configurable (A1+B0) maximum value bandwidth is changed to new MaxBWc.
Because MaxBWc=(sizeStq-stqHighThreshold)/responseTime, MaxBWc are subjected to STQ and STQ high threshold, and the influence of the response time of node.
Wherein sizeStq is the size of forwarding queue STQ, and stqHighThreshold is the high threshold of forwarding queue STQ, and responseTime is the response time of node.
Step 302: judge current configuration whether smaller or equal to the maximum of configurable (A1+B0) bandwidth after changing, i.e. CurrentA1+CurrentB0≤MaxBWc, if, execution in step 303; Otherwise, execution in step 305.
Step 303: judge A1 bandwidth that the user issues the last time and B0 bandwidth sum S whether smaller or equal to the maximum MaxBWc of configurable (A1+B0) bandwidth, i.e. ConfigA1+ConfigB0≤MaxBWc, if, execution in step 304, otherwise execution in step 305.
Step 304: with the last A1 bandwidth that needs configuration of user and B0 bandwidth as the configured bandwidth that issues.
Step 305: adjust the bandwidth of A1 and B0 according to the allocation ratio of original record, with adjusted bandwidth as the configured bandwidth that issues, i.e. ConfigA1=RatioA1 * MaxBwc, ConfigB0=RatioB0 * MaxBwc, execution in step 306 then.
Step 306: issue configured bandwidth, be configured, be i.e. CurrentA1=ConfigA1, CurrentB0=ConfigB0.
Present embodiment is by receiving the configuration information that the user issues or detecting configurable (A1+B0) when maximum value bandwidth changes, to A1, the B0 bandwidth is adjusted, the new configuration that assurance issues is bigger than current Configuration Values, guarantee A1 and B0 bandwidth to greatest extent, prevented the packet loss of A1 and B0 flow effectively.
Embodiment 2
Referring to Fig. 4, present embodiment provides a kind of equipment of adjusting the looped network node bandwidth, comprising:
Judge module 401 is used for when the maximum of configurable guaranteed service bandwidth changes, and judges that the last guaranteed service bandwidth that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth;
Adjusting module 402 is used for adjusting current guaranteed service bandwidth according to predefined allocation ratio when judge module 401 is judged the last guaranteed service bandwidth that requires configuration of user greater than the maximum of configurable guaranteed service bandwidth; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of user.
Further, this equipment also comprises:
The configuration information generation module, be used to receive the configuration information that the user issues, if configuration information only disposes the A1 bandwidth, then with current B0 bandwidth as the configured bandwidth that issues, if configuration information only disposes the B0 bandwidth, then with current A1 bandwidth as the configured bandwidth that issues;
Configuration module is used for calculating the A1 bandwidth of configuration information generation module and B0 bandwidth sum whether greater than the maximum of configurable guaranteed service bandwidth, if, alarm, stop configuration; Otherwise, according to A1 bandwidth and the current guaranteed service bandwidth of B0 band width configuration.
This equipment also comprises:
The proportional recording module, be used for the configuration module configuration successful after, write down the ratio of the guaranteed service bandwidth of the A1 bandwidth of current configuration and B0 bandwidth and current configuration respectively.
All or part of step in the such scheme can be finished by the commands for controlling relevant hardware, and this instruction can be stored in the storage medium, storage medium such as hard disc of computer or internal memory.
Present embodiment passes through A1, and the B0 bandwidth is adjusted, and guarantees that the new configuration that issues is bigger than current Configuration Values, has guaranteed A1 and B0 bandwidth to greatest extent, has prevented the packet loss of A1 and B0 flow effectively, has strengthened the maintainability of bandwidth.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a method of adjusting the looped network node bandwidth is characterized in that, described method comprises:
When the maximum of configurable guaranteed service bandwidth changes, judge that the last guaranteed service bandwidth that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth, if adjust current guaranteed service bandwidth according to predefined allocation ratio; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of described user.
2. the method for adjustment looped network node bandwidth as claimed in claim 1 is characterized in that, described guaranteed service bandwidth comprises A1 bandwidth and B0 bandwidth.
3. the method for adjustment looped network node bandwidth as claimed in claim 2 is characterized in that, described method also comprises:
Receive the configuration information that the user issues, if described configuration information only disposes the A1 bandwidth, then with current B0 bandwidth as the configured bandwidth that issues, if described configuration information only disposes the B0 bandwidth, then with current A1 bandwidth as the configured bandwidth that issues;
Whether A1 bandwidth that calculating issues and B0 bandwidth sum greater than the maximum of configurable guaranteed service bandwidth, if, alarm, stop configuration; Otherwise, according to described A1 bandwidth and the current guaranteed service bandwidth of B0 band width configuration.
4. the method for adjustment looped network node bandwidth as claimed in claim 3 is characterized in that, described method also comprises: after the configuration successful, write down the ratio of the guaranteed service bandwidth of the A1 bandwidth of current configuration and B0 bandwidth and current configuration respectively.
5. the method for adjustment looped network node bandwidth as claimed in claim 1 is characterized in that, the maximum of described configurable guaranteed service bandwidth is specially:
The capacity of low priority forwarding queue deducts the high threshold of described low priority forwarding queue, the value that obtains divided by response time of node with difference.
6. equipment of adjusting the looped network node bandwidth, it is characterized in that, described equipment comprises: judge module, be used for when the maximum of configurable guaranteed service bandwidth changes, judge that the last guaranteed service bandwidth that requires configuration of user is whether greater than the maximum of configurable guaranteed service bandwidth;
Adjusting module is used for adjusting current guaranteed service bandwidth according to predefined allocation ratio when described judge module is judged the last guaranteed service bandwidth that requires configuration of user greater than the maximum of configurable guaranteed service bandwidth; Otherwise, dispose current guaranteed service bandwidth according to the last guaranteed service bandwidth of configuration that requires of described user.
7. the equipment of adjustment looped network node bandwidth as claimed in claim 6 is characterized in that, described equipment also comprises:
The configuration information generation module, be used to receive the configuration information that the user issues, if described configuration information only disposes the A1 bandwidth, then with current B0 bandwidth as the configured bandwidth that issues, if described configuration information only disposes the B0 bandwidth, then with current A1 bandwidth as the configured bandwidth that issues;
Configuration module is used for calculating the A1 bandwidth of described configuration information generation module and B0 bandwidth sum whether greater than the maximum of configurable guaranteed service bandwidth, if, alarm, stop configuration; Otherwise, according to described A1 bandwidth and the current guaranteed service bandwidth of B0 band width configuration.
8. the equipment of adjustment looped network node bandwidth as claimed in claim 7 is characterized in that, described equipment also comprises:
The proportional recording module, be used for described configuration module configuration successful after, write down the ratio of the guaranteed service bandwidth of the A1 bandwidth of current configuration and B0 bandwidth and current configuration respectively.
CNB200710120837XA 2007-08-27 2007-08-27 A kind of method and apparatus of adjusting the looped network node bandwidth Expired - Fee Related CN100539535C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710120837XA CN100539535C (en) 2007-08-27 2007-08-27 A kind of method and apparatus of adjusting the looped network node bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710120837XA CN100539535C (en) 2007-08-27 2007-08-27 A kind of method and apparatus of adjusting the looped network node bandwidth

Publications (2)

Publication Number Publication Date
CN101110744A true CN101110744A (en) 2008-01-23
CN100539535C CN100539535C (en) 2009-09-09

Family

ID=39042647

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710120837XA Expired - Fee Related CN100539535C (en) 2007-08-27 2007-08-27 A kind of method and apparatus of adjusting the looped network node bandwidth

Country Status (1)

Country Link
CN (1) CN100539535C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629737A (en) * 2020-12-14 2022-06-14 深圳Tcl新技术有限公司 Bandwidth adjusting method and device, gateway equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629737A (en) * 2020-12-14 2022-06-14 深圳Tcl新技术有限公司 Bandwidth adjusting method and device, gateway equipment and storage medium
CN114629737B (en) * 2020-12-14 2024-03-12 深圳Tcl新技术有限公司 Bandwidth adjustment method, device, gateway equipment and storage medium

Also Published As

Publication number Publication date
CN100539535C (en) 2009-09-09

Similar Documents

Publication Publication Date Title
EP2466824B1 (en) Service scheduling method and device
US11805065B2 (en) Scalable traffic management using one or more processor cores for multiple levels of quality of service
US20050047425A1 (en) Hierarchical scheduling for communications systems
US9094231B2 (en) Router
JP5628211B2 (en) Flexible reservation request and scheduling mechanism within a managed shared network with quality of service
JP5838365B2 (en) Bus system and repeater
US20070070895A1 (en) Scaleable channel scheduler system and method
US8339949B2 (en) Priority-aware hierarchical communication traffic scheduling
US8953454B2 (en) Apparatus for policing traffic in a communication network
JP2014187421A (en) Communication device and packet scheduling method
Homg et al. An adaptive approach to weighted fair queue with QoS enhanced on IP network
US7848239B2 (en) Network system capable of dynamically controlling data flow and its method
US8305889B2 (en) Method for allocating a resource among consumers in proportion to configurable weights
CN103634223A (en) Network service flow based dynamic control transmission method and device
US8879578B2 (en) Reducing store and forward delay in distributed systems
CN114500401A (en) Resource scheduling method and system for dealing with burst traffic
CN109792411B (en) Apparatus and method for managing end-to-end connections
CN100539535C (en) A kind of method and apparatus of adjusting the looped network node bandwidth
CN113014465A (en) Bus transmission interface system based on quality of service characteristics and design method
CN112995058A (en) Token adjusting method and device
US20230412522A1 (en) Control apparatus, resource allocation method and program
US10986036B1 (en) Method and apparatus for orchestrating resources in multi-access edge computing (MEC) network
JP2001326675A (en) Information processing unit and method, and recording medium
CN115396380B (en) Data stream transmission method, device and equipment based on time sensitive network
Liu et al. Deployment of Asynchronous Traffic Shapers in Data Center Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090909

Termination date: 20160827