CN108845860B - Method and device for managing quota and electronic equipment - Google Patents

Method and device for managing quota and electronic equipment Download PDF

Info

Publication number
CN108845860B
CN108845860B CN201810387462.1A CN201810387462A CN108845860B CN 108845860 B CN108845860 B CN 108845860B CN 201810387462 A CN201810387462 A CN 201810387462A CN 108845860 B CN108845860 B CN 108845860B
Authority
CN
China
Prior art keywords
value
quota
growth rate
crc
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810387462.1A
Other languages
Chinese (zh)
Other versions
CN108845860A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810387462.1A priority Critical patent/CN108845860B/en
Publication of CN108845860A publication Critical patent/CN108845860A/en
Application granted granted Critical
Publication of CN108845860B publication Critical patent/CN108845860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/504Resource capping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a method and a device for managing quota and electronic equipment, which are applied to the technical field of cloud computing, wherein the method comprises the following steps: aiming at each resource in the virtual machine, acquiring a residual available value and a current capacity expansion threshold value of the resource, and when the residual available value is smaller than the current capacity expansion threshold value, carrying out capacity expansion on the resource, wherein the increased value of quota is a capacity expansion quota value; acquiring actual use values of the resource by a user in a plurality of preset time periods, calculating a demand increase value of the resource by the user according to the actual use values, and calculating a next capacity expansion threshold value according to the demand increase value, the remaining available value and the current capacity expansion threshold value; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. The method and the device can set the value of the quota of the resource according to the business requirement.

Description

Method and device for managing quota and electronic equipment
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a device for managing quota and electronic equipment.
Background
In cloud computing technology, an enterprise may provide dynamic, easily extensible and virtualized resources, such as related businesses of a virtualized service platform and a flexible computing platform, through the internet. Usually, an administrator may set a quota in the virtualization service, such as a department quota and a corresponding amount of quota configured by different departments, where quota is a kind of management and allocation of resources, for example, a certain amount of memory and disk may be allocated. When a user applies for a related service to find that the allowance of the quota is insufficient, a capacity expansion application needs to be provided for an administrator, and the administrator increases the quota according to the existing resources.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: the value of quota added by the administrator is a value set empirically, and the set value of quota is determined with less conformity to the actual business needs of the user.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for managing quota and electronic equipment, which are used for dynamically setting a resource quota value according to actual business requirements and improving the conformity of quota and the actual business requirements. The specific technical scheme is as follows:
The embodiment of the invention provides a method for managing quota, which comprises the following steps:
aiming at each resource in the virtual machine, acquiring a residual available value and a current capacity expansion threshold value of the resource, and when the residual available value is smaller than the current capacity expansion threshold value, performing capacity expansion on the resource, wherein the increased value of quota is a capacity expansion quota value;
the capacity expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machine in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machine in the plurality of preset time periods;
acquiring actual use values of the resource of the user in the preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next capacity expansion threshold according to the demand increase value, the residual available value and the current capacity expansion threshold;
and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of preset time periods.
Optionally, the calculating, according to the plurality of actual usage values, a value of increase in demand of the user for the resource includes:
if the actual use value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure GDA0003582610610000021
the user demand increase value RMU for the resource is obtained,
Figure GDA0003582610610000022
and i is a weighting coefficient and is an integer from 1 to n, and n is the number of the preset time periods.
Optionally, the calculating a next expansion threshold according to the demand increase value, the remaining available value, and the current expansion threshold includes:
if the demand increase value is RMU, the remaining available value is ARC, and the current capacity expansion threshold is AQBnowAccording to the formula:
Figure GDA0003582610610000023
get the next expansion threshold AQBnext
Figure GDA0003582610610000024
To adjust the coefficients.
Optionally, the determining, according to the expansion quota value, the average increase rate, and the number of preset time periods, the quota value increased by the next expansion includes:
if the expansion quota value is QPBnowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPBnext=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
Optionally, the determining the average growth rate according to the obtained number of the virtual machines in the multiple preset time periods includes:
If the number of the virtual machines comprises: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QTjThe number of applications of the virtual machine in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of the preset time periods;
according to the formula:
Figure GDA0003582610610000031
calculating average growth rate CRC of quota number of virtual machineVMC,αi-1The growth rate weight of the quota number of the virtual machine in the ith time period and the (i-1) th time period is obtained;
according to the formula:
Figure GDA0003582610610000032
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines in the ith time period and the ith-1 time period;
according to the formula:
Figure GDA0003582610610000033
average growth rate CRC of application number of computer virtual machineATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
according to the formula: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a), and σ123=1。
Optionally, if the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure GDA0003582610610000034
bjIs ARCjThe weight of (c).
An embodiment of the present invention provides a qota management device, where the device includes:
the first capacity expansion module is used for acquiring a residual available value and a current capacity expansion threshold value of each resource in the virtual machine, and when the residual available value is smaller than the current capacity expansion threshold value, the capacity of the resource is expanded, and the increased value of the quota is an expanded quota value;
the capacity expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machine in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machine in the plurality of preset time periods;
the threshold value determining module is used for acquiring the actual use values of the resource of the user in the preset time periods through the data acquisition unit, calculating the demand increase value of the resource of the user according to the actual use values, and calculating the next expansion threshold value according to the demand increase value, the residual available value and the current expansion threshold value;
and the second capacity expansion module is used for determining the added value of the capacity expansion of the next time according to the capacity expansion value of the capacity expansion quota, the average growth rate and the number of preset time periods when the residual available value in the capacity expansion quota value is smaller than the next capacity expansion threshold value.
Optionally, the threshold determining module includes:
a requirement increment value determining submodule for determining if the actual use value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure GDA0003582610610000041
the user demand increase value RMU for the resource is obtained,
Figure GDA0003582610610000042
and i is an integer from 1 to n, and n is the number of the preset time periods.
Optionally, the threshold determining module further includes:
a capacity expansion threshold determination submodule, configured to determine that the remaining available value is ARC if the demand increase value is RMU, and the current capacity expansion threshold is AQBnowAccording to the formula:
Figure GDA0003582610610000043
get the next expansion threshold AQBnext
Figure GDA0003582610610000044
To adjust the coefficients.
Optionally, the second capacity expansion module is specifically configured to, if the capacity expansion quota value is QPBnowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPBnext=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
Optionally, the apparatus for managing quota in the embodiment of the present invention further includes:
if the number of the virtual machines comprises: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QT jThe number of applications of the virtual machines in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of preset time periods;
a first growth rate determination module to:
Figure GDA0003582610610000051
calculating average growth rate CRC of quota number of virtual machineVMC,αi-1The growth rate weight of the quota number of the virtual machine in the ith time period and the (i-1) th time period is obtained;
a second growth rate determination module to:
Figure GDA0003582610610000052
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines in the ith time period and the ith-1 time period;
a third growth rate determination module for determining a growth rate based on the formula:
Figure GDA0003582610610000053
Average growth rate CRC of application number of computer virtual machineATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
an average growth rate determination module to: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a) and σ123=1。
Optionally, if the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure GDA0003582610610000054
bjIs ARCjThe weight of (c).
An embodiment of the present invention provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
The memory is used for storing a computer program;
the processor is configured to implement the steps of any one of the above-described quota management methods when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the steps of any of the above-described methods of quota management.
In yet another aspect of the present invention, the present invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the steps of any of the above-described methods for managing quota.
According to the method, the device and the electronic equipment for managing the quota, provided by the embodiment of the invention, aiming at each resource in the virtual machine, the residual available value and the current capacity expansion threshold value of the resource are obtained, when the residual available value is smaller than the current capacity expansion threshold value, the resource is subjected to capacity expansion, and the increased quota value is the capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the capacity expansion quota value is smaller than the next capacity expansion threshold value, determining the increased quota value of the next capacity expansion according to the capacity expansion quota value, the average growth rate and the number of the preset time periods. The embodiment of the invention can carry out self-adaptive setting on the quota value of each resource aiming at the service requirement, thereby realizing dynamic capacity expansion and improving the conformity of quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flow chart of a method of managing quota according to an embodiment of the invention;
FIG. 2 is a block diagram of a quota management apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the existing method for managing the quota, when the resources used by the user are insufficient in the process of providing the virtualization service for the user, the quota value provided by the administrator to the user is a determined value, and the quota value does not necessarily accord with the requirement of the user. In order to solve the problem, embodiments of the present invention provide a method and an apparatus for managing quota, and an electronic device, so as to dynamically set a resource quota value according to an actual service requirement, thereby improving a conformity between quota and the actual service requirement.
First, a detailed description is given of the method for managing quota provided in the embodiment of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a qota management method according to an embodiment of the present invention, including the following steps:
S101, aiming at each resource in the virtual machine, obtaining a residual available value and a current capacity expansion threshold value of the resource, and when the residual available value is smaller than the current capacity expansion threshold value, carrying out capacity expansion on the resource, wherein the increased value of quota is a capacity expansion quota value. The expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods.
In the embodiment of the present invention, an enterprise may provide a virtualization service (for example, a desktop cloud) to a user (for example, an employee in the enterprise) through a virtual machine, so that the user may work through the desktop cloud, and the like, where the virtual machine refers to a complete computer system that has complete hardware system functions and is run in a completely isolated environment, and is simulated through software. Resources in the virtual machines provided by the enterprise include: a CPU (Central Processing Unit), a memory, a disk, etc. Generally, the size of resources provided by an enterprise to a user is limited, and when the user processes a service, the resources of the user may be left insufficient with the increase of the traffic volume, and at this time, an administrator is required to expand the capacity of the resources of the user. Since the method for expanding the capacity of each resource is similar in the embodiments of the present invention, a magnetic disk is taken as an example for description.
Specifically, when allocating resources to a user, an initial value is usually set, and if the resources are insufficient in the use process of the user, the capacity of the resources is expanded, and after the capacity expansion, if the service demand increases, the capacity expansion can be continued for many times. In addition, during capacity expansion, a threshold may also be set, that is, when the remaining available value of the resource is smaller than the threshold, a capacity expansion operation is triggered. In this embodiment of the present invention, the current quota value of the resource is the set initial value, for example, the current quota value of the disk may be 800G. The current capacity expansion threshold may be a value set according to the current quota value, and of course, the current capacity expansion threshold may also be a set fixed value, and the like, which is not limited herein. For example, the current capacity expansion threshold is 1/10, i.e., 80G, of the current quota value. Then, when the remaining available value of the disk is 80G, the disk is expanded. The increased quota value is an expansion quota value, and the expansion quota value can be determined through a preset calculation formula according to the current quota value, the average growth rate of the virtual machine in a plurality of preset time periods and the number of the preset time periods. The average growth rate refers to an average growth rate of the number of virtual machines, and can be determined according to the number of virtual machines in a plurality of preset time periods.
S102, acquiring actual use values of the resource of the user in a plurality of preset time periods through a data acquisition unit, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next capacity expansion threshold according to the demand increase value, the remaining available value and the current capacity expansion threshold.
In the embodiment of the present invention, the plurality of preset time periods may be consecutive time periods having the same period, for example, 3 months in a quarter, each preset time period is 1 month, and the number of the preset time periods is 3. The actual use value of the resource by the user in each month is usually different, and the actual use value of the disk by the user in the 3 months can be respectively obtained by the data collector. Then, the user demand increase value for the disk for 1 month to 2 months and the user demand increase value for the disk for 2 months to 3 months can be calculated according to the three actual usage values, and finally, the user demand increase value for the disk for the first quarter is calculated. The next expansion threshold may be calculated according to the demand increase value, the remaining available value, and the current expansion threshold, where the next expansion threshold is a threshold for performing the next expansion on the disk.
S103, when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods.
Specifically, after the capacity of the disk is expanded in step S101 to obtain the capacity expansion quota value, when the remaining available value is smaller than the next capacity expansion threshold value, the next capacity expansion is performed on the disk. The increased value of quota in the next expansion can be determined by a preset calculation formula according to the expansion quota value, the average growth rate and the number of preset time periods. The method for calculating the added quota value in the next expansion in this step may be similar to the method for calculating the expanded quota value in step S101, except that the expanded quota value (i.e., the quota value added in the first expansion) is calculated based on the current quota value (the initial set quota value), and the method for calculating the added quota value in this step (i.e., the quota value added in the second expansion) is calculated based on the quota value, and so on. That is, when performing multiple expansion, the increased value of quota per expansion is related to the value of quota before expansion.
The method for managing the quota of the embodiment of the invention obtains the residual available value and the current capacity expansion threshold value of each resource in the virtual machine, when the residual available value is smaller than the current capacity expansion threshold value, the resource is subjected to capacity expansion, and the increased quota value is the capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. Compared with the existing method for managing the quota, the embodiment of the invention can realize dynamic capacity expansion aiming at the service requirement and improve the conformity of the quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced.
In an implementation manner of the present invention, in S102 in the embodiment of fig. 1, if the actual usage value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure GDA0003582610610000091
the user demand increase value RMU for the resource is obtained,
Figure GDA0003582610610000092
and i is a weighting coefficient and is an integer from 1 to n, and n is the number of the preset time periods.
In the embodiment of the invention, the requirement added value of two adjacent time periods is the difference value between the actual use value of the next time period and the actual use value of the previous time period, and for a plurality of preset time periods, the requirement added value can be calculated according to the formula. For example, the preset time periods are 3 months in a quarter, and the increase value of the user's demand for the disk is the sum of the increase value of the user's demand for the disk from 1 month to 2 months
Figure GDA0003582610610000093
The product of (1), plus the added value of the demand of the user on the disk from 2 months to 3 months
Figure GDA0003582610610000094
The product of (a). Wherein, the weighting coefficient can be a value set according to the service requirement, for example, the service volume of 2 months and 3 months is larger, the service volume of 1 month is smaller,
Figure GDA0003582610610000095
can be compared with
Figure GDA0003582610610000096
Is large.
If the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure GDA0003582610610000097
bjIs ARCjThe weight of (a) is determined,
Figure GDA0003582610610000098
that is, for each preset time period, the remaining availability value of the resource in the preset time period may be obtained, and then, the remaining availability value of the resource in multiple preset time periods is the sum of the remaining availability values of the resource in each preset time period.
If the current expansion threshold is AQBnowAccording to the formula:
Figure GDA0003582610610000101
get the next expansion threshold AQBnext
Figure GDA0003582610610000102
To adjust the coefficients.
As can be seen from the above equation, if the demand increase value RMU is larger, the remaining available value ARC is correspondingly smaller AQBnextThe higher the value of (c).
Figure GDA0003582610610000103
To adjust the coefficients, adjustments may be made based on the actual scene, typically less than 1/100. It should be noted that when AQBnowAQB at the threshold of the first expansionnextA threshold for a second expansion; when AQBnowAQB at the threshold of the second expansionnextThreshold value for the third expansion, and so onAnd (6) pushing. That is, when the capacity is expanded for a plurality of times, the threshold value of the next expansion is based on the threshold value of the previous expansion.
In an implementation manner of the present invention, in S103 in the embodiment of fig. 1, determining the added value of quota for the next expansion according to the expansion quota value, the average increase rate, and the number of preset time periods includes:
if the expansion quota value is QPB nowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPBnext=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
In the embodiment of the present invention, when multiple expansion is performed, the value of quota increased by the next expansion may be based on the value of quota increased by the previous expansion. That is, QPBnowMay represent the increased value of quota from the previous expansion, and accordingly, QPBnextIndicating the increased value of quota for the next expansion. Thus, for the first expansion, the expanded quota value in S101 equals the current quota value and (1+ CRC)nThe product of (a). In general, (1+ CRC)nThe value of (a) is not more than 2, namely the value of quota increased by two adjacent expansion times is not doubled.
In an implementation manner of the present invention, in S101 in the embodiment of fig. 1, if the number of virtual machines includes: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QTjThe number of applications of the virtual machine in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of preset time periods;
according to the formula:
Figure GDA0003582610610000111
calculating average growth rate CRC of quota number of virtual machine VMC,αi-1The growth rate weight of the quota number of the virtual machine in the ith time period and the (i-1) th time period is obtained;
according to the formula:
Figure GDA0003582610610000112
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines used in the ith time period and the (i-1) th time period;
according to the formula:
Figure GDA0003582610610000113
average growth rate CRC of application number of computer virtual machineATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
according to the formula: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a) and σ123=1。
In the embodiment of the invention, the quota of the resource is based on the number of the virtual machines, and the increase of the number of the virtual machines directly influences the increase of the value of the quota, so that the average growth rate of the number of the virtual machines can be counted, and the average growth rate can be used for setting the value of the quota. Wherein, the number of virtual machines includes: the quota number, the using number and the application number of the virtual machines are different for each preset time period, the quota number, the using number and the application number of the virtual machines in the plurality of preset time periods can be respectively counted, and then the average growth rate CRC of the virtual machines is calculated according to the quota number, the using number and the application number of the virtual machines. Alpha above i-1、βi-1And gammai-1Can respectively satisfy
Figure GDA0003582610610000121
σ1、σ2And σ3Can be adjusted according to the quota number, the using number and the weight of the application number of the virtual machines, and sigma123=1。
Corresponding to the above method embodiment, an embodiment of the present invention further provides a qota management apparatus, referring to fig. 2, where fig. 2 is a structural diagram of the qota management apparatus in the embodiment of the present invention, including:
a first capacity expansion module 201, configured to obtain, for each resource in the virtual machine, a remaining available value and a current capacity expansion threshold of the resource, and perform capacity expansion on the resource when the remaining available value is smaller than the current capacity expansion threshold, where an increased quota value is a capacity expansion quota value;
the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods;
a threshold determining module 202, configured to obtain actual usage values of the resource by the user in multiple preset time periods through the data collector, calculate a demand increase value of the resource by the user according to the multiple actual usage values, and calculate a next capacity expansion threshold according to the demand increase value, the remaining available value, and the current capacity expansion threshold;
The second capacity expansion module 203 is configured to determine, when the remaining available value in the capacity expansion quota value is smaller than the next capacity expansion threshold value, the increased quota value in the next capacity expansion according to the capacity expansion quota value, the average growth rate, and the number of preset time periods.
The method includes the steps that for each resource in a virtual machine, a remaining available value and a current capacity expansion threshold value of the resource are obtained, when the remaining available value is smaller than the current capacity expansion threshold value, the resource is subjected to capacity expansion, and the increased value of the quota is the capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. The embodiment of the invention can realize dynamic capacity expansion aiming at the service requirement and improve the conformity of the quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced.
It should be noted that, the apparatus according to the embodiment of the present invention is an apparatus applying the aforementioned qota management method, and all embodiments of the aforementioned qota management method are applicable to the apparatus and can achieve the same or similar beneficial effects.
In one implementation manner of the present invention, the threshold determination module includes:
a requirement increment value determining submodule for determining if the actual use value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure GDA0003582610610000131
the user demand increase value RMU for the resource is obtained,
Figure GDA0003582610610000132
and i is a weighting coefficient and is an integer from 1 to n, and n is the number of the preset time periods.
In one implementation manner of the present invention, the threshold determining module further includes:
a capacity expansion threshold determination submodule for determining whether the required increase value is RMU, the remaining available value is ARC, and the current capacity expansion threshold is AQBnowAccording to the formula:
Figure GDA0003582610610000133
get the next expansion threshold AQBnext
Figure GDA0003582610610000134
To adjust the coefficients.
In an implementation manner of the present invention, the second capacity expansion module is specifically configured to, if the capacity expansion quota value is QPBnowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPBnext=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
In an implementation manner of the present invention, the apparatus for managing quota further includes:
If the number of the virtual machines comprises: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QTjThe number of applications of the virtual machine in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of preset time periods;
a first growth rate determination module to:
Figure GDA0003582610610000141
calculating average growth rate CRC of quota number of virtual machineVMC,αi-1The growth rate weight of the quota number of the virtual machine in the ith time period and the (i-1) th time period is obtained;
a second growth rate determination module to:
Figure GDA0003582610610000142
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines in the ith time period and the ith-1 time period;
a third growth rate determination module to:
Figure GDA0003582610610000143
average growth rate CRC of application number of computer virtual machineATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
an average growth rate determination module to: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a) and σ 123=1。
In one implementation of the present invention, if the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure GDA0003582610610000144
bjIs ARCjThe weight of (c).
An embodiment of the present invention further provides an electronic device, referring to fig. 3, where fig. 3 is a structural diagram of the electronic device according to the embodiment of the present invention, including: the system comprises a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
a memory 303 for storing a computer program;
the processor 301 is configured to implement the steps of any of the qota management methods in the foregoing embodiments when executing the program stored in the memory 303.
It should be noted that the communication bus 304 mentioned in the electronic device may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The communication interface 302 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 303 may include a RAM (Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 301 may be a general-purpose processor including: CPU, NP (Network Processor), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the electronic device according to the embodiment of the present invention, the processor obtains the remaining available value and the current capacity expansion threshold value of each resource in the virtual machine by executing the program stored in the memory, and when the remaining available value is smaller than the current capacity expansion threshold value, the capacity expansion is performed on the resource, and the increased value of quota is a capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. The embodiment of the invention can realize dynamic capacity expansion aiming at the service requirement and improve the conformity of the quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, which when run on a computer, cause the computer to perform the steps of any of the methods of managing quota in the above embodiments.
When an instruction stored in a computer-readable storage medium of an embodiment of the present invention runs on a computer, a remaining available value and a current capacity expansion threshold of each resource in a virtual machine are obtained, and when the remaining available value is smaller than the current capacity expansion threshold, capacity expansion is performed on the resource, where an increased value of quota is a capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. The embodiment of the invention can realize dynamic capacity expansion aiming at the service requirement and improve the conformity of the quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of any of the methods of qota management in the above embodiments.
As can be seen, when the computer program product of the embodiment of the present invention runs on a computer, for each resource in a virtual machine, a remaining available value and a current capacity expansion threshold of the resource are obtained, and when the remaining available value is smaller than the current capacity expansion threshold, capacity expansion is performed on the resource, where an increased value of quota is a capacity expansion quota value; the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods; acquiring actual use values of the resource of a user in a plurality of preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold; and when the residual available value in the expansion quota value is smaller than the next expansion threshold value, determining the increased quota value of the next expansion according to the expansion quota value, the average growth rate and the number of the preset time periods. The embodiment of the invention can realize dynamic capacity expansion aiming at the service requirement and improve the conformity of the quota and the actual service requirement. Meanwhile, the reliability and stability of the service are ensured, and the manual operation and maintenance cost is reduced.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to be performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A method of qota management, the method comprising:
acquiring a residual available value and a current capacity expansion threshold value of each resource in the virtual machine, and performing capacity expansion on the resource when the residual available value is smaller than the current capacity expansion threshold value, wherein the increased value of quota is a capacity expansion quota value;
the expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machines in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machines in the plurality of preset time periods;
acquiring actual use values of the resource of the user in the preset time periods through a data acquisition device, calculating a demand increase value of the resource of the user according to the actual use values, and calculating a next capacity expansion threshold according to the demand increase value, the residual available value and the current capacity expansion threshold;
When the remaining available value in the capacity expansion quota value is smaller than the next capacity expansion threshold value, determining the increased quota value of the next capacity expansion according to the capacity expansion quota value, the average growth rate and the number of preset time periods;
calculating a next expansion threshold according to the demand increase value, the remaining available value and the current expansion threshold, including:
if the demand increase value is RMU, the remaining available value is ARC, and the current capacity expansion threshold is AQBnowAccording to the formula:
Figure FDA0003582610600000011
get the next expansion threshold AQBnext
Figure FDA0003582610600000012
To adjust the coefficients.
2. The method of claim 1, wherein calculating the increased demand value for the resource based on the plurality of actual usage values comprises:
if the actual use value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure FDA0003582610600000013
the user demand increase value RMU for the resource is obtained,
Figure FDA0003582610600000014
and i is a weighting coefficient and is an integer from 1 to n, and n is the number of the preset time periods.
3. The method according to claim 1, wherein the determining, according to the expansion quota value, the average growth rate, and the number of preset time periods, the quota value to be increased in next expansion includes:
If the expansion quota value is QPBnowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPBnext=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
4. The qota management method according to claim 1, wherein the determining the average growth rate according to the obtained number of virtual machines in the plurality of preset time periods includes:
if the number of the virtual machines comprises: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QTjThe number of applications of the virtual machine in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of the preset time periods;
according to the formula:
Figure FDA0003582610600000021
calculating average growth rate CRC of quota number of virtual machineVMC,αi-1The growth rate of the quota number of the virtual machine in the ith time period and the (i-1) th time periodA weight;
according to the formula:
Figure FDA0003582610600000022
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines in the ith time period and the ith-1 time period;
according to the formula:
Figure FDA0003582610600000023
average growth rate CRC of application number of computer virtual machine ATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
according to the formula: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a) and σ123=1。
5. The qota management method of claim 1, wherein if the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure FDA0003582610600000031
bjIs ARCjThe weight of (c).
6. A qota management apparatus, the apparatus comprising:
the first capacity expansion module is used for acquiring a residual available value and a current capacity expansion threshold value of each resource in the virtual machine, and when the residual available value is smaller than the current capacity expansion threshold value, the capacity of the resource is expanded, and the increased value of the quota is an expanded quota value;
the capacity expansion quota value is determined according to the acquired current quota value of the resource, the average growth rate of the virtual machine in a plurality of preset time periods and the number of the preset time periods, wherein the average growth rate is determined according to the acquired number of the virtual machine in the plurality of preset time periods;
the threshold value determining module is used for acquiring the actual use values of the resource of the user in the preset time periods through the data acquisition unit, calculating the demand increase value of the resource of the user according to the actual use values, and calculating the next expansion threshold value according to the demand increase value, the residual available value and the current expansion threshold value;
A second capacity expansion module, configured to determine, when a remaining available value in the capacity expansion quota value is smaller than the next capacity expansion threshold value, an increased quota value for the next capacity expansion according to the capacity expansion quota value, the average growth rate, and the number of preset time periods;
the threshold determination module further includes:
a capacity expansion threshold determination submodule, configured to determine that the remaining available value is ARC if the demand increase value is RMU, and the current capacity expansion threshold is AQBnowAccording to the formula:
Figure FDA0003582610600000032
get the next expansion threshold AQBnext
Figure FDA0003582610600000033
To adjust the coefficients.
7. The qota management device of claim 6, wherein the threshold determination module comprises:
a requirement increment value determining submodule for determining if the actual use value in the jth time period is VMUjJ is an integer from 1 to n, according to the formula:
Figure FDA0003582610600000041
the user demand increase value RMU for the resource is obtained,
Figure FDA0003582610600000042
and i is a weighting coefficient and is an integer from 1 to n, and n is the number of the preset time periods.
8. The apparatus according to claim 6, wherein the second expansion module is specifically configured to, if the expanded quota value is QPBnowThe average growth rate is CRC, the number of the preset time periods is n, and according to a formula: QPB next=QPBnow(1+CRC)nDetermining the added value of quotia QPB for next expansionnext
9. The qota management apparatus of claim 6, wherein the apparatus further comprises:
if the number of the virtual machines comprises: the quota number of the virtual machines, the using number of the virtual machines and the application number of the virtual machines; the quota number of the virtual machines in the jth time period is VMCjAnd the number of the used virtual machines in the jth time period is QTjThe number of applications of the virtual machine in the jth time period is ATCjJ is an integer from 1 to n, and n is the number of preset time periods;
a first growth rate determination module to:
Figure FDA0003582610600000043
calculating average growth rate CRC of quota number of virtual machineVMC,αi-1The growth rate weight of the quota number of the virtual machine in the ith time period and the (i-1) th time period is obtained;
a second growth rate determination module to:
Figure FDA0003582610600000044
average growth rate CRC of usage number of computing virtual machinesQT,βi-1Weighting the growth rate of the number of the virtual machines in the ith time period and the ith-1 time period;
a third growth rate determination module to:
Figure FDA0003582610600000051
average growth rate CRC of application number of computer virtual machineATC,γi-1The growth rate weight of the application number of the virtual machines in the ith time period and the (i-1) th time period is obtained;
An average growth rate determination module to: CRC ═ σ1*CRCVMC2*CRCQT3*CRCATCDetermining the average growth rate CRC, sigma1、σ2And σ3Are respectively CRCVMC、CRCQTAnd CRCATCWeight of (a) and σ123=1。
10. The qota management device of claim 6, wherein if the remaining available value of the resource in the jth time period is ARCjJ is an integer from 1 to n, and n is the number of the preset time periods, the remaining available value of the resource
Figure FDA0003582610600000052
bjIs ARCjThe weight of (c).
11. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the steps of the method for managing quota as claimed in any one of claims 1 to 5.
CN201810387462.1A 2018-04-26 2018-04-26 Method and device for managing quota and electronic equipment Active CN108845860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387462.1A CN108845860B (en) 2018-04-26 2018-04-26 Method and device for managing quota and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387462.1A CN108845860B (en) 2018-04-26 2018-04-26 Method and device for managing quota and electronic equipment

Publications (2)

Publication Number Publication Date
CN108845860A CN108845860A (en) 2018-11-20
CN108845860B true CN108845860B (en) 2022-06-03

Family

ID=64212339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387462.1A Active CN108845860B (en) 2018-04-26 2018-04-26 Method and device for managing quota and electronic equipment

Country Status (1)

Country Link
CN (1) CN108845860B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597253B (en) * 2020-04-03 2023-11-07 浙江工业大学 Quote-based cluster fuzzy control capacity planning method
CN113254224A (en) * 2021-07-15 2021-08-13 中电金信软件有限公司 Computing resource capacity expansion method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038392A (en) * 2014-07-04 2014-09-10 云南电网公司 Method for evaluating service quality of cloud computing resources
CN105378667A (en) * 2013-12-10 2016-03-02 华为技术有限公司 Method and apparatus for scheduling virtual machine resources
CN106250207A (en) * 2016-07-27 2016-12-21 汉柏科技有限公司 A kind of virtual machine dilatation processing method and processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10423456B2 (en) * 2014-07-31 2019-09-24 Hewlett Packard Enterprise Development Lp Dynamic adjustment of resource utilization thresholds
US9563475B2 (en) * 2014-09-30 2017-02-07 International Business Machines Corporation Merging connection pools to form a logical pool of connections during a preset period of time thereby more efficiently utilizing connections in connection pools

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105378667A (en) * 2013-12-10 2016-03-02 华为技术有限公司 Method and apparatus for scheduling virtual machine resources
CN104038392A (en) * 2014-07-04 2014-09-10 云南电网公司 Method for evaluating service quality of cloud computing resources
CN106250207A (en) * 2016-07-27 2016-12-21 汉柏科技有限公司 A kind of virtual machine dilatation processing method and processing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Runtime Demand Estimation for effective dynamic resource management;Canturk lsci 等;《IEEE》;20100617;第381-388页 *

Also Published As

Publication number Publication date
CN108845860A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
US8881165B2 (en) Methods, computer systems, and physical computer storage media for managing resources of a storage server
TWI690851B (en) Computer system resource configuration method and device
US10606657B2 (en) Methods and modules relating to allocation of host machines
US20120323821A1 (en) Methods for billing for data storage in a tiered data storage system
JP6730522B2 (en) System and method for allocating input/output bandwidth in storage system
CN107343023B (en) Resource allocation method and device in Mesos management cluster and electronic equipment
WO2017000645A1 (en) Method and apparatus for allocating host resource
WO2019205370A1 (en) Electronic device, task distribution method and storage medium
CN108845860B (en) Method and device for managing quota and electronic equipment
CN104243531A (en) Data processing method, device and system
CN111562884B (en) Data storage method and device and electronic equipment
CN107291551B (en) Load balancing scheduling method and device for container
CN112241319A (en) Method, electronic device and computer program product for balancing load
US10990519B2 (en) Multi-tenant cloud elastic garbage collector
CN109544347B (en) Tail difference distribution method, computer readable storage medium and tail difference distribution system
CN107784195A (en) Data processing method and device
CN114564313A (en) Load adjustment method and device, electronic equipment and storage medium
CN110347477B (en) Service self-adaptive deployment method and device in cloud environment
CN112130997A (en) Resource allocation method and device
CN110178119B (en) Method, device and storage system for processing service request
CN112000477B (en) Method, device, equipment and medium for load balancing in pod
CN111211915A (en) Method for adjusting network bandwidth of container, computer device and readable storage medium
CN111143073B (en) Virtualized resource management method, device and storage medium
CN113806050A (en) Processing method and device of computing resources, electronic equipment and storage medium
CN110187957B (en) Queuing method and device for downloading tasks and electronic equipment

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