CN103309745B - The method and device of the virtual resource configuration of cloud framework - Google Patents
The method and device of the virtual resource configuration of cloud framework Download PDFInfo
- Publication number
- CN103309745B CN103309745B CN201310140908.8A CN201310140908A CN103309745B CN 103309745 B CN103309745 B CN 103309745B CN 201310140908 A CN201310140908 A CN 201310140908A CN 103309745 B CN103309745 B CN 103309745B
- Authority
- CN
- China
- Prior art keywords
- virtual resource
- user
- terminal use
- unit
- demand
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 239000011800 void material Substances 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 6
- 238000011084 recovery Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method and device of the virtual resource configuration of cloud framework.A kind of method of the virtual resource configuration of cloud framework, comprises the following steps:The virtual resource mean allocation of system is divided into several unit users virtual resources;Obtain the solicited message that end-user request distributes virtual resource;The solicited message is processed, user's virtual resource demand of the terminal use is generated;A. judge whether user's virtual resource demand of the terminal use is not more than the unit users virtual resource, if it is, the terminal use is given by a unit users virtual resource allocation;Otherwise, the terminal use is given by a unit users virtual resource allocation, user's virtual resource demand is deducted unit users virtual resource as new user's virtual resource demand, return to step a.The method of the present invention carries out dynamic configuration using distribution according to need to virtual resource, reduces idle virtual resource, improves the utilization ratio of virtual resource.
Description
Technical field
The present invention relates to field of cloud computer technology, more particularly to the method and device of the virtual resource configuration of cloud framework.
Background technology
Cloud computing is a kind of in terms of Internet provides the telescopic virtualized resource of dynamic by way of servicing
Calculation pattern.It is traditional calculations technology and the networks such as grid computing, Distributed Calculation, parallel computation, effectiveness calculating, the network storage
The fusion product of technology development.By Intel Virtualization Technology in cloud framework, virtual resource is integrated, be capable of achieving Remote Dynamic and access sum
According to center trustship.Being configured in of virtual resource is largely fixed the service quality level of cloud framework offer.Prior art
Static allocation of the configuration of the virtual resource of cloud framework using primary distribution, causes a large amount of idle virtual resources so that virtual
The utilization ratio of resource is low.
The content of the invention
It is an object of the invention to provide a kind of method of the virtual resource configuration of cloud framework, the method can be adopted divides on demand
Pairing virtual resource carries out dynamic configuration, improves the utilization ratio of virtual resource.
Another object of the present invention is to provide a kind of device of the virtual resource configuration of cloud framework, the device can be adopted and be pressed
Need to distribute carries out dynamic configuration to virtual resource, improves the utilization ratio of virtual resource.
It is that, up to this purpose, the present invention is employed the following technical solutions:
A kind of method of the virtual resource configuration of cloud framework, comprises the following steps:
The virtual resource mean allocation of system is divided into several unit users virtual resources;
The solicited message that end-user request distributes virtual resource is obtained, the solicited message includes that user's request distribution is empty
Intend the request sendout of resource;
The solicited message is processed, user's virtual resource demand of the terminal use is generated according to request sendout;
A. judge whether user's virtual resource demand of the terminal use is not more than the unit users virtual resource,
If it is, giving the terminal use by a unit users virtual resource allocation;
Otherwise, the terminal use is given by a unit users virtual resource allocation, user's virtual resource demand is subtracted
Unit users virtual resource is removed as new user's virtual resource demand, return to step a.
Wherein, user's virtual resource demand of the terminal use is generated according to request sendout, specially:
Generate the terminal and use according to request sendout, the storage size of terminal use, virtual resource Expenditure Levels
User's virtual resource demand at family.
Wherein, the virtual resource of system includes internal memory and disk storage space.
Wherein, in step if it is, by a unit users virtual resource allocation to after the terminal use, also wrapping
Include:Remaining space of the terminal use using the unit users virtual resource after the unit users virtual resource is calculated, is
System reclaims the remaining space.
A kind of device of the virtual resource configuration of cloud framework, including:
Mean allocation unit, virtually provides for the virtual resource mean allocation of system is divided into several unit users
Source;
Acquiring unit, distributes the solicited message of virtual resource for obtaining end-user request, and the solicited message includes
User's request distributes the request sendout of virtual resource;
Signal generating unit is processed, for processing the solicited message, the use of the terminal use is generated according to request sendout
Family virtual resource demand;
Judging unit, uses for judging whether user's virtual resource demand of the terminal use is not more than the unit
Family virtual resource;
Allocation unit, is not more than the unit users for the user's virtual resource demand as the terminal use virtual
During resource, the terminal use is given by a unit users virtual resource allocation;
Unit is deducted, is virtually provided more than the unit users for the user's virtual resource demand as the terminal use
During source, user's virtual resource demand is deducted unit users virtual resource as new user's virtual resource demand, is judged
Whether user's virtual resource demand of the terminal use is not more than the unit users virtual resource.
Wherein, user's virtual resource demand of the terminal use is generated according to request sendout, specially:
Generate the terminal and use according to request sendout, the storage size of terminal use, virtual resource Expenditure Levels
User's virtual resource demand at family.
Wherein, the virtual resource of system includes internal memory and disk storage space.
Wherein, also including recovery unit is calculated, for if it is, by a unit users virtual resource allocation to described
After terminal use, the terminal use is calculated using the surplus of the unit users virtual resource after the unit users virtual resource
Complementary space, system reclaim the remaining space.
Beneficial effects of the present invention are:A kind of method of the virtual resource configuration of cloud framework, comprises the following steps:A kind of cloud
The method of the virtual resource configuration of framework, comprises the following steps:The virtual resource mean allocation of system is divided into several units
User's virtual resource;The solicited message that end-user request distributes virtual resource is obtained, the solicited message includes user's request
The request sendout of distribution virtual resource;The solicited message is processed, the use of the terminal use is generated according to request sendout
Family virtual resource demand;A. judge whether user's virtual resource demand of the terminal use is not more than the unit users
Virtual resource, if it is, giving the terminal use by a unit users virtual resource allocation;Otherwise, by a unit users
Virtual resource allocation gives the terminal use, and user's virtual resource demand is deducted unit users virtual resource as new use
Family virtual resource demand, return to step a.The method of the present invention carries out dynamic configuration to virtual resource using distribution according to need, subtracts
Few idle virtual resource, improves the utilization ratio of virtual resource.
Description of the drawings
Fig. 1 is the flow chart for realizing the method for the present invention;
Fig. 2 is the structure chart of the device of the present invention;
In figure:
1-mean allocation unit;2-acquiring unit;3-process signal generating unit;4-judging unit;5-deduct unit;
6-allocation unit;7-calculate recovery unit.
Specific embodiment
With reference to Fig. 1 to Fig. 2, technical scheme is further illustrated by specific embodiment.
A kind of method of the virtual resource configuration of cloud framework, comprises the following steps:A kind of virtual resource configuration of cloud framework
Method, comprise the following steps:A kind of method of the virtual resource configuration of cloud framework, comprises the following steps:The virtual money of system
Source mean allocation is divided into several unit users virtual resources;Obtain the request letter of end-user request distribution virtual resource
Breath, the solicited message include that user's request distributes the request sendout of virtual resource;The solicited message is processed, according to request
Sendout generates user's virtual resource demand of the terminal use;A. judge that user's virtual resource of the terminal use is needed
Whether the amount of asking is not more than the unit users virtual resource, if it is, giving the end by a unit users virtual resource allocation
End subscriber;Otherwise, the terminal use is given by a unit users virtual resource allocation, user's virtual resource demand is deducted
5 user's virtual resource of unit is used as new user's virtual resource demand, return to step a.The method of the present invention is for virtual money
The big user of source demand, the information of the virtual resource demand proposed according to the user, reasonable disposition virtual resource reduce idle
Virtual resource, improve the utilization ratio of virtual resource.
User's virtual resource demand of the terminal use is generated according to request sendout, specially:According to request point
Dosage, the storage size of terminal use, virtual resource Expenditure Levels generate user's virtual resource of the terminal use and need
The amount of asking.The present embodiment will not with the request amount of user by virtual resource allocation to the user, but to memory space carrying capacity
Strong and virtual resource instream factor too high user distribute more resource, improves the effectiveness of virtual resource configuration.
The virtual resource of system includes internal memory and disk storage space.
In step if it is, by a unit users virtual resource allocation to after the terminal use, also including:Calculate
Remaining space of the terminal use using the unit users virtual resource after the unit users virtual resource, system is reclaimed should
Remaining space.Unused unit users virtual resource is reclaimed in the present embodiment, is entered with treating system with discharging more virtual resources
Row distributes to terminal use, can reduce the free time of virtual resource to a certain extent.
A kind of device of the virtual resource configuration of cloud framework, including:Mean allocation unit 61, for by the virtual money of system
Source mean allocation is divided into several unit users virtual resources;Acquiring unit 2, it is virtual for obtaining end-user request distribution
The solicited message of resource, the solicited message include that user's request distributes the request sendout of virtual resource;Process signal generating unit
3, for processing the solicited message, user's virtual resource demand of the terminal use is generated according to request sendout;Sentence
Disconnected unit 4, virtually provides for judging whether user's virtual resource demand of the terminal use is not more than the unit users
Source;Allocation unit 6, is not more than the unit users virtual resource for the user's virtual resource demand as the terminal use
When, the terminal use is given by a unit users virtual resource allocation;Unit 5 is deducted, for when the use of the terminal use
When family virtual resource demand is more than the unit users virtual resource, user's virtual resource demand is deducted into 5 user of unit
Whether not virtual resource judges user's virtual resource demand of the terminal use as new user's virtual resource demand
More than the unit users virtual resource.The device of the invention user big for virtual resource demand, carries according to the user
The information of the virtual resource demand for going out, reasonable disposition virtual resource reduce idle virtual resource, improve the profit of virtual resource
Use efficiency.
User's virtual resource demand of the terminal use is generated according to request sendout, specially:According to request point
Dosage, the storage size of terminal use, virtual resource Expenditure Levels generate user's virtual resource of the terminal use and need
The amount of asking.Embodiment will not with the request amount of user by virtual resource allocation to the user, it is but strong to memory space carrying capacity
The user too high with virtual resource instream factor distributes more resource, improves the effectiveness of virtual resource configuration.
The virtual resource of system includes internal memory and disk storage space.
Also include calculating recovery unit 7, for if it is, giving the terminal by a unit users virtual resource allocation
After user, the residue for calculating the terminal use using the unit users virtual resource after the unit users virtual resource is empty
Between, system reclaims the remaining space.Unused unit users virtual resource is reclaimed in the present embodiment, to discharge more virtual moneys
Source is allocated to terminal use with treating system, can reduce the free time of virtual resource to a certain extent.
The know-why of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's
Principle, and limiting the scope of the invention can not be construed to by any way.Based on explanation herein, the technology of this area
Personnel associate other specific embodiments of the present invention by need not paying performing creative labour, these modes fall within
Within protection scope of the present invention.
Claims (8)
1. the method that a kind of virtual resource of cloud framework is configured, it is characterised in that comprise the following steps:
The virtual resource mean allocation of system is divided into several unit users virtual resources;
The solicited message that end-user request distributes virtual resource is obtained, the solicited message includes that user's request distribution is virtual and provides
The request sendout in source;
The solicited message is processed, user's virtual resource demand of the terminal use is generated according to request sendout;
A. judge whether user's virtual resource demand of the terminal use is not more than the unit users virtual resource, if
It is to give the terminal use by a unit users virtual resource allocation;
Otherwise, the terminal use is given by a unit users virtual resource allocation, user's virtual resource demand is deducted into list
First user's virtual resource is used as new user's virtual resource demand, return to step a.
2. the method that a kind of virtual resource of cloud framework according to claim 1 is configured, it is characterised in that the basis please
Sendout is asked to generate user's virtual resource demand of the terminal use, specially:
Generate the terminal use's according to request sendout, the storage size of terminal use, virtual resource Expenditure Levels
User's virtual resource demand.
3. the method that a kind of virtual resource of cloud framework according to claim 1 is configured, it is characterised in that the system
Virtual resource includes internal memory and disk storage space.
4. the method that a kind of virtual resource of cloud framework according to claim 1 is configured, it is characterised in that if described
It is, by a unit users virtual resource allocation to after the terminal use, also to include:Calculating terminal use's utilization should
The remaining space of the unit users virtual resource after unit users virtual resource, system reclaim the remaining space.
5. the device that a kind of virtual resource of cloud framework is configured, it is characterised in that include:
Mean allocation unit, for the virtual resource mean allocation of system is divided into several unit users virtual resources;
Acquiring unit, distributes the solicited message of virtual resource for obtaining end-user request, and the solicited message includes user
The request sendout of request distribution virtual resource;
Signal generating unit is processed, it is for processing the solicited message, empty according to the user that request sendout generates the terminal use
Intend resources requirement;
Judging unit, for judging it is empty whether user's virtual resource demand of the terminal use is not more than the unit users
Intend resource;
Allocation unit, is not more than the unit users virtual resource for the user's virtual resource demand as the terminal use
When, the terminal use is given by a unit users virtual resource allocation;
Unit is deducted, is more than the unit users virtual resource for the user's virtual resource demand as the terminal use
When, user's virtual resource demand is deducted unit users virtual resource as new user's virtual resource demand, institute is judged
Whether the user's virtual resource demand for stating terminal use is not more than the unit users virtual resource.
6. the device that a kind of virtual resource of cloud framework is configured according to claim 5, it is characterised in that described according to request
Sendout generates user's virtual resource demand of the terminal use, specially:
Generate the terminal use's according to request sendout, the storage size of terminal use, virtual resource Expenditure Levels
User's virtual resource demand.
7. the device that a kind of virtual resource of cloud framework is configured according to claim 5, it is characterised in that the void of the system
Intending resource includes internal memory and disk storage space.
8. the device of the virtual resource configuration of a kind of cloud framework according to claim 5, it is characterised in that also including calculating back
Unit is received, for after by a unit users virtual resource allocation to the terminal use, calculating terminal use's profit
With the remaining space of the unit users virtual resource after the unit users virtual resource, system reclaims the remaining space.
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 CN103309745A (en) | 2013-09-18 |
CN103309745B true 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) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
CN105511810A (en) * | 2015-12-07 | 2016-04-20 | 中国建设银行股份有限公司 | Control method and device of virtualization resource pool |
CN110768807B (en) * | 2018-07-25 | 2023-04-18 | 中兴通讯股份有限公司 | 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 |
CN110163731B (en) * | 2019-04-30 | 2021-07-27 | 广州市中智软件开发有限公司 | Method, system and storage medium for establishing virtual bidding room of intermediary service supermarket |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825289A (en) * | 2005-02-22 | 2006-08-30 | 微软公司 | Method and system for resource management |
CN102971724A (en) * | 2010-02-22 | 2013-03-13 | 维图斯瑞姆有限公司 | Methods and apparatus related to management of unit-based virtual resources within a data center environment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5256744B2 (en) * | 2008-01-16 | 2013-08-07 | 日本電気株式会社 | Resource allocation system, resource allocation method and program |
JP5040773B2 (en) * | 2008-03-31 | 2012-10-03 | 富士通株式会社 | Memory buffer allocation device and program |
-
2013
- 2013-04-19 CN CN201310140908.8A patent/CN103309745B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825289A (en) * | 2005-02-22 | 2006-08-30 | 微软公司 | Method and system for resource management |
CN102971724A (en) * | 2010-02-22 | 2013-03-13 | 维图斯瑞姆有限公司 | Methods and apparatus related to management of unit-based virtual resources within a data center environment |
Also Published As
Publication number | Publication date |
---|---|
CN103309745A (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103309745B (en) | The method and device of the virtual resource configuration of cloud framework | |
CN107329837B (en) | Load balancing method and unit and distributed NewSQL database system | |
CN105912403B (en) | The method for managing resource and device of Docker container | |
CN107967179A (en) | A kind of cloud computing resources distribution method for supporting emergency | |
CN104714851B (en) | A kind of method and device for realizing resource allocation | |
CN104142860A (en) | Resource adjusting method and device of application service system | |
SG11201810195VA (en) | Exclusive agent pool allocation method, electronic device, and computer readable storage medium | |
CN102270157A (en) | Server resource allocation system and method | |
CN103473115B (en) | virtual machine placement method and device | |
CN108279974A (en) | A kind of cloud resource distribution method and device | |
CN102594869A (en) | Method and device for dynamically distributing resources under cloud computing environment | |
CN108762912A (en) | A kind of method and apparatus of container cluster elastic telescopic | |
CN110647392A (en) | Intelligent elastic expansion method based on container cluster | |
CN103729236A (en) | Method for limiting resource using limit of cloud computing users | |
CN104714845B (en) | Resource dynamic regulation method, device and more kernel operating systems | |
CN105426228B (en) | A kind of OpenStack virtual machine placement methods towards live streaming media and video code conversion | |
CN102053916B (en) | Method for distributing large continuous memory of kernel | |
CN108563504A (en) | A kind of resource management-control method and device | |
CN107861820A (en) | A kind of resources of virtual machine distribution method and system | |
US10007559B1 (en) | Virtual tiering | |
CN110069319B (en) | Multi-target virtual machine scheduling method and system for cloud resource management | |
CN110399216B (en) | Method, system and device for distributing power consumption of whole machine box and readable storage medium | |
Fuerst et al. | Cloud-scale vm-deflation for running interactive applications on transient servers | |
CN113285890B (en) | Gateway flow distribution method and device, electronic equipment and storage medium | |
CN107463433A (en) | The method and apparatus for managing the resource of virtual machine |
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 |