WO2021104349A1 - 云资源管理方法、装置、电子设备及计算机可读存储介质 - Google Patents

云资源管理方法、装置、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2021104349A1
WO2021104349A1 PCT/CN2020/131671 CN2020131671W WO2021104349A1 WO 2021104349 A1 WO2021104349 A1 WO 2021104349A1 CN 2020131671 W CN2020131671 W CN 2020131671W WO 2021104349 A1 WO2021104349 A1 WO 2021104349A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud resource
cloud
requester
resource
information
Prior art date
Application number
PCT/CN2020/131671
Other languages
English (en)
French (fr)
Inventor
于颜硕
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2021104349A1 publication Critical patent/WO2021104349A1/zh

Links

Images

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

Definitions

  • the embodiments of the present invention relate to the technical field of cloud resource management, in particular to a cloud resource management method, device, electronic equipment, and computer-readable storage medium.
  • the embodiments of the present invention provide a cloud resource management method, device, electronic equipment, and computer-readable storage medium.
  • an embodiment of the present invention provides a cloud resource management method.
  • the cloud resource management method includes:
  • an information acquisition request is sent to the cloud resource requester to obtain attribute information of the cloud resource requester and the cloud resource requester’s preset historical time period Historical cloud resource usage data within;
  • the cloud resource includes at least a first cloud resource, a second cloud resource, and a third cloud resource;
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester.
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the attribute of the cloud resource requester is Information and historical cloud resource usage data to allocate cloud resources to the cloud resource requester includes:
  • the cloud resource requester In response to receiving the 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, obtain the current available shared cloud resource capacity and request the second cloud The number of cloud resource requesters for the resource, based on 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 cloud resource requester requesting the second cloud resource The capacity of the cloud resource requester allocates the second cloud resource;
  • the third cloud resource is allocated to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information includes at least one of the following information Or multiple types: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the The third cloud resource request information allocates the third cloud resource to the cloud resource requester, which is implemented as:
  • the third cloud resource pre-operation information is calculated, and the third cloud resource pre-operation information is sent to the cloud resource requester So that it performs the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the present disclosure is described in the first aspect.
  • the fifth implementation mode of the aspect it also includes:
  • an embodiment of the present invention provides a cloud resource management method.
  • the cloud resource management method includes:
  • a cloud resource management server Sending 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 first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the third cloud resource request when the cloud resource request is a third cloud resource
  • the third cloud resource request carries at least one or more of the following information: a third cloud resource category, a third cloud resource use period, and a third cloud resource request capacity.
  • the method when the cloud resource When the request is a third cloud resource request, in response 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, the method further includes:
  • an embodiment of the present invention provides a cloud resource management method.
  • the cloud resource management method includes:
  • the cloud resource request 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;
  • the cloud resource management server 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 requester sends all information to the cloud resource management server.
  • the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation information to the cloud resource requester;
  • the cloud resource requester uses the allocated cloud resource according to the cloud resource allocation information.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the cloud resource management server is based on the cloud resource
  • the attribute information and historical cloud resource usage data of the requester allocate cloud resources to the cloud resource requester, and send cloud resource allocation information to the cloud resource requester, including:
  • the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data ;
  • the cloud resource management server obtains the current available shared cloud resource capacity and requests the second cloud resource after confirming that the first cloud resource of the cloud resource requester is used up.
  • the number of cloud resource requesters of the cloud resource and allocate the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
  • the cloud resource management server obtains 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
  • the third cloud resource request information is carried, 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 includes at least the following information One or more types: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the The third cloud resource request information allocates the third cloud resource to the cloud resource requester, which is implemented as:
  • the cloud resource management server calculates the third cloud resource pre-operation information, and sends the third cloud resource pre-operation information to The cloud resource requester to enable it to perform the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the cloud resource management server In response to detecting that the cloud resource requester has completed 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 the cloud resource The requester has performed subsequent operations corresponding to the third cloud resource pre-operation, and the cloud resource management server allocates the third cloud resource to the cloud resource requester.
  • the present disclosure In the fifth implementation mode of the aspect, it also includes:
  • the cloud resource management server obtains the use feedback information of the cloud resource requester for the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource.
  • an embodiment of the present invention provides a cloud resource management device.
  • the cloud resource management device includes:
  • the first sending module is configured to, in response to receiving a cloud resource request sent by a cloud resource requester, send an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and the cloud resource The historical cloud resource usage data of the requesting party in the preset historical time period;
  • An allocation module configured to allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resource includes at least a first cloud resource and a second cloud resource And third cloud resources;
  • the second sending module is configured to send cloud resource allocation information to the cloud resource requester.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the allocation module includes:
  • the first allocation sub-module is configured to, in response to receiving the first cloud resource request sent by the cloud resource requester, be the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data Allocating the first cloud resource;
  • the second allocation sub-module is configured to obtain the currently available shared cloud in response to receiving the 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
  • the resource capacity and the number of cloud resource requesters requesting the second cloud resource are based on 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 cloud resource requester requests the capacity of the second cloud resource to allocate the second cloud resource to the cloud resource requester;
  • the third allocation submodule is 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, Acquire the third cloud resource request information carried in the third cloud resource request, and allocate the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request
  • the information includes at least one or more of the following information: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the third allocation The part of the submodule that allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information is configured as:
  • the third cloud resource pre-operation information is calculated, and the third cloud resource pre-operation information is sent to the cloud resource requester So that it performs the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the present disclosure is described in the fourth aspect.
  • the fifth implementation mode of the aspect it also includes:
  • the adjustment module is configured to obtain use feedback information of the cloud resource requester for the cloud resource, and adjust the allocation of the cloud resource according to the use feedback information of the cloud resource.
  • an embodiment of the present invention provides a cloud resource management device.
  • the cloud resource management device includes:
  • the third sending module is 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 fourth sending module is configured to, in response to receiving the information acquisition request sent by the cloud resource management server, send to the cloud resource management server the attribute information of the cloud resource requester and the cloud resource requester in advance.
  • Set historical cloud resource usage data in a historical time period so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;
  • the using module is configured to use 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.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the third cloud resource request when the cloud resource request is a third cloud resource
  • the third cloud resource request carries at least one or more of the following information: a third cloud resource category, a third cloud resource use period, and a third cloud resource request capacity.
  • the execution module is configured to, in response to receiving the third cloud resource pre-operation information sent by the cloud resource management server, execute the third cloud resource pre-operation information according to the third cloud resource pre-operation information, and in response to receiving the third cloud resource pre-operation information
  • the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server performs the subsequent operation according to the subsequent operation information.
  • an embodiment of the present invention provides a cloud resource management device.
  • the cloud resource management device includes:
  • the cloud resource requester is 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,
  • the cloud resource includes at least a first cloud resource, a second cloud resource, and a third cloud resource;
  • the cloud resource management server is configured to, in response to receiving a cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester, so that the cloud resource requester is directed to the cloud resource management server Send the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester in a preset historical time period, and the attribute information and historical cloud resource usage data of the cloud resource requester are the
  • the cloud resource requester allocates cloud resources, and sends cloud resource allocation information to the cloud resource requester.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is to satisfy the cloud resource requester
  • the second cloud resource and the third cloud resource are shared by the cloud resource requester Cloud resources.
  • the cloud resource management server is configured according to the cloud The attribute information and historical cloud resource usage data of the resource requester allocate cloud resources to the cloud resource requester and send cloud resource allocation information to the cloud resource requester, which is configured as:
  • the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data ;
  • the cloud resource management server obtains the current available shared cloud resource capacity and requests the second cloud resource after confirming that the first cloud resource of the cloud resource requester is used up.
  • the number of cloud resource requesters of the cloud resource and allocate the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
  • the cloud resource management server obtains 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
  • the third cloud resource request information is carried, 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 includes at least the following information One or more types: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the The third cloud resource request information is the part where the cloud resource requester allocates the third cloud resource, and is configured as:
  • the cloud resource management server calculates the third cloud resource pre-operation information, and sends the third cloud resource pre-operation information to The cloud resource requester to enable it to perform the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the cloud resource management server In response to detecting that the cloud resource requester has completed 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 the cloud resource After the requester has performed subsequent operations corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource to the cloud resource requester.
  • the cloud resource management server is further configured to:
  • an embodiment of the present invention provides an electronic device, including a memory and a processor, the memory is configured to store one or more computer instructions that support the cloud resource management apparatus to execute the above cloud resource management method, and the processor It is configured to execute computer instructions stored in the memory.
  • the cloud resource management apparatus may further include a communication interface for the cloud resource management apparatus to communicate with other devices or communication networks.
  • an embodiment of the present invention provides a computer-readable storage medium for storing computer instructions used by a cloud resource management device, including computer instructions for executing the above-mentioned cloud resource management method for the cloud resource management device .
  • the above technical solution allocates the first cloud resource, the second cloud resource, and the first cloud resource and the second cloud resource that meet different usage requirements to the cloud resource requester based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the third cloud resource Through the regulation of different levels of cloud resources, this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • Fig. 1 shows a flowchart 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 show flowcharts of cloud resource management methods according to different embodiments of the present invention.
  • Fig. 7 shows a flow chart of a cloud resource management application scenario according to an embodiment of the present invention.
  • FIG. 8 shows a structural block diagram of a cloud resource management device according to an embodiment of the present invention.
  • FIG. 9 shows a structural block diagram of the allocation module 802 of the cloud resource management device according to the embodiment shown in FIG. 8;
  • FIGS. 10-13 show the structural block diagrams of cloud resource management devices according to different embodiments of the present invention.
  • FIG. 14 shows a structural block diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a computer system suitable for implementing a cloud resource management method according to an embodiment of the present invention.
  • the technical solution provided by the embodiment of the present invention allocates first cloud resources that meet different usage requirements to the cloud resource requester based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the second cloud resource and the third cloud resource are provided by the embodiment of the present invention.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • Fig. 1 shows a flowchart of a cloud resource management method according to an embodiment of the present invention, which is suitable for a cloud resource management server.
  • the cloud resource management method includes the following steps S101-S103:
  • step S101 in response to receiving a cloud resource request sent by a cloud resource requester, an information acquisition request is sent to the cloud resource requester to obtain attribute information of the cloud resource requester and the cloud resource requester’s location Historical cloud resource usage data within a preset historical time period;
  • the cloud resource requester is allocated cloud resources according to the attribute information of the cloud resource requester and historical cloud resource usage data, where the cloud resources include at least a first cloud resource, a second cloud resource, and Third cloud resources;
  • step S103 cloud resource allocation information is sent to the cloud resource requester.
  • a cloud resource management method is proposed.
  • the method is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • the cloud resource request refers to a request sent by a cloud resource request to the cloud resource management server to use cloud resources and request the cloud resource management server to allocate cloud resources.
  • the cloud resource request may carry one or more of the following information: cloud resource requester identification information; cloud resource request type, such as requesting the first cloud resource, the second cloud resource, or the third cloud resource; different Category cloud resource request capacity and so on.
  • the cloud resource management server in order to perform customized resource allocation for the cloud resource requester, after the cloud resource management server receives the cloud resource request sent by the cloud resource requester, it sends an information acquisition request to the cloud resource requester , To obtain the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester in a preset historical time period, so that the cloud resource management server can subsequently follow the cloud resource requester The attribute information and historical cloud resource usage data of, allocate cloud resources to the cloud resource requester.
  • the attribute information of the cloud resource requester may include one or more of the following information: the identity of the cloud resource requester, for example, is it an individual or an enterprise, is it a government agency or a private company;
  • the scale of the resource requester for example, if the cloud resource requester is an enterprise, the scale refers to an enterprise of how many people the enterprise contains; and so on.
  • the historical cloud resource usage data of the cloud resource requester in a preset historical time period may include one or more of the following data: the number of times the historical cloud resource is used in the preset historical time period, and the preset historical time period Internal historical cloud resource usage capacity per use, total historical cloud resource usage in the preset historical time period, historical cloud resource application scenario information in the preset historical time period, number of historical cloud resource application scenarios in the preset historical time period, preset Each application scenario of historical cloud resources in the historical time period uses cloud resource capacity, etc., wherein the preset historical time period can be set according to actual application requirements, and the specific value thereof is not specifically limited in the present disclosure.
  • the cloud resource allocation information refers to the cloud resource allocation information sent to the cloud resource requester by the cloud resource management server after allocating cloud resources to the cloud resource requester. Resource-related information. After receiving the cloud resource allocation information, the cloud resource requester can use the cloud resource allocated by the cloud resource management server according to the cloud resource allocation information.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, that is, reserved for the cloud resource requester, and as long as the cloud resource requester requests it, it must be
  • the cloud resources that it allocates can also be called basic cloud resources, and its maximum capacity is the cloud resource capacity used in the scenario where N% of the cloud resource requester is satisfied, that is, the cloud resource capacity under N% satisfaction.
  • the value of N can be set according to the attribute information of the cloud resource requester, its historical cloud resource usage data, the total available cloud resource capacity, and the total number of cloud resource requesters, etc., for example, If the cloud resource requester is a government agency, the scale is greater than the preset scale threshold, the number of historical cloud resource usage is greater than the preset threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold, the value of N can be set to a larger value Some to ensure the stable use of the exclusive cloud resources by the cloud resource requester.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester, rather than exclusive cloud resources.
  • the second cloud resource is to send to the cloud resource requester after the cloud resource requester has used up the first cloud resource allocated to it, that is, when the first cloud resource cannot satisfy the use of the cloud resource requester
  • the cloud resource requested by the resource management server and the third cloud resource is after the cloud resource requester has used up the first cloud resource and the second cloud resource allocated to it, that is, the first cloud resource and the second cloud resource
  • the step S102 namely the step of allocating cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, includes The following steps S201-S203:
  • step S201 in response to receiving the first cloud resource request sent by the cloud resource requester, allocate the first cloud resource requester to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data.
  • One cloud resources One cloud resources;
  • step S202 in response 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 up, obtain the current available shared cloud resource capacity and request The number of cloud resource requesters of the second cloud resource, allocate the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
  • step S203 in response to receiving the 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, the first cloud resource is acquired.
  • the third cloud resource request information carried in the third cloud resource request the third cloud resource is allocated to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource request information includes at least the following One or more of the information: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the available cloud resources are allocated stepwise, that is, the first cloud resource requester is allocated exclusive first cloud resources, and the first cloud resources cannot satisfy the requirements.
  • the cloud resource requester has usage requirements, a second cloud resource is allocated to it, and when the second cloud resource cannot meet the cloud resource requester's usage needs, a third cloud resource is allocated to it.
  • the cloud resource request sent by the cloud resource requester received by the cloud resource management server is a request for the first cloud resource, as described above, according to the acquired attribute of the cloud resource requester Information and historical cloud resource usage data to allocate the first cloud resource to the cloud resource requester;
  • the cloud resource request sent by the cloud resource requester received by the cloud resource management server is a request for a second cloud resource
  • first confirm whether the first cloud resource previously requested by the cloud resource requester has been used up After confirming that the first cloud resource has been used up, confirm the request sequence of the cloud resource requester for all requests for the second cloud resource, obtain the currently available shared cloud resource capacity, and all cloud resource requests currently requesting the second cloud resource.
  • the number of parties, and 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 are The cloud resource requester allocates the second cloud resource.
  • the cloud resource requester may request the second cloud resource first according to the request sequence of the cloud resource requester
  • the second cloud resource is allocated first, and then allocated to the cloud resource requester who subsequently requests 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 available shared cloud resource can be allocated 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.
  • the second cloud resource is allocated to the cloud resource requester in proportion to make the first requester
  • the cloud resource requester can allocate resources first, while also being able to take into account the needs of all cloud resource requesters;
  • the cloud resource request sent by the cloud resource requester received by the cloud resource management server is a request for a third cloud resource
  • the information includes at least one or more of the following information: a third cloud resource category, a third cloud resource use period, and a third cloud resource request capacity, where the third cloud resource category may be, for example, the third cloud The use scenario category of the resource, the use purpose category of the third cloud resource, etc., and then according to the third cloud resource request information such as the third cloud resource category, the third cloud resource use period, and the third cloud resource request capacity, the third cloud resource request information is The cloud resource requester allocates the third cloud resource.
  • the step of allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information in the step S203 may be implemented as:
  • the third cloud resource pre-operation information is calculated, and the third cloud resource pre-operation information is sent to the cloud resource requester So that it performs the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the third cloud resource when the third cloud resource is allocated, if it is determined that it can be used If the third cloud resource is sufficient, the third cloud resource pre-operation information is first calculated, and the third cloud resource pre-operation information is sent to the cloud resource requester so that it can be pre-operational based on the third cloud resource.
  • the operation information executes the third cloud resource pre-operation, and then when it is detected that the cloud resource requester has completed 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.
  • the cloud The resource management server can prepare the requested third cloud resource for it, and subsequently when the cloud resource management server prepares the third cloud resource, and the cloud resource requester performs the corresponding follow-up operation within the preset time ,
  • the third cloud resource requested by the cloud resource requester is actually allocated to the cloud resource requester, where the subsequent operation may be, for example, the resource order operation corresponding to the resource reservation operation, and the The resource cost confirmation payment operation corresponding to the resource cost prepayment operation, the remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, and the like.
  • the resource cost can be calculated by the cloud resource management server based on the cost of cloud resource operations such as equipment, manpower, land, infrastructure, time spent, etc., used to establish cloud resources, maintain cloud resources, and provide cloud resources.
  • the prepayment operation of the resource cost part refers to the payment operation performed for the resource cost of the preset ratio C, where the preset ratio C (0 ⁇ C ⁇ 1) can be based on the historical cloud resource usage of the cloud resource requester
  • the data is especially determined by historical third cloud resource usage data.
  • the historical third cloud resource usage data may also include one or more of the following data: history within a preset historical time period The number of times that the third cloud resource performs pre-operations, the number of times that the historical third cloud resource performs pre-operations in the preset historical time period to continue to perform subsequent operations, and the historical third cloud resources within the preset historical time period does not continue to perform subsequent operations after performing the pre-operations The number of times and so on.
  • the performance of the cloud resource requester can be determined. For example, the cloud resource requester’s performance rate for the third cloud resource within a preset historical time period can be calculated.
  • the fulfillment rate is directly used as the preset ratio C, and the fulfillment rate can also be multiplied by a preset weighting coefficient and then used as the preset ratio C, where the preset weighting coefficient may be the same as the cloud resource request
  • the request level of the party is related. For example, if the cloud resource requester is a government agency, the scale is greater than the preset size threshold, the number of historical cloud resource usage is greater than the preset number threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold. It is considered that the request level of the cloud resource requester is higher, and at this time, a higher weight coefficient may be set for the cloud resource requester, and vice versa, a lower weight coefficient may be set for the cloud resource requester.
  • the method further includes the step of acquiring the use feedback information of the cloud resource requester for the cloud resource, and adjusting the allocation of the cloud resource according to the use feedback information of the cloud resource , That is, as shown in Figure 3, the method includes the following steps S301-S304:
  • step S301 in response to receiving the cloud resource request sent by the cloud resource requester, an information acquisition request is sent to the cloud resource requester to obtain the attribute information of the cloud resource requester and the cloud resource requester’s location Historical cloud resource usage data within a preset historical time period;
  • the cloud resource requester is allocated cloud resources according to the attribute information of the cloud resource requester and historical cloud resource usage data, where the cloud resources include at least a first cloud resource, a second cloud resource, and Third cloud resources;
  • step S303 send cloud resource allocation information to the cloud resource requester
  • step S304 the use feedback information of the cloud resource requester for the cloud resource is obtained, and the allocation of the cloud resource is adjusted according to the use feedback information of the cloud resource.
  • the feedback information of the use of the cloud resources is also The allocation of the cloud resources is adjusted, wherein the feedback information about the use of the cloud resources may include one or more of the following information: the actual amount of the cloud resource requester for each requested cloud resource within a preset historical time period Usage ratio, the total ratio of cloud resource requesters' use of multiple requested cloud resources during the preset historical time period, the number of cloud resource requests requested by the cloud resource requester during the preset historical time period, and cloud resource requests during the preset historical time period The frequency at which the party requests the cloud resource, the cloud resource requester's performance rate for the third cloud resource in the preset historical time period, and so on.
  • the capacity of the cloud resource requester requested by the cloud resource requester can be adjusted upward according to a preset ratio or a preset step value. The capacity is controlled down.
  • Fig. 4 shows a flowchart of a cloud resource management method according to another embodiment of the present invention, which is suitable for a cloud resource requester.
  • the cloud resource management method includes the following steps S401-S403:
  • 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;
  • step S402 in response to receiving the information acquisition request sent by the cloud resource management server, send to the cloud resource management server the attribute information of the cloud resource requester and the cloud resource requester's preset history time Historical cloud resource usage data in the segment, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;
  • 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.
  • a cloud resource management method is proposed.
  • the method is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • a cloud resource requester when a cloud resource requester needs to apply for a cloud resource, it 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 ,
  • the cloud resource request may carry one or more of the following information: cloud resource requester identification information; cloud resource request category, such as requesting the first cloud resource, the second cloud resource, or the third cloud resource; different categories Cloud resource request capacity, etc.; after receiving the information acquisition request sent by the cloud resource management server, the attribute information of the cloud resource requester and the cloud resource requester’s historical cloud history within a preset historical time period are combined
  • the resource usage data is sent to the cloud resource management server, so that the cloud resource management server can allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data; and finally After receiving the cloud resource allocation information sent by the cloud resource management server, use the cloud resource allocated by the cloud resource management server according to the cloud resource allocation information.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, that is, reserved for the cloud resource requester, and as long as the cloud resource requester requests it, it must be
  • the cloud resources that it allocates can also be called basic cloud resources, and its maximum capacity is the cloud resource capacity used in the scenario where N% of the cloud resource requester is satisfied, that is, the cloud resource capacity under N% satisfaction.
  • the value of N can be set according to the attribute information of the cloud resource requester, its historical cloud resource usage data, the total available cloud resource capacity, and the total number of cloud resource requesters, etc., for example, If the cloud resource requester is a government agency, the scale is greater than the preset scale threshold, the number of historical cloud resource usage is greater than the preset threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold, the value of N can be set to a larger value Some to ensure the stable use of the exclusive cloud resources by the cloud resource requester.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester, rather than exclusive cloud resources.
  • the second cloud resource is to send to the cloud resource requester after the cloud resource requester has used up the first cloud resource allocated to it, that is, when the first cloud resource cannot satisfy the use of the cloud resource requester
  • the cloud resource requested by the resource management server and the third cloud resource is after the cloud resource requester has used up the first cloud resource and the second cloud resource allocated to it, that is, the first cloud resource and the second cloud resource
  • the first The third cloud resource request carries at least one or more of the following information: the third cloud resource category, the third cloud resource use period, and the third cloud resource request capacity to inform the cloud resource management server of the cloud resource requester
  • the cloud resource management server When and how many third cloud resources need to be used, it is convenient for the cloud resource management server to time-share the third cloud resources and realize the time-sharing multiplexing of the cloud resources.
  • the step S403 is in response to receiving cloud resource allocation information sent by the cloud resource management server, according to the cloud resource
  • the method further includes: in response to receiving the third cloud resource pre-operation information sent by the cloud resource management server, executing the third cloud resource pre-operation information according to the third cloud resource pre-operation information.
  • the cloud resource pre-operation in response to receiving the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, the step of performing the subsequent operation according to the subsequent operation information, as shown in FIG. 5
  • the method includes the following steps S501-S504:
  • 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;
  • step S502 in response to receiving an information acquisition request sent by the cloud resource management server, send to the cloud resource management server the attribute information of the cloud resource requester and the cloud resource requester's preset history time Historical cloud resource usage data in the segment, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;
  • step S503 in response to receiving the third cloud resource pre-operation information sent by the cloud resource management server, the third cloud resource pre-operation information is executed according to the third cloud resource pre-operation information, and in response to receiving the third cloud resource pre-operation information
  • the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, and the subsequent operation is executed according to the subsequent operation information;
  • step S504 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.
  • the cloud resource request is a third cloud resource
  • the third cloud resource pre-operation information sent by the cloud resource management server is received, the third cloud resource pre-operation information is executed according to the third cloud resource pre-operation information, and if the cloud resource pre-operation information is received again, The subsequent operation information corresponding to the third cloud resource pre-operation sent by the resource management server executes the subsequent operation according to the subsequent operation information.
  • the pre-operation may be, for example, a resource reservation operation, a resource cost prepayment operation, a resource cost partial prepayment operation, etc.
  • the subsequent operation may be, for example, a resource order operation corresponding to the resource reservation operation, and The resource cost confirmation payment operation corresponding to the resource cost prepayment operation, the remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, and the like.
  • Fig. 6 shows a flowchart of a cloud resource management method according to another embodiment of the present invention, which is suitable for a cloud resource management system.
  • the cloud resource management method includes the following steps S601-S604:
  • step S601 the cloud resource request 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;
  • 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 is directed to the cloud resource requester.
  • the resource management server sends the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester in a preset historical time period;
  • step S603 the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends cloud resource allocation to the cloud resource requester information;
  • 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.
  • a cloud resource management method is proposed.
  • the method is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is the cloud resource capacity used in a scenario that satisfies N% of the cloud resource requester, where , 0 ⁇ N ⁇ 100.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester.
  • the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends the cloud resource to the cloud resource requester Cloud resource allocation information, including:
  • the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data ;
  • the cloud resource management server obtains the current available shared cloud resource capacity and requests the second cloud resource after confirming that the first cloud resource of the cloud resource requester is used up.
  • the number of cloud resource requesters of the cloud resource and allocate the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
  • the cloud resource management server obtains 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
  • the third cloud resource request information is carried, 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 includes at least the following information One or more types: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information is implemented as follows:
  • the cloud resource management server calculates the third cloud resource pre-operation information, and sends the third cloud resource pre-operation information to The cloud resource requester to enable it to perform the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the cloud resource management server In response to detecting that the cloud resource requester has completed 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 the cloud resource After the requester has performed subsequent operations corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource to the cloud resource requester.
  • it further includes:
  • the cloud resource management server obtains the use feedback information of the cloud resource requester for the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource.
  • FIG. 7 shows a flow chart of a cloud resource management application scenario according to an embodiment of the present invention.
  • the cloud resource requester when it needs to apply for cloud resources, it sends the cloud resource management server to the cloud resource management server.
  • a resource request wherein 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;
  • the cloud resource request category such as requesting the first cloud resource, the second cloud resource or the third cloud resource; different types of cloud resource request capacity, etc.;
  • the cloud resource management server receives the cloud resource sent by the cloud resource requester After the request, send an information acquisition request to the cloud resource requester, so that the cloud resource requester sends the cloud resource requester’s attribute information and the cloud resource requester’s preset history to the cloud resource management server Historical cloud resource usage data within a time period.
  • the cloud resource requester After the cloud resource requester receives the information acquisition request sent by the cloud resource management server, it will compare the attribute information of the cloud resource requester and the cloud resource requester in advance. It is assumed that historical cloud resource usage data in a historical time period is sent to the cloud resource management server, so that the cloud resource management server can use the cloud resource requester's attribute information and historical cloud resource usage data as the cloud resource
  • the requester allocates cloud resources; the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and sends the cloud resource to the cloud resource requester Allocation information; after the cloud resource requester receives the cloud resource allocation information sent by the cloud resource management server, it can use the cloud resource allocated by the cloud resource management server according to the cloud resource allocation information.
  • FIG. 8 shows a structural block diagram of a cloud resource management device according to an embodiment of the present invention.
  • the device can be implemented as a part or all of an electronic device through software, hardware, or a combination of the two, and can be implemented as a cloud resource management server.
  • the cloud resource management device includes:
  • the first sending module 801 is configured to, in response to receiving a cloud resource request sent by a cloud resource requester, send an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and the cloud resource requester.
  • the allocation module 802 is configured to allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resource includes at least a first cloud resource and a second cloud resource. Resources and third cloud resources;
  • the second sending module 803 is configured to send cloud resource allocation information to the cloud resource requester.
  • a cloud resource management device which is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • the cloud resource request refers to a request sent by a cloud resource request to the cloud resource management server to use cloud resources and request the cloud resource management server to allocate cloud resources.
  • the cloud resource request may carry one or more of the following information: cloud resource requester identification information; cloud resource request type, such as requesting the first cloud resource, the second cloud resource, or the third cloud resource; different Category cloud resource request capacity and so on.
  • the cloud resource management server in order to perform customized resource allocation for the cloud resource requester, after the cloud resource management server receives the cloud resource request sent by the cloud resource requester, it sends an information acquisition request to the cloud resource requester , To obtain the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester in a preset historical time period, so that the cloud resource management server can subsequently follow the cloud resource requester The attribute information and historical cloud resource usage data of, allocate cloud resources to the cloud resource requester.
  • the attribute information of the cloud resource requester may include one or more of the following information: the identity of the cloud resource requester, for example, is it an individual or an enterprise, is it a government agency or a private company;
  • the scale of the resource requester for example, if the cloud resource requester is an enterprise, the scale refers to an enterprise of how many people the enterprise contains; and so on.
  • the historical cloud resource usage data of the cloud resource requester in a preset historical time period may include one or more of the following data: the number of times the historical cloud resource is used in the preset historical time period, and the preset historical time period Internal historical cloud resource usage capacity per use, total historical cloud resource usage in the preset historical time period, historical cloud resource application scenario information in the preset historical time period, number of historical cloud resource application scenarios in the preset historical time period, preset Each application scenario of historical cloud resources in the historical time period uses cloud resource capacity, etc., wherein the preset historical time period can be set according to actual application requirements, and the specific value thereof is not specifically limited in the present disclosure.
  • the cloud resource allocation information refers to the cloud resource allocation information sent to the cloud resource requester by the cloud resource management server after allocating cloud resources to the cloud resource requester. Resource-related information. After receiving the cloud resource allocation information, the cloud resource requester can use the cloud resource allocated by the cloud resource management server according to the cloud resource allocation information.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, that is, reserved for the cloud resource requester, and as long as the cloud resource requester requests it, it must be
  • the cloud resources that it allocates can also be called basic cloud resources, and its maximum capacity is the cloud resource capacity used in the scenario where N% of the cloud resource requester is satisfied, that is, the cloud resource capacity under N% satisfaction.
  • the value of N can be set according to the attribute information of the cloud resource requester, its historical cloud resource usage data, the total available cloud resource capacity, and the total number of cloud resource requesters, etc., for example, If the cloud resource requester is a government agency, the scale is greater than the preset scale threshold, the number of historical cloud resource usage is greater than the preset threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold, the value of N can be set to a larger value Some to ensure the stable use of the exclusive cloud resources by the cloud resource requester.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester, rather than exclusive cloud resources.
  • the second cloud resource is to send to the cloud resource requester after the cloud resource requester has used up the first cloud resource allocated to it, that is, when the first cloud resource cannot satisfy the use of the cloud resource requester
  • the cloud resource requested by the resource management server and the third cloud resource is after the cloud resource requester has used up the first cloud resource and the second cloud resource allocated to it, that is, the first cloud resource and the second cloud resource
  • the allocation module 802 includes:
  • the first allocation submodule 901 is configured to, in response to receiving the first cloud resource request sent by the cloud resource requester, provide the cloud resource request according to the attribute information of the cloud resource requester and historical cloud resource usage data Party allocates the first cloud resource;
  • the second allocation sub-module 902 is configured to, in response to receiving the 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, obtain the currently available share Cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource, according to the request sequence of the cloud resource requester, the available shared cloud resource capacity, and the number of cloud resource requesters requesting the second cloud resource And the cloud resource requester requests the capacity of the second cloud resource to allocate the second cloud resource to the cloud resource requester;
  • the third allocation submodule 903 is 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 , Acquiring third cloud resource request information carried in the third cloud resource request, and allocating the third cloud resource to the cloud resource requester according to the third cloud resource request information, wherein the third cloud resource
  • the request information includes at least one or more of the following information: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the available cloud resources are allocated stepwise, that is, the first cloud resource requester is allocated exclusive first cloud resources, and the first cloud resources cannot satisfy the requirements.
  • the cloud resource requester has usage requirements, a second cloud resource is allocated to it, and when the second cloud resource cannot meet the cloud resource requester's usage needs, a third cloud resource is allocated to it.
  • the first allocation submodule 901 is based on the acquired The attribute information and historical cloud resource usage data of the cloud resource requester allocate the first cloud resource to the cloud resource requester;
  • the second allocation submodule 902 first confirms the previous request by the cloud resource requester. Whether the first cloud resource has been used up, after confirming that the first cloud resource has been used up, confirm the request sequence of all cloud resource requesters that request the second cloud resource, obtain the current available shared cloud resource capacity, and the current request 2. The number of all cloud resource requesters of the cloud resource, based on 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 cloud resource requester Requesting the capacity of the second cloud resource allocates the second cloud resource to the cloud resource requester.
  • the request order of the cloud resource requester may be followed by the first request.
  • the cloud resource requester of the second cloud resource allocates the second cloud resource first, and then allocates it to the cloud resource requester that subsequently requests the second cloud resource; for example, considering that the available shared cloud resource capacity may not meet the requests of all 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, the second cloud resource requester can be allocated the second cloud resource requester proportionally. Cloud resources, so that the first requester of the cloud resource can allocate resources first, and at the same time, it can take into account the needs of all cloud resource requesters;
  • the third allocation submodule 903 first confirms the cloud resource requester previously requested Whether the first cloud resource and the second cloud resource have been used up, after confirming that the first cloud resource and the second cloud resource have been used up, obtain the third cloud resource request information carried in the third cloud resource request, where ,
  • the third cloud resource request information includes at least one or more of the following information: a third cloud resource category, a third cloud resource use period, and a third cloud resource request capacity, wherein the third cloud resource category For example, it can be the usage scenario category of the third cloud resource, the usage purpose category of the third cloud resource, etc., and then request capacity according to the third cloud resource category, the third cloud resource usage period, and the third cloud resource Waiting for the third cloud resource request information to allocate the third cloud resource to the cloud resource requester.
  • the part 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 as:
  • the third cloud resource pre-operation information is calculated, and the third cloud resource pre-operation information is sent to the cloud resource requester So that it performs the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the third allocation submodule 903 allocates the first In the case of three cloud resources, if it is determined that the third cloud resource that can be allocated is sufficient, first calculate the third cloud resource pre-operation information, and send the third cloud resource pre-operation information to the cloud resource requester so that Perform 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 has completed the third cloud resource pre-operation, it is the cloud resource requester Allocate the third cloud resource.
  • 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.
  • the cloud The resource management server can prepare the requested third cloud resource for it, and subsequently when the cloud resource management server prepares the third cloud resource, and the cloud resource requester performs the corresponding follow-up operation within the preset time ,
  • the third cloud resource requested by the cloud resource requester is actually allocated to the cloud resource requester, where the subsequent operation may be, for example, the resource order operation corresponding to the resource reservation operation, and the The resource cost confirmation payment operation corresponding to the resource cost prepayment operation, the remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, and the like.
  • the resource cost can be calculated by the cloud resource management server based on the cost of cloud resource operations such as equipment, manpower, land, infrastructure, time spent, etc., used to establish cloud resources, maintain cloud resources, and provide cloud resources.
  • the prepayment operation of the resource cost part refers to the payment operation performed for the resource cost of the preset ratio C, where the preset ratio C (0 ⁇ C ⁇ 1) can be based on the historical cloud resource usage of the cloud resource requester
  • the data is especially determined by historical third cloud resource usage data.
  • the historical third cloud resource usage data may also include one or more of the following data: history within a preset historical time period The number of times that the third cloud resource performs pre-operations, the number of times that the historical third cloud resource performs pre-operations in the preset historical time period to continue to perform subsequent operations, and the historical third cloud resources within the preset historical time period does not continue to perform subsequent operations after performing the pre-operations The number of times and so on.
  • the performance of the cloud resource requester can be determined. For example, the cloud resource requester’s performance rate for the third cloud resource within a preset historical time period can be calculated.
  • the fulfillment rate is directly used as the preset ratio C, and the fulfillment rate can also be multiplied by a preset weighting coefficient and then used as the preset ratio C, where the preset weighting coefficient may be the same as the cloud resource request
  • the request level of the party is related. For example, if the cloud resource requester is a government agency, the scale is greater than the preset size threshold, the number of historical cloud resource usage is greater than the preset number threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold. It is considered that the request level of the cloud resource requester is higher, and at this time, a higher weight coefficient may be set for the cloud resource requester, and vice versa, a lower weight coefficient may be set for the cloud resource requester.
  • the device further includes a part that obtains use feedback information of the cloud resource requester for the cloud resource, and adjusts the allocation of the cloud resource according to the use feedback information of the cloud resource , That is, as shown in Figure 10, the device includes:
  • the first sending module 1001 is configured to, in response to receiving a cloud resource request sent by a cloud resource requester, send an information acquisition request to the cloud resource requester to acquire attribute information of the cloud resource requester and the cloud resource requester.
  • the allocation module 1002 is configured to allocate cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, wherein the cloud resource includes at least a first cloud resource and a second cloud resource. Resources and third cloud resources;
  • the second sending module 1003 is configured to send cloud resource allocation information to the cloud resource requester
  • the adjustment module 1004 is configured to obtain the use feedback information of the cloud resource requester for the cloud resource, and adjust the allocation of the cloud resource according to the use feedback information of the cloud resource.
  • an adjustment module 1004 is also set according to the cloud resources.
  • Use feedback information to adjust the allocation of the cloud resources may include one or more of the following information: the cloud resource requester responds to each request during the preset historical time period.
  • the actual usage ratio of cloud resources, the total usage ratio of cloud resource requesters for multiple requested cloud resources in the preset historical time period, the number of cloud resource requests requested by the cloud resource requester in the preset history time period, and the preset history time period The frequency at which the internal cloud resource requester requests the cloud resource, the cloud resource requester's fulfillment rate for the third cloud resource in a preset historical time period, and so on.
  • the capacity of the cloud resource requester requested by the cloud resource requester can be adjusted upward according to a preset ratio or a preset step value. The capacity is controlled down.
  • Fig. 11 shows a structural block diagram of a cloud resource management device according to another embodiment of the present invention.
  • the device can be implemented as a part or all of an electronic device through software, hardware, or a combination of the two, and can be implemented as a cloud resource requester.
  • the cloud resource management device includes:
  • the third sending module 1101 is 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 fourth sending module 1102 is configured to, in response to receiving an information acquisition request sent by the cloud resource management server, send to the cloud resource management server the attribute information of the cloud resource requester and the status of the cloud resource requester Preset historical cloud resource usage data in a historical time period, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;
  • the using 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.
  • a cloud resource management device which is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • the cloud resource requester when a cloud resource requester needs to apply for cloud resources, its third sending module 1101 sends a cloud resource request to the cloud resource management server, where the cloud resource includes at least the first cloud resource and the second cloud resource.
  • Resource and third cloud resource the cloud resource request may carry one or more of the following information: cloud resource requester identification information; cloud resource request category, such as requesting the first cloud resource, the second cloud resource, or the first cloud resource Three cloud resources; 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 the attribute information of the cloud resource requester and the cloud resource request
  • the historical cloud resource usage data of the party within the preset historical time period is sent to the cloud resource management server, so that the cloud resource management server can perform the task according to the attribute information of the cloud resource requester and the historical cloud resource usage data.
  • the cloud resource requester allocates cloud resources; finally, after receiving the cloud resource allocation information sent by the cloud resource management server, the use module 1103 uses the cloud resource
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, that is, reserved for the cloud resource requester, and as long as the cloud resource requester requests it, it must be
  • the cloud resources that it allocates can also be called basic cloud resources, and its maximum capacity is the cloud resource capacity used in the scenario where N% of the cloud resource requester is satisfied, that is, the cloud resource capacity under N% satisfaction.
  • the value of N can be set according to the attribute information of the cloud resource requester, its historical cloud resource usage data, the total available cloud resource capacity, and the total number of cloud resource requesters, etc., for example, If the cloud resource requester is a government agency, the scale is greater than the preset scale threshold, the number of historical cloud resource usage is greater than the preset threshold, and the total amount of historical cloud resource usage is greater than the preset total threshold, the value of N can be set to a larger value Some to ensure the stable use of the exclusive cloud resources by the cloud resource requester.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester, rather than exclusive cloud resources.
  • the second cloud resource is to send to the cloud resource requester after the cloud resource requester has used up the first cloud resource allocated to it, that is, when the first cloud resource cannot satisfy the use of the cloud resource requester
  • the cloud resource requested by the resource management server and the third cloud resource is after the cloud resource requester has used up the first cloud resource and the second cloud resource allocated to it, that is, the first cloud resource and the second cloud resource
  • the first The third cloud resource request carries at least one or more of the following information: the third cloud resource category, the third cloud resource use period, and the third cloud resource request capacity to inform the cloud resource management server of the cloud resource requester
  • the cloud resource management server When and how many third cloud resources need to be used, it is convenient for the cloud resource management server to time-share the third cloud resources and realize the time-sharing multiplexing of the cloud resources.
  • the method when the cloud resource request is a third cloud resource request, before the use module 1103, the method further includes: responding to receiving the third cloud resource pre-operation sent by the cloud resource management server Information, execute the third cloud resource pre-operation according to the third cloud resource pre-operation information, and in response to receiving subsequent operation information corresponding to the third cloud resource pre-operation from the cloud resource management server, according to The follow-up operation information performs the part of the follow-up operation, that is, as shown in FIG. 12, the device includes:
  • the third sending module 1201 is 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 fourth sending module 1202 is configured to, in response to receiving an information acquisition request sent by the cloud resource management server, send to the cloud resource management server the attribute information of the cloud resource requester and the status of the cloud resource requester Preset historical cloud resource usage data in a historical time period, so that the cloud resource management server allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and the historical cloud resource usage data;
  • the execution module 1203 is configured to, in response to receiving the third cloud resource pre-operation information sent by the cloud resource management server, execute the third cloud resource pre-operation information according to the third cloud resource pre-operation information, and in response to receiving the third cloud resource pre-operation information To the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, and execute the subsequent operation according to the subsequent operation information;
  • the using 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.
  • the execution module 1203 executes the third cloud resource pre-operation information according to the third cloud resource pre-operation information, and if the third cloud resource pre-operation information is received again, If the subsequent operation information corresponding to the third cloud resource pre-operation sent by the cloud resource management server, 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 prepayment operation, a resource cost partial prepayment operation, etc.
  • the subsequent operation may be, for example, a resource order operation corresponding to the resource reservation operation, and The resource cost confirmation payment operation corresponding to the resource cost prepayment operation, the remaining cost partial payment operation corresponding to the resource cost partial prepayment operation, and the like.
  • FIGS. 11-12 and related embodiments are the same as or similar to the explanations of the technical features described in the embodiments shown in FIGS. 8-10 above.
  • FIGS. 8-10 For the explanation and description of the related technical features, please refer to the above figures. 8-
  • the explanation and description of the technical features in the embodiment shown in FIG. 10 will not be repeated here.
  • Fig. 13 shows a structural block diagram of a cloud resource management device according to another embodiment of the present invention.
  • the device can be implemented as a part or all of an electronic device through software, hardware, or a combination of the two, and can be implemented as a cloud resource management system.
  • the cloud resource management device includes:
  • the cloud resource requester 1301 is 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 ,
  • the cloud resources include at least a first cloud resource, a second cloud resource, and a third cloud resource;
  • the cloud resource management server 1302 is configured to, in response to receiving the cloud resource request sent by the cloud resource requester, send an information acquisition request to the cloud resource requester, so that the cloud resource requester may direct the cloud resource management
  • the server sends the attribute information of the cloud resource requester and the historical cloud resource usage data of the cloud resource requester within a preset historical period of time, and all is based on the attribute information of the cloud resource requester and the historical cloud resource usage data.
  • the cloud resource requester allocates cloud resources, and sends cloud resource allocation information to the cloud resource requester.
  • a cloud resource management device which is based on the attribute information of the cloud resource requester and its historical cloud resource usage data in a preset historical time period.
  • the requesting party allocates the first cloud resource, the second cloud resource, and the third cloud resource that meet different usage requirements.
  • this technical solution can improve the utilization rate of supply resources while meeting the user's personalized and resource flexibility needs, avoid resource unsatisfaction or waste, and reduce the complexity of the resource request process and resource supply. Cost, and then improve the service quality of cloud computing service providers.
  • the first cloud resource is a cloud resource exclusive to the cloud resource requester, and its maximum capacity is the cloud resource capacity used in a scenario that satisfies N% of the cloud resource requester, where , 0 ⁇ N ⁇ 100.
  • the second cloud resource and the third cloud resource share cloud resources for the cloud resource requester.
  • the cloud resource management server 1302 allocates cloud resources to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data, and requests the cloud resource The part where the party sends cloud resource allocation information is configured as:
  • the cloud resource management server allocates the first cloud resource to the cloud resource requester according to the attribute information of the cloud resource requester and historical cloud resource usage data ;
  • the cloud resource management server obtains the current available shared cloud resource capacity and requests the second cloud resource after confirming that the first cloud resource of the cloud resource requester is used up.
  • the number of cloud resource requesters of the cloud resource and allocate the second cloud resource to the cloud resource requester according to the available shared cloud resource capacity and the number of cloud resource requesters requesting the second cloud resource;
  • the cloud resource management server obtains 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
  • the third cloud resource request information is carried, 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 includes at least the following information One or more types: the third cloud resource category, the third cloud resource usage period, and the third cloud resource request capacity.
  • the part that allocates the third cloud resource to the cloud resource requester according to the third cloud resource request information is configured as:
  • the cloud resource management server calculates the third cloud resource pre-operation information, and sends the third cloud resource pre-operation information to The cloud resource requester to enable it to perform the third cloud resource pre-operation according to the third cloud resource pre-operation information;
  • the cloud resource management server In response to detecting that the cloud resource requester has completed 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 the cloud resource After the requester has performed subsequent operations corresponding to the third cloud resource pre-operation, the cloud resource management server allocates the third cloud resource to the cloud resource requester.
  • the cloud resource management server 1302 is further configured to:
  • FIG. 13 and related embodiments are the same as or similar to the explanations of the technical features described in the embodiments shown in FIGS. 8-12 above.
  • FIGS. 8-figure please refer to the above-mentioned FIGS. 8-figure.
  • the explanation and description of the technical features in the embodiment shown in 12 will not be repeated here.
  • FIG. 14 shows a structural block diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 1400 includes a memory 1401 and a processor 1402; among them,
  • the memory 1401 is configured to store one or more computer instructions, where the one or more computer instructions are executed by the processor 1402 to implement any of the above method steps.
  • Fig. 15 is a schematic structural diagram of a computer system suitable for implementing the cloud resource management method according to the embodiment of the present invention.
  • the computer system 1500 includes a processing unit 1501, which can execute the above-mentioned implementation according to a program stored in a read-only memory (ROM) 1502 or a program loaded from a storage portion 1508 into a random access memory (RAM) 1503 Various treatments in the way. In the RAM 1503, various programs and data required for the operation of the system 1500 are also stored.
  • the processing unit 1501, ROM 1502, and RAM 1503 are connected to each other through a bus 1504.
  • An input/output (I/O) interface 1505 is also connected to the bus 1504.
  • the following components are connected to the I/O interface 1505: an input part 1506 including a keyboard, a mouse, etc.; an output part 1507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and speakers, etc.; a storage part 1508 including a hard disk, etc. ; And a communication section 1509 including a network interface card such as a LAN card, a modem, and the like. The communication section 1509 performs communication processing via a network such as the Internet.
  • the driver 1510 is also connected to the I/O interface 1505 as needed.
  • a removable medium 1511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1510 as needed, so that the computer program read therefrom is installed into the storage portion 1508 as needed.
  • the processing unit 1501 may be implemented as a processing unit such as a CPU, GPU, FPGA, and NPU.
  • the method described above can be implemented as a computer software program.
  • the embodiment of the present invention includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes program code for executing the cloud resource management method.
  • the computer program may be downloaded and installed from the network through the communication part 1509, and/or installed from the removable medium 1511.
  • each block in the route diagram or block diagram can represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more modules for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units or modules involved in the embodiments described in the present invention can be implemented in software or hardware.
  • the described units or modules may also be provided in the processor, and the names of these units or modules do not constitute a limitation on the units or modules themselves under certain circumstances.
  • the embodiments of the present invention also provide a computer-readable storage medium.
  • the computer-readable storage medium may be the computer-readable storage medium included in the device described in the foregoing embodiment; or it may exist alone.
  • the computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the methods described in the embodiments of the present invention.

Landscapes

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

Abstract

本发明实施例公开了一种云资源管理方法、装置、电子设备及计算机可读存储介质,所述方法包括:响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;向所述云资源请求方发送云资源分配信息。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。

Description

云资源管理方法、装置、电子设备及计算机可读存储介质
本申请要求2019年11月29日递交的申请号为201911206895.3、发明名称为“云资源管理方法、装置、电子设备及计算机可读存储介质”中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及云资源管理技术领域,具体涉及一种云资源管理方法、装置、电子设备及计算机可读存储介质。
背景技术
随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
发明内容
本发明实施例提供一种云资源管理方法、装置、电子设备及计算机可读存储介质。
第一方面,本发明实施例中提供了一种云资源管理方法。
具体的,所述云资源管理方法,包括:
响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
向所述云资源请求方发送云资源分配信息。
结合第一方面,本发明实施例在第一方面的第一种实现方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第一方面和第一方面的第一种实现方式,本发明实施例在第一方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第一方面、第一方面的第一种实现方式和第一方面的第二种实现方式,本公开在第一方面的第三种实现方式中,所述根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,包括:
响应于接收到所述云资源请求方发送的第一云资源请求,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
响应于接收到所述云资源请求方发送的第二云资源请求,并在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求所述第二云资源的云资源请求方数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源;
响应于接收到所述云资源请求方发送的第三云资源请求,并在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第一方面的第一种实现方式、第一方面的第二种实现方式和第一方面的第三种实现方式,本公开在第一方面的第四种实现方式中,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,被实施为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,为所述云资源请求方筹备所述第三云资源;
响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操 作,为所述云资源请求方分配所述第三云资源。
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式、第一方面的第三种实现方式和第一方面的第四种实现方式,本公开在第一方面的第五种实现方式中,还包括:
获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
第二方面,本发明实施例中提供了一种云资源管理方法。
具体的,所述云资源管理方法,包括:
向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
结合第二方面,本发明实施例在第二方面的第一种实现方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第二方面和第二方面的第一种实现方式,本发明实施例在第二方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第二方面、第二方面的第一种实现方式和第二方面的第二种实现方式,本公开在第二方面的第三种实现方式中,当所述云资源请求为第三云资源请求时,所述第三云资源请求至少携带以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第二方面的第一种实现方式、第二方面的第二种实现方式和第二方面的第三种实现方式,本公开在第二方面的第四种实现方式中,当所述云资源请求为第三云资源请求时,所述响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源之前,还包括:
响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三 云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作。
第三方面,本发明实施例中提供了一种云资源管理方法。
具体的,所述云资源管理方法,包括:
云资源请求方向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
响应于接收到所述云资源请求方发送的云资源请求,所述云资源管理服务器向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息;
响应于接收到所述云资源管理服务器发送的云资源分配信息,所述云资源请求方根据所述云资源分配信息使用所分配的云资源。
结合第三方面,本发明实施例在第三方面的第一种实现方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第三方面和第三方面的第一种实现方式,本发明实施例在第三方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第三方面、第三方面的第一种实现方式和第三方面的第二种实现方式,本公开在第三方面的第三种实现方式中,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息,包括:
当所述云资源请求为第一云资源请求时,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源请求为第二云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
当所述云资源请求为第三云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,并根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第三方面的第一种实现方式、第三方面的第二种实现方式和第三方面的第三种实现方式,本公开在第三方面的第四种实现方式中,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,被实施为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,所述云资源管理服务器计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,所述云资源管理服务器为所述云资源请求方筹备所述第三云资源,响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,所述云资源管理服务器为所述云资源请求方分配所述第三云资源。
结合第三方面、第三方面的第一种实现方式、第三方面的第二种实现方式、第三方面的第三种实现方式和第三方面的第四种实现方式,本公开在第三方面的第五种实现方式中,还包括:
所述云资源管理服务器获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
第四方面,本发明实施例中提供了一种云资源管理装置。
具体的,所述云资源管理装置,包括:
第一发送模块,被配置为响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
分配模块,被配置为根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第二发送模块,被配置为向所述云资源请求方发送云资源分配信息。
结合第四方面,本发明实施例在第四方面的第一种实现方式中,所述第一云资源为 所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第四方面和第四方面的第一种实现方式,本发明实施例在第四方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第四方面、第四方面的第一种实现方式和第四方面的第二种实现方式,本公开在第四方面的第三种实现方式中,所述分配模块包括:
第一分配子模块,被配置为响应于接收到所述云资源请求方发送的第一云资源请求,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
第二分配子模块,被配置为响应于接收到所述云资源请求方发送的第二云资源请求,并在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求所述第二云资源的云资源请求方数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源;
第三分配子模块,被配置为响应于接收到所述云资源请求方发送的第三云资源请求,并在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第四方面的第一种实现方式、第四方面的第二种实现方式和第四方面的第三种实现方式,本公开在第四方面的第四种实现方式中,所述第三分配子模块中的根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源的部分,被配置为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,为所述云资源请求方筹备所述第三云资源;
响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,为所述云资源请求方分配所述第三云资源。
结合第四方面、第四方面的第一种实现方式、第四方面的第二种实现方式、第四方 面的第三种实现方式和第四方面的第四种实现方式,本公开在第四方面的第五种实现方式中,还包括:
调整模块,被配置为获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
第五方面,本发明实施例中提供了一种云资源管理装置。
具体的,所述云资源管理装置,包括:
第三发送模块,被配置为向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第四发送模块,被配置为响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
使用模块,被配置为响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
结合第五方面,本发明实施例在第五方面的第一种实现方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第五方面和第五方面的第一种实现方式,本发明实施例在第五方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第五方面、第五方面的第一种实现方式和第五方面的第二种实现方式,本公开在第五方面的第三种实现方式中,当所述云资源请求为第三云资源请求时,所述第三云资源请求至少携带以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第五方面的第一种实现方式、第五方面的第二种实现方式和第五方面的第三种实现方式,本公开在第五方面的第四种实现方式中,当所述云资源请求为第三云资源请求时,所述使用模块之前,还包括:
执行模块,被配置为响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作。
第六方面,本发明实施例中提供了一种云资源管理装置。
具体的,所述云资源管理装置,包括:
云资源请求方,被配置为向云资源管理服务器发送云资源请求,并响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
云资源管理服务器,被配置为响应于接收到所述云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息。
结合第六方面,本发明实施例在第六方面的第一种实现方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
结合第六方面和第六方面的第一种实现方式,本发明实施例在第六方面的第二种实现方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
结合第六方面、第六方面的第一种实现方式和第六方面的第二种实现方式,本公开在第六方面的第三种实现方式中,所述云资源管理服务器中根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息的部分,被配置为:
当所述云资源请求为第一云资源请求时,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源请求为第二云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
当所述云资源请求为第三云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,并根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
结合第六方面的第一种实现方式、第六方面的第二种实现方式和第六方面的第三种实现方式,本公开在第六方面的第四种实现方式中,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源的部分,被配置为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,所述云资源管理服务器计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,所述云资源管理服务器为所述云资源请求方筹备所述第三云资源,响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,所述云资源管理服务器为所述云资源请求方分配所述第三云资源。
结合第六方面、第六方面的第一种实现方式、第六方面的第二种实现方式、第六方面的第三种实现方式和第六方面的第四种实现方式,本公开在第六方面的第五种实现方式中,所述云资源管理服务器还被配置为:
获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
第七方面,本发明实施例提供了一种电子设备,包括存储器和处理器,所述存储器用于存储一条或多条支持云资源管理装置执行上述云资源管理方法的计算机指令,所述处理器被配置为用于执行所述存储器中存储的计算机指令。所述云资源管理装置还可以包括通信接口,用于云资源管理装置与其他设备或通信网络通信。
第八方面,本发明实施例提供了一种计算机可读存储介质,用于存储云资源管理装置所用的计算机指令,其包含用于执行上述云资源管理方法为云资源管理装置所涉及的计算机指令。
本发明实施例提供的技术方案可包括以下有益效果:
上述技术方案根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明实施例。
附图说明
结合附图,通过以下非限制性实施方式的详细描述,本发明实施例的其它特征、目的和优点将变得更加明显。在附图中:
图1示出根据本发明一实施方式的云资源管理方法的流程图;
图2示出根据图1所示实施方式的云资源管理方法的步骤S102的流程图;
图3-图6示出根据本发明不同实施方式的云资源管理方法的流程图;
图7示出根据本发明一实施方式的云资源管理应用场景流程图;
图8示出根据本发明一实施方式的云资源管理装置的结构框图;
图9示出根据图8所示实施方式的云资源管理装置的分配模块802的结构框图;
图10-图13示出根据本发明不同实施方式的云资源管理装置的结构框图;
图14示出根据本发明一实施方式的电子设备的结构框图;
图15是适于用来实现根据本发明一实施方式的云资源管理方法的计算机系统的结构示意图。
具体实施方式
下文中,将参考附图详细描述本发明实施例的示例性实施方式,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施方式无关的部分。
在本发明实施例中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的特征、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他特征、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。
另外还需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明实施例。
本发明实施例提供的技术方案根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
图1示出根据本发明一实施方式的云资源管理方法的流程图,适用于云资源管理服务器,如图1所示,所述云资源管理方法包括以下步骤S101-S103:
在步骤S101中,响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
在步骤S102中,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
在步骤S103中,向所述云资源请求方发送云资源分配信息。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理方法,该方法根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在本发明一实施方式中,所述云资源请求指的是云资源请求方向所述云资源管理服务器发送的请求使用云资源、请求云资源管理服务器对于云资源进行分配的请求。其中,所述云资源请求可携带以下信息中的一种或多种:云资源请求方标识信息;云资源请求类别,比如是请求第一云资源、第二云资源还是第三云资源;不同类别云资源请求容量 等等。
在本发明一实施方式中,为了对于云资源请求方进行定制化的资源分配,当云资源管理服务器接收到云资源请求方发送的云资源请求后,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器后续可以根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源。其中,所述云资源请求方的属性信息可包括以下信息中的一种或多种:所述云资源请求方的身份性质,比如,是个人还是企业,是政府机关还是私营公司;所述云资源请求方的规模,比如,若所述云资源请求方为企业,则其规模指的是该企业是包含多少人的企业;等等。其中,所述云资源请求方在预设历史时间段内的历史云资源使用数据可包括以下数据中的一种或多种:预设历史时间段内历史云资源使用次数、预设历史时间段内历史云资源每次使用容量、预设历史时间段内历史云资源使用总量、预设历史时间段内历史云资源应用场景信息、预设历史时间段内历史云资源应用场景数量、预设历史时间段内历史云资源每一应用场景使用云资源容量等等,其中,所述预设历史时间段可根据实际应用的需要进行设置,本公开对其具体取值不作具体限定。
在本发明一实施方式中,所述云资源分配信息指的是云资源管理服务器在为所述云资源请求方分配了云资源之后,发送给所述云资源请求方的与为其所分配云资源相关的信息,后续所述云资源请求方在接收到所述云资源分配信息后,就可以根据所述云资源分配信息使用所述云资源管理服务器为其所分配的云资源。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,即为所述云资源请求方预留的、只要所述云资源请求方请求就一定能够为其进行分配的云资源,也可称之为基本云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,即N%满足度下的云资源容量,其中,0<N<100,N的取值可根据所述云资源请求方的属性信息、其历史云资源使用数据、可用云资源总容量以及云资源请求方总数量等信息进行设置,比如,若云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可将N的取值设置地大一些,以保障该云资源请求方对于专享云资源的稳定性使用。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源,而非专享云资源。其中,所述第二云资源是在所述云资源请求方使用完为其分配的第一云资源之后,即第一云资源不能够满足所述云资源请求方的使用时,向所述云资 源管理服务器请求使用的云资源,而所述第三云资源是在所述云资源请求方使用完为其分配的第一云资源和第二云资源之后,即第一云资源和第二云资源均不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源。
在本发明一实施方式中,如图2所示,所述步骤S102,即根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源的步骤,包括以下步骤S201-S203:
在步骤S201中,响应于接收到所述云资源请求方发送的第一云资源请求,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
在步骤S202中,响应于接收到所述云资源请求方发送的第二云资源请求,并在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
在步骤S203中,响应于接收到所述云资源请求方发送的第三云资源请求,并在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
为了充分利用可用云资源,在该实施方式中,对于所述可用云资源进行步进式分配,即先为所述云资源请求方分配专享第一云资源,第一云资源不能满足所述云资源请求方的使用需求时,为其分配第二云资源,第二云资源不能满足所述云资源请求方的使用需求时,再为其分配第三云资源。
具体地,当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为请求第一云资源的请求时,如前所述,根据获取的所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为请求第二云资源的请求时,首先确认所述云资源请求方之前请求的第一云资源是否已经使用完毕,在确认所述第一云资源已经使用完毕之后,确认所有请求第二云资源所述云资源请求方的请求顺序、获取当前可用共享云资源容量以及当前请求第二云资源的所有云资源请求方的数量,并根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求第二 云资源的所有云资源请求方的数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源,比如,在分配所述第二云资源时,可按照所述云资源请求方的请求顺序,为先请求第二云资源的云资源请求方先行分配第二云资源,之后再为后续请求第二云资源的云资源请求方分配;比如,考虑到可用共享云资源容量可能不能满足所有云资源请求方的请求,则可根据可用共享云资源容量、请求第二云资源的所有云资源请求方的数量以及每个云资源请求方所请求的第二云资源的容量,按照比例为云资源请求方分配第二云资源,以使得先请求的云资源请求方能够先分配得到资源,同时还能够兼顾所有云资源请求方的需求;
当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为请求第三云资源的请求时,首先确认所述云资源请求方之前请求的第一云资源和第二云资源是否已经使用完毕,在确认所述第一云资源和第二云资源已经使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量,其中,所述第三云资源类别比如可以为所述第三云资源的使用场景类别、所述第三云资源的使用用途类别等等,然后根据所述第三云资源类别、第三云资源使用时段和第三云资源请求容量等第三云资源请求信息为所述云资源请求方分配所述第三云资源。
在本发明一实施方式中,所述步骤S203中的根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源的步骤,可被实施为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,为所述云资源请求方筹备所述第三云资源;
响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,为所述云资源请求方分配所述第三云资源。
考虑到可用资源有限,为了能够对其进行更有效的利用,同时避免云资源请求方发起不必要的资源请求,造成资源浪费,在该实施方式中,在分配第三云资源时,若确定可分配第三云资源充足,则首先计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作,然后在检测到所述云资源请求方执行完毕所述第三云资源预操作时, 再为所述云资源请求方分配所述第三云资源。
其中,所述第三云资源预操作比如可以为资源预订操作、资源成本预支付操作、资源成本部分预支付操作等操作,在云资源请求方执行了所述第三云资源预操作之后,云资源管理服务器就可为其准备请求的第三云资源,后续当所述云资源管理服务器准备好第三云资源后,而且所述云资源请求方在预设时间内执行了相应的后续操作时,才真正把所述云资源请求方请求的第三云资源分配给所述云资源请求方,其中,所述后续操作比如可以为与所述资源预订操作对应的资源下单操作、与所述资源成本预支付操作对应的资源成本确认支付操作、与所述资源成本部分预支付操作对应的剩余成本部分支付操作等操作。其中,所述资源成本可由云资源管理服务器根据建立云资源、维护云资源、提供云资源所占用的设备、人力、土地、基础建设、所花费的时间等云资源操作所耗费的成本来核算得到,所述资源成本部分预支付操作指的是对于预设比例C的资源成本执行的支付操作,其中,所述预设比例C(0<C<1)可根据云资源请求方历史云资源使用数据尤其是历史第三云资源使用数据来确定,所述历史第三云资源使用数据除了上述历史云资源使用数据,还可包括以下数据中的一种或多种:预设历史时间段内历史第三云资源执行预操作次数、预设历史时间段内历史第三云资源执行预操作后继续执行后续操作次数、预设历史时间段内历史第三云资源执行预操作后未继续执行后续操作次数等等。基于上述历史第三云资源使用数据就可确定所述云资源请求方的履约情况,比如计算得到在预设历史时间段内所述云资源请求方对于第三云资源的履约率,可将所述履约率直接作为所述预设比例C,也可将所述履约率乘以一预设权重系数后作为所述预设比例C,其中,所述预设权重系数可以与所述云资源请求方的请求级别相关,比如,如果云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可认为所述云资源请求方的请求级别较高,此时可为所述云资源请求方设置较高的权重系数,反之,为所述云资源请求方设置较低的权重系数。
在本发明一实施方式中,所述方法还包括获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配的步骤,即如图3所示,所述方法包括以下步骤S301-S304:
在步骤S301中,响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
在步骤S302中,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
在步骤S303中,向所述云资源请求方发送云资源分配信息;
在步骤S304中,获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
为了更加充分、有效地利用云资源,对于云资源进行合理分配,既避免云资源的浪费,也避免云资源请求的重复发生,在该实施方式中,还根据所述云资源的使用反馈信息对于所述云资源的分配进行调整,其中,所述云资源的使用反馈信息可包括以下信息中的一种或多种:预设历史时间段内云资源请求方对于每次所请求云资源的实际使用比例、预设历史时间段内云资源请求方对于多次所请求云资源的使用总比例、预设历史时间段内云资源请求方请求云资源的次数、预设历史时间段内云资源请求方请求云资源的频率、预设历史时间段内云资源请求方对于第三云资源的履约率等等。比如,若预设历史时间段内云资源请求方对于每次所请求云资源的实际使用比例高于预设比例阈值、预设历史时间段内云资源请求方请求云资源的次数高于预设次数阈值、预设历史时间段内所述云资源请求方对于第三云资源的履约率高于预设履约率阈值,则认为所述云资源请求方对于云资源的请求非常迫切,而且会充分有效地利用所请求的云资源,因此,可按照预设比例或者预设步进值对于所述云资源请求方请求资源的容量进行上调控制,反之,则对于所述云资源请求方请求资源的容量进行下调控制。
图4示出根据本发明另一实施方式的云资源管理方法的流程图,适用于云资源请求方,如图4所示,所述云资源管理方法包括以下步骤S401-S403:
在步骤S401中,向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
在步骤S402中,响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
在步骤S403中,响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为 云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理方法,该方法根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在上述实施方式中,当云资源请求方需要申请云资源时,就向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源,所述云资源请求可携带以下信息中的一种或多种:云资源请求方标识信息;云资源请求类别,比如是请求第一云资源、第二云资源还是第三云资源;不同类别云资源请求容量等等;在接收到所述云资源管理服务器发送的信息获取请求后,将所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据发送给所述云资源管理服务器,以使所述云资源管理服务器能够根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;最后在接收到所述云资源管理服务器发送的云资源分配信息后,根据所述云资源分配信息来使用所述云资源管理服务器分配的云资源。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,即为所述云资源请求方预留的、只要所述云资源请求方请求就一定能够为其进行分配的云资源,也可称之为基本云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,即N%满足度下的云资源容量,其中,0<N<100,N的取值可根据所述云资源请 求方的属性信息、其历史云资源使用数据、可用云资源总容量以及云资源请求方总数量等信息进行设置,比如,若云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可将N的取值设置地大一些,以保障该云资源请求方对于专享云资源的稳定性使用。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源,而非专享云资源。其中,所述第二云资源是在所述云资源请求方使用完为其分配的第一云资源之后,即第一云资源不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源,而所述第三云资源是在所述云资源请求方使用完为其分配的第一云资源和第二云资源之后,即第一云资源和第二云资源均不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源。
为了充分利用可用云资源,同时又尽量避免资源的浪费,实现对于云资源的合理利用和控制,在本发明一实施方式中,当所述云资源请求为第三云资源请求时,所述第三云资源请求至少携带以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量,以告知所述云资源管理服务器所述云资源请求方需要在什么时候使用多少的第三云资源,便于所述云资源管理服务器对于第三云资源进行分时分配,实现云资源的分时复用。
在本发明一实施方式中,当所述云资源请求为第三云资源请求时,所述步骤S403,即响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源的步骤之前,还包括:响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作的步骤,即如图5所示,所述方法包括以下步骤S501-S504:
在步骤S501中,向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
在步骤S502中,响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
在步骤S503中,响应于接收到所述云资源管理服务器发送的第三云资源预操作信 息,根据所述第三云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作;
在步骤S504中,响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
考虑到可用资源有限,为了能够对其进行更有效的利用,同时避免云资源请求方发起不必要的资源请求,造成资源浪费,在该实施方式中,当所述云资源请求为第三云资源请求时,若接收到所述云资源管理服务器发送的第三云资源预操作信息,则根据所述第三云资源预操作信息执行所述第三云资源预操作,若再接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,则根据所述后续操作信息执行所述后续操作。其中,所述预操作比如可以为资源预订操作、资源成本预支付操作、资源成本部分预支付操作等操作,而所述后续操作比如可以为与所述资源预订操作对应的资源下单操作、与所述资源成本预支付操作对应的资源成本确认支付操作、与所述资源成本部分预支付操作对应的剩余成本部分支付操作等操作。
图4-图5所示及相关实施方式所涉及的技术特征与上文图1-图3所示实施方式所描述的技术特征的解释相同或相似,相关技术特征的解释和说明可参考上述图1-图3所示实施方式中对于技术特征的解释和说明,在此不再赘述。
图6示出根据本发明再一实施方式的云资源管理方法的流程图,适用于云资源管理系统,如图6所示,所述云资源管理方法包括以下步骤S601-S604:
在步骤S601中,云资源请求方向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
在步骤S602中,响应于接收到所述云资源请求方发送的云资源请求,所述云资源管理服务器向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
在步骤S603中,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息;
在步骤S604中,响应于接收到所述云资源管理服务器发送的云资源分配信息,所述云资源请求方根据所述云资源分配信息使用所分配的云资源。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理方法,该方法根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
在本发明一实施方式中,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息,包括:
当所述云资源请求为第一云资源请求时,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源请求为第二云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
当所述云资源请求为第三云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,并根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
在本发明一实施方式中,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,被实施为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,所述云资源管理服务器计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,所述云资源管理服务器为所述云资源请求方筹备所述第三云资源,响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,所述云资源管理服务器为所述云资源请求方分配所述第三云资源。
在本发明一实施方式中,还包括:
所述云资源管理服务器获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
图6所示及相关实施方式所涉及的技术特征与上文图1-图5所示实施方式所描述的技术特征的解释相同或相似,相关技术特征的解释和说明可参考上述图1-图5所示实施方式中对于技术特征的解释和说明,在此不再赘述。
图7示出根据本发明一实施方式的云资源管理应用场景流程图,如图7所示,在上述实施方式中,当云资源请求方需要申请云资源时,就向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源,所述云资源请求可携带以下信息中的一种或多种:云资源请求方标识信息;云资源请求类别,比如是请求第一云资源、第二云资源还是第三云资源;不同类别云资源请求容量等等;所述云资源管理服务器接收到所述云资源请求方发送的云资源请求后,向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,所述云资源请求方接收到所述云资源管理服务器发送的信息获取请求后,将所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据发送给所 述云资源管理服务器,以使所述云资源管理服务器能够根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息;所述云资源请求方接收到所述云资源管理服务器发送的云资源分配信息后,就可以根据所述云资源分配信息来使用所述云资源管理服务器分配的云资源了。
下述为本发明装置实施例,可以用于执行本发明方法实施例。
图8示出根据本发明一实施方式的云资源管理装置的结构框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,可实现为云资源管理服务器。如图8所示,所述云资源管理装置包括:
第一发送模块801,被配置为响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
分配模块802,被配置为根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第二发送模块803,被配置为向所述云资源请求方发送云资源分配信息。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理装置,该装置根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求 方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在本发明一实施方式中,所述云资源请求指的是云资源请求方向所述云资源管理服务器发送的请求使用云资源、请求云资源管理服务器对于云资源进行分配的请求。其中,所述云资源请求可携带以下信息中的一种或多种:云资源请求方标识信息;云资源请求类别,比如是请求第一云资源、第二云资源还是第三云资源;不同类别云资源请求容量等等。
在本发明一实施方式中,为了对于云资源请求方进行定制化的资源分配,当云资源管理服务器接收到云资源请求方发送的云资源请求后,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器后续可以根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源。其中,所述云资源请求方的属性信息可包括以下信息中的一种或多种:所述云资源请求方的身份性质,比如,是个人还是企业,是政府机关还是私营公司;所述云资源请求方的规模,比如,若所述云资源请求方为企业,则其规模指的是该企业是包含多少人的企业;等等。其中,所述云资源请求方在预设历史时间段内的历史云资源使用数据可包括以下数据中的一种或多种:预设历史时间段内历史云资源使用次数、预设历史时间段内历史云资源每次使用容量、预设历史时间段内历史云资源使用总量、预设历史时间段内历史云资源应用场景信息、预设历史时间段内历史云资源应用场景数量、预设历史时间段内历史云资源每一应用场景使用云资源容量等等,其中,所述预设历史时间段可根据实际应用的需要进行设置,本公开对其具体取值不作具体限定。
在本发明一实施方式中,所述云资源分配信息指的是云资源管理服务器在为所述云资源请求方分配了云资源之后,发送给所述云资源请求方的与为其所分配云资源相关的信息,后续所述云资源请求方在接收到所述云资源分配信息后,就可以根据所述云资源分配信息使用所述云资源管理服务器为其所分配的云资源。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,即为所述云资源请求方预留的、只要所述云资源请求方请求就一定能够为其进行分配的云资源,也可称之为基本云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云 资源容量,即N%满足度下的云资源容量,其中,0<N<100,N的取值可根据所述云资源请求方的属性信息、其历史云资源使用数据、可用云资源总容量以及云资源请求方总数量等信息进行设置,比如,若云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可将N的取值设置地大一些,以保障该云资源请求方对于专享云资源的稳定性使用。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源,而非专享云资源。其中,所述第二云资源是在所述云资源请求方使用完为其分配的第一云资源之后,即第一云资源不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源,而所述第三云资源是在所述云资源请求方使用完为其分配的第一云资源和第二云资源之后,即第一云资源和第二云资源均不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源。
在本发明一实施方式中,如图9所示,所述分配模块802包括:
第一分配子模块901,被配置为响应于接收到所述云资源请求方发送的第一云资源请求,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
第二分配子模块902,被配置为响应于接收到所述云资源请求方发送的第二云资源请求,并在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求所述第二云资源的云资源请求方数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源;
第三分配子模块903,被配置为响应于接收到所述云资源请求方发送的第三云资源请求,并在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
为了充分利用可用云资源,在该实施方式中,对于所述可用云资源进行步进式分配,即先为所述云资源请求方分配专享第一云资源,第一云资源不能满足所述云资源请求方的使用需求时,为其分配第二云资源,第二云资源不能满足所述云资源请求方的使用需求时,再为其分配第三云资源。
具体地,当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为 请求第一云资源的请求时,如前所述,所述第一分配子模块901根据获取的所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为请求第二云资源的请求时,所述第二分配子模块902首先确认所述云资源请求方之前请求的第一云资源是否已经使用完毕,在确认所述第一云资源已经使用完毕之后,确认所有请求第二云资源所述云资源请求方的请求顺序、获取当前可用共享云资源容量以及当前请求第二云资源的所有云资源请求方的数量,并根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求第二云资源的所有云资源请求方的数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源,比如,在分配所述第二云资源时,可按照所述云资源请求方的请求顺序,为先请求第二云资源的云资源请求方先行分配第二云资源,之后再为后续请求第二云资源的云资源请求方分配;比如,考虑到可用共享云资源容量可能不能满足所有云资源请求方的请求,则可根据可用共享云资源容量、请求第二云资源的所有云资源请求方的数量以及每个云资源请求方所请求的第二云资源的容量,按照比例为云资源请求方分配第二云资源,以使得先请求的云资源请求方能够先分配得到资源,同时还能够兼顾所有云资源请求方的需求;
当所述云资源管理服务器接收到的所述云资源请求方发送的云资源请求为请求第三云资源的请求时,所述第三分配子模块903首先确认所述云资源请求方之前请求的第一云资源和第二云资源是否已经使用完毕,在确认所述第一云资源和第二云资源已经使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量,其中,所述第三云资源类别比如可以为所述第三云资源的使用场景类别、所述第三云资源的使用用途类别等等,然后根据所述第三云资源类别、第三云资源使用时段和第三云资源请求容量等第三云资源请求信息为所述云资源请求方分配所述第三云资源。
在本发明一实施方式中,所述第三分配子模块903中的根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源的部分,可被配置为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,为所述云资源请 求方筹备所述第三云资源;
响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,为所述云资源请求方分配所述第三云资源。
考虑到可用资源有限,为了能够对其进行更有效的利用,同时避免云资源请求方发起不必要的资源请求,造成资源浪费,在该实施方式中,在所述第三分配子模块903分配第三云资源时,若确定可分配第三云资源充足,则首先计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作,然后在检测到所述云资源请求方执行完毕所述第三云资源预操作时,再为所述云资源请求方分配所述第三云资源。
其中,所述第三云资源预操作比如可以为资源预订操作、资源成本预支付操作、资源成本部分预支付操作等操作,在云资源请求方执行了所述第三云资源预操作之后,云资源管理服务器就可为其准备请求的第三云资源,后续当所述云资源管理服务器准备好第三云资源后,而且所述云资源请求方在预设时间内执行了相应的后续操作时,才真正把所述云资源请求方请求的第三云资源分配给所述云资源请求方,其中,所述后续操作比如可以为与所述资源预订操作对应的资源下单操作、与所述资源成本预支付操作对应的资源成本确认支付操作、与所述资源成本部分预支付操作对应的剩余成本部分支付操作等操作。其中,所述资源成本可由云资源管理服务器根据建立云资源、维护云资源、提供云资源所占用的设备、人力、土地、基础建设、所花费的时间等云资源操作所耗费的成本来核算得到,所述资源成本部分预支付操作指的是对于预设比例C的资源成本执行的支付操作,其中,所述预设比例C(0<C<1)可根据云资源请求方历史云资源使用数据尤其是历史第三云资源使用数据来确定,所述历史第三云资源使用数据除了上述历史云资源使用数据,还可包括以下数据中的一种或多种:预设历史时间段内历史第三云资源执行预操作次数、预设历史时间段内历史第三云资源执行预操作后继续执行后续操作次数、预设历史时间段内历史第三云资源执行预操作后未继续执行后续操作次数等等。基于上述历史第三云资源使用数据就可确定所述云资源请求方的履约情况,比如计算得到在预设历史时间段内所述云资源请求方对于第三云资源的履约率,可将所述履约率直接作为所述预设比例C,也可将所述履约率乘以一预设权重系数后作为所述预设比例C,其中,所述预设权重系数可以与所述云资源请求方的请求级别相关,比如,如果云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可认为所述云资源请求方的请求级别较高, 此时可为所述云资源请求方设置较高的权重系数,反之,为所述云资源请求方设置较低的权重系数。
在本发明一实施方式中,所述装置还包括获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配的部分,即如图10所示,所述装置包括:
第一发送模块1001,被配置为响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
分配模块1002,被配置为根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第二发送模块1003,被配置为向所述云资源请求方发送云资源分配信息;
调整模块1004,被配置为获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
为了更加充分、有效地利用云资源,对于云资源进行合理分配,既避免云资源的浪费,也避免云资源请求的重复发生,在该实施方式中,还设置调整模块1004根据所述云资源的使用反馈信息对于所述云资源的分配进行调整,其中,所述云资源的使用反馈信息可包括以下信息中的一种或多种:预设历史时间段内云资源请求方对于每次所请求云资源的实际使用比例、预设历史时间段内云资源请求方对于多次所请求云资源的使用总比例、预设历史时间段内云资源请求方请求云资源的次数、预设历史时间段内云资源请求方请求云资源的频率、预设历史时间段内云资源请求方对于第三云资源的履约率等等。比如,若预设历史时间段内云资源请求方对于每次所请求云资源的实际使用比例高于预设比例阈值、预设历史时间段内云资源请求方请求云资源的次数高于预设次数阈值、预设历史时间段内所述云资源请求方对于第三云资源的履约率高于预设履约率阈值,则认为所述云资源请求方对于云资源的请求非常迫切,而且会充分有效地利用所请求的云资源,因此,可按照预设比例或者预设步进值对于所述云资源请求方请求资源的容量进行上调控制,反之,则对于所述云资源请求方请求资源的容量进行下调控制。
图11示出根据本发明另一实施方式的云资源管理装置的结构框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,可实现为云资源请求方。如图11所示,所述云资源管理装置包括:
第三发送模块1101,被配置为向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第四发送模块1102,被配置为响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
使用模块1103,被配置为响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理装置,该装置根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在上述实施方式中,当云资源请求方需要申请云资源时,其第三发送模块1101就向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源,所述云资源请求可携带以下信息中的一种或多种:云资源请求方标识信息;云资源请求类别,比如是请求第一云资源、第二云资源还是第三云资源;不同类别云资源请求容量等等;在接收到所述云资源管理服务器发送的信息获取请求后,第四 发送模块1102将所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据发送给所述云资源管理服务器,以使所述云资源管理服务器能够根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;最后在接收到所述云资源管理服务器发送的云资源分配信息后,使用模块1103根据所述云资源分配信息来使用所述云资源管理服务器分配的云资源。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,即为所述云资源请求方预留的、只要所述云资源请求方请求就一定能够为其进行分配的云资源,也可称之为基本云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,即N%满足度下的云资源容量,其中,0<N<100,N的取值可根据所述云资源请求方的属性信息、其历史云资源使用数据、可用云资源总容量以及云资源请求方总数量等信息进行设置,比如,若云资源请求方为政府机关、规模大于预设规模阈值、历史云资源使用次数大于预设次数阈值,历史云资源使用总量大于预设总量阈值,则可将N的取值设置地大一些,以保障该云资源请求方对于专享云资源的稳定性使用。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源,而非专享云资源。其中,所述第二云资源是在所述云资源请求方使用完为其分配的第一云资源之后,即第一云资源不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源,而所述第三云资源是在所述云资源请求方使用完为其分配的第一云资源和第二云资源之后,即第一云资源和第二云资源均不能够满足所述云资源请求方的使用时,向所述云资源管理服务器请求使用的云资源。
为了充分利用可用云资源,同时又尽量避免资源的浪费,实现对于云资源的合理利用和控制,在本发明一实施方式中,当所述云资源请求为第三云资源请求时,所述第三云资源请求至少携带以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量,以告知所述云资源管理服务器所述云资源请求方需要在什么时候使用多少的第三云资源,便于所述云资源管理服务器对于第三云资源进行分时分配,实现云资源的分时复用。
在本发明一实施方式中,当所述云资源请求为第三云资源请求时,所述使用模块1103之前,还包括:响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作的部分,即如图12所示,所述装置包括:
第三发送模块1201,被配置为向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
第四发送模块1202,被配置为响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
执行模块1203,被配置为响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作;
使用模块1204,被配置为响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
考虑到可用资源有限,为了能够对其进行更有效的利用,同时避免云资源请求方发起不必要的资源请求,造成资源浪费,在该实施方式中,当所述云资源请求为第三云资源请求时,若接收到所述云资源管理服务器发送的第三云资源预操作信息,执行模块1203根据所述第三云资源预操作信息执行所述第三云资源预操作,若再接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,则根据所述后续操作信息执行所述后续操作。其中,所述预操作比如可以为资源预订操作、资源成本预支付操作、资源成本部分预支付操作等操作,而所述后续操作比如可以为与所述资源预订操作对应的资源下单操作、与所述资源成本预支付操作对应的资源成本确认支付操作、与所述资源成本部分预支付操作对应的剩余成本部分支付操作等操作。
图11-图12所示及相关实施方式所涉及的技术特征与上文图8-图10所示实施方式所描述的技术特征的解释相同或相似,相关技术特征的解释和说明可参考上述图8-图10所示实施方式中对于技术特征的解释和说明,在此不再赘述。
图13示出根据本发明再一实施方式的云资源管理装置的结构框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,可实现为云资源管理系统。如图13所示,所述云资源管理装置包括:
云资源请求方1301,被配置为向云资源管理服务器发送云资源请求,并响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
云资源管理服务器1302,被配置为响应于接收到所述云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息。
上文提及,随着数据技术的发展,云计算的应用越来越广泛。ECS(弹性计算)作为云计算重要的基础产品,为用户提供了资源即用即开的服务能力,相比传统的IDC(Internet Data Center,互联网数据中心)方式,大大降低了用户使用成本,因此云资源的弹性保障能力是云计算服务提供方的竞争力所在,但云资源弹性保障的无限制提升又会导致资源供应成本呈指数级增长,给云计算服务提供方带来巨大的成本压力。目前云计算服务提供方主要是根据用户的基本信息将其划分为不同的级别,每个级别对应粗略的弹性上限,但该处理方式存在以下几个问题:1、每个级别对应的粗略弹性上限并不适用所有的用户,这样就会造成资源的不满足或浪费;2、对于用户的个性化与突发需求,无法实现自动应答,只能通过后台定期提交需求单来解决,该流程复杂,真实性无法辨别;3、用户弹性上限无法保障,资源使用高峰时期容易出现资源争抢的情况,进而降低用户信任度。
考虑到上述问题,在该实施方式中,提出一种云资源管理装置,该装置根据云资源请求方的属性信息及其在预设历史时间段内的历史云资源使用数据,为所述云资源请求方分配满足不同使用需求的第一云资源、第二云资源和第三云资源。该技术方案通过不同等级云资源的调控,能够在满足用户个性化与资源弹性需求的同时,提升供应资源的利用率,避免资源的不满足或浪费,同时降低资源请求流程的复杂度和资源供应成本,进而提升云计算服务提供方的服务质量。
在本发明一实施方式中,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
在本发明一实施方式中,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
在本发明一实施方式中,所述云资源管理服务器1302中根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息的部分,被配置为:
当所述云资源请求为第一云资源请求时,所述云资源管理服务器根据所述云资源请 求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
当所述云资源请求为第二云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
当所述云资源请求为第三云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,并根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
在本发明一实施方式中,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源的部分,被配置为:
当根据所述第三云资源请求信息确定可分配第三云资源充足时,所述云资源管理服务器计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,所述云资源管理服务器为所述云资源请求方筹备所述第三云资源,响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,所述云资源管理服务器为所述云资源请求方分配所述第三云资源。
在本发明一实施方式中,所述云资源管理服务器1302还被配置为:
获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
图13所示及相关实施方式所涉及的技术特征与上文图8-图12所示实施方式所描述的技术特征的解释相同或相似,相关技术特征的解释和说明可参考上述图8-图12所示实施方式中对于技术特征的解释和说明,在此不再赘述。
本发明实施例还公开了一种电子设备,图14示出根据本发明一实施方式的电子设备的结构框图,如图14所示,所述电子设备1400包括存储器1401和处理器1402;其中,
所述存储器1401用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器1402执行以实现上述任一方法步骤。
图15适于用来实现根据本发明实施方式的云资源管理方法的计算机系统的结构示 意图。
如图15所示,计算机系统1500包括处理单元1501,其可以根据存储在只读存储器(ROM)1502中的程序或者从存储部分1508加载到随机访问存储器(RAM)1503中的程序而执行上述实施方式中的各种处理。在RAM1503中,还存储有系统1500操作所需的各种程序和数据。处理单元1501、ROM1502以及RAM1503通过总线1504彼此相连。输入/输出(I/O)接口1505也连接至总线1504。
以下部件连接至I/O接口1505:包括键盘、鼠标等的输入部分1506;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1507;包括硬盘等的存储部分1508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1509。通信部分1509经由诸如因特网的网络执行通信处理。驱动器1510也根据需要连接至I/O接口1505。可拆卸介质1511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1510上,以便于从其上读出的计算机程序根据需要被安装入存储部分1508。其中,所述处理单元1501可实现为CPU、GPU、FPGA、NPU等处理单元。
特别地,根据本发明的实施方式,上文描述的方法可以被实现为计算机软件程序。例如,本发明的实施方式包括一种计算机程序产品,其包括有形地包含在及其可读介质上的计算机程序,所述计算机程序包含用于执行所述云资源管理方法的程序代码。在这样的实施方式中,该计算机程序可以通过通信部分1509从网络上被下载和安装,和/或从可拆卸介质1511被安装。
附图中的流程图和框图,图示了按照本发明各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本发明实施方式中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。
作为另一方面,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施方式中所述装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本发明实施例的方法。
以上描述仅为本发明的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本发明实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本发明实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (22)

  1. 一种云资源管理方法,其特征在于,包括:
    响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
    根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    向所述云资源请求方发送云资源分配信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
  3. 根据权利要求2所述的方法,其特征在于,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,包括:
    响应于接收到所述云资源请求方发送的第一云资源请求,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
    响应于接收到所述云资源请求方发送的第二云资源请求,并在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述云资源请求方的请求顺序、所述可用共享云资源容量、请求所述第二云资源的云资源请求方数量和云资源请求方请求第二云资源的容量为所述云资源请求方分配所述第二云资源;
    响应于接收到所述云资源请求方发送的第三云资源请求,并在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三云资源请求信息,根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,被实施为:
    当根据所述第三云资源请求信息确定可分配第三云资源充足时,计算所述第三云资 源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
    响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,为所述云资源请求方筹备所述第三云资源;
    响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,为所述云资源请求方分配所述第三云资源。
  6. 根据权利要求1-5任一所述的方法,其特征在于,还包括:
    获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
  7. 一种云资源管理方法,其特征在于,包括:
    向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
    响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
  8. 根据权利要求7所述的方法,其特征在于,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
  9. 根据权利要求8所述的方法,其特征在于,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
  10. 根据权利要求9所述的方法,其特征在于,当所述云资源请求为第三云资源请求时,所述第三云资源请求至少携带以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
  11. 根据权利要求10所述的方法,其特征在于,当所述云资源请求为第三云资源请求时,所述响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源之前,还包括:
    响应于接收到所述云资源管理服务器发送的第三云资源预操作信息,根据所述第三 云资源预操作信息执行所述第三云资源预操作,响应于接收到所述云资源管理服务器发送的与所述第三云资源预操作对应的后续操作信息,根据所述后续操作信息执行所述后续操作。
  12. 一种云资源管理方法,其特征在于,包括:
    云资源请求方向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    响应于接收到所述云资源请求方发送的云资源请求,所述云资源管理服务器向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
    所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息;
    响应于接收到所述云资源管理服务器发送的云资源分配信息,所述云资源请求方根据所述云资源分配信息使用所分配的云资源。
  13. 根据权利要求12所述的方法,其特征在于,所述第一云资源为所述云资源请求方专享云资源,其最大容量为满足所述云资源请求方百分之N场景下使用的云资源容量,其中,0<N<100。
  14. 根据权利要求13所述的方法,其特征在于,所述第二云资源和第三云资源为所述云资源请求方共享云资源。
  15. 根据权利要求14所述的方法,其特征在于,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息,包括:
    当所述云资源请求为第一云资源请求时,所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配所述第一云资源;
    当所述云资源请求为第二云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源使用完毕之后,获取当前可用共享云资源容量和请求所述第二云资源的云资源请求方数量,根据所述可用共享云资源容量和请求所述第二云资源的云资源请求方数量为所述云资源请求方分配所述第二云资源;
    当所述云资源请求为第三云资源请求时,所述云资源管理服务器在确认所述云资源请求方的第一云资源和第二云资源使用完毕之后,获取所述第三云资源请求携带的第三 云资源请求信息,并根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,其中,所述第三云资源请求信息至少包括以下信息中的一种或多种:第三云资源类别、第三云资源使用时段和第三云资源请求容量。
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述第三云资源请求信息为所述云资源请求方分配所述第三云资源,被实施为:
    当根据所述第三云资源请求信息确定可分配第三云资源充足时,所述云资源管理服务器计算所述第三云资源预操作信息,并将所述第三云资源预操作信息发送给所述云资源请求方以使其根据所述第三云资源预操作信息执行所述第三云资源预操作;
    响应于检测到所述云资源请求方执行完毕所述第三云资源预操作,所述云资源管理服务器为所述云资源请求方筹备所述第三云资源,响应于检测到所述云资源请求方执行完毕与所述第三云资源预操作对应的后续操作,所述云资源管理服务器为所述云资源请求方分配所述第三云资源。
  17. 根据权利要求12-16任一所述的方法,其特征在于,还包括:
    所述云资源管理服务器获取所述云资源请求方对于所述云资源的使用反馈信息,并根据所述云资源的使用反馈信息调整对于所述云资源的分配。
  18. 一种云资源管理装置,其特征在于,包括:
    第一发送模块,被配置为响应于接收到云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以获取所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据;
    分配模块,被配置为根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    第二发送模块,被配置为向所述云资源请求方发送云资源分配信息。
  19. 一种云资源管理装置,其特征在于,包括:
    第三发送模块,被配置为向云资源管理服务器发送云资源请求,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    第四发送模块,被配置为响应于接收到所述云资源管理服务器发送的信息获取请求,向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,以使所述云资源管理服务器根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源;
    使用模块,被配置为响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源。
  20. 一种云资源管理装置,其特征在于,包括:
    云资源请求方,被配置为向云资源管理服务器发送云资源请求,并响应于接收到所述云资源管理服务器发送的云资源分配信息,根据所述云资源分配信息使用所分配的云资源,其中,所述云资源至少包括第一云资源、第二云资源和第三云资源;
    云资源管理服务器,被配置为响应于接收到所述云资源请求方发送的云资源请求,向所述云资源请求方发送信息获取请求,以使所述云资源请求方向所述云资源管理服务器发送所述云资源请求方的属性信息和所述云资源请求方在预设历史时间段内的历史云资源使用数据,根据所述云资源请求方的属性信息和历史云资源使用数据为所述云资源请求方分配云资源,并向所述云资源请求方发送云资源分配信息。
  21. 一种电子设备,其特征在于,包括存储器和处理器;其中,
    所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现权利要求1-17任一项所述的方法步骤。
  22. 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该计算机指令被处理器执行时实现权利要求1-17任一项所述的方法步骤。
PCT/CN2020/131671 2019-11-29 2020-11-26 云资源管理方法、装置、电子设备及计算机可读存储介质 WO2021104349A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911206895.3 2019-11-29
CN201911206895.3A CN112887228B (zh) 2019-11-29 2019-11-29 云资源管理方法、装置、电子设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021104349A1 true WO2021104349A1 (zh) 2021-06-03

Family

ID=76039725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131671 WO2021104349A1 (zh) 2019-11-29 2020-11-26 云资源管理方法、装置、电子设备及计算机可读存储介质

Country Status (3)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666284B (zh) * 2022-05-23 2022-11-15 阿里巴巴(中国)有限公司 一种流量控制方法、装置、电子设备及可读存储介质
CN115022320B (zh) * 2022-05-31 2024-03-01 中国银行股份有限公司 云资源服务器的确定方法、装置、设备和介质
CN116069513B (zh) * 2023-04-04 2023-06-23 上海钐昆网络科技有限公司 成本确定方法、装置、电子设备及存储介质
CN117591301B (zh) * 2024-01-18 2024-04-12 中铁电气化局集团有限公司 一种监控云资源分配优化方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095846A (zh) * 2013-02-02 2013-05-08 深圳先进技术研究院 云计算资源的用户个性化调度方法和系统
CN108234581A (zh) * 2016-12-22 2018-06-29 腾讯科技(深圳)有限公司 一种资源的调度方法和服务器
CN108780403A (zh) * 2016-03-10 2018-11-09 沃拉斯堤技术解决方案公司 对用于信息系统的云计算资源进行管理的系统及方法
CN109542580A (zh) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 一种资源管理方法、装置、设备及计算机可读存储介质
CN110138883A (zh) * 2019-06-10 2019-08-16 北京贝斯平云科技有限公司 混合云资源分配方法和装置
US20190356734A1 (en) * 2016-03-02 2019-11-21 International Business Machines Corporation Optimization of integration flows in cloud environments

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110137805A1 (en) * 2009-12-03 2011-06-09 International Business Machines Corporation Inter-cloud resource sharing within a cloud computing environment
US9442769B2 (en) * 2011-09-30 2016-09-13 Red Hat, Inc. Generating cloud deployment targets based on predictive workload estimation
CN106559389A (zh) * 2015-09-28 2017-04-05 阿里巴巴集团控股有限公司 一种服务资源发布、调用方法、装置、系统及云服务平台
CN106712998A (zh) * 2015-11-18 2017-05-24 中兴通讯股份有限公司 一种云平台资源管理方法、装置及系统
CN106067119A (zh) * 2016-06-03 2016-11-02 成都镜杰科技有限责任公司 基于私有云的客户关系管理方法
CN107515785A (zh) * 2016-06-16 2017-12-26 大唐移动通信设备有限公司 一种内存管理方法及装置
CN107025138A (zh) * 2016-12-08 2017-08-08 阿里巴巴集团控股有限公司 一种资源处理方法及装置
CN108279974B (zh) * 2017-01-06 2022-07-19 阿里巴巴集团控股有限公司 一种云资源分配方法及装置
CN108063824A (zh) * 2017-12-22 2018-05-22 云南天成科技有限公司 一种云服务系统及构建方法
CN110363319B (zh) * 2018-03-26 2023-09-29 阿里巴巴集团控股有限公司 资源分配方法、服务器、资源申领方法和客户端
CN108958939B (zh) * 2018-07-06 2021-12-07 创新先进技术有限公司 服务资源的分配方法、装置及服务器
CN110008019B (zh) * 2019-02-28 2021-06-08 张帅辰 共享服务器资源的方法及装置、系统
CN110059942B (zh) * 2019-04-02 2022-08-30 南京邮电大学 一种基于模糊多目标优化的云制造资源服务优化调度方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095846A (zh) * 2013-02-02 2013-05-08 深圳先进技术研究院 云计算资源的用户个性化调度方法和系统
US20190356734A1 (en) * 2016-03-02 2019-11-21 International Business Machines Corporation Optimization of integration flows in cloud environments
CN108780403A (zh) * 2016-03-10 2018-11-09 沃拉斯堤技术解决方案公司 对用于信息系统的云计算资源进行管理的系统及方法
CN108234581A (zh) * 2016-12-22 2018-06-29 腾讯科技(深圳)有限公司 一种资源的调度方法和服务器
CN109542580A (zh) * 2017-09-22 2019-03-29 中兴通讯股份有限公司 一种资源管理方法、装置、设备及计算机可读存储介质
CN110138883A (zh) * 2019-06-10 2019-08-16 北京贝斯平云科技有限公司 混合云资源分配方法和装置

Also Published As

Publication number Publication date
CN112887228A (zh) 2021-06-01
CN112887228B (zh) 2024-02-02
TW202121274A (zh) 2021-06-01

Similar Documents

Publication Publication Date Title
WO2021104349A1 (zh) 云资源管理方法、装置、电子设备及计算机可读存储介质
US11146502B2 (en) Method and apparatus for allocating resource
US9391915B2 (en) Controlling bandwidth across multiple users for interactive services
CN107341050B (zh) 基于动态线程池的服务处理方法和装置
US20110004500A1 (en) Allocating a resource based on quality-of-service considerations
US20110313902A1 (en) Budget Management in a Compute Cloud
US20150296485A1 (en) Implementing cloud spectrum services modes of transaction
WO2019196561A1 (zh) 配送任务分配方法、装置、电子设备及计算机存储介质
US9760847B2 (en) Tenant selection in quota enforcing request admission mechanisms for shared applications
WO2017016113A1 (zh) 用于监控网络业务量的方法和装置
CN111798113A (zh) 资源分配方法、装置、存储介质和电子设备
CN114155026A (zh) 一种资源分配方法、装置、服务器及存储介质
CN104301257A (zh) 一种资源分配方法、装置及设备
CN105354090B (zh) 虚拟设备的管理方法和装置
CN114175602A (zh) 云资源的权限管理
CN110716809B (zh) 用于调度云资源的方法和装置
KR20150074531A (ko) 주문형 대역폭 서비스 제공 장치 및 방법
CN113935726A (zh) 实现公共账户的方法、设备以及计算机可读介质
WO2020166617A1 (ja) リソース競合調停装置、リソース競合調停方法、及びプログラム
CN112632074A (zh) 用于数据库的库存分配方法、装置、电子设备和介质
CN113129048A (zh) 资源供给方法、装置、电子设备及计算机可读存储介质
CN109711992B (zh) 资源转移方法、装置、系统、电子设备及介质
CN116069513B (zh) 成本确定方法、装置、电子设备及存储介质
US11250361B2 (en) Efficient management method of storage area in hybrid cloud
CN115391042B (zh) 一种资源分配方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20893887

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20893887

Country of ref document: EP

Kind code of ref document: A1