Cloud resource management method and device, electronic equipment and computer readable storage medium

文档序号:537007 发布日期:2021-06-01 浏览:6次 中文

阅读说明:本技术 云资源管理方法、装置、电子设备及计算机可读存储介质 (Cloud resource management method and device, electronic equipment and computer readable storage medium ) 是由 于颜硕 于 2019-11-29 设计创作,主要内容包括:本发明实施例公开了一种云资源管理方法、装置、电子设备及计算机可读存储介质,所述方法包括:响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;向所述云资源请求方发送云资源分配信息。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。(The embodiment of the invention discloses a cloud resource management method, a cloud resource management device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: in response to receiving a cloud resource request sent by a cloud resource requester, sending an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period; distributing cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource use data; and sending cloud resource allocation information to the cloud resource requester. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.)

1. A cloud resource management method, comprising:

in response to receiving a cloud resource request sent by a cloud resource requester, sending an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period;

allocating cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources at least comprise first cloud resources, second cloud resources and third cloud resources;

and sending cloud resource allocation information to the cloud resource requester.

2. The method of claim 1, wherein the first cloud resource is a dedicated cloud resource for the cloud resource requester, and wherein the maximum capacity of the dedicated cloud resource is a capacity of the cloud resource used in N percent of scenarios satisfying the cloud resource requester, and wherein 0< N < 100.

3. The method of claim 2, wherein the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requestor.

4. The method of claim 3, wherein the allocating cloud resources for the cloud resource requestor according to the attribute information and historical cloud resource usage data of the cloud resource requestor comprises:

in response to receiving a first cloud resource request sent by the cloud resource requester, allocating the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

in response to receiving a second cloud resource request sent by the cloud resource requester, after confirming that a first cloud resource of the cloud resource requester is used completely, acquiring the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, and allocating the second cloud resource to the cloud resource requester according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of cloud resource requesters requesting the second cloud resource, and the capacity of the cloud resource requester requesting the second cloud resource;

responding to a third cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, acquiring third cloud resource request information carried by the third cloud resource request, and allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

5. The method of claim 4, wherein the allocating the third cloud resource to the cloud resource requestor according to the third cloud resource request information is implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, calculating third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

staging the third cloud resource for the cloud resource requestor in response to detecting that the cloud resource requestor has completed performing the third cloud resource pre-operation;

and in response to detecting that the cloud resource requester completes the subsequent operation corresponding to the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

6. The method of any of claims 1-5, further comprising:

and obtaining the use feedback information of the cloud resource requester on the cloud resources, and adjusting the distribution of the cloud resources according to the use feedback information of the cloud resources.

7. A cloud resource management method, comprising:

sending a cloud resource request to a cloud resource management server, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;

in response to receiving an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

and responding to the received cloud resource allocation information sent by the cloud resource management server, and using the allocated cloud resources according to the cloud resource allocation information.

8. The method of claim 7, wherein the first cloud resource is a dedicated cloud resource for the cloud resource requester, and wherein the maximum capacity of the dedicated cloud resource is a capacity of the cloud resource used in N percent of scenarios satisfying the cloud resource requester, and wherein 0< N < 100.

9. The method of claim 8, wherein the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requestor.

10. The method of claim 9, wherein when the cloud resource request is a third cloud resource request, the third cloud resource request carries at least one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

11. The method according to claim 10, wherein when the cloud resource request is a third cloud resource request, before the receiving cloud resource allocation information sent by the cloud resource management server and using the allocated cloud resource according to the cloud resource allocation information, the method further comprises:

responding to third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation according to the third cloud resource pre-operation information, and responding to subsequent operation information which is sent by the cloud resource management server and corresponds to the third cloud resource pre-operation, and executing the subsequent operation according to the subsequent operation information.

12. A cloud resource management method, comprising:

the cloud resource request direction sends a cloud resource request to a cloud resource management server, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;

in response to receiving a cloud resource request sent by the cloud resource requester, the cloud resource management server sends an information acquisition request to the cloud resource requester so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server;

the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester;

in response to receiving the cloud resource allocation information sent by the cloud resource management server, the cloud resource requester uses the allocated cloud resources according to the cloud resource allocation information.

13. The method of claim 12, wherein the first cloud resource is a dedicated cloud resource for the cloud resource requester, and wherein the maximum capacity of the dedicated cloud resource is a capacity of the cloud resource used in N percent of scenarios satisfying the cloud resource requester, and wherein 0< N < 100.

14. The method of claim 13, wherein the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requestor.

15. The method of claim 14, wherein the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester, and the method comprises:

when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request is a second cloud resource request, the cloud resource management server acquires the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requesters is used up, and allocates the second cloud resource to the cloud resource requesters according to the available shared cloud resource capacity and the number of the cloud resource requesters requesting the second cloud resource;

when the cloud resource request is a third cloud resource request, after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, the cloud resource management server obtains third cloud resource request information carried by the third cloud resource request, and allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

16. The method of claim 15, wherein the allocating the third cloud resource to the cloud resource requestor according to the third cloud resource request information is implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, the cloud resource management server calculates the third cloud resource pre-operation information and sends the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

in response to detecting that the cloud resource requester completes execution of the third cloud resource pre-operation, the cloud resource management server stages the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester completes execution of a subsequent operation corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource for the cloud resource requester.

17. The method of any of claims 12-16, further comprising:

and the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resources, and adjusts the distribution of the cloud resources according to the use feedback information of the cloud resources.

18. A cloud resource management apparatus, comprising:

the cloud resource management system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to respond to a received cloud resource request sent by a cloud resource requester and send an information obtaining request to the cloud resource requester so as to obtain attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period;

an allocation module configured to allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a second sending module configured to send cloud resource allocation information to the cloud resource requestor.

19. A cloud resource management apparatus, comprising:

a third sending module configured to send a cloud resource request to a cloud resource management server, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a fourth sending module, configured to send, in response to receiving an information acquisition request sent by the cloud resource management server, attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

a using module configured to, in response to receiving the cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information.

20. A cloud resource management apparatus, comprising:

a cloud resource requester configured to send a cloud resource request to a cloud resource management server and, in response to receiving cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

the cloud resource management server is configured to respond to a received cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and send cloud resource allocation information to the cloud resource requester.

21. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,

the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-17.

22. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, carry out the method steps of any of claims 1-17.

Technical Field

The embodiment of the invention relates to the technical field of cloud resource management, in particular to a cloud resource management method and device, electronic equipment and a computer-readable storage medium.

Background

With the development of data technology, cloud computing is more and more widely applied. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

Disclosure of Invention

The embodiment of the invention provides a cloud resource management method and device, electronic equipment and a computer readable storage medium.

In a first aspect, an embodiment of the present invention provides a cloud resource management method.

Specifically, the cloud resource management method includes:

in response to receiving a cloud resource request sent by a cloud resource requester, sending an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period;

allocating cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources at least comprise first cloud resources, second cloud resources and third cloud resources;

and sending cloud resource allocation information to the cloud resource requester.

With reference to the first aspect, in a first implementation manner of the first aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of the cloud resource used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the allocating cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data includes:

in response to receiving a first cloud resource request sent by the cloud resource requester, allocating the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

in response to receiving a second cloud resource request sent by the cloud resource requester, after confirming that a first cloud resource of the cloud resource requester is used completely, acquiring the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, and allocating the second cloud resource to the cloud resource requester according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of cloud resource requesters requesting the second cloud resource, and the capacity of the cloud resource requester requesting the second cloud resource;

responding to a third cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, acquiring third cloud resource request information carried by the third cloud resource request, and allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the allocating, according to the third cloud resource request information, the third cloud resource to the cloud resource requester is implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, calculating third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

staging the third cloud resource for the cloud resource requestor in response to detecting that the cloud resource requestor has completed performing the third cloud resource pre-operation;

and in response to detecting that the cloud resource requester completes the subsequent operation corresponding to the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the present disclosure further includes:

and obtaining the use feedback information of the cloud resource requester on the cloud resources, and adjusting the distribution of the cloud resources according to the use feedback information of the cloud resources.

In a second aspect, an embodiment of the present invention provides a cloud resource management method.

Specifically, the cloud resource management method includes:

sending a cloud resource request to a cloud resource management server, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;

in response to receiving an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

and responding to the received cloud resource allocation information sent by the cloud resource management server, and using the allocated cloud resources according to the cloud resource allocation information.

With reference to the second aspect, in a first implementation manner of the second aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of the cloud resource used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, when the cloud resource request is a third cloud resource request, the third cloud resource request at least carries one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, before the responding to the reception of the cloud resource allocation information sent by the cloud resource management server when the cloud resource request is a third cloud resource request and using the allocated cloud resources according to the cloud resource allocation information, the method further includes:

responding to third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation according to the third cloud resource pre-operation information, and responding to subsequent operation information which is sent by the cloud resource management server and corresponds to the third cloud resource pre-operation, and executing the subsequent operation according to the subsequent operation information.

In a third aspect, an embodiment of the present invention provides a cloud resource management method.

Specifically, the cloud resource management method includes:

the cloud resource request direction sends a cloud resource request to a cloud resource management server, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;

in response to receiving a cloud resource request sent by the cloud resource requester, the cloud resource management server sends an information acquisition request to the cloud resource requester so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server;

the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester;

in response to receiving the cloud resource allocation information sent by the cloud resource management server, the cloud resource requester uses the allocated cloud resources according to the cloud resource allocation information.

With reference to the third aspect, in a first implementation manner of the third aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of a cloud resource used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the third aspect and the first implementation manner of the third aspect, in a second implementation manner of the third aspect, in an embodiment of the present invention, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the third aspect, the first implementation manner of the third aspect, and the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the allocating, by the cloud resource management server, cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and sending cloud resource allocation information to the cloud resource requester includes:

when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request is a second cloud resource request, the cloud resource management server acquires the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requesters is used up, and allocates the second cloud resource to the cloud resource requesters according to the available shared cloud resource capacity and the number of the cloud resource requesters requesting the second cloud resource;

when the cloud resource request is a third cloud resource request, after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, the cloud resource management server obtains third cloud resource request information carried by the third cloud resource request, and allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the third aspect, the second implementation manner of the third aspect, and the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the allocating, according to the third cloud resource request information, the third cloud resource to the cloud resource requester is implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, the cloud resource management server calculates the third cloud resource pre-operation information and sends the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

in response to detecting that the cloud resource requester completes execution of the third cloud resource pre-operation, the cloud resource management server stages the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester completes execution of a subsequent operation corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource for the cloud resource requester.

With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, and the fourth implementation manner of the third aspect, in a fifth implementation manner of the third aspect, the present disclosure further includes:

and the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resources, and adjusts the distribution of the cloud resources according to the use feedback information of the cloud resources.

In a fourth aspect, an embodiment of the present invention provides a cloud resource management apparatus.

Specifically, the cloud resource management device includes:

the cloud resource management system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to respond to a received cloud resource request sent by a cloud resource requester and send an information obtaining request to the cloud resource requester so as to obtain attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period;

an allocation module configured to allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a second sending module configured to send cloud resource allocation information to the cloud resource requestor.

With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of cloud resources used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the fourth aspect and the first implementation manner of the fourth aspect, in a second implementation manner of the fourth aspect, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the fourth aspect, the first implementation manner of the fourth aspect, and the second implementation manner of the fourth aspect, in a third implementation manner of the fourth aspect, the allocating module includes:

a first allocation sub-module configured to, in response to receiving a first cloud resource request sent by the cloud resource requester, allocate the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

the second allocation submodule is configured to respond to a second cloud resource request sent by the cloud resource requester, acquire the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requester is used up, and allocate the second cloud resource to the cloud resource requester according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of cloud resource requesters requesting the second cloud resource, and the capacity of the cloud resource requester requesting the second cloud resource;

a third allocating sub-module, configured to, in response to receiving a third cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, obtain third cloud resource request information carried in the third cloud resource request, and allocate the third cloud resource to the cloud resource requester according to the third cloud resource request information, where the third cloud resource request information at least includes one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the fourth aspect, the second implementation manner of the fourth aspect, and the third implementation manner of the fourth aspect, in a fourth implementation manner of the fourth aspect, the portion of the third assignment sub-module that assigns the third cloud resource to the cloud resource requester according to the third cloud resource request information is configured to:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, calculating third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

staging the third cloud resource for the cloud resource requestor in response to detecting that the cloud resource requestor has completed performing the third cloud resource pre-operation;

and in response to detecting that the cloud resource requester completes the subsequent operation corresponding to the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

With reference to the fourth aspect, the first implementation manner of the fourth aspect, the second implementation manner of the fourth aspect, the third implementation manner of the fourth aspect, and the fourth implementation manner of the fourth aspect, in a fifth implementation manner of the fourth aspect, the present disclosure further includes:

the adjusting module is configured to acquire the use feedback information of the cloud resource requester on the cloud resource and adjust the allocation of the cloud resource according to the use feedback information of the cloud resource.

In a fifth aspect, an embodiment of the present invention provides a cloud resource management apparatus.

Specifically, the cloud resource management device includes:

a third sending module configured to send a cloud resource request to a cloud resource management server, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a fourth sending module, configured to send, in response to receiving an information acquisition request sent by the cloud resource management server, attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

a using module configured to, in response to receiving the cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information.

With reference to the fifth aspect, in a first implementation manner of the fifth aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of cloud resources used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the fifth aspect and the first implementation manner of the fifth aspect, in a second implementation manner of the fifth aspect, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the fifth aspect, the first implementation manner of the fifth aspect, and the second implementation manner of the fifth aspect, in a third implementation manner of the fifth aspect, when the cloud resource request is a third cloud resource request, the third cloud resource request at least carries one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the fifth aspect, the second implementation manner of the fifth aspect, and the third implementation manner of the fifth aspect, in a fourth implementation manner of the fifth aspect, when the cloud resource request is a third cloud resource request, before the using module, the method further includes:

the execution module is configured to execute a third cloud resource pre-operation according to third cloud resource pre-operation information in response to receiving the third cloud resource pre-operation information sent by the cloud resource management server, and execute a subsequent operation according to the subsequent operation information in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server.

In a sixth aspect, an embodiment of the present invention provides a cloud resource management apparatus.

Specifically, the cloud resource management device includes:

a cloud resource requester configured to send a cloud resource request to a cloud resource management server and, in response to receiving cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

the cloud resource management server is configured to respond to a received cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and send cloud resource allocation information to the cloud resource requester.

With reference to the sixth aspect, in a first implementation manner of the sixth aspect, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and a maximum capacity of the first cloud resource is a capacity of the cloud resource used in a scenario that N percent of the cloud resource requester is satisfied, where 0< N < 100.

With reference to the sixth aspect and the first implementation manner of the sixth aspect, in a second implementation manner of the sixth aspect, the second cloud resource and the third cloud resource share a cloud resource for the cloud resource requester.

With reference to the sixth aspect, the first implementation manner of the sixth aspect, and the second implementation manner of the sixth aspect, in a third implementation manner of the sixth aspect, the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester, and sends cloud resource allocation information to the cloud resource requester, where the cloud resource management server is configured to:

when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request is a second cloud resource request, the cloud resource management server acquires the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requesters is used up, and allocates the second cloud resource to the cloud resource requesters according to the available shared cloud resource capacity and the number of the cloud resource requesters requesting the second cloud resource;

when the cloud resource request is a third cloud resource request, after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, the cloud resource management server obtains third cloud resource request information carried by the third cloud resource request, and allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

With reference to the first implementation manner of the sixth aspect, the second implementation manner of the sixth aspect, and the third implementation manner of the sixth aspect, in a fourth implementation manner of the sixth aspect, the allocating, according to the third cloud resource request information, a portion of the third cloud resource to the cloud resource requester is configured to:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, the cloud resource management server calculates the third cloud resource pre-operation information and sends the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

in response to detecting that the cloud resource requester completes execution of the third cloud resource pre-operation, the cloud resource management server stages the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester completes execution of a subsequent operation corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource for the cloud resource requester.

With reference to the sixth aspect, the first implementation manner of the sixth aspect, the second implementation manner of the sixth aspect, the third implementation manner of the sixth aspect, and the fourth implementation manner of the sixth aspect, in a fifth implementation manner of the sixth aspect, the cloud resource management server is further configured to:

and obtaining the use feedback information of the cloud resource requester on the cloud resources, and adjusting the distribution of the cloud resources according to the use feedback information of the cloud resources.

In a seventh aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer instructions for supporting a cloud resource management apparatus to execute the cloud resource management method, and the processor is configured to execute the computer instructions stored in the memory. The cloud resource management device may further include a communication interface for the cloud resource management device to communicate with other devices or a communication network.

In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer instructions for a cloud resource management apparatus, where the computer instructions are used to execute the cloud resource management method to a cloud resource management apparatus.

The technical scheme provided by the embodiment of the invention has the following beneficial effects:

according to the technical scheme, the first cloud resource, the second cloud resource and the third cloud resource meeting different use requirements are allocated to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource use data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.

Drawings

Other features, objects and advantages of embodiments of the invention will become more apparent from the following detailed description of non-limiting embodiments thereof, when taken in conjunction with the accompanying drawings. In the drawings:

FIG. 1 illustrates a flow diagram of a cloud resource management method according to an embodiment of the invention;

FIG. 2 shows a flowchart of step S102 of the cloud resource management method according to the embodiment shown in FIG. 1;

3-6 illustrate flow diagrams of cloud resource management methods according to various embodiments of the invention;

FIG. 7 illustrates a flow diagram of a cloud resource management application scenario in accordance with an embodiment of the present invention;

fig. 8 is a block diagram showing a configuration of a cloud resource management apparatus according to an embodiment of the present invention;

fig. 9 is a block diagram illustrating a configuration of an allocation module 802 of the cloud resource management apparatus according to the embodiment illustrated in fig. 8;

10-13 show block diagrams of the structures of cloud resource management devices according to different embodiments of the present invention;

FIG. 14 shows a block diagram of an electronic device according to an embodiment of the invention;

fig. 15 is a schematic structural diagram of a computer system suitable for implementing a cloud resource management method according to an embodiment of the present invention.

Detailed Description

Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.

In the embodiments of the present invention, it is to be understood that terms such as "including" or "having", etc., are intended to indicate the presence of the features, numbers, steps, actions, components, parts, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, actions, components, parts, or combinations thereof may be present or added.

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.

According to the technical scheme provided by the embodiment of the invention, the first cloud resource, the second cloud resource and the third cloud resource meeting different use requirements are allocated to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource use data of the cloud resource requester in the preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

Fig. 1 shows a flowchart of a cloud resource management method according to an embodiment of the present invention, which is suitable for a cloud resource management server, and as shown in fig. 1, the cloud resource management method includes the following steps S101 to S103:

in step S101, in response to receiving a cloud resource request sent by a cloud resource requester, sending an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period;

in step S102, allocating cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, where the cloud resources at least include a first cloud resource, a second cloud resource, and a third cloud resource;

in step S103, cloud resource allocation information is sent to the cloud resource requester.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management method is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In an embodiment of the present invention, the cloud resource request refers to a request that the cloud resource request sends to the cloud resource management server to request that the cloud resource management server use the cloud resource and request that the cloud resource management server allocate the cloud resource. Wherein the cloud resource request may carry one or more of the following information: cloud resource requestor identification information; a cloud resource request category, such as whether a first cloud resource, a second cloud resource, or a third cloud resource is requested; different classes of cloud resources request capacity, and so on.

In an embodiment of the present invention, in order to perform customized resource allocation for a cloud resource requester, after a cloud resource management server receives a cloud resource request sent by a cloud resource requester, the cloud resource management server sends an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period, so that the cloud resource management server can subsequently allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data. Wherein the attribute information of the cloud resource requester may include one or more of the following information: identity of the cloud resource requestor, such as whether it is an individual or an enterprise, a government agency, or a private company; the scale of the cloud resource requester, for example, if the cloud resource requester is an enterprise, the scale of the cloud resource requester indicates that the enterprise includes a number of people; and so on. Wherein, the historical cloud resource usage data of the cloud resource requester in the preset historical time period may include one or more of the following data: the cloud resource utilization method comprises the steps of using times of historical cloud resources in a preset historical time period, using capacity of the historical cloud resources in the preset historical time period each time, using total amount of the historical cloud resources in the preset historical time period, application scene information of the historical cloud resources in the preset historical time period, application scene quantity of the historical cloud resources in the preset historical time period, using cloud resource capacity of each application scene of the historical cloud resources in the preset historical time period and the like, wherein the preset historical time period can be set according to requirements of actual application, and specific values of the preset historical time period are not specifically limited.

In an embodiment of the present invention, the cloud resource allocation information refers to information related to cloud resources allocated to the cloud resource requesting party, which is sent to the cloud resource requesting party by the cloud resource management server after the cloud resource requesting party allocates cloud resources to the cloud resource requesting party, and the cloud resource allocated to the cloud resource requesting party by the cloud resource management server can be used according to the cloud resource allocation information by the subsequent cloud resource requesting party after receiving the cloud resource allocation information.

In an embodiment of the present invention, the first cloud resource is a cloud resource dedicated by the cloud resource requester, that is, a cloud resource reserved by the cloud resource requester and capable of being allocated to the cloud resource requester as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and a maximum capacity of the cloud resource is a cloud resource capacity that satisfies N percent of the cloud resource requester, that is, a cloud resource capacity at N% satisfaction, where 0< N <100, and a value of N may be set according to information such as attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource requester, a total available cloud resource capacity, and a total number of cloud resource requesters, for example, if the cloud resource requester is a government agency, a scale is greater than a preset scale threshold, a historical cloud resource usage number is greater than a preset number threshold, and the total historical cloud resource usage is greater than a preset total number threshold, the value of N can be set to be larger to ensure stable use of the dedicated cloud resource by the cloud resource requester.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources, but not exclusively shared cloud resources, of the cloud resource requester. The second cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource allocated to the cloud resource requester, that is, the first cloud resource cannot satisfy the use of the cloud resource requester, and the third cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource and the second cloud resource allocated to the cloud resource requester, that is, the first cloud resource and the second cloud resource cannot satisfy the use of the cloud resource requester.

In an embodiment of the present invention, as shown in fig. 2, the step S102, namely the step of allocating cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, includes the following steps S201 to S203:

in step S201, in response to receiving a first cloud resource request sent by the cloud resource requester, allocating the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

in step S202, in response to receiving a second cloud resource request sent by the cloud resource requester, and after confirming that a first cloud resource of the cloud resource requester is used completely, acquiring a current available shared cloud resource capacity and a number of cloud resource requesters requesting the second cloud resource, and allocating the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;

in step S203, in response to receiving a third cloud resource request sent by the cloud resource requester, after it is determined that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, third cloud resource request information carried in the third cloud resource request is obtained, and the third cloud resource is allocated to the cloud resource requester according to the third cloud resource request information, where the third cloud resource request information at least includes one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

In order to fully utilize the available cloud resources, in this embodiment, the available cloud resources are allocated step-by-step, that is, first, a first cloud resource dedicated to the cloud resource requester is allocated, when the first cloud resource cannot meet the usage requirement of the cloud resource requester, a second cloud resource is allocated to the cloud resource requester, and when the second cloud resource cannot meet the usage requirement of the cloud resource requester, a third cloud resource is allocated to the cloud resource requester.

Specifically, when the cloud resource request received by the cloud resource management server and sent by the cloud resource requester is a request for requesting a first cloud resource, as described above, the first cloud resource is allocated to the cloud resource requester according to the acquired attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request sent by the cloud resource requester and received by the cloud resource management server is a request for requesting a second cloud resource, first determining whether a first cloud resource requested by the cloud resource requester before is used up, after determining that the first cloud resource is used up, determining a request sequence of all the cloud resource requesters requesting the second cloud resource, obtaining a current available shared cloud resource capacity and a number of all the cloud resource requesters currently requesting the second cloud resource, and allocating the second cloud resource to the cloud resource requester according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of all the cloud resource requesters requesting the second cloud resource, and the capacity of the cloud resource requester requesting the second cloud resource, for example, when the second cloud resource is allocated, according to the request sequence of the cloud resource requesters, allocating a second cloud resource to a cloud resource requester firstly requesting the second cloud resource, and then allocating the second cloud resource to a cloud resource requester subsequently requesting the second cloud resource; for example, considering that the available shared cloud resource capacity may not satisfy the requests of all cloud resource requesters, second cloud resources may be allocated to the cloud resource requesters in proportion according to the available shared cloud resource capacity, the number of all cloud resource requesters requesting second cloud resources, and the capacity of the second cloud resources requested by each cloud resource requester, so that the cloud resource requester requesting first requests can allocate resources first, and meanwhile, the requirements of all the cloud resource requesters can be considered;

when a cloud resource request received by the cloud resource management server and sent by the cloud resource requester is a request for requesting a third cloud resource, firstly determining whether a first cloud resource and a second cloud resource requested by the cloud resource requester have been used up, and after determining that the first cloud resource and the second cloud resource have been used up, acquiring third cloud resource request information carried by the third cloud resource request, wherein the third cloud resource request information at least includes one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity, where the third cloud resource category may be, for example, a usage scenario category of the third cloud resource, a usage category of the third cloud resource, and the like, and then the third cloud resource is allocated to the cloud resource requester according to third cloud resource request information such as the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.

In an embodiment of the present invention, the step of allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information in step S203 may be implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, calculating third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

staging the third cloud resource for the cloud resource requestor in response to detecting that the cloud resource requestor has completed performing the third cloud resource pre-operation;

and in response to detecting that the cloud resource requester completes the subsequent operation corresponding to the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

In view of the limited available resources, in order to make more effective use of the available resources and avoid resource waste caused by unnecessary resource requests initiated by cloud resource requesters, in this embodiment, when allocating third cloud resources, if it is determined that the allocable third cloud resources are sufficient, the third cloud resource pre-operation information is first calculated and sent to the cloud resource requesters so that the cloud resource requesters execute the third cloud resource pre-operation according to the third cloud resource pre-operation information, and then when it is detected that the cloud resource requesters finish executing the third cloud resource pre-operation, the cloud resource requesters are allocated with the third cloud resources.

Wherein the third cloud resource pre-operation may be, for example, a resource reservation operation, a resource cost pre-payment operation, a resource cost partial pre-payment operation, or the like, after the cloud resource requester performs the third cloud resource pre-operation, the cloud resource management server may prepare the requested third cloud resource for the cloud resource requester, and subsequently when the cloud resource management server is ready for the third cloud resource, and the cloud resource requester performs corresponding subsequent operations within a preset time, the third cloud resource requested by the cloud resource requester is really allocated to the cloud resource requester, the subsequent operation may be, for example, a resource ordering operation corresponding to the resource reservation operation, a resource cost confirmation payment operation corresponding to the resource cost prepayment operation, a remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, or the like. The resource cost can be calculated by the cloud resource management server according to the cost consumed by cloud resource operations such as establishing cloud resources, maintaining cloud resources, providing equipment occupied by the cloud resources, manpower, land, infrastructure, time spent and the like, the resource cost partial prepayment operation refers to a payment operation performed on a resource cost with a preset proportion C, wherein the preset proportion C (0< C <1) can be determined according to historical cloud resource usage data of a cloud resource requester, particularly historical third cloud resource usage data, and the historical third cloud resource usage data can include one or more of the following data besides the historical cloud resource usage data: the number of times of performing pre-operation on the historical third cloud resource in the preset historical time period, the number of times of continuing to perform subsequent operation after performing pre-operation on the historical third cloud resource in the preset historical time period, the number of times of not continuing to perform subsequent operation after performing pre-operation on the historical third cloud resource in the preset historical time period, and the like. A fulfillment of the cloud resource requestor may be determined based on the historical third cloud resource usage data, such as calculating a performance rate of the cloud resource requester on the third cloud resource within a preset historical time period, the performance rate may be directly used as the preset ratio C, or the performance rate may be multiplied by a preset weight coefficient to be used as the preset ratio C, wherein the preset weight coefficient may be related to a request level of the cloud resource requester, such as, if the cloud resource requester is a government agency, the scale is greater than the preset scale threshold value, the historical cloud resource usage times are greater than the preset time threshold value, the historical cloud resource usage total amount is greater than the preset total amount threshold value, the request level of the cloud resource requester may be considered to be higher, and at this time, a higher weight coefficient may be set for the cloud resource requester, and conversely, a lower weight coefficient may be set for the cloud resource requester.

In an embodiment of the present invention, the method further includes the step of obtaining usage feedback information of the cloud resource requester on the cloud resource, and adjusting allocation of the cloud resource according to the usage feedback information of the cloud resource, that is, as shown in fig. 3, the method includes the following steps S301 to S304:

in step S301, in response to receiving a cloud resource request sent by a cloud resource requester, sending an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period;

in step S302, allocating cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, where the cloud resources at least include a first cloud resource, a second cloud resource, and a third cloud resource;

in step S303, sending cloud resource allocation information to the cloud resource requester;

in step S304, usage feedback information of the cloud resource requester on the cloud resource is obtained, and allocation of the cloud resource is adjusted according to the usage feedback information of the cloud resource.

In order to more fully and effectively utilize cloud resources and reasonably allocate the cloud resources, so as to avoid waste of the cloud resources and avoid repeated occurrence of cloud resource requests, in this embodiment, allocation of the cloud resources is further adjusted according to usage feedback information of the cloud resources, where the usage feedback information of the cloud resources may include one or more of the following information: the cloud resource management method comprises the steps of presetting the actual usage proportion of a cloud resource requester to each requested cloud resource in a historical time period, presetting the total usage proportion of the cloud resource requester to a plurality of requested cloud resources in the historical time period, presetting the number of times that the cloud resource requester requests the cloud resource in the historical time period, presetting the frequency that the cloud resource requester requests the cloud resource in the historical time period, presetting the performance rate of the cloud resource requester to a third cloud resource in the historical time period, and the like. For example, if the actual usage ratio of the cloud resource requester to the requested cloud resource each time in the preset history time period is higher than the preset ratio threshold, the number of times the cloud resource requester requests the cloud resource in the preset history time period is higher than the preset number threshold, and the performance rate of the cloud resource requester to the third cloud resource in the preset history time period is higher than the preset performance rate threshold, it is considered that the cloud resource requester requests the cloud resource very urgently and the requested cloud resource is fully and effectively utilized, and therefore, the capacity of the cloud resource requester to request the resource can be controlled up according to the preset ratio or the preset step value, and otherwise, the capacity of the cloud resource requester to request the resource can be controlled down.

Fig. 4 is a flowchart of a cloud resource management method according to another embodiment of the present invention, which is suitable for a cloud resource requester, and as shown in fig. 4, the cloud resource management method includes the following steps S401 to S403:

in step S401, a cloud resource request is sent to a cloud resource management server, where the cloud resources at least include a first cloud resource, a second cloud resource, and a third cloud resource;

in step S402, in response to receiving an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

in step S403, in response to receiving the cloud resource allocation information sent by the cloud resource management server, the allocated cloud resource is used according to the cloud resource allocation information.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management method is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In the above embodiment, when a cloud resource requester needs to apply for a cloud resource, the cloud resource requester sends a cloud resource request to a cloud resource management server, where the cloud resource request includes at least a first cloud resource, a second cloud resource, and a third cloud resource, and the cloud resource request may carry one or more of the following information: cloud resource requestor identification information; a cloud resource request category, such as whether a first cloud resource, a second cloud resource, or a third cloud resource is requested; different categories of cloud resource request capacity, etc.; after receiving an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, so that the cloud resource management server can allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data; and finally, after receiving cloud resource allocation information sent by the cloud resource management server, using the cloud resources allocated by the cloud resource management server according to the cloud resource allocation information.

In an embodiment of the present invention, the first cloud resource is a cloud resource dedicated by the cloud resource requester, that is, a cloud resource reserved by the cloud resource requester and capable of being allocated to the cloud resource requester as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and a maximum capacity of the cloud resource is a cloud resource capacity that satisfies N percent of the cloud resource requester, that is, a cloud resource capacity at N% satisfaction, where 0< N <100, and a value of N may be set according to information such as attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource requester, a total available cloud resource capacity, and a total number of cloud resource requesters, for example, if the cloud resource requester is a government agency, a scale is greater than a preset scale threshold, a historical cloud resource usage number is greater than a preset number threshold, and the total historical cloud resource usage is greater than a preset total number threshold, the value of N can be set to be larger to ensure stable use of the dedicated cloud resource by the cloud resource requester.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources, but not exclusively shared cloud resources, of the cloud resource requester. The second cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource allocated to the cloud resource requester, that is, the first cloud resource cannot satisfy the use of the cloud resource requester, and the third cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource and the second cloud resource allocated to the cloud resource requester, that is, the first cloud resource and the second cloud resource cannot satisfy the use of the cloud resource requester.

In order to fully utilize available cloud resources, avoid resource waste as much as possible, and achieve reasonable utilization and control of cloud resources, in an embodiment of the present invention, when the cloud resource request is a third cloud resource request, the third cloud resource request at least carries one or more of the following information: the third cloud resource type, the third cloud resource usage period and the third cloud resource request capacity are used for informing the cloud resource management server of the amount of the third cloud resources required by the cloud resource requester at any time, so that the cloud resource management server can allocate the third cloud resources in a time-sharing manner, and the time-sharing multiplexing of the cloud resources is realized.

In an embodiment of the present invention, when the cloud resource request is a third cloud resource request, before the step S403 of, in response to receiving cloud resource allocation information sent by the cloud resource management server, using the allocated cloud resource according to the cloud resource allocation information, further includes: in response to receiving third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation according to the third cloud resource pre-operation information, and in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, executing the subsequent operation according to the subsequent operation information, that is, as shown in fig. 5, the method includes the following steps S501 to S504:

in step S501, a cloud resource request is sent to a cloud resource management server, where the cloud resources at least include a first cloud resource, a second cloud resource, and a third cloud resource;

in step S502, in response to receiving an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

in step S503, in response to receiving third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation according to the third cloud resource pre-operation information, and in response to receiving subsequent operation information sent by the cloud resource management server and corresponding to the third cloud resource pre-operation, executing the subsequent operation according to the subsequent operation information;

in step S504, in response to receiving the cloud resource allocation information sent by the cloud resource management server, the allocated cloud resource is used according to the cloud resource allocation information.

In view of limited available resources, in order to make more effective use of the available resources and avoid resource waste caused by unnecessary resource requests initiated by a cloud resource requester, in this embodiment, when the cloud resource request is a third cloud resource request, if third cloud resource pre-operation information sent by the cloud resource management server is received, the third cloud resource pre-operation is executed according to the third cloud resource pre-operation information, and if subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server is received again, the subsequent operation is executed according to the subsequent operation information. The pre-operation may be, for example, a resource reservation operation, a resource cost pre-payment operation, a resource cost partial pre-payment operation, and the like, and the subsequent operation may be, for example, a resource ordering operation corresponding to the resource reservation operation, a resource cost confirmation payment operation corresponding to the resource cost pre-payment operation, a remaining cost partial payment operation corresponding to the resource cost partial pre-payment operation, and the like.

The technical features of the embodiments shown in fig. 4 to 5 and related embodiments are the same as or similar to the technical features described in the embodiments shown in fig. 1 to 3, and the explanation and description of the related technical features can refer to the explanation and description of the technical features in the embodiments shown in fig. 1 to 3, and are not repeated herein.

Fig. 6 is a flowchart illustrating a cloud resource management method according to still another embodiment of the present invention, which is suitable for a cloud resource management system, and as shown in fig. 6, the cloud resource management method includes the following steps S601-S604:

in step S601, a cloud resource request sends a cloud resource request to a cloud resource management server, where the cloud resource request at least includes a first cloud resource, a second cloud resource, and a third cloud resource;

in step S602, in response to receiving a cloud resource request sent by the cloud resource requester, the cloud resource management server sends an information acquisition request to the cloud resource requester, so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server;

in step S603, the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester;

in step S604, in response to receiving the cloud resource allocation information sent by the cloud resource management server, the cloud resource requester uses the allocated cloud resource according to the cloud resource allocation information.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management method is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In an embodiment of the present invention, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and the maximum capacity of the first cloud resource is a capacity of the cloud resource used in N percent of the scenes of the cloud resource requester, where 0< N < 100.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources of the cloud resource requester.

In an embodiment of the present invention, the allocating, by the cloud resource management server, cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and sending cloud resource allocation information to the cloud resource requester includes:

when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request is a second cloud resource request, the cloud resource management server acquires the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requesters is used up, and allocates the second cloud resource to the cloud resource requesters according to the available shared cloud resource capacity and the number of the cloud resource requesters requesting the second cloud resource;

when the cloud resource request is a third cloud resource request, after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, the cloud resource management server obtains third cloud resource request information carried by the third cloud resource request, and allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

In an embodiment of the present invention, the allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information is implemented as:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, the cloud resource management server calculates the third cloud resource pre-operation information and sends the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

in response to detecting that the cloud resource requester completes execution of the third cloud resource pre-operation, the cloud resource management server stages the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester completes execution of a subsequent operation corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource for the cloud resource requester.

In one embodiment of the present invention, the method further includes:

and the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resources, and adjusts the distribution of the cloud resources according to the use feedback information of the cloud resources.

The technical features of the embodiment shown in fig. 6 and related embodiments are the same as or similar to the technical features described in the embodiment shown in fig. 1 to 5, and the explanation and description of the related technical features may refer to the explanation and description of the technical features in the embodiment shown in fig. 1 to 5, and are not repeated herein.

Fig. 7 is a flowchart illustrating a cloud resource management application scenario according to an embodiment of the present invention, as shown in fig. 7, in the above embodiment, when a cloud resource requester needs to apply for a cloud resource, a cloud resource request is sent to a cloud resource management server, where the cloud resource request at least includes a first cloud resource, a second cloud resource, and a third cloud resource, and the cloud resource request may carry one or more of the following information: cloud resource requestor identification information; a cloud resource request category, such as whether a first cloud resource, a second cloud resource, or a third cloud resource is requested; different categories of cloud resource request capacity, etc.; the cloud resource management server sends an information acquisition request to the cloud resource requester after receiving a cloud resource request sent by the cloud resource requester, so that the cloud resource requester sends the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, after the cloud resource requester receives the information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, enabling the cloud resource management server to allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data; the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester; after receiving the cloud resource allocation information sent by the cloud resource management server, the cloud resource requester can use the cloud resources allocated by the cloud resource management server according to the cloud resource allocation information.

The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention.

Fig. 8 is a block diagram illustrating a configuration of a cloud resource management apparatus according to an embodiment of the present invention, which may be implemented as part or all of an electronic device, and may be implemented as a cloud resource management server, through software, hardware, or a combination of both. As shown in fig. 8, the cloud resource management apparatus includes:

a first sending module 801 configured to, in response to receiving a cloud resource request sent by a cloud resource requester, send an information obtaining request to the cloud resource requester to obtain attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period;

an allocating module 802 configured to allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a second sending module 803 configured to send cloud resource allocation information to the cloud resource requester.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management device is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In an embodiment of the present invention, the cloud resource request refers to a request that the cloud resource request sends to the cloud resource management server to request that the cloud resource management server use the cloud resource and request that the cloud resource management server allocate the cloud resource. Wherein the cloud resource request may carry one or more of the following information: cloud resource requestor identification information; a cloud resource request category, such as whether a first cloud resource, a second cloud resource, or a third cloud resource is requested; different classes of cloud resources request capacity, and so on.

In an embodiment of the present invention, in order to perform customized resource allocation for a cloud resource requester, after a cloud resource management server receives a cloud resource request sent by a cloud resource requester, the cloud resource management server sends an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period, so that the cloud resource management server can subsequently allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data. Wherein the attribute information of the cloud resource requester may include one or more of the following information: identity of the cloud resource requestor, such as whether it is an individual or an enterprise, a government agency, or a private company; the scale of the cloud resource requester, for example, if the cloud resource requester is an enterprise, the scale of the cloud resource requester indicates that the enterprise includes a number of people; and so on. Wherein, the historical cloud resource usage data of the cloud resource requester in the preset historical time period may include one or more of the following data: the cloud resource utilization method comprises the steps of using times of historical cloud resources in a preset historical time period, using capacity of the historical cloud resources in the preset historical time period each time, using total amount of the historical cloud resources in the preset historical time period, application scene information of the historical cloud resources in the preset historical time period, application scene quantity of the historical cloud resources in the preset historical time period, using cloud resource capacity of each application scene of the historical cloud resources in the preset historical time period and the like, wherein the preset historical time period can be set according to requirements of actual application, and specific values of the preset historical time period are not specifically limited.

In an embodiment of the present invention, the cloud resource allocation information refers to information related to cloud resources allocated to the cloud resource requesting party, which is sent to the cloud resource requesting party by the cloud resource management server after the cloud resource requesting party allocates cloud resources to the cloud resource requesting party, and the cloud resource allocated to the cloud resource requesting party by the cloud resource management server can be used according to the cloud resource allocation information by the subsequent cloud resource requesting party after receiving the cloud resource allocation information.

In an embodiment of the present invention, the first cloud resource is a cloud resource dedicated by the cloud resource requester, that is, a cloud resource reserved by the cloud resource requester and capable of being allocated to the cloud resource requester as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and a maximum capacity of the cloud resource is a cloud resource capacity that satisfies N percent of the cloud resource requester, that is, a cloud resource capacity at N% satisfaction, where 0< N <100, and a value of N may be set according to information such as attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource requester, a total available cloud resource capacity, and a total number of cloud resource requesters, for example, if the cloud resource requester is a government agency, a scale is greater than a preset scale threshold, a historical cloud resource usage number is greater than a preset number threshold, and the total historical cloud resource usage is greater than a preset total number threshold, the value of N can be set to be larger to ensure stable use of the dedicated cloud resource by the cloud resource requester.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources, but not exclusively shared cloud resources, of the cloud resource requester. The second cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource allocated to the cloud resource requester, that is, the first cloud resource cannot satisfy the use of the cloud resource requester, and the third cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource and the second cloud resource allocated to the cloud resource requester, that is, the first cloud resource and the second cloud resource cannot satisfy the use of the cloud resource requester.

In an embodiment of the present invention, as shown in fig. 9, the allocating module 802 includes:

a first allocating sub-module 901 configured to, in response to receiving a first cloud resource request sent by the cloud resource requester, allocate the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

the second allocating submodule 902 is configured to, in response to receiving a second cloud resource request sent by the cloud resource requester, after it is determined that a first cloud resource of the cloud resource requester is used up, obtain a current available shared cloud resource capacity and a number of cloud resource requesters requesting the second cloud resource, and allocate the second cloud resource to the cloud resource requester according to a request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of cloud resource requesters requesting the second cloud resource, and a capacity of the cloud resource requester requesting the second cloud resource;

a third allocating sub-module 903, configured to, in response to receiving a third cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, obtain third cloud resource request information carried in the third cloud resource request, and allocate the third cloud resource to the cloud resource requester according to the third cloud resource request information, where the third cloud resource request information at least includes one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

In order to fully utilize the available cloud resources, in this embodiment, the available cloud resources are allocated step-by-step, that is, first, a first cloud resource dedicated to the cloud resource requester is allocated, when the first cloud resource cannot meet the usage requirement of the cloud resource requester, a second cloud resource is allocated to the cloud resource requester, and when the second cloud resource cannot meet the usage requirement of the cloud resource requester, a third cloud resource is allocated to the cloud resource requester.

Specifically, when the cloud resource request sent by the cloud resource requester and received by the cloud resource management server is a request for requesting a first cloud resource, as described above, the first allocating sub-module 901 allocates the first cloud resource to the cloud resource requester according to the acquired attribute information of the cloud resource requester and the historical cloud resource usage data;

when the cloud resource request sent by the cloud resource requester received by the cloud resource management server is a request for requesting a second cloud resource, the second allocating sub-module 902 first determines whether the first cloud resource requested by the cloud resource requester has been used up, determines, after determining that the first cloud resource has been used up, a request sequence of all cloud resource requesters requesting the second cloud resource, obtains a current available shared cloud resource capacity and a number of all cloud resource requesters currently requesting the second cloud resource, and allocates the second cloud resource to the cloud resource requester according to the request sequence of the cloud resource requesters, the available shared cloud resource capacity, the number of all cloud resource requesters requesting the second cloud resource, and a capacity of the cloud resource requester requesting the second cloud resource, for example, when allocating the second cloud resource, according to the request sequence of the cloud resource requesters, the second cloud resources can be firstly allocated to the cloud resource requesters which request the second cloud resources, and then the cloud resource requesters which subsequently request the second cloud resources can be allocated; for example, considering that the available shared cloud resource capacity may not satisfy the requests of all cloud resource requesters, second cloud resources may be allocated to the cloud resource requesters in proportion according to the available shared cloud resource capacity, the number of all cloud resource requesters requesting second cloud resources, and the capacity of the second cloud resources requested by each cloud resource requester, so that the cloud resource requester requesting first requests can allocate resources first, and meanwhile, the requirements of all the cloud resource requesters can be considered;

when the cloud resource request sent by the cloud resource requester and received by the cloud resource management server is a request for requesting a third cloud resource, the third allocating sub-module 903 first confirms whether the first cloud resource and the second cloud resource requested by the cloud resource requester have been used up, and after confirming that the first cloud resource and the second cloud resource have been used up, acquires third cloud resource request information carried by the third cloud resource request, where the third cloud resource request information at least includes one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity, where the third cloud resource category may be, for example, a usage scenario category of the third cloud resource, a usage category of the third cloud resource, and the like, and then the third cloud resource is allocated to the cloud resource requester according to third cloud resource request information such as the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.

In an embodiment of the present invention, a portion of the third allocating sub-module 903, which allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, may be configured to:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, calculating third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

staging the third cloud resource for the cloud resource requestor in response to detecting that the cloud resource requestor has completed performing the third cloud resource pre-operation;

and in response to detecting that the cloud resource requester completes the subsequent operation corresponding to the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

In view of the limited available resources, in order to make more effective use of the available resources and avoid resource waste caused by unnecessary resource requests initiated by cloud resource requesters, in this embodiment, when the third allocation module 903 allocates a third cloud resource, if it is determined that the allocable third cloud resource is sufficient, first computing the third cloud resource pre-operation information, and sending the third cloud resource pre-operation information to the cloud resource requester so as to enable the cloud resource requester to execute the third cloud resource pre-operation according to the third cloud resource pre-operation information, and then when it is detected that the cloud resource requester finishes executing the third cloud resource pre-operation, allocating the third cloud resource to the cloud resource requester.

Wherein the third cloud resource pre-operation may be, for example, a resource reservation operation, a resource cost pre-payment operation, a resource cost partial pre-payment operation, or the like, after the cloud resource requester performs the third cloud resource pre-operation, the cloud resource management server may prepare the requested third cloud resource for the cloud resource requester, and subsequently when the cloud resource management server is ready for the third cloud resource, and the cloud resource requester performs corresponding subsequent operations within a preset time, the third cloud resource requested by the cloud resource requester is really allocated to the cloud resource requester, the subsequent operation may be, for example, a resource ordering operation corresponding to the resource reservation operation, a resource cost confirmation payment operation corresponding to the resource cost prepayment operation, a remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, or the like. The resource cost can be calculated by the cloud resource management server according to the cost consumed by cloud resource operations such as establishing cloud resources, maintaining cloud resources, providing equipment occupied by the cloud resources, manpower, land, infrastructure, time spent and the like, the resource cost partial prepayment operation refers to a payment operation performed on a resource cost with a preset proportion C, wherein the preset proportion C (0< C <1) can be determined according to historical cloud resource usage data of a cloud resource requester, particularly historical third cloud resource usage data, and the historical third cloud resource usage data can include one or more of the following data besides the historical cloud resource usage data: the number of times of performing pre-operation on the historical third cloud resource in the preset historical time period, the number of times of continuing to perform subsequent operation after performing pre-operation on the historical third cloud resource in the preset historical time period, the number of times of not continuing to perform subsequent operation after performing pre-operation on the historical third cloud resource in the preset historical time period, and the like. A fulfillment of the cloud resource requestor may be determined based on the historical third cloud resource usage data, such as calculating a performance rate of the cloud resource requester on the third cloud resource within a preset historical time period, the performance rate may be directly used as the preset ratio C, or the performance rate may be multiplied by a preset weight coefficient to be used as the preset ratio C, wherein the preset weight coefficient may be related to a request level of the cloud resource requester, such as, if the cloud resource requester is a government agency, the scale is greater than the preset scale threshold value, the historical cloud resource usage times are greater than the preset time threshold value, the historical cloud resource usage total amount is greater than the preset total amount threshold value, the request level of the cloud resource requester may be considered to be higher, and at this time, a higher weight coefficient may be set for the cloud resource requester, and conversely, a lower weight coefficient may be set for the cloud resource requester.

In an embodiment of the present invention, the apparatus further includes a part for acquiring usage feedback information of the cloud resource requester on the cloud resource and adjusting allocation of the cloud resource according to the usage feedback information of the cloud resource, that is, as shown in fig. 10, the apparatus includes:

a first sending module 1001, configured to send an information obtaining request to a cloud resource requester in response to receiving a cloud resource request sent by the cloud resource requester, so as to obtain attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period;

an allocating module 1002 configured to allocate cloud resources for the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a second sending module 1003 configured to send cloud resource allocation information to the cloud resource requester;

an adjusting module 1004 configured to obtain the usage feedback information of the cloud resource requester on the cloud resource, and adjust the allocation of the cloud resource according to the usage feedback information of the cloud resource.

In order to more fully and effectively utilize cloud resources and reasonably allocate the cloud resources, so as to avoid waste of the cloud resources and avoid repeated occurrence of cloud resource requests, in this embodiment, the adjusting module 1004 is further configured to adjust allocation of the cloud resources according to usage feedback information of the cloud resources, where the usage feedback information of the cloud resources may include one or more of the following information: the cloud resource management method comprises the steps of presetting the actual usage proportion of a cloud resource requester to each requested cloud resource in a historical time period, presetting the total usage proportion of the cloud resource requester to a plurality of requested cloud resources in the historical time period, presetting the number of times that the cloud resource requester requests the cloud resource in the historical time period, presetting the frequency that the cloud resource requester requests the cloud resource in the historical time period, presetting the performance rate of the cloud resource requester to a third cloud resource in the historical time period, and the like. For example, if the actual usage ratio of the cloud resource requester to the requested cloud resource each time in the preset history time period is higher than the preset ratio threshold, the number of times the cloud resource requester requests the cloud resource in the preset history time period is higher than the preset number threshold, and the performance rate of the cloud resource requester to the third cloud resource in the preset history time period is higher than the preset performance rate threshold, it is considered that the cloud resource requester requests the cloud resource very urgently and the requested cloud resource is fully and effectively utilized, and therefore, the capacity of the cloud resource requester to request the resource can be controlled up according to the preset ratio or the preset step value, and otherwise, the capacity of the cloud resource requester to request the resource can be controlled down.

Fig. 11 is a block diagram illustrating a cloud resource management apparatus according to another embodiment of the present invention, which may be implemented as part or all of an electronic device, and may be implemented as a cloud resource requester, through software, hardware, or a combination of the two. As shown in fig. 11, the cloud resource management apparatus includes:

a third sending module 1101 configured to send a cloud resource request to a cloud resource management server, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a fourth sending module 1102, configured to send, in response to receiving an information acquisition request sent by the cloud resource management server, attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

a using module 1103 configured to, in response to receiving the cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management device is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In the above embodiment, when a cloud resource requester needs to apply for a cloud resource, the third sending module 1101 sends a cloud resource request to the cloud resource management server, where the cloud resource request includes at least a first cloud resource, a second cloud resource, and a third cloud resource, and the cloud resource request may carry one or more of the following information: cloud resource requestor identification information; a cloud resource request category, such as whether a first cloud resource, a second cloud resource, or a third cloud resource is requested; different categories of cloud resource request capacity, etc.; after receiving an information acquisition request sent by the cloud resource management server, a fourth sending module 1102 sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, so that the cloud resource management server can allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data; finally, after receiving cloud resource allocation information sent by the cloud resource management server, the using module 1103 uses the cloud resources allocated by the cloud resource management server according to the cloud resource allocation information.

In an embodiment of the present invention, the first cloud resource is a cloud resource dedicated by the cloud resource requester, that is, a cloud resource reserved by the cloud resource requester and capable of being allocated to the cloud resource requester as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and a maximum capacity of the cloud resource is a cloud resource capacity that satisfies N percent of the cloud resource requester, that is, a cloud resource capacity at N% satisfaction, where 0< N <100, and a value of N may be set according to information such as attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource requester, a total available cloud resource capacity, and a total number of cloud resource requesters, for example, if the cloud resource requester is a government agency, a scale is greater than a preset scale threshold, a historical cloud resource usage number is greater than a preset number threshold, and the total historical cloud resource usage is greater than a preset total number threshold, the value of N can be set to be larger to ensure stable use of the dedicated cloud resource by the cloud resource requester.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources, but not exclusively shared cloud resources, of the cloud resource requester. The second cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource allocated to the cloud resource requester, that is, the first cloud resource cannot satisfy the use of the cloud resource requester, and the third cloud resource is a cloud resource that is requested to be used from the cloud resource management server after the cloud resource requester uses out the first cloud resource and the second cloud resource allocated to the cloud resource requester, that is, the first cloud resource and the second cloud resource cannot satisfy the use of the cloud resource requester.

In order to fully utilize available cloud resources, avoid resource waste as much as possible, and achieve reasonable utilization and control of cloud resources, in an embodiment of the present invention, when the cloud resource request is a third cloud resource request, the third cloud resource request at least carries one or more of the following information: the third cloud resource type, the third cloud resource usage period and the third cloud resource request capacity are used for informing the cloud resource management server of the amount of the third cloud resources required by the cloud resource requester at any time, so that the cloud resource management server can allocate the third cloud resources in a time-sharing manner, and the time-sharing multiplexing of the cloud resources is realized.

In an embodiment of the present invention, when the cloud resource request is a third cloud resource request, before the using module 1103, the method further includes: in response to receiving third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation according to the third cloud resource pre-operation information, and in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, executing a part of the subsequent operation according to the subsequent operation information, that is, as shown in fig. 12, the apparatus includes:

a third sending module 1201 configured to send a cloud resource request to a cloud resource management server, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

a fourth sending module 1202, configured to, in response to receiving an information acquisition request sent by the cloud resource management server, send attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester within a preset historical time period to the cloud resource management server, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;

an executing module 1203, configured to, in response to receiving third cloud resource pre-operation information sent by the cloud resource management server, execute the third cloud resource pre-operation according to the third cloud resource pre-operation information, and in response to receiving subsequent operation information sent by the cloud resource management server and corresponding to the third cloud resource pre-operation, execute the subsequent operation according to the subsequent operation information;

a using module 1204, configured to, in response to receiving the cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information.

In view of the limited available resources, in order to make more effective use of the available resources and avoid resource waste caused by unnecessary resource requests initiated by a cloud resource requester, in this embodiment, when the cloud resource request is a third cloud resource request, if third cloud resource pre-operation information sent by the cloud resource management server is received, the execution module 1203 executes the third cloud resource pre-operation according to the third cloud resource pre-operation information, and if subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server is received again, executes the subsequent operation according to the subsequent operation information. The pre-operation may be, for example, a resource reservation operation, a resource cost pre-payment operation, a resource cost partial pre-payment operation, and the like, and the subsequent operation may be, for example, a resource ordering operation corresponding to the resource reservation operation, a resource cost confirmation payment operation corresponding to the resource cost pre-payment operation, a remaining cost partial payment operation corresponding to the resource cost partial pre-payment operation, and the like.

Technical features related to the embodiments shown in fig. 11 to 12 and related embodiments are the same as or similar to the technical features described in the embodiments shown in fig. 8 to 10, and the explanation and description of the related technical features may refer to the explanation and description of the technical features in the embodiments shown in fig. 8 to 10, and are not repeated herein.

Fig. 13 is a block diagram illustrating a cloud resource management apparatus according to still another embodiment of the present invention, which may be implemented as part or all of an electronic device, and may be implemented as a cloud resource management system, through software, hardware, or a combination of both. As shown in fig. 13, the cloud resource management apparatus includes:

a cloud resource requester 1301 configured to send a cloud resource request to a cloud resource management server, and in response to receiving cloud resource allocation information sent by the cloud resource management server, use the allocated cloud resources according to the cloud resource allocation information, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;

the cloud resource management server 1302 is configured to, in response to receiving a cloud resource request sent by the cloud resource requester, send an information obtaining request to the cloud resource requester, so that the cloud resource requester sends attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period to the cloud resource management server, allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and send cloud resource allocation information to the cloud resource requester.

As mentioned above, with the development of data technology, cloud computing is increasingly widely used. The ECS (elastic computing) is used as an important basic product of cloud computing, the service capacity that resources are opened immediately when being used is provided for users, and compared with a traditional IDC (Internet Data Center) mode, the use cost of the users is greatly reduced, so that the elastic guarantee capacity of the cloud resources is the competitiveness of a cloud computing service provider, but the unlimited improvement of the elastic guarantee of the cloud resources can lead to exponential increase of the resource supply cost, and huge cost pressure is brought to the cloud computing service provider. At present, a cloud computing service provider is mainly divided into different levels according to basic information of a user, and each level corresponds to a rough elasticity upper limit, but the processing mode has the following problems: 1. the rough elasticity upper limit corresponding to each level is not suitable for all users, thus causing the unsatisfied or wasted resources; 2. for the personalized and sudden demands of the user, automatic response cannot be realized, and only the problem can be solved by periodically submitting a demand sheet through a background, the process is complex, and authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, the resource robbery is easy to happen during the peak period of resource use, and the user trust degree is further reduced.

In view of the above problem, in this embodiment, a cloud resource management device is provided, which allocates, to a cloud resource requester, a first cloud resource, a second cloud resource, and a third cloud resource that meet different usage requirements according to attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period. According to the technical scheme, through regulation and control of the cloud resources of different levels, the utilization rate of the supplied resources can be improved while the requirements of user individuation and resource elasticity are met, the situation that the resources are not met or wasted is avoided, the complexity of a resource request process and the resource supply cost are reduced, and the service quality of a cloud computing service provider is improved.

In an embodiment of the present invention, the first cloud resource is a dedicated cloud resource of the cloud resource requester, and the maximum capacity of the first cloud resource is a capacity of the cloud resource used in N percent of the scenes of the cloud resource requester, where 0< N < 100.

In an embodiment of the present invention, the second cloud resource and the third cloud resource are shared cloud resources of the cloud resource requester.

In an embodiment of the present invention, the part of the cloud resource management server 1302, which allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester, is configured to:

when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data;

when the cloud resource request is a second cloud resource request, the cloud resource management server acquires the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource after confirming that the first cloud resource of the cloud resource requesters is used up, and allocates the second cloud resource to the cloud resource requesters according to the available shared cloud resource capacity and the number of the cloud resource requesters requesting the second cloud resource;

when the cloud resource request is a third cloud resource request, after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used completely, the cloud resource management server obtains third cloud resource request information carried by the third cloud resource request, and allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information at least comprises one or more of the following information: a third cloud resource category, a third cloud resource usage period, and a third cloud resource request capacity.

In an embodiment of the present invention, the allocating, according to the third cloud resource request information, the part of the third cloud resource to the cloud resource requester is configured to:

when it is determined that allocatable third cloud resources are sufficient according to the third cloud resource request information, the cloud resource management server calculates the third cloud resource pre-operation information and sends the third cloud resource pre-operation information to the cloud resource requester so that the cloud resource requester executes the third cloud resource pre-operation according to the third cloud resource pre-operation information;

in response to detecting that the cloud resource requester completes execution of the third cloud resource pre-operation, the cloud resource management server stages the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester completes execution of a subsequent operation corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource for the cloud resource requester.

In an embodiment of the present invention, the cloud resource management server 1302 is further configured to:

and obtaining the use feedback information of the cloud resource requester on the cloud resources, and adjusting the distribution of the cloud resources according to the use feedback information of the cloud resources.

The technical features of the embodiment shown in fig. 13 and related embodiments are the same as or similar to the technical features described in the embodiment shown in fig. 8 to 12, and the explanation and description of the related technical features may refer to the explanation and description of the technical features in the embodiment shown in fig. 8 to 12, and are not repeated herein.

Fig. 14 is a block diagram illustrating a structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 14, the electronic device 1400 includes a memory 1401 and a processor 1402; wherein the content of the first and second substances,

the memory 1401 is used to store one or more computer instructions, which are executed by the processor 1402 to implement any of the method steps described above.

Fig. 15 is a schematic structural diagram of a computer system suitable for implementing the cloud resource management method according to the embodiment of the present invention.

As shown in fig. 15, the computer system 1500 includes a processing unit 1501 which can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1502 or a program loaded from a storage section 1508 into a Random Access Memory (RAM) 1503. In the RAM1503, various programs and data necessary for the operation of the system 1500 are also stored. The processing unit 1501, the ROM1502, and the RAM1503 are connected to each other by a bus 1504. An input/output (I/O) interface 1505 is also connected to bus 1504.

The following components are connected to the I/O interface 1505: an input portion 1506 including a keyboard, a mouse, and the like; an output portion 1507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1508 including a hard disk and the like; and a communication section 1509 including a network interface card such as a LAN card, a modem, or the like. The communication section 1509 performs communication processing via a network such as the internet. A drive 1510 is also connected to the I/O interface 1505 as needed. A removable medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1510 as necessary, so that a computer program read out therefrom is mounted into the storage section 1508 as necessary. The processing unit 1501 may be implemented as a CPU, a GPU, an FPGA, an NPU, or other processing units.

In particular, the above described method may be implemented as a computer software program according to an embodiment of the present invention. For example, embodiments of the present invention include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the cloud resource management method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1509, and/or installed from the removable medium 1511.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The units or modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.

As another aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium may be a computer-readable storage medium included in the apparatus in the foregoing embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the embodiments of the present invention.

The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention according to the embodiments of the present invention is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present invention are mutually replaced to form the technical solution.

39页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种会话信息同步方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!