[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107239347A - A kind of device resource allocation method and apparatus under virtualization scene - Google Patents

A kind of device resource allocation method and apparatus under virtualization scene Download PDF

Info

Publication number
CN107239347A
CN107239347A CN201710451274.6A CN201710451274A CN107239347A CN 107239347 A CN107239347 A CN 107239347A CN 201710451274 A CN201710451274 A CN 201710451274A CN 107239347 A CN107239347 A CN 107239347A
Authority
CN
China
Prior art keywords
resource
virtual
physical equipment
idling
virtual unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710451274.6A
Other languages
Chinese (zh)
Other versions
CN107239347B (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.)
Hangzhou DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201710451274.6A priority Critical patent/CN107239347B/en
Publication of CN107239347A publication Critical patent/CN107239347A/en
Application granted granted Critical
Publication of CN107239347B publication Critical patent/CN107239347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application provides a kind of device resource allocation method and apparatus virtualized under scene.The resource bid that target virtual devices are sent first is received, if the resource requirement quantity is not more than the idling-resource quantity of the physical equipment, the idling-resource in physical equipment is distributed into target virtual devices;If the resource requirement quantity is more than the idling-resource quantity of the physical equipment, controls other virtual units to discharge resource and the idling-resource in physical equipment is distributed into target virtual devices to the physical equipment, and according to releasing result.Compared with prior art, the application adjusts the resource allocation quantity of each virtual unit by dynamic, the resource requirement of virtual unit is met to greatest extent, differentiation distribution is accomplished, it also avoid the virtual unit resource allocation that first creates it is excessive when, the problem of virtual unit demand stock number newly created can not be met, can preferably ensure that equipment supports the quantity of the virtual unit of establishment.

Description

A kind of device resource allocation method and apparatus under virtualization scene
Technical field
The application is related to device virtualization field, more particularly to a kind of device resource allocation method virtualized under scene And device.
Background technology
Device virtualization is a kind of conventional technology.We can be by device virtualization technology by a physical equipment void Intend turning to multiple devices in logic, each virtualization example can simply be interpreted as an independent virtual unit, and each is empty Propose and be independent of each other between.Device virtualization technology effectively increases the utilization rate of equipment, but due to the hardware of physical equipment Constraint, the various resources that physical equipment can be supported have the upper limit.Illustrate:Certain physical equipment supports 1,000,000 conversational lists, 50 Ten thousand routing tables, 100,000 ARP tables.After physical equipment is virtualized, each virtual unit needs these resources being allocated, The resource usage amount sum of virtual unit is no more than the maximum resource amount that physical equipment can be provided.
In the prior art, it is general to use the following two kinds resource distribution mode:
Fixed allocation:The virtual unit quantity for creating physical equipment is fixed value, the distribution of each virtual unit Stock number also be fixed value.This mode user need not do extra configuration, fairly simple easy-to-use, convenient management.Shortcoming As shown in figure 1, dark parts represent the resource used, light-colored part represents available free resource.It can be seen that, distribute to virtual Equipment VS5 resource has been used, but physical equipment actually still has resource.The resource allocation of this mode is not clever enough It is living, do not accomplish that differentiation is distributed, it may appear that physical equipment has the situation that unappropriated idling-resource can not be but allocated.
Distribution according to need:The virtual unit quantity for creating physical equipment is arbitrary value, the resource of each virtual unit Number is configurable, when newly creating a virtual unit, and stock number of the equipment according to needed for being configured the demand of the system is this Mode is configured according to the demand of user, is easier to accomplish that differentiation is distributed, it is contemplated that portfolio it is big can be with overabsorption Resource, it is contemplated that small can the lacking of portfolio distributes resource, and the use to resource is more reasonable.Shortcoming as shown in Fig. 2 create in the ban Virtual unit distribution resource it is more when, the virtual unit that creates afterwards possibly can not be assigned to required resource, so that can not Create successfully, i.e., the sum for the virtual unit that whole physical equipment can be supported can not be ensured.In addition, needed for some virtual unit Stock number can not accurately determine very much, nor be that fixed, different time point actual portfolio has fluctuation, If the stock number of distribution is very little, in most cases it may use enough, but peak time has the not enough situation of resource, from And cause traffic failure;If stock number distribution is too many, meet demand during peak, but other times might have it is certain Waste.
The content of the invention
In order to solve the above technical problems, this application provides a kind of device resource allocation method and dress virtualized under scene Put, technical scheme is as follows:
A kind of device resource allocation method under virtualization scene, it is described virtually to set applied to virtual device management device Standby managing device is configured at physical equipment, and the virtual device management device creates some virtually set in a physical device Standby, methods described includes:
The resource bid that target virtual devices are sent is received, resource requirement quantity is carried in the resource bid;
Judge whether the resource requirement quantity is more than the idling-resource quantity of the physical equipment;
If the resource requirement quantity is not more than the idling-resource quantity of the physical equipment, by the sky in physical equipment Not busy resource allocation is to target virtual devices;
If the resource requirement quantity is more than the idling-resource quantity of the physical equipment, other virtual units are controlled Resource, which is discharged, to the physical equipment, and the idling-resource in physical equipment is distributed to by destination virtual according to releasing result sets It is standby.
A kind of device resource allocation device under virtualization scene, the device resource allocation device is configured at physics and set It is standby, and the device resource allocation device creates some virtual units in a physical device, described device includes:
Resource bid module, the resource bid for receiving target virtual devices transmission, carries money in the resource bid Source quantity required;
Resource judgment module, for judging whether the resource requirement quantity is more than the idling-resource number of the physical equipment Amount;
Resource distribution module, the idling-resource quantity for being not more than the physical equipment when the resource requirement quantity When, the idling-resource in physical equipment is distributed into target virtual devices;
Resource seizes module, for when the resource requirement quantity be more than the physical equipment idling-resource quantity when, Other virtual units are controlled to discharge resource to the physical equipment, and according to releasing result by the idling-resource in physical equipment Distribute to target virtual devices.
It is each by dynamic adjustment this application provides a kind of device resource allocation method and apparatus virtualized under scene The resource allocation quantity of virtual unit, as long as physical equipment also has unappropriated idling-resource, provides for making to virtual unit With the resource requirement of virtual unit can be met to greatest extent.The application resource allocation flexibly, has accomplished differentiation distribution, Avoid the virtual unit resource allocation first created it is excessive when, what the virtual unit demand stock number newly created can not be met asks Topic, can preferably ensure that equipment supports the quantity of the virtual unit of establishment.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in invention, for those of ordinary skill in the art, can also obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic diagram of fixed allocation device resource in the prior art of the invention;
Fig. 2 is a kind of schematic diagram of device resource of the invention of distributing according to need in the prior art;
Fig. 3 is a kind of flow chart that the embodiment of the present invention virtualizes the establishment virtual unit under scene;
Fig. 4 is a kind of flow chart that the embodiment of the present invention virtualizes the device resource allocation method under scene;
Fig. 5 is another flow chart that the embodiment of the present invention virtualizes the device resource allocation method under scene;
Fig. 6 is a kind of schematic diagram that the embodiment of the present invention virtualizes the device resource allocation device under scene.
Embodiment
When physical equipment is virtualized, it is necessary to which the various resource allocations in physical equipment to be given to the virtual unit being created that. It is general in the prior art to use the two spike-type cultivars method of salary distribution:Fixed allocation and distribution according to need.But two kinds of methods of salary distribution can not all be done To the resource allocation quantity of each virtual unit of dynamic adjustment.
In view of this, just a kind of device resource allocation method virtualized under scene is illustrated the embodiment of the present invention, should Method may comprise steps of:
A kind of device resource allocation method under virtualization scene, it is described virtually to set applied to virtual device management device Standby managing device is configured at physical equipment, and the virtual device management device creates some virtually set in a physical device Standby, methods described includes:
The resource bid that target virtual devices are sent is received, resource requirement quantity is carried in the resource bid;
Judge whether the resource requirement quantity is more than the idling-resource quantity of the physical equipment;
If the resource requirement quantity is not more than the idling-resource quantity of the physical equipment, by the sky in physical equipment Not busy resource allocation is to target virtual devices;
If the resource requirement quantity is more than the idling-resource quantity of the physical equipment, other virtual units are controlled Resource, which is discharged, to the physical equipment, and the idling-resource in physical equipment is distributed to by destination virtual according to releasing result sets It is standby.
, it is necessary to be pre-configured with data below before resource allocation:
The maximum quantity of the virtual unit of physical equipment support is pre-configured with, COUNTvs, the void of equipment actual creation is designated as The value can not be more than by intending number of devices.
Standard resource value is respectively specified that for each virtual unit, virtual unit x standard resource value is designated as EXPx, and is institute The standard resource value sum for having virtual unit to specify is not more than the total value of the resource of such in physical equipment.
During resource allocation, in addition it is also necessary to record various resource behaviours in service, the data of record include but is not limited to It is several below:
Idling-resource value:In a physical device, each type of resource only one of which of the idling-resource value, is that equipment is complete The idling-resource of office, when virtual unit application is to resource, the idling-resource value is reduced, described during virtual unit release resource The increase of idling-resource value;
System resource value:The system resource value exist in a physical device it is multiple, each virtual unit exist one, use In recording the currently used stock number of the virtual unit, when virtual unit application is to resource, the system resource value increase is empty When proposing standby release resource, the system resource value is reduced;
System resource peak value:The system resource value exist in a physical device it is multiple, each virtual unit exist one, The peak of stock number, when virtual unit application is to resource, comparison system resource are used for recording the virtual unit Value and system resource peak value, if system resource value is bigger than system resource peak value, modification system resource peak value is for newest The value of system resource value;
System resource average:The system resource value exist in a physical device it is multiple, each virtual unit exist one, System resource value is obtained by periodic samples, mean value calculation is carried out by preset algorithm, for virtual described in rough estimate The average resource use value of equipment.
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with present invention implementation Accompanying drawing in example, the technical scheme in the embodiment of the present invention is described in detail.
Some virtual units have been created before resource allocation starts, in physical equipment, Fig. 3 is refer to, have been this hair A kind of flow chart of virtual unit is created in bright embodiment virtualization scene, it can include following basic step:
S301, initiates virtual unit request to create, is device configuration standard resource value to be created.
Whether S302, judge the number of existing virtual unit not less than the maximum being pre-configured with;
If the number of existing virtual unit is less than the maximum quantity COUNTvs being pre-configured with, step S303 is performed;Such as The existing number virtually set of fruit is not less than the maximum quantity COUNTvs being pre-configured with, then performs step S306.
S303, judges the total value whether all virtual unit standard resource value sums are more than in physical equipment;
Here standard resource value sum, also exists including the standard resource value for current virtual unit configuration to be created It is interior, if the standard resource value sum of all virtual units configuration is not more than the total value of the resource of such in physical equipment, perform Step S304;If the standard resource value sum of all virtual unit configurations is more than the total value of such resource in physical equipment, Perform step S305.
S304, creates virtual unit.
S305, exports current resource service condition;
When configurable standard resource value deficiency causes new virtual unit can not complete establishment, it is necessary to export physical equipment With the resource behaviour in service of each virtual unit, so that user is referred to and is adjusted.
The data class that can be exported includes but is not limited to:The maximum resource quantity of physical equipment, the configuration of each virtual unit Standard resource value, each virtual unit use resource quantity peak, the average value of the use resource quantity of each virtual unit.
S306, establishment terminates;
Fig. 4 is refer to, is a kind of flow chart that the embodiment of the present invention virtualizes the device resource allocation method under scene, its Following basic step can be included:
S401, receives the resource bid that target virtual devices are sent;
The resource bid that target virtual devices are sent is received, target virtual devices are carried in resource bid and want application Resource quantity;
S402, judges whether resource requirement quantity is more than idling-resource quantity;
Idling-resource be exactly it is remaining in physical equipment, can be for distributing to the resource of virtual unit.It should be noted , physical equipment, which can distribute to the resource category virtually set, to be had a lot, such as conversational list, routing table, and ARP table etc. is all Assignable resource.Here idling-resource, is referred to and the class resource of virtual unit resource bid identical one.
After resource bid is received, check that whether resource requirement quantity is more than idling-resource quantity, that is, check thing Can the idling-resource in reason equipment meet the demand of resource bid.
If resource requirement quantity is not more than idling-resource quantity, step S403 is performed;
If resource requirement quantity is more than idling-resource quantity, step S404 is performed.
S403, target virtual devices are distributed to by the idling-resource in physical equipment.
S404, controls other virtual units to discharge resource to physical equipment, according to releasing result by the sky in physical equipment Not busy resource allocation is to target virtual devices;
If resource requirement quantity is more than idling-resource quantity, illustrate that the idling-resource in physical equipment can not meet target The resource requirement of virtual unit, at this time, it may be necessary to which dynamic adjusts the resource allocation ratio in each virtual unit.
In actual application, carry out condition inspection is usually required before triggering resource release, is illustrated:
A) target virtual devices are checked, if the currently used resource quantity of target virtual devices does not reach threshold value, Control other virtual unit resource quantities to discharge resource and distribute to target virtual devices to physical equipment, then by physical equipment.
B) other virtual units are checked, if the currently used resource quantity of some virtual units exceedes threshold value, are controlled These virtual units release resource distributes to target virtual devices to physical equipment, then by physical equipment.
C) target virtual devices and other virtual units are checked, if the currently used resource quantity of target virtual devices does not have There is arrival threshold value, and the currently used resource quantity of some virtual units exceedes threshold value, then controls these virtual units release money Target virtual devices are distributed to physical equipment, then by physical equipment in source.
Further, resource allocation can also use kinds of schemes, illustrate:
A) idling-resource in physical equipment is first distributed on target virtual devices, meets one of target virtual devices Point resource requirement, then carries out condition inspection, if resource release can be carried out, then discharge from other virtual units resource to Physical equipment, enables the idling-resource in physical equipment to supply remaining a part of resource requirement.
B) condition inspection is first carried out, if resource release can be carried out, resource is discharged from other virtual units to physics Equipment, makes the idling-resource quantity in physical equipment be more than the resource quantity of target virtual devices, then provides enough free time Distribute to virtual unit in source.
Fig. 5 is refer to, is another flow chart that the embodiment of the present invention virtualizes the device resource allocation method under scene, It can include following basic step:
S501, receive target virtual devices send resource bid, and described in S401 it is identical.
S502, judges whether resource requirement quantity is identical more than idling-resource quantity, and described in S402.
If resource requirement quantity is more than idling-resource quantity, step S503 is performed;
If resource requirement quantity is not more than idling-resource quantity, step S504 is performed.
S503, sends inadequate resource alarm log, then performs step 505;
In general, when there occurs situations below, inadequate resource alarm log can be produced:
A) the maximum resource ability of physical equipment has been unsatisfactory for current application environment;
B) resources-type attack is there occurs, causes resource consumption excessive.
S504, target virtual devices are distributed to by the idling-resource in physical equipment, then perform step 508.
S505, judges whether the Current resource usage quantity of target device is less than standard resource value;
Standard resource value is it is to be understood that the resource quantity that virtual unit can be obtained unconditionally.
When virtual unit application resource, the currently used resource value of virtual unit does not reach standard resource value, then No matter idle resource value is enough in physical equipment, the resource bid of virtual unit can be all sought to address that, that is, controls other virtual Equipment release resource distributes to virtual unit to physical equipment, then by physical equipment.Here there can be further two kinds of processing Mode:A) in the case of the not yet enough distribution of resources requirement of this application, the currently used resource value of virtual unit is arrived Quasi- resource value up to standard, now, stops controlling other virtual unit resource quantities to discharge resource to physical equipment;B) no matter virtually setting Whether standby currently used resource value reaches standard resource value, meets the resources requirement of this time application, then stops controlling other Virtual unit resource quantity discharges resource to physical equipment.
When virtual unit application resource, the currently used resource value of virtual unit has arrived at standard resource value, then When idling-resource value only in a physical device is enough, the resource bid of virtual unit can be just met.
If the Current resource usage quantity of target device is less than its standard resource value, step S506 is performed;
If the Current resource usage quantity of target device is not less than its standard resource value, step S508 is performed.
S506, chooses maximum virtual of currently used resource quantity and standard resource value ratio from other virtual units Equipment.
S507, control chooses virtual unit to discharge resource to physical equipment, according to releasing result by the sky in physical equipment Not busy resource allocation is identical to target virtual devices, and described in S404.
S508, distribution terminates.
Fig. 6 is refer to, is the device resource allocation device under virtualization scene of the embodiment of the present invention.Including:Resource bid Module 601, resource judgment module 602, resource distribution module 603, resource seizes module 604.
Resource bid module 601, the resource bid for receiving target virtual devices transmission, is carried in the resource bid Resource requirement quantity;
Resource judgment module 602, for judging whether the resource requirement quantity is more than the idle money of the physical equipment Source quantity;
Resource distribution module 603, the idling-resource number for being not more than the physical equipment when the resource requirement quantity During amount, the idling-resource in physical equipment is distributed into target virtual devices;
Resource seizes module 604, the idling-resource quantity for being more than the physical equipment when the resource requirement quantity When, control other virtual units to discharge resource to the physical equipment, and according to releasing result by the free time in physical equipment Resource allocation is to target virtual devices.
In the present embodiment, the quantity for the virtual unit that the device resource allocation device is created, is not higher than pre-configured with Maximum.
Device resource allocation device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource value, and It is not more than the total value of the resource of such in physical equipment for the standard resource value sum that all virtual units are specified
In the present embodiment, the resource seizes module, specifically for:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, judge that target virtual devices are worked as Whether the preceding resource quantity used is less than standard resource value;
If the currently used resource quantity of target virtual devices is less than standard resource value, other virtual units are controlled to release Resource is put to the physical equipment.
In the present embodiment, the resource seizes module, is specifically additionally operable to:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, according to preset algorithm selector The virtual unit of standardization, discharges resource to the physical equipment from selected virtual unit.
In the present embodiment, the resource seizes module, is specifically additionally operable to:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, calculates other virtual units and work as The ratio of the preceding resource quantity used and the equipment standard resource value, the virtual unit for selecting the ratio maximum, from selected Virtual unit in release resource to the physical equipment;
Wherein, virtual device management device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource Value, and the standard resource value sum specified for all virtual units is not more than the total value of the resource of such in physical equipment.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for device Apply for example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method Part explanation.Device embodiment described above is only schematical, wherein described illustrate as separating component Module can be or may not be physically separate, the part shown as module can be or may not be Physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to the actual needs Some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying In the case of creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (10)

1. a kind of device resource allocation method virtualized under scene, it is characterised in that applied to virtual device management device, institute State virtual device management device and be configured at physical equipment, and the virtual device management device create in a physical device it is some Virtual unit, methods described includes:
The resource bid that target virtual devices are sent is received, resource requirement quantity is carried in the resource bid;
Judge whether the resource requirement quantity is more than the idling-resource quantity of the physical equipment;
If the resource requirement quantity is not more than the idling-resource quantity of the physical equipment, the free time in physical equipment is provided Distribute to target virtual devices in source;
If the resource requirement quantity is more than the idling-resource quantity of the physical equipment, other virtual units are controlled to discharge Idling-resource in physical equipment is distributed to target virtual devices by resource to the physical equipment, and according to releasing result.
2. according to the method described in claim 1, it is characterised in that the virtual unit that the virtual device management device is created Quantity, the maximum being not higher than pre-configured with;
Virtual device management device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource value, and be institute The standard resource value sum for having virtual unit to specify is not more than the total value of the resource of such in physical equipment.
3. method according to claim 2, it is characterised in that other virtual units of the control discharge resource to the thing Equipment is managed, including:
Judge whether the currently used resource quantity of target virtual devices is less than standard resource value;
If the currently used resource quantity of target virtual devices is less than standard resource value, other virtual units release money is controlled Source is to the physical equipment.
4. according to the method described in claim 1, it is characterised in that described other virtual units of control discharge resource to the thing Equipment is managed, including:
Standard compliant virtual unit is selected according to preset algorithm, resource is discharged from selected virtual unit to the physics Equipment.
5. method according to claim 4, it is characterised in that described virtually to be set according to preset algorithm selection is standard compliant It is standby, including:
The ratio of the currently used resource quantity of other virtual units and the equipment standard resource value is calculated, the ratio is selected most Big virtual unit;
Wherein, virtual device management device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource value, and It is not more than the total value of the resource of such in physical equipment for the standard resource value sum that all virtual units are specified.
6. a kind of device resource allocation device virtualized under scene, it is characterised in that the device resource allocation device configuration In physical equipment, and the device resource allocation device creates some virtual units in a physical device, and described device includes:
Resource bid module, the resource bid for receiving target virtual devices transmission, resource is carried in the resource bid to be needed Seek quantity;
Resource judgment module, for judging whether the resource requirement quantity is more than the idling-resource quantity of the physical equipment;
, will when resource distribution module, idling-resource quantity for being not more than the physical equipment when the resource requirement quantity Idling-resource in physical equipment distributes to target virtual devices;
Resource seizes module, for when idling-resource quantity of the resource requirement quantity more than the physical equipment, controlling Other virtual units discharge resource to the physical equipment, and are distributed the idling-resource in physical equipment according to releasing result To target virtual devices.
7. device according to claim 6, it is characterised in that the virtual unit that the device resource allocation device is created Quantity, the maximum being not higher than pre-configured with;
Device resource allocation device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource value, and be institute The standard resource value sum for having virtual unit to specify is not more than the total value of the resource of such in physical equipment.
8. device according to claim 7, it is characterised in that the resource seizes module, specifically for:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, judge that target virtual devices currently make Whether resource quantity is less than standard resource value;
If the currently used resource quantity of target virtual devices is less than standard resource value, other virtual units release money is controlled Source is to the physical equipment.
9. device according to claim 6, it is characterised in that the resource seizes module, specifically for:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, mark is met according to preset algorithm selection Accurate virtual unit, discharges resource to the physical equipment from selected virtual unit.
10. device according to claim 6, it is characterised in that the resource seizes module, specifically for:
When the resource requirement quantity is more than the idling-resource quantity of the physical equipment, calculating other virtual units currently makes Resource quantity and the ratio of the equipment standard resource value, the virtual unit for selecting the ratio maximum, from selected void Standby middle release resource is proposed to the physical equipment;
Wherein, virtual device management device, when creating virtual unit, is that each virtual unit respectively specifies that standard resource value, and It is not more than the total value of the resource of such in physical equipment for the standard resource value sum that all virtual units are specified.
CN201710451274.6A 2017-06-15 2017-06-15 Equipment resource allocation method and device in virtual scene Active CN107239347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710451274.6A CN107239347B (en) 2017-06-15 2017-06-15 Equipment resource allocation method and device in virtual scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710451274.6A CN107239347B (en) 2017-06-15 2017-06-15 Equipment resource allocation method and device in virtual scene

Publications (2)

Publication Number Publication Date
CN107239347A true CN107239347A (en) 2017-10-10
CN107239347B CN107239347B (en) 2020-08-04

Family

ID=59987004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710451274.6A Active CN107239347B (en) 2017-06-15 2017-06-15 Equipment resource allocation method and device in virtual scene

Country Status (1)

Country Link
CN (1) CN107239347B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279980A (en) * 2018-01-22 2018-07-13 上海联影医疗科技有限公司 Resource allocation methods and system and resource allocation terminal
CN110267110A (en) * 2019-06-20 2019-09-20 视联动力信息技术股份有限公司 A kind of concurrent program request processing method and system based on view networking
CN112600906A (en) * 2020-12-09 2021-04-02 中国科学院深圳先进技术研究院 Resource allocation method and device for online scene and electronic equipment
CN112596906A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Resource allocation method and device for processing unit
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998051060A1 (en) * 1997-05-09 1998-11-12 General Datacomm, Inc. Method and apparatus for precedence and preemption in atm connection admission control
CN105589751A (en) * 2015-11-27 2016-05-18 杭州华三通信技术有限公司 Physical resource scheduling method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998051060A1 (en) * 1997-05-09 1998-11-12 General Datacomm, Inc. Method and apparatus for precedence and preemption in atm connection admission control
CN105589751A (en) * 2015-11-27 2016-05-18 杭州华三通信技术有限公司 Physical resource scheduling method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279980A (en) * 2018-01-22 2018-07-13 上海联影医疗科技有限公司 Resource allocation methods and system and resource allocation terminal
CN110267110A (en) * 2019-06-20 2019-09-20 视联动力信息技术股份有限公司 A kind of concurrent program request processing method and system based on view networking
CN113365116A (en) * 2020-03-04 2021-09-07 青岛海信传媒网络技术有限公司 Audio and video resource management method and device
CN112600906A (en) * 2020-12-09 2021-04-02 中国科学院深圳先进技术研究院 Resource allocation method and device for online scene and electronic equipment
CN112596906A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Resource allocation method and device for processing unit

Also Published As

Publication number Publication date
CN107239347B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN107239347A (en) A kind of device resource allocation method and apparatus under virtualization scene
CN102714610B (en) Unblock access control
CN105335229B (en) Scheduling method and device of service resources
CN102835068B (en) Method and apparatus for managing reallocation of system resources
US20070248007A1 (en) Broadband access network capacity management
CN112269641B (en) Scheduling method, scheduling device, electronic equipment and storage medium
CN105052074A (en) Methods, systems, and computer readable media for providing a virtualized diameter network architecture and for routing traffic to dynamically instantiated diameter resource instances
US7958239B1 (en) Multilink point-to-point protocol network access server channel allocation method and apparatus
EP3253027A1 (en) Resource allocation method and apparatus for virtual machines
CA2590955A1 (en) System and method for scalable data distribution
CN106712998A (en) Cloud platform resource management method, device and system
KR20120128681A (en) Method and apparatus for hierarchical management of system resources
CN104426694B (en) A kind of method and apparatus of adjustment resources of virtual machine
JP6725898B2 (en) Power receiving device in power over ethernet network system and method for the power receiving device
KR20130065019A (en) System and method of resource management of centralized base station in mobile communication network
EP2938033A1 (en) Device and method for managing resources in multicast service
CN109392013B (en) Method for adjusting quality of service (QoS) and communication device
CN105247834B (en) The distribution method of Internet resources, composer and manager in virtual network function
CN105530202A (en) Bandwidth allocation method and server
EP2996382B1 (en) Physical resource adjustment method, device and controller
CN112134964B (en) Controller distribution method, computer equipment, storage medium and network service system
CN113760549A (en) Pod deployment method and device
CN103761192B (en) A kind of method and apparatus of Memory Allocation
CN103260196B (en) A kind of control method of transmission bandwidth, Apparatus and system
KR20100100162A (en) Method and system using range bandwidth for controlling disk i/o

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210621

Address after: 310051 05, room A, 11 floor, Chung Cai mansion, 68 Tong Xing Road, Binjiang District, Hangzhou, Zhejiang.

Patentee after: Hangzhou Dip Information Technology Co.,Ltd.

Address before: 6 / F, Zhongcai building, 68 Tonghe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou DPtech Technologies Co.,Ltd.