Resource capacity expansion method and device and electronic equipment

By acquiring expansion strategies from the cloud-network integrated system and automatically monitoring and switching resource configuration schemes, the problems of poor real-time performance and low utilization of resource expansion in existing technologies are solved, achieving efficient and flexible resource management and improving user experience.

CN121864597APending Publication Date: 2026-04-14INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-15
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing resource expansion methods suffer from poor real-time performance, low resource utilization, and negatively impact user experience. Furthermore, the lack of automated closed-loop control leads to resource waste and response delays.

Method used

By acquiring pre-set expansion strategies, the system monitors the combined utilization rate of cloud and network resources, and automatically switches to the next level of resource configuration scheme when expansion trigger conditions are met, thereby achieving gradual resource upgrades. When recycling trigger conditions are met, the system replaces the current scheme with the resource configuration scheme of the first level, forming a complete closed-loop control.

Benefits of technology

It improved the real-time nature and accuracy of resource expansion, significantly increased resource utilization, and ensured service quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121864597A_ABST
    Figure CN121864597A_ABST
Patent Text Reader

Abstract

The invention provides a resource capacity expansion method and device and electronic equipment, and the method comprises the steps: obtaining a preset capacity expansion strategy, the capacity expansion strategy comprises a capacity expansion triggering condition, a recovery triggering condition and a resource configuration scheme sequence, and the resource configuration scheme sequence comprises a plurality of levels of resource configuration schemes with resource quotas gradually increased; monitoring the combined utilization rate of cloud resources and network resources in the system; under the condition that the combination utilization rate is determined to meet the capacity expansion triggering condition, switching the current resource configuration scheme to the resource configuration scheme of the next level; and replacing the current resource configuration scheme with the resource configuration scheme of the first level under the condition that the combination utilization rate is determined to meet the recovery triggering condition. By monitoring the combined utilization rate of the cloud resources and the network resources and combining the capacity expansion strategy, resource capacity expansion or recovery is automatically triggered, a complete closed loop from monitoring, decision making to execution is achieved, the real-time performance is high, the resource utilization rate is improved, the service quality can be guaranteed, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cloud computing technology, and in particular to a resource expansion method, apparatus, and electronic device. Background Technology

[0002] With the rapid development of 5G, cloud computing, and big data technologies, the demand for network bandwidth and computing resources from enterprises and individual users exhibits significant dynamic and sudden characteristics. In typical application scenarios such as live streaming, e-commerce promotions, and online education, business traffic may surge several times in a short period, posing a severe challenge to the elasticity of the underlying cloud network infrastructure. Currently, operators and large enterprise data centers generally still adopt static resource configuration or expansion methods that rely on manual intervention, resulting in poor real-time performance, low resource utilization, and negatively impacting user experience. Summary of the Invention

[0003] This invention provides a resource expansion method, apparatus, and electronic device to address the shortcomings of existing resource expansion methods, such as poor real-time performance, low resource utilization, and negative impact on user experience.

[0004] This invention provides a resource expansion method applied to a cloud-network integrated system, comprising: Obtain a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; Monitor the combined utilization rate of cloud resources and network resources in the system; If it is determined that the combined utilization rate meets the expansion trigger condition, the current resource configuration scheme is switched to the next level of resource configuration scheme in the resource configuration scheme sequence; If the combined utilization rate is determined to meet the recycling trigger condition, the current resource allocation scheme is replaced by the resource allocation scheme of the first level in the resource allocation scheme sequence.

[0005] In some embodiments, the step of switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the expansion trigger condition includes: If the utilization rate of the cloud resources meets the expansion trigger condition of the cloud resources, and / or the utilization rate of the network resources meets the expansion trigger condition of the network resources, the current resource configuration scheme will be switched to the next level of the resource configuration scheme in the resource configuration scheme sequence to expand the cloud resources and / or the network resources.

[0006] In some embodiments, after switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence, the method further includes: Within a predetermined monitoring period, monitor the new combined utilization rate of cloud resources and network resources in the system; If the new combined utilization rate meets the expansion triggering condition, an alarm is triggered, and the next level resource configuration scheme is switched to the next level below it; the next level resource configuration scheme is not the highest level resource configuration scheme.

[0007] In some embodiments, after monitoring the new combined utilization of cloud resources and network resources in the system, the method further includes: If the new combined utilization rate meets the expansion triggering condition, an alarm message indicating insufficient capacity is generated and an alarm is issued; the next level of resource configuration scheme is the highest level of resource configuration scheme.

[0008] In some embodiments, the next-level resource allocation scheme is the highest-level resource allocation scheme. After switching the current resource allocation scheme to the next-level resource allocation scheme in the resource allocation scheme sequence, the method further includes: Monitor the operating status of the system within a preset time period; Based on the operating status of the system, the stability of the system is evaluated, and the stability score of the system is calculated. If the stability score is determined to be greater than or equal to a preset score threshold, the first-level resource configuration scheme is upgraded to the highest-level resource configuration scheme.

[0009] In some embodiments, the expansion strategy further includes an expansion period, and the monitoring of the combined utilization of cloud resources and network resources in the system includes: During the expansion period, monitor the combined utilization rate of cloud resources and network resources in the system.

[0010] In some embodiments, the cloud resources include the central processing unit and memory of the virtual machine, and the network resources include the bandwidth of the network link.

[0011] In some embodiments, switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence includes at least one of the following operations: The virtual machine is vertically scaled to increase the number of computing cores and / or memory capacity of the central processing unit; Increase the bandwidth of the network link.

[0012] The present invention also provides a resource expansion device for use in a cloud-network integrated system, comprising: The acquisition unit is used to acquire a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; The first monitoring unit is used to monitor the combined utilization rate of cloud resources and network resources in the system. The first expansion unit is used to switch the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the expansion trigger condition. The recycling unit is used to replace the current resource configuration scheme with the first-level resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the recycling triggering condition.

[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the resource expansion method described above.

[0014] The resource expansion method, apparatus, and electronic device provided by this invention acquire a pre-set expansion strategy, which includes expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence. The resource configuration scheme sequence includes multiple levels of resource configuration schemes with progressively increasing resource quotas. The system monitors the combined utilization rate of cloud and network resources. When the combined utilization rate meets the expansion trigger conditions, the current resource configuration scheme is switched to the next level, automatically and quickly increasing resource allocation step by step, improving the real-time performance and accuracy of resource expansion. When the combined utilization rate meets the reclamation trigger conditions, the current resource configuration scheme is replaced with the first-level resource configuration scheme. This achieves a complete closed loop from monitoring and decision-making to execution, significantly improving resource utilization, ensuring service quality, and enhancing user experience. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0016] Figure 1This is a flowchart illustrating the resource expansion method provided in an embodiment of the present invention.

[0017] Figure 2 A schematic diagram of the resource expansion device provided in this embodiment of the invention.

[0018] Figure 3 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0020] The terms "first," "second," etc., used in this invention are used to distinguish similar objects, not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, in this invention, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0021] Currently, traditional static resource allocation methods have the following drawbacks: Resource waste: To ensure that services do not crash during peak periods due to bandwidth congestion, resources are usually pre-allocated at maximum load for a long time, resulting in a large amount of resources being idle during off-peak periods.

[0022] Delayed response: When user business needs grow rapidly, operations and maintenance personnel often need to manually intervene to expand capacity, which makes it difficult to meet the needs in a timely manner.

[0023] Lack of closed-loop control: Some existing automatic expansion solutions can only trigger expansion, but lack inventory updates, monitoring feedback and recycling mechanisms, resulting in low resource utilization and inability to guarantee service continuity.

[0024] Insufficient cross-system collaboration: There is a disconnect between the Business Support System (BSS), Operations Support System (OSS), and Software-Defined Networking (SDN) controllers, making it impossible to achieve end-to-end dynamic scaling.

[0025] To address this, the present invention provides a resource expansion method, apparatus, and electronic device. By acquiring a pre-set expansion strategy, which includes expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence, the resource configuration scheme sequence includes multiple levels of resource configuration schemes with progressively increasing resource quotas. The invention also monitors the combined utilization rate of cloud and network resources in the system. When the combined utilization rate meets the expansion trigger conditions, the current resource configuration scheme is switched to the next level, automatically and quickly increasing resource allocation level by level, improving the real-time performance and accuracy of resource expansion. When the combined utilization rate meets the reclamation trigger conditions, the current resource configuration scheme is replaced with the first-level resource configuration scheme, achieving a complete closed loop from monitoring and decision-making to execution. This significantly improves resource utilization, ensures service quality, and enhances user experience.

[0026] In this embodiment of the invention, the cloud-network integrated system refers to a technical architecture and platform that deeply integrates, unifies the management of, and coordinates the scheduling of cloud computing resources and network resources. It breaks away from the traditional IT model of independent and separate management of cloud and network, aiming to provide users with end-to-end, elastic, and intelligent integrated services. The core objective of this system is to achieve unified orchestration, on-demand provisioning, and integrated service assurance of computing and network resources.

[0027] Figure 1 This is a flowchart illustrating the resource expansion method provided in an embodiment of the present invention. Figure 1 As shown, a resource expansion method is provided, applied to a cloud-network integrated system, including the following steps: steps 110, 120, 130, and 140. This method's steps are merely one possible implementation of the invention.

[0028] Step 110: Obtain the pre-set expansion strategy. The expansion strategy includes expansion trigger conditions, reclamation trigger conditions, and a resource allocation scheme sequence. The resource allocation scheme sequence includes multiple levels of resource allocation schemes with progressively increasing resource quotas.

[0029] Optionally, a scaling strategy can be determined based on business needs or historical experience data. The scaling strategy should include at least: a cloud resource scaling strategy and a network resource scaling strategy.

[0030] For example, network resource expansion strategies are as follows: Initial resources: 1 virtual machine (VM), 2 CPUs, 4GB memory; Elastic resources: 2 virtual machines (VMs), 4 CPUs, 16GB of memory; Expansion trigger conditions: memory utilization is greater than 75% and a 50% expansion is required, and / or CPU utilization is greater than 75% and a 50% expansion is required; Expansion period: 18:00-22:00 daily; Alarm mechanism: An alarm is triggered when memory utilization is greater than 75% and / or CPU utilization is greater than 75%. Expansion method: Vertical expansion, which means increasing the CPU and memory of a single VM without increasing the number of VMs.

[0031] For example, network resource expansion strategies are as follows: Initial bandwidth: The system allocates an initial bandwidth of 10Mbps to the user as the default basic network resource; Flexible bandwidth: 50Mbps; Expansion mechanism: If the bandwidth utilization rate remains greater than or equal to 75%, then increase by 10Mbps to 60Mbps; Expansion period: 18:00-22:00 daily; Alarm mechanism: An alarm is triggered when bandwidth utilization exceeds 75%.

[0032] Optionally, the expansion triggering conditions include at least: cloud resource expansion triggering conditions and network resource expansion triggering conditions; the expansion triggering conditions may be that the utilization rate of cloud resources is greater than or equal to a first expansion threshold, and / or the utilization rate of network resources is greater than or equal to a second expansion threshold.

[0033] Optionally, the recycling triggering conditions include at least: cloud resource recycling triggering conditions and network resource recycling triggering conditions; the recycling triggering conditions may be that the utilization rate of cloud resources is less than a first recycling threshold, and / or the utilization rate of network resources is less than a second recycling threshold.

[0034] The resource allocation scheme sequence is a predefined, tiered list of resource configurations. Each level clearly describes a specific combination of cloud and network resources. System expansion and reclamation essentially involve switching between these predefined resource allocation schemes at different levels. The resource allocation scheme sequence includes M levels of resource allocation schemes, where M is a natural number greater than or equal to 1.

[0035] Optionally, the resource configuration scheme may include at least: a cloud resource configuration scheme and a network resource configuration scheme.

[0036] Step 120: Monitor the combined utilization rate of cloud resources and network resources in the monitoring system.

[0037] The combined utilization rate includes at least the utilization rate of cloud resources and the utilization rate of network resources.

[0038] In some embodiments, the expansion strategy further includes expansion periods and monitoring the combined utilization of cloud resources and network resources in the system, including: During the expansion period, the combined utilization rate of cloud resources and network resources in the monitoring system.

[0039] Step 130: If the combined utilization rate meets the expansion trigger condition, switch the current resource configuration scheme to the next level of resource configuration scheme in the resource configuration scheme sequence.

[0040] For example, if the current resource configuration scheme of the system is the Nth level resource configuration scheme, and it is determined that the combined utilization rate meets the expansion triggering condition, the Nth level resource configuration scheme will be switched to the N+1th level resource configuration scheme to expand cloud resources and / or network resources, where N is a natural number greater than or equal to 1.

[0041] In some embodiments, when it is determined that the combined utilization rate meets the expansion trigger condition, the current resource configuration scheme is switched to the next level of resource configuration scheme in the resource configuration scheme sequence, including: If the utilization rate of cloud resources meets the conditions for cloud resource expansion and / or the utilization rate of network resources meets the conditions for network resource expansion, the current resource configuration scheme will be switched to the next level of resource configuration scheme in the resource configuration scheme sequence to expand the cloud resources and / or network resources.

[0042] Optionally, if the utilization rate of cloud resources meets the conditions for cloud resource expansion triggering, the current cloud resource configuration scheme is switched to the next level of cloud resource configuration scheme in the cloud resource configuration scheme sequence to expand the cloud resources; if the utilization rate of network resources meets the conditions for network resource expansion triggering, the current network resource configuration scheme is switched to the next level of network resource configuration scheme in the network resource configuration scheme sequence to expand the network resources.

[0043] Optionally, if the utilization rate of cloud resources meets the conditions for cloud resource expansion triggering, and the utilization rate of network resources meets the conditions for network resource expansion triggering, the current cloud resource configuration scheme is switched to the next level of cloud resource configuration scheme in the cloud resource configuration scheme sequence, and the current network resource configuration scheme is switched to the next level of network resource configuration scheme in the network resource configuration scheme sequence, so as to expand the cloud resources and network resources.

[0044] In some embodiments, switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence includes at least one of the following operations: Vertical scaling of virtual machines increases the number of CPU cores and / or memory capacity. Increase the bandwidth of the network link.

[0045] It is understandable that by vertically scaling virtual machines to increase the number of CPU cores and / or memory capacity, and by increasing network bandwidth, it is possible to achieve coordinated expansion of cloud and network resources.

[0046] Step 140: If the combined utilization rate meets the recycling trigger condition, replace the current resource allocation scheme with the resource allocation scheme of the first level in the resource allocation scheme sequence.

[0047] Optionally, if the utilization rate of cloud resources meets the triggering conditions for cloud resource reclamation, and / or the utilization rate of network resources meets the triggering conditions for network resource reclamation, the system's current resource configuration scheme is switched to the first-level resource configuration scheme to reclaim cloud resources and / or network resources.

[0048] Optionally, if the utilization rate of cloud resources meets the triggering condition for cloud resource reclamation, the system's current cloud resource configuration scheme is rolled back to the first-level cloud resource configuration scheme to reclaim cloud resources; if the utilization rate of network resources meets the triggering condition for network resource reclamation, the system's current network resource configuration scheme is rolled back to the first-level network resource configuration scheme to reclaim network resources.

[0049] Optionally, if the utilization rate of cloud resources meets the triggering conditions for cloud resource reclamation, and the utilization rate of network resources meets the triggering conditions for network resource reclamation, the current cloud resource configuration scheme of the system is rolled back to the first-level cloud resource configuration scheme, and the current network resource configuration scheme of the system is rolled back to the first-level network resource configuration scheme, so as to reclaim cloud resources and network resources.

[0050] In this embodiment of the invention, by acquiring a pre-set expansion strategy, which includes expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence, the resource configuration scheme sequence includes multiple levels of resource configuration schemes with progressively increasing resource quotas; monitoring the combined utilization rate of cloud resources and network resources in the monitoring system; when it is determined that the combined utilization rate meets the expansion trigger conditions, switching the current resource configuration scheme to the next level of resource configuration scheme, the system can automatically and quickly upgrade resources step by step, improving the real-time performance and accuracy of resource expansion; when it is determined that the combined utilization rate meets the reclamation trigger conditions, replacing the current resource configuration scheme with the first level of resource configuration scheme, a complete closed loop from monitoring, decision-making to execution is achieved, significantly improving resource utilization, ensuring service quality, and enhancing user experience.

[0051] In some embodiments, after switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence, the method further includes: The new combined utilization rate of cloud resources and network resources in the monitoring system within the predetermined monitoring period; If the new combined utilization rate meets the expansion trigger conditions, an alarm is triggered, and the next level of resource configuration scheme is switched to the next level below that; the next level of resource configuration scheme is not the highest level of resource configuration scheme.

[0052] Optionally, if it is determined that the combined utilization rate meets the expansion trigger condition, the current resource configuration scheme of the system is switched to the next level of resource configuration scheme. Starting from the combined utilization rate of cloud resources and network resources in the monitoring system, the current resource configuration scheme of the system is upgraded step by step until the new combined utilization rate no longer meets the expansion trigger condition.

[0053] In some embodiments, after monitoring the new combined utilization of cloud resources and network resources in the monitoring system, the system further includes: If the new combined utilization rate meets the expansion triggering conditions, an alarm message indicating insufficient capacity is generated and an alarm is issued; the next level of resource configuration scheme is the highest level of resource configuration scheme.

[0054] Understandably, if the next level of resource allocation scheme is the highest level of resource allocation scheme, and it is determined that the new combination utilization rate meets the expansion triggering conditions, an alarm message indicating insufficient capacity will be generated to issue an alarm, which greatly improves the foresight of operation and maintenance, thereby avoiding systemic risks.

[0055] In some embodiments, the next-level resource allocation scheme is the highest-level resource allocation scheme. After switching the current resource allocation scheme to the next-level resource allocation scheme in the resource allocation scheme sequence, the method further includes: Monitor the system's operational status within a preset time period; Based on the system's operating status, the system's stability is assessed, and a stability score is calculated. If the stability score is greater than or equal to the preset score threshold, the resource configuration scheme of the first level will be upgraded to the resource configuration scheme of the highest level.

[0056] The system's operational status refers to performance data that reflects the health of business services and resource pressure. Optionally, the operational status may include at least: cloud resource status, network resource status, and business service status.

[0057] Understandably, by assessing the system's stability based on its operational status, a stability score is calculated. If the stability score is greater than or equal to a preset score threshold, the first-level resource configuration scheme is upgraded to the highest-level resource configuration scheme. This allows for dynamic updates to the resource configuration scheme sequence, thereby improving the flexibility and adaptability of the expansion strategy.

[0058] Connectivity service expansion example: A dedicated line has an initial bandwidth of 10M and an elastic on-demand bandwidth of 50M, with peak hours from 18:00 to 22:00.

[0059] Trigger: During a busy period on a certain day, bandwidth utilization was detected to consistently exceed 75%.

[0060] Action: Automatically increase bandwidth from 10Mbps to 50Mbps.

[0061] Alarm: If the usage rate still exceeds the threshold at the same time the next day after the expansion, the first alarm will be issued on the second day, and the expansion will continue to 60M; if it still exceeds the limit on the fourth day, the alarm will be issued again, and the expansion will continue to 70M.

[0062] Automatic resource rollback: Once the peak business period has passed and the bandwidth has decreased to 10M, the system will automatically revert the resource configuration to its initial state. Interaction: If the 70M bandwidth stabilizes, observe for two days until it returns to the normal 10M bandwidth, then notify the customer to suggest increasing the bandwidth to 70M; if the threshold alarm is still issued even after increasing the bandwidth to 70M, remind the customer that the bandwidth capacity is insufficient and needs to be expanded.

[0063] Example of expanding cloud server service: A customer's initial cloud service resources include 1 VM, 2 CPUs and 4GB of memory, and the elastic on-demand service capacity includes 2 VMs, 4 CPUs and 16GB of memory, with peak hours from 18:00 to 22:00.

[0064] Trigger: When the CPU utilization or memory utilization of the VM is detected to be greater than 75% and it is in a period where it can be expanded.

[0065] Action: Perform vertical scaling: Keep the number of VMs at 1, but increase the CPU from 2 cores to 4 cores and the memory from 4GB to 16GB.

[0066] Alarm: If the CPU or memory utilization still exceeds the threshold at the same time the next day after the expansion, the first alarm will be issued on the second day, and the expansion will continue to 6 CPUs and 24G memory; if it still exceeds the limit on the fourth day, the alarm will be issued again, and the expansion will continue to 8 CPUs and 32G memory.

[0067] Automatic recycling: When the business peak has passed and the resource utilization rate drops to a low level, the system can automatically revert the resource configuration to the initial state to achieve cost optimization.

[0068] Interaction: If the 8 CPU and 32G configuration stabilizes, observe for two days and then return to the initial service configuration. After that, notify the customer to upgrade the service to 2 VMs, 8 CPUs, and 32G. If the 8 CPU and 32G configuration still issues threshold alarms, remind the customer that the capacity is insufficient and needs to be expanded.

[0069] The resource expansion device provided in the embodiments of the present invention is described below. The resource expansion device described below can be referred to in correspondence with the resource expansion method described above.

[0070] Figure 2 This is a schematic diagram of the resource expansion device provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the resource expansion device 200 is applied to a cloud-network integrated system and includes: The acquisition unit 210 is used to acquire a pre-set expansion strategy. The expansion strategy includes expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence. The resource configuration scheme sequence includes multiple levels of resource configuration schemes with progressively increasing resource quotas. The first monitoring unit 220 is used to monitor the combined utilization rate of cloud resources and network resources in the system; The first expansion unit 230 is used to switch the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the expansion triggering condition. The recycling unit 240 is used to replace the current resource allocation scheme with the resource allocation scheme of the first level in the resource allocation scheme sequence when it is determined that the combined utilization rate meets the recycling triggering condition.

[0071] Optionally, if it is determined that the combined utilization rate meets the expansion trigger condition, the current resource configuration scheme is switched to the next level of resource configuration scheme in the resource configuration scheme sequence, including: If the utilization rate of cloud resources meets the conditions for cloud resource expansion and / or the utilization rate of network resources meets the conditions for network resource expansion, the current resource configuration scheme will be switched to the next level of resource configuration scheme in the resource configuration scheme sequence to expand the cloud resources and / or network resources.

[0072] Optionally, the resource expansion device also includes: The second monitoring unit is used to monitor the new combined utilization rate of cloud resources and network resources in the system within a predetermined monitoring period. The second expansion unit is used to trigger an alarm when the new combined utilization rate meets the expansion triggering conditions, and to switch the next level of resource configuration scheme to the next level below it; the next level of resource configuration scheme is not the highest level of resource configuration scheme.

[0073] Optionally, the resource expansion device also includes: The alarm unit is used to generate an alarm message indicating insufficient capacity when the new combined utilization rate meets the expansion triggering conditions; the next level of resource configuration scheme is the highest level of resource configuration scheme.

[0074] Optionally, the resource expansion device also includes: The third monitoring unit is used to monitor the system's operating status within a preset time period; The evaluation unit is used to assess the stability of the system based on its operating status and calculate the system's stability score. The update unit is used to upgrade the first-level resource configuration scheme to the highest-level resource configuration scheme when the stability score is determined to be greater than or equal to a preset score threshold.

[0075] Optionally, the scaling strategy also includes the scaling period and the combined utilization of cloud and network resources in the monitoring system, including: During the expansion period, the combined utilization rate of cloud resources and network resources in the monitoring system.

[0076] Optionally, cloud resources include the central processing unit and memory of virtual machines, and network resources include the bandwidth of network links.

[0077] Optionally, switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence includes at least one of the following operations: Vertical scaling of virtual machines increases the number of CPU cores and / or memory capacity. Increase the bandwidth of the network link.

[0078] It should be noted that the resource expansion device provided in this embodiment of the invention can implement all the method steps implemented in the above-described resource expansion method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0079] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as... Figure 3As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a resource expansion method. This method includes: obtaining a pre-set expansion strategy, which includes expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; monitoring the combined utilization rate of cloud resources and network resources in the system; if the combined utilization rate meets the expansion trigger conditions, switching the current resource configuration scheme to the next level of the resource configuration scheme sequence; if the combined utilization rate meets the reclamation trigger conditions, replacing the current resource configuration scheme with the first level of the resource configuration scheme sequence.

[0080] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0081] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the resource expansion method provided by the above methods. The method includes: obtaining a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; monitoring the combined utilization rate of cloud resources and network resources in the system; when it is determined that the combined utilization rate meets the expansion trigger conditions, switching the current resource configuration scheme to the next level of resource configuration scheme in the resource configuration scheme sequence; when it is determined that the combined utilization rate meets the reclamation trigger conditions, replacing the current resource configuration scheme with the resource configuration scheme of the first level in the resource configuration scheme sequence.

[0082] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the resource expansion method provided by the above methods. The method includes: obtaining a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions, and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; monitoring the combined utilization rate of cloud resources and network resources in the system; when it is determined that the combined utilization rate meets the expansion trigger conditions, switching the current resource configuration scheme to the next level of resource configuration scheme in the resource configuration scheme sequence; and when it is determined that the combined utilization rate meets the reclamation trigger conditions, replacing the current resource configuration scheme with the resource configuration scheme of the first level in the resource configuration scheme sequence.

[0083] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0084] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for expanding resource capacity, characterized in that, Applications include cloud-network integrated systems, including: Obtain a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; Monitor the combined utilization rate of cloud resources and network resources in the system; If it is determined that the combined utilization rate meets the expansion trigger condition, the current resource configuration scheme is switched to the next level of resource configuration scheme in the resource configuration scheme sequence; If the combined utilization rate is determined to meet the recycling trigger condition, the current resource allocation scheme is replaced by the resource allocation scheme of the first level in the resource allocation scheme sequence.

2. The resource expansion method according to claim 1, characterized in that, The step of switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the expansion trigger condition includes: If the utilization rate of the cloud resources meets the expansion trigger condition of the cloud resources, and / or the utilization rate of the network resources meets the expansion trigger condition of the network resources, the current resource configuration scheme will be switched to the next level of the resource configuration scheme in the resource configuration scheme sequence to expand the cloud resources and / or the network resources.

3. The resource expansion method according to claim 1, characterized in that, After switching the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence, the method further includes: Within a predetermined monitoring period, monitor the new combined utilization rate of cloud resources and network resources in the system; If the new combined utilization rate meets the expansion triggering condition, an alarm is triggered, and the next level resource configuration scheme is switched to the next level below it; the next level resource configuration scheme is not the highest level resource configuration scheme.

4. The resource expansion method according to claim 3, characterized in that, After monitoring the new combined utilization rate of cloud resources and network resources in the system, the method further includes: If the new combined utilization rate meets the expansion triggering condition, an alarm message indicating insufficient capacity is generated and an alarm is issued; the next level of resource configuration scheme is the highest level of resource configuration scheme.

5. The resource expansion method according to claim 1, characterized in that, The next-level resource allocation scheme is the highest-level resource allocation scheme. After switching the current resource allocation scheme to the next-level resource allocation scheme in the resource allocation scheme sequence, the process further includes: Monitor the operating status of the system within a preset time period; Based on the operating status of the system, the stability of the system is evaluated, and the stability score of the system is calculated. If the stability score is determined to be greater than or equal to a preset score threshold, the first-level resource configuration scheme is upgraded to the highest-level resource configuration scheme.

6. The resource expansion method according to claim 1, characterized in that, The expansion strategy also includes expansion periods, and the monitoring of the combined utilization of cloud resources and network resources in the system includes: During the expansion period, monitor the combined utilization rate of cloud resources and network resources in the system.

7. The resource expansion method according to claim 1, characterized in that, The cloud resources include the central processing unit and memory of virtual machines, and the network resources include the bandwidth of network links.

8. The resource expansion method according to claim 7, characterized in that, Switching the current resource configuration scheme to the next level of the resource configuration scheme sequence includes at least one of the following operations: The virtual machine is vertically scaled to increase the number of computing cores and / or memory capacity of the central processing unit; Increase the bandwidth of the network link.

9. A resource expansion device, characterized in that, Applications include cloud-network integrated systems, including: The acquisition unit is used to acquire a pre-set expansion strategy, the expansion strategy including expansion trigger conditions, reclamation trigger conditions and a resource configuration scheme sequence, the resource configuration scheme sequence including multiple levels of resource configuration schemes with progressively increasing resource quotas; The first monitoring unit is used to monitor the combined utilization rate of cloud resources and network resources in the system. The first expansion unit is used to switch the current resource configuration scheme to the next level of the resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the expansion trigger condition. The recycling unit is used to replace the current resource configuration scheme with the first-level resource configuration scheme in the resource configuration scheme sequence when it is determined that the combined utilization rate meets the recycling triggering condition.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the resource expansion method as described in any one of claims 1 to 8.