Slice bandwidth adjustment method and device and related equipment
By collecting and judging the real-time bandwidth information of the target slice and dynamically adjusting its maximum available bandwidth, the service problems caused by insufficient slice bandwidth and the problem of low bandwidth utilization are solved, and efficient bandwidth utilization and service quality assurance is achieved.
Patent Information
- Application Number
- CN202510019924.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-09
AI Technical Summary
In channelized subinterface slicing technology, if the slice bandwidth is too small, it will lead to traffic congestion and packet loss, and if it is too large, it will lead to bandwidth utilization decrease and waste.
By collecting the current real-time bandwidth information of the target slice, it is determined whether it is greater than or equal to the first threshold (the product of the current maximum available bandwidth and the first ratio), and expand or shrink the maximum available bandwidth of the slice based on whether the maximum available bandwidth upper limit is reached.
It realizes automatic adjustment of slice bandwidth according to real-time bandwidth changes, ensuring service quality requirements while improving the overall utilization of physical link bandwidth, avoiding bandwidth waste and service congestion.
Smart Images

Figure CN119966823A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a slice bandwidth adjustment method, device and related equipment. Background Art
[0002] When deploying network services, users hope to achieve service isolation. When lines are limited, slicing technology is often used to achieve exclusive bandwidth resources, thereby achieving service isolation. In the channelized sub-interface slicing technology, users can slice multiple channelized sub-interface links from a single link. However, service traffic changes at any time. If the slice bandwidth is too small, the service cannot be guaranteed, which will cause service congestion and packet loss. If the slice bandwidth is too large, the bandwidth utilization rate will decrease, resulting in bandwidth waste. Summary of the invention
[0003] The present application provides a slice bandwidth adjustment method, apparatus and related equipment.
[0004] In a first aspect, the present application provides a slice bandwidth adjustment method, the method comprising:
[0005] Collect the current real-time bandwidth information of the target slice;
[0006] Determine whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is the product of the current maximum available bandwidth of the target slice and the first ratio;
[0007] If it is determined that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, determining whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth;
[0008] If it is determined that the current maximum available bandwidth of the target slice does not reach the upper limit of the maximum available bandwidth, the current maximum available bandwidth of the target slice is expanded, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit of the maximum available bandwidth corresponding to the target slice.
[0009] Optionally, the step of performing a capacity expansion operation on the current maximum available bandwidth of the target slice includes:
[0010] Increasing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0011] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
[0012] Optionally, the method further comprises:
[0013] Determine whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is the product of the current maximum available bandwidth of the target slice before the last capacity expansion and the first ratio;
[0014] If it is determined that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, the current maximum available bandwidth of the target slice is scaled down, wherein the current maximum available bandwidth of the target slice after scaling down is not less than the initial value of the maximum available bandwidth.
[0015] Optionally, the step of performing a capacity reduction operation on the current maximum available bandwidth of the target slice includes:
[0016] reducing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0017] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
[0018] Optionally, before performing a capacity reduction operation on the current maximum available bandwidth of the target slice, the method further includes:
[0019] It is determined whether the number of times the target slice is shrunk in the shrinking period is greater than or equal to a set value. If the number of times the target slice is shrunk is greater than or equal to the set value, the current maximum available bandwidth of the target slice is not shrunk in the shrinking suppression period.
[0020] In a second aspect, the present application provides a slice bandwidth adjustment device, the device comprising:
[0021] A collection unit, used to collect current real-time bandwidth information of the target slice;
[0022] a judging unit, configured to judge whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is a product of the current maximum available bandwidth of the target slice and a first ratio;
[0023] If the judging unit determines that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, the judging unit is further configured to judge whether the current maximum available bandwidth of the target slice has reached an upper limit of the maximum available bandwidth;
[0024] The adjustment unit is used for expanding the current maximum available bandwidth of the target slice if the judgment unit determines that the current maximum available bandwidth of the target slice has not reached the upper limit value of the maximum available bandwidth, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit value of the maximum available bandwidth corresponding to the target slice.
[0025] Optionally, when the current maximum available bandwidth of the target slice is expanded, the adjusting unit is specifically configured to:
[0026] Increasing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0027] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
[0028] Optionally, the judging unit is further configured to judge whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is a product of a current maximum available bandwidth of the target slice before the last capacity expansion and the first ratio;
[0029] If the judgment unit determines that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, the adjustment unit is used to scale down the current maximum available bandwidth of the target slice, wherein the current maximum available bandwidth of the target slice after scaling down is not less than the initial value of the maximum available bandwidth.
[0030] Optionally, when performing a capacity reduction operation on the current maximum available bandwidth of the target slice, the adjusting unit is specifically configured to:
[0031] reducing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0032] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
[0033] Optionally, the judging unit is further configured to judge whether the number of times the target slice is shrunk during the shrinking period is greater than or equal to a set value; if so, the adjusting unit does not shrink the current maximum available bandwidth of the target slice during the shrinking suppression period.
[0034] In a third aspect, an embodiment of the present application provides a slice bandwidth adjustment device, the slice bandwidth adjustment device comprising:
[0035] A memory for storing program instructions;
[0036] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.
[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the first aspects above.
[0038] In summary, the slice bandwidth adjustment method provided in the embodiment of the present application collects the current real-time bandwidth information of the target slice; determines whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is the product of the current maximum available bandwidth of the target slice and a first ratio; if it is determined that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, determines whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth; if it is determined that the current maximum available bandwidth of the target slice has not reached the upper limit of the maximum available bandwidth, performs an expansion operation on the current maximum available bandwidth of the target slice, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit of the maximum available bandwidth corresponding to the target slice.
[0039] By adopting the slice bandwidth adjustment method provided in the embodiment of the present application, the controller automatically adjusts the current maximum available bandwidth value of each slice according to the current maximum available bandwidth and the current real-time bandwidth of each slice, so as to ensure the service quality requirements of each slice while improving the overall bandwidth utilization of the physical link. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.
[0041] Figure 1A detailed flow chart of a slice bandwidth adjustment method provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of the structure of a slice bandwidth adjustment device provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of the hardware architecture of a slice bandwidth adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.
[0045] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".
[0046] For example, see Figure 1 FIG. 1 is a detailed flow chart of a slice bandwidth adjustment method provided in an embodiment of the present application, and the method includes the following steps:
[0047] Step 100: Collect current real-time bandwidth information of the target slice.
[0048] In actual applications, when a slice service (such as a target service) is deployed, an initial maximum available bandwidth (such as 100M) is set for the slice (such as a target slice), and the slice is used to carry the traffic of the service. At this time, the controller can monitor the real-time bandwidth of the slice. Specifically, the controller can periodically collect the real-time bandwidth of the slice to determine whether it is necessary to expand / contract the maximum available bandwidth of the slice.
[0049] Step 110: Determine whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is the product of the current maximum available bandwidth of the target slice and a first ratio.
[0050] In the embodiment of the present application, assuming that the first ratio is 80%, at the time of initialization, the current maximum available bandwidth of the target slice is the initial value of the maximum available bandwidth (e.g., 100M), then the first threshold is 100M multiplied by 80% equal to 80M. The controller periodically collects the current real-time bandwidth of the target slice and determines whether the current real-time bandwidth of the target slice is greater than or equal to 80M.
[0051] If the current maximum available bandwidth of the target slice is 110M, then the first threshold is 110M multiplied by 80% which equals 88M. The controller periodically collects the current real-time bandwidth of the target slice and determines whether the current real-time bandwidth of the target slice is greater than or equal to 88M.
[0052] As can be seen from the above, the current maximum available bandwidth of the target slice will change dynamically based on the expansion / contraction of the target slice.
[0053] Step 120: If it is determined that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, it is determined whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth.
[0054] In actual applications, a corresponding maximum available bandwidth upper limit value can also be set for each slice. For example, the initial maximum available bandwidth value set for the target slice is 100M, and the dynamic bandwidth upper limit is set to 30%, that is, the maximum available bandwidth upper limit value set for the target slice is 130M.
[0055] Then, in the embodiment of the present application, when the controller determines that the current real-time bandwidth of the target slice is greater than or equal to the corresponding first threshold, before performing an expansion operation on the current maximum available bandwidth of the target slice, it is necessary to further determine whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth. If the upper limit of the maximum available bandwidth has been reached, there is no need to increase the current maximum available bandwidth of the target slice.
[0056] Step 130: If it is determined that the current maximum available bandwidth of the target slice does not reach the upper limit of the maximum available bandwidth, the current maximum available bandwidth of the target slice is expanded, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit of the maximum available bandwidth corresponding to the target slice.
[0057] For example, assuming that the current maximum available bandwidth of the target slice is 100M, the upper limit of the maximum available bandwidth of the target slice is 130M, 100M<130M, and it is determined that the current maximum available bandwidth of the target slice does not reach the upper limit of the maximum available bandwidth. At this time, the current maximum available bandwidth of the target slice can be expanded.
[0058] Specifically, when the current maximum available bandwidth of the target slice is expanded, a preferred implementation method is:
[0059] The current maximum available bandwidth of the target slice is increased by a preset fixed value.
[0060] For example, the expansion bandwidth set for the target slice is a preset fixed value (fixed step size, such as 10M). In this way, when it is determined to expand the target slice, the current maximum available bandwidth of the target slice is increased by 10M.
[0061] When the current maximum available bandwidth of the target slice is expanded, another preferred implementation is:
[0062] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
[0063] For example, the bandwidth value for capacity expansion set for the target slice is a dynamically changing value, that is, it is calculated based on the real-time bandwidth change value of the slice bandwidth in the current period. The larger the real-time bandwidth change is, the larger the maximum available bandwidth increased this time, and vice versa.
[0064] For example, if the real-time bandwidth change value of the slice bandwidth in the current period is P, the calculated maximum available bandwidth adjustment value is Q; if the real-time bandwidth change value of the slice bandwidth in the current period is 2P, the calculated maximum available bandwidth adjustment value may be 2Q.
[0065] Furthermore, in the embodiment of the present application, the above-mentioned slice loan bandwidth adjustment method may also include the following steps:
[0066] Determine whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is the product of the current maximum available bandwidth of the target slice before the last expansion and the first ratio; if it is determined that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, then perform a capacity reduction operation on the current maximum available bandwidth of the target slice, wherein the current maximum available bandwidth of the target slice after the reduction is not less than the initial value of the maximum available bandwidth.
[0067] In the embodiment of the present application, the second threshold is the value of the current maximum available bandwidth before the last expansion of the target slice, that is, assuming that the current maximum available bandwidth of the target slice is 110M, and the current maximum available bandwidth of the target slice before the last expansion is 100M (the initial value of the maximum available bandwidth), then the second threshold is 100M multiplied by 80%, which is equal to 80M. It is determined whether the current real-time bandwidth of the target slice is less than 80M. If it is less than 80M, it is determined whether the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth. When it is determined whether the current maximum available bandwidth of the target slice (110M) is greater than the initial value of the maximum available bandwidth (100M), the current maximum available bandwidth of the target slice is reduced.
[0068] Specifically, in the embodiment of the present application, when the current maximum available bandwidth of the target slice is scaled down, a preferred implementation method is:
[0069] The current maximum available bandwidth of the target slice is reduced by a preset fixed value.
[0070] For example, the reduced bandwidth set for the target slice is a preset fixed value (fixed step size, such as 10M), so when it is determined to perform a reduction operation on the target slice, the current maximum available bandwidth of the target slice is reduced by 10M.
[0071] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
[0072] For example, the bandwidth value of the reduction set for the target slice is a dynamically changing value, that is, it is calculated based on the real-time bandwidth change value of the slice bandwidth in the current period. The larger the real-time bandwidth change is, the larger the maximum available bandwidth reduced this time is, and vice versa.
[0073] For example, if the real-time bandwidth change value of the slice bandwidth in the current period is P, the calculated maximum available bandwidth adjustment value is Q; if the real-time bandwidth change value of the slice bandwidth in the current period is 2P, the calculated maximum available bandwidth adjustment value may be 2Q.
[0074] Furthermore, in the embodiment of the present application, before the current maximum available bandwidth of the target slice is reduced, the slice bandwidth adjustment method may further include the following steps:
[0075] It is determined whether the number of times the target slice is shrunk in the shrinking period is greater than or equal to a set value. If the number of times the target slice is shrunk is greater than or equal to the set value, the current maximum available bandwidth of the target slice is not shrunk in the shrinking suppression period.
[0076] Specifically, in actual applications, in order to cope with frequent expansion and contraction operations caused by frequent jitters of business traffic near the threshold, expansion and contraction suppression parameters can be set. When the contraction suppression switch is turned on, you need to enter the contraction period, the number of contractions within the contraction period, and the dynamic contraction suppression period. For example, assuming that the number of dynamic contractions reaches 2 times within 12 minutes, the contraction suppression time is 30 minutes. Of course, you can also turn off the contraction suppression switch according to user needs / specific application scenario requirements. In this way, there is no limit on the frequency of dynamic expansion and contraction.
[0077] Based on the same inventive concept as the above-mentioned embodiment of the invention, for example, refer to Figure 2 FIG. 1 is a schematic diagram of a structure of a slice bandwidth adjustment device provided in an embodiment of the present application, the device comprising:
[0078] The acquisition unit 20 is used to acquire the current real-time bandwidth information of the target slice;
[0079] A judging unit 21, configured to judge whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is a product of the current maximum available bandwidth of the target slice and a first ratio;
[0080] If the judging unit 21 determines that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, the judging unit 21 is further configured to judge whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth;
[0081] The adjustment unit 22 is used to expand the current maximum available bandwidth of the target slice if the judgment unit 21 determines that the current maximum available bandwidth of the target slice has not reached the upper limit value of the maximum available bandwidth, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit value of the maximum available bandwidth corresponding to the target slice.
[0082] Optionally, when the current maximum available bandwidth of the target slice is expanded, the adjusting unit 22 is specifically configured to:
[0083] Increasing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0084] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
[0085] Optionally, the judging unit 21 is further configured to judge whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is a product of a current maximum available bandwidth of the target slice before the last capacity expansion and the first ratio;
[0086] If the judgment unit 21 determines that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, the adjustment unit 22 is used to scale down the current maximum available bandwidth of the target slice, wherein the current maximum available bandwidth of the target slice after scaling down is not less than the initial value of the maximum available bandwidth.
[0087] Optionally, when performing a capacity reduction operation on the current maximum available bandwidth of the target slice, the adjusting unit 22 is specifically configured to:
[0088] reducing the current maximum available bandwidth of the target slice by a preset fixed value; or,
[0089] Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
[0090] Optionally, the judging unit 21 is further configured to judge whether the number of times the target slice is shrunk during the shrinking period is greater than or equal to a set value; if so, the adjusting unit 22 does not shrink the current maximum available bandwidth of the target slice during the shrinking suppression period.
[0091] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0092] Furthermore, the slice bandwidth adjustment device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the slice bandwidth adjustment device can be seen in Figure 3 As shown, the slice bandwidth adjustment device may include: a memory 30 and a processor 31,
[0093] The memory 30 is used to store program instructions; the processor 31 calls the program instructions stored in the memory 30 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.
[0094] Optionally, the present application also provides a controller, comprising at least one processing element (or chip) for executing the above method embodiment.
[0095] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above method embodiments.
[0096] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.
[0097] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.
[0098] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0101] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0103] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A slice bandwidth adjustment method, characterized in that: The method comprises: Collect the current real-time bandwidth information of the target slice; Determine whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is the product of the current maximum available bandwidth of the target slice and the first ratio; If it is determined that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, determining whether the current maximum available bandwidth of the target slice has reached the upper limit of the maximum available bandwidth; If it is determined that the current maximum available bandwidth of the target slice does not reach the upper limit of the maximum available bandwidth, the current maximum available bandwidth of the target slice is expanded, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit of the maximum available bandwidth corresponding to the target slice.
2. The method according to claim 1, characterized in that The step of performing a capacity expansion operation on the current maximum available bandwidth of the target slice includes: Increasing the current maximum available bandwidth of the target slice by a preset fixed value; or, Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
3. The method according to claim 1, characterized in that The method further comprises: Determine whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is the product of the current maximum available bandwidth of the target slice before the last capacity expansion and the first ratio; If it is determined that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, the current maximum available bandwidth of the target slice is scaled down, wherein the current maximum available bandwidth of the target slice after scaling down is not less than the initial value of the maximum available bandwidth.
4. The method according to claim 3, characterized in that The step of performing a capacity reduction operation on the current maximum available bandwidth of the target slice includes: reducing the current maximum available bandwidth of the target slice by a preset fixed value; or, Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
5. The method according to claim 3 or 4, characterized in that Before performing a capacity reduction operation on the current maximum available bandwidth of the target slice, the method further includes: It is determined whether the number of times the target slice is shrunk in the shrinking period is greater than or equal to a set value. If the number of times the target slice is shrunk is greater than or equal to the set value, the current maximum available bandwidth of the target slice is not shrunk in the shrinking suppression period.
6. A slice bandwidth adjustment device, characterized in that: The device comprises: A collection unit, used to collect current real-time bandwidth information of the target slice; a judging unit, configured to judge whether the current real-time bandwidth of the target slice is greater than or equal to a first threshold, wherein the first threshold is a product of the current maximum available bandwidth of the target slice and a first ratio; If the judging unit determines that the current real-time bandwidth of the target slice is greater than or equal to the first threshold, the judging unit is further configured to judge whether the current maximum available bandwidth of the target slice has reached an upper limit of the maximum available bandwidth; The adjustment unit is used for expanding the current maximum available bandwidth of the target slice if the judgment unit determines that the current maximum available bandwidth of the target slice has not reached the upper limit value of the maximum available bandwidth, wherein the current maximum available bandwidth of the target slice after expansion is not greater than the upper limit value of the maximum available bandwidth corresponding to the target slice.
7. The device according to claim 6, characterized in that When performing a capacity expansion operation on the current maximum available bandwidth of the target slice, the adjustment unit is specifically used to: Increasing the current maximum available bandwidth of the target slice by a preset fixed value; or, Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the increase in the real-time bandwidth of the target slice in the current period, and based on the increase, determine the specified value by which the current maximum bandwidth of the target slice needs to be increased, and increase the current maximum available bandwidth of the target slice by the specified value.
8. The device according to claim 6, characterized in that The judging unit is further configured to judge whether the current real-time bandwidth of the target slice is less than or equal to a second threshold, wherein the second threshold is the product of the current maximum available bandwidth of the target slice before the last capacity expansion and the first ratio; If the judgment unit determines that the current real-time bandwidth of the target slice is less than the second threshold, and the current maximum available bandwidth of the target slice is greater than the initial value of the maximum available bandwidth, the adjustment unit is used to scale down the current maximum available bandwidth of the target slice, wherein the current maximum available bandwidth of the target slice after scaling down is not less than the initial value of the maximum available bandwidth.
9. The device according to claim 8, characterized in that When performing a capacity reduction operation on the current maximum available bandwidth of the target slice, the adjusting unit is specifically configured to: reducing the current maximum available bandwidth of the target slice by a preset fixed value; or, Based on the current real-time bandwidth and the current real-time bandwidth of the target slice acquired in the previous period, determine the reduction amount of the real-time bandwidth of the target slice in the current period, and based on the reduction amount, determine the specified value by which the current maximum bandwidth of the target slice needs to be reduced, and reduce the current maximum available bandwidth of the target slice by the specified value.
10. The device according to claim 8 or 9, characterized in that The judging unit is further configured to judge whether the number of times the target slice is shrunk in the shrinking period is greater than or equal to a set value; if so, the adjusting unit does not shrink the current maximum available bandwidth of the target slice in the shrinking suppression period.
11. A slice bandwidth adjustment device, characterized in that: The slice bandwidth adjustment device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps of the method according to any one of claims 1 to 5 according to the obtained program instructions.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method according to any one of claims 1 to 5.