CN114143270B - Bandwidth adjustment method and device - Google Patents

Bandwidth adjustment method and device Download PDF

Info

Publication number
CN114143270B
CN114143270B CN202111453589.7A CN202111453589A CN114143270B CN 114143270 B CN114143270 B CN 114143270B CN 202111453589 A CN202111453589 A CN 202111453589A CN 114143270 B CN114143270 B CN 114143270B
Authority
CN
China
Prior art keywords
bandwidth
physical link
service
target
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.)
Active
Application number
CN202111453589.7A
Other languages
Chinese (zh)
Other versions
CN114143270A (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 device, which relate to the technical field of communication and comprise the following steps: under the condition that a target service is executed through a target physical link, basic data and transmission data corresponding to the target service are obtained; 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 relation and the difference value of the first bandwidth utilization rate and the first threshold value; 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 relation and the difference value of 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 quantity.

Description

Bandwidth adjustment method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for bandwidth adjustment.
Background
In order to meet the requirement of remote transmission, forwarding or storage of data, the current data transmission network builds a relatively complex network topology model, and invests more infrastructure resource construction. In order to better fully utilize these infrastructure resources, the data transmission network needs to be extended with the bandwidth requirements of the upper layer service, so as to meet the bandwidth requirements of the upper layer service.
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 volume and the diversification of the traffic flow in the data transmission network, the bandwidth requirement of the service cannot be met and the network resource cannot be fully utilized by expanding the infrastructure resource. For example, when the traffic exceeds the reserved traffic bandwidth, the traffic needs to be controlled by increasing the traffic delay so as 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 traffic cannot use the part of bandwidth resources, the waste of network resources is caused. 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 configuration 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 service, and the utilization rate of configuration resources is improved by reasonably distributing the bandwidth.
In order to achieve the above purpose, the invention adopts the following technical scheme:
In a first aspect, a bandwidth adjustment method is provided, the method including: under the condition that a target service is executed through a 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 plurality of 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 relation and the difference value of the first bandwidth utilization rate and the first threshold value; the bandwidth adjustment 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 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 relation and the difference value of 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 quantity 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 quantity 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 traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization; based on the basic data and the transmission data, determining a first bandwidth utilization rate corresponding to the target service, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relation and the difference value of the first bandwidth utilization rate and a first threshold value, wherein the method comprises 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 magnitude relation between the instantaneous bandwidth utilization rate and the 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 the bandwidth adjustment quantity 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 is smaller than a first threshold; and increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization is greater than or equal to the first threshold.
In one possible implementation, the basic data includes a total bandwidth of the service, the transmission data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization; based on the basic data and the transmission data, determining a first bandwidth utilization rate corresponding to the target service, and determining a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relation and the difference value of the first bandwidth utilization rate and a first threshold value, wherein the method comprises the following steps: determining the average bandwidth utilization rate corresponding to the target service based on the total bandwidth and the total transmission flow of the service; judging the size relation between the average bandwidth utilization rate and the 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 the bandwidth adjustment quantity 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 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 is greater than or equal to the first threshold.
In one possible implementation manner, based on a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each service in the plurality of services, determining a second bandwidth utilization corresponding to the target physical link, 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 and a second threshold, including: 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 a second bandwidth utilization based on the amount of bandwidth used by the target physical link and the amount of total bandwidth of the target physical link; judging the size relation between the second bandwidth utilization rate and a second threshold value, 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 value, and determining a bandwidth adjustment quantity 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 is smaller than a second threshold; and increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount when the second bandwidth utilization is greater than or equal to the second threshold.
In one possible implementation, determining the second bandwidth utilization based on the target amount of physical link utilized bandwidth and the target amount of physical link total bandwidth includes: the second bandwidth utilization is determined based on the amount of bandwidth used by the target physical link, the total amount of bandwidth of the target physical link, and the amount of traffic performed by the target physical link.
In a second aspect, there is provided a bandwidth adjustment apparatus comprising: the device comprises an acquisition unit, a determination unit and a processing unit; the acquisition unit is used for acquiring basic data and transmission data corresponding to the target service under the condition that the target service is executed through the target physical link; the target physical link is used for executing a plurality of services, and the target service is any one of the plurality of 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 adjustment mode and a bandwidth adjustment amount corresponding to the target service by judging the size relation and the difference value of the first bandwidth utilization rate and the first threshold value; the bandwidth adjustment 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 service in the plurality of 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 value between the second bandwidth utilization rate and a second threshold; 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 configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform a bandwidth adjustment method as in the first aspect.
The invention provides a bandwidth adjustment method and a bandwidth adjustment device, which are applied to a scene of adjusting network bandwidth, wherein under the condition that a target service is executed through a target physical link, for any target service in a plurality of services executed by the target physical link, basic data and transmission data corresponding to the target service can be acquired, so that the first bandwidth utilization rate corresponding to the target service is determined based on the acquired basic data and transmission data, the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to the target service can be determined by judging the size relation and the difference value of the first bandwidth utilization rate and a first threshold value, and further, after the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to each service in a plurality of services executed by the target physical link are determined, the second bandwidth utilization rate corresponding to the target physical link can be determined according to the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to each service, and the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to the target physical link are determined by judging the size relation and the difference value of the second bandwidth utilization rate and the second threshold value. 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 timely adjusted, and the bandwidth configuration parameter corresponding to the target physical link can be adjusted according to the bandwidth configuration parameter after adjustment of 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 resources is improved by reasonably distributing 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 schematic flow chart 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 flowchart of a bandwidth adjustment method according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 6 is a flowchart of a bandwidth adjustment method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a bandwidth adjusting apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a bandwidth adjusting apparatus according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of an electronic device according to a second 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 accompanying drawings in the embodiments of the present invention.
In the description of the present invention, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
The bandwidth adjusting method provided by the embodiment of the invention can be applied to 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 adjustment system 20 includes: an electronic device 21, a network device 22 and a 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 by a wired manner or may be connected by a wireless manner, which is not limited in the embodiment of the present invention.
The bandwidth adjustment system 20 may be used for the internet of things, and the bandwidth adjustment system 20 may include a plurality of central processing units (central processing unit, CPU), a plurality of memories, a storage device storing a plurality of operating systems, and other hardware.
The electronic device 21 may be used for internet of things to provide communication service for users, and is used for interacting with the network device 22 to initiate a target service to realize communication service required by the users.
The network device 22 may be used for the internet of things, and is connected to the server 23, so as to provide the electronic device 21 with communication services required by the user, perform the target service and data transmission, and provide services such as information transmission for the user according to the requirement.
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 carrier, and is used for controlling and maintaining the network device 22, and adjusting bandwidth configuration parameters of the network device 22 for executing the target service, so that the network device 22 provides better service for the user.
The electronic device 21, the network device 22, and the server 23 may be independent devices or may be integrated in the same device, which is not particularly limited in the present invention.
When the electronic device 21, the network device 22, and the server 23 are integrated in the same device, the communication manner among the electronic device 21, the network device 22, and the server 23 is communication among the internal modules of the device. In this case, the communication flow therebetween is the same as "in the case where the electronic device 21, the network device 22, and the server 23 are independent of each other".
In the following embodiments provided by the present invention, the present invention is described taking an example in which the electronic device 21, the network device 22, and the server 23 are provided independently of each other.
In the data network, the service bandwidth is reserved according to a value preset in advance by a user, and the physical link bandwidth is adjusted according to whether the current service traffic situation 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.
The following describes a bandwidth adjustment method provided by an embodiment of the present invention with reference to the accompanying drawings.
As shown in fig. 2, the bandwidth adjustment method provided by the embodiment of the present invention is applied to a terminal including a plurality of memories and a plurality of central processing units CPUs, and includes S201-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 acquired.
The target physical link is used for executing a plurality of services, and the target service is any one of the plurality of services.
Optionally, in the target physical link, different bandwidths are required to be configured in advance for different services for executing corresponding services, and the target physical link is configured with a fixed total bandwidth for carrying execution of a plurality of 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 acquired in real time. The monitoring of the transmission data can be performed in real time, so that the transmission data of all the 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 establishment is completed (i.e. the target physical link is established) and the service is carried, the whole network data acquisition needs to be performed, and a network model and a service model are established in 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 device acquisition protocol or in a device active reporting mode.
It will be appreciated that the data in the base data and the transport data described above may include network model data and traffic 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 traffic 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 is determined once every preset time interval. 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, 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 relation and the difference value of the first bandwidth utilization rate and the first threshold value.
The bandwidth adjusting mode comprises the following steps: increasing bandwidth and decreasing bandwidth.
Specifically, the basic data and the transmission data may be input into a traffic threshold algorithm, so as to determine, according to the basic data and the transmission data, whether the bandwidth configuration parameter corresponding to the target service needs to be adjusted through the traffic threshold algorithm.
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 relation and the difference value of the second bandwidth utilization rate and the second threshold value.
Specifically, the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services may be input into the physical bandwidth threshold algorithm, so as to determine whether the target physical link needs to be expanded according to the physical bandwidth threshold algorithm based on the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of 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.
S204, according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service, adjusting the bandwidth corresponding to the target service, and according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target physical link, adjusting the bandwidth corresponding to the target physical link.
In the bandwidth adjustment method provided by the embodiment of the invention, the bandwidth corresponding to the target service is judged in real time according to the acquired service model data (namely the basic data and the transmission data corresponding to the target service), so that the bandwidth of the target service is adjusted in real time, the transmission requirement of service traffic can be rapidly and effectively met, and the total bandwidth of a physical link can be adjusted in real time, so that the utilization rate of network resources is effectively improved.
In one design, the base data includes a traffic preset bandwidth, the transmission data includes an instantaneous transmission traffic, and the first bandwidth utilization is an instantaneous bandwidth utilization. In order to determine the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to the target service according to the instantaneous bandwidth utilization corresponding to the target service, as shown in fig. 3, in the bandwidth adjustment method provided by 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 preconfigured for the target service by the server, that is, the maximum bandwidth that can be achieved by the target service when transmitting 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 above-mentioned instantaneous bandwidth utilization may be obtained by calculating a ratio of the instantaneous transmission traffic to the traffic 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 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 magnitude relation between the instantaneous bandwidth utilization rate and the 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 the bandwidth adjustment quantity corresponding to the target service.
Optionally, the first threshold may include a first sub-threshold and a second sub-threshold, where the first sub-threshold is greater than the second sub-threshold.
As one possible implementation manner, determining that the bandwidth corresponding to the target service needs to be increased when the instantaneous bandwidth utilization is greater than or equal to the first sub-threshold; and under the condition that the instantaneous bandwidth utilization rate is smaller than or equal to the second sub-threshold value, determining that the bandwidth corresponding to the target service needs to be reduced.
As a possible implementation, the bandwidth adjustment amount may be determined by calculating a difference between the instantaneous bandwidth utilization and the first threshold value, and determining the bandwidth adjustment amount according to the difference, the smaller the difference, the larger the bandwidth adjustment amount.
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 a first threshold value.
As one 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 two adjacent determinations of the magnitude relation 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.
S304, increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization is greater than or equal to the first threshold.
As one 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 relation 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 less than the first sub-threshold, it may be determined that there is no need to adjust the bandwidth corresponding to the target service.
In one design, the underlying data includes a total bandwidth of the traffic, the transmitted data includes a total transmission traffic, and the first bandwidth utilization is an average bandwidth utilization; in order to determine the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target service according to the average bandwidth utilization corresponding to the target service, as shown in fig. 4, in the bandwidth adjustment method provided by the embodiment of the present invention, the step in S202 may specifically include the following steps S401 to S404:
s401, determining the average bandwidth utilization rate corresponding to the target service based on the total bandwidth and the total transmission flow of the service.
It should be noted that, the total bandwidth of the service is determined according to the service bandwidth and the duration, that is, the maximum flow that the target service can transmit in a certain duration. The total transmission flow is the total flow transmitted by the target service in a certain time period.
Alternatively, the average bandwidth utilization may be obtained by calculating a ratio of a total bandwidth of the service to a 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 the 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 the bandwidth adjustment quantity corresponding to the target service.
As one possible implementation manner, determining that the bandwidth corresponding to the target service needs to be increased when the average bandwidth utilization 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 smaller than or equal to the second sub-threshold value.
As a possible implementation, the bandwidth adjustment amount may be determined by calculating a difference between the average bandwidth utilization and the first threshold value, and determining the bandwidth adjustment amount according to the difference, the smaller the difference, the larger the bandwidth adjustment amount.
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 one possible implementation, 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 traffic needs to be reduced.
S404, when the average bandwidth utilization is greater than or equal to a first threshold, increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount.
As one possible implementation, 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 traffic 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 less 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 parameters of the target service need to be adjusted, sending the bandwidth adjustment mode and the bandwidth adjustment amount to a corresponding processing unit (for example, a network element device) to adjust the bandwidth configuration parameters of the target service, and simultaneously updating service model data (for example, service bandwidth information) corresponding to the target service in the database summary.
In one design, in order to determine the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link, as shown in fig. 5, in the bandwidth adjustment method provided by the embodiment of the present invention, the steps S203 to S505 may specifically include the following steps S501 to S505:
S501, 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.
As a possible implementation manner, after determining the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each service in the plurality of services executed by the target physical link, the current bandwidth configuration parameter of each service may be determined.
Further, the amount of bandwidth used by the target physical link may be determined based on the current bandwidth configuration parameters for each service.
S502, determining a second bandwidth utilization rate based on the used bandwidth amount of the target physical link and the total bandwidth amount of the target physical link.
As a possible implementation manner, the second bandwidth utilization may be obtained by calculating a ratio of the amount of bandwidth used by the target physical link and the total amount of bandwidth 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 imported into a corresponding network computing module, so as to calculate and obtain the second bandwidth utilization rate corresponding to the target physical link.
It should be noted that, the amount of the used bandwidth of the target physical link may be understood as: the total amount of bandwidth that has been configured for all traffic executing on the target physical link. The target total amount of physical link bandwidth 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 relation between the second bandwidth utilization rate and the second threshold value, 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 value, and determining the bandwidth adjustment quantity corresponding to the target physical link.
Optionally, the second threshold may include a third sub-threshold and a fourth sub-threshold, where the third sub-threshold is greater than the fourth sub-threshold.
As a possible implementation, 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, the smaller the difference, the larger the bandwidth adjustment amount.
S504, when the second bandwidth utilization rate is smaller than a second threshold value, reducing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount.
As one possible implementation, in the case where 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.
S505, when the second bandwidth utilization is greater than or equal to the second threshold, increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount.
As one possible implementation, in the case where 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 one possible implementation, when the second bandwidth utilization is determined to be greater than the fourth sub-threshold and less than the third sub-threshold, it may be determined that no adjustment to the target physical link total bandwidth is required.
Optionally, after adjusting the total bandwidth of the target physical link, the network model data corresponding to the target physical link in the database summary (i.e., the total bandwidth of the target physical link) needs to be updated at the same time.
In one design, in order to accurately determine the second bandwidth utilization corresponding to the target physical link, as shown in fig. 6, in the bandwidth adjustment method provided by the embodiment of the present invention, the step in S502 may specifically include the following S5021:
s5021, determining a second bandwidth utilization based on the amount of bandwidth used by the target physical link, the total amount of bandwidth of the target physical link, and the amount of traffic performed 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 traffic carried by the target physical link.
It should be noted that, the total traffic amount may be understood as: the total amount of traffic carried by the target physical link. The total number of traffic may account for the concurrent demand of all traffic carried in the target physical link, such as: when the total number of the services is smaller, the concurrency possibility is small (namely, the quantity of the simultaneously transmitted service data is smaller), and the quantity of the reserved bandwidth is also smaller; when the total number of services is larger, the concurrency possibility is high, and the reserved bandwidth amount is larger.
Alternatively, the first value may be obtained by calculating the product of the amount of bandwidth used by the target physical link and the conventional coefficient α, and then calculating the ratio of the product to the total amount of bandwidth of the target physical link; further calculating the product of the total number of traffic and the normal coefficient beta to obtain a second value, thereby determining the sum of the first value and the second value as a second bandwidth utilization.
As one possible implementation manner, in the case that the second bandwidth utilization is smaller than or equal to the fourth sub-threshold, and the time interval between two adjacent determinations of the magnitude relation between the second bandwidth utilization and the threshold 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 one possible implementation manner, in the case that the second bandwidth utilization is greater than or equal to the third sub-threshold, and the time interval between two adjacent determinations of the magnitude relation between the second bandwidth utilization and the threshold is greater than or equal to a preset time interval, it is determined that the target physical link total bandwidth needs to be increased.
The bandwidth adjusting method flexibly adjusts the service configuration bandwidth parameters by judging whether the service bandwidth utilization rate exceeds the threshold value, and controls the frequency of service bandwidth adjustment by using the threshold value and the time period. Based on the calculation, the total bandwidth of the physical link can be adjusted according to the total bandwidth utilization rate and the total number of services corresponding to the physical link, so that the situation of the allocable bandwidth corresponding to the physical link is reflected through the utilization rate of the total bandwidth of the physical link, the possibility of service concurrency in the physical link is reflected through the total number of services, and the total bandwidth of the physical link is flexibly controlled by using the two data. Therefore, the bandwidth of the service and the physical link can be flexibly adjusted, the bandwidth of the service configuration can be flexibly adjusted in real time, the utilization rate of network resources is effectively improved, the problem that the service execution efficiency is low or the resources are wasted due to unreasonable bandwidth configuration is avoided, the frequency of bandwidth adjustment is well controlled, and the stable and reliable execution of the service is ensured.
The embodiment of the invention also provides a bandwidth adjusting device, as shown in fig. 7, the bandwidth adjusting device 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; the service model calculation module 302 is configured to calculate whether the bandwidth of each service configuration meets the requirement, whether adjustment is needed, and calculate by inputting a service identifier, a service flow, a service bandwidth, and the like; a service bandwidth adjusting module 303, configured to adjust a bandwidth of the service configuration, including increasing the bandwidth and decreasing the bandwidth; the service model storage module 304 is configured to store service model data, including service identification information, service port information, service bandwidth information, service traffic information, acquisition time, and the like; the network model calculation module 305 is configured to calculate whether the physical link meets the service requirement, whether the total bandwidth of the physical link needs to be adjusted, and calculate by inputting the physical link identifier, the total bandwidth of the physical link, and the total 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, including a physical link ID, a total bandwidth of a physical link, a bandwidth usage amount of the physical link, a total number of execution services, and the like, and a number of execution services of the physical link.
The data acquisition module 301 is further configured to store the acquired 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 service bandwidth adjustment module 303 performs the bandwidth up-adjustment or down-adjustment operation, and the adjusted service model data is updated and stored in the service model storage module 304.
Further, the updated data is input to 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 operation of up-adjusting or down-adjusting the total bandwidth of the physical link, and at the same time, the adjusted network model data is updated and stored in the network model storage module 307.
The invention provides a bandwidth adjustment method and a bandwidth adjustment device, which are applied to a scene of adjusting network bandwidth, wherein under the condition that a target service is executed through a target physical link, for any target service in a plurality of services executed by the target physical link, basic data and transmission data corresponding to the target service can be acquired, so that the first bandwidth utilization rate corresponding to the target service is determined based on the acquired basic data and transmission data, the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to the target service can be determined by judging the size relation and the difference value of the first bandwidth utilization rate and a first threshold value, and further, after the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to each service in a plurality of services executed by the target physical link are determined, the second bandwidth utilization rate corresponding to the target physical link can be determined according to the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to each service, and the bandwidth adjustment mode and the bandwidth adjustment quantity corresponding to the target physical link are determined by judging the size relation and the difference value of the second bandwidth utilization rate and the second threshold value. 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 timely adjusted, and the bandwidth configuration parameter corresponding to the target physical link can be adjusted according to the bandwidth configuration parameter after adjustment of 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 resources is improved by reasonably distributing the bandwidth.
The foregoing description of the solution provided by the embodiments of the present invention has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform 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 implemented as hardware or computer software driven 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.
The embodiment of the invention can divide the functional modules of the bandwidth adjusting device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present invention is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
Fig. 8 is a schematic structural diagram of a bandwidth adjusting device according to an embodiment of the present invention. As shown in fig. 8, a bandwidth adjusting apparatus 40 is configured to flexibly adjust a reserved bandwidth to meet a bandwidth requirement of a service, and to increase a utilization rate of a configuration resource by reasonably allocating the bandwidth, for example, to perform 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, in a case where a target service is executed through a target physical link, base data and transmission data corresponding to the target service; the target physical link is used for executing a plurality of services, and the target service is any one of the plurality of services.
A determining unit 402, configured to determine, based on the basic data and the transmission data, a first bandwidth utilization corresponding to the target service, 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 and a first threshold; the bandwidth adjustment mode comprises the following steps: increasing bandwidth and decreasing bandwidth.
The determining unit 402 is further configured to determine a second bandwidth utilization corresponding to the target physical link based on the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each service in the plurality of services, and determine the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link by determining a magnitude relation and a difference between the second bandwidth utilization and the 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 adjustment device 40 provided in the embodiment of the present invention, 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; the determining unit 402 is specifically configured to determine an instantaneous bandwidth utilization corresponding to the target service based on the service preset bandwidth and the instantaneous transmission traffic.
The determining unit 402 is further configured to determine a magnitude relation between the instantaneous bandwidth utilization and the first threshold, determine a bandwidth adjustment mode corresponding to the target service, determine a difference between the instantaneous 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 reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service in a case where the instantaneous bandwidth utilization is smaller than the first threshold.
The processing unit 403 is further configured to increase, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service in a case where the instantaneous bandwidth utilization is greater than or equal to the first threshold.
Optionally, in the bandwidth adjustment device 40 provided in the embodiment of the present invention, the basic data includes a total bandwidth of the service, the transmission data includes a total transmission flow, and the first bandwidth utilization is an average bandwidth utilization; the determining unit 402 is specifically configured to determine an average bandwidth utilization corresponding to the target service based on the total bandwidth and the total transmission traffic.
The determining unit 402 is further configured to determine a size relationship between the average bandwidth utilization and the first threshold, determine a bandwidth adjustment mode 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 reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service if the average bandwidth utilization is smaller than the first threshold.
The processing unit 403 is further configured to increase, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service if the average bandwidth utilization is greater than or equal to the first threshold.
Optionally, in the bandwidth adjustment device 40 provided in the embodiment of the present invention, the determining unit 402 is further configured to determine the amount of bandwidth used by the target physical link according to the bandwidth adjustment mode and the bandwidth adjustment amount corresponding to each service in the plurality of services.
The determining unit 402 is further configured to determine the second bandwidth utilization based on the target physical link used bandwidth amount and the target physical link total bandwidth amount.
The determining unit 402 is further configured to determine a size relationship between the second bandwidth utilization and the second threshold, determine a bandwidth adjustment mode 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 reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target physical link, if the second bandwidth utilization is smaller than the second threshold.
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 is greater than or equal to the second threshold.
Optionally, in the bandwidth adjustment device 40 provided in the embodiment of the present invention, the determining unit 402 is further configured to determine the second bandwidth utilization based on the amount of bandwidth used by the target physical link, the total amount of bandwidth of the target physical link, and the amount of traffic performed by the target physical link.
In the case of implementing the functions of the integrated modules in the form of hardware, another possible structural schematic diagram of the electronic device involved in the above embodiment is provided in the embodiment of the present invention. As shown in fig. 9, an electronic device 60 is provided for grading business turn grades to provide accurate references to consumers, for example, for performing a bandwidth adjustment method as shown in fig. 2. The electronic device 60 comprises 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 device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 601 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, 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 can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage 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 exist separately from the processor 601, and the memory 602 may be connected to the processor 601 through the bus 603 for storing instructions or program codes. The processor 601, when calling and executing instructions or program code stored in the memory 602, is capable of implementing a bandwidth adjustment method provided by an embodiment of the present invention.
In another possible implementation, the memory 602 may also be integrated with the processor 601.
Bus 603 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 9 does not constitute a limitation of the electronic device 60. The electronic device 60 may include more or fewer components than shown in fig. 9, or may combine certain components or a different arrangement of components.
As an example, in connection with fig. 8, the acquisition unit 401 and the determination unit 402 in the electronic device realize the same functions as those of the processor 601 in fig. 9.
Optionally, as shown in fig. 9, the electronic device 60 provided by the embodiment of the present invention may further include a communication interface 604.
Communication interface 604 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 604 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, the electronic device provided in the embodiment of the present invention may further include a communication interface integrated in the processor.
Fig. 10 shows another hardware structure of the electronic device 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, a memory 703.
The function of the processor 701 may be as described above with reference to the processor 601. 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 device or an external interface of the communication device (corresponding to the communication interface 604).
It should be noted that the structure 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 may combine some components, or may be a different arrangement of components.
From the above description of embodiments, it will be apparent to those skilled in the art that the foregoing functional unit divisions are merely illustrative for convenience and brevity of description. In practical applications, the above-mentioned function allocation may be performed by different functional units, i.e. the internal structure of the device is divided into different functional units, as needed, to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the computer executes the instructions, the computer executes each step in the method flow shown in the 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 bandwidth adjustment method as in the method embodiments described above.
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 a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or persons of skill 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In embodiments of the present 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 can be applied to the above-mentioned method, the technical effects that can be obtained by the method can also refer to the above-mentioned method embodiments, and the embodiments of the present invention are not described herein again.
The present invention is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present invention should be covered by the scope of the present invention.

Claims (12)

1. A method of bandwidth adjustment, the method comprising:
under the condition that a target service is executed through a target physical link, basic data and transmission data corresponding to the target service are acquired; the target physical link is used for executing a plurality of services, and the target service is any service in the plurality of 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 relation and the difference value of the first bandwidth utilization rate and a first threshold value; the bandwidth adjustment 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 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 relation and the difference value of 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 quantity 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 quantity 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 value 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 magnitude relation between the instantaneous bandwidth utilization rate and the 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;
reducing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization is smaller than the first threshold;
and increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the instantaneous bandwidth utilization rate is greater than or equal to the first threshold value.
3. The method of claim 1, wherein the underlying data comprises a total bandwidth of traffic, the transmitted data comprises a total transmitted 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 value 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 bandwidth of the service and the total transmission flow;
judging the size relation between the average bandwidth utilization rate and the 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;
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;
and increasing the bandwidth corresponding to the target service based on the bandwidth adjustment amount under the condition that the average bandwidth utilization rate is greater than or equal to the first threshold value.
4. The method according to claim 1, wherein the determining the second bandwidth utilization corresponding to the target physical link based on the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to each service in the plurality of services, and determining the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link by determining a magnitude relation and a difference between the second bandwidth utilization and a second threshold value, includes:
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 amount of bandwidth used by the target physical link and the amount of total bandwidth of the target physical link;
judging the magnitude relation between the second bandwidth utilization rate and the second threshold value, 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 value, and determining a bandwidth adjustment quantity 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 is smaller than the second threshold;
and increasing the bandwidth corresponding to the target physical link based on the bandwidth adjustment amount under the condition that the second bandwidth utilization ratio is greater than or equal to the second threshold value.
5. The method of claim 4, wherein the determining the second bandwidth utilization based on the target physical link utilized bandwidth amount and the target physical link total bandwidth amount comprises:
and determining the second bandwidth utilization based on the amount of bandwidth used by the target physical link, the total amount of bandwidth of the target physical link, and the amount of traffic performed 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 service in the plurality of services;
the determining unit is configured to determine, based on the basic data and the transmission data, a first bandwidth utilization rate corresponding to the target service, and determine, by determining a size relationship and a difference value between the first bandwidth utilization rate and a first threshold, a bandwidth adjustment mode and a bandwidth adjustment amount corresponding to the target service; the bandwidth adjustment 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 a bandwidth adjustment manner and a bandwidth adjustment amount corresponding to each service in the plurality of services, and determine the bandwidth adjustment manner and the bandwidth adjustment amount corresponding to the target physical link by determining a magnitude relation and a difference between the second bandwidth utilization rate and a second threshold;
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 adjustment device according to claim 6, wherein the basic data includes a traffic 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 an instantaneous bandwidth utilization rate corresponding to the target service based on the service preset bandwidth and the instantaneous transmission flow;
the determining unit is further configured to determine a magnitude relation between the instantaneous bandwidth utilization rate and the first threshold, determine a bandwidth adjustment mode corresponding to the target service, determine a difference value 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 if the instantaneous bandwidth utilization is less than the first threshold;
The processing unit is further configured to increase, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service if the instantaneous bandwidth utilization is greater than or equal to the first threshold.
8. The bandwidth adjustment device 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 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 is further configured to determine a magnitude relation between the average bandwidth utilization rate and the first threshold, determine a bandwidth adjustment mode corresponding to the target service, determine a difference value between the average 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 if the average bandwidth utilization is less than the first threshold;
the processing unit is further configured to increase, based on the bandwidth adjustment amount, a bandwidth corresponding to the target service if the average bandwidth utilization is greater than or equal to the first threshold.
9. The bandwidth adjustment device 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 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 magnitude relation between the second bandwidth utilization rate and the second threshold, determine a bandwidth adjustment mode corresponding to the target physical link, determine a difference value between the second bandwidth utilization rate and the second threshold, and determine a bandwidth adjustment amount corresponding to the target physical link;
the processing unit is further configured to reduce, based on the bandwidth adjustment amount, a bandwidth corresponding to the target physical link if the second bandwidth utilization is smaller than the second threshold;
the processing unit is further configured to increase, based on the bandwidth adjustment amount, a bandwidth corresponding to the target physical link if the second bandwidth utilization is greater than or equal to the second threshold.
10. The bandwidth adjustment device according to claim 9, wherein the determining unit is further configured to determine the second bandwidth utilization based on the target physical link used bandwidth amount, the target physical link total bandwidth amount, and the number of traffic performed by the target physical link.
11. A computer readable storage medium storing one or more programs, wherein the one or more programs comprise instructions, which when executed by a computer, cause the computer to perform a bandwidth adjustment method according to any 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 comprising computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform a bandwidth adjustment method as claimed in any of claims 1-5.
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 CN114143270A (en) 2022-03-04
CN114143270B true 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)

Families Citing this family (3)

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

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8411566B2 (en) * 2007-10-31 2013-04-02 Smart Share Systems APS Apparatus and a method for distributing bandwidth

Patent Citations (5)

* 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
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
An end-to-end QoS framework with on-demand bandwidth reconfiguration;M. Yang et al.;《IEEE》;全文 *
大规模数据中心带宽分配与流量调度技术研究;李文信;《中国博士学位论文全文数据库》;全文 *
带宽按需分配业务及其实现;高峰;《中兴通讯技术》;全文 *
软件定义网络中流媒体服务QoS保障的研究;吴加伟;《中国博士学位论文全文数据库》;全文 *

Also Published As

Publication number Publication date
CN114143270A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN114143270B (en) Bandwidth adjustment method and device
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN110830391A (en) Resource allocation method and device and cluster system
US11546806B2 (en) Communication system
CN113452566A (en) Cloud edge side cooperative resource management method and system
CN111949408A (en) Dynamic allocation method for edge computing resources
JP2002057699A (en) Packet transmission system, packet transmission method and recording medium
JP2023500143A (en) Service traffic adjustment method and apparatus
CN113885794B (en) Data access method and device based on multi-cloud storage, computer equipment and medium
CN113840330B (en) Connection establishment method, gateway equipment, network system and dispatching center
CN109614228B (en) Comprehensive monitoring front-end system based on dynamic load balancing mode and working method
CN112333826B (en) Service admission method and device
CN109587806A (en) A kind of scheduling request sending method and terminal device
CN110995802A (en) Task processing method and device, storage medium and electronic device
CN113453285B (en) Resource adjusting method, device and storage medium
CN114071547B (en) QoE measurement configuration method, qoE measurement configuration device and storage medium
CN112492635B (en) Determination method and device for scheduling priority
CN112202614B (en) Method and device for communication between systems
CN111988403A (en) Request processing method and system of electronic equipment, storage medium and electronic equipment
CN113453233B (en) Method and system for connecting multi-link host computer with antenna single network card
CN111885625B (en) Method and device for determining resource utilization rate
CN113891361B (en) Network capacity expansion method and device
CN113365310B (en) Data transmission method and device, storage medium and electronic device
CN113709715A (en) Slice resource allocation method and device, computer equipment and storage medium
CN116347455A (en) Dynamic spectrum sharing method, device, computer equipment and computer 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