Resource management method and device, computer equipment, storage medium and program product

By obtaining and analyzing user behavior, system logs and operation data, and dynamically adjusting cloud service resources, the problem of how to reasonably manage cloud service resources is solved, and efficient resource utilization and system performance are achieved.

CN120104327APending Publication Date: 2025-06-06SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510184700.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

How to reasonably manage cloud service resources while meeting the needs of user-side cloud service resources to avoid resource waste and performance degradation.

Method used

By obtaining user behavior data, system log data and system operation data, we determine the resource demand trend and demand data of cloud service resources in the future period, and dynamically increase or decrease cloud service resources based on these data.

Benefits of technology

It realizes that while meeting the user-side cloud service resource needs, it reasonably manages cloud service resources, ensures system performance and avoids resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104327A_ABST
    Figure CN120104327A_ABST
Patent Text Reader

Abstract

The invention relates to a resource management method and device, computer equipment, a storage medium and a program product. Obtaining user behavior data, system log data and system operation data related to cloud service resources in the cloud service system; according to the user behavior data and the system log data, determining a resource demand trend for cloud service resources in a future time period; determining resource demand data for cloud service resources in a future time period according to the resource demand trend and the system operation data; and the cloud service resources of the cloud service system are increased or decreased according to the resource demand data for the cloud service resources in the future time period and the current available resource quantity of the cloud service resources. According to the scheme, the cloud service resources are dynamically regulated and controlled according to the resource demand data and the current available resource quantity of the cloud service resources, the cloud service resources are managed more reasonably under the condition that the cloud service resource demand of the user side is met, the system performance is ensured, and resource waste is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a resource management method, apparatus, computer equipment, storage medium and program product. Background Art

[0002] Cloud computing is an Internet-based computing model that provides computing and storage resources to users in a virtualized manner. With the popularization and development of cloud computing technology, more and more applications have been migrated to the cloud, and the demand for cloud service resources from users is also growing.

[0003] Therefore, how to reasonably manage cloud service resources while meeting the cloud service resource needs of the user side is a technical problem that urgently needs to be solved in this field. Summary of the invention

[0004] Based on this, it is necessary to provide a resource management method, apparatus, computer equipment, storage medium and program product to address the above technical problems, which can more reasonably manage cloud service resources while meeting the cloud service resource needs of the user side.

[0005] In a first aspect, the present application provides a resource management method, comprising:

[0006] Obtain user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0007] Determine the resource demand trend for cloud service resources in the future period based on user behavior data and system log data;

[0008] Determine resource demand data for cloud service resources in the future period based on resource demand trends and system operation data;

[0009] Increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0010] In one embodiment, determining a resource demand trend for cloud service resources in a future period based on user behavior data and system log data includes:

[0011] Perform feature recognition on system log data and user behavior data to obtain the operation feature data of the cloud service system and the behavior feature data of the user end;

[0012] Based on the operational characteristic data of the cloud service system and the behavioral characteristic data of the user end, the resource demand trend for cloud service resources in the future period is determined.

[0013] In one embodiment, determining resource demand data for cloud service resources in a future period based on resource demand trends and system operation data includes:

[0014] Determine, based on the resource demand trend, an increase in the resource demand for the cloud service resources relative to the current resource demand for the cloud service resources;

[0015] Based on the increase and system operation data, determine the resource demand data for cloud service resources in the future period.

[0016] In one embodiment, increasing or decreasing cloud service resources of the cloud service system according to the resource demand data and the current available resource amount of the cloud service resources in the cloud service system includes:

[0017] If the resource demand data for cloud service resources in the future period is greater than the current available resources, the cloud service resources of the cloud service system are increased;

[0018] If the resource demand data for cloud service resources in the future period is less than or equal to the current available resources, the cloud service resources of the cloud service system are reduced.

[0019] In one embodiment, increasing cloud service resources of a cloud service system includes:

[0020] Determining a first ratio of resource demand data for cloud service resources to currently available resources;

[0021] Determining the expansion capacity of the cloud service resources according to the first ratio and currently available resources;

[0022] Increase the cloud service resources of the cloud service system to expand capacity.

[0023] In one embodiment, reducing cloud service resources of a cloud service system includes:

[0024] determining a second ratio of the resource demand data for the cloud service resources to the currently available resources;

[0025] Determining a reduction in the capacity of the cloud service resources according to the second ratio and currently available resources;

[0026] Reduce the cloud service resources of the cloud service system with reduced capacity.

[0027] In a second aspect, the present application further provides a resource management device, including:

[0028] An acquisition module, used to acquire user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0029] A first determination module is used to determine the resource demand trend for cloud service resources in a future period based on user behavior data and system log data; wherein the resource demand trend is used to reflect the increase in the resource demand for cloud service resources relative to the current resource demand;

[0030] The second determination module is used to determine the resource demand data for cloud service resources in a future period according to the resource demand trend and system operation data;

[0031] The management module is used to increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Obtain user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0034] Determine the resource demand trend for cloud service resources in the future period based on user behavior data and system log data;

[0035] Determine resource demand data for cloud service resources in the future period based on resource demand trends and system operation data;

[0036] Increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0038] Obtain user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0039] Determine the resource demand trend for cloud service resources in the future period based on user behavior data and system log data;

[0040] Determine resource demand data for cloud service resources in the future period based on resource demand trends and system operation data;

[0041] Increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0043] Obtain user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0044] Determine the resource demand trend for cloud service resources in the future period based on user behavior data and system log data;

[0045] Determine resource demand data for cloud service resources in the future period based on resource demand trends and system operation data;

[0046] Increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0047] The resource management method, device, computer equipment, storage medium and program product described above obtain user behavior data, system log data and system operation data related to cloud service resources in the cloud service system; determine the resource demand trend for cloud service resources in the future period based on the user behavior data and system log data; and determine the resource demand data for cloud service resources in the future period based on the resource demand trend and system operation data; and then increase or decrease the cloud service resources of the cloud service system based on the resource demand data for cloud service resources in the future period and the current available resource volume of cloud service resources in the cloud service system. The above scheme can determine the resource demand data for cloud service resources in the future period based on the user behavior data, system log data and system operation data, and dynamically regulate the cloud service resources based on the resource demand data for cloud service resources and the current available resource volume of cloud service resources, so as to more reasonably manage the cloud service resources while meeting the cloud service resource demand of the user end, that is, to ensure the system performance and avoid the waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 A schematic diagram of a resource management method in one embodiment;

[0050] Figure 2 A schematic diagram of a process for determining a resource demand trend in one embodiment;

[0051] Figure 3 A schematic diagram of a process for determining resource demand data in one embodiment;

[0052] Figure 4 A schematic diagram of a process of adding cloud service resources to a cloud service system in one embodiment;

[0053] Figure 5 A schematic diagram of a process of reducing cloud service resources of a cloud service system in one embodiment;

[0054] Figure 6 is a flowchart of a resource management method in another embodiment;

[0055] Figure 7 is a structural block diagram of a resource management device in one embodiment;

[0056] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The resource management method provided in the embodiment of the present application can be applied to the application scenario of cloud service resource management. The method can be executed by a server or by a terminal. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.

[0059] In an exemplary embodiment, Figure 1 As shown, a resource management method is provided, which is described by taking the method applied to a server as an example, and includes the following steps:

[0060] S101, obtaining user behavior data, system log data and system operation data related to cloud service resources in the cloud service system.

[0061] The cloud service system is a system that can provide cloud services, for example, a system composed of a cluster of cloud servers. Cloud service resources can be computing resources, storage resources, and network resources; for example, computing resources include but are not limited to central processing units (CPU), graphics processing units (GPU), memory, etc.; storage resources include but are not limited to cloud disks, object storage, etc.; network resources refer to network resources that are interconnected between the cloud and the cloud, including but not limited to network bandwidth, Internet Protocol (IP) addresses, etc.

[0062] User behavior data refers to the behavior data of the user end, including but not limited to user login, operation, logout and other operations, as well as the type of business initiated by the user, business processing time, cloud resource data occupied by the business, etc. System log data refers to the log information of the startup, operation, errors, etc. of the cloud service system. System operation data includes the current resource utilization rate of cloud service resources and the performance data of the cloud service system. The current available resource utilization rate can be the current utilization rate of resources of various resource types. For example, resources of various resource types include but are not limited to CPU, memory, disk input / output (Input / Output, I / O), network bandwidth and storage read and write speed, etc.; the performance data of the cloud service system includes but is not limited to response time and throughput, etc.

[0063] Exemplarily, user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system may be obtained from multiple data sources. For example, user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system may be obtained from data sources such as internal databases, application programming interfaces (APIs) of cloud service providers, third-party data providers, and web pages.

[0064] S102: Determine the resource demand trend for cloud service resources in a future period based on user behavior data and system log data.

[0065] For example, the user behavior data may be firstly identified by features, for example, a machine learning algorithm may be used to identify patterns in the user behavior data to determine the regularities and trends of the user end in using the cloud service resources. In addition, the system log data may be analyzed to determine the actual usage of the cloud service resources, for example, the actual usage includes information such as resource occupancy rate and bottleneck location.

[0066] Furthermore, the correlation between user behavior data and resource usage can be studied to find out the key factors that affect resource demand. Then, time series analysis technology can be used to analyze the historical trends of user behavior data and resource usage to predict the resource demand trend for cloud service resources. Alternatively, a machine learning model (such as a neural network, support vector machine, etc.) can be built, and historical data can be used as a training set to train the model to predict the resource demand trend for cloud service resources in the future period.

[0067] The resource demand trend is used to reflect the increase in resource demand for cloud service resources relative to the current resource demand. For example, if the current resource demand is CPU and the current resource demand is 30%, the resource demand trend can be the increase in CPU demand in the future period, for example, 20%. Then, the CPU demand in the future period can be 50% (30%+20%).

[0068] S103: Determine resource demand data for cloud service resources in a future period based on resource demand trends and system operation data.

[0069] Exemplarily, since the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system, the current available resource utilization rate may be the current utilization rate of resources of various resource types, thereby converting the current utilization rate of cloud service resources of various resource types into current resource usage, and then taking the sum of the resource demand trend and the current resource usage as the resource demand data for cloud service resources of each resource type in the future time period; alternatively, converting the resource demand trend into an increased utilization rate relative to the current utilization rate of cloud service resources of various resource types, and then taking the sum of the current utilization rate of resources of various resource types and the corresponding increased utilization rate as the resource demand data for cloud service resources in the future time period.

[0070] S104: Increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0071] Furthermore, based on the resource demand data for cloud service resources in future time periods and the currently available resources of cloud service resources in the cloud service system, it can be determined whether the currently available resources of cloud service resources are sufficient. If the currently available resources of cloud service resources are insufficient, the cloud service resources of the cloud service system can be increased to ensure the performance of the cloud service system; if the currently available resources of cloud service resources are redundant, the cloud service resources of the cloud service system can be reduced to avoid wasting cloud service resources.

[0072] The above resource management method obtains user behavior data, system log data and system operation data related to cloud service resources in the cloud service system; determines the resource demand trend for cloud service resources in the future period based on the user behavior data and system log data; and determines the resource demand data for cloud service resources in the future period based on the resource demand trend and system operation data; and then increases or decreases the cloud service resources of the cloud service system based on the resource demand data for cloud service resources in the future period and the current available resources of cloud service resources in the cloud service system. The above scheme can determine the resource demand data for cloud service resources in the future period based on the user behavior data, system log data and system operation data, and dynamically regulate the cloud service resources based on the resource demand data for cloud service resources and the current available resources of cloud service resources, so as to more reasonably manage the cloud service resources while meeting the cloud service resource demand of the user end, that is, it can ensure the system performance and avoid the waste of resources.

[0073] In some optional implementations, see Figure 2 , Figure 2 A schematic diagram of a process for determining resource demand trends is provided, which specifically includes the following steps:

[0074] S201, performing feature recognition on system log data and user behavior data to obtain operation feature data of the cloud service system and behavior feature data of the user end.

[0075] Exemplarily, the system log data and user behavior data may be preprocessed first, for example, the system log data and user behavior data may be cleaned, deduplicated, de-noised, and normalized; then, a data mining algorithm may be used to perform feature recognition on the preprocessed system log data and preprocessed user behavior data to obtain the operation feature data of the cloud service system and the behavior feature data of the user end. The operation feature data of the cloud service system are log data features related to cloud service resources, for example, a certain type of log appears frequently and is related to resource usage (such as logs of excessive memory usage). The behavior feature data of the user end are behavior data features related to cloud service resources, for example, the operation frequency of a certain type of operation of a certain type of user in a specific time period gradually increases, etc.

[0076] Optionally, the data mining algorithm in the embodiments of the present application may be a clustering algorithm (such as K-means clustering algorithm (K-Means)), a decision tree, a support vector machine, a hierarchical clustering, an association rule mining algorithm or a deep learning algorithm, etc.

[0077] S202, determining a resource demand trend for cloud service resources in a future period based on the operation characteristic data of the cloud service system and the behavior characteristic data of the user end.

[0078] Furthermore, time series analysis algorithms, such as moving average and exponential smoothing, can be used to predict resource demand trends. For user behavior data, the moving average method can be used to predict future operation frequencies based on the time series of user operations, and then infer resource demand trends; for system log data, the resource demand trend can be predicted based on the time series of information related to resource usage in the log feature data; and then the resource demand trend predicted based on user behavior data and the resource demand trend predicted based on log feature data can be merged to obtain the final resource demand trend.

[0079] In an embodiment of the present application, by using data mining algorithms and time series analysis algorithms to identify system log data and user behavior data, the predicted resource demand trend for cloud service resources in future time periods can be made more accurate, thereby enabling more precise management of cloud service resources.

[0080] In some optional implementations, see Figure 3 , Figure 3 A schematic diagram of a process for determining resource demand data is provided, which specifically includes the following steps:

[0081] S301, determining an increase in the resource demand for cloud service resources relative to the current resource demand for cloud service resources according to a resource demand trend.

[0082] Exemplarily, the resource demand trend may reflect the increase in the resource demand for cloud service resources relative to the current resource demand for cloud service resources, and thus the increase in the resource demand for cloud service resources relative to the current resource demand for cloud service resources may be determined based on the resource demand trend. The increase may be a positive value or a negative value; if the increase is a positive value, it means that the resource demand for cloud service resources is increasing, and if the increase is a negative value, it means that the resource demand for cloud service resources is decreasing.

[0083] S302: Determine resource demand data for cloud service resources in a future period based on the increase and system operation data.

[0084] Exemplarily, since the system operation data includes the current resource usage rate of the cloud service resources, the increase can be converted into the resource usage rate increase, and then the sum of the resource usage rate increase and the current resource usage rate in the system operation data is used as the resource demand data for the cloud service resources in the future period. The current resource usage rate in the system operation data can also be converted into the current resource usage, and then the sum of the increase and the current resource usage is used as the resource demand data for the cloud service resources in the future period.

[0085] In an embodiment of the present application, the increase in resource demand for cloud service resources relative to the current resource demand is determined based on the resource demand trend, and then the resource demand data is determined based on the increase in resource demand for cloud service resources relative to the current resource demand and the current resource usage rate in the system operation data, so that the determined resource demand data is more in line with the actual situation, and cloud service resources can be managed more accurately.

[0086] In some optional implementations, increasing or decreasing cloud service resources of the cloud service system according to resource demand data for cloud service resources in a future period and currently available resources can be specifically implemented in the following ways:

[0087] If the resource demand data for cloud service resources in the future period is greater than the current available resources, it means that the current available resources are insufficient in the future period, and the cloud service resources of the cloud service system need to be increased to ensure the performance of the cloud service system. If the resource demand data for cloud service resources in the future period is less than or equal to the current available resources, it means that the current available resources are redundant in the future period, and the cloud service resources of the cloud service system need to be reduced to avoid wasting cloud service resources.

[0088] In the embodiment of the present application, cloud service resources are dynamically adjusted according to the relationship between the predicted resource demand data and the current available resource amount, which can avoid the waste of cloud service resources while ensuring the performance of the cloud service system.

[0089] For example, see Figure 4 , Figure 4 A schematic diagram of a process for increasing cloud service resources of a cloud service system is provided, which specifically includes the following steps:

[0090] S401, determining a first ratio of resource demand data for cloud service resources to currently available resource amounts.

[0091] Exemplarily, a first ratio of the resource demand data for the cloud service resources to the currently available resource amount may be calculated, that is, the quotient of the resource demand data for the cloud service resources and the currently available resource amount may be taken as the first ratio.

[0092] S402: Determine the expansion capacity of the cloud service resources according to the first ratio and the current available resource amount.

[0093] Furthermore, the product of the first ratio and the current available resource amount may be rounded up, and the obtained integer may be used as the expansion capacity of the cloud service resources of the cloud service system.

[0094] S403, increase the cloud service resources of the cloud service system with expanded capacity.

[0095] Then, the cloud service resources for capacity expansion can be increased. For example, if the cloud service resources are CPUs, the number of CPUs for capacity expansion can be increased.

[0096] In the embodiment of the present application, in the process of increasing cloud service resources, the number of cloud service resources to be increased is first determined, so that the number of increased cloud service resources can meet resource demand without causing waste of resources.

[0097] For example, see Figure 5 , Figure 5 A flowchart of reducing cloud service resources of a cloud service system is provided, which specifically includes the following steps:

[0098] S501, determining a second ratio of resource demand data for cloud service resources to currently available resource amounts.

[0099] Exemplarily, a second ratio of the resource demand data for the cloud service resources to the currently available resource amount may be calculated, that is, the quotient of the resource demand data for the cloud service resources and the currently available resource amount may be taken as the second ratio.

[0100] S502: Determine the reduced capacity of the cloud service resources according to the second ratio and the current available resource amount.

[0101] Furthermore, the product of the second ratio and the current available resource amount may be rounded down, and the obtained integer may be used as the reduced capacity of the cloud service resources of the cloud service system.

[0102] S503, reducing cloud service resources of the reduced-capacity cloud service system.

[0103] Furthermore, the cloud service resources that are reduced in capacity can be reduced. For example, if the cloud service resource is a CPU, the number of CPUs that are reduced in capacity can be reduced.

[0104] In the embodiment of the present application, in the process of reducing cloud service resources, it is first determined to reduce the number of cloud service resources, so that the resource demand can still be met after the number of cloud service resources is reduced, and resource waste is avoided.

[0105] Exemplarily, the resource management method provided in the embodiment of the present application can also monitor the various resource usage of the cloud service system in real time, such as CPU usage, memory occupancy, disk I / O, etc.; and perform system performance evaluation based on resource usage, for example, evaluate the performance of the cloud service system according to various resource usage, including key performance indicators such as response time and throughput. And the historical resource usage data and performance data can be compared with the real-time resource usage data and real-time performance data to detect whether there is abnormal resource usage or service performance degradation in the cloud service system. When the resource usage rate is abnormal (for example, the resource usage rate exceeds the preset threshold), the service quality is reduced, or other abnormal situations occur, the alarm information can be sent to the administrator and the relevant operation and maintenance personnel through various methods such as email, SMS, and instant messaging; so that after the administrator or operation and maintenance personnel receive the alarm information, they can perform manual intervention according to the preset emergency response strategy to adjust resources and troubleshoot faults.

[0106] Furthermore, the performance of the cloud service system can be evaluated regularly, including evaluation of resource utilization and service response time indicators; and based on the performance evaluation results, the relevant parameters of the cloud service system (for example, parameters of the data mining algorithm and parameters of the time series analysis algorithm) can be adjusted and optimized to improve the stability and efficiency of the cloud service system.

[0107] Furthermore, as the business develops and the amount of data increases, data mining algorithms can be continuously updated and upgraded to improve the accuracy and efficiency of predicting resource demand trends.

[0108] In some optional implementations, see Figure 6 , Figure 6 A flowchart of another resource management method is provided, which specifically includes the following steps:

[0109] S601, obtaining user behavior data, system log data and system operation data related to cloud service resources in the cloud service system.

[0110] S602, performing feature recognition on the system log data and the user behavior data to obtain the operation feature data of the cloud service system and the behavior feature data of the user end.

[0111] S603, determining the resource demand trend for cloud service resources in a future period based on the operation characteristic data of the cloud service system and the behavior characteristic data of the user end.

[0112] S604: Determine, based on the resource demand trend, an increase in the resource demand for the cloud service resources relative to the current resource demand.

[0113] S605: Determine resource demand data for cloud service resources in a future period based on the increase and system operation data.

[0114] S606: Increase or decrease cloud service resources of the cloud service system according to resource demand data for cloud service resources in a future period and current available resources.

[0115] The specific process of S601 to S606 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0116] Furthermore, the execution order of the above steps is only an exemplary description and is not used to limit the execution steps. Other execution orders of the steps are within the protection scope of the embodiments of the present application.

[0117] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0118] Based on the same inventive concept, the embodiment of the present application also provides a resource management device for implementing the resource management method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more resource management device embodiments provided below can refer to the limitations on the resource management method above, and will not be repeated here.

[0119] In an exemplary embodiment, Figure 7 As shown, a resource management device is provided, comprising:

[0120] The acquisition module 10 is used to acquire user behavior data, system log data and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system;

[0121] The first determination module 20 is used to determine the resource demand trend for cloud service resources in a future period based on the user behavior data and the system log data; wherein the resource demand trend is used to reflect the increase in the resource demand for cloud service resources relative to the current resource demand;

[0122] A second determination module 30, for determining resource demand data for cloud service resources in a future period according to resource demand trends and system operation data;

[0123] The management module 40 is used to increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future period and the current available resource amount of the cloud service resources in the cloud service system.

[0124] The resource management device described above acquires user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; determines the resource demand trend for cloud service resources in the future period based on the user behavior data and system log data; and determines the resource demand data for cloud service resources in the future period based on the resource demand trend and system operation data; and then increases or decreases the cloud service resources of the cloud service system based on the resource demand data for cloud service resources in the future period and the current available resource quantity of cloud service resources in the cloud service system. The above scheme can determine the resource demand data for cloud service resources in the future period based on the user behavior data, system log data, and system operation data, and dynamically regulate the cloud service resources based on the resource demand data for cloud service resources and the current available resource quantity of cloud service resources in the cloud service system, and can manage cloud service resources more reasonably while meeting the cloud service resource demand of the user end, that is, it both ensures system performance and avoids resource waste.

[0125] In one embodiment, the first determining module 20 is specifically configured to:

[0126] Perform feature recognition on system log data and user behavior data to obtain the operation feature data of the cloud service system and the behavior feature data of the user end; based on the operation feature data of the cloud service system and the behavior feature data of the user end, determine the resource demand trend for cloud service resources in the future period.

[0127] In one embodiment, the second determining module 30 is specifically configured to:

[0128] Based on the resource demand trend, determine the increase in resource demand for cloud service resources relative to the current resource demand for cloud service resources; based on the increase and system operation data, determine the resource demand data for cloud service resources in the future period.

[0129] In one embodiment, the management module 40 specifically includes:

[0130] An increasing unit, used to increase cloud service resources of the cloud service system if the resource demand data for cloud service resources in a future period is greater than the current available resource amount;

[0131] The reducing unit is used to reduce the cloud service resources of the cloud service system if the resource demand data for the cloud service resources in the future time period is less than or equal to the current available resource amount.

[0132] In one embodiment, the adding unit is specifically used for:

[0133] Determine a first ratio of resource demand data for cloud service resources to currently available resource quantities; determine an expansion capacity of the cloud service resources based on the first ratio and the currently available resource quantities; and increase cloud service resources of the cloud service system with expanded capacity.

[0134] In one embodiment, the reducing unit is specifically configured to:

[0135] Determine a second ratio of resource demand data for cloud service resources to the current available resource amount; determine a reduction in capacity of the cloud service resources based on the second ratio and the current available resource amount; and reduce cloud service resources of the reduced-capacity cloud service system.

[0136] Each module in the resource management device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0137] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output (I / O) interface and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data of the cloud service system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource management method is implemented.

[0138] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the resource management method described in any of the above embodiments are implemented.

[0140] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the resource management method described in any of the above embodiments are implemented.

[0141] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the resource management method described in any of the above embodiments when executed by a processor.

[0142] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0143] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0144] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0145] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource management method, characterized in that: The method comprises: Acquire user behavior data, system log data, and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes current resource usage of the cloud service resources and performance data of the cloud service system; Determining a resource demand trend for the cloud service resources in a future period based on the user behavior data and the system log data; Determining resource demand data for the cloud service resources in the future period according to the resource demand trend and the system operation data; The cloud service resources of the cloud service system are increased or decreased according to the resource demand data and the current available resource amount of the cloud service resources in the cloud service system.

2. The method according to claim 1, characterized in that The determining, based on the user behavior data and the system log data, a resource demand trend for the cloud service resources in a future period includes: Performing feature recognition on the system log data and the user behavior data to obtain operation feature data of the cloud service system and behavior feature data of the user end; Based on the operation characteristic data of the cloud service system and the behavior characteristic data of the user terminal, the resource demand trend for the cloud service resources in a future time period is determined.

3. The method according to claim 1, characterized in that The determining, according to the resource demand trend and the system operation data, the resource demand data for the cloud service resources in the future period includes: Determining, based on the resource demand trend, an increase in the resource demand for the cloud service resource relative to a current resource demand for the cloud service resource; The resource demand data for the cloud service resources in the future period is determined according to the increase and the system operation data.

4. The method according to claim 1, characterized in that: The increasing or decreasing the cloud service resources of the cloud service system according to the resource demand data and the current available resource amount of the cloud service resources in the cloud service system includes: If the resource demand data for the cloud service resources in the future period is greater than the current available resources, increasing the cloud service resources of the cloud service system; If the resource demand data for the cloud service resources in the future time period is less than or equal to the current available resource amount, the cloud service resources of the cloud service system are reduced.

5. The method according to claim 4, characterized in that The increasing of cloud service resources of the cloud service system includes: Determining a first ratio of resource demand data for the cloud service resource to the currently available resource amount; Determining the expansion capacity of the cloud service resources according to the first ratio and the currently available resource amount; Increase the cloud service resources of the cloud service system with the expanded capacity.

6. The method according to claim 4, characterized in that The reducing the cloud service resources of the cloud service system includes: Determining a second ratio of the resource demand data for the cloud service resource to the currently available resource amount; Determining a reduced capacity of the cloud service resources according to the second ratio and the currently available resource amount; Reduce the cloud service resources of the reduced capacity cloud service system.

7. A resource management device, characterized in that: The device comprises: An acquisition module, used to acquire user behavior data, system log data and system operation data related to cloud service resources in the cloud service system; wherein the system operation data includes the current resource utilization rate of the cloud service resources and the performance data of the cloud service system; A first determination module, configured to determine a resource demand trend for the cloud service resources in a future period based on the user behavior data and the system log data; A second determination module is used to determine the resource demand data for the cloud service resources in the future period according to the resource demand trend and the system operation data; The management module is used to increase or decrease the cloud service resources of the cloud service system according to the resource demand data for the cloud service resources in the future time period and the current available resource amount of the cloud service resources in the cloud service system.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.