Network link capacity management method, apparatus, device, and medium

By statistically analyzing the bandwidth utilization of network links over multiple business time periods and using the first statistical bandwidth utilization rate as an expansion indicator, the problem of resource waste and high costs caused by frequent network link expansion is solved, thus achieving economical and reliable network link capacity management.

CN115834390BActive Publication Date: 2026-05-26AGRICULTURAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AGRICULTURAL BANK OF CHINA
Filing Date
2022-11-24
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Current technologies for monitoring network link utilization lead to frequent capacity expansions, resulting in resource waste and high costs.

Method used

By collecting network link traffic and calculating bandwidth utilization over multiple service time periods, the first statistical bandwidth utilization rate is used as an expansion indicator and compared with the expansion threshold. Link bandwidth expansion is only carried out when necessary.

Benefits of technology

It reduces frequent capacity expansion caused by instantaneous traffic, lowers the waste of network link bandwidth resources, and achieves economical and reliable network link capacity management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834390B_ABST
    Figure CN115834390B_ABST
Patent Text Reader

Abstract

This application provides a network link capacity management method, apparatus, device, and medium, relating to the field of computer technology. The method includes: collecting link traffic of a network link; statistically analyzing the bandwidth utilization of the network link within a first period based on the link traffic and the link bandwidth of the network link, obtaining a first statistical bandwidth utilization rate corresponding to the first period, wherein the first period includes multiple service time periods; comparing the first statistical bandwidth utilization rate with a capacity expansion threshold; and if the first statistical bandwidth utilization rate is greater than the capacity expansion threshold, then expanding the link bandwidth of the network link. Thus, by using the statistical bandwidth utilization rate of the network link within a time period containing multiple service time periods as an evaluation indicator for whether network link capacity expansion is needed, the accuracy of capacity expansion judgment is improved, achieving economical and reliable management of network link capacity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, device and medium for network link capacity management. Background Technology

[0002] Scientific and standardized management of network link capacity is a prerequisite for ensuring that production and operation units at all levels make reasonable use of network bandwidth and meet the data transmission needs of current and future business operations and management.

[0003] In related technologies, network link utilization is monitored. If network link utilization is found to exceed a threshold, capacity expansion is initiated to ensure the safe and stable operation of services and production.

[0004] However, while the above methods can ensure the reliability of network link transmission traffic, they are prone to frequent line expansion, resulting in resource waste and high costs. Summary of the Invention

[0005] This application provides a network link capacity management method, apparatus, device, and medium to solve the problems of resource waste and high cost caused by frequent line expansion in network link capacity management.

[0006] In a first aspect, this application provides a network link capacity management method, comprising: collecting link traffic of a network link; statistically analyzing the bandwidth utilization rate of the network link in a first period based on the link traffic and the link bandwidth of the network link, to obtain a first statistical bandwidth utilization rate corresponding to the first period, wherein the first period includes multiple service time periods; comparing the first statistical bandwidth utilization rate with a capacity expansion threshold; and if the first statistical bandwidth utilization rate is greater than the capacity expansion threshold, then expanding the link bandwidth of the network link.

[0007] In one possible implementation, the link traffic of the network link includes the link traffic of the network link in multiple service time periods; based on the link traffic and the link bandwidth of the network link, the bandwidth utilization rate of the network link in the first period is statistically analyzed to obtain a first statistical bandwidth utilization rate, including: for multiple service time periods, based on the link traffic and link bandwidth of the network link in each service time period, the bandwidth utilization rate of the network link in each service time period is statistically analyzed to obtain a second statistical bandwidth utilization rate corresponding to each service time period; based on the second statistical bandwidth utilization rate corresponding to each service time period, the bandwidth utilization rate of the network link in the first period is statistically analyzed to obtain the first statistical bandwidth utilization rate.

[0008] In one possible implementation, each service time period contains multiple second periods. For each service time period, the bandwidth utilization of the network link in each service time period is statistically analyzed based on the link traffic and bandwidth of the network link in each service time period to obtain the second statistical bandwidth utilization rate corresponding to each service time period. This includes: determining the average bandwidth utilization rate of the network link in each second period based on the link traffic and bandwidth of the network link in each second period; and determining the second statistical bandwidth utilization rate corresponding to the service time period containing each second period based on the average bandwidth utilization rate of the network link in each second period.

[0009] In one possible implementation, the second statistical bandwidth utilization rate corresponding to the service time period of each second period is determined based on the average bandwidth utilization rate of the network link in each second period, including: determining the average bandwidth utilization rate with the largest value among the average bandwidth utilization rates of the network link in each second period; and determining the second statistical bandwidth utilization rate corresponding to the service time period of each second period as the average bandwidth utilization rate with the largest value.

[0010] In one possible implementation, the bandwidth utilization of the network link in the first period is statistically analyzed based on the second statistical bandwidth utilization rate corresponding to each service time period to obtain the first statistical bandwidth utilization rate, including: determining the first statistical bandwidth utilization rate as the average of the second statistical bandwidth utilization rates corresponding to each service time period.

[0011] In one possible implementation, the link traffic of the network link includes the link traffic of the network link at the current moment. After collecting the link traffic of the network link, the following steps are also included: comparing the link traffic at the current moment with the link bandwidth of the network link; if the link traffic at the current moment is greater than the link bandwidth, then determining the allocated bandwidth corresponding to the online service based on the service attributes corresponding to the online service carried by the network link; and allocating bandwidth resources to the online service based on the allocated bandwidth corresponding to the online service. The service attributes include at least one of the following: service type, service importance, service priority, and bandwidth allocation weight.

[0012] In one possible implementation, if the current link traffic is greater than the link bandwidth, the allocated bandwidth for the online service is determined based on the service attributes carried by the network link. This includes: if the current link traffic is greater than the link bandwidth, determining the first service to be executed first among the online services based on at least one of the service type, service importance, and service priority; determining the allocated bandwidth for the first service based on the bandwidth allocation weight and link bandwidth; and after the first service is executed, determining the second service to be executed second among the online services based on at least one of the service type, service importance, and service priority, so as to continue executing the second service.

[0013] Secondly, this application provides a network link capacity management device, comprising:

[0014] The acquisition unit is used to collect link traffic from network links;

[0015] The statistics unit is used to statistically analyze the bandwidth utilization of the network link in the first period based on the link traffic and the link bandwidth of the network link, and obtain the first statistical bandwidth utilization corresponding to the first period, wherein the first period includes multiple service time periods.

[0016] The first comparison unit is used to compare the first statistical bandwidth utilization rate with the expansion threshold.

[0017] The expansion unit is used to expand the link bandwidth of the network link if the first statistical bandwidth utilization rate is greater than the expansion threshold.

[0018] Thirdly, this application provides an electronic device, including: at least one processor and a memory;

[0019] The memory stores computer-executed instructions;

[0020] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the network link capacity management method as described in the first aspect above.

[0021] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the network link capacity management method as described in the first aspect above.

[0022] Fifthly, this application provides a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the network link capacity management method as described in the first aspect above.

[0023] The network link capacity management method, apparatus, device, and medium provided in this application address situations where network link traffic is high during service periods. To ensure reliable transmission of link traffic and normal service operation, the bandwidth utilization rate of the network link is statistically analyzed within a first period encompassing multiple service time periods, yielding a first statistical bandwidth utilization rate. This first statistical bandwidth utilization rate is used as an evaluation indicator for capacity expansion. The first statistical bandwidth utilization rate is compared with an expansion threshold. If the first statistical bandwidth utilization rate exceeds the expansion threshold, the network link bandwidth is expanded. Compared to real-time bandwidth utilization or bandwidth utilization at a single moment, the first statistical bandwidth utilization rate more accurately reflects the network link's bandwidth utilization within a certain period. Using the first statistical bandwidth utilization rate as an evaluation indicator for capacity expansion avoids frequent expansion of the network link due to sudden increases in traffic at a particular moment, preventing resource waste and reducing costs. Therefore, this application achieves economical and reliable management of network link capacity. Attached Figure Description

[0024] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0025] Figure 1 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 1 ;

[0026] Figure 2 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 2 ;

[0027] Figure 3 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 3 ;

[0028] Figure 4 This is a schematic diagram of the network link capacity management device provided in the embodiments of this application;

[0029] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0030] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0031] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0032] First, to facilitate understanding of this solution, some of the terms used in this application will be explained:

[0033] Network link: The physical line through which data transmission is achieved, such as the physical connection between device A and device B, through which device A and device B transmit data.

[0034] Bandwidth utilization: The ratio of the bandwidth used for business data transmission on a network link to the link bandwidth of the network link (i.e., the total bandwidth of the network link).

[0035] Capacity expansion: Increasing the capacity of network links, including increasing the bandwidth of network links.

[0036] In related technologies, real-time bandwidth utilization of network links is monitored. If the bandwidth utilization exceeds a threshold, capacity expansion is initiated to ensure the safe and stable operation of services and production. However, network link traffic is not stable and experiences instantaneous bursts of traffic, causing bandwidth utilization to spike at certain times or within a certain time period. While the above methods can ensure the reliability of line transmission traffic, they do not take into account this characteristic of link traffic, easily leading to frequent line expansion and poor economic efficiency. For example, the peak traffic of a network link during peak business hours is approximately 112 Mbps. Generally, considering future business planning, growth, and the time cycle of operator resource allocation, the utilization rate of the leased line should be around 80%, meaning the requested bandwidth for this network link should be 112 / 0.8 = 140 Mbps. However, apart from the large instantaneous traffic during peak business hours, the normal peak traffic of the network link is only about 60 Mbps. If the requested bandwidth for this network link is 140 Mbps, it will significantly increase the expenditure in this area. Obviously, to meet the reliable transmission of instantaneous traffic, the enterprise pays a significant economic price.

[0037] To address the aforementioned issues, this application provides a network link capacity management method, apparatus, device, and medium. In this application, based on the link traffic and bandwidth of the network link, the bandwidth utilization rate of the network link within a first period is statistically analyzed to obtain a first statistical bandwidth utilization rate corresponding to the first period. Using the first statistical bandwidth utilization rate as a capacity expansion indicator, the first statistical bandwidth utilization rate is compared with a capacity expansion threshold. If the first statistical bandwidth utilization rate is greater than the capacity expansion threshold, the link bandwidth of the network link is expanded. The first period includes multiple service time periods. Compared to using real-time bandwidth utilization rate as the capacity expansion indicator, using the first statistical bandwidth utilization rate as the capacity expansion indicator ensures reliable transmission of instantaneous traffic caused by peak service periods and comprehensively considers the bandwidth utilization rate within the overall service time period, avoiding frequent capacity expansion due to instantaneous traffic, reducing the waste of network link bandwidth resources, and lowering the link cost of the network link.

[0038] The network link capacity management method provided in this application is implemented by a network link capacity management device, which can be a terminal or a server. The network link capacity management device can manage the capacity of one or more network links.

[0039] The terminal can be a personal digital assistant (PDA) device, a handheld device (such as a smartphone or tablet), a computing device (such as a personal computer (PC)), an in-vehicle device, a wearable device (such as a smartwatch or smart bracelet), or a smart home device (such as a smart display device). The server can be a distributed server, a centralized server, or a cloud server.

[0040] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0041] refer to Figure 1 , Figure 1 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 1 .like Figure 1 As shown, the network link capacity management method provided in this embodiment includes:

[0042] S101. Collect network link traffic.

[0043] The link traffic of a network link depends on the service traffic of the various online services carried by the network link. Therefore, during service periods, when service traffic is high, the link traffic of the network link is high; during non-service periods, when service traffic is low, the link traffic of the network link is low.

[0044] The link traffic of a network link includes the link traffic of the network link at each time point from the past to the present. For example, the link traffic of a network link includes the link traffic of the network link at each time point from 9:00 on January 1st to 17:00 on January 31st.

[0045] In this embodiment, the link traffic of pre-collected network links can be obtained from a database, wherein the database can store the link traffic of multiple network links; or, the link traffic of the network link can be obtained by collecting the traffic at the interface of the network link through an instruction; or, the link traffic of the network link can be obtained by running an agent program to collect the traffic at the interface of the network link.

[0046] S102. Based on the link traffic and network link bandwidth, statistically analyze the bandwidth utilization of the network link within the first period to obtain the first statistical bandwidth utilization rate corresponding to the first period. The first period includes multiple service time slots.

[0047] The first period includes multiple business time slots. For example, if the business time slot is from 9:00 to 17:00 every day, and the first period can be one month, then the first period can include 9:00 to 17:00 every day within that month, that is, it includes multiple business time slots.

[0048] In this embodiment, after obtaining the link traffic of the network link, since the transmission of link traffic requires a certain amount of bandwidth resources, the bandwidth utilization rate of the network link in the first period can be statistically analyzed based on the link traffic and link bandwidth of the network link at various times within the first period, thus obtaining the first statistical bandwidth utilization rate corresponding to the first period. Since the first period includes multiple service time periods, the first statistical bandwidth utilization rate corresponding to the first period can accurately reflect the relatively average and stable bandwidth utilization within the service time periods.

[0049] S103. Compare the first statistical bandwidth utilization rate with the expansion threshold.

[0050] The capacity expansion threshold can be preset by professionals. Different network links may correspond to different capacity expansion thresholds or the same threshold, depending on the network link's requirements for the reliability of link traffic transmission.

[0051] In this embodiment, the first statistical bandwidth utilization rate is compared with the expansion threshold corresponding to the network link, and the following comparison results can be obtained: the first statistical bandwidth utilization rate is greater than the expansion threshold, or the first bandwidth utilization rate is less than or equal to the expansion threshold.

[0052] S104. If the first statistical bandwidth utilization rate is greater than the expansion threshold, then the link bandwidth of the network link will be expanded.

[0053] In this embodiment, if the comparison result between the first statistical bandwidth utilization rate and the expansion threshold shows that the first statistical bandwidth utilization rate is greater than the expansion threshold, it indicates that the bandwidth utilization rate of the network link is already high. To ensure reliable transmission of link traffic, the link bandwidth of the network link can be expanded. This expansion can be achieved, for example, by sending an expansion request to the network operator or to the enterprise's internal network management platform.

[0054] In this embodiment, the bandwidth utilization of the network link is statistically analyzed within a first period encompassing multiple service time periods based on the link traffic and bandwidth of the network link, resulting in a first statistical bandwidth utilization rate. Using this first statistical bandwidth utilization rate as a capacity expansion indicator, the link bandwidth of the network link is expanded when it exceeds a capacity expansion threshold. This ensures reliable transmission of instantaneous traffic during peak service periods while comprehensively considering bandwidth utilization across the entire service time period, avoiding frequent capacity expansion due to instantaneous traffic, reducing waste of network link bandwidth resources, and achieving reliable and economical management of network link capacity.

[0055] In some embodiments, if the first statistical bandwidth utilization rate is less than or equal to the expansion threshold, the link traffic of the network link continues to be collected to calculate the first statistical bandwidth utilization rate for the next first period. Based on the first statistical bandwidth utilization rate for the next first period, it is determined whether the network link needs to be expanded. For example, if the first period lasts one month, after determining that no network link expansion is needed based on the first statistical bandwidth utilization rate for a certain month, it is possible to determine whether network link expansion is needed based on the first statistical bandwidth utilization rate for the next month. Thus, periodically detecting whether network link expansion is needed improves the reliability of link traffic transmission.

[0056] refer to Figure 2 , Figure 2 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 2 .like Figure 2 As shown, the network link capacity management method provided in this embodiment includes:

[0057] S201. Collect network link traffic.

[0058] The implementation principle and technical effects of S201 can be referred to in the aforementioned embodiments, and will not be repeated here.

[0059] S202. For multiple service time periods, based on the link traffic and link bandwidth of the network link in each service time period, the bandwidth utilization rate of the network link in each service time period is statistically analyzed to obtain the second statistical bandwidth utilization rate corresponding to each service time period.

[0060] The collected network link traffic includes the network link traffic across multiple service time periods. Therefore, the network link traffic across multiple service time periods can be obtained from the network link traffic.

[0061] In this embodiment, considering that the link traffic of the network link may vary in different service time periods, bandwidth utilization statistics can be performed for each service time period. Specifically, the bandwidth occupied by the link traffic can be determined based on the link traffic in each service time period. Based on the bandwidth occupied by the link traffic and the link bandwidth, the bandwidth utilization rate of the network link in each service time period is statistically analyzed to obtain the second statistical bandwidth utilization rate corresponding to each service time period. The second statistical bandwidth utilization rate corresponding to each service time period can reflect the relatively average and stable bandwidth utilization of the network link in each service time period.

[0062] In one possible implementation, each service time period contains multiple second periods. S202 includes: determining the average bandwidth utilization of the network link within each second period based on the link traffic and bandwidth within each second period; and determining the second statistical bandwidth utilization corresponding to the service time period containing each second period based on the average bandwidth utilization of the network link within each second period. Thus, by further subdividing each service time period into second periods, the second statistical bandwidth utilization corresponding to each service time period can reflect both the peak traffic situation of each service time period and reduce the impact of sudden spikes in traffic on the network link bandwidth utilization, thereby improving the accuracy of the second statistical bandwidth utilization corresponding to each service time period.

[0063] In this implementation, for each business time period, the link traffic of the network link within each second period of the business time period can be determined. For each second period, the bandwidth occupied by the link traffic at multiple moments in the second period is determined. Based on the ratio of the occupied bandwidth to the link bandwidth of the network link, the bandwidth utilization rate of the network link at multiple moments in the second period is determined. The average bandwidth utilization rate of the network link at each moment in the second period is calculated to obtain the average bandwidth utilization rate of the network link within the second period. Compared with the bandwidth utilization rate at each moment, the average bandwidth utilization rate of the network link within the second period can avoid reducing the impact of small bursts of traffic on the network link bandwidth utilization rate. Then, based on the average bandwidth utilization rate of the network link within each second period, the second statistical bandwidth utilization rate corresponding to the business time period can be determined.

[0064] Furthermore, in determining the second statistical bandwidth utilization rate corresponding to the service time period encompassing each second period based on the average bandwidth utilization rate of the network link within each second period, the average bandwidth utilization rate with the highest value among the average bandwidth utilization rates of the network link within each second period can be identified, and the second statistical bandwidth utilization rate corresponding to the service time period encompassing each second period can be determined as the average bandwidth utilization rate with the highest value. On the one hand, since the second statistical bandwidth utilization rate corresponding to the service time period is the average bandwidth utilization rate with the highest value among the average bandwidth utilization rates of the network link within each second period encompassing the service time period, it can reflect the peak traffic situation during the service time period. On the other hand, since the average bandwidth utilization rate can reduce the impact of sudden spikes in traffic on the network link bandwidth utilization rate, the second statistical bandwidth utilization rate is less affected by sudden spikes in traffic.

[0065] Furthermore, the second statistical bandwidth utilization rate corresponding to the business time period can be expressed as:

[0066] U dj =max(u1, u2, ..., u i , ..., u m )

[0067] Among them, U dj U represents the second statistical bandwidth utilization rate corresponding to the service time period j. i This represents the average bandwidth utilization of the network link within the i-th second period of the service time period d, where 1 ≤ i ≤ m, m represents the number of second periods within the service time period d, and max() represents finding the maximum value.

[0068] As an example, a business period is from 9:00 to 17:00 per day, and the second cycle is 5 minutes. For each business period, the average bandwidth utilization rate over multiple consecutive 5-minute intervals within that business period can be calculated, i.e., the average bandwidth utilization rate. The second statistical bandwidth utilization rate corresponding to the business period is determined as the maximum value of the average bandwidth utilization rate over multiple consecutive 5-minute intervals within that business period.

[0069] S203. Based on the second statistical bandwidth utilization rate corresponding to each service time period, the bandwidth utilization rate of the network link in the first period is statistically analyzed to obtain the first statistical bandwidth utilization rate.

[0070] In this embodiment, after obtaining the second statistical bandwidth utilization rate corresponding to each service time period, the bandwidth utilization rate of the network link in the first period can be statistically analyzed by combining the second statistical bandwidth utilization rate corresponding to each service time period to obtain the first statistical bandwidth utilization rate corresponding to the first period.

[0071] In one possible implementation, S203 includes: determining the first statistical bandwidth utilization rate as the average of the second statistical bandwidth utilization rates corresponding to each service time period. Thus, by calculating the average, the impact of sudden spike traffic on network link bandwidth utilization is reduced. Furthermore, besides calculating the average, the second statistical bandwidth utilization rate can also be determined using the mode or median.

[0072] Furthermore, the first statistical bandwidth utilization rate corresponding to the first period can be expressed as:

[0073] U e =average(u d1 u d2 , ..., u dj , ..., u dn )

[0074] Among them, U e Indicates the first bandwidth utilization, u dj This represents the second bandwidth utilization rate corresponding to service time period j, where 1 ≤ j ≤ n, and n represents the number of service time periods within the first period. In the case that the first period is one month, n represents the number of working days within the first period.

[0075] S204. Compare the first statistical bandwidth utilization rate with the expansion threshold.

[0076] S205, First, is the bandwidth utilization rate greater than the expansion threshold?

[0077] In this embodiment, after comparing the first statistical bandwidth utilization rate and the expansion threshold, if the first statistical bandwidth utilization rate is greater than the expansion threshold, then S206 is executed; otherwise, the process jumps to S201.

[0078] S206. Expand the bandwidth of the network link.

[0079] The implementation principles and technical effects of S204 to S206 can be referred to in the aforementioned embodiments, and will not be repeated here.

[0080] In this embodiment, a second statistical bandwidth utilization rate is calculated for multiple service time periods. Based on this second statistical utilization rate, a first statistical bandwidth utilization rate for the first period is obtained. This ensures that the first statistical bandwidth utilization rate reflects peak service traffic while minimizing the adverse effects of sudden spikes in traffic. Using the first statistical bandwidth utilization rate as an indicator, it is determined whether the network link bandwidth needs to be expanded. Therefore, while ensuring reliable transmission of instantaneous traffic caused by peak service periods, it also comprehensively considers the bandwidth utilization rate throughout the overall service time period, avoiding frequent capacity expansion due to instantaneous traffic and reducing the waste of network link bandwidth resources, thus achieving reliable and economical management of network link capacity.

[0081] refer to Figure 3 , Figure 3 A flowchart illustrating the network link capacity management method provided in this application embodiment. Figure 3 .like Figure 3 As shown, the network link capacity management method provided in this embodiment includes:

[0082] S301 collects link traffic from network links.

[0083] S302, based on the link traffic and the link bandwidth of the network link, the bandwidth utilization rate of the network link in the first period is statistically analyzed to obtain the first statistical bandwidth utilization rate corresponding to the first period, wherein the first period includes multiple service time periods.

[0084] S303 compares the first statistical bandwidth utilization rate with the expansion threshold.

[0085] S304, First, is the bandwidth utilization rate greater than the expansion threshold?

[0086] In this embodiment, after comparing the first statistical bandwidth utilization rate and the expansion threshold, if the first statistical bandwidth utilization rate is greater than the expansion threshold, then S305 is executed; otherwise, the process jumps to S301.

[0087] S305 expands the bandwidth of network links.

[0088] The implementation principles and technical effects of S301 to S305 can be referred to in the aforementioned embodiments, and will not be repeated here.

[0089] S306 compares the current link traffic with the link bandwidth of the network link.

[0090] Step S306 can be executed after any of steps S301 to S305. Figure 3 Take S306 as an example, which is executed after S301.

[0091] In this embodiment, the collected network link traffic includes the network link traffic at the current moment. Therefore, the network link traffic at the current moment can be obtained from the collected network link traffic. Considering that the network link traffic at the current moment may exceed the network link bandwidth, especially during peak traffic periods, the link traffic at the current moment is compared with the network link bandwidth to obtain the comparison result: the link traffic at the current moment is greater than the network link bandwidth, or the link traffic at the current moment is less than or equal to the network link bandwidth.

[0092] S307, Is the current link traffic greater than the link bandwidth?

[0093] In this embodiment, after comparing the link traffic and link bandwidth at the current moment, if the link traffic at the current moment is greater than the link bandwidth, then S308 is executed; otherwise, the process jumps to S301 to continue to determine whether the link traffic at the next moment is greater than the link bandwidth, thereby realizing continuous monitoring of the link traffic and ensuring that the link traffic at each moment can be reliably transmitted.

[0094] S308 determines the allocated bandwidth for online services based on the service attributes corresponding to the online services carried by the network link.

[0095] The business attributes include at least one of the following: business type, business importance, business priority, and bandwidth allocation weight.

[0096] In this embodiment, when the current link traffic of the network link is greater than the link bandwidth, in order to ensure reliable transmission of the link traffic, the corresponding allocated bandwidth can be determined for the online services carried by the network link according to at least one of the following: service type, service importance, service priority, and bandwidth allocation weight. This ensures that a certain type of service with high importance, high priority, and heavy bandwidth allocation weight can be allocated sufficient bandwidth first, thus ensuring the reliable transmission of important service data.

[0097] In one possible implementation, S308 includes: if the link traffic at the current moment is greater than the link bandwidth, then determining a first service to be executed first among the online services based on at least one of the service type, service importance, and service priority; determining the allocated bandwidth corresponding to the first service based on the bandwidth allocation weight and link bandwidth corresponding to the first service; and after the first service is executed, determining a second service to be executed second among the online services based on at least one of the service type, service importance, and service priority, so as to continue executing the second service.

[0098] In this implementation, when the current link traffic exceeds the link bandwidth, the first priority service is determined among the online services carried by the network link based on at least one of the following: service type, service importance, and service priority. This ensures that online services of a certain type, high service importance, and high service priority are executed first. Bandwidth allocation weights are pre-set for each online service. After determining the first priority service, the allocated bandwidth for that service is determined within the link bandwidth range based on its allocated weight. The service traffic of the first service is transmitted on its allocated bandwidth. After the first service finishes execution, its allocated bandwidth is unused and can be allocated to other services. Therefore, a second priority service can be determined among the online services based on at least one of the following: service type, service importance, and service priority, to continue executing the second service.

[0099] For example, the first service includes service A and service B. The bandwidth allocation weight for service A is 10, the bandwidth allocation weight for service B is 30, and the link bandwidth is 100M. Then, 25M can be allocated to service A and 75M can be allocated to service B.

[0100] Furthermore, when business attributes include business type, business importance, business priority, and bandwidth allocation weight, there can be corresponding management relationships among these attributes. For example, for online services such as video conferencing, considering the high reliability requirements of video conferencing for data transmission, a higher business importance, business priority, and bandwidth allocation weight can be set for this type of online service to meet its needs.

[0101] Furthermore, business types can include broad business categories and subcategories. Subcategories can be further subdivided into multiple sub-categories. Different subcategories can correspond to different levels of business importance and different bandwidth allocation weights. Different sub-categories within the same business subcategory can correspond to different business priorities. Therefore, this system can be adapted to enterprise business needs, allowing for flexible configuration of business types, levels of business importance, and bandwidth allocation weights.

[0102] Furthermore, the bandwidth allocation weight for the same online service can include the bandwidth weight corresponding to the network type of the network link. Specifically, the bandwidth weight can differ for different network types for the same online service. For example, if the network type includes a core backbone network and a primary backbone network, the bandwidth allocation weight for online service A under the core backbone network is 10, but the bandwidth weight for online service A under the primary backbone network is 20.

[0103] Furthermore, business priorities can be set at the Differentiated Services CodePoint (DSCP) level. This allows for improved accuracy in business prioritization through DSCP grading.

[0104] As an example, the table below shows the business attributes of online services:

[0105]

[0106]

[0107] In this table, importance refers to the degree of importance of the service, DSCP level refers to the service priority, and queue weight refers to the bandwidth allocation weight. EF, AF41 / 42 / 43, AF31 / 32 / 33, AF21 / 22 / 23, and BE are different DSCP levels. Within AF41 / 42 / 43, 41, 42, and 43 are also different DSCP levels, used to set DSCP levels for various subcategories under a service subclass. As can be seen from the table, a major service category can be divided into one or more subcategories. For example, network control services can be divided into network management, multimedia services can be divided into video conferencing and VoIP, and so on. Different service subcategories can correspond to different importance levels, and different importance levels can correspond to the same DSCP level. For example, video conferencing corresponds to high importance and a DSCP level of EF, while VoIP corresponds to medium importance and a high DSCP level. For each service category, queue weights can be set in the core backbone network and in the primary backbone network.

[0108] S309 allocates bandwidth resources to online services based on the allocated bandwidth corresponding to the online services.

[0109] In this embodiment, once the allocated bandwidth corresponding to the online service is determined, bandwidth resources can be allocated to the online service so that the service traffic of the online service can be transmitted using the bandwidth resources.

[0110] In this embodiment, by avoiding the correlation between the first bandwidth utilization rate and the network link bandwidth, the first statistical bandwidth utilization rate is used as the expansion indicator. This avoids frequent network link expansion caused by instantaneous traffic and reduces the waste of network link bandwidth resources. When the network link traffic at the current moment exceeds the network link bandwidth, bandwidth is reasonably allocated to the online service based on the service attributes of the online service, ensuring reliable transmission of service traffic for important services. Thus, reliable and economical management of the network link is achieved.

[0111] The following are embodiments of the apparatus described in this application, which can be used to execute the corresponding method embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the corresponding method embodiments of this application.

[0112] Figure 4 This is a schematic diagram of the network link capacity management device provided in an embodiment of this application. Figure 4 As shown, the network link capacity management device 400 provided in this embodiment includes:

[0113] The acquisition unit 401 is used to acquire the link traffic of the network link;

[0114] The statistics unit 402 is used to perform statistics on the bandwidth utilization of the network link in the first period based on the link traffic and the link bandwidth of the network link, so as to obtain the first statistical bandwidth utilization corresponding to the first period, wherein the first period includes multiple service time periods.

[0115] The first comparison unit 403 is used to compare the first statistical bandwidth utilization rate with the expansion threshold.

[0116] The expansion unit 404 is used to expand the link bandwidth of the network link if the first statistical bandwidth utilization rate is greater than the expansion threshold.

[0117] In one possible implementation, the link traffic of the network link includes the link traffic of the network link in multiple service time periods; the statistics unit 402 is specifically used to: for multiple service time periods, according to the link traffic and link bandwidth of the network link in each service time period, to calculate the bandwidth utilization rate of the network link in each service time period, and obtain the second statistical bandwidth utilization rate corresponding to each service time period; according to the second statistical bandwidth utilization rate corresponding to each service time period, to calculate the bandwidth utilization rate of the network link in the first period, and obtain the first statistical bandwidth utilization rate.

[0118] In one possible implementation, each service time period includes multiple second periods. For each of the multiple service time periods, based on the link traffic and bandwidth of the network link within each service time period, the bandwidth utilization rate of the network link within each service time period is statistically analyzed to obtain the second statistical bandwidth utilization rate corresponding to each service time period. Specifically, the statistical unit 402 is used to: determine the average bandwidth utilization rate of the network link within each second period based on the link traffic and bandwidth of the network link within each second period; and determine the second statistical bandwidth utilization rate corresponding to the service time period containing each second period based on the average bandwidth utilization rate of the network link within each second period.

[0119] In one possible implementation, in the process of determining the second statistical bandwidth utilization rate corresponding to the service time period of each second period based on the average bandwidth utilization rate of the network link in each second period, the statistical unit 402 is specifically used to: determine the average bandwidth utilization rate with the largest value among the average bandwidth utilization rates of the network link in each second period; and determine the second statistical bandwidth utilization rate corresponding to the service time period of each second period as the average bandwidth utilization rate with the largest value.

[0120] In one possible implementation, during the process of statistically analyzing the bandwidth utilization of the network link in the first period based on the second statistical bandwidth utilization rate corresponding to each service time period to obtain the first statistical bandwidth utilization rate, the statistical unit 402 is specifically used to: determine the first statistical bandwidth utilization rate as the average of the second statistical bandwidth utilization rates corresponding to each service time period.

[0121] In one possible implementation, the link traffic of the network link includes the link traffic of the network link at the current moment. The network link capacity management device further includes: a second comparison unit 405, used to compare the link traffic at the current moment with the link bandwidth of the network link; a bandwidth determination unit 406, used to determine the allocated bandwidth corresponding to the online service based on the service attributes corresponding to the online service carried by the network link if the link traffic at the current moment is greater than the link bandwidth; and a bandwidth allocation unit 407, used to allocate bandwidth resources to the online service based on the allocated bandwidth corresponding to the online service; wherein the service attributes include at least one of the following: service type, service importance, service priority, and bandwidth allocation weight.

[0122] In one possible implementation, the bandwidth allocation unit 407 is specifically used to: if the link traffic at the current moment is greater than the link bandwidth, determine the first service to be executed first among the online services based on at least one of the service type, service importance, and service priority; determine the allocated bandwidth corresponding to the first service based on the bandwidth allocation weight and link bandwidth corresponding to the first service; and after the first service is executed, determine the second service to be executed second among the online services based on at least one of the service type, service importance, and service priority, so as to continue executing the second service.

[0123] It is worth noting that the network link capacity management device provided in the above embodiments can be used to execute each step in the network link capacity management method provided in any of the above embodiments. The specific implementation methods and technical effects are similar, and will not be repeated here.

[0124] The device embodiments provided in this application are merely illustrative, and the module division is only a logical functional division. In actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system. The coupling between the modules can be achieved through interfaces, which are usually electrical communication interfaces, but mechanical interfaces or other forms of interfaces are also possible. Therefore, the modules described as separate components may or may not be physically separate; they may be located in one place or distributed in different locations on the same or different devices.

[0125] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device 500 may include at least one processor 501 and a memory 502. Figure 5 The example shown is an electronic device using a processor.

[0126] The memory 502 is used to store the program of the processor 501. Specifically, the program may include program code, which includes computer operation instructions.

[0127] The memory 502 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0128] The processor 501 is configured to execute the computer program stored in the memory 502 to implement the steps of the network link capacity management method in the above method embodiments.

[0129] The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0130] Optionally, the memory 502 can be either independent or integrated with the processor 501. When the memory 502 is a device independent of the processor 501, the electronic device 500 may further include a bus 503 for connecting the processor 501 and the memory 502. The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. Buses can be classified as address buses, data buses, control buses, etc., but this does not mean that there is only one bus or one type of bus.

[0131] Optionally, in a specific implementation, if the memory 502 and the processor 501 are integrated on a single chip, then the memory 502 and the processor 501 can communicate through an internal interface.

[0132] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a disk, or an optical disk. Specifically, the computer-readable storage medium stores computer-executable instructions. When at least one processor of the electronic device executes the computer-executable instructions, the electronic device executes the various steps of the network link capacity management method provided in the above-described embodiments.

[0133] This application also provides a computer program product comprising a computer program stored in a readable storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the various steps of the network link capacity management method provided in the various embodiments described above.

[0134] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0135] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A network link capacity management method, characterized in that, include: Collect network link traffic; The link traffic of the network link includes the link traffic of the network link in multiple service time periods; Each business time period contains multiple second periods; the business time period is a fixed period of time with high business traffic and high network link traffic. Based on the link traffic and link bandwidth of the network link in each second period, determine the average bandwidth utilization of the network link in each second period; Among the average bandwidth utilization rates of the network link during each of the second periods, the average bandwidth utilization rate with the largest value is determined. The second statistical bandwidth utilization rate corresponding to the business time period containing each of the second periods is determined to be the average bandwidth utilization rate with the largest value. Based on the second statistical bandwidth utilization rate corresponding to each service time period, the bandwidth utilization rate of the network link in the first period is statistically analyzed to obtain the first statistical bandwidth utilization rate, wherein the first period includes multiple service time periods. Compare the first statistical bandwidth utilization rate with the capacity expansion threshold; If the first statistical bandwidth utilization rate is greater than the expansion threshold, then the link bandwidth of the network link is expanded.

2. The network link capacity management method according to claim 1, characterized in that, The step of statistically analyzing the bandwidth utilization of the network link within the first period based on the second statistical bandwidth utilization rate corresponding to each service time period to obtain the first statistical bandwidth utilization rate includes: The first statistical bandwidth utilization rate is determined to be the average of the second statistical bandwidth utilization rates corresponding to each service time period.

3. The network link capacity management method according to claim 1 or 2, characterized in that, The link traffic of the network link includes the link traffic of the network link at the current moment. After collecting the link traffic of the network link, it also includes: Compare the current link traffic with the link bandwidth of the network link; If the link traffic at the current moment is greater than the link bandwidth, then the allocated bandwidth corresponding to the online service is determined according to the service attributes corresponding to the online service carried by the network link. Allocate bandwidth resources to the online services according to the allocated bandwidth corresponding to the online services; The business attributes include at least one of the following: business type, business importance, business priority, and bandwidth allocation weight.

4. The network link capacity management method according to claim 3, characterized in that, If the link traffic at the current moment is greater than the link bandwidth, then the allocated bandwidth corresponding to the online service is determined according to the service attributes corresponding to the online service carried by the network link, including: If the link traffic at the current moment is greater than the link bandwidth, then the first service to be executed first is determined among the online services based on at least one of the service type, service importance, and service priority of the online services. The allocated bandwidth for the first service is determined based on the bandwidth allocation weight corresponding to the first service and the link bandwidth. After the first service is completed, a second service is determined to be executed first among the online services based on at least one of the service type, service importance, and service priority, so as to continue the execution of the second service.

5. A network link capacity management device, characterized in that, include: The acquisition unit is used to collect link traffic from network links; The link traffic of the network link includes the link traffic of the network link in multiple service time periods; Each business time period contains multiple second periods; the business time period is a fixed period of time with high business traffic and high network link traffic. The statistics unit is used to perform statistics on the bandwidth utilization of the network link in the first period based on the link traffic and the link bandwidth of the network link, and obtain the first statistical bandwidth utilization corresponding to the first period, wherein the first period includes multiple service time periods. The first comparison unit is used to compare the first statistical bandwidth utilization rate with the expansion threshold. An expansion unit is used to expand the link bandwidth of the network link if the first statistical bandwidth utilization rate is greater than the expansion threshold. The statistical unit is specifically used for: determining the average bandwidth utilization of the network link in each second period based on the link traffic and the link bandwidth of the network link in each second period; determining the average bandwidth utilization with the largest value among the average bandwidth utilization of the network link in each second period; determining the second statistical bandwidth utilization rate corresponding to the service time period of each second period as the average bandwidth utilization rate with the largest value; and statistically analyzing the bandwidth utilization of the network link in the first period based on the second statistical bandwidth utilization rate corresponding to each service time period to obtain the first statistical bandwidth utilization rate.

6. An electronic device, comprising: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the network link capacity management method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the network link capacity management method as described in any one of claims 1 to 4.