CN103309745A - Method and device for distributing virtual resource in cloud architecture - Google Patents
Method and device for distributing virtual resource in cloud architecture Download PDFInfo
- Publication number
- CN103309745A CN103309745A CN2013101409088A CN201310140908A CN103309745A CN 103309745 A CN103309745 A CN 103309745A CN 2013101409088 A CN2013101409088 A CN 2013101409088A CN 201310140908 A CN201310140908 A CN 201310140908A CN 103309745 A CN103309745 A CN 103309745A
- Authority
- CN
- China
- Prior art keywords
- virtual resource
- user
- terminal user
- unit
- described terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000011084 recovery Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a device for distributing a virtual resource in cloud architecture. The method for distributing the virtual resource in the cloud architecture comprises the following steps of dividing the virtual resource of a system into a plurality of unit user virtual resources in equal distribution; obtaining request information of terminal users for requesting the distribution of the virtual resource; processing the request information, and generating a user virtual resource demand of the terminal users; a, judging whether the user virtual resource demand of the terminal users is not larger than the unit user virtual resources or not, and if so, distributing one unit user virtual resource to the terminal users; and if not, distributing one unit user virtual resource to the terminal users, defining a new user virtual resource demand by subtracting the unit user virtual resources from the user virtual resource demand, and returning to step a. According to the method disclosed by the invention, the virtual resource is subjected to dynamic allocation by adopting the distribution according to needs, free virtual resources are reduced, and the utilization rate of the virtual resource is increased.
Description
Technical field
The present invention relates to the cloud computing technical field, relate in particular to method and the device of the virtual resource configuration of cloud framework.
Background technology
Cloud computing is a kind of computation schema that dynamic telescopic virtualized resource is provided with service manner by Internet.It is the fusion product of traditional calculations technology such as grid computing, Distributed Calculation, parallel computation, effectiveness calculating, the network storage and network technical development.By Intel Virtualization Technology, integrate virtual resource in the cloud framework, can realize Remote Dynamic visit and data center's trustship.Virtual resource be configured in the service quality level that determines that to a great extent the cloud framework provides.The static allocation of primary distribution is adopted in the configuration of the virtual resource of the cloud framework of prior art, causes a large amount of idle virtual resources, makes that the utilization ratio of virtual resource is low.
Summary of the invention
The object of the present invention is to provide a kind of method of virtual resource configuration of cloud framework, this method can adopt distribution according to need that virtual resource is carried out dynamic-configuration, has improved the utilization ratio of virtual resource.
Another object of the present invention is to provide a kind of device of virtual resource configuration of cloud framework, this device can adopt distribution according to need that virtual resource is carried out dynamic-configuration, has improved the utilization ratio of virtual resource.
For reaching this purpose, the present invention by the following technical solutions:
A kind of method of virtual resource configuration of cloud framework may further comprise the steps:
The virtual resource mean allocation of system is divided into several unit users virtual resources;
Obtain the solicited message that the terminal user asks to distribute virtual resource, described request information comprises that the user asks to distribute the request sendout of virtual resource;
Processes said request information is according to asking sendout to generate user's virtual resource demand of described terminal user;
Whether user's virtual resource demand of a. judging described terminal user is not more than described unit users virtual resource, if give described terminal user with a unit users virtual resource allocation;
Otherwise, give described terminal user with a unit users virtual resource allocation, user's virtual resource demand is deducted the unit users virtual resource as new user's virtual resource demand, return step a.
Wherein, according to asking sendout to generate user's virtual resource demand of described terminal user, be specially:
According to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.
Wherein, the virtual resource of system comprises internal memory and disk storage space.
Wherein, in step if, a unit users virtual resource allocation is given after the described terminal user, also comprise: calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.
A kind of device of virtual resource configuration of cloud framework comprises:
The mean allocation unit is used for the virtual resource mean allocation of system is divided into several unit users virtual resources;
Acquiring unit is used for obtaining the solicited message that the terminal user asks to distribute virtual resource, and described request information comprises that the user asks to distribute the request sendout of virtual resource;
Handle generation unit, for the treatment of described request information, generate user's virtual resource demand of described terminal user according to the request sendout;
Judging unit is used for judging whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource;
Allocation units, when being used for user's virtual resource demand as described terminal user and being not more than described unit users virtual resource, with a unit users virtual resource allocation to described terminal user;
Deduct the unit, be used for when user's virtual resource demand of described terminal user during greater than described unit users virtual resource, user's virtual resource demand is deducted the unit users virtual resource as new user's virtual resource demand, judge whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource.
Wherein, according to asking sendout to generate user's virtual resource demand of described terminal user, be specially:
According to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.
Wherein, the virtual resource of system comprises internal memory and disk storage space.
Wherein, also comprise and calculate to reclaim the unit, be used for if a unit users virtual resource allocation is given after the described terminal user, calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.
Beneficial effect of the present invention is: a kind of method of virtual resource configuration of cloud framework, may further comprise the steps: a kind of method of virtual resource configuration of cloud framework, may further comprise the steps: the virtual resource mean allocation of system is divided into several unit users virtual resources; Obtain the solicited message that the terminal user asks to distribute virtual resource, described request information comprises that the user asks to distribute the request sendout of virtual resource; Processes said request information is according to asking sendout to generate user's virtual resource demand of described terminal user; Whether user's virtual resource demand of a. judging described terminal user is not more than described unit users virtual resource, if give described terminal user with a unit users virtual resource allocation; Otherwise, give described terminal user with a unit users virtual resource allocation, user's virtual resource demand is deducted the unit users virtual resource as new user's virtual resource demand, return step a.Method of the present invention adopts distribution according to need that virtual resource is carried out dynamic-configuration, reduces idle virtual resource, has improved the utilization ratio of virtual resource.
Description of drawings
Fig. 1 is for realizing the process flow diagram of method of the present invention;
Fig. 2 is the structural drawing of device of the present invention;
Among the figure:
1-mean allocation unit; 2-acquiring unit; 3-processing generation unit; 4-judging unit; 5-deduct the unit; 6-allocation units; 7-calculate and reclaim the unit.
Embodiment
Below in conjunction with Fig. 1 to Fig. 2, further specify technical scheme of the present invention by embodiment.
A kind of method of virtual resource configuration of cloud framework, may further comprise the steps: a kind of method of virtual resource configuration of cloud framework, may further comprise the steps: a kind of method of virtual resource configuration of cloud framework, may further comprise the steps: the virtual resource mean allocation of system is divided into several unit users virtual resources; Obtain the solicited message that the terminal user asks to distribute virtual resource, described request information comprises that the user asks to distribute the request sendout of virtual resource; Processes said request information is according to asking sendout to generate user's virtual resource demand of described terminal user; Whether user's virtual resource demand of a. judging described terminal user is not more than described unit users virtual resource, if give described terminal user with a unit users virtual resource allocation; Otherwise, give described terminal user with a unit users virtual resource allocation, user's virtual resource demand is deducted unit 5 user's virtual resources as new user's virtual resource demand, return step a.Method of the present invention is for the big user of virtual resource demand, the information of the virtual resource demand that proposes according to this user, and the reasonable disposition virtual resource reduces idle virtual resource, has improved the utilization ratio of virtual resource.
According to asking sendout to generate user's virtual resource demand of described terminal user, be specially: according to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.Present embodiment can be with user's request amount with virtual resource allocation to this user, but the strong and too high user of virtual resource instream factor distributes more resource to the storage space carrying capacity, has improved the validity that virtual resource disposes.
The virtual resource of system comprises internal memory and disk storage space.
In step if, a unit users virtual resource allocation is given after the described terminal user, also comprise: calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.Reclaim the not unit users virtual resource of usefulness in the present embodiment, distribute to the terminal user to discharge more virtual resource to treat system, can reduce the free time of virtual resource to a certain extent.
A kind of device of virtual resource configuration of cloud framework comprises: mean allocation unit 61 is used for the virtual resource mean allocation of system is divided into several unit users virtual resources; Acquiring unit 2 is used for obtaining the solicited message that the terminal user asks to distribute virtual resource, and described request information comprises that the user asks to distribute the request sendout of virtual resource; Handle generation unit 3, for the treatment of described request information, generate user's virtual resource demand of described terminal user according to the request sendout; Judging unit 4 is used for judging whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource; Allocation units 6, when being used for user's virtual resource demand as described terminal user and being not more than described unit users virtual resource, with a unit users virtual resource allocation to described terminal user; Deduct unit 5, be used for when user's virtual resource demand of described terminal user during greater than described unit users virtual resource, user's virtual resource demand is deducted unit 5 user's virtual resources as new user's virtual resource demand, judge whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource.Device of the present invention is for the big user of virtual resource demand, the information of the virtual resource demand that proposes according to this user, and the reasonable disposition virtual resource reduces idle virtual resource, has improved the utilization ratio of virtual resource.
According to asking sendout to generate user's virtual resource demand of described terminal user, be specially: according to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.Embodiment can be with user's request amount with virtual resource allocation to this user, but the strong and too high user of virtual resource instream factor distributes more resource to the storage space carrying capacity, has improved the validity that virtual resource disposes.
The virtual resource of system comprises internal memory and disk storage space.
Also comprise calculating and reclaim unit 7, be used for if, a unit users virtual resource allocation is given after the described terminal user, calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.Reclaim the not unit users virtual resource of usefulness in the present embodiment, distribute to the terminal user to discharge more virtual resource to treat system, can reduce the free time of virtual resource to a certain extent.
Know-why of the present invention has below been described in conjunction with specific embodiments.These are described just in order to explain principle of the present invention, and can not be interpreted as limiting the scope of the invention by any way.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present invention, and these modes all will fall within protection scope of the present invention.
Claims (8)
1. the method for the virtual resource of cloud framework configuration is characterized in that, may further comprise the steps:
The virtual resource mean allocation of system is divided into several unit users virtual resources;
Obtain the solicited message that the terminal user asks to distribute virtual resource, described request information comprises that the user asks to distribute the request sendout of virtual resource;
Processes said request information is according to asking sendout to generate user's virtual resource demand of described terminal user;
Whether user's virtual resource demand of a. judging described terminal user is not more than described unit users virtual resource, if give described terminal user with a unit users virtual resource allocation;
Otherwise, give described terminal user with a unit users virtual resource allocation, user's virtual resource demand is deducted the unit users virtual resource as new user's virtual resource demand, return step a.
2. the method for the virtual resource of a kind of cloud framework according to claim 1 configuration is characterized in that, and is described according to asking sendout to generate user's virtual resource demand of described terminal user, is specially:
According to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.
3. the method for the virtual resource of a kind of cloud framework according to claim 1 configuration is characterized in that the virtual resource of described system comprises internal memory and disk storage space.
4. the method for the virtual resource of a kind of cloud framework according to claim 1 configuration, it is characterized in that, described if, a unit users virtual resource allocation is given after the described terminal user, also comprise: calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.
5. the device of the virtual resource of cloud framework configuration is characterized in that, comprising:
The mean allocation unit is used for the virtual resource mean allocation of system is divided into several unit users virtual resources;
Acquiring unit is used for obtaining the solicited message that the terminal user asks to distribute virtual resource, and described request information comprises that the user asks to distribute the request sendout of virtual resource;
Handle generation unit, for the treatment of described request information, generate user's virtual resource demand of described terminal user according to the request sendout;
Judging unit is used for judging whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource;
Allocation units, when being used for user's virtual resource demand as described terminal user and being not more than described unit users virtual resource, with a unit users virtual resource allocation to described terminal user;
Deduct the unit, be used for when user's virtual resource demand of described terminal user during greater than described unit users virtual resource, user's virtual resource demand is deducted the unit users virtual resource as new user's virtual resource demand, judge whether user's virtual resource demand of described terminal user is not more than described unit users virtual resource.
6. according to the device of the virtual resource of the described a kind of cloud framework of claim 6 configuration, it is characterized in that, describedly generate user's virtual resource demand of described terminal user according to the request sendout, be specially:
According to request sendout, terminal user's storage size, user's virtual resource demand that virtual resource consumption situation generates described terminal user.
7. according to the device of the virtual resource of the described a kind of cloud framework of claim 6 configuration, it is characterized in that the virtual resource of described system comprises internal memory and disk storage space.
8. according to the device of the virtual resource of the described a kind of cloud framework of claim 6 configuration, it is characterized in that, also comprise calculating and reclaim the unit, be used for if, a unit users virtual resource allocation is given after the described terminal user, calculate the remaining space that described terminal user utilizes this unit users virtual resource behind this unit users virtual resource, this remaining space of system recoveries.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310140908.8A CN103309745B (en) | 2013-04-19 | 2013-04-19 | The method and device of the virtual resource configuration of cloud framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310140908.8A CN103309745B (en) | 2013-04-19 | 2013-04-19 | The method and device of the virtual resource configuration of cloud framework |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103309745A true CN103309745A (en) | 2013-09-18 |
CN103309745B CN103309745B (en) | 2017-04-05 |
Family
ID=49135002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310140908.8A Expired - Fee Related CN103309745B (en) | 2013-04-19 | 2013-04-19 | The method and device of the virtual resource configuration of cloud framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309745B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544064A (en) * | 2013-10-28 | 2014-01-29 | 华为数字技术(苏州)有限公司 | Cloud computing method, cloud management platform and client |
CN103577271A (en) * | 2013-11-14 | 2014-02-12 | 浪潮(北京)电子信息产业有限公司 | Cloud management platform, host machines and virtual machine resource deploying method and system |
CN105511810A (en) * | 2015-12-07 | 2016-04-20 | 中国建设银行股份有限公司 | Control method and device of virtualization resource pool |
US9400689B2 (en) | 2014-09-08 | 2016-07-26 | International Business Machines Corporation | Resource allocation/de-allocation and activation/deactivation |
US9680920B2 (en) | 2014-09-08 | 2017-06-13 | International Business Machines Corporation | Anticipatory resource allocation/activation and lazy de-allocation/deactivation |
CN109741141A (en) * | 2018-12-30 | 2019-05-10 | 北京航天数据股份有限公司 | Configure the method and industry pattern running environment configurator of industry pattern running environment |
CN110163731A (en) * | 2019-04-30 | 2019-08-23 | 广州市中智软件开发有限公司 | Method for building up, system and the storage medium of the room of virtually bidding of intermediary sevices supermarket |
CN110768807A (en) * | 2018-07-25 | 2020-02-07 | 中兴通讯股份有限公司 | Virtual resource method and device, virtual resource processing network element and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825289A (en) * | 2005-02-22 | 2006-08-30 | 微软公司 | Method and system for resource management |
US20090183168A1 (en) * | 2008-01-16 | 2009-07-16 | Satoshi Uchida | Resource allocation system, resource allocation method and program |
US20090248922A1 (en) * | 2008-03-31 | 2009-10-01 | Fujifilm Limited | Memory buffer allocation device and computer readable medium having stored thereon memory buffer allocation program |
CN102971724A (en) * | 2010-02-22 | 2013-03-13 | 维图斯瑞姆有限公司 | Methods and apparatus related to management of unit-based virtual resources within a data center environment |
-
2013
- 2013-04-19 CN CN201310140908.8A patent/CN103309745B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825289A (en) * | 2005-02-22 | 2006-08-30 | 微软公司 | Method and system for resource management |
US20090183168A1 (en) * | 2008-01-16 | 2009-07-16 | Satoshi Uchida | Resource allocation system, resource allocation method and program |
US20090248922A1 (en) * | 2008-03-31 | 2009-10-01 | Fujifilm Limited | Memory buffer allocation device and computer readable medium having stored thereon memory buffer allocation program |
CN102971724A (en) * | 2010-02-22 | 2013-03-13 | 维图斯瑞姆有限公司 | Methods and apparatus related to management of unit-based virtual resources within a data center environment |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544064A (en) * | 2013-10-28 | 2014-01-29 | 华为数字技术(苏州)有限公司 | Cloud computing method, cloud management platform and client |
CN103544064B (en) * | 2013-10-28 | 2018-03-13 | 华为数字技术(苏州)有限公司 | Cloud computing method, cloud management platform and client |
CN103577271A (en) * | 2013-11-14 | 2014-02-12 | 浪潮(北京)电子信息产业有限公司 | Cloud management platform, host machines and virtual machine resource deploying method and system |
US9686347B2 (en) | 2014-09-08 | 2017-06-20 | International Business Machines Corporation | Anticipatory resource allocation/activation and lazy de-allocation/deactivation |
US9405581B2 (en) | 2014-09-08 | 2016-08-02 | International Business Machines Corporation | Resource allocation/de-allocation and activation/deactivation |
US9680920B2 (en) | 2014-09-08 | 2017-06-13 | International Business Machines Corporation | Anticipatory resource allocation/activation and lazy de-allocation/deactivation |
US9400689B2 (en) | 2014-09-08 | 2016-07-26 | International Business Machines Corporation | Resource allocation/de-allocation and activation/deactivation |
US9880884B2 (en) | 2014-09-08 | 2018-01-30 | International Business Machines Corporation | Resource allocation/de-allocation and activation/deactivation |
CN105511810A (en) * | 2015-12-07 | 2016-04-20 | 中国建设银行股份有限公司 | Control method and device of virtualization resource pool |
CN110768807A (en) * | 2018-07-25 | 2020-02-07 | 中兴通讯股份有限公司 | Virtual resource method and device, virtual resource processing network element and storage medium |
CN109741141A (en) * | 2018-12-30 | 2019-05-10 | 北京航天数据股份有限公司 | Configure the method and industry pattern running environment configurator of industry pattern running environment |
CN110163731A (en) * | 2019-04-30 | 2019-08-23 | 广州市中智软件开发有限公司 | Method for building up, system and the storage medium of the room of virtually bidding of intermediary sevices supermarket |
CN110163731B (en) * | 2019-04-30 | 2021-07-27 | 广州市中智软件开发有限公司 | Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket |
Also Published As
Publication number | Publication date |
---|---|
CN103309745B (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103309745A (en) | Method and device for distributing virtual resource in cloud architecture | |
CN110032447B (en) | Method and apparatus for allocating resources | |
CN106453146B (en) | Method, system, device and readable storage medium for allocating private cloud computing resources | |
CN105912403B (en) | The method for managing resource and device of Docker container | |
CN104142860A (en) | Resource adjusting method and device of application service system | |
CN106020967B (en) | A kind of automatic expansion method of hybrid cloud resource | |
CN105975340A (en) | Deployment algorithm of application distribution of virtual machine | |
WO2018233299A1 (en) | Method, apparatus and device for scheduling processor, and medium | |
US20140059179A1 (en) | Auto-scaling management of web content | |
CN106325756B (en) | Data storage method, data calculation method and equipment | |
CN103279330A (en) | MapReduce multiple programming model based on virtual machine GPU computation | |
CN102801636B (en) | The method of cloud computing platform cloud mainframe network bandwidth restriction | |
WO2019192165A1 (en) | Method and system for layered real-time graphics drawing and rendering | |
CN102710779B (en) | Load balance strategy for allocating service resource based on cloud computing environment | |
CN109684078A (en) | Resource dynamic distributing method and system for spark streaming | |
US20190179671A1 (en) | Information processing apparatus and information processing system | |
US9063668B1 (en) | Distributed memory allocation in multi-threaded programs | |
CN102053916B (en) | Method for distributing large continuous memory of kernel | |
CN111104219A (en) | Binding method, device, equipment and storage medium of virtual core and physical core | |
CN104468710A (en) | Mixed big data processing system and method | |
CN107861820A (en) | A kind of resources of virtual machine distribution method and system | |
US10007559B1 (en) | Virtual tiering | |
CN113645076A (en) | Virtual network resource allocation method based on hypergraph matching algorithm | |
CN104021046A (en) | Method and device for processing applications | |
CN106155804A (en) | Method and system to the unified management service of GPU cloud computing resources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210113 Address after: No.2006 Xiyuan Avenue, Chengdu, Sichuan 611731 Patentee after: University of Electronic Science and technology of Sichuan foundation for education development Address before: Room 402, area a, Liye building, science and Technology Park, China sensor network university, Taike Park, Wuxi New District, Wuxi City, Jiangsu Province, 214135 Patentee before: WUXI UESTC TECHNOLOGY DEVELOPMENT Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170405 |