Cloud Server Resource Allocation Method

By generating multiple sets of resource pre-allocation information, calculating supply costs and using user resource activation record data to determine evaluation information, optimizing cloud server resource allocation, the problem of uneven resource allocation and waste in the existing technology is solved, and more accurate and balanced resource allocation is achieved.

CN116614396BActive Publication Date: 2025-08-01ALIBABA (CHINA) CO LTD

Patent Information

Application Number
CN202310277274.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2025-08-01
Estimated Expiration
2043-03-16

AI Technical Summary

Technical Problem

The existing cloud server resource allocation scheme has problems of unbalanced resource allocation and waste, especially during the peak period of business, users who requested earlier can obtain more resources, while users who requested later cannot obtain the required resources, or users with large resource requests allocated too much resources, resulting in insufficient accuracy and waste of resource allocation.

Method used

By generating multiple sets of resource pre-allocation information, including specification parameters, quantity parameters and availability zone parameters, calculating supply cost information, and using the user's resource activation record data to determine evaluation information, and optimizing resource allocation based on supply costs and evaluation information to ensure that resources are more balanced among multiple users.

Benefits of technology

It realizes more accurate resource allocation, reduces resource waste, optimizes the global resource allocation situation, makes the resource allocation more balanced among multiple users, and improves resource utilization and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116614396B_ABST
    Figure CN116614396B_ABST
Patent Text Reader

Abstract

The present application discloses a cloud server resource allocation method, which relates to the technical field of cloud computing. The cloud server resource allocation method includes: generating multiple groups of resource pre-allocation information in response to the resources requested by a user; calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters; determining the evaluation information of the user by using the resource activation record data of the target resources of the user; determining the resource allocation information from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information, and allocating cloud server resources to the user according to the resource allocation information. The present invention can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cloud computing. Specifically, it relates to a method for allocating cloud server resources. Background Art

[0002] This section aims to provide background or context for the embodiments of the present invention described in the claims. The description herein is not admitted to be prior art merely by including it in this section.

[0003] Cloud servers are important basic products in cloud computing. The core of their elastic definition provides users with the service ability to use resources immediately. Compared with the traditional IDC (Internet Data Center) method, it greatly reduces the user's usage cost. In the existing cloud server resource allocation scheme, cloud server resources are usually allocated in the order of the time when resource requests are received, and the resources are allocated according to the amount of resources requested by the user. Flexibility and elasticity allow users to enable resources in real time during peak business hours to ensure business stability and release resources during off-peak business hours to save costs. However, there are drastic long-term and short-term changes in elastic demand. During peak business hours, in the existing scheme, users who request resources earlier obtain more resources, and users who request resources later cannot obtain the required resources, resulting in uneven resource allocation. In addition, in the existing scheme, there may also be a situation where users with a larger resource request volume have a larger resource allocation volume, and the resources allocated to this user exceed its resource usage amount by a large margin, resulting in waste of resources due to inaccurate global resource allocation. Summary of the Invention

[0004] The embodiments of this application provide a method for allocating cloud server resources, which optimizes resource allocation based on considering supply costs and user evaluations, and alleviates the situations of inaccurate resource allocation and uneven resource allocation.

[0005] According to one aspect of this application, there is also provided a method for allocating cloud server resources, including: generating multiple sets of resource pre-allocation information in response to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters; using the resource activation record data of the target resources of the user to determine the evaluation information of the user; wherein, the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user satisfies a preset threshold range; the evaluation information is used to characterize the activation situation of the resources historically requested by the user, as well as the usage and resource supply situations of the activated resources; determining resource allocation information from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information, and allocating cloud server resources to the user according to the resource allocation information.

[0006] According to another aspect of the present application, there is also provided an electronic device, including: a processor; and a memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to execute the method according to the above.

[0007] According to another aspect of the present application, there is also provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method steps according to the above.

[0008] According to another aspect of the present application, there is also provided a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the method steps according to the above are implemented.

[0009] In an embodiment of the present application, in response to a resource requested by a user, multiple groups of resource pre-allocation information are generated; wherein the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; based on the specification parameters, the quantity parameters, and the available zone parameters, supply cost information corresponding to the resource pre-allocation information is calculated; using the resource activation record data of the user's target resources, the evaluation information of the user is determined; wherein the difference between the usage scenario and / or usage period of the target resources and the resources requested by the user meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources historically requested by the user, as well as the usage and resource supply situation of the activated resources; according to the supply cost information and the evaluation information, resource allocation information is determined from the multiple groups of resource pre-allocation information, and cloud server resources are allocated to the user according to the resource allocation information. In the embodiment of the present invention, first, multiple groups of resource pre-allocation information are generated according to the resources requested by the user, and the supply cost information corresponding to the resource pre-allocation information is calculated. After that, the evaluation information of the user is determined using the resource activation record data of the user's target resources. Finally, based on the supply cost information and the evaluation information, cloud server resources are allocated, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In the following description of exemplary embodiments with reference to the accompanying drawings, more details, features, and advantages of the present disclosure are disclosed. In the drawings:

[0011] Figure 1 A flowchart of a method for allocating cloud server resources according to an embodiment of the present application is shown;

[0012] Figure 2 A flowchart of a method for requesting cloud server resources according to an embodiment of the present application is shown;

[0013] Figure 3 Shows a schematic flowchart of the implementation process of the server resource allocation method;

[0014] Figure 4 Shows a structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure;

[0015] Figure 5 Shows a schematic diagram of supply cost information. Detailed implementation manners

[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0017] It should be understood that the various steps recited in the method embodiments of the present disclosure can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0018] The terms "including" and its variations used herein are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of the functions executed by these devices, modules or units or their interdependence.

[0019] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly stated in the context, it should be understood as "one or more".

[0020] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0021] 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 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 need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or reject.

[0022] In the existing cloud server resource provisioning solution one, according to the user's required time and quantity, a pure new procurement solution is adopted. This solution has relatively large rule restrictions and cannot meet the diverse scenario requirements of users. In addition, the procurement time of this solution is long and the cost is high. In the existing cloud server resource provisioning solution two, a resource provisioning plan is predicted based on historical resource data. The prediction accuracy of this solution varies greatly and fluctuates significantly, and it cannot better guarantee the customer's resource requirements.

[0023] Based on the above background, the present application now proposes a cloud server resource allocation method. This method uses the user's evaluation information to represent information such as the activation situation of resources reported by the user in the past that are similar to the currently requested resources, the usage situation of the activated resources by the user, and the supply situation of the resources activated by the user. It uses the supply cost information to represent the cost situation of the resource pre-allocation information. By combining the evaluation information and the supply cost information, a resource supply plan with a better demand scenario is given, optimizing the global supply cost and timeliness, and being able to give a plan with a higher certainty guarantee, improving the user's satisfaction experience.

[0024] The following explains the terms involved in this application.

[0025] Cloud server: A cloud server is a simple, efficient, secure, and reliable computing service with elastic scalability of processing power. Its management method is simpler and more efficient than that of physical servers. Users can create or release any number of servers within a short time without having to purchase hardware in advance.

[0026] Availability zone: It refers to a physical area within the same region where power and network are independent of each other.

[0027] In this embodiment, a cloud server resource allocation method is provided. Figure 1 It is a flowchart of the cloud server resource allocation method according to the embodiment of the present application. The following explains Figure 1 the method steps involved therein.

[0028] Step S102, in response to the resources requested by the user, generate multiple groups of resource pre-allocation information; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and availability zone parameters.

[0029] In this step, the user can be a certain user logged in to the client, and the user requests resources from the supply side through the client. The resources requested by the user may include the usage scenario and usage cycle information of the resources. Among them, the usage scenario may include the usage area of the resources, that is, the available zone information, and the usage scenario may also include information such as the computing power that the resources need to bear. The user can determine the requested resources according to actual needs, and the embodiments of the present invention do not make specific limitations here. Among them, the resources may include cloud server resources.

[0030] Each set of resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters. Among them, the specification parameters are used to determine the specifications of the resources, the quantity parameters are used to determine the quantity of each specification, and the available zone parameters are used to determine the available zones corresponding to the use of the resources of each specification.

[0031] It should be noted that the specification may include multiple parameters, and each parameter is used to describe a performance. For example, a certain specification includes 3 parameters, namely CPU (Central Processing Unit) parameters, memory parameters, and network receive and transmit packet parameters. Another example is that there are multiple instance specifications for cloud servers, such as shared type, computing type, general type, etc. The instance specifications of cloud servers are different, and their performances, CPU models, network receive and transmit PPS (Packets per Second) performances, etc. are also different, and performance parameters such as connection number, multi-queue, cloud disk IOPS (Input / Output Operations Per Second), and cloud disk bandwidth are different.

[0032] Step S104, calculate the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters.

[0033] In this step, for the specification parameters, quantity parameters, and available zone parameters of each set of resource pre-allocation information, a supply cost information corresponding to the resource pre-allocation information is calculated. Refer to Figure 5 the schematic diagram of the supply cost information shown. There is a certain path and cost between demand and supply, such as the procurement cost of physical servers, etc., the variable allocation costs such as over-selling, mixed opening, and conversion, the hot migration costs such as emptying, moving, and regularization, and the relocation and replacement costs such as emptying, replacement, and relocation.

[0034] In the above step, by calculating the supply cost information, the cost of allocating a certain set of resource pre-allocation information for the user can be estimated. For example, duration, cost, user operation complexity, etc. Based on the estimated information, the timeliness of allocation and the efficiency of resource allocation can be improved when allocating cloud server resources.

[0035] It should be noted that in this step, the supply cost information can be presented in the form of a value or a score.

[0036] Step S106: Determine the evaluation information of the user by using the resource activation record data of the user's target resources, where the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources historically requested by the user, as well as the usage and resource supply situations of the activated resources.

[0037] In this step, information such as the resources requested by the user historically, the resources allocated, and the usage and supply situations of the allocated resources can all be recorded through the resource activation record data. The resource activation record data can include various resources, where the target resources are resources whose difference from the usage scenario and / or usage period of the resources currently requested by the user meets a preset threshold range.

[0038] It should be noted that the preset threshold range can be set according to actual needs, and the embodiments of the present invention do not make specific limitations in this regard. For example, a first preset threshold can be set for the difference in usage scenarios, a second preset threshold can be set for the difference in usage periods, or a preset threshold can be set by comprehensively considering the usage scenario and usage period.

[0039] In the above step, the evaluation information of the user is obtained by using the resource activation record data of the target resources with a high similarity to the resources requested by the user, so as to be used to evaluate the activation situation of the resources historically requested by the user, as well as the usage and resource supply situations of the activated resources. Based on the evaluation information of the user, the accuracy of resource allocation can be improved when allocating cloud server resources, and more resources can be preferentially allocated to users with higher evaluations, making the global resource allocation more accurate and the utilization rate of the allocated resources higher.

[0040] It should be noted that in this step, the evaluation information of the user can be presented in the form of a value or a score.

[0041] Step S108: Determine the resource allocation information from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information, and allocate cloud server resources to the user according to the resource allocation information.

[0042] In this step, the supply cost information and the evaluation information are combined, and the influence of the supply cost information and the evaluation information is comprehensively considered, and one or several pieces of information in the multiple groups of resource pre-allocation information are used as the resource allocation information. Cloud server resources are allocated to the user according to the specification parameters, quantity parameters, and available zone parameters in the resource allocation information.

[0043] In the above steps, the supply cost of resources can be controlled to be relatively low through the supply cost information, and users with higher evaluations can be controlled to be allocated more and better-quality resources through the evaluation information, so that the resources are more evenly distributed among users, resource waste is reduced, the situation where the demands of users with higher evaluations cannot be met is reduced, and the utilization rate of resources is improved.

[0044] In the embodiment of the present application, in response to the resources requested by the user, multiple groups of resource pre-allocation information are generated; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; the supply cost information corresponding to the resource pre-allocation information is calculated based on the specification parameters, the quantity parameters, and the available zone parameters; the evaluation information of the user is determined by using the resource activation record data of the user's target resources; wherein, the difference between the target resources and the resources requested by the user in terms of usage scenario and / or usage cycle meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage and resource supply situation of the activated resources; according to the supply cost information and the evaluation information, resource allocation information is determined from the multiple groups of resource pre-allocation information, and cloud server resources are allocated to the user according to the resource allocation information. In the embodiment of the present invention, first, multiple groups of resource pre-allocation information are generated according to the resources requested by the user, and the supply cost information corresponding to the resource pre-allocation information is calculated. After that, the evaluation information of the user is determined by using the resource activation record data of the user's target resources. Finally, based on the supply cost information and the evaluation information, the cloud server resources are allocated, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0045] In a possible implementation manner, the user can request resources from the supply side through a fuzzy request. Specifically, the resources requested by the user include computing power parameters, a specification range corresponding to the computing power parameters, and a specification quantity range; the generation of multiple groups of resource pre-allocation information can be performed according to the following steps: determining multiple groups of resource pre-allocation information according to the computing power parameters, the specification range, and the specification quantity range.

[0046] In the embodiment of the present invention, the user requests resources by sending the computing power parameters, the specification range corresponding to the computing power parameters, and the specification quantity range to the supply side. The supply side determines a specification or a combination of specifications within the specification range and determines the quantity of the specification within the specification quantity range, so that each group of resource pre-allocation information obtained can reach the computing power required by the computing power parameters, that is, the supply side determines multiple groups of resource pre-allocation information according to the computing power parameters, the specification range, and the specification quantity range.

[0047] Embodiments of the present invention can be applicable to the situation where users have a low understanding of the resources of the supply side. Resources can be requested only by providing computing power parameters. According to the resource distribution and similar computing power recommendations, a more efficient and lower-cost resource allocation scheme can be provided.

[0048] In a possible implementation manner, a user can request resources from the supply side through a relatively clear request. Specifically, the resources requested by the user include a specification combination, and multiple groups of resource pre-allocation information can be generated, which can be executed according to the following steps: determining the alternative specifications and / or alternative models of the target specification in the specification combination; and determining multiple groups of resource pre-allocation information according to the alternative specifications and / or the alternative models.

[0049] In embodiments of the present invention, a user requests resources by sending a specification combination to the supply side. After the supply side determines the alternative specifications and / or alternative models of the target specification in the specification combination, a specification is selected from the alternative specifications and / or the alternative models to determine multiple groups of resource pre-allocation information. Among them, the target specification can be any specification in the specification combination. A specification that is the same as or similar to the target specification in the specification combination is selected as the alternative specification of the target specification, and a model with the same or similar model performance as the target specification is used as the alternative model. Thus, the range of selectable specifications is greatly increased. The expansion of the range of selectable specifications can be achieved by means such as making use of existing resources or procurement. Furthermore, the number of groups of resource pre-allocation information can be increased, more possible resource pre-allocation schemes can be provided, and the existing cloud server resources can be fully utilized.

[0050] Embodiments of the present invention can be applicable to the situation where users have a high understanding of the resources of the supply side. Resources can be requested by providing a more explicit specification combination. Combining the specification requirements, a list of similar specifications is given, the number of resources that can be provided by corresponding different solutions is found, and in combination with the specification requirements, it is converted into the corresponding model requirements, and a corresponding list of convertible resources is given, thereby further improving the resource allocation efficiency and accuracy.

[0051] In a possible implementation manner, the supply cost information corresponding to the resource pre-allocation information can be calculated based on the specification parameters, the quantity parameters, and the available zone parameters, which can be executed according to the following steps: calculating the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource satisfaction rate cost information based on the specification parameters, the quantity parameters, and the available zone parameters; and calculating the supply cost information corresponding to the resource pre-allocation information according to the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource satisfaction rate cost information.

[0052] In the embodiments of the present invention, the time cost between demand and supply, including procurement waiting time, emptying waiting time, etc., is based on specification parameters, quantity parameters, and available zone parameters, and resource preparation time cost information is calculated according to various types of time. The supply cost between demand and supply, including server costs, relocation cost expenses, etc., is based on specification parameters, quantity parameters, and available zone parameters, and resource cost information is calculated according to various types of expenses. The customer impact cost between demand and supply, including hot migration customer experience cost, etc., is based on specification parameters, quantity parameters, and available zone parameters, and resource customer cost information is calculated according to various types of customer impact parameters. The fulfillment rate cost between demand and supply, including the emptying rate of emptying, the loss rate of relocation, the delivery rate of delivery, etc., is based on specification parameters, quantity parameters, and available zone parameters, and resource fulfillment rate cost information is calculated according to various types of fulfillment rates.

[0053] Calculations such as summation or weighted summation are performed on the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource fulfillment rate cost information, and the supply cost information corresponding to the resource pre-allocation information can be obtained.

[0054] In a possible implementation manner, the resource activation record data includes resource activation quantity data, resource supply quantity data, resource request quantity data, resource activation duration data, and resource usage duration data. Using the resource activation record data of the target resources of the user to determine the evaluation information of the user can be performed according to the following steps: determining the resource supply situation parameter of the user according to the resource activation quantity data and the resource supply quantity data; determining the activation situation parameter of the resources requested by the user in history according to the resource activation quantity data and the resource request quantity data; determining the usage situation parameter of the activated resources of the user according to the resource activation duration data and the resource usage duration data; and generating the evaluation information by using the resource supply situation parameter of the target resources, the activation situation parameter of the resources requested by the user in history, and the usage situation parameter of the activated resources.

[0055] In the embodiments of the present invention, the resource activation quantity data is the quantity of resources that are actually activated after the resources are allocated to the user after the user requests the resources. The resource activation quantity can be, for example, the quantity of vcpus (virtual processors) activated by the user. The resource supply quantity data is the quantity of a certain type of resource that the supply side can provide to the user. The resource request quantity data is the quantity of a certain type of resource that the user reports the demand for to the supply side. The resource activation duration data is the data of the usage duration of a certain type of resource requested by the user. The resource usage duration data is the data of the actual usage duration of a certain type of resource by the user.

[0056] Determine the resource supply situation parameter of the user according to the resource activation quantity data and the resource supply quantity data. For example, the resource supply situation parameter can be the satisfaction rate data. According to the analysis of historical purchase behaviors, the satisfaction rate is statistically calculated. Specifically, the satisfaction rate can be calculated according to the following formula: Satisfaction rate = the number of vCPUs activated by the user / the total number of vCPUs provided to the customer. Determine the activation situation parameter of the resources historically requested by the user according to the resource activation quantity data and the resource request quantity data. For example, the activation situation parameter of the resources historically requested by the user can be the fulfillment rate data. According to the customer records of customer reporting and purchase situations, the customer fulfillment rate is statistically calculated. Specifically, the fulfillment rate can be calculated according to the following formula: Fulfillment rate = the number of vCPUs activated by the customer / the total number of vCPUs reported by the customer historically. Determine the usage situation parameter of the activated resources of the user according to the resource activation duration data and the resource usage duration data. For example, the usage situation parameter of the activated resources of the user can be the utilization rate. According to the historical customer satisfaction rate and the activation and release situations, the resource utilization rate is recorded. Specifically, the utilization rate can be calculated according to the following formula: Utilization rate = the duration of the resources activated by the customer / the total duration of the resources used. It should be noted that the usage situation parameter of the activated resources can also be calculated through the user's inventory surplus degree data, inventory turnover data, etc., and can be specifically set according to actual requirements. The embodiments of the present invention do not make specific limitations on this.

[0057] Determine the historically similar resources of the resources requested by the user, that is, the target resources. According to the customer demand submission, judge the customer demand scenario and cycle, and combine the example purchase behaviors to judge the user's expected fulfillment rate and expected utilization rate. Among them, the expected fulfillment rate is obtained by calculating the fulfillment rate of the target resources, and the expected utilization rate is obtained by calculating the utilization rate of the target resources. Generate the evaluation information of the user based on the user's expected fulfillment rate, expected utilization rate, and satisfaction rate.

[0058] Considering that in order to coordinate the influence of the supply cost information and the evaluation information on resource allocation, the influence of the above two in resource allocation is adjusted by introducing the first weight parameter and the second weight parameter. Therefore, in a possible implementation manner, according to the supply cost information and the evaluation information, determine the resource allocation information among the multiple groups of resource pre-allocation information, which can be executed according to the following steps: Obtain the first weight parameter of the supply cost information and the second weight parameter of the evaluation information; Calculate the recommendation parameter of the resource pre-allocation information according to the supply cost information, the first weight parameter, the evaluation information, and the second weight parameter; Sort the resource pre-allocation information according to the recommendation parameter, and determine the resource allocation information according to the sorting result.

[0059] In the embodiments of the present invention, the values of the first weight parameter and the second weight parameter can be set according to actual requirements, and the embodiments of the present invention do not make specific limitations thereto. By adjusting the magnitudes of the weight parameters, the influence degrees of the supply cost information and the evaluation information on the resource allocation are adjusted. Using the weight parameters to perform weighted calculations on the supply cost information and the evaluation information, recommended parameters of the resource pre-allocation information can be obtained, and the resource pre-allocation information is sorted according to the recommended parameters, and a set of resource pre-allocation information is selected from the sorting result as the resource allocation information.

[0060] It should be noted that the recommended parameter can be a numerical value. For example, it can be a score value, or it can be a customer rating information. For example, a first-level recommended customer, a second-level recommended customer, etc. The recommended parameter can also be a description information, such as business opportunity certainty and other information, and the resource allocation information is selected according to the recommended parameter in the sorting result.

[0061] Considering that there may be many preferred allocation schemes in the resource pre-allocation information, or considering to provide more optional allocation schemes for the user to enable the user to select a more suitable allocation scheme, in a possible implementation manner, to determine the resource allocation information from the multiple groups of resource pre-allocation information, the following steps can be executed: determining the resource allocation information to be selected from the multiple groups of resource pre-allocation information; sending the resource allocation information to be selected to the user so that the user determines the resource allocation information from the resource allocation information to be selected; receiving the resource allocation information sent by the user.

[0062] In the embodiments of the present invention, multiple groups of resource allocation information to be selected are determined from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information, and the resource allocation information to be selected is sent to the user so that the user determines the most desired resource allocation information from the resource allocation information to be selected, so that the resources can be quickly matched with the requirements in a timely manner, and the efficiency of resource allocation can be improved.

[0063] Considering that the allocation schemes included in the resource pre-allocation information may not be excellent enough, or the existing resources cannot meet the schemes in the resource pre-allocation information, to determine the resource allocation information from the multiple groups of resource pre-allocation information, the following steps can be executed: generating resource adjustment suggestion information according to the multiple groups of resource pre-allocation information; sending the resource adjustment suggestion information to the user so that the user modifies the requested resources according to the resource adjustment suggestion information; receiving the modified requested resources sent by the user, and determining the resource allocation information according to the modified requested resources.

[0064] In an embodiment of the present invention, the resource adjustment suggestion information is used to remind the user to adjust the specification combination of resources or information such as the computing power of resources. The user modifies the requested resources according to the resource adjustment suggestion information. After receiving the modified requested resources sent by the user, the resource allocation information is re-determined according to steps S102 - S106, so as to more quickly and accurately meet the user's needs and improve the resource allocation efficiency and accuracy.

[0065] See Figure 3 the schematic flowchart of the implementation process of the server resource allocation method shown in the following, and the implementation of this method will be described with a specific embodiment.

[0066] The user can put forward fuzzy requirements or specific specification requirements to the supply side. Among them, the fuzzy requirements can be to put forward the computing power of their own requirements. For example, if the required computing power is calculated in terms of the number of cores, the specific required number of computing power cores can be provided, as well as the specification range required to meet this number of cores, which is shown as a specification family in the figure. The user also needs to provide the corresponding specification quantity of the specification family. The specific specification requirements can include the specification combination or virtual machine list required by the user. The supply side determines multiple groups of resource pre-allocation information based on the specific specification requirements or fuzzy specification requirements provided by the user. Among them, each resource pre-allocation information includes information such as specification + quantity + available zone. Then, in combination with cost indicators, the revenue and cost are estimated according to the start time and end time of the customer's demand, and the cost-benefit is scored to determine a better resource allocation plan. Based on the determined resource allocation plan, the appropriate physical server is selected by using the model template in combination with production capacity. The physical server can select idle resources from the existing servers or adjust the existing idle servers to realize the reuse of resources, or new physical servers can also be purchased to meet the user's needs.

[0067] The present application provides a cloud server resource allocation method. This method takes overall consideration and gives a scientific and quantitative input-output plan comparison plan, which can ensure that when resources are in short supply, customers can plan a better supply plan and make every computing power count.

[0068] The above descriptions are all from the perspective of the supply side. The following will be described from the perspective of the client side. Figure 2 is the flowchart of the cloud server resource request method according to an embodiment of the present application. The following will describe Figure 2 the steps involved therein.

[0069] Step S202, request resources from the supply side so that the supply side generates multiple groups of resource pre-allocation information according to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters.

[0070] In this step, the user can be a certain user logged in to the client, and the user requests resources from the supply side through the client. The resources requested by the user may include the usage scenario and usage cycle information of the resources. Among them, the usage scenario may include the usage area of the resources, that is, the available zone information, and the usage scenario may also include information such as the computing power that the resources need to bear. The user can determine the requested resources according to actual needs, and the embodiments of the present invention do not make specific limitations here. Among them, the resources may include cloud server resources.

[0071] Each set of resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters. Among them, the specification parameters are used to determine the specifications of the resources, the quantity parameters are used to determine the quantity of each specification, and the available zone parameters are used to determine the available zones corresponding to the use of the resources of each specification.

[0072] It should be noted that the specifications may include multiple parameters, and each parameter is used to describe a performance. For example, a certain specification includes 3 parameters, namely CPU (Central Processing Unit) parameters, memory parameters, and network receive and transmit packet parameters. Another example is that there are multiple instance specifications for cloud servers, such as shared type, computing type, general type, etc. The instance specifications of cloud servers are different, and their performances, CPU models, network receive and transmit PPS (Packets per Second) performances, etc. are also different, and performance parameters such as the number of connections, multi-queues, cloud disk IOPS (Input / Output Operations Per Second), and cloud disk bandwidth are different.

[0073] Step S204, receiving the cloud server resources allocated by the supply side; wherein, the cloud server resources are allocated according to the resource allocation information, and the resource allocation information is determined from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information. The supply cost information is calculated based on the specification parameters, the quantity parameters, and the available zone parameters of the corresponding resource pre-allocation information; the evaluation information is determined by using the resource opening record data of the user's target resources, and the difference between the target resources and the usage scenario and / or usage cycle of the resources requested by the user meets a preset threshold range; the evaluation information is used to characterize the opening situation of the resources requested by the user in history, as well as the usage and resource supply situations of the opened resources.

[0074] In this step, cloud server resources allocated by the supply side are received. The cloud server resources are allocated according to the resource allocation information, and the resource allocation information is determined from the multiple groups of pre-allocated resource information based on the supply cost information and the evaluation information. Among them, by calculating the supply cost information, the cost of allocating a certain group of pre-allocated resource information to a user can be estimated. For example, duration, cost, user operation complexity, etc. Based on the estimated information, the timeliness of allocation can be improved and the efficiency of resource allocation can be enhanced when allocating cloud server resources.

[0075] Information such as the resources requested by the user historically, the resources allocated, the usage and supply situations of the allocated resources, etc. can all be recorded through the resource activation record data. The resource activation record data may include various resources. Among them, the target resource is a resource whose difference from the usage scenario and / or usage cycle of the resources currently requested by the user meets a preset threshold range.

[0076] Through the supply side, using the resource activation record data of the target resources with a high similarity to the resources requested by the user, the evaluation information of the user can be obtained, so as to evaluate the activation situation of the resources requested by the user historically, as well as the usage and resource supply situations of the activated resources. Based on the evaluation information of the user, the accuracy of resource allocation can be improved when allocating cloud server resources, and more resources can be preferentially allocated to users with higher evaluations, making the global resource allocation more accurate and the utilization rate of the allocated resources higher.

[0077] It should be noted that both the supply cost information and the evaluation information of the user can be reflected in the form of numerical values or scores.

[0078] In an embodiment of the present application, a request for resources is sent to a supply end to enable the supply end to generate multiple sets of resource pre-allocation information according to the resources requested by the user. Among them, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters. The cloud server resources allocated by the supply end are received. Among them, the cloud server resources are allocated according to the resource allocation information, and the resource allocation information is determined from the multiple sets of resource pre-allocation information based on supply cost information and evaluation information. The supply cost information is calculated based on the specification parameters, the quantity parameters, and the available zone parameters of the corresponding resource pre-allocation information. The evaluation information is determined by using the resource activation record data of the target resources of the user, and the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user meets a preset threshold range. The evaluation information is used to characterize the activation situation of the resources requested by the user in history, as well as the usage and resource supply situation of the activated resources. In an embodiment of the present invention, by sending a request for resources to the supply end, the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user, calculates the supply cost information corresponding to the resource pre-allocation information, and then determines the evaluation information of the user by using the resource activation record data of the target resources of the user. Finally, the supply end allocates the cloud server resources based on the supply cost information and the evaluation information, and the client receives the cloud server resources allocated by the supply end, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0079] In a possible implementation manner, the following steps may further be executed: receiving resource allocation information to be selected; the resource allocation information to be selected is determined by the supply end from the multiple sets of resource pre-allocation information; determining resource allocation information from the resource allocation information to be selected, and sending the resource allocation information to the supply end.

[0080] In an embodiment of the present invention, multiple sets of resource allocation information to be selected determined by the supply end from the multiple sets of resource pre-allocation information based on the supply cost information and the evaluation information are received, so as to determine the resource allocation information that best meets the expectation from the resource allocation information to be selected, so that the resources can be quickly matched with the demand in a timely manner, and the efficiency of resource allocation can be improved.

[0081] In a possible implementation manner, the following steps may further be executed: receiving resource adjustment suggestion information; the resource adjustment suggestion information is generated by the supply end according to the multiple sets of resource pre-allocation information; modifying the requested resources according to the resource adjustment suggestion information, and sending the modified requested resources to the supply end.

[0082] In an embodiment of the present invention, the resource adjustment suggestion information is used to remind the user to adjust the specification combination of resources or information such as the computing power of resources. The user modifies the requested resources according to the resource adjustment suggestion information and sends the modified requested resources to the supply side, so that the supply side re-determines the resource allocation information according to steps S102 - S106, thereby more quickly and accurately meeting the user's needs and improving the efficiency and accuracy of resource allocation.

[0083] The present application provides a cloud server resource scheduling method, which includes: a supply side, in response to the resources requested by the user, generating multiple groups of resource pre-allocation information; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters; using the resource activation record data of the user's target resources to determine the evaluation information of the user; wherein, the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user satisfies a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user in history, as well as the usage and resource supply situation of the activated resources; determining the resource allocation information from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information, and allocating cloud server resources to the user according to the resource allocation information; a client, requesting resources from the supply side, so that the supply side generates multiple groups of resource pre-allocation information according to the resources requested by the user; receiving the cloud server resources allocated by the supply side.

[0084] In an embodiment of the present application, the supply end generates multiple sets of resource pre-allocation information in response to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; calculates the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters; determines the evaluation information of the user by using the resource activation record data of the user's target resources; wherein, the difference between the target resources and the resources requested by the user in terms of usage scenario and / or usage period meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage and resource supply situation of the activated resources; determines the resource allocation information from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information, and allocates cloud server resources to the user according to the resource allocation information; the client requests resources from the supply end so that the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user; and receives the cloud server resources allocated by the supply end. In the embodiment of the present invention, the client requests resources from the supply end, and the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user, calculates the supply cost information corresponding to the resource pre-allocation information, and then determines the evaluation information of the user by using the resource activation record data of the user's target resources. Finally, the supply end allocates cloud server resources based on the supply cost information and the evaluation information, and the client receives the cloud server resources allocated by the supply end, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0085] The present application provides a cloud platform, including a client and a supply end; the supply end is configured to generate multiple sets of resource pre-allocation information in response to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; calculates the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters; determines the evaluation information of the user by using the resource activation record data of the user's target resources; wherein, the difference between the target resources and the resources requested by the user in terms of usage scenario and / or usage period meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage and resource supply situation of the activated resources; determines the resource allocation information from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information, and allocates cloud server resources to the user according to the resource allocation information; the client is configured to request resources from the supply end so that the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user; and receives the cloud server resources allocated by the supply end.

[0086] In an embodiment of the present application, a supply end is configured to generate multiple sets of resource pre-allocation information in response to resources requested by a user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and availability zone parameters; calculate supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the availability zone parameters; use resource activation record data of the user's target resources to determine the user's evaluation information; wherein, the difference between the target resources and the resources requested by the user in terms of usage scenario and / or usage period meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage of the activated resources and the resource supply situation; determine resource allocation information from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information, and allocate cloud server resources to the user according to the resource allocation information; a client is configured to request resources from the supply end so that the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user; receive the cloud server resources allocated by the supply end. In the embodiment of the present invention, the client requests resources from the supply end, and the supply end generates multiple sets of resource pre-allocation information according to the resources requested by the user, calculates the supply cost information corresponding to the resource pre-allocation information, and then uses the resource activation record data of the user's target resources to determine the user's evaluation information. Finally, the supply end allocates cloud server resources based on the supply cost information and the evaluation information, and the client receives the cloud server resources allocated by the supply end, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0087] The present disclosure also provides a cloud server resource allocation device, which includes: a pre-allocation module configured to generate multiple sets of resource pre-allocation information in response to resources requested by a user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and availability zone parameters; a cost estimation module configured to calculate supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the availability zone parameters; a user evaluation module configured to use resource activation record data of the user's target resources to determine the user's evaluation information; wherein, the difference between the target resources and the resources requested by the user in terms of usage scenario and / or usage period meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage of the activated resources and the resource supply situation; an allocation module configured to determine resource allocation information from the multiple sets of resource pre-allocation information according to the supply cost information and the evaluation information, and allocate cloud server resources to the user according to the resource allocation information.

[0088] In an embodiment of the present application, multiple sets of resource pre-allocation information are generated in response to resources requested by a user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; based on the specification parameters, the quantity parameters, and the available zone parameters, the supply cost information corresponding to the resource pre-allocation information is calculated; the evaluation information of the user is determined by using the resource activation record data of the user's target resources; wherein, the difference between the usage scenario and / or usage period of the target resources and the resources requested by the user meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage and resource supply situation of the activated resources; according to the supply cost information and the evaluation information, resource allocation information is determined from the multiple sets of resource pre-allocation information, and cloud server resources are allocated to the user according to the resource allocation information. In an embodiment of the present invention, first, multiple sets of resource pre-allocation information are generated according to the resources requested by the user, and the supply cost information corresponding to the resource pre-allocation information is calculated. After that, the evaluation information of the user is determined by using the resource activation record data of the user's target resources. Finally, based on the supply cost information and the evaluation information, cloud server resources are allocated, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0089] The system or device is used to implement the functions of the method in the above embodiment. Each module in the system or device corresponds to each step in the method. Those that have been described in the method will not be elaborated here.

[0090] Optionally, the resources requested by the user include computing power parameters, the specification range corresponding to the computing power parameters, and the specification quantity range; generating multiple sets of resource pre-allocation information includes: determining multiple sets of resource pre-allocation information according to the computing power parameters, the specification range, and the specification quantity range.

[0091] Optionally, the resources requested by the user include a specification combination. Generating multiple sets of resource pre-allocation information includes: determining backup specifications and / or backup models of target specifications in the specification combination; determining multiple sets of resource pre-allocation information according to the backup specifications and / or the backup models.

[0092] Optionally, calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the available zone parameters includes: calculating resource preparation time cost information, resource cost information, resource customer cost information, and resource satisfaction rate cost information based on the specification parameters, the quantity parameters, and the available zone parameters; calculating the supply cost information corresponding to the resource pre-allocation information according to the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource satisfaction rate cost information.

[0093] Optionally, the resource activation record data includes resource activation quantity data, resource supply quantity data, resource request quantity data, resource activation duration data, and resource usage duration data. Using the resource activation record data of the target resources of the user to determine the evaluation information of the user includes: determining the resource supply situation parameter of the user according to the resource activation quantity data and the resource supply quantity data; determining the activation situation parameter of the resources historically requested by the user according to the resource activation quantity data and the resource request quantity data; determining the usage situation parameter of the activated resources of the user according to the resource activation duration data and the resource usage duration data; and generating the evaluation information by using the resource supply situation parameter of the target resources, the activation situation parameter of the historically requested resources, and the usage situation parameter of the activated resources.

[0094] Optionally, according to the supply cost information and the evaluation information, determining the resource allocation information from the multiple groups of resource pre-allocation information includes: obtaining a first weight parameter of the supply cost information and a second weight parameter of the evaluation information; calculating a recommendation parameter of the resource pre-allocation information according to the supply cost information, the first weight parameter, the evaluation information, and the second weight parameter; sorting the resource pre-allocation information according to the recommendation parameter, and determining the resource allocation information according to the sorting result.

[0095] Optionally, determining the resource allocation information from the multiple groups of resource pre-allocation information includes: determining the resource allocation information to be selected from the multiple groups of resource pre-allocation information; sending the resource allocation information to be selected to the user, so that the user determines the resource allocation information from the resource allocation information to be selected; and receiving the resource allocation information sent by the user.

[0096] Optionally, determining the resource allocation information from the multiple groups of resource pre-allocation information includes: generating resource adjustment suggestion information according to the multiple groups of resource pre-allocation information; sending the resource adjustment suggestion information to the user, so that the user modifies the requested resources according to the resource adjustment suggestion information; receiving the modified requested resources sent by the user, and determining the resource allocation information according to the modified requested resources.

[0097] The present application provides a cloud server resource request device, including: a sending module, configured to request resources from a supply end, so that the supply end generates multiple groups of resource pre-allocation information according to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; a receiving module, configured to receive the cloud server resources allocated by the supply end; wherein, the cloud server resources are allocated according to resource allocation information, and the resource allocation information is determined from the multiple groups of resource pre-allocation information according to supply cost information and evaluation information, and the supply cost information is calculated based on the specification parameters, the quantity parameters, and the available zone parameters of the corresponding resource pre-allocation information; the evaluation information is determined by using the resource activation record data of the user's target resources, and the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user meets a preset threshold range; the evaluation information is used to represent the activation situation of the resources requested by the user historically, as well as the usage of the activated resources and the resource supply situation.

[0098] In an embodiment of the present application, resources are requested from a supply end, so that the supply end generates multiple groups of resource pre-allocation information according to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and available zone parameters; the cloud server resources allocated by the supply end are received; wherein, the cloud server resources are allocated according to resource allocation information, and the resource allocation information is determined from the multiple groups of resource pre-allocation information according to supply cost information and evaluation information, and the supply cost information is calculated based on the specification parameters, the quantity parameters, and the available zone parameters of the corresponding resource pre-allocation information; the evaluation information is determined by using the resource activation record data of the user's target resources, and the difference between the target resources and the usage scenario and / or usage period of the resources requested by the user meets a preset threshold range; the evaluation information is used to represent the activation situation of the resources requested by the user historically, as well as the usage of the activated resources and the resource supply situation. In an embodiment of the present invention, by requesting resources from a supply end, the supply end generates multiple groups of resource pre-allocation information according to the resources requested by the user, calculates the supply cost information corresponding to the resource pre-allocation information, and then determines the evaluation information of the user by using the resource activation record data of the user's target resources. Finally, the supply end allocates the cloud server resources based on the supply cost information and the evaluation information, and the client receives the cloud server resources allocated by the supply end, which can achieve more accurate resource allocation, reduce resource waste, optimize the global resource allocation situation, and make the resources more evenly distributed among multiple users.

[0099] The system or device is used to implement the functions of the method in the above embodiment. Each module in the system or device corresponds to each step in the method, and those that have been described in the method will not be elaborated here.

[0100] Optionally, the device further includes a second receiving module configured to receive resource allocation information to be selected; the resource allocation information to be selected is determined by the supply end from the multiple groups of pre-allocated resource information; determine the resource allocation information from the resource allocation information to be selected, and send the resource allocation information to the supply end.

[0101] Optionally, the device further includes a suggestion module configured to receive resource adjustment suggestion information; the resource adjustment suggestion information is generated by the supply end according to the multiple groups of pre-allocated resource information; modify the requested resources according to the resource adjustment suggestion information, and send the modified requested resources to the supply end.

[0102] An exemplary embodiment of the present disclosure further provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, it is configured to cause the electronic device to execute the method according to the embodiment of the present disclosure.

[0103] An exemplary embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor of a computer, it is configured to cause the computer to execute the method according to the embodiment of the present disclosure.

[0104] An exemplary embodiment of the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is configured to cause the computer to execute the method according to the embodiment of the present disclosure.

[0105] Referring to Figure 4 , a block diagram of an electronic device 400 that can be a server or a user of the present disclosure will now be described. It is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0106] As Figure 4As shown, the electronic device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to computer programs stored in a read-only memory (ROM) 402 or computer programs loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0107] A plurality of components in the electronic device 400 are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device capable of inputting information into the electronic device 400. The input unit 406 can receive input digital or character information, and generate key signal inputs related to user settings and / or function controls of the electronic device. The output unit 407 can be any type of device capable of presenting information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 408 can include but is not limited to a magnetic disk, an optical disk. The communication unit 409 allows the electronic device 400 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0108] The computing unit 401 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 executes the various methods and processes described above. For example, in some embodiments, the foregoing method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 400 via the ROM 402 and / or the communication unit 409. In some embodiments, the computing unit 401 can be configured to execute the foregoing method by any other appropriate means (e.g., by means of firmware).

[0109] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to the processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when executed by the processor or controller, the program codes cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, as an independent software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0110] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0111] As used in the present disclosure, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, apparatus, and / or device (e.g., a disk, an optical disc, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term “machine-readable signal” refers to any signal for providing machine instructions and / or data to a programmable processor.

[0112] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display)) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input received from the user can be in any form (including acoustic input, voice input, or tactile input).

[0113] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.

[0114] A computer system can include users and servers. Users and servers are generally far from each other and typically interact through a communication network. The relationship between users and servers is created by computer programs that run on respective computers and have a user-server relationship with each other.

[0115] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A cloud server resource allocation method, comprising: Generating multiple groups of resource pre-allocation information in response to the resources requested by the user; wherein, the resource pre-allocation information includes specification parameters, quantity parameters, and availability zone parameters; Calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the availability zone parameters; Using the resource activation record data of the user's target resources to determine the evaluation information of the user; wherein, the difference between the usage scenario and / or usage period of the target resources and the resources requested by the user meets a preset threshold range; the evaluation information is used to characterize the activation situation of the resources requested by the user historically, as well as the usage and resource supply situation of the activated resources; Determining the resource allocation information from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information, and allocating cloud server resources to the user according to the resource allocation information.

2. The method according to claim 1, wherein, The resources requested by the user include computing power parameters, the specification range corresponding to the computing power parameters, and the specification quantity range; Generating multiple groups of resource pre-allocation information includes: Determining multiple groups of resource pre-allocation information according to the computing power parameters, the specification range, and the specification quantity range.

3. The method according to claim 1, wherein The resources requested by the user include a specification combination. Generating multiple groups of resource pre-allocation information includes: Determining the alternative specifications and / or alternative models of the target specifications in the specification combination; Determining multiple groups of resource pre-allocation information according to the alternative specifications and / or the alternative models.

4. The method according to claim 1, wherein Calculating the supply cost information corresponding to the resource pre-allocation information based on the specification parameters, the quantity parameters, and the availability zone parameters includes: Calculating the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource satisfaction rate cost information based on the specification parameters, the quantity parameters, and the availability zone parameters; Calculating the supply cost information corresponding to the resource pre-allocation information according to the resource preparation time cost information, the resource cost information, the resource customer cost information, and the resource satisfaction rate cost information.

5. The method according to claim 1, wherein The resource activation record data includes resource activation quantity data, resource supply quantity data, resource request quantity data, resource activation duration data, and resource usage duration data. Using the resource activation record data of the user's target resources to determine the evaluation information of the user includes: Determining the resource supply situation parameter of the user according to the resource activation quantity data and the resource supply quantity data; Determining the activation situation parameter of the resources requested by the user historically according to the resource activation quantity data and the resource request quantity data; Determining the usage situation parameter of the activated resources of the user according to the resource activation duration data and the resource usage duration data; Generating the evaluation information by using the resource supply situation parameter of the target resources, the activation situation parameter of the resources requested by the user historically, and the usage situation parameter of the activated resources.

6. The method according to claim 1, wherein Determining the resource allocation information from the multiple groups of resource pre-allocation information according to the supply cost information and the evaluation information includes: Obtain the first weight parameter of the supply cost information and the second weight parameter of the evaluation information; Calculate the recommended parameter of the resource pre-allocation information according to the supply cost information, the first weight parameter, the evaluation information and the second weight parameter; Sort the resource pre-allocation information according to the recommended parameter, and determine the resource allocation information according to the sorting result.

7. According to the method according to any one of claims 1-5, wherein, Determine the resource allocation information among the multiple groups of resource pre-allocation information, including: Determine the resource allocation information to be selected among the multiple groups of resource pre-allocation information; Send the resource allocation information to be selected to the user, so that the user determines the resource allocation information among the resource allocation information to be selected; Receive the resource allocation information sent by the user.

8. The method according to any one of claims 1-5, wherein, Determine the resource allocation information among the multiple groups of resource pre-allocation information, including: Generate resource adjustment suggestion information according to the multiple groups of resource pre-allocation information; Send the resource adjustment suggestion information to the user, so that the user modifies the requested resources according to the resource adjustment suggestion information; Receive the modified requested resources sent by the user, and determine the resource allocation information according to the modified requested resources.

9. An electronic device, comprising: A processor; And A memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to execute the method steps according to any one of claims 1-8.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method steps according to any one of claims 1-8.

11. A computer program product, wherein, The computer program product includes a computer program that, when executed by a processor, implements the method steps according to any one of claims 1-8.

Citation Information

Patent Citations

  • Resource allocation method and device, electronic device and storage medium

    CN113141394A

  • Cloud resource management method and device, storage medium and electronic equipment

    CN115118731A

Cited By

  • Cloud computing resource allocation method based on multi-source data optimization

    CN121455633A