CN112887228B - Cloud resource management method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN112887228B
CN112887228B CN201911206895.3A CN201911206895A CN112887228B CN 112887228 B CN112887228 B CN 112887228B CN 201911206895 A CN201911206895 A CN 201911206895A CN 112887228 B CN112887228 B CN 112887228B
Authority
CN
China
Prior art keywords
cloud resource
cloud
requester
resource
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911206895.3A
Other languages
Chinese (zh)
Other versions
CN112887228A (en
Inventor
于颜硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911206895.3A priority Critical patent/CN112887228B/en
Priority to TW109128234A priority patent/TW202121274A/en
Priority to PCT/CN2020/131671 priority patent/WO2021104349A1/en
Publication of CN112887228A publication Critical patent/CN112887228A/en
Application granted granted Critical
Publication of CN112887228B publication Critical patent/CN112887228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

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 cloud resource management 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 use data of the cloud resource requester in a preset historical time period; distributing cloud resources for the cloud resource requesting party according to the attribute information and the historical cloud resource use data of the cloud resource requesting party; and sending cloud resource allocation information to the cloud resource requesting party. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then the service quality of a cloud computing service provider is improved.

Description

Cloud resource management method and device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of cloud resource management, in particular to a cloud resource management method, a cloud resource management device, electronic equipment and a computer readable storage medium.
Background
With the development of data technology, cloud computing is increasingly widely used. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
Disclosure of Invention
The embodiment of the invention provides a cloud resource management method, a cloud resource management 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 use data of the cloud resource requester in a preset historical time period;
distributing cloud resources for the cloud resource requesting party according to the attribute information and the historical cloud resource use data of the cloud resource requesting party, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;
and sending cloud resource allocation information to the cloud resource requesting party.
With reference to the first aspect, in a first implementation manner of the first aspect, the first cloud resource is a cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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 attribute information and historical cloud resource usage data of the cloud resource requester includes:
responding to a first cloud resource request sent by the cloud resource requester, and distributing the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
responding to a second cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource of the cloud resource requester is used up, acquiring the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, and distributing the second cloud resource for 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 up, acquiring third cloud resource request information carried by the third cloud resource request, and distributing the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 follows:
when the fact that the third cloud resources which can be allocated are sufficient is determined 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
In response to detecting that the cloud resource requester finishes the third cloud resource pre-operation, raising the third cloud resource for the cloud resource requester;
and distributing the third cloud resource for the cloud resource requester in response to detecting that the cloud resource requester finishes the follow-up operation corresponding to the third cloud resource pre-operation.
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 disclosure further includes:
and acquiring the use feedback information of the cloud resource requester on the cloud resource, and adjusting the allocation of the cloud resource according to the use feedback information of the cloud resource.
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 resource at least comprises a first cloud resource, a second cloud resource and a third cloud resource;
responding to an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource use 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 distributes cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource use data of the cloud resource requester;
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 cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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 carries at least one or more of the following information: the third cloud resource class, the third cloud resource usage period, and the 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, when the cloud resource request is a third cloud resource request, before the responding to 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 includes:
And responding to receiving follow-up operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, and executing the follow-up operation according to the follow-up 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 sends a cloud resource request to a cloud resource management server, wherein the cloud resource at least comprises 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 request sends attribute information of the cloud resource requester and historical cloud resource use 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 for the cloud resource requesting party according to the attribute information and the historical cloud resource use data of the cloud resource requesting party, and sends cloud resource allocation information to the cloud resource requesting party;
And responding to the received cloud resource allocation information sent by the cloud resource management server, and using the allocated cloud resources by the cloud resource requester 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 cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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, the embodiment of the present invention shares cloud resources for the cloud resource requester by the second cloud resource and the third cloud resource.
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 cloud resource management server allocates cloud resources for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, and sends cloud resource allocation information to the cloud resource requester, including:
when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
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 distributes the second cloud resource for the cloud resource requesters according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
when the cloud resource request is a third cloud resource request, the cloud resource management server acquires third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and distributes the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 for the cloud resource requester is implemented as follows:
When the fact that the third cloud resources can be allocated enough is determined according to the third cloud resource request information, the cloud resource management server calculates 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
and in response to detecting that the cloud resource requester finishes the execution of the third cloud resource pre-operation, the cloud resource management server prepares the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester finishes the execution of the 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 disclosure further includes:
the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource.
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 cloud resource management module, wherein the first sending module is configured to send an information acquisition request to a cloud resource requester in response to receiving a cloud resource request sent by the cloud resource requester so as 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;
the cloud resource allocation module is configured to allocate cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;
and the second sending module is configured to send cloud resource allocation information to the cloud resource requesting party.
With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the first cloud resource is a cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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 allocation module includes:
the first allocation submodule is configured to allocate the first cloud resources for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester in response to receiving a first cloud resource request sent by the cloud resource requester;
the second allocation submodule is configured to respond to receiving 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 for 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;
the third allocation submodule is configured to respond to receiving a third cloud resource request sent by the cloud resource requester, acquire third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and allocate the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 allocation submodule that allocates the third cloud resource for the cloud resource requester according to the third cloud resource request information is configured to:
when the fact that the third cloud resources which can be allocated are sufficient is determined 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
in response to detecting that the cloud resource requester finishes the third cloud resource pre-operation, raising the third cloud resource for the cloud resource requester;
and distributing the third cloud resource for the cloud resource requester in response to detecting that the cloud resource requester finishes the follow-up operation corresponding to the third cloud resource pre-operation.
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 disclosure further includes:
The adjustment 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, in an embodiment of the present invention, a cloud resource management apparatus is provided.
Specifically, the cloud resource management device includes:
the cloud resource management server is configured to send a cloud resource request to the third sending module, wherein the cloud resource at least comprises a first cloud resource, a second cloud resource and a third cloud resource;
a fourth sending module, configured to send 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 in response to receiving an information acquisition request sent by the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
and the use module is configured to respond to receiving cloud resource allocation information sent by the cloud resource management server and 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 cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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 carries at least one or more of the following information: the third cloud resource class, the third cloud resource usage period, and the 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, before the using module, the method further includes:
The execution module is configured to respond 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, respond to receiving follow-up operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, and execute the follow-up operation according to the follow-up operation information.
In a sixth aspect, in an embodiment of the present invention, a cloud resource management apparatus is provided.
Specifically, the cloud resource management device includes:
the cloud resource management server is configured to send a cloud resource request to the cloud resource request party, and respond to receiving cloud resource allocation information sent by the cloud resource management server, and use the allocated cloud resources according to the cloud resource allocation information, wherein the cloud resources at least comprise a first cloud resource, a second cloud resource and a third cloud resource;
the cloud resource management server is configured to respond to the cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester, enable the cloud resource requester to send attribute information of the cloud resource requester and historical cloud resource use 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 use 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 embodiment of the present invention in the sixth aspect, the first cloud resource is a cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent of the cloud resource requester, 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 present disclosure includes a portion in the cloud resource management server that allocates a cloud resource for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, and sends cloud resource allocation information to the cloud resource requester, where the portion is configured to:
when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
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 distributes the second cloud resource for the cloud resource requesters according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
when the cloud resource request is a third cloud resource request, the cloud resource management server acquires third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and distributes the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 portion that allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information is configured to:
When the fact that the third cloud resources can be allocated enough is determined according to the third cloud resource request information, the cloud resource management server calculates 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
and in response to detecting that the cloud resource requester finishes the execution of the third cloud resource pre-operation, the cloud resource management server prepares the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester finishes the execution of the 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 acquiring the use feedback information of the cloud resource requester on the cloud resource, and adjusting the allocation of the cloud resource according to the use feedback information of the cloud resource.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including a memory for storing one or more computer instructions for supporting a cloud resource management apparatus to perform the above-described cloud resource management method, and a processor configured to execute the computer instructions stored in the memory. The cloud resource management apparatus may further comprise a communication interface for the cloud resource management apparatus 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, configured to store computer instructions for use by a cloud resource management device, where the computer instructions are configured to perform the above-mentioned cloud resource management method for use by the cloud resource management device.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
according to the technical scheme, according to the attribute information of the cloud resource requesting party and the historical cloud resource use data of the cloud resource requesting party in the preset historical time period, the first cloud resource, the second cloud resource and the third cloud resource which meet different use requirements are distributed to the cloud resource requesting party. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then 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 present invention will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 shows a flow chart of a cloud resource management method according to an embodiment of the present invention;
fig. 2 shows a flowchart of step S102 of the cloud resource management method according to the embodiment shown in fig. 1;
FIGS. 3-6 illustrate flowcharts of cloud resource management methods according to various embodiments of the present invention;
FIG. 7 illustrates a cloud resource management application scenario flowchart according to an embodiment of the present invention;
fig. 8 shows a block diagram of a configuration of a cloud resource management apparatus according to an embodiment of the present invention;
FIG. 9 shows a block diagram of the configuration of an allocation module 802 of the cloud resource management device according to the embodiment shown in FIG. 8;
FIGS. 10-13 are block diagrams illustrating the construction of a cloud resource management device according to various 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 diagram of a computer system suitable for use in implementing a cloud resource management method according to an embodiment of the present invention.
Detailed Description
Hereinafter, exemplary implementations of 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. In addition, for the sake of clarity, portions irrelevant to description of the exemplary embodiments are omitted in the drawings.
In embodiments of the invention, it should be understood that terms such as "comprises" or "comprising," etc., are intended to indicate the presence of features, numbers, steps, acts, components, portions, or combinations thereof disclosed in the specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, acts, components, portions, or combinations thereof are present or added.
In addition, it should be noted that, without conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
According to the technical scheme provided by the embodiment of the invention, according to the attribute information of the cloud resource requester and the historical cloud resource use data thereof in the preset historical time period, the first cloud resource, the second cloud resource and the third cloud resource which meet different use requirements are distributed for the cloud resource requester. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then 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 applicable to a cloud resource management server, as shown in fig. 1, and 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 in a preset historical time period;
in step S102, cloud resources are allocated to the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, 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, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management method is provided, which allocates first cloud resources, second cloud resources, and third cloud resources meeting different usage requirements for a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then 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 sent by a cloud resource request to the cloud resource management server to use a cloud resource, and a request sent by the cloud resource request to the cloud resource management server to allocate the cloud resource. Wherein the cloud resource request may carry one or more of the following information: cloud resource requester identification information; a cloud resource request category, such as whether to request a first cloud resource, a second cloud resource, or a third cloud resource; different classes of cloud resource 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 the cloud resource requester, an information acquisition request is sent 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 allocate cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester. Wherein, the attribute information of the cloud resource requester may include one or more of the following information: the identity of the cloud resource requestor, such as whether it is an individual or business, whether it is a government agency or private company; the scale of the cloud resource requester, for example, if the cloud resource requester is an enterprise, the scale refers to how many people the enterprise is; etc. Wherein, the historical cloud resource usage data of the cloud resource requester in the preset historical period of time may include one or more of the following data: the method comprises the steps of presetting the use times of historical cloud resources in a historical time period, presetting the use capacity of the historical cloud resources each time in the historical time period, presetting the use total amount of the historical cloud resources in the historical time period, presetting the application scene information of the historical cloud resources in the historical time period, presetting the application scene number of the historical cloud resources in the historical time period, presetting the use cloud resource capacity of each application scene of the historical cloud resources in the historical time period and the like, wherein the preset historical time period can be set according to the needs of practical applications, and the specific value of the cloud resources is not particularly limited.
In an embodiment of the present invention, the cloud resource allocation information refers to information related to cloud resources allocated to a cloud resource requester after the cloud resource management server allocates the cloud resources to the cloud resource requester, and after receiving the cloud resource allocation information, the cloud resource requester may use the cloud resources allocated to 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 that is reserved by the cloud resource requester and can be allocated to the cloud resource as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and the maximum capacity of the first cloud resource is a cloud resource capacity that satisfies the cloud resource used by the cloud resource requester in the N-percent scenario, i.e. a cloud resource capacity under the N% satisfaction, where the value of 0< N <100, N may be set according to attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource, total available cloud resource capacity, total number of cloud resource requesters, and the like, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of historical cloud resource usage is greater than a preset number of times threshold, and the total number of historical cloud resource usage is greater than a preset total number of times threshold, the value of N may be set to be greater than the value of N, so as to ensure the stability of the cloud resource to be used by the cloud resource requester.
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, and not a private cloud resource. The second cloud resource is a cloud resource which is used by the cloud resource management server after the cloud resource requester uses up the first cloud resource allocated to the cloud resource requester, namely when the first cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is used by the cloud resource requester after the cloud resource requester uses up the first cloud resource and the second cloud resource allocated to the cloud resource requester, namely when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester.
In an embodiment of the present invention, as shown in fig. 2, the step S102, that is, the step of allocating cloud resources to the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester, 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 attribute information and historical cloud resource usage data of the cloud resource requester;
In step S202, in response to receiving a second cloud resource request sent by the cloud resource requester, after confirming that the first cloud resource of the cloud resource requester is used up, acquiring a current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, and distributing the second cloud resource for 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 confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, third cloud resource request information carried by 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: the third cloud resource class, the third cloud resource usage period, and the third cloud resource request capacity.
In order to fully utilize the available cloud resources, in this embodiment, the available cloud resources are allocated in a stepping manner, that is, a first cloud resource is allocated to the cloud resource requester, a second cloud resource is allocated to the first cloud resource when the first cloud resource cannot meet the use requirement of the cloud resource requester, and a third cloud resource is allocated to the second cloud resource when the second cloud resource cannot meet the use requirement of 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 cloud resource is allocated to the cloud resource requester according to the acquired attribute information and historical cloud resource usage data of the cloud resource requester;
when the cloud resource request sent by the cloud resource management server is a request for requesting a second cloud resource, firstly confirming whether a first cloud resource previously requested by the cloud resource requester is used or not, after confirming that the first cloud resource is used, confirming the request sequence of all cloud resource requesters requesting the second cloud resource, acquiring the current available shared cloud resource capacity and the number of all cloud resource requesters currently requesting the second cloud resource, and distributing the second cloud resource for the cloud resource requester requesting the second cloud resource according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of all cloud resource requesters requesting the second cloud resource and the capacity of the cloud resource requester requesting the second cloud resource, for example, when distributing the second cloud resource, the second cloud resource can be distributed for the cloud resource requester requesting the second cloud resource first according to the request sequence of the cloud resource requester, and then distributing the cloud resource for the subsequent cloud resource requesters requesting the second cloud resource; for example, considering that the available shared cloud resource capacity may not meet the requests of all cloud resource requesters, the second cloud resource may be allocated to the cloud resource requesters according to the available shared cloud resource capacity, the number of all cloud resource requesters requesting the second cloud resource, and the capacity of the second cloud resource requested by each cloud resource requester, so that the cloud resource requesters that request first can be allocated to obtain the resource first, and meanwhile, the requirements of all cloud resource requesters can be considered;
When the cloud resource request sent by the cloud resource request party and received by the cloud resource management server is a request for requesting a third cloud resource, firstly confirming whether a first cloud resource and a second cloud resource requested before the cloud resource request party are used completely, and after confirming that the first cloud resource and the second cloud resource are used completely, acquiring third cloud resource request information carried by the third cloud resource request, wherein the third cloud resource request information at least comprises one or more of the following information: the third cloud resource category can be, for example, a usage scenario category of the third cloud resource, a usage purpose 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, the third cloud resource request capacity, and the like.
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 the fact that the third cloud resources which can be allocated are sufficient is determined 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
in response to detecting that the cloud resource requester finishes the third cloud resource pre-operation, raising the third cloud resource for the cloud resource requester;
and distributing the third cloud resource for the cloud resource requester in response to detecting that the cloud resource requester finishes the follow-up operation corresponding to the third cloud resource pre-operation.
In this embodiment, when a third cloud resource is allocated, if it is determined that the third cloud resource is sufficient, the third cloud resource pre-operation information is calculated first, and the third cloud resource pre-operation information is sent to the cloud resource requester so that the third cloud resource pre-operation is executed 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, the third cloud resource is allocated to the cloud resource requester.
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, etc., 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, and then when the cloud resource management server prepares the third cloud resource and the cloud resource requester performs the corresponding subsequent operation within a preset time, the cloud resource requester may actually allocate the third cloud resource requested by the cloud resource requester to the cloud resource requester, where 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, etc. Wherein the resource cost may be calculated by the cloud resource management server according to costs consumed by cloud resource operations such as establishing cloud resources, maintaining cloud resources, providing equipment occupied by cloud resources, manpower, land, infrastructure, time spent, etc., the resource cost partial prepayment operation refers to a payment operation performed for a resource cost of a preset proportion C, wherein the preset proportion C (0 < C < 1) may be determined according to cloud resource requester historical cloud resource usage data, in particular historical third cloud resource usage data, which may include one or more of the following data in addition to the above-mentioned historical cloud resource usage data: the number of times of pre-operation performed by the historical third cloud resource in the preset historical time period, the number of times of follow-up operation continued to be performed after pre-operation performed by the historical third cloud resource in the preset historical time period, the number of times of follow-up operation not continued to be performed after pre-operation performed by the historical third cloud resource in the preset historical time period, and the like. Based on the historical third cloud resource usage data, the performance of the cloud resource requester may be determined, for example, the performance rate of the cloud resource requester on the third cloud resource in a preset historical time period may be calculated, the performance rate may be directly used as the preset proportion C, or the performance rate may be multiplied by a preset weight coefficient and then used as the preset proportion C, where the preset weight coefficient may be related to the request level of the cloud resource requester, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of using the historical cloud resource is greater than a preset number of times threshold, and the total number of times of using the historical cloud resource is greater than a preset total number threshold, 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, or, otherwise, a lower weight coefficient may be set for the cloud resource requester.
In an embodiment of the present invention, the method further includes a step of obtaining feedback information of the cloud resource usage by the cloud resource requester, and adjusting allocation of the cloud resource according to the feedback information of the cloud resource usage, 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 in a preset historical time period;
in step S302, cloud resources are allocated to the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, where the cloud resources at least include a first cloud resource, a second cloud resource and a third cloud resource;
in step S303, cloud resource allocation information is sent to the cloud resource requester;
in step S304, usage feedback information of the cloud resource by the cloud resource requester 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, the cloud resources are reasonably allocated, so that not only is the waste of the cloud resources avoided, but also the repeated occurrence of cloud resource requests is avoided, in the embodiment, the allocation of the cloud resources is regulated according to the use feedback information of the cloud resources, wherein the use feedback information of the cloud resources can comprise one or more of the following information: the actual use proportion of the cloud resource requester to each requested cloud resource in the preset history period, the total use proportion of the cloud resource requester to a plurality of times of requested cloud resources in the preset history period, the number of times of cloud resource requester requesting cloud resources in the preset history period, the frequency of cloud resource requester requesting cloud resources in the preset history period, the performance rate of the cloud resource requester to the third cloud resource in the preset history period and the like. For example, if the actual usage ratio of the cloud resource requester to the cloud resource requested each time in the preset history period is higher than a preset ratio threshold, the number of times the cloud resource requester requests the cloud resource in the preset history period is higher than a preset number threshold, and the performance rate of the cloud resource requester to the third cloud resource in the preset history period is higher than a preset performance rate threshold, the cloud resource requester is considered to be very urgent in requesting the cloud resource, and the requested cloud resource can be fully and effectively utilized, so that the capacity of the cloud resource requester for requesting the resource can be controlled up according to the preset ratio or the preset step value, otherwise, the capacity of the cloud resource requester for requesting the resource is controlled down.
Fig. 4 shows a flowchart of a cloud resource management method according to another embodiment of the present invention, which is applicable to a cloud resource requester, as shown in fig. 4, and 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 resource at least includes a first cloud resource, a second cloud resource, and a third cloud resource;
in step S402, in response to receiving the 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 in a preset historical time period are sent to the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
in step S403, in response to receiving cloud resource allocation information sent by the cloud resource management server, the allocated cloud resources are used according to the cloud resource allocation information.
As mentioned above, with the development of data technology, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management method is provided, which allocates first cloud resources, second cloud resources, and third cloud resources meeting different usage requirements for a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then the service quality of a cloud computing service provider is improved.
In the foregoing embodiment, when the cloud resource requester needs to apply for a cloud resource, a cloud resource request is sent to the cloud resource management server, where the cloud resource 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 requester identification information; a cloud resource request category, such as whether to request a first cloud resource, a second cloud resource, or a third cloud resource; different types 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 for 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 the 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 that is reserved by the cloud resource requester and can be allocated to the cloud resource as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and the maximum capacity of the first cloud resource is a cloud resource capacity that satisfies the cloud resource used by the cloud resource requester in the N-percent scenario, i.e. a cloud resource capacity under the N% satisfaction, where the value of 0< N <100, N may be set according to attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource, total available cloud resource capacity, total number of cloud resource requesters, and the like, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of historical cloud resource usage is greater than a preset number of times threshold, and the total number of historical cloud resource usage is greater than a preset total number of times threshold, the value of N may be set to be greater than the value of N, so as to ensure the stability of the cloud resource to be used by the cloud resource requester.
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, and not a private cloud resource. The second cloud resource is a cloud resource which is used by the cloud resource management server after the cloud resource requester uses up the first cloud resource allocated to the cloud resource requester, namely when the first cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is used by the cloud resource requester after the cloud resource requester uses up the first cloud resource and the second cloud resource allocated to the cloud resource requester, namely when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester.
In order to fully utilize available cloud resources and avoid waste of resources 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 cloud resource management server is used for informing the cloud resource management server of the third cloud resource which is needed to be used by the cloud resource requesting party when, the third cloud resource management server is convenient for carrying out time-sharing distribution on the third cloud resource, and time-sharing multiplexing of the cloud resource is achieved.
In an embodiment of the present invention, when the cloud resource request is a third cloud resource request, the step S403, that is, before the step of using the allocated cloud resource according to the cloud resource allocation information in response to receiving the cloud resource allocation information sent by the cloud resource management server, 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, in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, executing the step of subsequent operation according to the subsequent operation information, that is, as shown in fig. 5, the method includes the following steps S501-S504:
In step S501, a cloud resource request is sent to a cloud resource management server, where the cloud resource at least includes 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, attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical time period are sent to the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
in step S503, in response to receiving third cloud resource pre-operation information sent by the cloud resource management server, performing the third cloud resource pre-operation according to the third cloud resource pre-operation information, in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, performing the subsequent operation according to the subsequent operation information;
in step S504, in response to receiving cloud resource allocation information sent by the cloud resource management server, using the allocated cloud resources according to the cloud resource allocation information.
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, 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 related to the embodiments shown in fig. 4 to fig. 5 are the same as or similar to those described in the embodiments shown in fig. 1 to fig. 3, 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. 1 to fig. 3, which are not repeated herein.
Fig. 6 shows a flowchart of a cloud resource management method according to still another embodiment of the present invention, which is applicable to a cloud resource management system, as shown in fig. 6, and 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 includes at least a first cloud resource, a second cloud resource, and a third cloud resource;
in step S602, in response to receiving the 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 request 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;
in step S603, the cloud resource management server allocates cloud resources for 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;
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, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management method is provided, which allocates first cloud resources, second cloud resources, and third cloud resources meeting different usage requirements for a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then the service quality of a cloud computing service provider is improved.
In an embodiment of the present invention, the first cloud resource is a cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent 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 share a cloud resource for the cloud resource requester.
In an embodiment of the present invention, the cloud resource management server allocates cloud resources for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, and sends cloud resource allocation information to the cloud resource requester, including:
When the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
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 distributes the second cloud resource for the cloud resource requesters according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
when the cloud resource request is a third cloud resource request, the cloud resource management server acquires third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and distributes the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 the fact that the third cloud resources can be allocated enough is determined according to the third cloud resource request information, the cloud resource management server calculates 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
and in response to detecting that the cloud resource requester finishes the execution of the third cloud resource pre-operation, the cloud resource management server prepares the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester finishes the execution of the 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 comprises:
the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource.
The technical features related to the embodiment shown in fig. 6 and described in the embodiment shown in fig. 1 to 5 are the same as or similar to those 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, which are not repeated herein.
Fig. 7 is a flowchart of 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 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 requester identification information; a cloud resource request category, such as whether to request a first cloud resource, a second cloud resource, or a third cloud resource; different types of cloud resource request capacity, etc.; after receiving the cloud resource request sent by the cloud resource management server, the cloud resource management server sends an information acquisition request to the cloud resource request party, so that the cloud resource request party sends attribute information of the cloud resource request party and historical cloud resource use data of the cloud resource request party in a preset historical time period to the cloud resource management server, and after receiving the information acquisition request sent by the cloud resource management server, the cloud resource management server sends the attribute information of the cloud resource request party and the historical cloud resource use data of the cloud resource request party in the preset historical time period to the cloud resource management server, so that the cloud resource management server can allocate cloud resources for the cloud resource request party according to the attribute information and the historical cloud resource use data of the cloud resource request party; the cloud resource management server allocates cloud resources for the cloud resource requesting party according to the attribute information and the historical cloud resource use data of the cloud resource requesting party, and sends cloud resource allocation information to the cloud resource requesting party; after receiving the cloud resource allocation information sent by the cloud resource management server, the cloud resource requester can use the cloud resource allocated by the cloud resource management server according to the cloud resource allocation information.
The following are examples of the apparatus of the present invention that may be used to perform the method embodiments of the present invention.
Fig. 8 shows a block diagram 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 by software, hardware, or a combination of both, and may be implemented as a cloud resource management server. As shown in fig. 8, the cloud resource management apparatus includes:
a first sending module 801, configured to send an information acquisition request to a cloud resource requester in response to receiving a cloud resource request sent by the cloud resource requester, so as 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;
an allocation module 802 configured to allocate cloud resources for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;
a second sending module 803 is configured to send cloud resource allocation information to the cloud resource requester.
As mentioned above, with the development of data technology, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management apparatus is provided that allocates first cloud resources, second cloud resources, and third cloud resources satisfying different usage demands to a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then 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 sent by a cloud resource request to the cloud resource management server to use a cloud resource, and a request sent by the cloud resource request to the cloud resource management server to allocate the cloud resource. Wherein the cloud resource request may carry one or more of the following information: cloud resource requester identification information; a cloud resource request category, such as whether to request a first cloud resource, a second cloud resource, or a third cloud resource; different classes of cloud resource 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 the cloud resource requester, an information acquisition request is sent 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 allocate cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester. Wherein, the attribute information of the cloud resource requester may include one or more of the following information: the identity of the cloud resource requestor, such as whether it is an individual or business, whether it is a government agency or private company; the scale of the cloud resource requester, for example, if the cloud resource requester is an enterprise, the scale refers to how many people the enterprise is; etc. Wherein, the historical cloud resource usage data of the cloud resource requester in the preset historical period of time may include one or more of the following data: the method comprises the steps of presetting the use times of historical cloud resources in a historical time period, presetting the use capacity of the historical cloud resources each time in the historical time period, presetting the use total amount of the historical cloud resources in the historical time period, presetting the application scene information of the historical cloud resources in the historical time period, presetting the application scene number of the historical cloud resources in the historical time period, presetting the use cloud resource capacity of each application scene of the historical cloud resources in the historical time period and the like, wherein the preset historical time period can be set according to the needs of practical applications, and the specific value of the cloud resources is not particularly limited.
In an embodiment of the present invention, the cloud resource allocation information refers to information related to cloud resources allocated to a cloud resource requester after the cloud resource management server allocates the cloud resources to the cloud resource requester, and after receiving the cloud resource allocation information, the cloud resource requester may use the cloud resources allocated to 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 that is reserved by the cloud resource requester and can be allocated to the cloud resource as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and the maximum capacity of the first cloud resource is a cloud resource capacity that satisfies the cloud resource used by the cloud resource requester in the N-percent scenario, i.e. a cloud resource capacity under the N% satisfaction, where the value of 0< N <100, N may be set according to attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource, total available cloud resource capacity, total number of cloud resource requesters, and the like, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of historical cloud resource usage is greater than a preset number of times threshold, and the total number of historical cloud resource usage is greater than a preset total number of times threshold, the value of N may be set to be greater than the value of N, so as to ensure the stability of the cloud resource to be used by the cloud resource requester.
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, and not a private cloud resource. The second cloud resource is a cloud resource which is used by the cloud resource management server after the cloud resource requester uses up the first cloud resource allocated to the cloud resource requester, namely when the first cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is used by the cloud resource requester after the cloud resource requester uses up the first cloud resource and the second cloud resource allocated to the cloud resource requester, namely when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester.
In one embodiment of the present invention, as shown in fig. 9, the allocation module 802 includes:
a first allocation submodule 901, configured to allocate, in response to receiving a first cloud resource request sent by the cloud resource requester, the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester;
a second allocation sub-module 902, configured to respond to receiving a second cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource of the cloud resource requester is used, 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 for 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 allocation submodule 903, configured to respond 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 up, obtain third cloud resource request information carried by the third cloud resource request, and allocate the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the third cloud resource request capacity.
In order to fully utilize the available cloud resources, in this embodiment, the available cloud resources are allocated in a stepping manner, that is, a first cloud resource is allocated to the cloud resource requester, a second cloud resource is allocated to the first cloud resource when the first cloud resource cannot meet the use requirement of the cloud resource requester, and a third cloud resource is allocated to the second cloud resource when the second cloud resource cannot meet the use requirement of 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 allocation submodule 901 allocates the first cloud resource for the cloud resource requester according to the acquired attribute information and the historical cloud resource usage data of the cloud resource requester;
When the cloud resource request sent by the cloud resource management server is a request for requesting a second cloud resource, the second allocation submodule 902 first confirms whether a first cloud resource previously requested by the cloud resource requester is used, after confirming that the first cloud resource is used, confirms a request sequence of all cloud resource requesters requesting the second cloud resource, obtains a current available shared cloud resource capacity and the number of all cloud resource requesters currently requesting the second cloud resource, and allocates the second cloud resource for the cloud resource requester according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, the number of all cloud resource requesters requesting the second cloud resource and the capacity of the cloud resource requester requesting the second cloud resource, for example, when allocating the second cloud resource, the second cloud resource may be allocated for the cloud resource requester that requests the second cloud resource first according to the request sequence of the cloud resource requester, and then allocates the cloud resource for the subsequent cloud resource requester; for example, considering that the available shared cloud resource capacity may not meet the requests of all cloud resource requesters, the second cloud resource may be allocated to the cloud resource requesters according to the available shared cloud resource capacity, the number of all cloud resource requesters requesting the second cloud resource, and the capacity of the second cloud resource requested by each cloud resource requester, so that the cloud resource requesters that request first can be allocated to obtain the resource first, and meanwhile, the requirements of all cloud resource requesters can be considered;
When the cloud resource request sent by the cloud resource management server is a request for requesting a third cloud resource, the third allocation submodule 903 first confirms whether the first cloud resource and the second cloud resource requested before the cloud resource requester have been used, and after confirming that the first cloud resource and the second cloud resource have been used, 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: the third cloud resource category can be, for example, a usage scenario category of the third cloud resource, a usage purpose 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, the third cloud resource request capacity, and the like.
In an embodiment of the present invention, the portion of the third allocation submodule 903 that allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information may be configured to:
When the fact that the third cloud resources which can be allocated are sufficient is determined 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
in response to detecting that the cloud resource requester finishes the third cloud resource pre-operation, raising the third cloud resource for the cloud resource requester;
and distributing the third cloud resource for the cloud resource requester in response to detecting that the cloud resource requester finishes the follow-up operation corresponding to the third cloud resource pre-operation.
In this embodiment, when the third allocation submodule 903 allocates a third cloud resource, if it is determined that the third cloud resource is sufficient, the third cloud resource pre-operation information is calculated first, and the third cloud resource pre-operation information is sent to the cloud resource requester so that the third cloud resource requester performs 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 the third cloud resource pre-operation, the third cloud resource is allocated to the cloud resource requester.
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, etc., 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, and then when the cloud resource management server prepares the third cloud resource and the cloud resource requester performs the corresponding subsequent operation within a preset time, the cloud resource requester may actually allocate the third cloud resource requested by the cloud resource requester to the cloud resource requester, where 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, etc. Wherein the resource cost may be calculated by the cloud resource management server according to costs consumed by cloud resource operations such as establishing cloud resources, maintaining cloud resources, providing equipment occupied by cloud resources, manpower, land, infrastructure, time spent, etc., the resource cost partial prepayment operation refers to a payment operation performed for a resource cost of a preset proportion C, wherein the preset proportion C (0 < C < 1) may be determined according to cloud resource requester historical cloud resource usage data, in particular historical third cloud resource usage data, which may include one or more of the following data in addition to the above-mentioned historical cloud resource usage data: the number of times of pre-operation performed by the historical third cloud resource in the preset historical time period, the number of times of follow-up operation continued to be performed after pre-operation performed by the historical third cloud resource in the preset historical time period, the number of times of follow-up operation not continued to be performed after pre-operation performed by the historical third cloud resource in the preset historical time period, and the like. Based on the historical third cloud resource usage data, the performance of the cloud resource requester may be determined, for example, the performance rate of the cloud resource requester on the third cloud resource in a preset historical time period may be calculated, the performance rate may be directly used as the preset proportion C, or the performance rate may be multiplied by a preset weight coefficient and then used as the preset proportion C, where the preset weight coefficient may be related to the request level of the cloud resource requester, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of using the historical cloud resource is greater than a preset number of times threshold, and the total number of times of using the historical cloud resource is greater than a preset total number threshold, 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, or, otherwise, a lower weight coefficient may be set for the cloud resource requester.
In an embodiment of the present invention, the apparatus further includes obtaining feedback information of the use of the cloud resource by the cloud resource requester, and adjusting a portion of allocation of the cloud resource according to the feedback information of the use 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 in a preset historical time period;
an allocation module 1002 configured to allocate cloud resources for the cloud resource requester according to attribute information and historical cloud resource usage data of the cloud resource requester, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;
a second transmitting module 1003 configured to transmit cloud resource allocation information to the cloud resource requester;
the adjusting module 1004 is configured to obtain the feedback information of the cloud resource request party on the use of the cloud resource, and adjust the allocation of the cloud resource according to the feedback information of the use of the cloud resource.
In order to more fully and effectively utilize cloud resources, the cloud resources are reasonably allocated, so that not only waste of the cloud resources is avoided, but also repeated occurrence of cloud resource requests is avoided, in this embodiment, an adjustment 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 actual use proportion of the cloud resource requester to each requested cloud resource in the preset history period, the total use proportion of the cloud resource requester to a plurality of times of requested cloud resources in the preset history period, the number of times of cloud resource requester requesting cloud resources in the preset history period, the frequency of cloud resource requester requesting cloud resources in the preset history period, the performance rate of the cloud resource requester to the third cloud resource in the preset history period and the like. For example, if the actual usage ratio of the cloud resource requester to the cloud resource requested each time in the preset history period is higher than a preset ratio threshold, the number of times the cloud resource requester requests the cloud resource in the preset history period is higher than a preset number threshold, and the performance rate of the cloud resource requester to the third cloud resource in the preset history period is higher than a preset performance rate threshold, the cloud resource requester is considered to be very urgent in requesting the cloud resource, and the requested cloud resource can be fully and effectively utilized, so that the capacity of the cloud resource requester for requesting the resource can be controlled up according to the preset ratio or the preset step value, otherwise, the capacity of the cloud resource requester for requesting the resource is controlled down.
Fig. 11 shows a block diagram of 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, as a cloud resource requester, by software, hardware, or a combination of both. 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 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 in response to receiving an information acquisition request sent by the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
the use module 1103 is configured to use the allocated cloud resources according to the cloud resource allocation information in response to receiving the cloud resource allocation information sent by the cloud resource management server.
As mentioned above, with the development of data technology, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management apparatus is provided that allocates first cloud resources, second cloud resources, and third cloud resources satisfying different usage demands to a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then the service quality of a cloud computing service provider is improved.
In the above embodiment, when the 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 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 requester identification information; a cloud resource request category, such as whether to request a first cloud resource, a second cloud resource, or a third cloud resource; different types of cloud resource request capacity, etc.; after receiving the information acquisition request sent by the cloud resource management server, the 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 for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester; finally, after receiving the cloud resource allocation information sent by the cloud resource management server, the using module 1103 uses the cloud resource 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 that is reserved by the cloud resource requester and can be allocated to the cloud resource as long as the cloud resource requester requests the cloud resource, which may also be referred to as a basic cloud resource, and the maximum capacity of the first cloud resource is a cloud resource capacity that satisfies the cloud resource used by the cloud resource requester in the N-percent scenario, i.e. a cloud resource capacity under the N% satisfaction, where the value of 0< N <100, N may be set according to attribute information of the cloud resource requester, historical cloud resource usage data of the cloud resource, total available cloud resource capacity, total number of cloud resource requesters, and the like, for example, if the cloud resource requester is a government agency, the scale is greater than a preset scale threshold, the number of times of historical cloud resource usage is greater than a preset number of times threshold, and the total number of historical cloud resource usage is greater than a preset total number of times threshold, the value of N may be set to be greater than the value of N, so as to ensure the stability of the cloud resource to be used by the cloud resource requester.
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, and not a private cloud resource. The second cloud resource is a cloud resource which is used by the cloud resource management server after the cloud resource requester uses up the first cloud resource allocated to the cloud resource requester, namely when the first cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is used by the cloud resource requester after the cloud resource requester uses up the first cloud resource and the second cloud resource allocated to the cloud resource requester, namely when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester.
In order to fully utilize available cloud resources and avoid waste of resources 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 cloud resource management server is used for informing the cloud resource management server of the third cloud resource which is needed to be used by the cloud resource requesting party when, the third cloud resource management server is convenient for carrying out time-sharing distribution on the third cloud resource, and time-sharing multiplexing of the cloud resource is achieved.
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, in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, executing a portion 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 resource includes at least a first cloud resource, a second cloud resource, and a third cloud resource;
a fourth sending module 1202, configured to send attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical period to the cloud resource management server in response to receiving an information acquisition request sent by the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
an execution module 1203 configured to execute a third cloud resource pre-operation according to the 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 the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server;
the usage module 1204 is configured to use the allocated cloud resources according to the cloud resource allocation information in response to receiving the cloud resource allocation information sent by the cloud resource management server.
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, 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. 11 to fig. 12 and related to the embodiments are the same as or similar to those described in the embodiments shown in fig. 8 to fig. 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 fig. 10, which are not repeated herein.
Fig. 13 shows a block diagram of 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 by software, hardware, or a combination of both, and may be implemented as a cloud resource management system. 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 resource according to the cloud resource allocation information, where the cloud resource includes at least a first cloud resource, a second cloud resource, and a third cloud resource;
the cloud resource management server 1302 is configured to send an information acquisition request to the cloud resource requester in response to receiving the cloud resource request sent by 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 and the historical cloud resource usage data of the cloud resource requester, and send cloud resource allocation information to the cloud resource requester.
As mentioned above, with the development of data technology, the application of cloud computing is becoming more and more widespread. ECS (elastic computing) is used as an important basic product of cloud computing, provides a user with the service capability of instant opening of resources, and greatly reduces the use cost of the user compared with the traditional IDC (Internet Data Center ) mode, so that the elastic guarantee capability of cloud resources is the competitive power of a cloud computing service provider, but unlimited promotion of the elastic guarantee of the cloud resources can cause exponential increase of the resource supply cost, and brings huge cost pressure to the cloud computing service provider. At present, a cloud computing service provider mainly divides the cloud computing service provider into different levels according to basic information of a user, and each level corresponds to a rough elastic upper limit, but the processing mode has the following problems: 1. the rough upper elastic limit corresponding to each level is not applicable to all users, so that resource unsatisfied or wasted is caused; 2. for individuation and burst demands of users, automatic response cannot be realized, and the problem can be solved only by regularly submitting a demand bill in the background, so that the process is complex, and the authenticity cannot be distinguished; 3. the upper limit of the user elasticity cannot be guaranteed, and resource contention is easy to occur in the peak period of resource use, so that the user trust level is reduced.
In view of the foregoing, in this embodiment, a cloud resource management apparatus is provided that allocates first cloud resources, second cloud resources, and third cloud resources satisfying different usage demands to a cloud resource requester according to attribute information of the cloud resource requester and historical cloud resource usage data thereof in a preset historical period. According to the technical scheme, through regulation and control of cloud resources of different grades, the user individuation and resource elasticity requirements are met, meanwhile, the utilization rate of the supplied resources is improved, resource unsatisfied or waste is avoided, meanwhile, the complexity of a resource request flow and the resource supply cost are reduced, and then the service quality of a cloud computing service provider is improved.
In an embodiment of the present invention, the first cloud resource is a cloud resource shared by the cloud resource requester, and the maximum capacity of the first cloud resource is a cloud resource capacity used in a scenario of meeting N percent 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 share a cloud resource for the cloud resource requester.
In an embodiment of the present invention, the cloud resource management server 1302 allocates cloud resources for the cloud resource requester according to the attribute information and the historical cloud resource usage data of the cloud resource requester, and sends the cloud resource allocation information to the cloud resource requester, which is configured to:
When the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
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 distributes the second cloud resource for the cloud resource requesters according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
when the cloud resource request is a third cloud resource request, the cloud resource management server acquires third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and distributes the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the third cloud resource request capacity.
In an embodiment of the present invention, the portion for allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information is configured to:
when the fact that the third cloud resources can be allocated enough is determined according to the third cloud resource request information, the cloud resource management server calculates 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
and in response to detecting that the cloud resource requester finishes the execution of the third cloud resource pre-operation, the cloud resource management server prepares the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester finishes the execution of the 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 acquiring the use feedback information of the cloud resource requester on the cloud resource, and adjusting the allocation of the cloud resource according to the use feedback information of the cloud resource.
The technical features related to the embodiment shown in fig. 13 and related to the embodiment are the same as or similar to those described in the embodiment shown in fig. 8 to 12, and the explanation and explanation of the related technical features may refer to the explanation and explanation of the technical features in the embodiment shown in fig. 8 to 12, which are not repeated herein.
The embodiment of the invention also discloses an electronic device, fig. 14 shows a block diagram of the electronic device according to an embodiment of the invention, and as shown in fig. 14, the electronic device 1400 includes a memory 1401 and a processor 1402; wherein,
the memory 1401 is configured to store one or more computer instructions that 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 a cloud resource management method according to an 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 in accordance with 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 required for the operation of the system 1500 are also stored. The processing unit 1501, the ROM1502, and the RAM1503 are connected to each other through a bus 1504. An input/output (I/O) interface 1505 is also connected to bus 1504.
The following components are connected to I/O interface 1505: an input section 1506 including a keyboard, mouse, and the like; an output portion 1507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage section 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. Removable media 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 needed so that a computer program read therefrom is mounted into the storage section 1508 as needed. The processing unit 1501 may be implemented as a processing unit such as CPU, GPU, FPGA, NPU.
In particular, the method described above may be implemented as a computer software program according to an embodiment of the 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 can be downloaded and installed from a network through the communication portion 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 flowchart or block diagrams may represent a module, segment, or 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, the names of which in some cases do not constitute a limitation of the unit or module itself.
As another aspect, the embodiment of the present invention further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the apparatus described in the above embodiment; or may be a computer-readable storage medium, alone, that is not assembled into a device. The computer-readable storage medium stores one or more programs for use by one or more processors to perform the methods described in embodiments of the present invention.
The above description is only illustrative of the preferred embodiments of the present invention and of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present invention is not limited to the specific combination of the above technical features, but also encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the inventive concept. Such as the technical solution formed by mutually replacing the above features and the technical features with similar functions (but not limited to) disclosed in the embodiments of the present invention.

Claims (22)

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 use data of the cloud resource requester in a preset historical time period;
according to the attribute information and the historical cloud resource usage data of the cloud resource requesting party, cloud resources are allocated for the cloud resource request Fang Bujin, wherein the cloud resources at least comprise first cloud resources, second cloud resources and third cloud resources, the second cloud resources are cloud resources which are used by the cloud resource management server when the first cloud resources cannot meet the usage of the cloud resource requesting party, the third cloud resources are cloud resources which are available only after the cloud resource requesting party performs the third cloud resource pre-operation when the first cloud resources and the second cloud resources cannot meet the usage of the cloud resource requesting party;
and sending cloud resource allocation information to the cloud resource requesting party.
2. The method of claim 1, wherein the first cloud resource is a private cloud resource for the cloud resource requester and the maximum capacity is a cloud resource capacity that satisfies the cloud resource requester for use in a N percent scenario, wherein 0< N <100.
3. The method of claim 2, wherein the second cloud resource and third cloud resource share cloud resources for the cloud resource requestor.
4. The method of claim 3, wherein the allocating cloud resources for the cloud resource request Fang Bujin according to the attribute information and the historical cloud resource usage data of the cloud resource requester comprises:
responding to a first cloud resource request sent by the cloud resource requester, and distributing the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
responding to a second cloud resource request sent by the cloud resource requester, and after confirming that the first cloud resource of the cloud resource requester is used up, acquiring the current available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, and distributing the second cloud resource for 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 up, acquiring third cloud resource request information carried by the third cloud resource request, and distributing the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 the fact that the third cloud resources which can be allocated are sufficient is determined 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
in response to detecting that the cloud resource requester finishes the third cloud resource pre-operation, raising the third cloud resource for the cloud resource requester;
And distributing the third cloud resource for the cloud resource requester in response to detecting that the cloud resource requester finishes the follow-up operation corresponding to the third cloud resource pre-operation.
6. The method of any one of claims 1-5, further comprising:
and acquiring the use feedback information of the cloud resource requester on the cloud resource, and adjusting the allocation of the cloud resource according to the use feedback information of the cloud resource.
7. A cloud resource management method, comprising:
sending a cloud resource request to a cloud resource management server, wherein the cloud resource at least comprises a first cloud resource, a second cloud resource and a third cloud resource, the second cloud resource is a cloud resource which is requested to be used to the cloud resource management server when the first cloud resource cannot meet the use of the cloud resource requester, the third cloud resource is a cloud resource which is requested to be used to the cloud resource management server when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is available only after the cloud resource requester performs a third cloud resource pre-operation;
Responding to an information acquisition request sent by the cloud resource management server, sending attribute information of the cloud resource requester and historical cloud resource use 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 distributes cloud resources for the cloud resource request Fang Bujin according to the attribute information and the historical cloud resource use data of the cloud resource requester;
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 private cloud resource for the cloud resource requester and the maximum capacity is a cloud resource capacity that satisfies the cloud resource requester for use in an N percent scenario, wherein 0< N <100.
9. The method of claim 8, wherein the second cloud resource and third cloud resource share cloud resources 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: the third cloud resource class, the third cloud resource usage period, and the third cloud resource request capacity.
11. The method of claim 10, wherein when the cloud resource request is a third cloud resource request, the responding to receiving cloud resource allocation information sent by the cloud resource management server, before using the allocated cloud resource according to the cloud resource allocation information, further comprises:
and responding to receiving follow-up operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, and executing the follow-up operation according to the follow-up operation information.
12. A cloud resource management method, comprising:
the cloud resource request sends a cloud resource request to a cloud resource management server, wherein the cloud resource at least comprises a first cloud resource, a second cloud resource and a third cloud resource, the second cloud resource is a cloud resource which is requested to be used by the cloud resource management server when the first cloud resource cannot meet the use of the cloud resource requester, the third cloud resource is a cloud resource which is requested to be used by the cloud resource management server when the first cloud resource and the second cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource which is available only after the cloud resource requester executes a third cloud resource pre-operation;
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 request sends attribute information of the cloud resource requester and historical cloud resource use 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 for the cloud resource request Fang Bujin according to the attribute information and the historical cloud resource use data of the cloud resource requesting party and sends cloud resource allocation information to the cloud resource requesting party;
and responding to the received cloud resource allocation information sent by the cloud resource management server, and using the allocated cloud resources by the cloud resource requester according to the cloud resource allocation information.
13. The method of claim 12, wherein the first cloud resource is a private cloud resource for the cloud resource requester and the maximum capacity is a cloud resource capacity that satisfies the cloud resource requester for use in an N percent scenario, wherein 0< N <100.
14. The method of claim 13, wherein the second cloud resource and third cloud resource share cloud resources for the cloud resource requestor.
15. The method of claim 14, wherein the cloud resource management server allocates cloud resources for the cloud resource request Fang Bujin 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, comprising:
when the cloud resource request is a first cloud resource request, the cloud resource management server allocates the first cloud resource for the cloud resource requester according to attribute information and historical cloud resource use data of the cloud resource requester;
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 distributes the second cloud resource for the cloud resource requesters according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
when the cloud resource request is a third cloud resource request, the cloud resource management server acquires third cloud resource request information carried by the third cloud resource request after confirming that the first cloud resource and the second cloud resource of the cloud resource requester are used up, and distributes the third cloud resource for 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: the third cloud resource class, the third cloud resource usage period, and the 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 the fact that the third cloud resources can be allocated enough is determined according to the third cloud resource request information, the cloud resource management server calculates 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 can execute the third cloud resource pre-operation according to the third cloud resource pre-operation information;
and in response to detecting that the cloud resource requester finishes the execution of the third cloud resource pre-operation, the cloud resource management server prepares the third cloud resource for the cloud resource requester, and in response to detecting that the cloud resource requester finishes the execution of the 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 according to any one of claims 12-16, further comprising:
the cloud resource management server acquires the use feedback information of the cloud resource requester on the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource.
18. A cloud resource management apparatus, comprising:
the cloud resource management system comprises a first sending module, a second sending module and a cloud resource management module, wherein the first sending module is configured to send an information acquisition request to a cloud resource requester in response to receiving a cloud resource request sent by the cloud resource requester so as 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;
an allocation module configured to allocate cloud resources for the cloud resource request Fang Bujin according to attribute information and historical cloud resource usage data of the cloud resource requester, where the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource, the second cloud resource is a cloud resource that is requested to be used by the cloud resource management server when the first cloud resource cannot meet the usage of the cloud resource requester, the third cloud resource is a cloud resource that is requested to be used by the cloud resource management server when neither the first cloud resource nor the second cloud resource can meet the usage of the cloud resource requester, and the third cloud resource is a cloud resource that is available after the cloud resource requester performs a third cloud resource pre-operation;
And the second sending module is configured to send cloud resource allocation information to the cloud resource requesting party.
19. A cloud resource management apparatus, comprising:
a third sending module configured to send a cloud resource request to a cloud resource management server, where the cloud resource includes at least a first cloud resource, a second cloud resource, and a third cloud resource, the second cloud resource is a cloud resource that is requested to be used to the cloud resource management server when the first cloud resource cannot satisfy the use of the cloud resource requester, the third cloud resource is a cloud resource that is requested to be used to the cloud resource management server when neither the first cloud resource nor the second cloud resource can satisfy the use of the cloud resource requester, and the third cloud resource is a cloud resource that is available after the cloud resource requester performs a third cloud resource pre-operation;
a fourth sending module, configured to send attribute information of the cloud resource requester and historical cloud resource usage data of the cloud resource requester in a preset historical period to the cloud resource management server in response to receiving an information acquisition request sent by the cloud resource management server, so that the cloud resource management server allocates cloud resources for the cloud resource request Fang Bujin according to the attribute information and the historical cloud resource usage data of the cloud resource requester;
And the use module is configured to respond to receiving cloud resource allocation information sent by the cloud resource management server and 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 resource according to the cloud resource allocation information, wherein the cloud resource at least includes a first cloud resource, a second cloud resource, and a third cloud resource, the second cloud resource is a cloud resource that is requested to be used to the cloud resource management server when the first cloud resource cannot meet the use of the cloud resource requester, and the third cloud resource is a cloud resource that is requested to be used to the cloud resource management server when neither the first cloud resource nor the second cloud resource can meet the use of the cloud resource requester, and the third cloud resource is a cloud resource that is available after the cloud resource requester performs a third cloud resource pre-operation;
the cloud resource management server is configured to respond to the cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester, enable the cloud resource requester to send attribute information of the cloud resource requester and historical cloud resource use 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 request Fang Bujin according to the attribute information and the historical cloud resource use data of the cloud resource requester, and send cloud resource allocation information to the cloud resource requester.
21. An electronic device comprising a memory and a processor; wherein,
the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement the method steps of any one of claims 1-17.
22. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the method steps of any of claims 1-17.
CN201911206895.3A 2019-11-29 2019-11-29 Cloud resource management method and device, electronic equipment and computer readable storage medium Active CN112887228B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201911206895.3A CN112887228B (en) 2019-11-29 2019-11-29 Cloud resource management method and device, electronic equipment and computer readable storage medium
TW109128234A TW202121274A (en) 2019-11-29 2020-08-19 Cloud resource management method and apparatus, and electronic device and computer readable storage medium
PCT/CN2020/131671 WO2021104349A1 (en) 2019-11-29 2020-11-26 Cloud resource management method and apparatus, and electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911206895.3A CN112887228B (en) 2019-11-29 2019-11-29 Cloud resource management method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112887228A CN112887228A (en) 2021-06-01
CN112887228B true CN112887228B (en) 2024-02-02

Family

ID=76039725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911206895.3A Active CN112887228B (en) 2019-11-29 2019-11-29 Cloud resource management method and device, electronic equipment and computer readable storage medium

Country Status (3)

Country Link
CN (1) CN112887228B (en)
TW (1) TW202121274A (en)
WO (1) WO2021104349A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666284B (en) * 2022-05-23 2022-11-15 阿里巴巴(中国)有限公司 Flow control method and device, electronic equipment and readable storage medium
CN115022320B (en) * 2022-05-31 2024-03-01 中国银行股份有限公司 Cloud resource server determination method, device, equipment and medium
CN115086331B (en) * 2022-07-20 2024-06-07 阿里巴巴(中国)有限公司 Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN116069513B (en) * 2023-04-04 2023-06-23 上海钐昆网络科技有限公司 Cost determination method, device, electronic equipment and storage medium
CN117591301B (en) * 2024-01-18 2024-04-12 中铁电气化局集团有限公司 Monitoring cloud resource allocation optimization method and system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640475A (en) * 2009-12-03 2012-08-15 国际商业机器公司 Inter-cloud resource sharing within a cloud computing environment
CN103095846A (en) * 2013-02-02 2013-05-08 深圳先进技术研究院 A method and a system of user personalized scheduling of cloud calculation resources
CN106067119A (en) * 2016-06-03 2016-11-02 成都镜杰科技有限责任公司 Client relation management method based on privately owned cloud
CN106559389A (en) * 2015-09-28 2017-04-05 阿里巴巴集团控股有限公司 A kind of Service Source issue, call method, device, system and cloud service platform
CN106712998A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Cloud platform resource management method, device and system
CN107025138A (en) * 2016-12-08 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing resource and device
CN107515785A (en) * 2016-06-16 2017-12-26 大唐移动通信设备有限公司 A kind of EMS memory management process and device
CN108063824A (en) * 2017-12-22 2018-05-22 云南天成科技有限公司 A kind of cloud service system and construction method
CN108279974A (en) * 2017-01-06 2018-07-13 阿里巴巴集团控股有限公司 A kind of cloud resource distribution method and device
CN108958939A (en) * 2018-07-06 2018-12-07 阿里巴巴集团控股有限公司 Distribution method, device and the server of Service Source
CN110008019A (en) * 2019-02-28 2019-07-12 张帅辰 Method and device, the system of shared server resource
CN110059942A (en) * 2019-04-02 2019-07-26 南京邮电大学 A kind of cloud manufacturing recourses service Optimization Scheduling based on fuzzy multiobjective optimization
CN110138883A (en) * 2019-06-10 2019-08-16 北京贝斯平云科技有限公司 Mixed cloud resource allocation methods and device
CN110363319A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Resource allocation methods, server, resource claim method and client

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9442769B2 (en) * 2011-09-30 2016-09-13 Red Hat, Inc. Generating cloud deployment targets based on predictive workload estimation
US10432707B2 (en) * 2016-03-02 2019-10-01 International Business Machines Corporation Optimization of integration flows in cloud environments
EP3427149B1 (en) * 2016-03-10 2021-02-17 Velocity Technology Solutions, Inc. Systems and methods for management of cloud computing resources for information systems
CN108234581B (en) * 2016-12-22 2020-10-09 腾讯科技(深圳)有限公司 Resource scheduling method and server
CN109542580A (en) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 A kind of method for managing resource, device, equipment and computer readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640475A (en) * 2009-12-03 2012-08-15 国际商业机器公司 Inter-cloud resource sharing within a cloud computing environment
CN103095846A (en) * 2013-02-02 2013-05-08 深圳先进技术研究院 A method and a system of user personalized scheduling of cloud calculation resources
CN106559389A (en) * 2015-09-28 2017-04-05 阿里巴巴集团控股有限公司 A kind of Service Source issue, call method, device, system and cloud service platform
CN106712998A (en) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 Cloud platform resource management method, device and system
CN106067119A (en) * 2016-06-03 2016-11-02 成都镜杰科技有限责任公司 Client relation management method based on privately owned cloud
CN107515785A (en) * 2016-06-16 2017-12-26 大唐移动通信设备有限公司 A kind of EMS memory management process and device
CN107025138A (en) * 2016-12-08 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing resource and device
CN108279974A (en) * 2017-01-06 2018-07-13 阿里巴巴集团控股有限公司 A kind of cloud resource distribution method and device
CN108063824A (en) * 2017-12-22 2018-05-22 云南天成科技有限公司 A kind of cloud service system and construction method
CN110363319A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Resource allocation methods, server, resource claim method and client
CN108958939A (en) * 2018-07-06 2018-12-07 阿里巴巴集团控股有限公司 Distribution method, device and the server of Service Source
CN110008019A (en) * 2019-02-28 2019-07-12 张帅辰 Method and device, the system of shared server resource
CN110059942A (en) * 2019-04-02 2019-07-26 南京邮电大学 A kind of cloud manufacturing recourses service Optimization Scheduling based on fuzzy multiobjective optimization
CN110138883A (en) * 2019-06-10 2019-08-16 北京贝斯平云科技有限公司 Mixed cloud resource allocation methods and device

Also Published As

Publication number Publication date
TW202121274A (en) 2021-06-01
WO2021104349A1 (en) 2021-06-03
CN112887228A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN112887228B (en) Cloud resource management method and device, electronic equipment and computer readable storage medium
CN107341050B (en) Service processing method and device based on dynamic thread pool
CN106453146B (en) Method, system, device and readable storage medium for allocating private cloud computing resources
US20110004500A1 (en) Allocating a resource based on quality-of-service considerations
CN104243405A (en) Request processing method, device and system
CN111628887B (en) Internet of things slice resource distribution system and method, electronic equipment and storage medium
CN112235140B (en) Network slice management method, device, network equipment and storage medium
CN114155026A (en) Resource allocation method, device, server and storage medium
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
CN112749002A (en) Method and device for dynamically managing cluster resources
CN115512814A (en) Doctor allocation method and device for on-line inquiry
CN114217977B (en) Resource allocation method, device, equipment and storage medium
CN115617511A (en) Resource data processing method and device, electronic equipment and storage medium
CN109861922B (en) Method and apparatus for controlling flow
CN104184765A (en) Request control method, client apparatus and server-side apparatus
CN114116173A (en) Method, device and system for dynamically adjusting task allocation
CN112003790B (en) Distribution method of network traffic used by intelligent school
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
US6009473A (en) Using callbacks to effectively manage resources
CN102752805B (en) Radio resource distributing method and system based on business satisfaction degree
CN112561301A (en) Work order distribution method, device, equipment and computer readable medium
KR20150074531A (en) Apparatus and method for providing bandwidth on demand service
CN116069513B (en) Cost determination method, device, electronic equipment and storage medium
CN113129048A (en) Resource supply method, resource supply device, electronic equipment and computer readable storage medium
CN112632074A (en) Inventory allocation method and device for database, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40050675

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant