CN115766474A - Virtual resource life cycle management method suitable for cloud platform operation - Google Patents

Virtual resource life cycle management method suitable for cloud platform operation Download PDF

Info

Publication number
CN115766474A
CN115766474A CN202211342942.9A CN202211342942A CN115766474A CN 115766474 A CN115766474 A CN 115766474A CN 202211342942 A CN202211342942 A CN 202211342942A CN 115766474 A CN115766474 A CN 115766474A
Authority
CN
China
Prior art keywords
resource
proportion
virtual
application
schedulable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211342942.9A
Other languages
Chinese (zh)
Other versions
CN115766474B (en
Inventor
梁志宏
刘惠航
孙宇宁
傅林
吴文鹏
黄翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Digital Platform Technology Guangdong Co ltd filed Critical China Southern Power Grid Digital Platform Technology Guangdong Co ltd
Priority to CN202211342942.9A priority Critical patent/CN115766474B/en
Publication of CN115766474A publication Critical patent/CN115766474A/en
Application granted granted Critical
Publication of CN115766474B publication Critical patent/CN115766474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of virtual resource allocation management, in particular to a virtual resource life cycle management method suitable for cloud platform operation, which comprises the steps that an application evaluation unit evaluates the feasibility of virtual resource application, virtual resources are allocated to users according to evaluation results, a resource scheduling unit adjusts the schedulable resource proportion of the corresponding allocated virtual resources according to the use activity of each allocated virtual resource, when the schedulable resource proportion adjustment is completed, the application evaluation unit evaluates the virtual resource use application again, a resource allocation unit determines to allocate the virtual resources to the users or refuse the user application according to the evaluation results, a resource management unit periodically counts the use condition of each allocated virtual resource, and the use efficiency of a cloud server in the virtual resource operation process is improved by reasonably sharing and allocating idle resources in the allocated virtual resources.

Description

Virtual resource life cycle management method suitable for cloud platform operation
Technical Field
The invention relates to the technical field of virtual resource allocation management, in particular to a virtual resource life cycle management method suitable for cloud platform operation.
Background
With the rapid development of cloud computing technology, enterprise-level cloud services occupy more and more important positions in enterprise IT architecture planning, so that the scientific management of the full life cycle of virtual resources is more important in the operation management process of enterprise cloud.
Chinese patent publication No.: CN104461730B discloses a virtual resource allocation method and apparatus, which are applied to the field of computers and can avoid the switching omission of user-level threads in the process context switching process. The method comprises the following steps: when a user-level thread is hung, the virtual resource allocation device saves hardware resources corresponding to the user-level thread in a control data block of the user-level thread; in the virtual resource management, only the switching omission of the user thread in the process of process context switching is considered, the idle resource of the user-level virtual resource is not reasonably and dynamically allocated, and the overall utilization efficiency of the cloud server in providing the virtual resource service is reduced.
Disclosure of Invention
Therefore, the invention provides a virtual resource life cycle management method suitable for cloud platform operation, which is used for overcoming the problem that the prior art does not reasonably share and allocate the idle resources in the allocated virtual resources.
In order to achieve the above object, the present invention provides a method for virtual resource lifecycle management applicable to cloud platform operation, comprising the following steps:
s1, an application acquisition unit acquires a virtual resource use application of a user, and an application evaluation unit evaluates the feasibility of the virtual resource application;
s2, when the application evaluation unit determines that the virtual resource application is feasible, a resource allocation unit allocates virtual resources to the user;
s3, when the application evaluation unit determines that the virtual resource application is not feasible, the resource scheduling unit calculates the use activity of each allocated virtual resource, and adjusts the schedulable resource proportion of the corresponding allocated virtual resource according to the use activity of each allocated virtual resource;
s4, when the resource scheduling unit completes the resource proportion adjustment capable of being scheduled, the application evaluation unit evaluates the virtual resource application again, and the resource allocation unit determines to allocate virtual resources to the user or refuse the user application according to the evaluation result;
and S5, the resource management unit periodically counts the use condition of each allocated virtual resource and manages the allocated virtual resource according to the use condition.
Further, in the step S1, when the application evaluation unit evaluates the feasibility of the virtual resource usage application, the resource allocation unit determines an initial schedulable resource ratio according to a comparison result of the resource application amount D of the virtual resource usage application and a preset resource application amount,
the resource allocation unit is provided with a first preset resource application amount D1, a second preset resource application amount D2, a first schedulable resource proportion Pd1, a second schedulable resource proportion Pd2 and a third schedulable resource proportion Pd3, wherein D1 is less than D2, and Pd1 is less than Pd2 and less than Pd3;
if D is less than D1, the resource allocation unit determines Pd1 as the initial schedulable resource proportion,
if D1 is more than or equal to D and less than D2, the resource allocation unit determines Pd2 as the initial schedulable resource proportion,
and if D2 is less than or equal to D, the resource allocation unit determines Pd3 as the initial schedulable resource proportion.
Further, when the initial schedulable resource proportion is determined, the resource allocation unit determines the initial resource dynamic allocation proportion according to the comparison result of the network bandwidth W of the virtual resource usage application and the preset network bandwidth,
the resource allocation unit is provided with a first preset network bandwidth W1, a first resource dynamic allocation proportion Pw1, a second resource dynamic allocation proportion Pw2 and a third resource dynamic allocation proportion Pw3 in a second preset network bandwidth W2, wherein W1 is less than W2, and Pw1 is less than Pw2 and less than Pw3;
if W is less than W1, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw1;
if W1 is not less than W and less than W2, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw2;
and if W2 is less than or equal to W, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw3.
Further, when the initial resource dynamic allocation proportion is determined to be completed, the application evaluation unit calculates a feasibility evaluation parameter F according to the virtual resource allocation information of the virtual resource usage application
Figure BDA0003917066800000031
Where n =1,2,3, D10 denotes the current allocable resource amount, α is the influence weight of the resource application amount, T1 denotes the application lifetime of the virtual resource usage application, T10 denotes the preset application lifetime, and β denotes the influence weight of the application lifetime.
Further, when the application evaluation unit determines that the calculation of the feasibility evaluation parameter F is completed, the feasibility of the virtual resource application is preliminarily determined according to the comparison result of the feasibility evaluation parameter F and the preset evaluation parameter F0,
if F is less than F0, the application evaluation unit determines that the virtual resource application has feasibility;
and if the F is more than or equal to the F0, the application evaluation unit determines that the virtual resource application is not feasible.
Further, in the step S2, when the resource allocation unit allocates the virtual resource to the user, the resource allocation unit calculates an initial resource allocation amount R, R = D × (1-Pd) n )×Pw n And when the calculation of the initial resource allocation amount R is confirmed to be completed, the resource allocation unit allocates virtual resources to the user.
Further, in the step S3, the resource scheduling unit calculates the activity Li of each allocated virtual resource according to the average of the occupancy rate and the usage frequency of the single-use resource within the preset time period of each allocated virtual resource
Figure BDA0003917066800000032
Wherein Vi is the average of the occupancy rates of single-use resources of the ith allocated virtual resource, V0 is a preset occupancy rate of the used resources, α 1 represents the weight influenced by the occupancy rate of the resources, qi represents the use frequency of the ith allocated virtual resource, Q0 represents the preset use frequency, β 1 represents the weight influenced by the use frequency, i =1 to m, and m is the number of the allocated virtual resources.
Further, when calculating the activity of each allocated virtual resource is completed, the resource scheduling unit adjusts the corresponding initial schedulable resource proportion according to the comparison result of the activity Li of each allocated virtual resource and the preset activity,
the resource scheduling unit is provided with a first preset activity Pl1, a second preset activity Pl2, a first schedulable resource proportion regulating coefficient Kd1 and a second schedulable resource proportion regulating coefficient Kd2, wherein Pl1 is more than Pl2,1 is more than Kd1 and less than 1.3,0.7 is more than Kd2 and less than 1;
if Li is less than Pl1, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd1;
if the Pl1 is not less than the Li and not more than the Pl2, the resource scheduling unit determines not to adjust the schedulable resource proportion of the allocated virtual resource corresponding to the Li;
if Pl2 is less than Li, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd2;
if the resource scheduling unit determines that the j-th adjustable scheduling resource proportion adjusting coefficient Kdj is adopted to adjust the initial adjustable scheduling resource proportion of the allocated virtual resources corresponding to Li, the adjusted initial adjustable scheduling resource proportion corresponding to Li is recorded as Pd4, and Pd4= Pdn multiplied by Kdj, j =1,2 is set.
Further, in the step S5, when the resource management unit manages the corresponding virtual resources according to the usage of each allocated virtual resource, the resource scheduling unit adjusts the dynamic allocation proportion of the corresponding initial resources according to the comparison result between the single-use resource occupancy rate mean value Vi in the preset time period of each allocated virtual resource and the preset single-use resource occupancy rate obtained periodically,
the resource scheduling unit is provided with a first preset single-use resource occupancy rate Pv1, a second preset single-use resource occupancy rate Pv2, a first preset resource dynamic allocation proportion adjusting coefficient Kv1 and a second preset resource dynamic allocation proportion adjusting coefficient Kv2, wherein Pv1 is more than Pv2, kv1 is more than 1 and less than 1.3, kv2 is more than 0.7 and less than 1;
if Vi is less than Pv1, the resource scheduling unit determines that the dynamic resource allocation proportion adjusting coefficient corresponding to Vi is kv1;
if Pv1 is not more than Vi and not more than Pv2, the resource scheduling unit determines not to adjust the dynamic allocation proportion of the resources corresponding to Vi;
if Pv2 is less than Vi, the resource scheduling unit determines that the dynamic resource allocation proportion adjustment coefficient corresponding to Vi is kv2;
if the resource scheduling unit determines that the initial resource dynamic allocation proportion of the ith allocated virtual resource is adjusted by adopting an x-th resource dynamic allocation proportion adjustment coefficient kvx, the adjusted initial resource dynamic allocation proportion corresponding to the ith allocated virtual resource is marked as Pw4, and Pw4= Pwn × kvx, x =1,2 is set.
Further, when the adjustment of the corresponding dynamic allocation proportion of the initial resource is completed, the resource scheduling unit adjusts the adjusted schedulable resource proportion again according to the comparison result of the residual resource proportion Hi of each allocated virtual resource and the preset residual resource proportion,
wherein the resource scheduling resource is provided with a first preset surplus resource proportion Ph1, a second preset surplus resource proportion Ph2, a first schedulable resource proportion adjustment coefficient Kh1, a second schedulable resource proportion adjustment coefficient Kh2 and a third schedulable resource proportion adjustment coefficient Kh3, wherein Ph1 is more than Ph2, kh1 is more than 0.7 and less than 1, kh2 is more than 1 and less than 1.3,
if Hi is less than Ph1, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient corresponding to Hi is Kh1;
if Ph1 is not less than or equal to Hi and not more than Ph2, the resource scheduling unit determines not to adjust the schedulable resource proportion corresponding to Hi;
if ph2 is less than Hi, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient corresponding to Hi is Kh2;
if the resource scheduling unit determines to adopt the y-th schedulable resource proportion adjustment coefficient khy to readjust the adjusted schedulable resource proportion of the i-th allocated virtual resource, the rescheduled schedulable resource proportion corresponding to the i-th allocated virtual resource is recorded as Pd5, and Pd5= Pdn × khy, n =1,2,3,4, y =1,2 is set.
Compared with the prior art, the method has the advantages that the method comprises the steps that an application acquisition unit acquires a virtual resource use application of a user, an application evaluation unit evaluates feasibility of the virtual resource application, a resource allocation unit allocates virtual resources to the user, a resource scheduling unit calculates use activity of each allocated virtual resource, the schedulable resource proportion of the corresponding allocated virtual resource is adjusted according to the use activity of each allocated virtual resource, the application evaluation unit evaluates the virtual resource use application again, the resource allocation unit determines to allocate the virtual resources to the user or reject the user application according to the evaluation result, a resource management unit periodically counts use conditions of each allocated virtual resource, the allocated virtual resources are managed according to the use conditions, and the use efficiency of the cloud server in the virtual resource operation process is improved by reasonably sharing and allocating idle resources in the allocated virtual resources.
Further, when the application evaluation unit evaluates the feasibility of the virtual resource application, the resource allocation unit determines an initial schedulable resource proportion according to a comparison result of the resource application amount of the virtual resource application and a preset resource application amount, and judges different initial schedulable resource proportions according to request conditions of different application resource amounts, so that the accuracy of determining the initial schedulable resource proportion when the virtual resource to be allocated enters an allocation use stage is improved, and the use efficiency of the cloud server in the virtual resource operation process is further improved.
Further, when the initial schedulable resource proportion is determined, the resource allocation unit determines the initial resource dynamic allocation proportion according to a comparison result of the network bandwidth applied for using the virtual resource and the preset network bandwidth, and judges that the initial resource dynamic allocation proportion corresponds to different initial resource dynamic allocation proportions according to the conditions of network bandwidth requests of different resource application quantities, so that the accuracy of determining the initial resource dynamic allocation proportion when the virtual resource to be allocated enters the allocation use stage is improved, and the use efficiency of the cloud server in the virtual resource operation process is further improved.
Further, when the initial resource dynamic allocation proportion is determined to be completed, the application evaluation unit calculates the feasibility evaluation parameter according to the virtual resource allocation information of the application, and when the initial resource dynamic allocation proportion is determined to be completed, the feasibility evaluation parameter is calculated by comprehensively considering a plurality of influence parameters, so that the accuracy of evaluating the feasibility of the application virtual resource is improved, and the use efficiency of the cloud server in the virtual resource operation process is further improved.
Further, when the resource allocation unit allocates virtual resources to the user, the resource allocation unit calculates an initial resource allocation amount, and when it is confirmed that the calculation of the initial resource allocation amount is completed, the resource allocation unit allocates virtual resources to the user.
Further, when the application evaluation unit determines that the virtual resource application is not feasible, the resource scheduling unit calculates the activity of each allocated virtual resource according to the single usage resource occupancy rate mean value and the usage frequency within the preset time period of each allocated virtual resource, the resource scheduling unit adjusts the corresponding initial schedulable resource proportion according to the comparison result of the activity of each allocated virtual resource and the preset activity, calculates the activity of each allocated virtual resource by comprehensively considering a plurality of influence parameters, provides an effective basis for the adjustment of the initial schedulable resource proportion, and accurately schedules and controls the idle resources allocated with the shared resources by accurately adjusting the schedulable resource proportion, thereby improving the success rate of the user at the virtual resource application stage and further improving the usage efficiency of the cloud server in the virtual resource operation process.
Further, when the resource management unit manages the corresponding virtual resources according to the use conditions of the allocated virtual resources, the resource scheduling unit adjusts the corresponding dynamic allocation proportion of the initial resources according to the comparison result of the single-use resource occupancy rate average value in the preset time period of the allocated virtual resources and the preset single-use resource occupancy rate, and the dynamic allocation proportion of the resources is adjusted according to the single-use resource occupancy rate average value in the preset time period, so that the use experience of users in the virtual resource operation process is further ensured.
Further, when the dynamic allocation proportion of the corresponding initial resource is adjusted, the resource scheduling unit adjusts the adjusted schedulable resource proportion again according to the comparison result of the residual resource proportion of each allocated virtual resource and the preset residual resource proportion, improves the use efficiency of the cloud server by monitoring and managing the full life cycle of the user of the virtual resource in the use process, and ensures the user experience in the virtual resource operation process.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for virtual resource lifecycle management applicable to cloud platform operation according to the present invention;
fig. 2 is a connection relationship block diagram of a virtual resource lifecycle management system suitable for cloud platform operation according to the present invention.
Detailed Description
In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and do not delimit the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a virtual resource lifecycle management method applicable to cloud platform operation according to a real-time embodiment of the present invention.
The method for managing the life cycle of the virtual resource applicable to the cloud platform operation comprises the following steps:
s1, an application acquisition unit acquires a virtual resource use application of a user, and an application evaluation unit evaluates the feasibility of the virtual resource application;
s2, when the application evaluation unit determines that the virtual resource application is feasible, the resource allocation unit allocates the virtual resource to the user;
s3, when the application evaluation unit determines that the virtual resource application is not feasible, the resource scheduling unit calculates the use activity of each allocated virtual resource, and adjusts the schedulable resource proportion of the corresponding allocated virtual resource according to the use activity of each allocated virtual resource;
s4, when the resource scheduling unit completes the resource proportion adjustment capable of being scheduled, the application evaluation unit evaluates the virtual resource application again, and the resource allocation unit determines to allocate virtual resources to the user or refuse the user application according to the evaluation result;
and S5, the resource management unit periodically counts the use condition of each allocated virtual resource and manages the allocated virtual resource according to the use condition.
Specifically, in step S1, when the application evaluation unit evaluates the feasibility of the virtual resource usage application, the resource allocation unit determines an initial schedulable resource ratio according to the comparison result between the resource application amount D of the virtual resource usage application and the preset resource application amount,
the resource allocation unit is provided with a first preset resource application amount D1, a second preset resource application amount D2, a first schedulable resource proportion Pd1, a second schedulable resource proportion Pd2 and a third schedulable resource proportion Pd3, wherein D1 is greater than D2, and Pd1 is greater than Pd2 and Pd3;
if D is less than D1, the resource allocation unit determines Pd1 as the initial schedulable resource proportion,
if D1 is more than or equal to D and less than D2, the resource allocation unit determines Pd2 as the initial schedulable resource proportion,
if D2 is less than or equal to D, the resource allocation unit determines Pd3 as the initial schedulable resource proportion.
Specifically, the schedulable resource proportion is the proportion of sharable resources set on the premise of ensuring the use demand of the virtual resources applied by the user, and the proportion can be reduced according to the increase of the actual use demand of the virtual resources applied by the user.
Specifically, when the determination of the initial schedulable resource proportion is completed, the resource allocation unit determines the initial resource dynamic allocation proportion according to the comparison result of the network bandwidth W of the virtual resource usage application and the preset network bandwidth,
the resource allocation unit is provided with a first preset network bandwidth W1, a first resource dynamic allocation proportion Pw1, a second resource dynamic allocation proportion Pw2 and a third resource dynamic allocation proportion Pw3 in a second preset network bandwidth W2, wherein W1 is less than W2, and Pw1 is less than Pw2 and less than Pw3;
if W is less than W1, the resource allocation unit determines that the dynamic allocation proportion of the initial resources is Pw1;
if W1 is not less than W and less than W2, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw2;
and if W2 is less than or equal to W, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw3.
Specifically, when the initial resource dynamic allocation ratio determination is completed, the application evaluation unit calculates the feasibility evaluation parameter F according to the virtual resource allocation information of the virtual resource usage application
Figure BDA0003917066800000091
Where n =1,2,3, D10 denotes the current allocable resource amount, α is the influence weight of the resource application amount, T1 denotes the application lifetime of the virtual resource usage application, T10 denotes the preset application lifetime, and β denotes the influence weight of the application lifetime.
Specifically, when the application evaluation unit determines that the calculation of the feasibility evaluation parameter F is completed, the feasibility of the virtual resource application is preliminarily determined according to the comparison result of the feasibility evaluation parameter F and the preset evaluation parameter F0,
if F is less than F0, the application evaluation unit determines that the virtual resource application is feasible;
and if the F is larger than or equal to the F0, the application evaluation unit determines that the virtual resource application is not feasible.
Specifically, in the stepIn step S2, when the resource allocation unit allocates the virtual resource to the user, the resource allocation unit calculates an initial resource allocation amount R, R = D × (1-Pd) n )×Pw n And when the calculation of the initial resource allocation amount R is confirmed to be completed, the resource allocation unit allocates the virtual resource to the user.
Specifically, in step S3, the resource scheduling unit calculates the activity Li of each allocated virtual resource according to the average of the occupancy rate and the usage frequency of the single-use resource within the preset time period of each allocated virtual resource
Figure BDA0003917066800000092
Wherein Vi is the average of the occupancy rates of single-use resources of the ith allocated virtual resource, V0 is a preset occupancy rate of the used resources, α 1 represents the weight influenced by the occupancy rate of the resources, qi represents the use frequency of the ith allocated virtual resource, Q0 represents the preset use frequency, β 1 represents the weight influenced by the use frequency, i =1 to m, and m is the number of the allocated virtual resources.
Specifically, when the calculation of the activity of each allocated virtual resource is completed, the resource scheduling unit adjusts the corresponding proportion of the initial schedulable resource according to the comparison result of the activity Li of each allocated virtual resource and the preset activity,
the resource scheduling unit is provided with a first preset activity degree Pl1, a second preset activity degree Pl2, a first schedulable resource proportion regulation coefficient Kd1 and a second schedulable resource proportion regulation coefficient Kd2, wherein Pl1 is more than Pl2,1 is more than Kd1 and less than 1.3, and 0.7 is more than Kd2 and less than 1;
if Li is less than Pl1, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd1;
if the Li is more than or equal to Pl1 and less than or equal to Pl2, the resource scheduling unit determines not to adjust the schedulable resource proportion of the allocated virtual resources corresponding to the Li;
if Pl2 is less than Li, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd2;
if the resource scheduling unit determines that the j-th adjustable scheduling resource proportion adjusting coefficient Kdj is adopted to adjust the initial adjustable scheduling resource proportion of the allocated virtual resources corresponding to Li, the adjusted initial adjustable scheduling resource proportion corresponding to Li is recorded as Pd4, and Pd4= Pdn multiplied by Kdj, j =1,2 is set.
Specifically, in step S5, when the resource management unit manages the corresponding virtual resources according to the usage of each allocated virtual resource, the resource scheduling unit adjusts the dynamic allocation ratio of the corresponding initial resources according to the comparison result between the single-use resource occupancy rate mean value Vi and the preset single-use resource occupancy rate in the preset time period of each allocated virtual resource, which are obtained periodically,
the resource scheduling unit is provided with a first preset single-use resource occupancy rate Pv1, a second preset single-use resource occupancy rate Pv2, a first preset resource dynamic allocation proportion adjusting coefficient Kv1 and a second preset resource dynamic allocation proportion adjusting coefficient Kv2, wherein Pv1 is more than Pv2, kv1 is more than 1 and less than 1.3, kv2 is more than 0.7 and less than 1;
if Vi is less than Pv1, the resource scheduling unit determines that the dynamic resource allocation proportion adjusting coefficient corresponding to Vi is kv1;
if Pv1 is not more than Vi and not more than Pv2, the resource scheduling unit determines not to adjust the dynamic resource allocation proportion corresponding to Vi;
if Pv2 is less than Vi, the resource scheduling unit determines that the dynamic resource allocation proportion adjustment coefficient corresponding to Vi is kv2;
if the resource scheduling unit determines that the initial resource dynamic allocation proportion of the ith allocated virtual resource is adjusted by using the x-th resource dynamic allocation proportion adjustment coefficient kvx, the adjusted initial resource dynamic allocation proportion corresponding to the ith allocated virtual resource is marked as Pw4, and Pw4= Pwn × kvx, x =1,2 is set.
Specifically, when the dynamic allocation proportion of the corresponding initial resource is adjusted, the resource scheduling unit adjusts the adjustable resource proportion again according to the comparison result of the residual resource proportion Hi of each allocated virtual resource and the preset residual resource proportion,
wherein the resource scheduling resource is provided with a first preset surplus resource proportion Ph1, a second preset surplus resource proportion Ph2, a first schedulable resource proportion adjustment coefficient Kh1, a second schedulable resource proportion adjustment coefficient Kh2 and a third schedulable resource proportion adjustment coefficient Kh3, wherein Ph1 is more than Ph2, kh1 is more than 0.7 and less than 1, kh2 is more than 1 and less than 1.3,
if Hi is less than Ph1, the resource scheduling unit determines that the proportion adjustment coefficient of the schedulable resource corresponding to Hi is Kh1;
if Ph1 is not less than or equal to Hi and not more than Ph2, the resource scheduling unit determines not to adjust the schedulable resource proportion corresponding to Hi;
if ph2 is less than Hi, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient corresponding to Hi is Kh2;
if the resource scheduling unit determines to adopt the y-th schedulable resource proportion adjustment coefficient khy to readjust the adjusted schedulable resource proportion of the i-th allocated virtual resource, the rescheduled schedulable resource proportion corresponding to the i-th allocated virtual resource is recorded as Pd5, and Pd5= Pdn × khy, n =1,2,3,4, y =, 1,2 is set.
Referring to fig. 2, fig. 2 is a connection relationship block diagram of a virtual resource lifecycle management system applicable to cloud platform operation according to the embodiment of the present invention.
The virtual resource lifecycle management system applicable to cloud platform operation of the embodiment includes:
an application acquisition unit, configured to receive a virtual resource application from a user;
the application evaluation resource is connected with the application acquisition unit and used for evaluating the feasibility of the virtual resource application of the user and judging whether to accept the virtual resource application of the user according to the feasibility evaluation result;
the resource allocation unit is connected with the application evaluation unit and the application acquisition unit in an allocation manner and used for allocating resources according to the virtual resource application applied by the user;
the resource scheduling unit is connected with the resource allocation resource and is used for performing shared scheduling on the idle resource of the allocated resource;
and the resource management unit is respectively connected with the resource allocation unit and the resource scheduling unit and is used for managing the allocated virtual resources according to the use condition of the allocated virtual resources.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can be within the protection scope of the invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A virtual resource life cycle management method suitable for cloud platform operation is characterized by comprising the following steps:
s1, an application acquisition unit acquires a virtual resource use application of a user, and an application evaluation unit evaluates the feasibility of the virtual resource application;
s2, when the application evaluation unit determines that the virtual resource application is feasible, a resource allocation unit allocates virtual resources to the user;
s3, when the application evaluation unit determines that the virtual resource application is not feasible, the resource scheduling unit calculates the use activity of each allocated virtual resource, and adjusts the schedulable resource proportion of the corresponding allocated virtual resource according to the use activity of each allocated virtual resource;
s4, when the resource scheduling unit completes the resource proportion adjustment capable of being scheduled, the application evaluation unit evaluates the virtual resource application again, and the resource allocation unit determines to allocate virtual resources to the user or refuse the user application according to the evaluation result;
and S5, the resource management unit periodically counts the use condition of each allocated virtual resource and manages the allocated virtual resource according to the use condition.
2. The method for virtual resource lifecycle management applicable to cloud platform operations as claimed in claim 1, wherein in the step S1, when the application evaluation unit evaluates feasibility of the virtual resource usage application, the resource allocation unit determines an initial schedulable resource proportion according to a comparison result of a resource application amount D of the virtual resource usage application and a preset resource application amount,
the resource allocation unit is provided with a first preset resource application amount D1, a second preset resource application amount D2, a first schedulable resource proportion Pd1, a second schedulable resource proportion Pd2 and a third schedulable resource proportion Pd3, wherein D1 is less than D2, and Pd1 is less than Pd2 and less than Pd3;
if D is less than D1, the resource allocation unit determines Pd1 as the initial schedulable resource proportion,
if D1 is more than or equal to D and less than D2, the resource allocation unit determines Pd2 as the initial schedulable resource proportion,
and if D2 is less than or equal to D, the resource allocation unit determines Pd3 as the initial schedulable resource proportion.
3. The method for virtual resource lifecycle management applicable to cloud platform operations of claim 2, wherein when the initial schedulable resource proportion determination is completed, the resource allocation unit determines an initial resource dynamic allocation proportion according to a comparison result of a network bandwidth W of the virtual resource usage application and a preset network bandwidth,
the resource allocation unit is provided with a first preset network bandwidth W1, a first resource dynamic allocation proportion Pw1, a second resource dynamic allocation proportion Pw2 and a third resource dynamic allocation proportion Pw3 in a second preset network bandwidth W2, wherein W1 is less than W2, and Pw1 is less than Pw2 and less than Pw3;
if W is less than W1, the resource allocation unit determines that the dynamic allocation proportion of the initial resource is Pw1;
if W1 is more than or equal to W and less than W2, the resource allocation unit determines that the dynamic allocation proportion of the initial resources is Pw2;
and if W2 is less than or equal to W, the resource allocation unit determines that the initial resource dynamic allocation proportion is Pw3.
4. The method for virtual resource lifecycle management applicable to cloud platform operations as claimed in claim 3, wherein when the initial resource dynamic allocation proportion is determined to be completed, the application evaluation unit calculates the feasibility evaluation parameter F according to the virtual resource configuration information of the virtual resource usage application
Figure FDA0003917066790000021
Where n =1,2,3, D10 represents the current allocable resource amount, α is the influence weight of the resource application amount, T1 represents the application lifetime of the virtual resource, T10 represents the preset application lifetime, and β represents the influence weight of the application lifetime.
5. The method for virtual resource lifecycle management applicable to cloud platform operations of claim 4, wherein when the application evaluation unit determines that calculating the feasibility evaluation parameter F is complete, the feasibility of the virtual resource application is preliminarily determined according to a comparison result of the feasibility evaluation parameter F and a preset evaluation parameter F0,
if F is less than F0, the application evaluation unit determines that the virtual resource application has feasibility;
and if the F is larger than or equal to the F0, the application evaluation unit determines that the virtual resource application is not feasible.
6. The method for virtual resource lifecycle management applicable to cloud platform operation according to claim 5, wherein in the step S2, when the resource allocation unit allocates the virtual resource to the user, the resource allocation unit calculates an initial resource partitionDosing with R, R = Dx (1-Pd) n )×Pw n And when the calculation of the initial resource allocation amount R is confirmed to be completed, the resource allocation unit allocates virtual resources to the user.
7. The method for virtual resource lifecycle management applicable to cloud platform operation as claimed in claim 6, wherein in the step S3, the resource scheduling unit calculates the activity Li of each allocated virtual resource according to the single-use resource occupancy rate mean value and the usage frequency within the preset time period of each allocated virtual resource
Figure FDA0003917066790000022
Wherein Vi is a single-use resource occupancy mean value of the ith allocated virtual resource, V0 is a preset usage resource occupancy, α 1 represents a weight influenced by the occupancy of the resource, qi represents a usage frequency of the ith allocated virtual resource, Q0 represents a preset usage frequency, β 1 represents a weight influenced by the usage frequency, i =1 to m, and m is the number of the allocated virtual resources.
8. The method of claim 7, wherein when calculating the activity of each of the allocated virtual resources is completed, the resource scheduling unit adjusts the initial schedulable resource ratio according to the comparison result of the activity Li of each of the allocated virtual resources and a preset activity,
the resource scheduling unit is provided with a first preset activity Pl1, a second preset activity Pl2, a first schedulable resource proportion regulating coefficient Kd1 and a second schedulable resource proportion regulating coefficient Kd2, wherein Pl1 is more than Pl2,1.1 is more than Kd1 is more than 1.3,0.7 is more than Kd2 is more than 1;
if Li is less than Pl1, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd1;
if the Pl1 is not less than the Li and not more than the Pl2, the resource scheduling unit determines not to adjust the schedulable resource proportion of the allocated virtual resource corresponding to the Li;
if Pl2 is less than Li, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient of the allocated virtual resource corresponding to Li is Kd2;
if the resource scheduling unit determines that the j-th adjustable scheduling resource proportion adjusting coefficient Kdj is adopted to adjust the initial adjustable scheduling resource proportion of the allocated virtual resources corresponding to Li, the adjusted initial adjustable scheduling resource proportion corresponding to Li is recorded as Pd4, and Pd4= Pdn multiplied by Kdj, j =1,2 is set.
9. The method for virtual resource lifecycle management applicable to cloud platform operations as claimed in claim 8, wherein in the step S5, when the resource management unit manages the corresponding virtual resources according to the usage of each allocated virtual resource, the resource scheduling unit adjusts the corresponding dynamic allocation proportion of the initial resources according to the comparison result between the average value Vi of single-use resource occupancy rates within the preset time period of each allocated virtual resource and the preset single-use resource occupancy rate, which is obtained periodically,
the resource scheduling unit is provided with a first preset single-use resource occupancy rate Pv1, a second preset single-use resource occupancy rate Pv2, a first preset resource dynamic allocation proportion adjusting coefficient Kv1 and a second preset resource dynamic allocation proportion adjusting coefficient Kv2, wherein Pv1 is more than Pv2, kv1 is more than 1 and less than 1.3, kv2 is more than 0.7 and less than 1;
if Vi is less than Pv1, the resource scheduling unit determines that the dynamic resource allocation proportion adjusting coefficient corresponding to Vi is kv1;
if Pv1 is less than or equal to Vi and less than Pv2, the resource scheduling unit determines not to adjust the dynamic allocation proportion of the resources corresponding to Vi;
if Pv2 is less than Vi, the resource scheduling unit determines that the dynamic resource allocation proportion adjusting coefficient corresponding to Vi is kv2;
if the resource scheduling unit determines that the initial resource dynamic allocation proportion of the ith allocated virtual resource is adjusted by adopting an x-th resource dynamic allocation proportion adjustment coefficient kvx, the adjusted initial resource dynamic allocation proportion corresponding to the ith allocated virtual resource is marked as Pw4, and Pw4= Pwn × kvx, x =1,2 is set.
10. The method of claim 9, wherein when the dynamic allocation of the initial resources is completed, the resource scheduling unit re-adjusts the adjusted schedulable resource ratio according to the comparison result between the remaining resource ratio Hi of each allocated virtual resource and the preset remaining resource ratio,
wherein the resource scheduling resource is provided with a first preset surplus resource proportion Ph1, a second preset surplus resource proportion Ph2, a first schedulable resource proportion adjustment coefficient Kh1, a second schedulable resource proportion adjustment coefficient Kh2 and a third schedulable resource proportion adjustment coefficient Kh3, wherein Ph1 is more than Ph2, kh1 is more than 0.7 and less than 1, kh2 is more than 1 and less than 1.3,
if Hi is less than Ph1, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient corresponding to Hi is Kh1;
if Ph1 is not less than or equal to Hi and not more than Ph2, the resource scheduling unit determines not to adjust the proportion of the schedulable resource corresponding to Hi;
if ph2 is less than Hi, the resource scheduling unit determines that the schedulable resource proportion adjustment coefficient corresponding to Hi is Kh2;
if the resource scheduling unit determines to adopt the y-th schedulable resource proportion adjustment coefficient khy to readjust the adjusted schedulable resource proportion of the i-th allocated virtual resource, the rescheduled schedulable resource proportion corresponding to the i-th allocated virtual resource is recorded as Pd5, and Pd5= Pdn × khy, n =1,2,3,4, y =1,2 is set.
CN202211342942.9A 2022-10-31 2022-10-31 Virtual resource life cycle management method suitable for cloud platform operation Active CN115766474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211342942.9A CN115766474B (en) 2022-10-31 2022-10-31 Virtual resource life cycle management method suitable for cloud platform operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211342942.9A CN115766474B (en) 2022-10-31 2022-10-31 Virtual resource life cycle management method suitable for cloud platform operation

Publications (2)

Publication Number Publication Date
CN115766474A true CN115766474A (en) 2023-03-07
CN115766474B CN115766474B (en) 2024-04-26

Family

ID=85354379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211342942.9A Active CN115766474B (en) 2022-10-31 2022-10-31 Virtual resource life cycle management method suitable for cloud platform operation

Country Status (1)

Country Link
CN (1) CN115766474B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398768A (en) * 2008-10-28 2009-04-01 北京航空航天大学 Construct method of distributed virtual machine monitor system
CN103581333A (en) * 2013-11-13 2014-02-12 复旦大学 Runtime virtual resource dynamic allocation method and system based on feedforward and feedback control
CN106686136A (en) * 2017-02-24 2017-05-17 郑州云海信息技术有限公司 Cloud resource scheduling method and device
CN108496324A (en) * 2016-01-18 2018-09-04 华为技术有限公司 Cloud workload delivery system and method
CN109117257A (en) * 2018-07-20 2019-01-01 徐州海派科技有限公司 Method for scheduling task under cloud environment
CN110633900A (en) * 2019-08-30 2019-12-31 中国人民财产保险股份有限公司 Virtual resource allocation method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398768A (en) * 2008-10-28 2009-04-01 北京航空航天大学 Construct method of distributed virtual machine monitor system
CN103581333A (en) * 2013-11-13 2014-02-12 复旦大学 Runtime virtual resource dynamic allocation method and system based on feedforward and feedback control
CN108496324A (en) * 2016-01-18 2018-09-04 华为技术有限公司 Cloud workload delivery system and method
CN106686136A (en) * 2017-02-24 2017-05-17 郑州云海信息技术有限公司 Cloud resource scheduling method and device
CN109117257A (en) * 2018-07-20 2019-01-01 徐州海派科技有限公司 Method for scheduling task under cloud environment
CN110633900A (en) * 2019-08-30 2019-12-31 中国人民财产保险股份有限公司 Virtual resource allocation method and device and electronic equipment

Also Published As

Publication number Publication date
CN115766474B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
US11960937B2 (en) System and method for an optimizing reservation in time of compute resources based on prioritization function and reservation policy parameter
US8332483B2 (en) Apparatus, system, and method for autonomic control of grid system resources
CN110858161B (en) Resource allocation method, device, system, equipment and medium
US8250581B1 (en) Allocating computer resources to candidate recipient computer workloads according to expected marginal utilities
US8782655B2 (en) Controlling computing resource consumption
KR100985619B1 (en) Apparatus, system, and method for on-demand control of grid system resources
CN111480145B (en) System and method for scheduling workloads according to a credit-based mechanism
US8365175B2 (en) Power management using dynamic application scheduling
CN102004671B (en) Resource management method of data center based on statistic model in cloud computing environment
US8572253B2 (en) System and method for providing dynamic roll-back
CN105468458B (en) The resource regulating method and system of computer cluster
US8473602B2 (en) System and method for autonomic system management through modulation of network controls
WO2006009827A2 (en) System and method of providing reservation masks within a compute environment
US9104482B2 (en) Differentiated storage QoS
JP2008515106A (en) Apparatus, system, and method for coordinating service performance and application placement management
CN112241822B (en) Method and system for distributing micro-service-oriented power resources of data center
CN112463044B (en) Method and system for ensuring tail reading delay of server side of distributed storage system
WO2014206097A1 (en) Power control method and device for data system
JP2018190115A (en) Power management device and program
CN115766474B (en) Virtual resource life cycle management method suitable for cloud platform operation
KR20100069538A (en) Method and apparatus for providing grid resource management in grid computing middleware system
Afzal et al. Stochastic workflow scheduling with QoS guarantees in grid computing environments
CN114518949A (en) Resource management system and resource management method
Lou et al. Energy-efficient joint task assignment and migration in data centers: A deep reinforcement learning approach
WO2023036240A1 (en) Resource scheduling method and apparatus, and computer device and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant