CN114143270A - Bandwidth adjusting method and device - Google Patents

Bandwidth adjusting method and device Download PDF

Info

Publication number
CN114143270A
CN114143270A CN202111453589.7A CN202111453589A CN114143270A CN 114143270 A CN114143270 A CN 114143270A CN 202111453589 A CN202111453589 A CN 202111453589A CN 114143270 A CN114143270 A CN 114143270A
Authority
CN
China
Prior art keywords
bandwidth
target
physical link
utilization rate
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111453589.7A
Other languages
Chinese (zh)
Other versions
CN114143270B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111453589.7A priority Critical patent/CN114143270B/en
Publication of CN114143270A publication Critical patent/CN114143270A/en
Application granted granted Critical
Publication of CN114143270B publication Critical patent/CN114143270B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/52Queue scheduling by attributing bandwidth to queues
    • H04L47/522Dynamic queue service slot or variable bandwidth allocation
    • 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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests

Abstract

The invention discloses a bandwidth adjusting method and a bandwidth adjusting device, which relate to the technical field of communication and comprise the following steps: acquiring basic data and transmission data corresponding to a target service under the condition that the target service is executed through a target physical link; determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service by judging the size relationship and the difference value between the first bandwidth utilization rate and a first threshold; determining a second bandwidth utilization rate corresponding to the target physical link based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services, and determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and a second threshold; and adjusting the bandwidth corresponding to the target service or the target physical link according to the corresponding bandwidth adjustment mode and the bandwidth adjustment amount.

Description

Bandwidth adjusting method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a bandwidth adjusting method and apparatus.
Background
In order to meet the requirement of remote transmission, forwarding or storage of data, the current data transmission network constructs a relatively complex network topology model and invests in more infrastructure resource construction. In order to make better use of these infrastructure resources, the data transmission network needs to expand the infrastructure resources along with the bandwidth requirements of the upper layer services, so as to meet the bandwidth requirements of the upper layer services.
In the method, the adjustment of the network bandwidth only refers to the traffic transmission condition of the current upper-layer service, and with the increase of the traffic in the data transmission network and the diversification of the traffic, the bandwidth requirement of the service cannot be met and the network resources cannot be fully utilized by expanding the infrastructure resources. For example, when the traffic flow exceeds the reserved traffic bandwidth, the traffic delay needs to be increased to control the traffic flow not to exceed the reserved bandwidth, thereby affecting the traffic transmission efficiency; in addition, if the traffic flow is lower than the reserved bandwidth for a long time, and other services cannot use the part of the bandwidth resources, the network resources are wasted. Therefore, the reserved bandwidth cannot be flexibly adjusted to meet the bandwidth requirement of the service, so that the bandwidth cannot be reasonably allocated, and the utilization rate of the configured resources is low.
Disclosure of Invention
The invention provides a bandwidth adjusting method and device, which are used for flexibly adjusting reserved bandwidth to meet the bandwidth requirement of a service and improving the utilization rate of configured resources by reasonably allocating the bandwidth.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, a bandwidth adjustment method is provided, and the method includes: acquiring basic data and transmission data corresponding to a target service under the condition that the target service is executed through a target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the services; determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service by judging the size relationship and the difference value between the first bandwidth utilization rate and a first threshold; the bandwidth adjusting mode comprises the following steps: increasing the bandwidth and reducing the bandwidth; determining a second bandwidth utilization rate corresponding to the target physical link based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services, and determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and a second threshold; and adjusting the bandwidth corresponding to the target service according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, and adjusting the bandwidth corresponding to the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link.
In one possible implementation, the basic data includes a service preset bandwidth, the transmission data includes an instantaneous transmission flow, and the first bandwidth utilization is an instantaneous bandwidth utilization; determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relationship and the difference between the first bandwidth utilization rate and a first threshold, wherein the bandwidth adjustment mode and the bandwidth adjustment amount comprise the following steps: determining the instantaneous bandwidth utilization rate corresponding to the target service based on the service preset bandwidth and the instantaneous transmission flow; judging the size relationship between the instantaneous bandwidth utilization rate and a first threshold value, determining a bandwidth adjustment mode corresponding to the target service, judging the difference value between the instantaneous bandwidth utilization rate and the first threshold value, and determining a bandwidth adjustment amount corresponding to the target service; under the condition that the instantaneous bandwidth utilization rate is smaller than a first threshold value, reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount; and under the condition that the instantaneous bandwidth utilization rate is greater than or equal to the first threshold value, increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
In one possible implementation, the basic data includes a total traffic bandwidth, the transmission data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization; determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relationship and the difference between the first bandwidth utilization rate and a first threshold, wherein the bandwidth adjustment mode and the bandwidth adjustment amount comprise the following steps: determining the average bandwidth utilization rate corresponding to the target service based on the total service bandwidth and the total transmission flow; judging the size relationship between the average bandwidth utilization rate and a first threshold value, determining a bandwidth adjustment mode corresponding to the target service, judging the difference value between the average bandwidth utilization rate and the first threshold value, and determining a bandwidth adjustment amount corresponding to the target service; under the condition that the average bandwidth utilization rate is smaller than a first threshold value, reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount; and under the condition that the average bandwidth utilization rate is greater than or equal to the first threshold value, increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
In a possible implementation manner, determining a second bandwidth utilization rate corresponding to the target physical link based on a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each service in the multiple services, and determining the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link by determining a size relationship and a difference between the second bandwidth utilization rate and a second threshold, includes: determining the used bandwidth amount of a target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services; determining a second bandwidth utilization based on the target physical link used bandwidth amount and the target physical link total bandwidth amount; judging the size relationship between the second bandwidth utilization rate and a second threshold, determining a bandwidth adjustment mode corresponding to the target physical link, judging the difference value between the second bandwidth utilization rate and the second threshold, and determining a bandwidth adjustment amount corresponding to the target physical link; reducing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount under the condition that the second bandwidth utilization rate is smaller than a second threshold value; and increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount when the second bandwidth utilization rate is greater than or equal to the second threshold value.
In one possible implementation, determining the second bandwidth utilization based on the target amount of used bandwidth of the physical link and the target amount of total bandwidth of the physical link includes: and determining the second bandwidth utilization rate based on the used bandwidth amount of the target physical link, the total bandwidth amount of the target physical link and the number of the services executed by the target physical link.
In a second aspect, there is provided a bandwidth adjusting apparatus, comprising: the device comprises an acquisition unit, a determination unit and a processing unit; the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring basic data and transmission data corresponding to a target service under the condition that the target service is executed through a target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the services; the determining unit is used for determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service by judging the size relation and the difference value between the first bandwidth utilization rate and a first threshold; the bandwidth adjusting mode comprises the following steps: increasing the bandwidth and reducing the bandwidth; the determining unit is further configured to determine a second bandwidth utilization rate corresponding to the target physical link based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each of the plurality of services, and determine the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by judging a size relationship and a difference between the second bandwidth utilization rate and a second threshold; and the processing unit is used for adjusting the bandwidth corresponding to the target service according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, and adjusting the bandwidth corresponding to the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link.
In a third aspect, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform a bandwidth adjustment method as in the first aspect.
In a fourth aspect, an electronic device includes: a processor and a memory; wherein the memory is used for storing one or more programs, the one or more programs comprising computer executable instructions, and when the electronic device is running, the processor executes the computer executable instructions stored in the memory to make the electronic device execute the bandwidth adjusting method according to the first aspect.
The invention provides a bandwidth adjusting method and a device, which are applied to a scene of adjusting network bandwidth, can acquire basic data and transmission data corresponding to a target service aiming at any one of a plurality of services executed by the target physical link under the condition that the target service is executed by the target physical link, and determine a first bandwidth utilization rate corresponding to the target service based on the acquired basic data and transmission data, so that a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service can be determined by judging the size relation and the difference value between the first bandwidth utilization rate and a first threshold value, and further, after determining the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to each service in the plurality of services executed by the target physical link, a second bandwidth utilization rate corresponding to the target physical link can be determined according to the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to each service, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and the second threshold. Therefore, the bandwidth requirement of each service executed by the target physical link can be judged according to the acquired data information, the bandwidth configuration parameter of each service can be adjusted in time, and the bandwidth configuration parameter corresponding to the target physical link can be adjusted according to the bandwidth configuration parameter adjusted by each service. Therefore, the reserved bandwidth can be flexibly adjusted to meet the bandwidth requirement of the service, and the utilization rate of the configuration resource is improved by reasonably allocating the bandwidth.
Drawings
Fig. 1 is a schematic structural diagram of a bandwidth adjustment system according to an embodiment of the present invention;
fig. 2 is a first flowchart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a bandwidth adjustment method provided in the embodiment of the present invention;
fig. 5 is a fourth schematic flowchart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 7 is a first schematic structural diagram of a bandwidth adjustment apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a bandwidth adjustment apparatus according to an embodiment of the present invention;
fig. 9 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the description of the present invention, "/" means "or" unless otherwise specified, for example, a/B may mean a or B. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" or "a plurality" means two or more. The terms "first", "second", and the like do not necessarily limit the number and execution order, and the terms "first", "second", and the like do not necessarily limit the difference.
The bandwidth adjusting method provided by the embodiment of the invention can be suitable for a bandwidth adjusting system. Fig. 1 shows a schematic diagram of a structure of the bandwidth adjustment system. As shown in fig. 1, the bandwidth adjusting system 20 includes: electronic device 21, network device 22, and server 23. The electronic device 21 is connected to the network device 22, and the network device 22 is connected to the server 23. The electronic device 21, the network device 22, and the server 23 may be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present invention.
The bandwidth adjustment system 20 may be used in the internet of things, and the bandwidth adjustment system 20 may include hardware such as a plurality of Central Processing Units (CPUs), a plurality of memories, and a storage device storing a plurality of operating systems.
The electronic device 21 may be used in the internet of things to provide a communication service for the user, and is used to interact with the network device 22 to initiate a target service, so as to implement a communication service required by the user.
The network device 22 may be used in the internet of things, and is connected to the server 23, and configured to provide communication services required by the user for the electronic device 21, carry execution and data transmission of target services, and provide services such as information transmission for the user according to requirements.
The server 23 may be used for the internet of things, and is a server corresponding to the network device 22, that is, the server 23 is a server of a communication operator, and is used to control and maintain the network device 22 and adjust a bandwidth configuration parameter of the network device 22 for executing the target service, so that the network device 22 provides a better service for the user.
It should be noted that the electronic device 21, the network device 22 and the server 23 may be independent devices or may be integrated into a same device, and the present invention is not limited to this.
When the electronic device 21, the network device 22, and the server 23 are integrated in the same device, the communication mode among the electronic device 21, the network device 22, and the server 23 is communication among internal modules of the device. In this case, the communication flow between the two is the same as the "communication flow between the electronic device 21, the network device 22, and the server 23 when they are independent of each other".
In the following embodiments provided by the present invention, the present invention is described by taking an example in which the electronic device 21, the network device 22, and the server 23 are provided independently of each other.
In a data network, service bandwidth is reserved according to a value preset in advance by a user, and physical link bandwidth is adjusted according to whether the current service flow condition exceeds a threshold value. In order to improve the utilization rate of network resources and ensure the stability and reliability of services, the embodiment of the invention provides a bandwidth adjusting method.
A bandwidth adjustment method according to an embodiment of the present invention is described below with reference to the accompanying drawings.
As shown in fig. 2, a bandwidth adjusting method provided in an embodiment of the present invention is applied to a terminal including a plurality of memories and a plurality of CPUs, and includes S201 to S204:
s201, under the condition that the target service is executed through the target physical link, basic data and transmission data corresponding to the target service are obtained.
The target physical link is used for executing a plurality of services, and the target service is any one of the services.
Optionally, in the target physical link, different bandwidths need to be configured for different services in advance, so as to be used for executing corresponding services, and the target physical link is configured with a fixed total bandwidth, which is used for carrying execution of multiple services.
As a possible implementation manner, in the process of executing the target service, the basic data and the transmission data corresponding to the target service may be obtained in real time. The monitoring of the transmission data can be performed in real time, so that the transmission data of all services executed in the target physical link can be monitored in real time. The basic data is pre-configured fixed data information, and the transmission data can be understood as data information of real-time transmission flow.
It should be noted that after the network is established (i.e., the target physical link is established) and the service is carried, the data acquisition of the whole network is required, and a network model and a service model are established in the SDN control. The network model may be understood as a bandwidth policy configured by the network for each service, and the service model may be understood as specific execution information of each service carried in the network. And network model data and service model data can be acquired through a network element equipment acquisition protocol or an equipment active reporting mode.
It is understood that the data in the basic data and the transmission data may include network model data and service model data. The network model data may include: physical network element identification information, physical network element port information, physical link information, and the like; the business model data may include: service identification information, service port information, service bandwidth information, service flow information, acquisition time and the like.
Optionally, the basic data and the transmission data corresponding to the target service may be acquired once every preset time interval, so that whether the bandwidth corresponding to the target service needs to be adjusted once every preset time interval is determined. Therefore, the frequency of the bandwidth corresponding to the target service can be controlled and adjusted, and the stability and reliability of the service are ensured.
S202, based on the basic data and the transmission data, determining a first bandwidth utilization rate corresponding to the target service, and determining a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service by judging the size relation and the difference value between the first bandwidth utilization rate and a first threshold value.
The bandwidth adjusting method comprises the following steps: increasing bandwidth, decreasing bandwidth.
Specifically, the basic data and the transmission data may be input into a traffic threshold algorithm, so as to determine whether the bandwidth configuration parameter corresponding to the target service needs to be adjusted through the traffic threshold algorithm based on the basic data and the transmission data.
Optionally, after determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, the adjustment requirement may be configured and issued, and the service model corresponding to the target service in the database may be updated.
S203, determining a second bandwidth utilization rate corresponding to the target physical link based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services, and determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and a second threshold.
Specifically, the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each of the multiple services may be input into the physical bandwidth threshold algorithm, so as to determine whether the target physical link needs to be expanded through the physical bandwidth threshold algorithm based on the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each of the multiple services.
Optionally, after determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link, the capacity expansion requirement corresponding to the target physical link may be issued to the corresponding processing unit, and the network model summarized by the database may be updated at the same time.
S204, adjusting the bandwidth corresponding to the target service according to the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to the target service, and adjusting the bandwidth corresponding to the target physical link according to the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to the target physical link.
In the bandwidth adjusting method provided in the embodiment of the present invention, according to the obtained service model data (i.e., the basic data and the transmission data corresponding to the target service), the bandwidth corresponding to the target service is determined in real time, so as to adjust the bandwidth of the target service in real time, thereby quickly and effectively meeting the transmission requirement of the service traffic, and adjusting the total bandwidth of the physical link in real time, so as to effectively improve the utilization rate of the network resources.
In one design, the base data includes a traffic preset bandwidth, the transport data includes instantaneous transport traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization. In order to determine a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to a target service according to an instantaneous bandwidth utilization rate corresponding to the target service, as shown in fig. 3, in the bandwidth adjustment method provided in the embodiment of the present invention, the step in S202 may specifically include the following steps S301 to S304:
s301, determining the instantaneous bandwidth utilization rate corresponding to the target service based on the service preset bandwidth and the instantaneous transmission flow.
It should be noted that the service preset bandwidth is a bandwidth configuration parameter that is configured in advance for the target service by the server, that is, the maximum bandwidth that can be achieved when the target service transmits the traffic. The instantaneous transmission flow is instantaneous flow data acquired in real time when the target service transmits the flow.
As a possible implementation manner, the instantaneous bandwidth utilization rate may be obtained by calculating a ratio of the instantaneous transmission traffic to a service preset bandwidth.
Optionally, in the process of determining the instantaneous bandwidth utilization rate corresponding to the target service, the preset service bandwidth and the instantaneous transmission flow rate corresponding to the target service may be collected once every preset time interval, so as to determine whether the bandwidth corresponding to the target service needs to be adjusted.
S302, judging the size relation between the instantaneous bandwidth utilization rate and a first threshold value, determining a bandwidth adjusting mode corresponding to the target service, judging the difference value between the instantaneous bandwidth utilization rate and the first threshold value, and determining a bandwidth adjusting quantity corresponding to the target service.
Optionally, the first threshold may include a first sub-threshold and a second sub-threshold, and the first sub-threshold is greater than the second sub-threshold.
As a possible implementation manner, determining that the bandwidth corresponding to the target service needs to be increased when the instantaneous bandwidth utilization rate is greater than or equal to the first sub-threshold; and determining that the bandwidth corresponding to the target service needs to be reduced under the condition that the instantaneous bandwidth utilization rate is less than or equal to the second sub-threshold.
As a possible implementation manner, the bandwidth adjustment amount may be determined by calculating a difference between the instantaneous bandwidth utilization and the first threshold, and determining the bandwidth adjustment amount according to the difference, wherein the smaller the difference is, the larger the bandwidth adjustment amount is.
And S303, reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization rate is smaller than the first threshold value.
As a possible implementation manner, when it is determined that the instantaneous bandwidth utilization is less than or equal to the second sub-threshold, and the time interval between the two adjacent determinations of the magnitude relationship between the instantaneous bandwidth utilization and the threshold is greater than or equal to the preset time interval, it may be determined that the bandwidth corresponding to the target service needs to be reduced.
And S304, under the condition that the instantaneous bandwidth utilization rate is greater than or equal to the first threshold value, increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
As a possible implementation manner, when it is determined that the instantaneous bandwidth utilization is greater than or equal to the first sub-threshold, and the time interval between two adjacent determinations of the magnitude relationship between the instantaneous bandwidth utilization and the threshold is greater than or equal to the preset time interval, it may be determined that the bandwidth corresponding to the target service needs to be increased.
As a possible implementation manner, when it is determined that the instantaneous bandwidth utilization is greater than the second sub-threshold and smaller than the first sub-threshold, it may be determined that the bandwidth corresponding to the target service does not need to be adjusted.
In one design, the base data includes a total bandwidth of traffic, the transmission data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization; in order to determine a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to a target service according to an average bandwidth utilization rate corresponding to the target service, as shown in fig. 4, in the bandwidth adjustment method provided in the embodiment of the present invention, the step in S202 may specifically include the following S401-S404:
s401, based on the total bandwidth and the total transmission flow of the service, determining the average bandwidth utilization rate corresponding to the target service.
It should be noted that the total service bandwidth is determined according to the service bandwidth and the time duration, that is, the maximum traffic that can be transmitted by the target service within a certain time duration. The total transmission flow is the total flow transmitted by the target service in a certain time period.
Optionally, the average bandwidth utilization may be obtained by calculating a ratio of the total bandwidth of the service to the total transmission traffic.
Optionally, in the process of determining the average bandwidth utilization rate corresponding to the target service, the total bandwidth and the total transmission flow of the service corresponding to the target service may be collected once every preset time interval, so as to determine whether the bandwidth corresponding to the target service needs to be adjusted.
S402, judging the size relation between the average bandwidth utilization rate and a first threshold value, determining a bandwidth adjusting mode corresponding to the target service, judging the difference value between the average bandwidth utilization rate and the first threshold value, and determining the bandwidth adjusting quantity corresponding to the target service.
As a possible implementation manner, determining that the bandwidth corresponding to the target service needs to be increased when the average bandwidth utilization rate is greater than or equal to the first sub-threshold; and determining that the bandwidth corresponding to the target service needs to be reduced under the condition that the average bandwidth utilization rate is less than or equal to the second sub-threshold.
As a possible implementation manner, the bandwidth adjustment amount may be determined by calculating a difference between the average bandwidth utilization and the first threshold, and determining the bandwidth adjustment amount according to the difference, where the smaller the difference is, the larger the bandwidth adjustment amount is.
And S403, reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the average bandwidth utilization rate is smaller than the first threshold value.
As a possible implementation manner, when it is determined that the average bandwidth utilization is less than or equal to the second sub-threshold, it may be determined that the bandwidth corresponding to the target service needs to be reduced.
S404, under the condition that the average bandwidth utilization rate is larger than or equal to the first threshold value, the bandwidth corresponding to the target service is increased based on the bandwidth adjustment amount.
As a possible implementation manner, when it is determined that the average bandwidth utilization is greater than or equal to the first sub-threshold, it may be determined that the bandwidth corresponding to the target service needs to be increased.
As a possible implementation manner, when it is determined that the average bandwidth utilization is greater than the second sub-threshold and smaller than the first sub-threshold, it may be determined that the bandwidth corresponding to the target service does not need to be adjusted.
Optionally, when determining that the bandwidth configuration parameter of the target service needs to be adjusted, the bandwidth adjustment mode and the bandwidth adjustment amount are sent to the corresponding processing unit (e.g., network element device) to adjust the bandwidth configuration parameter of the target service, and simultaneously update service model data (e.g., service bandwidth information) corresponding to the target service in the database summary.
In a design, in order to determine a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to a target physical link, as shown in fig. 5, the steps from S203 to S505 may specifically include the following steps:
s501, determining the used bandwidth amount of the target physical link according to the bandwidth adjusting mode and the bandwidth adjusting amount corresponding to each service in the plurality of services.
As a possible implementation manner, after determining a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each service in a plurality of services executed by a target physical link, a current bandwidth configuration parameter of each service may be determined.
Further, the amount of the used bandwidth of the target physical link can be determined according to the current bandwidth configuration parameter of each service.
S502, determining a second bandwidth utilization rate based on the target physical link used bandwidth amount and the target physical link total bandwidth amount.
As a possible implementation manner, the second bandwidth utilization rate may be obtained by calculating a ratio of the used bandwidth amount of the target physical link and the total bandwidth amount of the target physical link.
Specifically, the used bandwidth amount of the target physical link and the total bandwidth amount of the target physical link may be introduced into the corresponding network computing module to compute and obtain the second bandwidth utilization rate corresponding to the target physical link.
It should be noted that, the above-mentioned amount of bandwidth used by the target physical link can be understood as: the total amount of bandwidth that has been configured on the target physical link for all traffic that is performed. The target physical link total bandwidth amount can be understood as: the amount of bandwidth available on the target physical link includes an amount of allocated bandwidth and an amount of unallocated bandwidth.
S503, judging the size relationship between the second bandwidth utilization rate and the second threshold, determining the bandwidth adjustment mode corresponding to the target physical link, judging the difference value between the second bandwidth utilization rate and the second threshold, and determining the bandwidth adjustment amount corresponding to the target physical link.
Optionally, the second threshold may include a third sub-threshold and a fourth sub-threshold, and the third sub-threshold is greater than the fourth sub-threshold.
As a possible implementation manner, the bandwidth adjustment amount may be determined by calculating a difference between the second bandwidth utilization and the threshold (i.e., the third sub-threshold or the fourth sub-threshold), and determining the bandwidth adjustment amount according to the difference, wherein the smaller the difference is, the larger the bandwidth adjustment amount is.
And S504, reducing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount under the condition that the second bandwidth utilization rate is smaller than the second threshold value.
As a possible implementation, in a case that the second bandwidth utilization is less than or equal to the fourth sub-threshold, it is determined that the target physical link total bandwidth needs to be reduced.
And S505, when the second bandwidth utilization rate is greater than or equal to the second threshold value, increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount.
As a possible implementation, in a case that the second bandwidth utilization is greater than or equal to the third sub-threshold, it is determined that the target physical link total bandwidth needs to be increased.
As a possible implementation manner, in the case that it is determined that the second bandwidth utilization rate is greater than the fourth sub-threshold and less than the third sub-threshold, it may be determined that the target physical link total bandwidth does not need to be adjusted.
Optionally, after the total bandwidth amount of the target physical link is adjusted, the network model data corresponding to the target physical link in the database summary (i.e. the total bandwidth amount of the target physical link) needs to be updated at the same time.
In a design, in order to accurately determine a second bandwidth utilization rate corresponding to a target physical link, as shown in fig. 6, the step in S502 in the bandwidth adjustment method provided in the embodiment of the present invention may specifically include the following step S5021:
s5021, determining a second bandwidth utilization rate based on the used bandwidth amount of the target physical link, the total bandwidth amount of the target physical link and the number of services executed by the target physical link.
As a possible implementation manner, when calculating the second bandwidth utilization rate corresponding to the target physical link, a more accurate second bandwidth utilization rate may be obtained according to the total amount of traffic carried by the target physical link.
It should be noted that the total amount of traffic may be understood as: the total amount of traffic carried by the target physical link. The total amount of traffic may indicate the concurrent demand of all the services carried in the target physical link, for example: when the total number of services is small, the concurrency probability is small (that is, the amount of service data transmitted at the same time is small), and the amount of bandwidth required to be reserved is also small; when the total amount of the services is larger, the concurrency probability is higher, and the amount of the bandwidth needing to be reserved is larger.
Optionally, the first value may be obtained by calculating a product of the used bandwidth amount of the target physical link and the conventional coefficient α, and then calculating a ratio of the product to the total bandwidth amount of the target physical link; and further calculating the product of the total number of the services and the conventional coefficient beta to obtain a second value, and determining the sum of the first value and the second value as the second bandwidth utilization rate.
As a possible implementation manner, in a case that the second bandwidth utilization is less than or equal to the fourth sub-threshold, and a time interval between two adjacent determinations that the second bandwidth utilization is greater than or equal to a preset time interval, it is determined that the target physical link total bandwidth needs to be reduced.
As a possible implementation manner, when the second bandwidth utilization is greater than or equal to the third sub-threshold, and the time interval between two adjacent determinations that the second bandwidth utilization is greater than or equal to the preset time interval, it is determined that the target physical link total bandwidth needs to be increased.
The bandwidth adjustment method provided by the patent flexibly adjusts the service configuration bandwidth parameter by judging whether the service bandwidth utilization rate exceeds the threshold, and controls the frequency of service bandwidth adjustment by setting the threshold and the time period. On the basis of the calculation, the total bandwidth of the physical link can be adjusted according to the total bandwidth utilization rate and the total number of the services corresponding to the physical link, so that the distributable bandwidth condition corresponding to the physical link is represented by the utilization rate of the total bandwidth of the physical link, and the possibility of service concurrency in the physical link is represented by the total number of the services, so that the total bandwidth of the physical link is flexibly controlled by using the two data. Therefore, the service and physical link bandwidth can be flexibly adjusted, the service configuration bandwidth can be flexibly adjusted in real time, the utilization rate of network resources is effectively improved, the low service execution efficiency or resource waste caused by unreasonable bandwidth pre-configuration is avoided, the frequency of bandwidth adjustment is well controlled, and the stable and reliable execution of the service is ensured.
An embodiment of the present invention further provides a bandwidth adjusting apparatus, as shown in fig. 7, the bandwidth adjusting apparatus includes: the system comprises a data acquisition module 301, a service model calculation module 302, a service bandwidth adjustment module 303, a service model storage module 304, a network model calculation module 305, a physical port bandwidth adjustment module 306 and a network model storage module 307.
The data acquisition module 301 is configured to acquire network data and service data of the whole network in real time; a service model calculation module 302, configured to calculate whether the bandwidth configured for each service meets the requirement and needs to be adjusted, and perform calculation by inputting a service identifier, service traffic, service bandwidth, and the like; a service bandwidth adjusting module 303, configured to adjust a bandwidth configured for a service, where the bandwidth includes increasing bandwidth and decreasing bandwidth; a service model storage module 304, configured to store service model data, which includes service identification information, service port information, service bandwidth information, service traffic information, acquisition time, and the like; a network model calculation module 305, configured to calculate whether a physical link meets a service requirement, whether a total bandwidth of the physical link needs to be adjusted, and perform calculation by inputting a physical link identifier, the total bandwidth of the physical link, and a total amount of traffic; a physical port bandwidth adjustment module 306, configured to adjust a total bandwidth of the physical link, including increasing the total bandwidth of the physical link and decreasing the total bandwidth of the physical link; the network model storage module 307 is configured to store network model data, which includes a physical link ID, a total bandwidth of the physical link, a bandwidth usage amount of the physical link, a total number of executed services, and the like, and a number of executed services of the physical link.
Illustratively, the data collection module 301 is further configured to store the collected service data and network data in the service model storage module 304 and the network model storage module 307, respectively; meanwhile, the service model data is input into the service model calculation module 302, the service model calculation module 302 calculates whether the service bandwidth needs to be adjusted, if so, the bandwidth is adjusted up or down through the service bandwidth adjustment module 303, and the adjusted service model data is updated and stored into the service model storage module 304.
Further, the updated data is input into the network model calculation module 305, and it is calculated whether the total bandwidth of the physical link needs to be adjusted, if so, the physical port bandwidth adjustment module 306 performs an up-regulation or down-regulation operation on the total bandwidth of the physical link, and the adjusted network model data is updated and stored in the network model storage module 307.
The invention provides a bandwidth adjusting method and a device, which are applied to a scene of adjusting network bandwidth, can acquire basic data and transmission data corresponding to a target service aiming at any one of a plurality of services executed by the target physical link under the condition that the target service is executed by the target physical link, and determine a first bandwidth utilization rate corresponding to the target service based on the acquired basic data and transmission data, so that a bandwidth adjusting mode and a bandwidth adjusting quantity corresponding to the target service can be determined by judging the size relation and the difference value between the first bandwidth utilization rate and a first threshold value, and further, after determining the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to each service in the plurality of services executed by the target physical link, a second bandwidth utilization rate corresponding to the target physical link can be determined according to the bandwidth adjusting mode and the bandwidth adjusting quantity corresponding to each service, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and the second threshold. Therefore, the bandwidth requirement of each service executed by the target physical link can be judged according to the acquired data information, the bandwidth configuration parameter of each service can be adjusted in time, and the bandwidth configuration parameter corresponding to the target physical link can be adjusted according to the bandwidth configuration parameter adjusted by each service. Therefore, the reserved bandwidth can be flexibly adjusted to meet the bandwidth requirement of the service, and the utilization rate of the configuration resource is improved by reasonably allocating the bandwidth.
The scheme provided by the embodiment of the invention is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present invention, functional modules of a bandwidth adjusting apparatus may be divided according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 8 is a schematic structural diagram of a bandwidth adjusting apparatus according to an embodiment of the present invention. As shown in fig. 8, a bandwidth adjusting apparatus 40 is used to flexibly adjust the reserved bandwidth to meet the bandwidth requirement of the service, and improve the utilization of the configured resource by reasonably allocating the bandwidth, for example, to implement a bandwidth adjusting method shown in fig. 2. The bandwidth adjusting apparatus 40 includes: an acquisition unit 401, a determination unit 402 and a processing unit 403.
An obtaining unit 401, configured to obtain basic data and transmission data corresponding to a target service when the target service is executed through a target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the services.
A determining unit 402, configured to determine a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determine a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to the target service by determining a size relationship and a difference between the first bandwidth utilization rate and a first threshold; the bandwidth adjusting mode comprises the following steps: increasing bandwidth, decreasing bandwidth.
The determining unit 402 is further configured to determine a second bandwidth utilization rate corresponding to the target physical link based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each of the multiple services, and determine the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by determining a size relationship and a difference between the second bandwidth utilization rate and a second threshold.
The processing unit 403 is configured to adjust a bandwidth corresponding to the target service according to the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target service, and adjust a bandwidth corresponding to the target physical link according to the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link.
Optionally, in the bandwidth adjusting apparatus 40 provided in the embodiment of the present invention, the basic data includes a service preset bandwidth, the transmission data includes an instantaneous transmission traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization; the determining unit 402 is specifically configured to determine, based on the preset bandwidth of the service and the instantaneous transmission flow, an instantaneous bandwidth utilization rate corresponding to the target service.
The determining unit 402 is further configured to determine a size relationship between the instantaneous bandwidth utilization rate and a first threshold, determine a bandwidth adjustment manner corresponding to the target service, determine a difference between the instantaneous bandwidth utilization rate and the first threshold, and determine a bandwidth adjustment amount corresponding to the target service.
The processing unit 403 is further configured to, if the instantaneous bandwidth utilization is smaller than the first threshold, decrease the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
The processing unit 403 is further configured to increase the bandwidth corresponding to the target service based on the bandwidth adjustment amount if the instantaneous bandwidth utilization rate is greater than or equal to the first threshold.
Optionally, in the bandwidth adjusting apparatus 40 provided in the embodiment of the present invention, the basic data includes a total service bandwidth, the transmission data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization; the determining unit 402 is specifically configured to determine an average bandwidth utilization rate corresponding to the target service based on the total bandwidth of the service and the total transmission traffic.
The determining unit 402 is further configured to determine a size relationship between the average bandwidth utilization and a first threshold, determine a bandwidth adjustment manner corresponding to the target service, determine a difference between the average bandwidth utilization and the first threshold, and determine a bandwidth adjustment amount corresponding to the target service.
The processing unit 403 is further configured to, if the average bandwidth utilization is smaller than the first threshold, decrease the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
The processing unit 403 is further configured to increase the bandwidth corresponding to the target service based on the bandwidth adjustment amount if the average bandwidth utilization is greater than or equal to the first threshold.
Optionally, in the bandwidth adjustment apparatus 40 provided in the embodiment of the present invention, the determining unit 402 is further configured to determine the amount of the bandwidth used by the target physical link according to the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each of the multiple services.
The determining unit 402 is further configured to determine a second bandwidth utilization rate based on the target amount of used bandwidth of the physical link and the target amount of total bandwidth of the physical link.
The determining unit 402 is further configured to determine a size relationship between the second bandwidth utilization and a second threshold, determine a bandwidth adjustment manner corresponding to the target physical link, determine a difference between the second bandwidth utilization and the second threshold, and determine a bandwidth adjustment amount corresponding to the target physical link.
The processing unit 403 is further configured to, if the second bandwidth utilization is smaller than the second threshold, decrease the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount.
The processing unit 403 is further configured to increase the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount if the second bandwidth utilization rate is greater than or equal to the second threshold.
Optionally, in the bandwidth adjustment apparatus 40 provided in the embodiment of the present invention, the determining unit 402 is further configured to determine the second bandwidth utilization rate based on the target amount of used bandwidth of the physical link, the target amount of total bandwidth of the physical link, and the number of services executed by the target physical link.
In the case of implementing the functions of the integrated modules in the form of hardware, the embodiment of the present invention provides another possible structural schematic diagram of the electronic device related to the above embodiment. As shown in fig. 9, an electronic device 60 for rating business segment ratings to provide accurate reference to consumers, such as for performing a bandwidth adjustment method as shown in fig. 2. The electronic device 60 includes a processor 601, a memory 602, and a bus 603. The processor 601 and the memory 602 may be connected by a bus 603.
The processor 601 is a control center of the communication apparatus, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 601 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 601 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 9.
The memory 602 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 602 may be present separately from the processor 601, and the memory 602 may be connected to the processor 601 via a bus 603 for storing instructions or program code. The processor 601 calls and executes the instructions or program codes stored in the memory 602, so as to realize the bandwidth adjustment method provided by the embodiment of the invention.
In another possible implementation, the memory 602 may also be integrated with the processor 601.
The bus 603 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
It is to be noted that the structure shown in fig. 9 does not constitute a limitation of the electronic apparatus 60. In addition to the components shown in fig. 9, the electronic device 60 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As an example, in connection with fig. 8, the functions implemented by the acquisition unit 401 and the determination unit 402 in the electronic device are the same as the functions of the processor 601 in fig. 9.
Optionally, as shown in fig. 9, the electronic device 60 provided in the embodiment of the present invention may further include a communication interface 604.
A communication interface 604 for connecting with other devices via a communication network. The communication network may be an ethernet network, a radio access network, a Wireless Local Area Network (WLAN), etc. The communication interface 604 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, in the electronic device provided by the embodiment of the present invention, the communication interface may be further integrated in the processor.
Fig. 10 shows another hardware configuration of the electronic apparatus in the embodiment of the present invention. As shown in fig. 10, the electronic device 70 may include a processor 701, a communication interface 702, a memory 703, and a bus 704. The processor 701 is coupled to a communication interface 702 and a memory 703.
The functions of the processor 701 may refer to the description of the processor 601 above. The processor 701 also has a memory function, and the function of the memory 602 can be referred to.
The communication interface 702 is used to provide data to the processor 701. The communication interface 702 may be an internal interface of the communication apparatus, or may be an external interface of the communication apparatus (corresponding to the communication interface 604).
It should be noted that the configuration shown in fig. 10 does not constitute a limitation of the electronic device 70, and the electronic device 70 may include more or less components than those shown in fig. 10, or combine some components, or arrange different components, in addition to the components shown in fig. 10.
Through the above description of the embodiments, it is clear for a person skilled in the art that, for convenience and simplicity of description, only the division of the above functional units is illustrated. In practical applications, the above function allocation can be performed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by a computer, the computer executes each step in the method flow shown in the above method embodiment.
Embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform a method of bandwidth adjustment as in the above-described method embodiments.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the electronic device, the computer-readable storage medium, and the computer program product in the embodiments of the present invention may be applied to the method described above, for technical effects obtained by the method, reference may also be made to the method embodiments described above, and details of the embodiments of the present invention are not repeated herein.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention.

Claims (12)

1. A method of bandwidth adjustment, the method comprising:
acquiring basic data and transmission data corresponding to a target service under the condition that the target service is executed through a target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the services;
determining a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relationship and the difference between the first bandwidth utilization rate and a first threshold; the bandwidth adjusting method comprises the following steps: increasing the bandwidth and reducing the bandwidth;
determining a second bandwidth utilization rate corresponding to the target physical link based on a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to each service in the plurality of services, and determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by judging the size relationship and the difference between the second bandwidth utilization rate and a second threshold;
and adjusting the bandwidth corresponding to the target service according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, and adjusting the bandwidth corresponding to the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link.
2. The method of claim 1, wherein the base data comprises a traffic preset bandwidth, the transmission data comprises instantaneous transmission traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization;
the determining, based on the basic data and the transmission data, a first bandwidth utilization rate corresponding to the target service, and determining, by determining a size relationship and a difference between the first bandwidth utilization rate and a first threshold, a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service, includes:
determining an instantaneous bandwidth utilization rate corresponding to the target service based on the service preset bandwidth and the instantaneous transmission flow;
judging the size relationship between the instantaneous bandwidth utilization rate and the first threshold, determining a bandwidth adjustment mode corresponding to the target service, judging the difference value between the instantaneous bandwidth utilization rate and the first threshold, and determining a bandwidth adjustment amount corresponding to the target service;
reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization rate is smaller than the first threshold;
and increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount when the instantaneous bandwidth utilization rate is greater than or equal to the first threshold.
3. The method of claim 1, wherein the base data comprises total traffic bandwidth, the transmission data comprises total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization;
the determining, based on the basic data and the transmission data, a first bandwidth utilization rate corresponding to the target service, and determining, by determining a size relationship and a difference between the first bandwidth utilization rate and a first threshold, a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service, includes:
determining an average bandwidth utilization rate corresponding to the target service based on the total service bandwidth and the total transmission flow;
judging the size relationship between the average bandwidth utilization rate and the first threshold, determining a bandwidth adjustment mode corresponding to the target service, judging the difference value between the average bandwidth utilization rate and the first threshold, and determining a bandwidth adjustment amount corresponding to the target service;
reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the average bandwidth utilization rate is smaller than the first threshold;
and increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount when the average bandwidth utilization rate is greater than or equal to the first threshold.
4. The method of claim 1, wherein the determining a second bandwidth utilization rate corresponding to the target physical link based on a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to each of the plurality of services, and determining the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link by determining a size relationship and a difference between the second bandwidth utilization rate and a second threshold comprises:
determining the used bandwidth amount of the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services;
determining the second bandwidth utilization based on the target amount of physical link bandwidth used and the target amount of physical link total bandwidth;
judging the size relationship between the second bandwidth utilization rate and the second threshold, determining a bandwidth adjustment mode corresponding to the target physical link, judging the difference value between the second bandwidth utilization rate and the second threshold, and determining a bandwidth adjustment amount corresponding to the target physical link;
if the second bandwidth utilization rate is smaller than the second threshold, reducing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount;
and if the second bandwidth utilization rate is greater than or equal to the second threshold, increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount.
5. The method of claim 4, wherein determining the second bandwidth utilization based on the target amount of bandwidth used for the physical link and the target amount of bandwidth for the physical link comprises:
determining the second bandwidth utilization based on the target physical link used bandwidth amount, the target physical link total bandwidth amount and the number of services executed by the target physical link.
6. A bandwidth adjustment apparatus, comprising: the device comprises an acquisition unit, a determination unit and a processing unit;
the acquiring unit is used for acquiring basic data and transmission data corresponding to a target service under the condition that the target service is executed through a target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the services;
the determining unit is configured to determine a first bandwidth utilization rate corresponding to the target service based on the basic data and the transmission data, and determine a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by determining a size relationship and a difference between the first bandwidth utilization rate and a first threshold; the bandwidth adjusting method comprises the following steps: increasing the bandwidth and reducing the bandwidth;
the determining unit is further configured to determine a second bandwidth utilization rate corresponding to the target physical link based on a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each of the multiple services, and determine the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link by determining a size relationship and a difference between the second bandwidth utilization rate and a second threshold;
and the processing unit is configured to adjust the bandwidth corresponding to the target service according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, and adjust the bandwidth corresponding to the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link.
7. The bandwidth adjusting apparatus according to claim 6, wherein the basic data includes a service preset bandwidth, the transmission data includes an instantaneous transmission traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization;
the determining unit is specifically configured to determine, based on the service preset bandwidth and the instantaneous transmission traffic, an instantaneous bandwidth utilization rate corresponding to the target service;
the determining unit is further configured to determine a size relationship between the instantaneous bandwidth utilization rate and the first threshold, determine a bandwidth adjustment mode corresponding to the target service, determine a difference between the instantaneous bandwidth utilization rate and the first threshold, and determine a bandwidth adjustment amount corresponding to the target service;
the processing unit is further configured to reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service when the instantaneous bandwidth utilization rate is smaller than the first threshold;
the processing unit is further configured to increase the bandwidth corresponding to the target service based on the bandwidth adjustment amount when the instantaneous bandwidth utilization rate is greater than or equal to the first threshold.
8. The bandwidth adjusting apparatus according to claim 6, wherein the basic data includes a total traffic bandwidth, the transmission data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization;
the determining unit is specifically configured to determine, based on the total service bandwidth and the total transmission traffic, an average bandwidth utilization rate corresponding to the target service;
the determining unit is further configured to determine a size relationship between the average bandwidth utilization and the first threshold, determine a bandwidth adjustment manner corresponding to the target service, determine a difference between the average bandwidth utilization and the first threshold, and determine a bandwidth adjustment amount corresponding to the target service;
the processing unit is further configured to reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service when the average bandwidth utilization is smaller than the first threshold;
the processing unit is further configured to increase the bandwidth corresponding to the target service based on the bandwidth adjustment amount when the average bandwidth utilization is greater than or equal to the first threshold.
9. The apparatus according to claim 6, wherein the determining unit is further configured to determine the amount of bandwidth used by the target physical link according to a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each of the plurality of services;
the determining unit is further configured to determine the second bandwidth utilization rate based on the target physical link used bandwidth amount and the target physical link total bandwidth amount;
the determining unit is further configured to determine a size relationship between the second bandwidth utilization and the second threshold, determine a bandwidth adjustment manner corresponding to the target physical link, determine a difference between the second bandwidth utilization and the second threshold, and determine a bandwidth adjustment amount corresponding to the target physical link;
the processing unit is further configured to reduce, when the second bandwidth utilization is smaller than the second threshold, the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount;
the processing unit is further configured to increase the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount when the second bandwidth utilization rate is greater than or equal to the second threshold.
10. The apparatus of claim 9, wherein the determining unit is further configured to determine the second bandwidth utilization based on the target amount of used bandwidth of the physical link, the target amount of total bandwidth of the physical link, and the amount of traffic performed by the target physical link.
11. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer, cause the computer to perform a bandwidth adjustment method as claimed in any one of claims 1-5.
12. An electronic device, comprising: a processor and a memory; wherein the memory is configured to store one or more programs, the one or more programs including computer-executable instructions, which when executed by the electronic device, cause the electronic device to perform a bandwidth adjustment method as recited in any one of claims 1-5, when the processor executes the computer-executable instructions stored in the memory.
CN202111453589.7A 2021-12-01 2021-12-01 Bandwidth adjustment method and device Active CN114143270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111453589.7A CN114143270B (en) 2021-12-01 2021-12-01 Bandwidth adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111453589.7A CN114143270B (en) 2021-12-01 2021-12-01 Bandwidth adjustment method and device

Publications (2)

Publication Number Publication Date
CN114143270A true CN114143270A (en) 2022-03-04
CN114143270B CN114143270B (en) 2023-06-06

Family

ID=80386652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111453589.7A Active CN114143270B (en) 2021-12-01 2021-12-01 Bandwidth adjustment method and device

Country Status (1)

Country Link
CN (1) CN114143270B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114817110A (en) * 2022-04-26 2022-07-29 地平线(上海)人工智能技术有限公司 Data transmission method and device
CN115174411A (en) * 2022-07-29 2022-10-11 北京达佳互联信息技术有限公司 Cross-region bandwidth determination method, device, equipment and storage medium
CN116094969A (en) * 2022-12-23 2023-05-09 中国联合网络通信集团有限公司 Bandwidth adjustment method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090110000A1 (en) * 2007-10-31 2009-04-30 Morten Brorup Apparatus and a method for distributing bandwidth
US7873074B1 (en) * 2006-06-01 2011-01-18 Avaya Inc. Adaptive selection of bandwidth parameters to meet a service provider pricing model
CN104426802A (en) * 2013-08-26 2015-03-18 中国科学院声学研究所 Dynamic adjusting method for bandwidth
CN107094122A (en) * 2017-05-18 2017-08-25 武汉烽火技术服务有限公司 A kind of method and system of the adjust automatically network bandwidth
CN107612845A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 A kind of service bandwidth method of adjustment, apparatus and system
CN108243122A (en) * 2018-01-04 2018-07-03 烽火通信科技股份有限公司 A kind of method that QoS bandwidth is adjusted based on service bandwidth utilization rate dynamic

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873074B1 (en) * 2006-06-01 2011-01-18 Avaya Inc. Adaptive selection of bandwidth parameters to meet a service provider pricing model
US20090110000A1 (en) * 2007-10-31 2009-04-30 Morten Brorup Apparatus and a method for distributing bandwidth
CN104426802A (en) * 2013-08-26 2015-03-18 中国科学院声学研究所 Dynamic adjusting method for bandwidth
CN107612845A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 A kind of service bandwidth method of adjustment, apparatus and system
CN107094122A (en) * 2017-05-18 2017-08-25 武汉烽火技术服务有限公司 A kind of method and system of the adjust automatically network bandwidth
CN108243122A (en) * 2018-01-04 2018-07-03 烽火通信科技股份有限公司 A kind of method that QoS bandwidth is adjusted based on service bandwidth utilization rate dynamic

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
M. YANG ET AL.: "An end-to-end QoS framework with on-demand bandwidth reconfiguration", 《IEEE》 *
吴加伟: "软件定义网络中流媒体服务QoS保障的研究", 《中国博士学位论文全文数据库》 *
李文信: "大规模数据中心带宽分配与流量调度技术研究", 《中国博士学位论文全文数据库》 *
高峰: "带宽按需分配业务及其实现", 《中兴通讯技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114817110A (en) * 2022-04-26 2022-07-29 地平线(上海)人工智能技术有限公司 Data transmission method and device
CN114817110B (en) * 2022-04-26 2023-04-25 地平线(上海)人工智能技术有限公司 Data transmission method and device
CN115174411A (en) * 2022-07-29 2022-10-11 北京达佳互联信息技术有限公司 Cross-region bandwidth determination method, device, equipment and storage medium
CN115174411B (en) * 2022-07-29 2024-05-07 北京达佳互联信息技术有限公司 Cross-region bandwidth determination method, device, equipment and storage medium
CN116094969A (en) * 2022-12-23 2023-05-09 中国联合网络通信集团有限公司 Bandwidth adjustment method, device, equipment and storage medium
CN116094969B (en) * 2022-12-23 2024-03-29 中国联合网络通信集团有限公司 Bandwidth adjustment method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114143270B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN114143270B (en) Bandwidth adjustment method and device
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
Zhang et al. Dynamic offloading algorithm in intermittently connected mobile cloudlet systems
WO2012050912A1 (en) System and method for proactive resource allocation
CN112367697A (en) Base station energy saving method and device
KR20200013902A (en) Method and system for creating energe demand model
CN111949408A (en) Dynamic allocation method for edge computing resources
CN112333826B (en) Service admission method and device
CN113885794A (en) Data access method and device based on multi-cloud storage, computer equipment and medium
CN113840330A (en) Method for establishing connection, gateway equipment, network system and scheduling center
CN113452758A (en) Service access method and device
CN109587806A (en) A kind of scheduling request sending method and terminal device
CN114451006A (en) Method, device and system for configuring wireless resource allocation strategy
CN110113269B (en) Flow control method based on middleware and related device
CN113886058A (en) Cross-cluster resource scheduling method and device
CN113453285B (en) Resource adjusting method, device and storage medium
CN112492635B (en) Determination method and device for scheduling priority
CN114071547B (en) QoE measurement configuration method, qoE measurement configuration device and storage medium
EP2930617A1 (en) Resource management method and device
CN111857780A (en) Terminal firmware upgrading method and device
CN111885625B (en) Method and device for determining resource utilization rate
CN111988403A (en) Request processing method and system of electronic equipment, storage medium and electronic equipment
CN112953690B (en) Carrier aggregation control method, device, storage medium and base station
CN116347455A (en) Dynamic spectrum sharing method, device, computer equipment and computer storage medium
CN113709715A (en) Slice resource allocation method and device, computer equipment and storage medium

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