Search

US-12619473-B2 - Cloud system resource set recommendation method and apparatus, and computing device cluster

US12619473B2US 12619473 B2US12619473 B2US 12619473B2US-12619473-B2

Abstract

A cloud system resource set recommendation method includes after receiving a cloud system resource set recommendation request triggered by a user and used to request to obtain cloud system resource sets that can support a target cloud service and meet a performance requirement, the recommendation apparatus selects, based on the cloud system resource set recommendation request, from the existing cloud system resource sets supporting the target cloud service, a target cloud system resource set meeting the performance requirement, and feeds back the target cloud system resource set to the user. The user does not need to select a required cloud system resource set from several limited resource sets with fixed configurations, but only needs to notify the recommendation apparatus of a target cloud service and a performance requirement that need to be supported by the cloud system resource set.

Inventors

  • Kai Gong
  • Xinhou Wang
  • Xueyou WANG

Assignees

  • Huawei Cloud Computing Technologies Co., Ltd.

Dates

Publication Date
20260505
Application Date
20220323
Priority Date
20190924

Claims (20)

  1. 1 . A method comprising: receiving from a user device, a cloud system resource set recommendation request requesting cloud system resource sets that can support a target cloud service and meet a performance requirement, wherein the target cloud service is implemented by a plurality of functions and is associated with a plurality of functional components, wherein each functional component implements a different function in the plurality of functions for providing specific to the target cloud service, wherein the performance requirement comprises an overall performance requirement of the cloud system resource sets and an individual performance requirement of each functional component in the cloud system resource sets, and wherein the performance requirement includes an external concurrency requirement and an internal concurrency requirement, wherein the external concurrency requirement indicates a first quantity of simultaneous external requests initiated by a device or a user outside a cloud system resource set that can be process by the cloud system resource set, and wherein the internal concurrency requirement indicates a second quantity of simultaneous internal request that can be initiated within the cloud system resource set by each of the functional components in the cloud system resource set; selecting, based on the cloud system resource set recommendation request and from existing cloud system resource sets supporting the target cloud service, the cloud system resource sets meeting the performance requirement, wherein the cloud system resource sets comprise the plurality of functional components; and sending information about the cloud system resource sets to the user device.
  2. 2 . The method of claim 1 , wherein the performance requirement further comprises: an average central processing unit (CPU) utilization that needs to be achieved by the cloud system resource sets; and an average memory utilization that needs to be achieved by the cloud system resource sets.
  3. 3 . The method of claim 1 , wherein the cloud system resource set recommendation request further comprises a rent range that needs to be met by the cloud system resource sets.
  4. 4 . The method of claim 1 , further comprising selecting, based on system load distribution models corresponding to the existing cloud system resource sets and a component load model corresponding to the plurality of functional components from the existing cloud system resource sets, the cloud system resource sets meeting the performance requirement, wherein a system load distribution model corresponding to each of the existing cloud system resource sets determines a first load of each of the functional components in each of the existing cloud system resource sets based on a second load of each of the existing cloud system resource sets, and wherein the component load model corresponding to each of the functional components determines performance data of the each of the functional components based on the first load.
  5. 5 . The method of claim 4 , wherein before selecting the cloud system resource sets, the method further comprises: collecting first structure data and first running data of the existing cloud system resource sets, wherein second structure data of each of the existing cloud system resource sets indicates composition of functional components in each of the existing cloud system resource sets and a resource configuration of each of the functional components, and wherein second running data of each of the existing cloud system resource sets indicates performance of each of the existing cloud system resource sets in a running process and performance of each of the functional components in each of the existing cloud system resource sets; and generating, based on the first structure data and the first running data, the system load distribution models and the component load model.
  6. 6 . The method of claim 5 , further comprising: integrating the first structure data and the first running data into first training sets of a plurality of component load models and second training sets of a plurality of system load distribution models; generating, based on the first training sets, the component load model; and generating, based on the second training sets, the system load distribution models.
  7. 7 . An apparatus comprising: a memory configured to store instructions; a receiver configured to receive, from a user device, a cloud system resource set recommendation request requesting cloud system resource sets that can support a target cloud service and meet a performance requirement, wherein the target cloud service is implemented by a plurality of functions and is associated with a plurality of functional components, wherein each functional component implements a different function in the plurality of functions for providing the target cloud service, wherein the performance requirement comprises an overall performance requirement of the cloud system resource sets and an individual performance requirement of each functional component in the cloud system resource sets, and wherein the performance requirement includes an external concurrency requirement and an internal concurrency requirement, wherein the external concurrency requirement indicates a first quantity of simultaneous external requests initiated by a device or a user outside a cloud system resource set that can be process by the cloud system resource set, and wherein the internal concurrency requirement indicates a second quantity of simultaneous internal request that can be initiated within the cloud system resource set by each of the functional components in the cloud system resource set; a processor coupled to the receiver and configured to execute the instructions to cause the apparatus to select, based on the cloud system resource set recommendation request and from existing cloud system resource sets supporting the target cloud service, the cloud system resource sets meeting the performance requirement, wherein the cloud system resource sets comprise the plurality of functional components; and a transmitter coupled to the receiver and the processor and configured to send information about the cloud system resource sets to the user device.
  8. 8 . The apparatus of claim 7 , wherein the performance requirement further comprises: an average disk read/write rate that needs to be achieved by the cloud system resource sets; and average CPU utilization that needs to be achieved by the plurality of functional components in the cloud system resource sets.
  9. 9 . The apparatus of claim 7 , wherein the cloud system resource set recommendation request further comprises a rent range that needs to be met by the cloud system resource sets.
  10. 10 . The apparatus of claim 7 , wherein the processor is further configured to execute the instructions to cause the apparatus to select, based on system load distribution models corresponding to the existing cloud system resource sets and a component load model corresponding to the plurality of functional components, the cloud system resource sets meeting the performance requirement, wherein a system load distribution model corresponding to each of the existing cloud system resource sets determines a first load of each of the functional components in each of the existing cloud system resource sets based on a second load of each of the existing cloud system resource sets, and wherein a component load model corresponding to each of the functional components determines performance data of the each of the functional components based on the first load.
  11. 11 . The apparatus of claim 10 , wherein the processor is further configured to execute the instructions to cause the apparatus to: collect first structure data and first running data of the existing cloud system resource sets, wherein second structure data of each of the existing cloud system resource sets indicates composition of functional components in each of the existing cloud system resource sets and a resource configuration of each of the functional components, and wherein second running data of each of the existing cloud system resource sets indicates performance of each of the existing cloud system resource sets in a running process and performance of each of the functional components in each of the existing cloud system resource sets; and generate, based on the first structure data and the first running data, the system load distribution models and the component load model.
  12. 12 . The apparatus of claim 11 , wherein the processor is further configured to execute the instructions to cause the apparatus to: integrate the first structure data and the first running data into first training sets of a plurality of component load models and second training sets of a plurality of system load distribution models; further generate, based on the first training sets, the component load model; and further generate, based on the second training sets, the system load distribution models.
  13. 13 . A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause a computing device to: receive, from a user, a cloud system resource set recommendation request requesting cloud system resource sets that can support a target cloud service, meet a performance requirement, wherein the target cloud service is implemented by a plurality of functions and is associated with a plurality of functional components, wherein each functional component implements a different function in the plurality of functions for providing the target cloud service, wherein the performance requirement comprises an overall performance requirement of the cloud system resource sets and an individual performance requirement of each functional component in the cloud system resource sets, and wherein the performance requirement includes an external concurrency requirement and an internal concurrency requirement, wherein the external concurrency requirement indicates a first quantity of simultaneous external requests initiated by a device or a user outside a cloud system resource set that can be process by the cloud system resource set, and wherein the internal concurrency requirement indicates a second quantity of simultaneous internal request that can be initiated within the cloud system resource set by each of the functional components in the cloud system resource set; select, based on the cloud system resource set recommendation request and from existing cloud system resource sets supporting the target cloud service, the cloud system resource sets meeting the performance requirement, wherein the cloud system resource sets comprise the plurality of functional components; and send information about the cloud system resource sets.
  14. 14 . The computer program product of claim 13 , wherein the performance requirement further comprises a cost constraint to be met by the cloud system resource sets.
  15. 15 . The computer program product of claim 13 , wherein the performance requirement further comprises: an average memory utilization that needs to be achieved by the plurality of functional components in the cloud system resource sets; and an average disk read/write rate that needs to be achieved by the plurality of functional components in the cloud system resource sets.
  16. 16 . The computer program product of claim 13 , wherein the cloud system resource set recommendation request further comprises a rent range to be met by the cloud system resource sets.
  17. 17 . The computer program product of claim 13 , wherein the computer-executable instructions further cause the computing device to further select, based on system load distribution models corresponding to the existing cloud system resource sets and a component load model corresponding to the plurality of functional components from the existing cloud system resource sets, the cloud system resource sets meeting the performance requirement, wherein a system load distribution model corresponding to each of the existing cloud system resource sets determines a first load of each of the functional components in each of the existing cloud system resource sets based on a second load of each of the existing cloud system resource sets, and wherein a component load model corresponding to each of the functional components determines performance data of the each of the functional components based on the first load.
  18. 18 . The computer program product of claim 17 , wherein before selecting the cloud system resource sets, the computer-executable instructions further cause the computing device to: collect first structure data and first running data of the existing cloud system resource sets, wherein second structure data of each of the existing cloud system resource sets indicates composition of functional components in each of the existing cloud system resource sets and a resource configuration of each of the functional components, and wherein second running data of each of the existing cloud system resource sets indicates performance of each of the existing cloud system resource sets in a running process and performance of each of the functional components in each of the existing cloud system resource sets; and generate, based on the first structure data and the first running data, the system load distribution models and the component load model.
  19. 19 . The computer program product of claim 18 , wherein the computer-executable instructions further cause the computing device to integrate the first structure data and the first running data into first training sets of a plurality of component load models and second training sets of a plurality of system load distribution models.
  20. 20 . The computer program product of claim 19 , wherein the computer-executable instructions further cause the computing device to: further generate, based on the first training sets, the component load model; and further generate, based on the second training sets, the system load distribution models.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Patent Application No. PCT/CN2020/117271 filed on Sep. 24, 2020, which claims priority to Chinese Patent Application No. 201910906870.8 filed on Sep. 24, 2019, the disclosure of which is hereby incorporated by reference in its entirety. TECHNICAL FIELD This application relates to the field of computer technologies, and in particular, to a cloud system resource set recommendation method and apparatus, and a computing device cluster. BACKGROUND With rapid development of cloud computing technologies, more cloud services may be deployed on a cloud for use by users. Tenants usually need to rent resources on the cloud in advance for the cloud services deployed on the cloud, and a resource set including these resources is constructed as a cloud system. The cloud system may provide cloud services for the users by running applications. Currently, the cloud provides only limited resource sets with a plurality of fixed configurations. The tenants can select one of these resource sets based on requirements of the tenants. However, these resource sets with fixed configurations usually cannot fully meet the requirements of the tenants. For example, a tenant A needs to rent a resource set, where a rent is less than 1000 yuan/month, the resource set needs to support 300 concurrencies (300 requests are processed simultaneously), and utilization of a central processing unit (CPU) is higher than 40%. The cloud usually provides only the resource sets with the fixed configurations. Each fixed resource configuration usually supports only one concurrency, and the fixed resource configurations support limited concurrencies. For example, the fixed resource configurations support only 100 concurrencies, 500 concurrencies, and 1000 concurrencies. The requirement of the tenant can be met only when the tenant selects a resource set that is provided by the cloud and that supports 500 concurrencies. The cloud system constructed as the resource set can provide a better cloud service. However, because a large quantity of resources is configured in the resource set, costs are relatively high, resources are wasted, and the requirements of the tenants cannot be met. SUMMARY This application provides a cloud system resource set recommendation method and apparatus, and a computing device cluster, to recommend a relatively suitable cloud system resource set to a user. According to a first aspect, this application provides a cloud system resource set recommendation method. The method may be performed by a recommendation apparatus. The method includes that a user may send a cloud system resource set recommendation request to the recommendation apparatus in a trigger manner such as tapping a display or typing a parameter, where the cloud system resource set recommendation request is used to request to obtain cloud system resource sets that can support a target cloud service and that meets a performance requirement required by the user, the target cloud service can be provided in cooperation with at least one functional component, and each functional component implements a different function. After receiving the cloud system resource set recommendation request triggered by the user, the recommendation apparatus may select, based on the cloud system resource set recommendation request, a target cloud system resource set from the existing cloud system resource sets supporting the target cloud service, where the target cloud system resource set includes the at least one functional component. The recommendation apparatus may further feed back the target cloud system resource set to the user. According to the foregoing method, the user does not need to select the required cloud system resource set from limited several resource sets with fixed configurations, but only needs to notify the recommendation apparatus of the target cloud service that needs to be supported by the cloud system resource set and the performance requirement that needs to be met. This effectively simplifies a user operation. The recommendation apparatus selects from the existing cloud system resource sets supporting the target cloud service. A selection range is no longer limited to several cloud system resource sets, and a larger selection range helps to select a cloud system resource set that better meets the requirement of the user. In a possible implementation, the performance requirement may be represented as an overall performance requirement on the target cloud system resource set and a performance requirement on each functional component in the target cloud system resource set. For example, the performance requirement includes a concurrency that needs to be supported by the target cloud system resource set. In addition to the concurrency that needs to be supported by the target cloud system resource set, the performance requirement may further include one or more of the following: aver