CN109257304A - A kind of bandwidth adjusting method, device, storage medium and the network equipment - Google Patents
A kind of bandwidth adjusting method, device, storage medium and the network equipment Download PDFInfo
- Publication number
- CN109257304A CN109257304A CN201710566323.0A CN201710566323A CN109257304A CN 109257304 A CN109257304 A CN 109257304A CN 201710566323 A CN201710566323 A CN 201710566323A CN 109257304 A CN109257304 A CN 109257304A
- Authority
- CN
- China
- Prior art keywords
- flow point
- bandwidth
- business
- port
- point
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000002776 aggregation Effects 0.000 claims abstract description 59
- 238000004220 aggregation Methods 0.000 claims abstract description 59
- 238000012545 processing Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000006116 polymerization reaction Methods 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 13
- 208000019901 Anxiety disease Diseases 0.000 abstract description 7
- 230000036506 anxiety Effects 0.000 abstract description 7
- 239000000463 material Substances 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000000116 mitigating effect Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/25—Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of bandwidth adjusting method, device, storage medium and the network equipments, by realizing bandwidth adjust automatically using flow point utilization rate, the service port that convection current point bandwidth exceeds is unable to re-multiplexing, when creating business flow point on manual aggregation port, for manual aggregation port, when the network equipment has idle port more than needed, in network communication peak period, the overall bandwidth for increasing aggregation port when network idle, reduces manual convergence service port members automatically.It is preferential to guarantee that high priority business flow has guaranteed bandwidth in Internet resources anxiety, it is operated by a series of adjust automaticallies, realizes the automatic management of the network bandwidth of equipment.It is able to solve and is using network peak period or idle periods, round-the-clock adjusts the bandwidth of every flow point Business Stream in real time, Internet resources can be saved, improve the performance and utilization rate of equipment, guarantee data service service quality, it can cope in time and prevent emergency case, improve the robustness and reliability of the network equipment.
Description
Technical field
The present invention relates to fields of communication technology more particularly to a kind of bandwidth adjusting method, device, storage medium and network to set
It is standby.
Background technique
With the extensive use of network communication technology and the continuous growth of network data demand, to the property of network communication equipment
Can require it is higher and higher, it is increasing to the throughput demands of the network equipment.The data volume of transmitted per unit time is to measure net
How one important indicator of network communication equipment effectively utilizes port bandwidth, improves the load capacity of the network equipment, promote it
Performance has practical significance.
Every network equipment port number and port maximum bandwidth be it is fixed, when equipment a port configuration it is a plurality of with
Too network service creates multiple flow points (business+port determines a flow point), and the service traffics of each flow point share the band of this port
, when the business flow point configured on this port is more, in practical application industry can occur for width since the bandwidth of port is limited
The business inadequate situation of flow point bandwidth.In order to avoid multiple flow point bandwidth on port exceed port bandwidth, it is typically led to based on flow point
Speed limit, but this speed limit value be it is fixed, cannot during use in real time according to business data flow change and dynamic modify, flow
Point bandwidth limitation is realized by flow point speed limit, it cannot be guaranteed that flow point bandwidth is enough in actual use, if flow point bandwidth point
With excessive, the waste of bandwidth is caused.In practical application, each flow point business datum bandwidth different, net with the different periods
Network equipment cannot dynamically adjust flow point bandwidth according to the actual situation, artificially can only rule of thumb be arranged fixed speed limit value or according to
Data service condition constantly modifies speed limit value.
In view of the above-mentioned problems, existing processing technique is usually the speed limit carried out in port or flow point, when making an appointment in advance in advance
Between section, take timing adjustment band-width tactics, but when high-incidence network traffic data is, it is not easy to predict, practical speed limit tune
Whole bandwidth product will appear lag or shift to an earlier date, and not get a desired effect.Rule of thumb or largely statistics obtain as a result,
Often there is deviation, to emergency case, can not cope in time completely, cause Bandwidth adjustment undesirable.
By above-mentioned treatment process it is found that prior art major defect has: the speed limit value on port or flow point is usually solid
Definite value cannot influence client using network, be unable to satisfy in practical application in real time according to every Business Stream dynamic adjusting bandwidth
Bandwidth demand, or the fixed value of distribution are excessive and cannot make full use of bandwidth;In the period that bandwidth is not enough, pass through increase
Aggregation group physical port increases bandwidth,, cannot automatic release physical end when business data flow is small for polymerizeing situation manually
Mouthful, cause the waste of device resource;Timing adjustment band-width tactics are taken, real time section prediction is inaccurate, even if the period
Accurately, every Business Stream is not to need bigger bandwidth in this period;In addition, can not be coped in time for emergency case, make
At can not normal communication.
Summary of the invention
Based on this, it is necessary to be set in view of the above-mentioned problems, providing a kind of bandwidth adjusting method, device, storage medium and network
It is standby, it realizes the intelligent management of network bandwidth, saves Internet resources, round-the-clock adjusts the bandwidth of every flow point Business Stream, energy in real time
Internet resources are enough saved, the performance and utilization rate of equipment are improved, guarantee data service service quality, client is promoted and uses network body
It tests, can cope in time and prevents emergency case, improve the robustness and reliability of the network equipment.
A kind of bandwidth adjusting method, which comprises
Start the send and receive packets number and byte number of acquisition business flow point at the first moment;
Where the send and receive packets number and byte number of the business flow point that the second moment will acquire are calculated
Business Stream point receives and dispatches data rate on port;
Using all business flow points of Business Stream point transmitting-receiving data rate calculation occupy configured bandwidth utilization rate summations with
And each flow point occupies configured bandwidth utilization rate;
Using the corresponding relationship of all business flow point utilization rate summations and the first preset threshold to the band of each flow point
Width is adjusted.
Optionally, the corresponding relationship using all business flow point utilization rate summations and the first preset threshold is to each
The step of bandwidth of a flow point is adjusted, comprising:
Flow point bandwidth usage is judged when all business flow point utilization rate summations are less than or equal to the first preset threshold
Whether be greater than the second preset threshold, when flow point bandwidth usage be greater than the second preset threshold, be automatically increased flow point speed limit value.
Optionally, the corresponding relationship using all business flow point utilization rate summations and the first preset threshold is to each
The step of bandwidth of a flow point is adjusted, comprising:
Flow point bandwidth usage is judged when all business flow point utilization rate summations are less than or equal to the first preset threshold
Whether third predetermined threshold value is less than, when flow point bandwidth usage is less than third predetermined threshold value, automatic reduction flow point speed limit value.
Optionally, the corresponding relationship using all business flow point utilization rate summations and the first preset threshold is to each
The step of bandwidth of a flow point is adjusted, comprising:
Business Stream is judged when all business flow points occupy when configured bandwidth utilization rate summation is greater than the first preset threshold
Whether port where point is manual aggregation port;
If port where business flow point is manual aggregation port and there are idle port, increase manual aggregation port at
Member.
Optionally, automatic to increase if port where the business flow point is manual aggregation port and there are idle ports
After the step of polymerizeing member port, further includes:
When the manual total flow point utilization rate of aggregation port is less than third predetermined threshold value, then the manual polymerization end is deleted
Mouth member is until the manual total flow point utilization rate of aggregation port is less than or equal to the 4th preset threshold.
Optionally, described when all business flow points occupy configured bandwidth utilization rate summation and are greater than the first preset threshold
After judging the step of whether port where business flow point is manual aggregation port, further includes:
Reduce predetermined priority Business Stream point bandwidth, wherein the priority of the predetermined priority business is in creation business
It is specified when stream.
Optionally, before the step of send and receive packets number and byte number for starting acquisition business flow point at the first moment,
Further include:
Open service traffics acquisition and statistics second grade task.
A kind of Bandwidth adjustment device, described device include:
Module is obtained, for starting the send and receive packets number and byte number of acquisition business flow point at the first moment;
Processing module, the send and receive packets number and byte number of the business flow point for will acquire at the second moment carry out
Business Stream point transmitting-receiving data rate on port where being calculated;
The processing module, which is also used to receive and dispatch data rate using the Business Stream point, determines all business flow point utilization rates
Summation and flow point occupy configured bandwidth utilization rate;
The processing module is also used to occupy configured bandwidth utilization rate summation using all business flow points with first in advance
If the relationship convection current point bandwidth of threshold value is adjusted.
A kind of computer readable storage medium, is stored with that computer is executable to be referred on the computer readable storage medium
It enables, when the computer executable instructions are executed by processor, so that the step of processor executes the above method.
A kind of network equipment, including memory and processor store computer-readable instruction in the memory, described
When computer-readable instruction is executed by the processor, so that the step of processor executes the above method.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
By realizing bandwidth adjust automatically using flow point utilization rate, the service port that convection current point bandwidth exceeds cannot answer again
With, when creating business flow point on manual aggregation port, for manual aggregation port, when the network equipment has idle port more than needed,
In network communication peak period, increase the overall bandwidth of aggregation port, when network idle, reduce automatically manual convergence service port at
Member.In Internet resources anxiety, according to the material circumstance of the Business Stream of each flow point, fail to be sold at auction for each flow point business on service port
Remember priority, it is preferential to guarantee that high priority business flow has guaranteed bandwidth, it is ranked up according to the priority of each Business Stream, successively
Dynamic adjusts this port flow point bandwidth value, is operated by a series of adjust automaticallies, and mitigation network administrator significantly repeats dullness
Workload realizes the automatic management of the network bandwidth of equipment.It is able to solve and is using network peak period or idle periods, round-the-clock
The bandwidth of every flow point Business Stream is adjusted in real time, can save Internet resources, improves the performance and utilization rate of equipment, guarantees data
Business service quality promotes client and uses web experience, can cope in time and prevent emergency case, improve the steady of the network equipment
Property and reliability.
Detailed description of the invention
Fig. 1 is bandwidth adjusting method flow chart in one embodiment;
Fig. 2 is bandwidth adjusting method flow chart in another embodiment;
Fig. 3 is Bandwidth adjustment apparatus structure block diagram in one embodiment.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
As shown in Figure 1, in one embodiment, a kind of bandwidth adjusting method, the method includes the following contents:
S101, the send and receive packets number and byte number for starting acquisition business flow point at the first moment.
Device port bandwidth is made full use of, multiplexing port when creating Business Stream creates multiple Business Streams on same port
Point segments business data flow according to flow point, realizes data flow classification, and at the first moment, the network equipment starts to obtain Business Stream
The send and receive packets number and byte number of point.
S102, the send and receive packets number for the business flow point that will acquire at the second moment and byte number are calculated
Business Stream point receives and dispatches data rate.
The network equipment calculates Business Stream point transmitting-receiving data rate at the second moment, passes through the first moment T1 and the second moment
Time difference Δ T between T2, Δ T=T2-T1 are counted respectively according to the Business Stream point send and receive packets number and byte number obtained in S101
It calculates the rate of send and receive packets and receives and dispatches the rate of byte number.For example, packet receiving rate=packet receiving number/Δ T, packet receiving byte-rate=packet receiving
Byte number/Δ T.
It should be noted that in some embodiments, the send and receive packets number and byte number of business flow point are obtained by software
Flow count and have the delay of 3ms or so, can be compensated by software rate multiplied by certain coefficient to acquire actual speed rate.
S103, it is accounted for using Business Stream point transmitting-receiving all business flow point utilization rates of data rate calculation and each flow point
With configured bandwidth utilization rate.
Bandwidth availability ratio is the ratio of actual flow and network theory bandwidth in network, and bandwidth availability ratio can indicate network
Traffic conditions, busy extent, it be measure Network status most basic parameter, according to Business Stream point receive and dispatch data rate, meter
It calculates flow point and occupies configured bandwidth utilization rate, when obtaining the bandwidth of flow point configuration, if do not configured when creation flow point, take business
Bandwidth of the bandwidth of port as flow point.
Flow point bandwidth value/flow point configured bandwidth the value for flow point bandwidth availability ratio=actually calculate, all business flow points occupy
The sum of port utilization ratio=∑ Fi, Fi represents the utilization rate that i-th of flow point occupies port bandwidth, its calculation formula is:
Fi=((PktRate*160)+(BytRate*8))/(10000*Bandwidth);
Wherein, packet receiving rate or packet sending speed that PktRate is, BytRate are the packet receiving byte that step 2 obtains
Rate or byte-rate of giving out a contract for a project, Bandwidth are service port bandwidth where flow point.
In specific implementation, all business flow points occupy the sum of port utilization ratio and account for equal to each flow point on this service port
With the sum of the utilization rate of port bandwidth, and it is equal to this service port bandwidth availability ratio, therefore there are two types of calculation methods, if business
Port bandwidth utilization rate has been carried out, and service port utilization rate can be used directly.
In some embodiments, each flow point bandwidth availability ratio and business flow point utilization rate summation that can be calculated by
Controller is issued, controller starting automatically configures next cycle, checks that business flow point utilization rate changes in next cycle
Situation receives each flow point and occupies configured bandwidth utilization rate and all flow point overall utilizations of service port, as needed to flow point band
Width is configured.
Bandwidth availability ratio and network service quality are inversely proportional, and bandwidth availability ratio is lower, and network service quality is better, otherwise also
So;In general, situations such as network utilization height easily causes Network Packet Loss, congestion, postpones.
S104, using the corresponding relationship of all business flow point utilization rate summations and the first preset threshold to each flow point
Bandwidth is adjusted.
By counting flow point number and flow point bandwidth summation on same service port, when the sum of the bandwidth of each flow point is more than
When port bandwidth, the Business Stream point bandwidth is prompted to surpass, service port is unable to re-multiplexing, until flow point bandwidth summation is less than port
Bandwidth.When creating business flow point on manual aggregation port, for manual aggregation port, when the network equipment has idle end more than needed
Mouthful, in network communication peak period, controller realizes the automatic number for increasing polymerization member port, and then increases the total of aggregation port
Body bandwidth when network idle, reduces manual convergence service port members automatically.In Internet resources anxiety, according to each flow point
The material circumstance of Business Stream is each flow point traffic marking priority on service port, preferentially guarantees high priority business flow
Have guaranteed bandwidth, is ranked up according to the priority of each Business Stream, successively dynamically adjusts this port flow point bandwidth value.
In the present embodiment, by realizing bandwidth adjust automatically, the business that convection current point bandwidth exceeds using flow point utilization rate
Port is unable to re-multiplexing, when creating business flow point on manual aggregation port, for manual aggregation port, when the network equipment has richness
Remaining idle port increases the overall bandwidth of aggregation port in network communication peak period, when network idle, it is automatic reduce it is poly- manually
Close service port member.It is each on service port according to the material circumstance of the Business Stream of each flow point in Internet resources anxiety
Flow point traffic marking priority, it is preferential to guarantee that high priority business flow has guaranteed bandwidth, according to the priority of each Business Stream
It is ranked up, successively dynamically adjusts this port flow point bandwidth value, operated by a series of adjust automaticallies, mitigation network management significantly
Member repeats dull workload, realizes the automatic management of the network bandwidth of equipment.Be able to solve using network peak period or
Idle periods, round-the-clock adjust the bandwidth of every flow point Business Stream in real time, can save Internet resources, improve the performance and benefit of equipment
With rate, guarantee data service service quality, promotes client and use web experience, can cope in time and prevent emergency case, improve
The robustness and reliability of the network equipment.
As shown in Fig. 2, providing a kind of bandwidth adjusting method in a specific implementation, comprising:
S201, service traffics acquisition and statistics second grade task are opened.
S202, the send and receive packets number and byte number for starting acquisition business flow point at the first moment.
Step S202 is similar with S101 in preceding embodiment, does not repeat herein.
S203, the send and receive packets number for the business flow point that will acquire at the second moment and byte number are calculated
Business Stream point receives and dispatches data rate.
Step S203 is similar with S102 in preceding embodiment, does not repeat herein.
S204, it is accounted for using Business Stream point transmitting-receiving all business flow point utilization rates of data rate calculation and each flow point
With configured bandwidth utilization rate.
Step S204 is similar with S103 in preceding embodiment, does not repeat herein.
S205, judge whether all business flow point utilization rate summations are less than or equal to the first preset threshold, if executing S206,
S210 is executed if not;
In the specific implementation, business flow point overall utilization threshold value i.e. the first preset threshold, the first preset threshold are percentages
Than not being fixed value depending on particular condition in use, common data services stream is set according to the first preset threshold of test experience
80 are set, of course, it is possible to which the first preset threshold is arranged less than 80%, 80% can also be greater than, the first preset threshold is arranged here
80% allows in business data flow peak period, usually needs to tune up each flow point Business Stream bandwidth, stays to bandwidth value is tuned up
Certain amplitude.In specific implementation, according to equipment field of employment and previous business data flow situation, not to be arranged rationally and not
Same business flow point overall utilization threshold value.
S206, judge whether flow point bandwidth usage is greater than the second preset threshold, if executing S207, execute if not
S208。
In specific implementation, certain flow point bandwidth usage is more than or equal to the second preset threshold, and the second preset threshold is according to tool
The business datum priority of body is set, and is not fixed value.For example certain flow point data service flow priority is very high, burst flow is very
It is more, bandwidth to guarantee it is sufficiently large, this flow point bandwidth usage be more than or equal to X% (X < 90) speed limit value can be tuned up automatically.Flow point
The second preset threshold takes 90 herein, is the recommended value for being directed to general business stream.
S207, when flow point bandwidth usage be greater than the second preset threshold, be automatically increased flow point speed limit value.
S208, judge whether flow point bandwidth usage is less than third predetermined threshold value, if executing S209.
Third predetermined threshold value is set according to specific business datum priority, non-stationary threshold values.Third presets threshold herein
Value takes 30, is that general Business Stream accounts for flow point bandwidth 30%, it is believed that bandwidth is very sufficient, can turn flow point speed limit value down.
S209, it is less than third predetermined threshold value when flow point bandwidth usage, it is automatic to reduce flow point speed limit value.
Flow point bandwidth usage is less than third predetermined threshold value, and controller turns this flow point speed limit value down automatically, and similarly, adjustment is big
Amplitude value needs to make flow point occupy configured bandwidth ratio according to the calculating of practical service with different priority levels stream amount of bandwidth to reach Z%
Preferably, Z is on-fixed value, and Z value can be 65 herein, specifically without limitation.
S210, judge whether port where business flow point is manual aggregation port, if executing S211, execute if not
S213。
Judge whether port where business flow point is manual aggregation port, if it is in manual aggregation port flow point and equipment
There are not used port, controller can increase aggregation port member automatically.
If port where S211, business flow point is manual aggregation port and there are idle ports, increases and polymerize end manually
Mouth member.
S212, when the manual total flow point utilization rate of aggregation port be less than third predetermined threshold value when, then delete it is described manually
Aggregation port member is until the manual total flow point utilization rate of aggregation port is less than or equal to the 4th preset threshold.
Controller, which deletes polymerization group membership by hand, makes the total flow point utilization rate of manual aggregation port reach default no more than the 4th
Threshold value is advisable, and depending on particular condition in use, non-is fixed value, herein the 4th preset threshold rule of thumb value 70, adjustment
Magnitude of size value needs to make flow point occupy configured bandwidth ratio according to the calculating of practical service with different priority levels stream amount of bandwidth to reach the
Four preset thresholds are advisable, and Z on-fixed value does not limit this.
S213, predetermined priority Business Stream point bandwidth is reduced, wherein the priority of the predetermined priority business is creating
It is specified when Business Stream.
Priority is divided into rudimentary and advanced, and business importance is higher to be appointed as high priority, and business importance is lower
It is appointed as low priority, the flow point bandwidth occupancy of low priority traffice is reduced when port is not manual aggregation port, preferentially
Meet the flow point bandwidth demand to high-priority service.
In order to preferably convenient for Bandwidth Management, reach certain value by calculating each flow point occupancy summation on port in real time,
Such as the 95% of port bandwidth, the sum of each flow point speed limit value is carried out beyond the upper limit value of port, is alerted.Port is using at this time
Wide, the report and alarm through nearly filled band is consulted for equipment manager, is notified network administrator's equipment operation condition in time and is needed timely
The problem of processing, keeps the network equipment more humanized and intelligent.
Utilization rate of equipment and installations alarm function is used for monitoring device port bandwidth, cpu resource occupancy situation, and when there is congestion
The case where generating alarm notification, being run so as to the timely awareness network of administrator and equipment.
Two triggering alarm thresholds can be set in port utilization ratio alarm function, are described in detail as follows:
Exceed: when port bandwidth utilization rate is more than " exceed " value, congestion alarm will be triggered.
Normal: when port bandwidth utilization rate is down to " normal " value or less, by the alarm of triggering recovery.
Two triggering alarm thresholds also can be set in cpu busy percentage alarm function, are described in detail as follows:
Busy: when cpu busy percentage is more than " busy " value, triggering being alerted, and indicates that CPU is busy.
Unbusy: when cpu busy percentage is lower than " unbusy " value, triggering is restored into alarm, indicates that CPU is idle.
By generating alarm notification when there is congestion, the case where operation convenient for the timely awareness network of administrator and equipment.
As shown in connection with fig. 3, correspondingly, in one embodiment, a kind of Bandwidth adjustment device is provided, comprising:
Module 301 is obtained, for starting the send and receive packets number and byte number of acquisition business flow point at the first moment;
Processing module 302, the send and receive packets number and byte number of the business flow point for will acquire at the second moment
It carries out that Business Stream point transmitting-receiving data rate is calculated;
The processing module 302 is also used to utilize using all business flow points of Business Stream point transmitting-receiving data rate calculation
Rate and each flow point occupy configured bandwidth utilization rate;
The processing module 302 is also used to pair using all the business flow point utilization rate summations and the first preset threshold
It should be related to that the bandwidth to each flow point is adjusted.
Above-mentioned Bandwidth adjustment device, by realizing bandwidth adjust automatically using flow point utilization rate, convection current point bandwidth exceeds
Service port is unable to re-multiplexing, when creating business flow point on manual aggregation port, for manual aggregation port, works as the network equipment
There is idle port more than needed, in network communication peak period, increase the overall bandwidth of aggregation port, when network idle, reduces hand automatically
Dynamic convergence service port members.It is on service port according to the material circumstance of the Business Stream of each flow point in Internet resources anxiety
Each flow point traffic marking priority, it is preferential to guarantee that high priority business flow has guaranteed bandwidth, according to the excellent of each Business Stream
First grade is ranked up, and is successively dynamically adjusted this port flow point bandwidth value, is operated by a series of adjust automaticallies, significantly mitigation network
Administrator repeats dull workload, realizes the automatic management of the network bandwidth of equipment.It is able to solve and is using network peak period
Or idle periods, round-the-clock adjust the bandwidth of every flow point Business Stream in real time, can save Internet resources, improve the performance of equipment
And utilization rate, guarantee data service service quality, promote client and use web experience, can cope with and prevent emergency case in time,
Improve the robustness and reliability of the network equipment.
In one embodiment, a kind of computer readable storage medium is provided, is stored on computer readable storage medium
Computer executable instructions, when computer executable instructions are executed by processor, so that processor executes following steps: first
Moment starts the send and receive packets number and byte number of acquisition business flow point;
In the send and receive packets number and byte number of the business flow point that the second moment will acquire carry out that business is calculated
Flow point sending and receiving data rate;
Determine that all business flow point utilization rates and each flow point occupancy are matched using Business Stream point transmitting-receiving data rate
Set bandwidth availability ratio;
Using the corresponding relationship of all business flow point utilization rate summations and the first preset threshold to the band of each flow point
Width is adjusted.
Above-mentioned computer readable storage medium, by realizing bandwidth adjust automatically, convection current point bandwidth using flow point utilization rate
The service port exceeded is unable to re-multiplexing, when creating business flow point on manual aggregation port, for manual aggregation port, works as net
Network equipment has idle port more than needed, in network communication peak period, increases the overall bandwidth of aggregation port, when network idle, automatically
Reduce manual convergence service port members.It is business according to the material circumstance of the Business Stream of each flow point in Internet resources anxiety
Each flow point traffic marking priority on port, it is preferential to guarantee that high priority business flow has guaranteed bandwidth, according to each business
The priority of stream is ranked up, and is successively dynamically adjusted this port flow point bandwidth value, is operated by a series of adjust automaticallies, subtracted significantly
Light network administrator repeats dull workload, realizes the automatic management of the network bandwidth of equipment.It is able to solve and is using network
Peak period or idle periods, round-the-clock adjust the bandwidth of every flow point Business Stream in real time, can save Internet resources, improve equipment
Performance and utilization rate, guarantee data service service quality, promoted client use web experience, can cope in time and prevent happen suddenly
Situation improves the robustness and reliability of the network equipment.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: to judge whether flow point bandwidth usage is big when all business flow point utilization rate summations are less than or equal to the first preset threshold
In the second preset threshold, when flow point bandwidth usage is greater than the second preset threshold, it is automatically increased flow point speed limit value.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: to judge flow point bandwidth when all business flow points occupy when configured bandwidth utilization rate summation is less than or equal to the first preset threshold
Whether occupancy is less than third predetermined threshold value, when flow point bandwidth usage is less than third predetermined threshold value, automatic reduction flow point speed limit
Value.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: to judge whether port where business flow point is hand when all business flow point utilization rate summations are greater than the first preset threshold
Dynamic aggregation port;
If port where business flow point is manual aggregation port and there are idle port, increase manual aggregation port at
Member.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: when the manual total flow point utilization rate of aggregation port be less than third predetermined threshold value when, then delete the manual aggregation port at
Member is until the manual total flow point utilization rate of aggregation port is less than or equal to the 4th preset threshold.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: to reduce predetermined priority Business Stream point bandwidth, wherein the priority of the predetermined priority business refers to when creating Business Stream
It is fixed.
In one embodiment, when computer executable instructions are executed by processor, processor is also made to execute following step
It is rapid: to open service traffics acquisition and statistics second grade task.
In one embodiment, a kind of network equipment, including memory and processor are provided, store calculating in memory
Machine readable instruction, when computer-readable instruction is executed by processor, so that processor executes following steps: starting at the first moment
The send and receive packets number and byte number of acquisition business flow point;
In the send and receive packets number and byte number of the business flow point that the second moment will acquire carry out that business is calculated
Flow point sending and receiving data rate;
Determine that all business flow point utilization rate summations and each flow point account for using Business Stream point transmitting-receiving data rate
With configured bandwidth utilization rate;
Using the corresponding relationship of all business flow point utilization rate summations and the first preset threshold to the band of each flow point
Width is adjusted.
Above-mentioned computer equipment, by realizing bandwidth adjust automatically, the industry that convection current point bandwidth exceeds using flow point utilization rate
Business port is unable to re-multiplexing, when creating business flow point on manual aggregation port, for manual aggregation port, when the network equipment has
Idle port more than needed increases the overall bandwidth of aggregation port in network communication peak period, when network idle, it is automatic reduce it is manual
Convergence service port members.It is each on service port according to the material circumstance of the Business Stream of each flow point in Internet resources anxiety
A flow point traffic marking priority, it is preferential to guarantee that high priority business flow has guaranteed bandwidth, according to the preferential of each Business Stream
Grade is ranked up, and is successively dynamically adjusted this port flow point bandwidth value, is operated by a series of adjust automaticallies, significantly mitigation network pipe
Reason person repeats dull workload, realizes the automatic management of the network bandwidth of equipment.Be able to solve using network peak period or
Person's idle periods, round-the-clock adjust the bandwidth of every flow point Business Stream in real time, can save Internet resources, improve equipment performance and
Utilization rate guarantees data service service quality, promotes client and uses web experience, can cope in time and prevent emergency case, mention
The robustness and reliability of the high network equipment.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
Judge whether flow point bandwidth usage is greater than when all business flow point utilization rate summations are less than or equal to the first preset threshold
Second preset threshold, when flow point bandwidth usage be greater than the second preset threshold, be automatically increased flow point speed limit value.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
Judge whether flow point bandwidth usage is less than when all business flow point utilization rate summations are less than or equal to the first preset threshold
Third predetermined threshold value, when flow point bandwidth usage is less than third predetermined threshold value, automatic reduction flow point speed limit value.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
Judge whether port where business flow point is hand when all business flow points account for utilization rate summation greater than the first preset threshold
Dynamic aggregation port;
If port where business flow point is manual aggregation port and there are idle port, increase manual aggregation port at
Member.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
When the manual total flow point utilization rate of aggregation port is less than third predetermined threshold value, then it is straight to delete the manual aggregation port member
It is less than or equal to the 4th preset threshold to the manual total flow point utilization rate of aggregation port.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
Reduce predetermined priority Business Stream point bandwidth, wherein the priority of the predetermined priority business is specified when creating Business Stream.
In one embodiment, when computer-readable instruction is executed by processor, processor is also made to execute following steps:
Open service traffics acquisition and statistics second grade task.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
A kind of bandwidth adjusting method provided by the present invention, device, storage medium and the network equipment have been carried out in detail above
Thin to introduce, for those of ordinary skill in the art, thought according to an embodiment of the present invention in specific embodiment and applies model
Place that there will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (10)
1. a kind of bandwidth adjusting method, which is characterized in that the described method includes:
Start the send and receive packets number and byte number of acquisition business flow point at the first moment;
In the send and receive packets number and byte number of the business flow point that the second moment will acquire carry out that business flow point is calculated
Sending and receiving data rate;
All business flow point utilization rates of data rate calculation are received and dispatched using the Business Stream point and each flow point occupies configuration band
Wide utilization rate;
Using all business flow point utilization rate summations and the first preset threshold corresponding relationship to the bandwidth of each flow point into
Row is adjusted.
2. bandwidth adjusting method according to claim 1, which is characterized in that described to be utilized using all business flow points
The step of business flow point is adjusted to the bandwidth of each flow point in the corresponding relationship of rate summation and the first preset threshold, comprising:
Whether flow point bandwidth usage is judged when all business flow point utilization rate summations are less than or equal to the first preset threshold
Greater than the second preset threshold, when flow point bandwidth usage is greater than the second preset threshold, it is automatically increased flow point speed limit value.
3. bandwidth adjusting method according to claim 1, which is characterized in that described to be utilized using all business flow points
The step of business flow point is adjusted to the bandwidth of each flow point in the corresponding relationship of rate summation and the first preset threshold, comprising:
Whether flow point bandwidth usage is judged when all business flow point utilization rate summations are less than or equal to the first preset threshold
Less than third predetermined threshold value, when flow point bandwidth usage is less than third predetermined threshold value, automatic reduction flow point speed limit value.
4. bandwidth adjusting method according to claim 1, which is characterized in that described to be utilized using all business flow points
The step of business flow point is adjusted to the bandwidth of each flow point in the corresponding relationship of rate summation and the first preset threshold, comprising:
Judge when all business flow point utilization rate summations are greater than the first preset threshold business flow point place port whether be
Manual aggregation port;
If port where business flow point is manual aggregation port and there are idle ports, increase manual aggregation port member.
5. bandwidth adjusting method according to claim 4, which is characterized in that if port where the business flow point is manual
Aggregation port and there are idle ports, then after automatic the step of increasing polymerization member port, further includes:
When the manual total flow point utilization rate of aggregation port be less than third predetermined threshold value when, then delete the manual aggregation port at
Member is until the manual total flow point utilization rate of aggregation port is less than or equal to the 4th preset threshold.
6. bandwidth adjusting method according to claim 5, which is characterized in that described when all business flow point occupancy are matched
Judge when setting bandwidth availability ratio summation greater than the first preset threshold business flow point place port whether be manual aggregation port step
After rapid, further includes:
Reduce predetermined priority Business Stream point bandwidth, wherein the priority of the predetermined priority business is when creating Business Stream
It is specified.
7. bandwidth adjusting method according to claim 1, which is characterized in that described to start to obtain Business Stream at the first moment
Before the step of send and receive packets number and byte number of point, further includes:
Open service traffics acquisition and statistics second grade task.
8. a kind of Bandwidth adjustment device, which is characterized in that described device includes:
Module is obtained, for starting the send and receive packets number and byte number of acquisition business flow point at the first moment;
Processing module, the send and receive packets number and byte number of the business flow point for will acquire at the second moment are calculated
Obtain Business Stream point transmitting-receiving data rate;
The processing module be also used to using the Business Stream point all business flow point utilization rates of transmitting-receiving data rate calculation and
Each flow point occupies configured bandwidth utilization rate;
The processing module is also used to the corresponding relationship using all the business flow point utilization rate summations and the first preset threshold
The bandwidth of each flow point is adjusted.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Executable instruction, when the computer executable instructions are executed by processor, so that the processor perform claim requires 1 to 7
Any one of the method the step of.
10. a kind of network equipment, which is characterized in that including memory and processor, storing computer in the memory can
Reading instruction, when the computer-readable instruction is executed by the processor, so that the processor perform claim requires in 1 to 7
The step of any one the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710566323.0A CN109257304A (en) | 2017-07-12 | 2017-07-12 | A kind of bandwidth adjusting method, device, storage medium and the network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710566323.0A CN109257304A (en) | 2017-07-12 | 2017-07-12 | A kind of bandwidth adjusting method, device, storage medium and the network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109257304A true CN109257304A (en) | 2019-01-22 |
Family
ID=65050823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710566323.0A Pending CN109257304A (en) | 2017-07-12 | 2017-07-12 | A kind of bandwidth adjusting method, device, storage medium and the network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257304A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071868A (en) * | 2019-04-18 | 2019-07-30 | 新华三技术有限公司 | A kind of link aggregation method, device and the network equipment |
CN111355805A (en) * | 2020-03-06 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Network communication method, device, equipment and storage medium |
CN111565323A (en) * | 2020-03-23 | 2020-08-21 | 视联动力信息技术股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN112714081A (en) * | 2019-10-24 | 2021-04-27 | 华为技术有限公司 | Data processing method and device |
CN112887225A (en) * | 2019-11-29 | 2021-06-01 | 中国移动通信集团安徽有限公司 | Flow rate control method and system based on SP service in EPC network |
CN113645087A (en) * | 2021-06-21 | 2021-11-12 | 天津津航计算技术研究所 | Method for calculating network bandwidth utilization rate under VxWorks |
CN114244718A (en) * | 2021-11-05 | 2022-03-25 | 云南电网有限责任公司 | Power transmission line communication network equipment management system |
CN114745276A (en) * | 2022-02-18 | 2022-07-12 | 北京环宇博亚科技有限公司 | Switch bandwidth adjusting method and device, electronic equipment and computer readable medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6034945A (en) * | 1996-05-15 | 2000-03-07 | Cisco Technology, Inc. | Method and apparatus for per traffic flow buffer management |
CN101977130A (en) * | 2010-10-19 | 2011-02-16 | 中兴通讯股份有限公司 | Method and device for monitoring bandwidth of Ethernet port in real time |
US20120106342A1 (en) * | 2010-11-02 | 2012-05-03 | Qualcomm Incorporated | Systems and methods for communicating in a network |
CN103873381A (en) * | 2014-03-25 | 2014-06-18 | 安一恒通(北京)科技有限公司 | Network flow rate limiting method and device |
CN105939281A (en) * | 2016-01-12 | 2016-09-14 | 杭州迪普科技有限公司 | Method and device for adjusting speed limit value of network traffic |
CN106550393A (en) * | 2016-10-13 | 2017-03-29 | 上海斐讯数据通信技术有限公司 | A kind of business WIFI user dynamic bandwidth method for limiting and system |
CN106878116A (en) * | 2016-12-06 | 2017-06-20 | 新华三技术有限公司 | Limit Rate method and apparatus |
-
2017
- 2017-07-12 CN CN201710566323.0A patent/CN109257304A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6034945A (en) * | 1996-05-15 | 2000-03-07 | Cisco Technology, Inc. | Method and apparatus for per traffic flow buffer management |
CN101977130A (en) * | 2010-10-19 | 2011-02-16 | 中兴通讯股份有限公司 | Method and device for monitoring bandwidth of Ethernet port in real time |
US20120106342A1 (en) * | 2010-11-02 | 2012-05-03 | Qualcomm Incorporated | Systems and methods for communicating in a network |
CN103873381A (en) * | 2014-03-25 | 2014-06-18 | 安一恒通(北京)科技有限公司 | Network flow rate limiting method and device |
CN105939281A (en) * | 2016-01-12 | 2016-09-14 | 杭州迪普科技有限公司 | Method and device for adjusting speed limit value of network traffic |
CN106550393A (en) * | 2016-10-13 | 2017-03-29 | 上海斐讯数据通信技术有限公司 | A kind of business WIFI user dynamic bandwidth method for limiting and system |
CN106878116A (en) * | 2016-12-06 | 2017-06-20 | 新华三技术有限公司 | Limit Rate method and apparatus |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110071868A (en) * | 2019-04-18 | 2019-07-30 | 新华三技术有限公司 | A kind of link aggregation method, device and the network equipment |
CN112714081A (en) * | 2019-10-24 | 2021-04-27 | 华为技术有限公司 | Data processing method and device |
CN112714081B (en) * | 2019-10-24 | 2024-05-03 | 华为技术有限公司 | Data processing method and device |
CN112887225A (en) * | 2019-11-29 | 2021-06-01 | 中国移动通信集团安徽有限公司 | Flow rate control method and system based on SP service in EPC network |
CN112887225B (en) * | 2019-11-29 | 2023-09-05 | 中国移动通信集团安徽有限公司 | Flow rate control method and system based on SP service in EPC network |
CN111355805A (en) * | 2020-03-06 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Network communication method, device, equipment and storage medium |
CN111565323A (en) * | 2020-03-23 | 2020-08-21 | 视联动力信息技术股份有限公司 | Flow control method and device, electronic equipment and storage medium |
CN113645087A (en) * | 2021-06-21 | 2021-11-12 | 天津津航计算技术研究所 | Method for calculating network bandwidth utilization rate under VxWorks |
CN114244718A (en) * | 2021-11-05 | 2022-03-25 | 云南电网有限责任公司 | Power transmission line communication network equipment management system |
CN114745276A (en) * | 2022-02-18 | 2022-07-12 | 北京环宇博亚科技有限公司 | Switch bandwidth adjusting method and device, electronic equipment and computer readable medium |
CN114745276B (en) * | 2022-02-18 | 2022-12-02 | 北京环宇博亚科技有限公司 | Switch bandwidth adjusting method and device, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109257304A (en) | A kind of bandwidth adjusting method, device, storage medium and the network equipment | |
Taherizadeh et al. | Dynamic multi-level auto-scaling rules for containerized applications | |
CN104717158B (en) | A kind of method and device adjusting bandwidth scheduling strategy | |
EP2671354B1 (en) | System to share network bandwidth among competing applications | |
CN110177054B (en) | Port queue scheduling method, device, network controller and storage medium | |
US6876952B1 (en) | Methods and apparatus for maintaining queues | |
CN110995614A (en) | Computing power resource allocation method and device | |
JP2006511137A5 (en) | ||
US9559956B2 (en) | Sharing bandwidth among multiple users of network applications | |
JP2017034678A5 (en) | ||
Kasera et al. | Fast and robust signaling overload control | |
EP2575303A1 (en) | Determining congestion measures | |
US9521086B2 (en) | Queue scheduling method and apparatus | |
EP2273736A1 (en) | Method of managing a traffic load | |
CN103634223B (en) | A kind of dynamic control transmission method based on network service flow and device | |
CN104580018B (en) | Bandwidth adjusting method and device in a kind of software defined network | |
US20220232584A1 (en) | Method and apparatus for bandwidth allocation | |
CN109039953A (en) | bandwidth scheduling method and device | |
CN109150756A (en) | A kind of queue scheduling weight quantization method based on SDN power telecom network | |
CN100466593C (en) | Method of implementing integrated queue scheduling for supporting multi service | |
CN111682975A (en) | Network state prediction method and device, electronic equipment and storage medium | |
CN101616096A (en) | Array dispatching method and device | |
CN113596632A (en) | Passive optical network slice dividing method, device and framework | |
CN107404454A (en) | Speech quality method of adjustment and device | |
Koo et al. | A comparative study of queue, delay, and loss characteristics of AQM schemes in QoS-enabled networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190122 |