Resource configuration method, device, equipment and computer storage medium

By matching user resource configuration data with multiple system types, the cost and performance of the target system is expected to be solved, and the problem of poor resource allocation in cloud computing is achieved efficient and precise optimization of resource allocation is achieved, cost reduction and performance improvement.

CN116339996BActive Publication Date: 2024-11-08GUOSEN SECURITIES
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310332664.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-11-08
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

The existing resource allocation methods cannot effectively adapt to business systems with a wide variety of resources and fast changes in demand in the cloud computing field, resulting in poor user experience, waste of resources and excessive cost and overhead.

Method used

By obtaining user resource configuration data, matching system standard configurations with multiple optional system types, determining the system type to be configured, and predicting the cost and performance of the target system based on historical configuration costs and operating performance, providing resource configuration adjustment strategies, dynamic Adjust resource configuration to optimize cost and performance.

Benefits of technology

It improves the efficiency and accuracy of resource allocation, helps users optimize resource allocation plans, reduce unit costs, and improves the performance and resource utilization of business systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339996B_ABST
    Figure CN116339996B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of Internet technology, and discloses a resource configuration method, device, equipment and computer storage medium, the method comprising: obtaining resource configuration data of a target system sent by a user; matching the resource configuration data with the system standard configurations corresponding to a plurality of optional system types, respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; determining the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured; and returning the estimated cost and estimated performance corresponding to the target system to the user. In the above manner, the embodiment of the present invention realizes resource configuration that can take into account both system performance and operating cost, and improves the performance per unit cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of Internet technology, and specifically to a resource configuration method, device, equipment and computer storage medium. Background Art

[0002] Cost management is one of the important aspects that need to be considered in system resource configuration, especially in the field of cloud computing that can be expanded on demand, dynamically expanded and resource pooled. Due to the variety of system architecture types, the variety of resources that can be configured in the system, and the rapid changes in system resource requirements, the cost of resource configuration is also constantly changing. The inventor found that the existing cost management generally only considers the cost dimension and adopts a relatively fixed cost management model of buy first and use later. On the one hand, it cannot adapt to business systems with many types of resources and fast-changing resource requirements, such as securities business systems. On the other hand, when the resource purchaser is configuring resources, it is impossible to intuitively associate the cost with the business system performance it wants to achieve, which leads to a low system performance benefit of the actual conversion of unit cost after the configuration is completed, which affects the user experience of the business system and causes waste of resources and unnecessary cost expenditure.

[0003] Therefore, a more flexible and accurate resource allocation solution is needed. Summary of the invention

[0004] In view of the above problems, an embodiment of the present invention provides a resource configuration method for solving the problem in the prior art that after resource configuration, user experience is poor and resources are wasted and unnecessary costs are incurred.

[0005] According to one aspect of an embodiment of the present invention, a resource configuration method is provided, the method comprising:

[0006] Obtain resource configuration data of the target system sent by the user;

[0007] Matching the resource configuration data with the system standard configurations corresponding to the multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type;

[0008] Determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured;

[0009] Return the estimated cost and estimated performance of the target system to the user

[0010] In an optional manner, the method further includes:

[0011] Clustering the multiple historical systems according to the similarity between the historical resource configuration information corresponding to the multiple historical systems to obtain multiple system classes; wherein one of the optional system types corresponds to one of the system classes; when there is a deviated historical system that does not belong to any of the system classes, performing an association analysis between the historical resource configuration information of the deviated historical system and all the historical resource configuration information corresponding to each of the system classes, and determining the system class with the highest confidence in the association relationship with the deviated historical system as the system class corresponding to the deviated historical system;

[0012] Statistical analysis is performed on the historical resource configuration information of all the historical systems in each of the system classes to obtain the system standard configuration corresponding to each of the optional system types.

[0013] In an optional manner, the method further includes:

[0014] Identify the historical resource procurement data corresponding to each of the historical systems respectively to obtain the historical configuration cost of each of the historical systems;

[0015] Calculate the unit price of each of the configurable resources according to the historical configuration costs of all the historical systems corresponding to each of the optional system types;

[0016] respectively summing up the unit prices of all the configurable resources corresponding to each of the optional system types to obtain the system configuration cost corresponding to each of the optional system types;

[0017] Analyzing the performance distribution of all historical systems corresponding to each of the optional system types to obtain the system operation performance corresponding to each of the optional system types;

[0018] The estimated cost and the estimated performance corresponding to the target system are determined according to the system configuration parameters and the system configuration cost and the system operation performance corresponding to the type of system to be configured.

[0019] In an optional manner, the method further includes:

[0020] Determine the optional system type with the greatest similarity between the corresponding system standard configuration and the resource configuration data as the system type to be configured;

[0021] Parsing the resource configuration data according to the resource field of the configurable resource corresponding to the type of system to be configured to obtain the system configuration parameters; wherein the system configuration parameters include the number of systems to be configured and the duration of system resource occupancy;

[0022] Performing weighted processing on the system configuration cost according to the number of systems to be configured and the duration of system resource occupancy to obtain the estimated cost;

[0023] The system achievable performance is weighted according to the number of systems to be configured to obtain the estimated performance.

[0024] In an optional manner, the method further includes:

[0025] Obtaining a resource utilization analysis request sent by the user to the target system; the resource utilization analysis request includes a data range to be analyzed and an analysis indicator dimension; the analysis indicator dimension is used to quantitatively evaluate the performance and configuration cost of the target system;

[0026] Analyze the operating performance data and resource configuration data of the target system within the data range to be analyzed according to the analysis indicator dimension to obtain a resource utilization analysis result;

[0027] The resource utilization analysis result is returned to the user.

[0028] In an optional manner, the method further includes:

[0029] Periodically collecting the operating performance data and resource configuration data of the target system;

[0030] Determine the performance ranking and configuration cost ranking of the target system respectively according to the operation performance data and the resource configuration data;

[0031] Determining a resource configuration adjustment strategy for the target system according to a matching degree between the performance ranking and the configuration cost ranking;

[0032] The resource configuration adjustment policy is sent to the user.

[0033] In an optional manner, the method further includes:

[0034] Performing stress testing on the target system to obtain the performance health of the target system;

[0035] When the performance health is less than a preset threshold, the resource configuration adjustment strategy is determined to transfer resources from the reserved resource pool to the target system; wherein the reserved resource pool is dynamically constructed according to at least one of the target performance, performance guarantee weight, historical resource adjustment frequency and resource transfer upper limit corresponding to all the optional systems respectively;

[0036] When the system performance health is greater than the preset threshold, the resource configuration adjustment strategy is determined to recycle the resources of the target system into the reserved resource pool according to a preset ratio.

[0037] According to another aspect of an embodiment of the present invention, a resource configuration device is provided, including:

[0038] The acquisition module is used to acquire the resource configuration data of the target system sent by the user;

[0039] A matching module, used to match the resource configuration data with system standard configurations corresponding to a plurality of optional system types, respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type;

[0040] A determination module, configured to determine the estimated cost and the estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and the historical operating performance of the historical system corresponding to the type of system to be configured;

[0041] The return module is used to return the estimated cost and estimated performance corresponding to the target system to the user.

[0042] According to another aspect of an embodiment of the present invention, a resource configuration device is provided, including:

[0043] A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0044] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of any one of the resource configuration method embodiments described above.

[0045] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a resource configuration device to perform an operation of any one of the resource configuration method embodiments described above.

[0046] The embodiment of the present invention obtains resource configuration data of a target system sent by a user; matches the resource configuration data with system standard configurations corresponding to a plurality of optional system types respectively, to obtain a system type to be configured corresponding to the target system and system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; determines an estimated cost and an estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and the historical operating performance of the historical system corresponding to the system type to be configured; and returns the estimated cost and the estimated performance corresponding to the target system to the user. This is different from the prior art in which users can only perform manual configuration based on cost budgets and historical configuration experience when performing resource configuration for business systems, and cannot intuitively obtain the expected performance that can be brought about by the configuration cost, which leads to the problem of high cost overhead and poor performance of resource configuration. The embodiment of the present invention determines the type of system to be configured of the target system that the user wants to configure, and reasonably calculates according to the historical configuration cost and historical operating performance corresponding to the type of system to be configured, so as to obtain the estimated cost and expected performance corresponding to the resource configuration data currently input by the user, thereby improving the efficiency of resource configuration and providing the user with the estimated cost and expected performance corresponding to a specific resource configuration scheme, so that the user can judge whether the resource configuration scheme is reasonable according to the degree of match between the estimated cost and the expected performance, thereby optimizing the resource configuration scheme with the goal of better performance per unit cost, so as to facilitate the user to develop a multi-dimensional resource configuration habit based on cost control and performance optimization.

[0047] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0049] Figure 1 A schematic diagram showing a flow chart of a resource configuration method provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram showing the structure of a resource configuration device provided by an embodiment of the present invention is shown;

[0051] Figure 3A schematic diagram of the structure of a resource configuration device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0052] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0053] Figure 1 The flowchart of the resource configuration method provided by the embodiment of the present invention is shown, and the method is executed by a computer processing device. The computer processing device may include a mobile phone, a notebook computer, etc. Figure 1 As shown, the method comprises the following steps:

[0054] Step 10: Obtain resource configuration data of the target system sent by the user.

[0055] Among them, the target system can be an established business system, such as a securities trading system, an OA system or a data storage system. It is easy to understand that the target system can also be a system that the user wants to establish, that is, it can be a virtual system that has not yet been established. The user can send resource configuration data through the preset resource configuration interface. The resource configuration data includes resource configuration parameters corresponding to at least one preset resource item, such as a resource item that can be a CPU, memory, host, operating system, system disk, data disk, network resources, and security software. Furthermore, in order to improve the efficiency of resource configuration and the standardization of resource configuration data, a plurality of optional resource items are displayed on the resource configuration interface, and the user can complete the input of resource configuration data by selecting a plurality of optional resource items as needed and setting the resource configuration parameters of the selected resource items.

[0056] Step 20: Match the resource configuration data with the system standard configurations corresponding to multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type.

[0057] Among them, it is easy to understand that resource configuration data is often determined by users according to their own configuration requirements or configuration experience, and resource configuration data includes multiple resource items. Therefore, each resource configuration data is often a combination of resource configuration parameters corresponding to multiple specific resource items, which may not directly correspond to a standard system type. Considering that the system configuration method, the configuration cost corresponding to the configuration method, and the performance that can be obtained by the configuration method are often greatly affected by the system architecture of the system, such as the system with a full physical machine architecture, the system with a full virtual machine architecture, and the system with a full container architecture, the mapping relationship between the configuration method, configuration cost and configuration performance of these three is obviously quite different. Therefore, in order to improve the accuracy and efficiency of the prediction of the expected cost and expected performance corresponding to the resource configuration data, the historical systems can be clustered according to the similarity of their resource configuration situations to obtain multiple optional system types. An optional system type represents a system architecture, that is, a specific system resource configuration mode, and a specific system resource configuration mode represents a specific relationship between configuration parameters and configuration costs, as well as a relationship between configuration parameters and performance after configuration. Therefore, the configuration cost and performance can be associated through each optional system type, which facilitates the prediction of the expected cost and expected performance of the resource configuration parameters input by the user in subsequent steps.

[0058] Therefore, in order to improve the accuracy and efficiency of the prediction of the estimated cost and the estimated performance corresponding to the resource configuration data, the resource configuration data can be classified first to obtain the type of system to be configured that the resource configuration data actually represents, so that on the one hand, the resource configuration data can be predicted according to the correlation between the operating performance and configuration cost of the historical system corresponding to the type of system to be configured, thereby improving the accuracy of performance and cost prediction; on the other hand, the resource configuration data can be parsed according to the configurable resource items corresponding to the type of system to be configured, and the configuration parameters of the resources to be configured under the system type can be obtained, thereby simplifying the process of resource parameter calculation. Step 20 includes:

[0059] Step 210: Determine the optional system type with the greatest similarity between the corresponding system standard configuration and the resource configuration data as the system type to be configured.

[0060] Among them, considering that the resource configuration information of systems with the same architecture is generally similar, such as generally including preset types of resources, the difference may be in the configuration quantity of specific types of resources, such as all-physical machine systems generally need to configure the host type, brand, model, computer room cabinet location, computing resources such as CPU and memory of the physical machine, that is, the system standard configuration of the all-physical machine system will include the configuration parameters corresponding to the above resource items. Obviously, the system with a full container architecture does not need to configure the host type, brand, model, computer room cabinet location, etc. of the physical machine, that is, the configurable resource items corresponding to different system types are different, and only when the resource items exist, there is corresponding resource configuration information, and the configuration information of non-existent resource items is empty. Therefore, the type of system that the resource configuration data actually wants to configure can be determined based on the similarity between the system representation configuration corresponding to each optional system type and the resource configuration data, that is, the system type to be configured.

[0061] Step 211: parsing the resource configuration data according to the resource field of the configurable resource corresponding to the system type to be configured to obtain the system configuration parameters; wherein the system configuration parameters include the number of systems to be configured and the duration of system resource occupancy.

[0062] Among them, as mentioned above, different system types correspond to different configurable resource items, and only when the resource item exists, there is corresponding resource configuration information, and the configuration information of the non-existent resource item is empty, and a resource item (i.e., a configurable resource, such as a physical machine or a network resource) corresponds to at least one resource field, so the resource configuration data can be parsed according to the resource field of the standard configurable resource corresponding to the system type to be configured, and the system configuration parameters after the specific user performs personalized resource configuration for the system type to be configured can be obtained. For example, the user can configure multiple systems of the same type at the same time, or for different resource rental durations, therefore, the system configuration parameters include the number of systems to be configured and the system resource occupancy duration.

[0063] Before step 20, the process of determining the optional system type may at least include:

[0064] Step 201: Cluster the multiple historical systems according to the similarity between the historical resource configuration information corresponding to the multiple historical systems to obtain multiple system classes; wherein, one of the optional system types corresponds to one of the system classes; when there is a deviated historical system that does not belong to any of the system classes, perform an association analysis on the historical resource configuration information of the deviated historical system and all the historical resource configuration information corresponding to each of the system classes, and determine the system class with the highest confidence in the association relationship with the deviated historical system as the system class corresponding to the deviated historical system.

[0065] The similarity between historical resource information can be characterized by whether there are configuration parameters under a specific resource item, and the distance between the existing configuration parameters. It is easy to understand that the more overlapping resource items there are, the more similar the configuration parameters under the same resource item are, and the more similar the historical resource configuration information of the two historical systems are, and the greater the probability that the two belong to the same system class, that is, the same optional system type. Specifically, the clustering algorithm can use a specified clustering center or an unspecified clustering center, wherein the determination of the clustering center can be obtained by analyzing some historical systems based on manual experience.

[0066] Considering that there may be abnormal deviation points in the clustering process, that is, historical systems that are not classified into any system class, for such deviated historical systems, association mining can be adopted to analyze the association relationship between the historical resource configuration information of the deviated historical system and all the historical resource configuration information corresponding to each system class, and the confidence of the association relationship between the deviated historical system and each system class is determined based on the frequent items in the historical resource configuration information (one item can correspond to a resource feature word representing a resource item), and the system class with the highest confidence in the association relationship with the deviated historical system is determined as the system class corresponding to the deviated historical system. Among them, the word sense disambiguation method can also be introduced to improve the confidence, infer the meaning of polysemous words in a specific context, and thus improve the accuracy of association analysis.

[0067] Step 202: Statistically analyze the historical resource configuration information of all the historical systems in each of the system classes to obtain the system standard configuration corresponding to each of the optional system types.

[0068] The resource configuration parameters of all historical systems in each system class under the configurable resources of the optional system type corresponding to the system class are determined according to the historical resource configuration information, and the system standard configuration corresponding to the optional system type is determined according to the statistical situation of the resource configuration parameters under each configurable resource. The statistical situation may be the average value or median of the resource configuration parameters of the historical system under the unit configurable resource.

[0069] Step 30: Determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured.

[0070] Among them, the system configuration cost and system operation performance corresponding to the system type to be configured are determined according to the historical configuration cost and historical operation performance of the historical system corresponding to the system type to be configured. The system configuration cost is used to characterize the cost of a system of the system type to be configured obtained by configuring according to the system standard configuration, that is, the configuration cost of the system under a basic unit number of optional system types. The system operation performance also characterizes the achievable performance of a system of the system type to be configured obtained by configuring according to the system standard configuration, that is, the achievable performance of the system under a basic unit number of optional system types. Then, the system configuration cost and system operation performance are weighted according to the system configuration parameters to obtain the estimated cost and estimated performance corresponding to the target system.

[0071] Therefore, specifically, step 30 may also include:

[0072] Step 301: Identify the historical resource procurement data corresponding to each of the historical systems respectively to obtain the historical configuration cost of each of the historical systems.

[0073] The historical system may be a business system with historical resource procurement and resource configuration activities. The historical resource procurement data may include resource procurement contracts. The specific identification method may be OCR identification, etc. The historical resource procurement data includes the type of resources purchased (configured), the quantity of resources, and the corresponding cost. Optionally, it may also include the procurement time, procurement object, etc. The historical configuration cost includes the cost consumed by the resources of the historical configuration of each historical system, where the cost is represented by the cost.

[0074] Step 302: Calculate the unit price of each of the configurable resources according to the historical configuration costs of all the historical systems corresponding to each of the optional system types.

[0075] Among them, reverse calculation is performed according to the total configuration quantity and total consumption cost of each configurable resource in the historical configuration cost to obtain the unit price of each configurable resource.

[0076] Step 303: summing up the unit prices of all the configurable resources corresponding to each of the optional system types to obtain the system configuration cost corresponding to each of the optional system types.

[0077] Among them, the system configuration cost is used to characterize the cost of a system of a to-be-configured system type configured according to the system standard configuration, that is, the configuration cost of the system under a basic unit quantity of optional system types. Therefore, there is no need to consider changes in factors such as the number of resources or the duration of resource occupancy. The unit prices of all the configurable resources corresponding to each of the optional system types are summed up to obtain the system configuration cost corresponding to each of the optional system types.

[0078] Step 304: Analyze the performance distribution of all historical systems corresponding to each of the optional system types to obtain the system operation performance corresponding to each of the optional system types.

[0079] Among them, when analyzing the performance distribution, the average level of the historical operating performance of all historical systems can be taken as the system operating performance corresponding to the optional system type. Optionally, taking into account the existence of occasional situations or extreme events, the performance of the median level of the historical operating performance of all historical systems can also be determined as the system operating performance corresponding to the optional system type. It is easy to understand that, corresponding to the system configuration cost, the system operating performance also represents the achievable performance of a system type to be configured according to the system standard configuration, that is, the achievable performance of the system under a basic unit number of optional system types. Therefore, when the resource configuration parameters of the historical system are significantly different from the system standard configuration, the historical operating performance of the historical system can be normalized first so that it is not affected by resource configuration data or resource occupancy time.

[0080] Step 305: Determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the system configuration cost and system operation performance corresponding to the type of system to be configured.

[0081] Among them, the system configuration parameters are used to characterize the personalized configuration of the resource configuration parameters of the target system based on the standard configuration of a single system of the system type to be configured, such as the setting of the resource configuration quantity, the number of configured systems, etc. Therefore, the system configuration cost can be weighted according to the system configuration parameters to obtain the estimated cost. Correspondingly, the system operation performance is weighted according to the system configuration parameters to obtain the estimated performance. Among them, considering that the performance of some resources does not increase proportionally with the increase in the number of resources, the weighted ratio for the system operation performance can be adaptively determined according to the relationship between the number of resources and the performance of the resource items included in the system under the system type to be configured.

[0082] Furthermore, considering that a user may build multiple systems of the same system type in the same batch, and considering that some resources have a service life or are charged according to the usage / rental time, in order to improve the accuracy and precision of the calculation of the estimated performance and the estimated cost, thereby improving the effect of resource allocation, step 30 may also include:

[0083] Step 310: weighting the system configuration cost according to the number of systems to be configured and the duration of system resource occupancy to obtain the estimated cost.

[0084] Among them, the system configuration cost is used to characterize the cost of a system of the type of system to be configured according to the system standard configuration. The system configuration cost can be weighted and summed from the dimensions of time (characterized by the duration of system resource occupancy) and space (characterized by the number of systems to be configured) to obtain the estimated cost. For example, the system configuration cost of a standard system of the type of system to be configured per unit number of systems in a unit time can be n (monetary unit), and the number of systems to be configured and the duration of system resource occupancy can be divided into s and t, then the estimated cost can be calculated as n*s*t, that is, the number of systems to be configured and the duration of system resource occupancy are used as weight coefficients respectively to weight the system configuration cost.

[0085] Step 311: weighting the achievable performance of the system according to the number of systems to be configured to obtain the estimated performance.

[0086] Among them, considering that the more resources of some resources, the better the overall performance that can be achieved, the achievable performance of the system can be weighted according to the number of systems to be configured to obtain the expected performance, wherein the specific weighting ratio can be determined according to the relationship between the number of resources and performance of the resource items included in the system under the type of system to be configured.

[0087] Step 40: Return the estimated cost and estimated performance corresponding to the target system to the user.

[0088] Among them, before the user actually performs resource configuration, the configuration cost and operating performance of the historical system under the type of system to be configured to which the resource configuration data input by the user actually belongs are analogized to obtain the estimated cost and estimated performance of the target system to be configured. This allows the user to intuitively adjust the resource configuration based on his or her cost budget and required performance, combined with the estimated performance and estimated cost, in order to achieve better performance while controlling costs, improve the performance return per unit cost, and achieve efficient and accurate resource configuration.

[0089] Furthermore, considering that the requirements of the system change in real time, and the price of resources may also change with the market supply and demand relationship or technology update, the corresponding resource configuration should also be adjusted dynamically. After the resource configuration is completed, the resource utilization of the target system can be analyzed in real time from the two dimensions of operation performance and resource configuration cost. According to the rationality of the resource configuration obtained by the analysis, the user is instructed to adjust the dynamic resource configuration. Therefore, after step 40, the following is also included:

[0090] Step 501: Obtain a resource utilization analysis request sent by the user to the target system; the resource utilization analysis request includes a data range to be analyzed and analysis indicator dimensions; the analysis indicator dimensions are used to quantitatively evaluate the performance and configuration cost of the target system.

[0091] Among them, the resource utilization analysis request is used to request that after the resource is configured, that is, after the corresponding resource configuration cost has been consumed, the rationality of the resource configuration is determined according to the actual use of the resource (such as the actual performance brought). The data range to be analyzed is used to characterize which resource utilization-related data is analyzed, wherein the resource utilization-related data can be system operation performance data, system resource configuration data, and system resource configuration cost data, etc. Specifically, the data range to be analyzed can be limited from the system dimension, the system component dimension, and the time dimension, etc., wherein the system dimension represents a specific system to be analyzed for resource utilization, such as the target system, and the system component dimension corresponds to at least one application component that constitutes the system, such as the CPU, computing memory, network traffic, computer room cabinet, etc. in the system. It is easy to understand that the resource utilization analysis of the system component dimension has a finer granularity and can analyze the rationality of its resource configuration for a specific resource type or resource combination. The time dimension refers to the analysis of data related to resource utilization within a specific time interval.

[0092] The analysis indicators for configuration cost analysis may include cost statistics indicators, such as day-on-day and month-on-month cost change indicators, and cost ranking indicators, such as the ranking of the cost consumption of each system / system component among all systems / system components. The analysis indicators for performance can be represented by indicators related to resource utilization, such as indicators that represent resource utilization, indicators that represent the distribution of resources in various system components, and indicators that represent performance ranking and performance change.

[0093] Step 502: Analyze the operating performance data and resource configuration data of the target system within the data range to be analyzed according to the analysis indicator dimension to obtain a resource utilization analysis result.

[0094] Among them, the analysis indicator dimension is divided into performance analysis indicators, such as the aforementioned resource utilization indicators, resource occupancy distribution in system components and performance change indicators, and resource configuration indicators. The operation performance data is analyzed according to the performance analysis indicators, and the resource configuration data is analyzed according to the resource configuration indicators. The analysis results of the two are combined as resource utilization analysis results. Resource configuration indicators are used to characterize the relevant characteristics of costs under specific resource configurations, such as the aforementioned cost statistics indicators and cost ranking indicators. It is easy to understand that by quantitatively evaluating the operation performance and resource configuration costs, the cost consumed by the method and the achievable operation performance can be intuitively obtained under a specific resource configuration method, so that by matching the cost with the operation performance, it can reflect whether the resource configuration is reasonable. For example, when there is a high-cost but low-performance resource configuration method, it indicates that the rationality of the resource configuration method is low. Correspondingly, when there is a low-cost but high-performance resource configuration method, it indicates that the resource configuration method is relatively excellent from the perspective of cost control and efficient resource utilization.

[0095] Step 503: Return the resource utilization analysis result to the user.

[0096] Among them, the resource utilization analysis results can be displayed through the aforementioned preset resource configuration interface, so as to realize the effective management and tracking of resources throughout their entire life cycle from procurement, configuration to use and update, which makes it easier for users to develop a good resource configuration mindset based on cost management and performance optimization, and improve the efficiency and accuracy of resource configuration.

[0097] In one embodiment of the present invention, after step 40, the method further includes:

[0098] Step 601: Periodically collect the operating performance data and resource configuration data of the target system.

[0099] Among them, taking into account that the resource usage behavior of the target system may have a strong timeliness, for example, when the target system is a securities trading-related system, the resource usage of the target system is directly affected by the trading behavior of users in the securities market. For example, in a short period of time before and after the market opens, the number of visits to the target system will surge, while in non-trading time periods, the number of visits to the target system may remain at a low level. Therefore, in order to be able to dynamically determine the resource allocation scheme that best suits the current state of the target system in real time, the operating performance data and resource configuration data of the target system can be periodically collected, so that the matching degree between the operating performance data and the resource configuration data can be analyzed later to obtain the resource rationality of the target system, which can be used as a basis for dynamic adjustment and optimization of resource allocation.

[0100] Step 602: Determine the performance ranking and configuration cost ranking of the target system according to the operation performance data and resource configuration data.

[0101] The performance ranking includes the ranking of the performance of the target system among multiple optional systems, and the configuration cost ranking includes the ranking of the cost of the target system among multiple optional systems.

[0102] Step 603: Determine a resource configuration adjustment strategy for the target system according to the matching degree between the performance ranking and the configuration cost ranking.

[0103] Among them, the matching degree is used to characterize whether the configuration cost of the target system and the health level of the operating performance are consistent. It is easy to understand that the lower the configuration cost is, the healthier it is, and the higher the operating performance is, the healthier it is. The optimization directions of the two are relative. Therefore, specifically, the matching degree can be determined according to the difference between the performance ranking and the configuration cost ranking. The larger the difference, the lower the matching degree, and the smaller the difference, the higher the matching degree. When the matching degree is low, it indicates that the resource matching rationality of the target system is low, such as too high cost or too low performance. Therefore, the resource configuration adjustment strategy can include strategies to reduce costs and resource configuration strategies to improve performance, such as listing resource items with the highest cost ratio, or recommending other similar replaceable resource items with better performance for resource items with lower performance.

[0104] Step 604: Send the resource configuration adjustment policy to the user.

[0105] By feeding back to the user the resource adjustment strategy that can improve the rationality of resource configuration obtained by the dual-dimensional matching analysis of configuration cost and operation performance, it is convenient for the user to adjust the resource configuration more scientifically and efficiently. Optionally, in another embodiment of the present invention, it can also be linked with the resource management system to provide the user with the option of adjusting the resource configuration with one click according to the resource configuration adjustment strategy, thereby further improving the efficiency of resource configuration.

[0106] Before step 604, the method further includes:

[0107] Step 610: Perform stress testing on the target system to obtain the performance health of the target system.

[0108] Among them, the stress detection can be based on the traffic playback of the target system, the performance of the target system under the preset target performance indicators such as business capacity is obtained, and then the performance of the target system is measured according to the preset performance threshold to obtain the performance health of the target system. For example, when the target performance indicator is business capacity, through traffic playback and traffic feature detection, the target system is determined in the historical time interval and the current real-time TPS (Transactions Per Second, the number of transactions processed per second) and delay, etc., which represent the number of users that the system can serve / accommodate, that is, the relevant indicators of business capacity, and the weighted summation is performed according to the indicator values ​​under the relevant indicators to obtain the actual business capacity value of the target system. Then the actual business capacity value is compared with the preset business capacity health interval, and the performance health of the target system is determined according to the relative relationship with the business capacity health interval. For example, when the actual business capacity value of the target system is within the business capacity health interval, the performance health can be 100, and when the actual business capacity value is greater than the upper limit of the business capacity health interval, the performance health can be increased on the basis of 100 according to the proportion of it greater than the upper limit, such as 120 or 150. Correspondingly, when the actual service capacity value is less than the lower limit of the service capacity health interval, the performance health can be reduced based on 100 according to the proportion of the lower limit, such as 80 or 50. The service capacity health interval can be the service capacity range obtained based on historical system operation and maintenance data when the service system is operating normally or the user experience is good.

[0109] Step 611: When the performance health is less than a preset threshold, the resource configuration adjustment strategy is determined to transfer resources from the reserved resource pool to the target system; wherein the reserved resource pool is dynamically constructed based on at least one of the target performance, performance guarantee weight, historical resource adjustment frequency and resource transfer upper limit corresponding to all the optional systems.

[0110] Among them, a variety of optional resources are stored in the reserved resource pool. Target performance refers to the minimum performance or ideal performance that the optional system needs to guarantee, and the performance guarantee weight refers to the priority of the performance guarantee of each optional system. It is easy to understand that when the reserved resources are limited or there are multiple optional systems requesting additional resources, resources can be transferred preferentially to the optional systems with high performance guarantee weights. The historical adjustment frequency refers to the frequency of each optional system's request to allocate resources from the reserved resource pool within a preset historical time interval (such as within a week or a month). The resource transfer upper limit is used to limit the maximum amount of resources that each optional system can obtain from the reserved resource pool per unit time.

[0111] It is easy to understand that a reasonable value for the number of resources stored in the reserved resource pool can be constructed based on at least one of the target performance, performance guarantee weight, historical resource adjustment frequency, and resource transfer upper limit in order to better meet possible resource allocation requests of the optional system.

[0112] Further, considering that the storage and maintenance of resources generally require specific conditions, which will occupy fixed costs, and when resources are transferred from the reserved resource pool to the optional system for system use, the transfer of resources also takes time, which will affect the resource allocation efficiency of the optional system. Therefore, optionally, a system resource pool can also be established locally in each optional system, and when the optional system needs to transfer resources, it is preferred to transfer between the system resource pool and the optional system. It is easy to understand that when calling resources from the system resource pool and / or the reserved resource pool, under the same performance (such as when it can bring the same business capacity), priority can be given to resources with lower costs and faster configuration. For example, when selecting between virtual machines and containers in the resource pool, considering that the container is more convenient to pull up and destroy, and the resource call cost is lower than that of virtual machines, container resources can be preferentially selected to expand the capacity of the optional system. Further, in addition to determining the size of the reserved resource pool using the daily business capacity usage of previous years, it can also be combined with the cyclical characteristics of the business system, such as the securities industry, market sentiment, opening calendar and other indicators to assist in correction, so as to achieve full and effective reserved resource pools and reduce waste.

[0113] Step 612: When the system performance health is greater than the preset threshold, the resource configuration adjustment strategy is determined to recycle the resources of the target system into the reserved resource pool according to a preset ratio.

[0114] It is easy to understand that when the system performance is characterized by business capacity, the preset threshold can be the upper limit of the aforementioned business capacity health interval. When the system performance health is greater than the preset threshold, it indicates that the current target system is over-configured, and its resources are idle and wasted. Therefore, the resources of the target system can be recycled to the reserved resource pool according to a preset ratio to improve the resource utilization of the target system and reduce the operating cost of the target system. The preset ratio of resource recycling can be determined according to the difference between the system performance health of the target system and the preset threshold and the ratio of the preset threshold.

[0115] An embodiment of the present invention provides a method of acquiring resource configuration data of a target system sent by a user; matching the resource configuration data with system standard configurations corresponding to a plurality of optional system types respectively, to obtain a system type to be configured corresponding to the target system and system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; determining an estimated cost and an estimated performance corresponding to the target system according to the system configuration parameters and a historical configuration cost and a historical operating performance of a historical system corresponding to the system type to be configured; and returning the estimated cost and the estimated performance corresponding to the target system to the user. This is different from the prior art in which users can only perform manual configuration based on cost budgets and historical configuration experience when performing resource configuration for business systems, and cannot intuitively obtain the expected performance that can be brought about by the configuration cost, which leads to the problem of high cost overhead and poor performance of resource configuration. The embodiment of the present invention determines the type of system to be configured of the target system that the user wants to configure, and reasonably calculates according to the historical configuration cost and historical operating performance corresponding to the type of system to be configured, so as to obtain the estimated cost and expected performance corresponding to the resource configuration data currently input by the user, thereby improving the efficiency of resource configuration and providing the user with the estimated cost and expected performance corresponding to a specific resource configuration scheme, so that the user can judge whether the resource configuration scheme is reasonable according to the degree of match between the estimated cost and the expected performance, thereby optimizing the resource configuration scheme with the goal of better performance per unit cost, so as to facilitate the user to develop a multi-dimensional resource configuration habit based on cost control and performance optimization.

[0116] Figure 2 FIG. 1 is a schematic diagram showing the structure of a resource configuration device provided by an embodiment of the present invention. Figure 2 As shown, the device 70 includes: an acquisition module 701, a matching module 702, a determination module 703 and a return module 704.

[0117] The acquisition module 701 is used to acquire resource configuration data for the target system sent by the user;

[0118] A matching module 702 is used to match the resource configuration data with the system standard configurations corresponding to the multiple optional system types, respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type;

[0119] A determination module 703 is used to determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured;

[0120] The return module 704 is used to return the estimated cost and estimated performance corresponding to the target system to the user.

[0121] The operation process of the resource configuration device provided in the embodiment of the present invention is substantially the same as that of the aforementioned method embodiment, and will not be described in detail.

[0122] The resource configuration device provided by the embodiment of the present invention obtains resource configuration data of a target system sent by a user; matches the resource configuration data with system standard configurations corresponding to multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; determines the expected cost and expected performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured; and returns the expected cost and expected performance corresponding to the target system to the user. This is different from the prior art in which users can only perform manual configuration based on cost budgets and historical configuration experience when performing resource configuration for business systems, and cannot intuitively obtain the expected performance that can be brought about by the configuration cost, which leads to the problem of high cost overhead and poor performance of resource configuration. The embodiment of the present invention determines the type of system to be configured of the target system that the user wants to configure, and reasonably calculates according to the historical configuration cost and historical operating performance corresponding to the type of system to be configured, so as to obtain the estimated cost and expected performance corresponding to the resource configuration data currently input by the user, thereby improving the efficiency of resource configuration and providing the user with the estimated cost and expected performance corresponding to a specific resource configuration scheme, so that the user can judge whether the resource configuration scheme is reasonable according to the degree of match between the estimated cost and the expected performance, thereby optimizing the resource configuration scheme with the goal of better performance per unit cost, so as to facilitate the user to develop a multi-dimensional resource configuration habit based on cost control and performance optimization.

[0123] Figure 3 The schematic diagram of the structure of the resource configuration device provided by the embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the resource configuration device.

[0124] like Figure 3As shown, the resource configuration device may include: a processor (processor) 802 , a communication interface (Communications Interface) 804 , a memory (memory) 806 , and a communication bus 808 .

[0125] The processor 802, the communication interface 804, and the memory 806 communicate with each other via a communication bus 808. The communication interface 804 is used to communicate with other devices such as a client or other server network elements. The processor 802 is used to execute a program 810, which can specifically execute the relevant steps in the above-mentioned resource configuration method embodiment.

[0126] Specifically, the program 810 may include program code including computer executable instructions.

[0127] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the resource configuration device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0128] The memory 806 is used to store the program 810. The memory 806 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0129] The program 810 may be specifically called by the processor 802 to enable the resource configuration device to perform the following operations:

[0130] Obtain resource configuration data of the target system sent by the user;

[0131] Matching the resource configuration data with the system standard configurations corresponding to the multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type;

[0132] Determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured;

[0133] The estimated cost and the estimated performance corresponding to the target system are returned to the user.

[0134] The operation process of the resource configuration device provided in the embodiment of the present invention is substantially the same as that of the aforementioned method embodiment and will not be described in detail.

[0135] The resource configuration device provided by the embodiment of the present invention obtains resource configuration data of a target system sent by a user; matches the resource configuration data with system standard configurations corresponding to multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; determines the expected cost and expected performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured; and returns the expected cost and expected performance corresponding to the target system to the user. This is different from the prior art in which users can only perform manual configuration based on cost budgets and historical configuration experience when performing resource configuration for business systems, and cannot intuitively obtain the expected performance that can be brought about by the configuration cost, which leads to the problem of high cost overhead and poor performance of resource configuration. The embodiment of the present invention determines the type of system to be configured of the target system that the user wants to configure, and reasonably calculates according to the historical configuration cost and historical operating performance corresponding to the type of system to be configured, so as to obtain the estimated cost and expected performance corresponding to the resource configuration data currently input by the user, thereby improving the efficiency of resource configuration and providing the user with the estimated cost and expected performance corresponding to a specific resource configuration scheme, so that the user can judge whether the resource configuration scheme is reasonable according to the degree of match between the estimated cost and the expected performance, thereby optimizing the resource configuration scheme with the goal of better performance per unit cost, so as to facilitate the user to develop a multi-dimensional resource configuration habit based on cost control and performance optimization.

[0136] An embodiment of the present invention provides a computer-readable storage medium, wherein the storage medium stores at least one executable instruction. When the executable instruction is executed on a resource configuration device, the resource configuration device executes the resource configuration method in any of the above method embodiments.

[0137] The executable instructions may be specifically used to enable the resource configuration device to perform the following operations:

[0138] Obtain resource configuration data of the target system sent by the user;

[0139] Matching the resource configuration data with the system standard configurations corresponding to the multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type;

[0140] Determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured;

[0141] The estimated cost and the estimated performance corresponding to the target system are returned to the user.

[0142] The operation process of the executable instructions stored in the computer-readable storage medium provided in the embodiment of the present invention is substantially the same as that of the aforementioned method embodiment and will not be described in detail.

[0143] The executable instructions stored in the computer-readable storage medium provided in the embodiment of the present invention obtain resource configuration data of the target system sent by the user; match the resource configuration data with the system standard configurations corresponding to multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; determine the expected cost and expected performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured; and return the expected cost and expected performance corresponding to the target system to the user. This is different from the prior art in which users can only perform manual configuration based on cost budgets and historical configuration experience when performing resource configuration for business systems, and cannot intuitively obtain the expected performance that can be brought about by the configuration cost, which leads to the problem of high cost overhead and poor performance of resource configuration. The embodiment of the present invention determines the type of system to be configured of the target system that the user wants to configure, and reasonably calculates according to the historical configuration cost and historical operating performance corresponding to the type of system to be configured, so as to obtain the estimated cost and expected performance corresponding to the resource configuration data currently input by the user, thereby improving the efficiency of resource configuration and providing the user with the estimated cost and expected performance corresponding to a specific resource configuration scheme, so that the user can judge whether the resource configuration scheme is reasonable according to the degree of match between the estimated cost and the expected performance, thereby optimizing the resource configuration scheme with the goal of better performance per unit cost, so as to facilitate the user to develop a multi-dimensional resource configuration habit based on cost control and performance optimization.

[0144] An embodiment of the present invention provides a resource configuration device, which is used to execute the above resource configuration method.

[0145] An embodiment of the present invention provides a computer program, which can be called by a processor to enable a resource configuration device to execute the resource configuration method in any of the above method embodiments.

[0146] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed on a computer, the computer executes the resource configuration method in any of the above method embodiments.

[0147] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description made to specific languages ​​above is for disclosing the best mode of the present invention.

[0148] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0149] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than those expressly recited in each claim.

[0150] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0151] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A resource configuration method, characterized in that: The method comprises: Obtain resource configuration data of the target system sent by the user; Match the resource configuration data with the system standard configurations corresponding to the multiple optional system types respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; the optional system types include systems with a full physical machine architecture, systems with a full virtual machine architecture, and systems with a full container architecture; Determining the estimated cost and estimated performance of the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured, including: respectively identifying the historical resource procurement data corresponding to each of the historical systems to obtain the historical configuration cost of each of the historical systems, calculating the unit price of each of the configurable resources according to the historical configuration cost of all of the historical systems corresponding to each of the optional system types, respectively summing up the unit prices of all of the configurable resources corresponding to each of the optional system types to obtain the system configuration cost corresponding to each of the optional system types, and respectively analyzing the performance distribution according to the historical operating performance of all of the historical systems corresponding to each of the optional system types to obtain the system operating performance corresponding to each of the optional system types; The estimated cost and the estimated performance corresponding to the target system are returned to the user.

2. The method according to claim 1, characterized in that Before matching the resource configuration data with the system standard configurations corresponding to the plurality of optional system types respectively to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured, the method includes: Clustering the multiple historical systems according to the similarity between the historical resource configuration information corresponding to the multiple historical systems to obtain multiple system classes; wherein one of the optional system types corresponds to one of the system classes; when there is a deviated historical system that does not belong to any of the system classes, performing an association analysis between the historical resource configuration information of the deviated historical system and all the historical resource configuration information corresponding to each of the system classes, and determining the system class with the highest confidence in the association relationship with the deviated historical system as the system class corresponding to the deviated historical system; Statistical analysis is performed on the historical resource configuration information of all the historical systems in each of the system classes to obtain the system standard configuration corresponding to each of the optional system types.

3. The method according to claim 2, characterized in that The determining the estimated cost and the estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and the historical operating performance of the historical system corresponding to the system type to be configured also includes: The estimated cost and the estimated performance corresponding to the target system are determined according to the system configuration parameters and the system configuration cost and the system operation performance corresponding to the type of system to be configured.

4. The method according to claim 3, characterized in that The matching of the resource configuration data with the system standard configurations corresponding to the plurality of optional system types to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured includes: Determine the optional system type with the greatest similarity between the corresponding system standard configuration and the resource configuration data as the system type to be configured; Parsing the resource configuration data according to the resource field of the configurable resource corresponding to the type of system to be configured to obtain the system configuration parameters; wherein the system configuration parameters include the number of systems to be configured and the duration of system resource occupancy; Determining the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the system configuration cost and system operation performance corresponding to the type of system to be configured includes: Performing weighted processing on the system configuration cost according to the number of systems to be configured and the duration of system resource occupancy to obtain the estimated cost; The system achievable performance is weighted according to the number of systems to be configured to obtain the estimated performance.

5. The method according to claim 1, characterized in that After returning the estimated cost and the estimated performance to the user, the method further comprises: Obtaining a resource utilization analysis request sent by the user to the target system; the resource utilization analysis request includes a data range to be analyzed and an analysis indicator dimension; the analysis indicator dimension is used to quantitatively evaluate the performance and configuration cost of the target system; Analyze the operating performance data and resource configuration data of the target system within the data range to be analyzed according to the analysis indicator dimension to obtain a resource utilization analysis result; The resource utilization analysis result is returned to the user.

6. The method according to claim 1, characterized in that After returning the estimated cost and the estimated performance to the user, the method further comprises: Periodically collecting the operating performance data and resource configuration data of the target system; Determine the performance ranking and configuration cost ranking of the target system respectively according to the operation performance data and the resource configuration data; Determining a resource configuration adjustment strategy for the target system according to a matching degree between the performance ranking and the configuration cost ranking; The resource configuration adjustment policy is sent to the user.

7. The method according to claim 6, characterized in that Before sending the resource configuration adjustment policy to the user, the method includes: Performing stress testing on the target system to obtain the performance health of the target system; When the performance health is less than a preset threshold, the resource configuration adjustment strategy is determined to transfer resources from the reserved resource pool to the target system; wherein the reserved resource pool is dynamically constructed according to at least one of the target performance, performance guarantee weight, historical resource adjustment frequency and resource transfer upper limit corresponding to all the optional systems respectively; When the system performance health is greater than the preset threshold, the resource configuration adjustment strategy is determined to recycle the resources of the target system into the reserved resource pool according to a preset ratio.

8. A resource allocation device, characterized in that: The device comprises: The acquisition module is used to acquire the resource configuration data of the target system sent by the user; A matching module, used to match the resource configuration data with system standard configurations corresponding to a plurality of optional system types, respectively, to obtain the system type to be configured corresponding to the target system and the system configuration parameters of the resource configuration data under the system type to be configured; wherein the system standard configuration includes configuration standard information of at least one configurable resource in the system corresponding to the optional system type; the optional system types include systems with a full physical machine architecture, systems with a full virtual machine architecture, and systems with a full container architecture; A determination module, used to determine the estimated cost and estimated performance corresponding to the target system according to the system configuration parameters and the historical configuration cost and historical operating performance of the historical system corresponding to the system type to be configured, including: respectively identifying the historical resource procurement data corresponding to each of the historical systems to obtain the historical configuration cost of each of the historical systems, calculating the unit price of each of the configurable resources according to the historical configuration cost of all the historical systems corresponding to each of the optional system types, respectively summing up the unit prices of all the configurable resources corresponding to each of the optional system types to obtain the system configuration cost corresponding to each of the optional system types, and respectively analyzing the performance distribution according to the historical operating performance of all the historical systems corresponding to each of the optional system types to obtain the system operating performance corresponding to each of the optional system types; The return module is used to return the estimated cost and estimated performance corresponding to the target system to the user.

9. A resource configuration device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the resource configuration method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the resource configuration device, the resource configuration device executes the operation of the resource configuration method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Resource configuration method and apparatus

    CN105743677A

  • Application system configuration parameter processing method and device and storage medium

    CN108614721A

  • Intelligent configuration method and device of application system, equipment and storage medium

    CN114328192A

  • Cloud desktop resource configuration method and system based on user behaviors and storage medium

    CN115102913A

  • System and Method of Strategy Driven Optimization of Computer Resource Configurations in a Cloud Environment

    US20200067773A1