CN113381885B - Method and system for dynamically adjusting service bandwidth - Google Patents

Method and system for dynamically adjusting service bandwidth Download PDF

Info

Publication number
CN113381885B
CN113381885B CN202110627287.0A CN202110627287A CN113381885B CN 113381885 B CN113381885 B CN 113381885B CN 202110627287 A CN202110627287 A CN 202110627287A CN 113381885 B CN113381885 B CN 113381885B
Authority
CN
China
Prior art keywords
bandwidth
service
attribute
attribute level
level
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.)
Active
Application number
CN202110627287.0A
Other languages
Chinese (zh)
Other versions
CN113381885A (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.)
Zhengzhou Xinda Jiean Information Technology Co Ltd
Original Assignee
Zhengzhou Xinda Jiean Information Technology 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 Zhengzhou Xinda Jiean Information Technology Co Ltd filed Critical Zhengzhou Xinda Jiean Information Technology Co Ltd
Priority to CN202110627287.0A priority Critical patent/CN113381885B/en
Publication of CN113381885A publication Critical patent/CN113381885A/en
Application granted granted Critical
Publication of CN113381885B publication Critical patent/CN113381885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Abstract

The invention discloses a method and a system for dynamically adjusting service bandwidth, wherein the method comprises the following steps: configuring first attribute information and second attribute information of each service, and setting a first bandwidth adjustment strategy and a second bandwidth adjustment strategy; if the current session bandwidth is the maximum bandwidth, adopting a first bandwidth adjusting strategy, inquiring whether the bandwidth can be compressed according to the attribute level from low to high, if so, compressing and distributing the bandwidth; if not, adopting a second bandwidth adjustment strategy; if the current session bandwidth is the normal available bandwidth, adopting a second bandwidth adjustment strategy, sequentially inquiring whether the bandwidth can be compressed to the minimum bandwidth or not according to the attribute level from low to the same level, and if so, compressing and allocating the bandwidth; otherwise, whether the second attribute information exceeds the threshold value is inquired, if the second attribute information exceeds the threshold value, the attribute level is judged, the low-level service is forcibly compressed, and the minimum available bandwidth is allocated. The invention can ensure the reliability of the service with higher priority and simultaneously ensure the availability of the service with low priority to a certain extent.

Description

Method and system for dynamically adjusting service bandwidth
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for dynamically adjusting a service bandwidth.
Background
For enterprises or organizations, in order to complete internal communication and data access between headquarters, branches, and personal networks and to ensure data security, an internal local area network is usually constructed by using a VPN. However, generally, a VPN network can only guarantee the security access of data, and the bandwidth of a VPN device has a fixed upper limit, but when there are a large number of access requests or data transmission with large throughput, the bandwidth of the VPN device may reach the upper limit, and at this time, requests for some important services cannot be guaranteed, which results in untimely information transmission and may cause some unnecessary loss.
Therefore, how to design a method for dynamically adjusting service bandwidth is a problem that needs to be solved urgently at present, and can ensure the reliability of a service with a higher priority and ensure the availability of a service with a low priority to a certain extent.
Disclosure of Invention
The invention provides a method and a system for dynamically adjusting service bandwidth, aiming at the problems that when a large number of access requests or data with large throughput are transmitted, the bandwidth of VPN equipment can possibly reach the upper limit, and the requests of some important services cannot be ensured at the moment, so that the information transmission is not timely, and some unnecessary losses can be caused.
In order to achieve the purpose, the invention adopts the following technical scheme:
one aspect of the present invention provides a method for dynamically adjusting a service bandwidth, including:
configuring first attribute information and second attribute information of each service, and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
when the service bandwidth usage reaches the maximum and a new service request is available:
if the current session bandwidth is the maximum bandwidth, adopting the first bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to a normal available bandwidth according to the sequence of the attribute levels from low to high, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
if the current session bandwidth is normal available bandwidth, adopting the second bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to the minimum bandwidth or not according to the sequence from the low attribute level to the same level, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
Further, the first attribute information includes priority levels of the services, and the priority levels are divided according to a session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
Further, in the second bandwidth adjustment policy, if there is no traffic exceeding a threshold, bandwidth allocation cannot be performed.
Further, the sequentially querying whether a service bandwidth can be compressed to a normal available bandwidth according to the sequence of the attribute levels from low to high, performing service link session compression if a service at a certain attribute level can compress the bandwidth, and allocating the bandwidth to a new service request includes:
s11, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S13; otherwise, go to step S12;
s12, inquiring whether the service of lowest attribute level can compress the service bandwidth to normal available bandwidth, if the service of low attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, go to step S13;
s13, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth until the service with the highest attribute level is inquired, if the service with a certain attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
Further, the sequentially querying whether a service bandwidth can be compressed to the minimum bandwidth according to the sequence from the low attribute level to the same attribute level, and if the service at a certain attribute level is queried to be capable of compressing the bandwidth, performing service link session compression, and allocating the bandwidth to a new service request includes:
s21, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S23; otherwise, go to step S22;
s22, inquiring whether the service of lowest attribute level can compress the service bandwidth to normal available bandwidth, if the service of the attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, continuously and sequentially inquiring whether the service bandwidth of the service at the higher attribute level can be compressed to the normal available bandwidth or not according to the sequence until the service at the same attribute level as the new service request is inquired, and then, turning to the step S23;
and S23, inquiring whether the service with the same attribute level as the new service request can compress the service bandwidth to the normal available bandwidth, if the service with the attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
In another aspect, the present invention provides a system for dynamically adjusting service bandwidth, including: the system comprises a configuration unit, a first strategy execution unit and a second strategy execution unit;
the configuration unit is used for configuring first attribute information and second attribute information of each service and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
the first policy execution unit is configured to, when the current session bandwidth is the maximum bandwidth, perform service bandwidth adjustment by using the first bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a normal available bandwidth according to a sequence from a low attribute level to a high attribute level, perform service link session compression if a service compressible bandwidth of a certain attribute level is queried, and allocate a bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
the second policy execution unit is configured to, when the current session bandwidth is a normal available bandwidth, perform service bandwidth adjustment by using the second bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a minimum bandwidth according to an order from a low attribute level to the same attribute level, and perform service link session compression and allocate a bandwidth to a new service request if a service compressible bandwidth of a certain attribute level is queried; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
Further, the first attribute information includes priority levels of the services, and the priority levels are divided according to a session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
Further, in the process of executing the second bandwidth adjustment policy, if there is no service exceeding a threshold, the second policy executing unit cannot perform bandwidth allocation.
Further, the first policy execution unit includes:
the first strategy execution subunit is used for firstly judging whether the attribute level of the new service request is the lowest attribute level according to the sequence from low to high of the attribute levels, if so, continuously and sequentially inquiring whether the service with the higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and if the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request;
a second policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to a normal available bandwidth if the service at the lowest attribute level is not the lowest attribute level, and perform service link session compression and allocate the bandwidth to a new service request if the service at the low attribute level is the compressible bandwidth; if not, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and once the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request.
Further, the second policy execution unit includes:
a third policy executing subunit, configured to, according to the sequence of attribute levels from low to high, first determine whether an attribute level of the new service request is a lowest attribute level, if the attribute level is the lowest attribute level, query whether a service that is the same attribute level as the new service request can compress a service bandwidth to a normal available bandwidth, and if the service at the attribute level is queried to compress the bandwidth, perform service link session compression, and allocate the bandwidth to the new service request;
a fourth policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to a normal available bandwidth if the service at the lowest attribute level is not the lowest attribute level, perform service link session compression if the service at the attribute level is queried to compress the bandwidth, and allocate the bandwidth to the new service request; if not, whether the service bandwidth of the higher attribute level can be compressed to the normal available bandwidth is continuously and sequentially inquired according to the sequence until the service which is the same attribute level as the new service request is inquired, once the service of a certain attribute level can compress the bandwidth, the service link session compression is carried out, and the bandwidth is distributed to the new service request.
Compared with the prior art, the invention has the following beneficial effects:
the invention sets the first bandwidth adjustment strategy and the second bandwidth adjustment strategy to preferentially compress the service of the low attribute level, then compress the service of the high attribute level and compress the service of the low attribute level exceeding the attribute threshold, thereby ensuring the reliability of the service of the high attribute level to the maximum extent and ensuring the availability of the service of the low priority level to a certain extent.
Drawings
Fig. 1 is a basic flowchart of a method for dynamically adjusting a service bandwidth according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a system for dynamically adjusting a traffic bandwidth according to an embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
as shown in fig. 1, a first aspect of the present invention provides a method for dynamically adjusting a traffic bandwidth, including:
configuring first attribute information and second attribute information of each service, and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
when the service bandwidth usage reaches the maximum and a new service request is available:
if the current session bandwidth is the maximum bandwidth, adopting the first bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to a normal available bandwidth according to the sequence of the attribute levels from low to high, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
if the current session bandwidth is normal available bandwidth, adopting the second bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to the minimum bandwidth or not according to the sequence from the low attribute level to the same level, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
Further, the first attribute information includes priority levels of the services, and the priority levels are divided according to a session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
Further, in the second bandwidth adjustment policy, if there is no traffic exceeding a threshold, bandwidth allocation cannot be performed.
Further, the sequentially querying whether a service bandwidth can be compressed to a normal available bandwidth according to the sequence of the attribute levels from low to high, performing service link session compression if a service at a certain attribute level can compress the bandwidth, and allocating the bandwidth to a new service request includes:
s11, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S13; otherwise, go to step S12;
s12, inquiring whether the service of lowest attribute level can compress the service bandwidth to normal available bandwidth, if the service of low attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, go to step S13;
s13, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth until the service with the highest attribute level is inquired, if the service with a certain attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
Further, the sequentially querying whether a service bandwidth can be compressed to the minimum bandwidth according to the sequence from the low attribute level to the same attribute level, and if the service at a certain attribute level is queried to be capable of compressing the bandwidth, performing service link session compression, and allocating the bandwidth to a new service request includes:
s21, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S23; otherwise, go to step S22;
s22, inquiring whether the service of lowest attribute level can compress the service bandwidth to normal available bandwidth, if the service of the attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, continuously and sequentially inquiring whether the service bandwidth of the service at the higher attribute level can be compressed to the normal available bandwidth or not according to the sequence until the service at the same attribute level as the new service request is inquired, and then, turning to the step S23;
and S23, inquiring whether the service with the same attribute level as the new service request can compress the service bandwidth to the normal available bandwidth, if the service with the attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
In practical applications, taking service A, B, C as an example, the service attribute information configuration may be as follows:
business Weighted value (sum 100) Priority level Description of the invention
A 50 3 The service occupies larger bandwidth but has lower priority
B 30 1 The service occupies the general bandwidth and has the highest priority
C 20 2 The service occupies the least bandwidth and has the general priority
Dynamically adjusting the traffic bandwidth includes:
a. when the current bandwidth utilization rate does not reach the maximum, no bandwidth adjustment is carried out at the moment;
b. when the bandwidth usage reaches the maximum, a new connection request is available, and a bandwidth preemption reallocation strategy is started according to the request service priority and the weight value.
If the bandwidth of the service a accounts for 55%, the bandwidth of the service B accounts for 35%, and the bandwidth of the service C accounts for 10% (the session bandwidth of each service link is the maximum bandwidth), the bandwidth adjustment process is as follows:
c. when a new service C requests, judging whether the service A has a compressible space (can be compressed to ensure the normal bandwidth of a normal session) according to the priority, if the service A has the compressible bandwidth, performing compression distribution, if the service A has the normal bandwidth, inquiring whether other link sessions of the service C with the priority are compressible (can be compressed to ensure the normal bandwidth of the normal session), if the service C has the compressible bandwidth, performing compression distribution, and if the service C cannot be compressed, inquiring whether the service B with high priority has the compressible bandwidth (can be compressed to ensure the normal bandwidth of the normal session), and if the service B has the compressible bandwidth, performing compression distribution;
d. when the current services are all normal available bandwidths, judging whether the service A has a compressible space (compressible to the lowest bandwidth) according to the priority, if the service A has the compressible bandwidth, performing compression distribution, if the service A has the lowest bandwidth, inquiring whether other link sessions of the service C with the priority can compress the bandwidth (compressible to the lowest bandwidth), and if the service C has the compressible bandwidth, performing compression distribution;
e. when the above processes cannot be compressed, whether the current configuration weight of each service meets the weight value (the service C does not reach, and the service A, B exceeds) is inquired, and since the service B has higher priority and is a normal available bandwidth, the service A forcibly compresses the link session, and even breaks some links to allocate the minimum available bandwidth to the service C session.
As shown in fig. 2, on the basis of the foregoing embodiment, a second aspect of the present invention further provides a system for dynamically adjusting traffic bandwidth, including: the system comprises a configuration unit, a first strategy execution unit and a second strategy execution unit;
the configuration unit is used for configuring first attribute information and second attribute information of each service and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
the first policy execution unit is configured to, when the current session bandwidth is the maximum bandwidth, perform service bandwidth adjustment by using the first bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a normal available bandwidth according to a sequence from a low attribute level to a high attribute level, perform service link session compression if a service compressible bandwidth of a certain attribute level is queried, and allocate a bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
the second policy execution unit is configured to, when the current session bandwidth is a normal available bandwidth, perform service bandwidth adjustment by using the second bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a minimum bandwidth according to an order from a low attribute level to the same attribute level, and perform service link session compression and allocate a bandwidth to a new service request if a service compressible bandwidth of a certain attribute level is queried; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
Further, the first attribute information includes priority levels of the services, and the priority levels are divided according to a session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
Further, in the process of executing the second bandwidth adjustment policy, if there is no service exceeding a threshold, the second policy executing unit cannot perform bandwidth allocation.
Further, the first policy execution unit includes:
the first strategy execution subunit is used for firstly judging whether the attribute level of the new service request is the lowest attribute level according to the sequence from low to high of the attribute levels, if so, continuously and sequentially inquiring whether the service with the higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and if the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request;
a second policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to a normal available bandwidth if the service at the lowest attribute level is not the lowest attribute level, and perform service link session compression and allocate the bandwidth to a new service request if the service at the low attribute level is the compressible bandwidth; if not, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and once the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request.
Further, the second policy execution unit includes:
a third policy executing subunit, configured to, according to the sequence of attribute levels from low to high, first determine whether an attribute level of the new service request is a lowest attribute level, if the attribute level is the lowest attribute level, query whether a service that is the same attribute level as the new service request can compress a service bandwidth to a normal available bandwidth, and if the service at the attribute level is queried to compress the bandwidth, perform service link session compression, and allocate the bandwidth to the new service request;
a fourth policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to a normal available bandwidth if the service at the lowest attribute level is not the lowest attribute level, perform service link session compression if the service at the attribute level is queried to compress the bandwidth, and allocate the bandwidth to the new service request; if not, whether the service bandwidth of the higher attribute level can be compressed to the normal available bandwidth is continuously and sequentially inquired according to the sequence until the service which is the same attribute level as the new service request is inquired, once the service of a certain attribute level can compress the bandwidth, the service link session compression is carried out, and the bandwidth is distributed to the new service request.
In summary, the present invention sets the first bandwidth adjustment policy and the second bandwidth adjustment policy to preferentially compress the service of the low attribute level, then compress the service of the high attribute level, and compress the service of the low attribute level exceeding the attribute threshold, so as to ensure the reliability of the service of the high attribute level to the maximum extent and ensure the availability of the service of the low priority level to a certain extent.
The above shows only the preferred embodiments of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A method for dynamically adjusting traffic bandwidth, comprising:
configuring first attribute information and second attribute information of each service, and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
when the service bandwidth usage reaches the maximum and a new service request is available:
if the current session bandwidth is the maximum bandwidth, adopting the first bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to a normal available bandwidth according to the sequence of the attribute levels from low to high, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
if the current session bandwidth is normal available bandwidth, adopting the second bandwidth adjustment strategy to adjust the service bandwidth, sequentially inquiring whether a service bandwidth can be compressed to the minimum bandwidth or not according to the sequence from the low attribute level to the same level, and if the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to a new service request; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
2. The method according to claim 1, wherein the first attribute information comprises a priority level of each service, and the priority level is divided according to a session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
3. The method of claim 1, wherein in the second bandwidth adjustment strategy, if there is no traffic exceeding a threshold, bandwidth allocation cannot be performed.
4. The method according to claim 1, wherein the sequentially querying whether a service bandwidth can be compressed to a normal available bandwidth according to an order of attribute levels from low to high, and performing service link session compression to allocate bandwidth to a new service request if a service at a certain attribute level is queried to compress a bandwidth, comprises:
s11, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S13; otherwise, go to step S12;
s12, inquiring whether the service of lowest attribute level can compress the service bandwidth to normal available bandwidth, if the service of low attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, go to step S13;
s13, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth until the service with the highest attribute level is inquired, if the service with a certain attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
5. The method of claim 1, wherein the sequentially querying whether a service bandwidth can be compressed to a minimum bandwidth according to the order of the attribute levels from the low level to the same level, and performing service link session compression to allocate a bandwidth to a new service request if a service at a certain attribute level is queried to compress a bandwidth, comprises:
s21, according to the sequence of the attribute level from low to high, firstly judging whether the attribute level of the new service request is the lowest attribute level, if so, turning to the step S23; otherwise, go to step S22;
s22, inquiring whether the service of lowest attribute level can compress the service bandwidth to the minimum bandwidth, if the service of the attribute level can compress the bandwidth, then compressing the service link session, and distributing the bandwidth to the new service request; otherwise, continuously sequentially inquiring whether the service bandwidth of the service at the higher attribute level can be compressed to the minimum bandwidth in sequence until the service at the same attribute level as the new service request is inquired, and then, turning to step S23;
and S23, inquiring whether the service with the same attribute level as the new service request can compress the service bandwidth to the minimum bandwidth, if the service with the attribute level can compress the bandwidth, performing service link session compression, and allocating the bandwidth to the new service request.
6. A system for dynamically adjusting traffic bandwidth, comprising: the system comprises a configuration unit, a first strategy execution unit and a second strategy execution unit;
the configuration unit is used for configuring first attribute information and second attribute information of each service and setting a corresponding first bandwidth adjustment strategy and a corresponding second bandwidth adjustment strategy; the first attribute information comprises attribute level information of each service; the second attribute information comprises attribute value information of each service;
the first policy execution unit is configured to, when the current session bandwidth is the maximum bandwidth, perform service bandwidth adjustment by using the first bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a normal available bandwidth according to a sequence from a low attribute level to a high attribute level, perform service link session compression if a service compressible bandwidth of a certain attribute level is queried, and allocate a bandwidth to a new service request; if the compressible service is not inquired, the second bandwidth adjustment strategy is adopted to adjust the service bandwidth;
the second policy execution unit is configured to, when the current session bandwidth is a normal available bandwidth, perform service bandwidth adjustment by using the second bandwidth adjustment policy, sequentially query whether a service bandwidth can be compressed to a minimum bandwidth according to an order from a low attribute level to the same attribute level, and perform service link session compression and allocate a bandwidth to a new service request if a service compressible bandwidth of a certain attribute level is queried; otherwise, according to the second attribute information of the current request service, inquiring whether each service attribute value exceeds the threshold value, if the service exceeding the threshold value exists, judging the service attribute level, performing forced compression on the service of the low level, and allocating the minimum available bandwidth to the new service request.
7. The system according to claim 6, wherein said first attribute information comprises a priority level of each service, said priority level being divided according to session link protocol; the second attribute information comprises weight ratios of all services, and the weight ratios are divided according to the bandwidth occupation requirements of the services; the maximum bandwidth, the normal available bandwidth and the minimum bandwidth are obtained when the session link is negotiated.
8. The system according to claim 6, wherein the second policy executing unit is configured to, in executing the second bandwidth adjustment policy, disable bandwidth allocation if there is no traffic exceeding a threshold.
9. The system of claim 6, wherein the first policy enforcement unit comprises:
the first strategy execution subunit is used for firstly judging whether the attribute level of the new service request is the lowest attribute level according to the sequence from low to high of the attribute levels, if so, continuously and sequentially inquiring whether the service with the higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and if the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request;
a second policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to a normal available bandwidth if the service at the lowest attribute level is not the lowest attribute level, and perform service link session compression and allocate the bandwidth to a new service request if the service at the low attribute level is the compressible bandwidth; if not, continuously and sequentially inquiring whether the service with higher attribute level than the new service request can compress the service bandwidth to the normal available bandwidth according to the sequence until the service with the highest attribute level is inquired, and once the service with a certain attribute level can compress the bandwidth, performing service link session compression and distributing the bandwidth to the new service request.
10. The system of claim 6, wherein the second policy enforcement unit comprises:
a third policy executing subunit, configured to, according to an order from a low attribute level to a high attribute level, first determine whether an attribute level of the new service request is a lowest attribute level, if the attribute level is the lowest attribute level, query whether a service that is the same attribute level as the new service request can compress a service bandwidth to a minimum bandwidth, and if the service at the attribute level is a compressible bandwidth, perform service link session compression, and allocate a bandwidth to the new service request;
a fourth policy executing subunit, configured to query whether the service at the lowest attribute level can compress the service bandwidth to the minimum bandwidth if the service at the lowest attribute level is not the lowest attribute level, perform service link session compression if the service at the attribute level is queried to compress the bandwidth, and allocate the bandwidth to the new service request; if not, continuously and sequentially inquiring whether the service bandwidth of the higher attribute level can be compressed to the minimum bandwidth or not according to the sequence until the service which is the same attribute level as the new service request is inquired, and once the service compressible bandwidth of a certain attribute level is inquired, performing service link session compression and allocating the bandwidth to the new service request.
CN202110627287.0A 2021-06-04 2021-06-04 Method and system for dynamically adjusting service bandwidth Active CN113381885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110627287.0A CN113381885B (en) 2021-06-04 2021-06-04 Method and system for dynamically adjusting service bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110627287.0A CN113381885B (en) 2021-06-04 2021-06-04 Method and system for dynamically adjusting service bandwidth

Publications (2)

Publication Number Publication Date
CN113381885A CN113381885A (en) 2021-09-10
CN113381885B true CN113381885B (en) 2022-04-08

Family

ID=77576171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110627287.0A Active CN113381885B (en) 2021-06-04 2021-06-04 Method and system for dynamically adjusting service bandwidth

Country Status (1)

Country Link
CN (1) CN113381885B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7843964B1 (en) * 2005-12-31 2010-11-30 At&T Intellectual Property Ii, L.P. Method and apparatus for dynamically adjusting broadband access bandwidth
CN101472295B (en) * 2007-12-27 2011-02-09 中国移动通信集团公司 Congestion control method and device
CN101848163A (en) * 2010-06-01 2010-09-29 中兴通讯股份有限公司 Method and system for dynamically adjusting bandwidth service and broadband policy system
CN102149144B (en) * 2011-04-02 2014-07-09 华为技术有限公司 Method for adjusting bandwidth, micro base station, home gateway and system
CN104468408B (en) * 2013-09-22 2018-04-06 中国电信股份有限公司 For dynamically adjusting the method and control centre's server of service bandwidth
CN105763486A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Bandwidth resource adjusting method, service terminal and adjusting device
CN112566187B (en) * 2020-12-08 2023-08-22 京信网络系统股份有限公司 Bandwidth allocation method, device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113381885A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US8031655B2 (en) Systems and methods for determining granularity level of information about buffer status
CN109618002B (en) Micro-service gateway optimization method, device and storage medium
US7933249B2 (en) Grade of service and fairness policy for bandwidth reservation system
US10313919B2 (en) Method and device for providing transmission differentiation in mobile communication system
CN102934403A (en) Controlling data transmission over a network
US8559310B2 (en) System and method for bandwidth control
CN105721350A (en) Intelligent bandwidth allocation method and apparatus
EP1947897A2 (en) Wireless base station apparatus capable of effectivley using wireless resources according to sorts of data
EP3132640B1 (en) Apparatus and method for a bandwidth allocation approach in a shared bandwidth communications system
WO2021212657A1 (en) Task scheduling method and device between terminal and server, and scheduler
US9668263B1 (en) Optimization of airtime among Wi-Fi clients connected to an access point
WO2017148446A1 (en) Network resource scheduling method, device and system, and network node
CN111030945A (en) Disaster recovery method, disaster recovery gateway, storage medium, device and system
CN114189446A (en) Resource allocation method, device, server and storage medium
CN111147468A (en) User access method, device, electronic equipment and storage medium
WO2013178108A1 (en) Rate control system and method based on wlan
CN113381885B (en) Method and system for dynamically adjusting service bandwidth
WO2016037510A1 (en) Power line communication frequency spectrum defragmentation method and device
CN115314442A (en) Congestion control and Group-based speed limit window device and method and speed limit window method
CN110753007B (en) QoS-based flow strategy configuration method and device
US6771624B2 (en) Method and apparatus for priority management of system algorithms in real time
CN104158751A (en) Flow control method and terminal
CN112188500A (en) Dynamic allocation method and device for frequency spectrum resources
CN113891398B (en) Resource determination method, equipment and storage medium
CN112910715A (en) Network bandwidth management method and device

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
GR01 Patent grant
GR01 Patent grant