CN108337109A - A kind of resource allocation methods and device and resource allocation system - Google Patents
A kind of resource allocation methods and device and resource allocation system Download PDFInfo
- Publication number
- CN108337109A CN108337109A CN201711465349.2A CN201711465349A CN108337109A CN 108337109 A CN108337109 A CN 108337109A CN 201711465349 A CN201711465349 A CN 201711465349A CN 108337109 A CN108337109 A CN 108337109A
- Authority
- CN
- China
- Prior art keywords
- priority
- resource
- virtual
- resources
- resource allocation
- 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
- 238000013468 resource allocation Methods 0.000 title claims abstract description 162
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000005012 migration Effects 0.000 claims description 39
- 238000013508 migration Methods 0.000 claims description 39
- 238000007726 management method Methods 0.000 claims description 32
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 238000007792 addition Methods 0.000 claims description 2
- 238000012217 deletion Methods 0.000 claims description 2
- 230000037430 deletion Effects 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 21
- 230000008569 process Effects 0.000 description 11
- 230000004044 response Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000007717 exclusion Effects 0.000 description 5
- OOXMVRVXLWBJKF-DUXPYHPUSA-N n-[3-[(e)-2-(5-nitrofuran-2-yl)ethenyl]-1,2,4-oxadiazol-5-yl]acetamide Chemical compound O1C(NC(=O)C)=NC(\C=C\C=2OC(=CC=2)[N+]([O-])=O)=N1 OOXMVRVXLWBJKF-DUXPYHPUSA-N 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000002904 solvent Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5019—Ensuring fulfilment of SLA
- H04L41/5022—Ensuring fulfilment of SLA by giving priorities, e.g. assigning classes of service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
- H04L41/5051—Service on demand, e.g. definition and deployment of services in real time
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses a kind of resource allocation methods and devices and resource allocation system, including:Virtual resource information to be created is obtained, and inquires reserved physical resource Information;Precedence information according to preconfigured physical resource is the virtual resource allocation priority to be created obtained;Virtual resource is created according to the priority of distribution and the physical resource of inquiry.The application is based on priority deployment strategy, realizes the resources such as prioritized deployment consumption resource big calculating, storage, and deployment consumes the resources such as small calculating, the storage of resource, avoids the unreasonable potential risk of resource allocation.
Description
Technical Field
The present application relates to, but not limited to, virtualization technologies, and in particular, to a resource allocation method and apparatus and a resource allocation system.
Background
As Virtualization technologies have become mature, for example, telecommunication service equipment has gradually switched from a traditional service architecture to a Network Function Virtualization (NFV) architecture. The essence of the NFV is virtualization and clouding of network equipment, software and hardware decoupling is realized through virtualization, and resource sharing and dynamic allocation can be realized.
The adoption of a general hardware platform and the realization of the unified management and scheduling of resources based on a virtual machine technology have become the development trend in the communication field. No matter physical resources or virtual resources, resources are limited after all, and how to reasonably distribute the limited resources is a topic worthy of deep discussion.
Disclosure of Invention
In order to solve the above technical problems, the present application provides a resource allocation method, a device and a resource allocation system, which can implement reasonable allocation of resources.
In order to achieve the object of the present invention, the present application provides a resource allocation method, including:
acquiring virtual resource information to be created, and inquiring reserved physical resource information;
distributing priority to the obtained virtual resources to be created according to the pre-configured priority information of the physical resources;
and creating the virtual resource according to the allocated priority and the inquired physical resource.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described resource allocation methods.
The application further provides a device for implementing resource scheduling, which includes a processor and a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by the processor, any one of the above resource allocation methods is implemented.
The present application further provides a resource allocation apparatus, including: the system comprises an acquisition module, a distribution module and a creation module; wherein,
the acquisition module is arranged for acquiring the virtual resource information to be created and inquiring the reserved physical resource information;
the allocation module is set to allocate the priority to the obtained virtual resource to be created according to the pre-configured priority information of the physical resource;
and the creating module is set to create the virtual resource according to the distributed priority and the inquired physical resource.
The present application also provides a resource allocation system, including: the system comprises a cloud platform management system, a policy scheduling device and virtualization infrastructure management; wherein,
the cloud platform management system is used for managing the life cycle of the virtualized network function, arranging network services and arranging and managing the software and hardware resources of the whole network;
the virtual infrastructure management is used for managing and monitoring the infrastructure layer resources;
the strategy scheduling device is used for realizing the priority strategy arrangement of the physical resources and deploying the virtual resources according to the priority strategy;
wherein the policy scheduler comprises the resource allocation apparatus according to any one of claims 12 to 20.
The technical scheme of the application includes: acquiring virtual resource information to be created, and inquiring reserved physical resource information; distributing priority to the obtained virtual resources to be created according to the pre-configured priority information of the physical resources; and creating the virtual resource according to the allocated priority and the inquired physical resource. According to the method and the device, based on the priority deployment strategy, the resources such as calculation and storage which consume large resources are preferentially deployed, and then the resources such as calculation and storage which consume small resources are deployed, so that the potential risk that the resources are unreasonable in allocation is avoided.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
FIG. 1 is a flow chart of a resource allocation method according to the present application;
FIG. 2 is a schematic structural diagram of an apparatus for implementing resource allocation according to the present application;
FIG. 3 is a schematic diagram of a resource allocation apparatus, a cloud architecture and a resource scheduling system according to the present application;
FIG. 4 is a schematic structural diagram of a resource allocation apparatus according to the present application;
FIG. 5 is a flowchart illustrating a resource allocation method according to a first embodiment of the present application;
FIG. 6 is a flowchart illustrating a resource allocation method according to a second embodiment of the present application;
FIG. 7 is a flowchart illustrating a resource allocation method according to a third embodiment of the present application;
FIG. 8 is a flowchart illustrating a resource allocation method according to a fourth embodiment of the present application;
FIG. 9 is a flowchart illustrating a fifth embodiment of the resource allocation method of the present application;
FIG. 10 is a flowchart illustrating a sixth embodiment of the resource allocation method of the present application;
FIG. 11 is a flowchart illustrating a resource allocation method according to a seventh embodiment of the present application;
fig. 12 is a schematic flowchart of an eighth embodiment of the resource allocation method of the present application;
fig. 13 is a flowchart illustrating a ninth embodiment of the resource allocation method of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
After a large amount of applications are clouded, various applications may have a scene of concurrent expansion of resources and resource contention, and in the resource allocation, the inventor of the present application thinks that the normal service meeting of the service at this time becomes the highest priority, and then considers allocating resources for other nodes. Therefore, the resource allocation is kept in an optimal and most efficient state, and the potential risk that the application deployment is failed due to unreasonable resource allocation (such as resource contention) is reduced under the condition of limited resources.
Fig. 1 is a flowchart of a resource allocation method according to the present application, as shown in fig. 1, including:
step 100: and acquiring the virtual resource information to be created, and inquiring the reserved physical resource information.
Optionally, the virtual resources to be created include, but are not limited to: the number of CPUs (central processing units) to be allocated to each virtual machine, the size of a memory, an affinity relation or a mutual exclusion relation, virtual network resource information such as which network segment, bandwidth, transceiving rate and the like, virtual storage resource information, predefined priority and the like.
Optionally, the reserved physical resource information includes but is not limited to: the number of CPU assignable by the computing node, the size of assignable memory, etc.
Step 101: and distributing the priority for the obtained virtual resource to be created according to the pre-configured priority information of the physical resource.
The method also comprises the following steps: and presetting priorities of physical resources such as calculation, storage, network and the like in a Virtual Infrastructure Management (VIM) resource pool according to the types and models of physical resources such as servers, magnetic arrays, routers and the like, namely products, so as to obtain the preconfigured priority information. Here, the specific implementation of the presetting is similar to a dictionary, and the physical resource device information and the corresponding priority are only required to be recorded in the dictionary.
Optionally, the method further comprises: and acquiring and displaying the capability distribution map based on the priority. The priority-based capability profile may include, for example: how many CPUs are capable of providing primary computing power and how many CPUs are capable of providing secondary computing power; how much space is available to provide the primary storage capacity, how much space is available to store the secondary storage capacity, and so on.
Optionally, the allocating the priority to the virtual resource to be created in this step includes:
analyzing virtual resources to be created, such as virtual resources to be instantiated, including analyzing the number of CPUs (central processing units), the size of a memory, the size of storage, an affinity relation strategy, an anti-affinity relation strategy, the size of allocated bandwidth, the transceiving rate and the like;
and distributing the priorities of the virtual resources to be created in sequence according to the priorities obtained by analysis.
In this step, before analyzing the virtual resource to be created as to be instantiated, the method further includes: checking whether the virtual resource to be created has a predefined priority, and if so, using the predefined priority; if not, the step of analyzing the virtual resource to be created is continued.
Such as: the priority of the virtual resources with the affinity relation is the same; for another example: the network node with the highest transceiving rate has the highest priority; the following steps are repeated: the compute node with the largest number of CPUs and memory has the highest priority, and if two virtual machines exist, one virtual machine requires 16C64G, and the other virtual machine requires 4C8G, then the compute node requiring the 16C64G virtual machine has the highest priority.
Optionally, the method further comprises: and manually adjusting the priority of the virtual resources to be created according to actual requirements. For example, when the priority changes due to the change of the affinity and the mutual exclusion, the user may manually adjust the priority of the virtual resource again.
Step 102: and creating the virtual resource according to the allocated priority and the inquired physical resource.
Optionally, this step includes:
and deploying the virtual resources on the corresponding physical resources according to the allocated priority. The deployment rules include: and deploying according to the priority from high to low in sequence. The creation is performed firstly with high priority, and the creation is performed in parallel with the priority of the same level.
Such as: firstly, deploying virtual resources with the highest priority and creating the virtual resources on the computing resources with the highest computing priority; deploying volume storage with the highest priority and establishing the volume storage on a storage node with the highest priority; and deploying the network with the highest priority, and creating the network on the network node with the highest priority. And then deploying the virtual machine, the storage and the network with the second priority. And so on. Virtual machines or volume storage or networks of the same priority are created in parallel on computing resources or storage nodes or network nodes of the same priority.
Optionally, the method further comprises: the progress of creating the virtual resource is queried.
According to the method and the device, based on the priority deployment strategy, the resources such as calculation and storage which consume large resources are preferentially deployed, and then the resources such as calculation and storage which consume small resources are deployed, so that the potential risk that the resources are unreasonable in allocation is avoided.
For cloud services, whether users or providers, it is desirable to provide 99.95% service availability and 99.999% data reliability. Under the requirement of high-quality service, the resource allocation scheme based on the priority deployment strategy ensures that services with high computing capacity requirement are deployed on high-performance computing nodes, service data with high read-write requirement are stored on storage nodes with high storage efficiency, and services with high network input/output (I/O) requirement are deployed on network nodes with high communication efficiency. Thereby saving resources and saving funds.
Optionally, in the resource using process, the present application further includes:
the priority of the physical resources is adjusted, and/or the priority of the virtual resources is adjusted.
Such as: in the using process of resources, after some physical resources are subjected to version upgrading, the computing, storing and other capabilities are improved, and the priority of the resource type needs to be increased; and the computing, storing and other capabilities of some resources are reduced after the resources are used, and the priority of the resource type needs to be reduced through adjustment at the moment. At this time, the resource pool administrator can adjust the priority of the physical resource accordingly.
The following steps are repeated: in the using process, after some products are upgraded, the corresponding capabilities of calculation, storage and the like need to be improved, and the priority of the resource needs to be increased at this time; if some products are gradually replaced, the corresponding computing, storage, etc. capabilities may be reduced, and in this case the resource may need to be reduced in priority by adjustment. At this time, the tenant administrator can correspondingly adjust the priorities of the virtual resources such as calculation, storage and the like according to actual needs.
For aged physical devices, the priority of the physical devices can be reduced by adjustment; for the upgraded physical equipment, the performance is improved, so that the priority of the physical equipment can be correspondingly improved; for the deployed application capacity expansion situation, the traffic volume may increase, and the priority of the virtual resource may be increased by adjusting, and conversely, if the traffic volume slowly goes offline, the priority of the virtual resource may be decreased by adjusting, and so on.
Optionally, after the priority of the physical resource is adjusted, the method further includes:
inquiring all virtual resources using the physical resources with the adjusted priority and the physical resource capacity distribution map corresponding to the priority, and prompting to migrate the virtual resources if the resource capacity of the priority meets the migration requirement. Such as: after the priority of the physical resource is reduced, the virtual resource deployed on the physical resource is migrated to the physical resource with the same priority as the priority of the physical resource before adjustment, so that the priority of the virtual resource is ensured not to be indirectly reduced because the priority of the physical resource is reduced. The determination of whether migration is satisfied belongs to the known technology of those skilled in the art, and the specific implementation does not limit the scope of the present application, which is not described herein again.
Optionally, after the priority of the virtual resource is adjusted, the method further includes:
and detecting the physical resource capacity distribution diagram of the target priority after the virtual resources are adjusted, and prompting to migrate the virtual resources if the resource capacity of the target priority meets the migration requirement. Such as: if the virtual resources are reduced from 3 to 4, the physical resources with 4 priority can be queried by the capability profile to see if they are sufficient, and if so, the virtual resources are migrated to the physical devices.
According to the method and the device, the priority of the resources is further adjusted according to actual requirements, so that the optimal and most efficient use of the resources is better guaranteed, the resource utilization rate is maximized, the operation cost of an operator under an NFV (network function virtualization) framework is effectively reduced, and the construction cost of a public cloud/private cloud is reduced.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of any of the above-mentioned methods of carrying out resource allocation.
Fig. 2 is a schematic structural component diagram of a device for implementing resource allocation according to the present application, and as shown in fig. 2, the device includes a processor and a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed by the processor, any one of the resource allocation methods is implemented.
Wherein the computer readable storage medium comprises any one or more of the following: flash Memory, a hard disk, a multimedia Card, a Card type Memory (e.g., a Secure Digital Memory Card (SD Card) or a Data Register (DX) Memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic Memory, a magnetic disk, an optical disk, etc.
The processor may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip, etc.
Fig. 3 is a schematic diagram illustrating a resource allocation apparatus, a Cloud architecture and a resource scheduling System according to the present invention, and as shown in fig. 3, the resource allocation apparatus includes a Cloud platform Management System (CMS), a resource allocation apparatus, and a Virtual Infrastructure Management (VIM); wherein,
the CMS is responsible for lifecycle management of a Virtualized Network Function (VNF), such as instantiation, flexible scaling, termination, and upgrade, orchestration of Network services, orchestration and management of hardware and software resources in the entire Network, and the like.
And the VIM is used for managing and monitoring resources of the whole infrastructure layer.
And the resource allocation device is used for realizing the priority strategy arrangement of physical resources such as calculation, storage, network and the like and deploying virtual resources according to the priority strategy.
The interface 1 between the CMS and the VIM is used to maintain resources such as computation, storage, and network, and implement deployment of service applications and status monitoring of resources allocated to services.
And the interface 2 between the CMS and the resource allocation device is used for realizing the arrangement of the priority strategy, the allocation of the priority, the progress inquiry of the instantiation and the adjustment of the priority. The priority policy arrangement is used for realizing the priority policy arrangement of physical resources such as computation, storage, network and the like. The priority allocation is used for realizing the priority allocation of virtual resources such as virtual machines, storage, networks and the like. An instantiated progress query is a progress query in the resource creation process. The priority adjustment is to adjust the priority of the physical resource type and the virtual machine resource during the operation of the system.
And the interface 3 between the resource allocation device and the VIM is used for realizing VIM resource query, instantiation and virtual machine migration. The VIM resource query is used for querying resource information of the VIM, such as calculation, storage, network and the like. Instantiation enables the creation of virtual resources according to a priority policy. Virtual machine migration is to migrate virtual resources to physical resources of corresponding priority.
The interface 4 is a management interface of the VIM to the virtualization layer, and is used for the VIM to execute virtual machine management including creation, recovery, configuration, monitoring and the like to a virtual machine manager (Hypervisor) through a fourth interface; the VIM performs resource allocation, adjustment, etc. to the Hypervisor.
The interface 5 is an interface for implementing VNF lifecycle management, and is used to implement service deployment, monitor VNF states, implement flexible scaling decisions, and the like.
Fig. 4 is a schematic structural diagram of a resource allocation apparatus according to the present application, as shown in fig. 4, including: the system comprises an acquisition module, a distribution module and a creation module; wherein,
the acquisition module is arranged for acquiring the virtual resource information to be created and inquiring the reserved physical resource information;
and the allocation module is set to allocate the priority to the obtained virtual resource to be created according to the pre-configured priority information of the physical resource.
And the creating module is set to create the virtual resource according to the distributed priority and the inquired physical resource.
Optionally, the resource allocation apparatus of the present application further includes: and the configuration module is set to preset the priority of physical resources such as calculation, storage, network and the like in a resource pool of the VIM according to the types and models of products such as a server, a magnetic array, a router and the like, so that the pre-configured priority information can be obtained.
Optionally, the allocation module specifically sets the allocation priority for the virtual resource to be created as follows:
analyzing virtual resources to be created, such as virtual resources to be instantiated, including analyzing the number of CPUs (central processing units), the size of a memory, the size of storage, an affinity relation strategy, an anti-affinity relation strategy, the size of allocated bandwidth, the transceiving rate and the like; and distributing the priorities of the virtual resources to be created in sequence according to the priorities obtained by analysis. Such as: the priority of the virtual resources with the affinity relation is the same; for another example: the network node with the highest transceiving rate has the highest priority; the following steps are repeated: the compute node with the largest number of CPUs and memory has the highest priority, and if two virtual machines exist, one virtual machine requires 16C64G, and the other virtual machine requires 4C8G, then the compute node requiring the 16C64G virtual machine has the highest priority.
Optionally, the creating module is specifically configured to:
and deploying the virtual resources on the corresponding physical resources according to the allocated priority. The deployment rules include: and deploying according to the priority from high to low in sequence. The creation is performed first with high priority and in parallel with the priority.
Optionally, the configuration module is further configured to:
and acquiring and displaying a capacity distribution map based on the preset priority. The priority-based capability profile may include, for example: how many CPUs are capable of providing primary computing power and how many CPUs are capable of providing secondary computing power; how much space is available to provide the primary storage capacity, how much space is available to store the secondary storage capacity, and so on.
Optionally, the configuration module is further configured to: and providing a configuration interface, so that the priority of the virtual resource to be created is manually adjusted according to the actual requirement.
Optionally, the creating module is further configured to: an interface is provided to query the progress of creating the virtual resource.
According to the method and the device, based on the priority deployment strategy, the resources such as calculation and storage which consume large resources are preferentially deployed, and then the resources such as calculation and storage which consume small resources are deployed, so that the potential risk that the resources are unreasonable in allocation is avoided.
Optionally, the resource allocation apparatus of the present application further includes: an adjustment module configured to adjust a priority of the physical resource and/or adjust a priority of the virtual resource.
Optionally, the resource allocation apparatus of the present application further includes: the migration module is configured to query all virtual resources using the physical resources with the adjusted priorities and a physical resource capacity distribution map corresponding to the priorities after the priorities of the physical resources are adjusted, and prompt the migration of the virtual resources if the resource capacity of the priorities meets the requirement of migration; and/or detecting a physical resource capacity distribution map of the adjusted target priority of the virtual resources after the priority of the virtual resources is adjusted, and prompting to migrate the virtual resources if the resource capacity of the target priority meets the migration requirement.
In fig. 4, the first interface is a priority policy query interface, which connects the CMS and the configuration module of the resource allocation apparatus.
The request message for the priority policy query is shown in table 1:
TABLE 1
The response message to the priority policy query is shown in table 2:
TABLE 2
In fig. 4, the second interface is a priority policy adding, modifying, and deleting interface, and connects the CMS and the configuration module of the resource allocation apparatus.
The request message for adding, modifying and deleting the priority policy is shown in table 3:
TABLE 3
The response messages of the new addition, modification and deletion of the priority policy are shown in table 4:
TABLE 4
The common parameter definitions of the request message and the response message for adding, modifying and deleting the priority policy are shown in table 5:
TABLE 5
As shown in fig. 4, the third interface is a priority assignment interface, which connects the CMS and the assignment module of the resource assignment device.
The request message for priority assignment is shown in table 6:
TABLE 6
The response message of the priority assignment is shown in table 7:
TABLE 7
The common parameter definitions of the request message and the response message for priority assignment are shown in table 8:
TABLE 8
The parameters VDUS in table 8 are shown in table 9:
TABLE 9
The parameter volume storage (volumestarage) in table 8 is specifically shown in table 10:
watch 10
The parameter VLS in table 8 is shown in table 11:
TABLE 11
As shown in fig. 4, the fourth interface is a resource creation interface, which connects the CMS and the creation module of the resource allocation apparatus.
The request message for resource creation is shown in table 12:
parameter(s) | Type (B) | Must choose | Description of the invention |
inputData | ResourceData | Is that | Resource object requested to be created |
TABLE 12
The response message for resource creation is shown in table 13:
watch 13
The resource data (resource data) in table 12 is shown in table 8, and will not be described herein.
As shown in fig. 4, the fifth interface is a progress query interface for resource creation, which connects the CMS and the creation module of the resource allocation apparatus.
The request message of the resource creation progress query is shown in table 14:
parameter(s) | Type (B) | Must choose | Description of the invention |
taskId | String | Is that | Task number |
TABLE 14
The response message of the resource creation progress query is shown in table 15:
watch 15
The parameter schedule details (processDetail) in table 15 are specifically referred to as shown in table 16:
TABLE 16
As shown in fig. 4, the sixth interface is a physical resource priority adjustment interface, and connects the CMS and the adjustment module of the resource allocation apparatus, so as to implement the adjustment of the priority of the physical resource.
The request message for physical resource priority adjustment is shown in table 17:
parameter(s) | Type (B) | Must choose | Description of the invention |
dataList | PriorityData[] | Is that | Array, storing priority data |
TABLE 17
The response message of the physical resource priority adjustment is shown in table 18:
parameter(s) | Type (B) | Must choose | Description of the invention |
resultCode | int | Is that | Return code (0: Normal, 1: abnormal) |
errorMsg | String | Whether or not | Error information (effective when return code is 1) |
Watch 18
The common parameter definitions of the request message and the response message for physical resource priority adjustment are shown in table 19:
watch 19
As shown in fig. 4, the seventh interface is a virtual resource priority adjustment interface, and connects the CMS and the adjustment module of the resource allocation apparatus, so as to implement the adjustment of the priority of the virtual resource.
The request message for virtual resource priority adjustment is shown in table 20:
parameter(s) | Type (B) | Must choose | Description of the invention |
inputData | ResourceRuleData | Is that | Resource object requesting adjustment of priority |
Watch 20
The request message for virtual resource priority adjustment is shown in table 21:
parameter(s) | Type (B) | Must choose | Description of the invention |
resultCode | int | Is that | Return code (0: Normal, 1: abnormal) |
errorMsg | String | Whether or not | Error information (Return)Hui code is 1 hour effective) |
outputData | ResourceRuleData | Is that | Resource objects with adjusted priorities |
TABLE 21
The parameter resourcereldata in tables 20 and 21 is specifically shown in 22:
TABLE 22
The parameter RVDUS in Table 22 is shown in detail at 23:
TABLE 23
The parameter RVolumeStorage in table 22 is specifically shown in 24:
watch 24
The parameter RVLS in Table 22 is shown in detail as 25:
TABLE 25
As shown in fig. 4, the eighth interface is a resource migration interface, and is connected to the CMS and the migration module of the resource allocation apparatus, and configured to implement, after the priority of the physical resource or the virtual resource is adjusted, migration of the virtual resource to the physical resource of the corresponding priority level. Further, a progress query interface (refer to the progress query interface in the virtual machine creation module section) of the migration is provided to query the progress information of the resource migration.
The request message for resource migration is shown in table 26:
parameter(s) | Type (B) | Must choose | Description of the invention |
inputData | ResourceRuleData | Is that | Resource objects requesting migration |
Watch 26
The response message for resource migration is shown in table 27:
parameter(s) | Type (B) | Must choose | Description of the invention |
resultCode | int | Is that | Return code (0: Normal, 1: abnormal) |
errorMsg | String | Whether or not | Error information (effective when return code is 1) |
taskId | String | Is that | Task number |
Watch 27
The specific definition of the parameter resourcereldata in table 26 refers to table 22, and is not described herein.
The following describes in detail the implementation of resource allocation according to the present application with reference to specific embodiments.
A first embodiment, fig. 5 is a schematic flowchart of a first embodiment of the resource allocation method of the present application, which is a deployment implementation in a telecommunication field NFV scenario, and as shown in fig. 5, Network function virtualization Management and Orchestration (NFV MANO, NFV virtualization and Orchestration) is a Management and Orchestration system for Network function virtualization, and includes two functional modules, namely, a Network function virtualization Orchestrator (NFVO, Network function virtualization organizer) and a VNF Management (VNFM, NFV Management). The NFVO is used for arranging the current network service, arranging and managing the whole network software and hardware resources and the like; the VNFM is used to implement lifecycle management of the VNF, including instantiation of the VNF, elastic scaling of the VNF, termination of instances of the VNF, and the like. The method specifically comprises the following steps:
step 500: and performing priority policy configuration on the NFVO, wherein the priority policy configuration comprises priority configuration of physical resources such as computation, storage, networks and the like.
Step 501: an instantiation operation is initiated on the NFVO, i.e. a request to instantiate to the VNFM is initiated.
Step 502: after receiving the instantiation request, the VNFM applies for allocating the priority of resource deployment to the resource allocation device.
Step 503: the resource allocation device firstly inquires physical resource information such as calculation, storage, network and the like reserved on the VIM according to the configured priority strategy.
Step 504: and the VIM returns the physical resource information of the reserved calculation, storage, network and the like.
Step 505: the resource allocation means allocates the deployment priority of the virtual resource.
Step 506: the VNFM acquires the priority returned by the resource allocation device, and can further adjust the acquired priority as needed.
Step 507: the VNFM performs resource creation by the resource allocation means.
Step 508: the resource allocation means detects whether a resource is instantiable.
Step 509: when a resource is instantiable, virtual resource creation is performed according to a priority policy. The creation principle is as follows: and creating the priority levels of the same level in parallel, and creating the priority levels of the same level in advance.
Step 510: and the resource allocation device inquires the progress information of resource creation in real time.
Step 511: and the resource allocation device processes the progress information returned by the VIM, and after all the resources with the same level priority are created, the resources with the next level priority are created in parallel.
Step 512: and the resource allocation device feeds the instantiated overall progress information back to the VNFM in real time.
Step 513: after all the resources are created, the VNFM deploys the service application.
Step 514: the VNFM informs the NFVO of the instantiation result.
Step 515: the VNFM informs the EMS of the instantiation result.
A second embodiment, fig. 6 is a flowchart of a resource allocation method according to the second embodiment of the present application, and is a deployment implementation manner in a public cloud/private cloud scenario, as shown in fig. 6, a CMS is a cloud platform management system in a public cloud/private cloud scenario and is responsible for orchestration of virtualized resources, lifecycle management of virtualized resources (including instantiation, scaling-up, and instance termination), monitoring of virtualized resources, and the like. The method specifically comprises the following steps:
step 600: priority policy configuration is performed on the CMS, including priority configuration of physical resources such as computation, storage, network, and the like.
Step 601: an instantiation operation of the virtual resource is initiated on the CMS.
Step 602: the CMS requests allocation of a priority for resource deployment from the resource allocation apparatus.
Step 603: the resource allocation device firstly inquires physical resource information such as calculation, storage, network and the like reserved on the VIM according to the configured priority strategy.
Step 604: and the VIM returns the physical resource information of the reserved calculation, storage, network and the like.
Step 605: the resource allocation means allocates the deployment priority of the virtual resource.
Step 606: the CMS obtains the priority returned by the resource allocating device, and may further adjust the obtained priority as needed.
Step 607: the CMS performs virtual resource creation by the resource allocation apparatus.
Step 608: the resource allocation means detects whether a resource is instantiable.
Step 609: when a resource is instantiable, virtual resource creation is performed according to a priority policy. The creation principle is as follows: and creating the priority levels of the same level in parallel, and creating the priority levels of the same level in advance.
Step 610: and the resource allocation device inquires the progress information of resource creation in real time.
Step 612: and the resource allocation device processes the progress information returned by the VIM, and after all the resources with the same level priority are created, the resources with the next level priority are created in parallel.
Step 613: the resource allocation device feeds back the instantiated overall progress information to the CMS in real time.
Step 614: after all the virtual resources are created, the CMS deploys the service application.
Fig. 7 is a flowchart illustrating a third embodiment of the resource allocation method according to the present application, where the third embodiment is an implementation manner of priority policy configuration of a resource pool administrator (Admin), and as shown in fig. 7, a resource allocation device has loaded priority information of a commonly used physical resource type by default, and before virtual resource deployment (i.e., instantiation), the resource pool administrator configures and adjusts the priority of the corresponding physical resource type as needed. The method specifically comprises the following steps:
step 700: a default priority policy is loaded. The method comprises three priority strategies of calculation, storage and network. In particular, the amount of the solvent to be used,
for the computing resource strategy, a computing resource priority strategy predefined for a general server type, such as a computing server type with high CPU processing efficiency, is allocated with a high-level priority;
for the storage resource strategy, a priority strategy of the storage resource is predefined for a general storage type, for example, a storage server type with high storage efficiency is allocated with a high-level priority;
for the network resource policy, a priority policy of the network resource is predefined for a general router type, for example, a network node with high communication efficiency is assigned a high level of priority.
Step 701: and inquiring the detailed information of all physical resource types such as calculation, storage, network and the like in the VIM resource pool.
Step 702: and the VIM returns the physical resource information of the reserved calculation, storage, network and the like.
Step 703: the available physical resources of computation, network, storage, etc. are prioritized.
Step 704: the administrator queries the priority policy.
Step 705: the resource allocation device returns priority policy information.
Step 706: and displaying the priority strategy information.
Step 707: the administrator can add, modify, and delete priority policy information.
Step 708: priority policy information is stored.
Fig. 8 is a schematic flowchart of a fourth embodiment of the resource allocation method of the present application, where the fourth embodiment is mainly an implementation manner of virtual resource allocation of a tenant administrator, and as shown in fig. 8, in a public cloud scenario, resources such as computation, storage, and a network are used for compensation, that is, different priorities correspond to different prices, and the tenant administrator may configure priorities of virtual resources according to resource demands and budgeted costs. The method specifically comprises the following steps:
step 800: a Tenant administrator (Tenant Admin) queries the resource budget according to the original resource requirements.
Step 801: the resource allocation device inquires resource information such as available calculation, storage, network and the like in the VIM resource pool.
Step 802: and the VIM returns the physical resource information of the reserved calculation, storage, network and the like.
Step 803: the resource allocation device allocates corresponding priorities to virtual resources such as computation, storage, network and the like according to the original resource requirements.
Step 804: the resource allocation device budgets the cost according to the number of the resources and the priority.
Step 805: and displaying the pre-allocated resource priority and the expense information to a tenant administrator.
Step 806: if a resource does not meet the budget cost requirements, the tenant administrator can adjust the priority of the corresponding resource.
Step 807: and inquiring the resource budget from the resource allocation device according to the adjusted resource demand.
Step 808: the resource allocation device queries the resources again, allocates priorities and costs budgets.
Step 809: and displaying the adjusted resource priority and budget information by the resource allocation device. The tenant administrator can adjust the priority of the resources again as needed until the needs of the tenant are met.
Fig. 9 is a schematic flowchart of a fifth embodiment of the resource allocation method of the present application, where the fifth embodiment is mainly an implementation of instantiation of computing resources based on a priority policy, and as shown in fig. 9, the method specifically includes:
step 900: the user implements the configuration of the priority policy through the resource allocation device, and initiates an instantiation operation on the CMS. An instantiation forward resource allocation device requests allocation of computing resource priorities.
Step 901: the resource allocation device analyzes the resources and analyzes the creation priority of pre-allocated computing resources, such as the number of CPUs (central processing units) to be allocated to each computing resource, the size of a memory, an affinity relation/mutual exclusion relation, a predefined priority and the like.
Step 902: the resource allocation device inquires about reservation of the VIM resources. The method comprises the steps of calculating the type (such as the type of a server), inquiring the number of the residual distributable CPUs (central processing units) of each calculating node, the size of a memory and the like.
Step 903: the VIM returns the physical resource information of the reserved computation type.
Step 904: and the resource allocation device allocates the priority of the computing resources uniformly according to the priority rule.
Step 905: the resource allocation mechanism returns the allocated computing resource priority information to the CMS to the user.
Step 906: the user can adjust the priority again as needed.
Step 907: and after the user confirms the priority, triggering instantiation operation.
Step 908: the resource allocation means detects whether the computing resource can be instantiated based on the priority allocation. The failure caused by uneven resource distribution in the process of computing instantiation is avoided.
Step 909: and (3) establishing computing resources according to the priority, wherein the establishing principle is as follows: firstly establishing a computing resource with high priority; computing resources of the same priority level are created in parallel. The first is the parallel creation of the highest level of computational resources.
Step 910: and querying the state of the computing resource of the corresponding level.
Step 911: the VIM returns the status of the computing resource to the resource allocation device.
Step 912: and completing the creation of the computing resource of the corresponding level, and creating the computing resource of the next level.
Step 913: wait for all computing resource creation to complete.
Step 914: the resource allocation device notifies the user of the result of the instantiation of the computing resource.
Fig. 10 is a flowchart illustrating a sixth embodiment of the resource allocation method of the present application, where the sixth embodiment is mainly an implementation of a storage resource instantiation based on a priority policy, and as shown in fig. 10, the method specifically includes:
step 1000: the user implements the configuration of the priority policy through the resource allocation device, and initiates an instantiation operation on the CMS. An instantiation forward resource allocation device requests allocation of storage resource priority.
Step 1001: the resource allocation device analyzes the resources and analyzes the creation priority of the pre-allocated storage resources, such as the size of the space to be allocated for each storage resource, the read-write efficiency, the affinity relation/mutual exclusion relation, the predefined priority and the like.
Step 1002: the resource allocation device inquires about reservation of the VIM resources. The method comprises the steps of inquiring information such as the size of the remaining space of each storage node, the storage type and the like.
Step 1003: the VIM returns the physical resource information of the reserved storage type.
Step 1004: and the resource allocation device allocates the priority of the storage resources uniformly according to the priority rule.
Step 1005: the resource allocation means returns the allocated storage resource priority information to the CMS to the user.
Step 1006: the user can adjust the priority again as needed.
Step 1007: and after the user confirms the priority, triggering instantiation operation.
Step 1008: the resource allocation device detects whether the storage resource can be instantiated according to the priority allocation condition. And failure caused by uneven resource allocation in the process of storage instantiation is avoided.
Step 1009: and creating the storage resources according to the priority, wherein the creating principle is as follows: firstly establishing a storage resource with high priority; the storage resources of the same priority level are created in parallel. The first is the parallel creation of the highest level storage resource.
Step 1010: and querying the storage resource state of the corresponding level.
Step 1011: the VIM returns the status of the storage resource to the resource allocation apparatus.
Step 1012: and finishing the creation of the storage resource of the corresponding level, and creating the storage resource of the next level.
Step 1013: waiting for all storage resource creation to complete.
Step 1014: and informing the user of the instantiation result of the storage resource.
Fig. 11 is a flowchart illustrating a seventh embodiment of the resource allocation method of the present application, where the seventh embodiment is mainly an implementation of network resource instantiation based on a priority policy, and as shown in fig. 11, the method specifically includes:
step 1100: the user implements the configuration of the priority policy through the resource allocation device, and initiates an instantiation operation on the CMS. Instantiate a forward resource allocation device to request allocation of network resource priority.
Step 1101: the resource allocation device analyzes the resource and analyzes the creating priority of the pre-allocated network resource, such as the bandwidth size, the receiving and sending rate, the affinity relation/mutual exclusion relation, the predefined priority and the like which are required to be allocated by each network resource.
Step 1102: the resource allocation device inquires about reservation of the VIM resources. Including querying information about the remaining bandwidth size, network type, etc. of each network device node.
Step 1103: the VIM returns the physical resource information of the reserved network type.
Step 1104: and the resource allocation device allocates the priority of the network resources uniformly according to the priority rule.
Step 1105: the resource allocation means returns the allocated network resource priority information to the CMS to the user.
Step 1106: the user can adjust the priority again as needed.
Step 1107: and after the user confirms the priority, triggering instantiation operation.
Step 1108: and detecting whether the network resource can be instantiated according to the priority distribution condition. And failure caused by uneven resource distribution in the network resource instantiation process is avoided.
Step 1109: the resource allocation device establishes network resources according to the priority, and the establishment principle is as follows: firstly establishing network resources with high priority; network resources of the same priority are created in parallel. The first is the parallel creation of the highest level network resources.
Step 1110: and querying the state of the network resource of the corresponding level.
Step 1111: the VIM returns the status of the network resources to the resource allocation device.
Step 1112: and completing the creation of the network resource of the corresponding level, and creating the network resource of the next level.
Step 1113: waiting for all network resource creation to complete.
Step 1114: and the resource allocation device informs the user of the instantiation result of the network resource.
Fig. 12 is a flowchart illustrating an eighth embodiment of the resource allocation method according to the present application, where the eighth embodiment is mainly an implementation manner of the priority adjustment of the physical resources of the resource pool administrator. In the using process of resources, after some physical resources are subjected to version upgrading, the computing, storing and other capabilities are improved, and the priority of the resource type needs to be increased; and after some resources are used, the computing, storing and other capabilities are reduced, and the priority of the resource type needs to be reduced. At this time, the resource pool administrator may adjust the priority as needed, as shown in fig. 12, specifically including the following steps:
step 1200: the resource pool administrator queries the priority policy of the physical resource according to the resource type.
Step 1201: the priority policy exhibits, for example, priority information and a priority capability profile.
Step 1202: assume that the resource pool administrator adjusts the priority of a single resource type or a single physical resource.
Step 1203: the adjusted resource type priorities are stored.
Step 1204: the resource allocation apparatus queries the VIM for virtual resources such as virtual machines that have used the adjusted physical resource type or physical resource.
Step 1205: the VIM returns virtual resource information such as all virtual machines using the adjusted resource type to the resource allocation apparatus.
Step 1206: the resource allocation device analyzes whether the migration condition can be satisfied according to the resource capability distribution. If the resource capabilities of the corresponding priority satisfy the migration, the migratable is marked.
Step 1207: and showing virtual machine resources to be migrated and resource capacity corresponding to the priority. And if the resource capacity corresponding to the priority meets the requirement of migration, prompting the migration of the virtual machine.
Step 1208: and after confirming, the resource pool administrator initiates the virtual machine migration operation to the resource allocation device.
Step 1209: migrating virtual resources such as virtual machines according to priority, for example, migrating virtual resources to resources of a specific priority.
Step 1210: the resource allocation device inquires the progress information of the resource migration.
Step 1211: the VIM returns the progress information of the resource migration.
Step 1212: and the resource allocation device feeds the progress information of the resource migration back to the resource pool manager.
Fig. 13 is a flowchart illustrating a ninth embodiment of the resource allocation method of the present application, where the ninth embodiment is mainly an implementation manner of virtual resource priority adjustment of a tenant administrator. In the using process, the corresponding computing and storing capabilities of some products need to be improved after upgrading; and as some products are gradually replaced, the corresponding computing, storing and other capabilities can be reduced. At this time, the tenant administrator may adjust the priority of the virtual resources such as computation, storage, and the like according to actual needs, as shown in fig. 13, specifically including the following steps:
step 1300: and the tenant administrator inquires all virtual resources and priority information related to the tenant.
Step 1301: and showing all virtual resources and priorities related to the tenant.
Step 1302: assume that the tenant administrator adjusts the priority of a single or multiple virtual resources.
Step 1303: the resource allocation device stores the priority of the batch of virtual resources.
Step 1304: the resource allocation device performs resource distribution analysis to determine whether migration is possible. Such as: and detecting a physical resource capacity distribution diagram of the target priority, and marking that the resource capacity can be migrated if the resource capacity meets the migration requirement.
Step 1305: the resource allocation device migrates the virtual resources such as the virtual machines according to the priorities, namely migrates the resources of the virtual machines to the target priority.
Step 1306: the resource allocation device inquires the progress information of the resource migration.
Step 1307: and the VIM returns the progress information of the resource migration to the resource allocation device.
Step 1308: and the resource allocation device feeds back the progress information of the resource migration to the tenant administrator.
The above description is only a preferred example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (27)
1. A method of resource allocation, comprising:
acquiring virtual resource information to be created, and inquiring reserved physical resource information;
distributing priority to the obtained virtual resources to be created according to the pre-configured priority information of the physical resources;
and creating the virtual resource according to the allocated priority and the inquired physical resource.
2. The resource allocation method according to claim 1, wherein before allocating the priority to the obtained virtual resource to be created, the method further comprises:
and presetting the priority of the physical resources according to the type and the model of the physical resources to obtain the preset priority information.
3. The resource allocation method according to claim 2, further comprising, after obtaining the preconfigured priority information: and acquiring and displaying a capacity distribution map based on the pre-configured priority.
4. The resource allocation method according to claim 1 or 2, wherein the allocating the priority for the obtained virtual resource to be created comprises:
analyzing the virtual resource to be created;
and distributing the priority of the virtual resources to be created according to the analyzed priority.
5. The resource allocation method according to claim 4, further comprising, after allocating the priority to the obtained virtual resource to be created: and adjusting the priority of the distributed virtual resources to be created according to the requirements.
6. The resource allocation method according to claim 1 or 2, wherein said creating virtual resources according to the allocated priorities and the queried physical resources comprises:
according to the distributed priority, deploying the virtual resources to be created on corresponding physical resources;
the deployment rules include: deploying in sequence from high to low according to the priority; the creation is performed firstly with high priority, and the creation is performed in parallel with the priority of the same level.
7. The resource allocation method of claim 6, wherein the creating of the virtual resource further comprises: and inquiring the progress of creating the virtual resource.
8. The resource allocation method according to claim 1 or 2, the method further comprising: adjusting the priority of the physical resources, and/or adjusting the priority of the virtual resources.
9. The method of claim 8, wherein the adjusting the priority of the physical resources further comprises:
inquiring all virtual resources using the physical resources with the adjusted priorities and physical resource capacity distribution corresponding to the priorities, and prompting to migrate the virtual resources if the resource capacity of the priorities meets the migration requirement;
and/or the presence of a gas in the gas,
after the adjusting the priority of the virtual resource, the method further includes:
and detecting the physical resource capacity distribution of the adjusted target priority of the virtual resources, and prompting to migrate the virtual resources if the resource capacity of the target priority meets the migration requirement.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the resource allocation method of any one of the preceding claims 1 to 9.
11. An apparatus for implementing resource scheduling, comprising a processor and a computer-readable storage medium having stored therein instructions that, when executed by the processor, implement the resource allocation method of any one of claims 1 to 9.
12. A resource allocation apparatus, comprising: the system comprises an acquisition module, a distribution module and a creation module; the acquisition module is configured to acquire virtual resource information to be created and inquire reserved physical resource information;
the allocation module is set to allocate the priority to the obtained virtual resource to be created according to the pre-configured priority information of the physical resource;
and the creating module is set to create the virtual resource according to the distributed priority and the inquired physical resource.
13. The apparatus of claim 12, the apparatus further comprising: and the configuration module is set to preset the priority of the physical resources according to the type and the model of the physical resources to obtain the pre-configured priority information.
14. The resource allocation apparatus of claim 13, the configuration module further configured to: and acquiring and displaying a capacity distribution map based on the pre-configured priority.
15. The resource allocation apparatus according to claim 12 or 13, wherein the allocating, in the allocation module, a priority for the virtual resource to be created comprises:
analyzing the virtual resource to be created;
and distributing the priority of the virtual resources to be created according to the analyzed priority.
16. The resource allocation apparatus of claim 15, the configuration module further configured to: and providing a configuration interface, and adjusting the priority of the allocated virtual resources to be created according to the requirements.
17. The resource allocation apparatus according to claim 12 or 13, wherein the creating of the virtual resource according to the allocated priority and the queried physical resource in the creating module comprises:
according to the distributed priority, deploying the virtual resources to be created on corresponding physical resources;
the deployment rules include: deploying in sequence from high to low according to the priority; the creation is performed firstly with high priority, and the creation is performed in parallel with the priority of the same level.
18. The resource allocation apparatus of claim 17, the creation module further configured to: and providing an interface to inquire the progress of creating the virtual resource.
19. The apparatus of claim 12 or 13, the apparatus further comprising: an adjustment module configured to adjust the priority of the physical resources and/or adjust the priority of the virtual resources.
20. The apparatus of claim 19, the apparatus further comprising: the module for migration is a module for migration,
after the priority of the physical resource is set to be adjusted, inquiring all virtual resources using the physical resource with the adjusted priority and physical resource capacity distribution corresponding to the priority, and prompting to migrate the virtual resource if the resource capacity of the priority meets the migration requirement;
and/or the presence of a gas in the gas,
and after the priority of the virtual resource is set to be adjusted, detecting the physical resource capacity distribution of the adjusted target priority of the virtual resource, and if the resource capacity of the target priority meets the requirement of migration, prompting the migration of the virtual resource.
21. A resource allocation system, comprising: the system comprises a cloud platform management system, a policy scheduling device and virtualization infrastructure management; wherein,
the cloud platform management system is used for managing the life cycle of the virtualized network function, arranging network services and arranging and managing the software and hardware resources of the whole network;
the virtual infrastructure management is used for managing and monitoring the infrastructure layer resources;
the strategy scheduling device is used for realizing the priority strategy arrangement of the physical resources and deploying the virtual resources according to the priority strategy;
wherein the policy scheduler comprises the resource allocation apparatus according to any one of claims 12 to 20.
22. The resource allocation system of claim 21,
the cloud platform management system and the configuration module of the resource allocation device are provided with: a first interface for priority policy queries;
the cloud platform management system and the allocation module of the resource allocation device are provided with: a third interface for priority assignment;
the cloud platform management system and the creation module of the resource allocation device are provided with: a fourth interface for resource creation.
23. The resource allocation system according to claim 22, further comprising, between the cloud platform management system and the configuration module of the resource allocation apparatus: a second interface for priority policy additions, and/or modifications, and/or deletions.
24. The resource allocation system of claim 22, wherein the cloud platform management system and the creation module of the resource allocation device are further provided with: a fifth interface for progress queries for resource creation.
25. The resource allocation system of claim 22, wherein the cloud platform management system and the adjustment module of the resource allocation device are provided with: a sixth interface for physical resource priority adjustment.
26. The resource allocation system of claim 22, wherein the cloud platform management system and the adjustment module of the resource allocation device are provided with: a seventh interface for virtual resource priority adjustment.
27. The resource allocation system of claim 22, wherein the cloud platform management system and the migration module of the resource allocation device are provided with: an eighth interface for resource migration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711465349.2A CN108337109B (en) | 2017-12-28 | 2017-12-28 | Resource allocation method and device and resource allocation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711465349.2A CN108337109B (en) | 2017-12-28 | 2017-12-28 | Resource allocation method and device and resource allocation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108337109A true CN108337109A (en) | 2018-07-27 |
CN108337109B CN108337109B (en) | 2021-12-17 |
Family
ID=62923787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711465349.2A Active CN108337109B (en) | 2017-12-28 | 2017-12-28 | Resource allocation method and device and resource allocation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337109B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445943A (en) * | 2018-10-24 | 2019-03-08 | 郑州云海信息技术有限公司 | The EMS memory management process of I/O stack, system and relevant apparatus in kernel state system |
CN109753343A (en) * | 2018-11-30 | 2019-05-14 | 北京天元创新科技有限公司 | The method and device of VNF instantiation |
CN110011828A (en) * | 2019-02-26 | 2019-07-12 | 广东电网有限责任公司 | A kind of distribution communication network Quality management system and method based on virtualization |
CN110058946A (en) * | 2019-04-26 | 2019-07-26 | 上海燧原科技有限公司 | Device virtualization method, apparatus, equipment and storage medium |
CN110728731A (en) * | 2019-10-11 | 2020-01-24 | 江苏赛诺格兰医疗科技有限公司 | PET-CT system resource management method and PET-CT system |
CN110910162A (en) * | 2019-10-15 | 2020-03-24 | 苏宁云计算有限公司 | Virtual resource data processing method and device, computer equipment and storage medium |
CN110955522A (en) * | 2019-11-12 | 2020-04-03 | 华中科技大学 | Resource management method and system for coordination performance isolation and data recovery optimization |
CN111008064A (en) * | 2019-11-29 | 2020-04-14 | 北京首都在线科技股份有限公司 | Virtual machine resource scheduling method and device, and cluster deployment method and device |
CN111428973A (en) * | 2020-03-11 | 2020-07-17 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN111726237A (en) * | 2019-03-18 | 2020-09-29 | 中兴通讯股份有限公司 | Method, NFVO, storage medium and system for processing NS priority |
WO2021013185A1 (en) * | 2019-07-22 | 2021-01-28 | 中兴通讯股份有限公司 | Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium |
CN112860421A (en) * | 2019-11-28 | 2021-05-28 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for job processing |
CN113032134A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Method and device for realizing cloud computing resource allocation and cloud management server |
CN114064192A (en) * | 2020-07-31 | 2022-02-18 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for creating elastic expansion group |
WO2022057638A1 (en) * | 2020-09-18 | 2022-03-24 | 华为技术有限公司 | Method and system for guaranteeing service application experience |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100229171A1 (en) * | 2009-03-06 | 2010-09-09 | Hitachi, Ltd. | Management computer, computer system and physical resource allocation method |
CN104484220A (en) * | 2014-11-28 | 2015-04-01 | 杭州华为数字技术有限公司 | Method and device for dispatching dynamic resources of virtual cluster |
CN106020937A (en) * | 2016-07-07 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Method, device and system for creating virtual machine |
CN106502761A (en) * | 2016-10-18 | 2017-03-15 | 华南师范大学 | A kind of virtual machine deployment method of resources effective utilization |
-
2017
- 2017-12-28 CN CN201711465349.2A patent/CN108337109B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100229171A1 (en) * | 2009-03-06 | 2010-09-09 | Hitachi, Ltd. | Management computer, computer system and physical resource allocation method |
CN104484220A (en) * | 2014-11-28 | 2015-04-01 | 杭州华为数字技术有限公司 | Method and device for dispatching dynamic resources of virtual cluster |
CN106020937A (en) * | 2016-07-07 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Method, device and system for creating virtual machine |
CN106502761A (en) * | 2016-10-18 | 2017-03-15 | 华南师范大学 | A kind of virtual machine deployment method of resources effective utilization |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445943A (en) * | 2018-10-24 | 2019-03-08 | 郑州云海信息技术有限公司 | The EMS memory management process of I/O stack, system and relevant apparatus in kernel state system |
CN109753343A (en) * | 2018-11-30 | 2019-05-14 | 北京天元创新科技有限公司 | The method and device of VNF instantiation |
CN109753343B (en) * | 2018-11-30 | 2021-03-23 | 北京天元创新科技有限公司 | VNF instantiation method and device |
CN110011828A (en) * | 2019-02-26 | 2019-07-12 | 广东电网有限责任公司 | A kind of distribution communication network Quality management system and method based on virtualization |
CN111726237A (en) * | 2019-03-18 | 2020-09-29 | 中兴通讯股份有限公司 | Method, NFVO, storage medium and system for processing NS priority |
CN110058946A (en) * | 2019-04-26 | 2019-07-26 | 上海燧原科技有限公司 | Device virtualization method, apparatus, equipment and storage medium |
WO2021013185A1 (en) * | 2019-07-22 | 2021-01-28 | 中兴通讯股份有限公司 | Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium |
CN110728731A (en) * | 2019-10-11 | 2020-01-24 | 江苏赛诺格兰医疗科技有限公司 | PET-CT system resource management method and PET-CT system |
CN110910162A (en) * | 2019-10-15 | 2020-03-24 | 苏宁云计算有限公司 | Virtual resource data processing method and device, computer equipment and storage medium |
CN110955522A (en) * | 2019-11-12 | 2020-04-03 | 华中科技大学 | Resource management method and system for coordination performance isolation and data recovery optimization |
CN112860421A (en) * | 2019-11-28 | 2021-05-28 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for job processing |
US11900155B2 (en) | 2019-11-28 | 2024-02-13 | EMC IP Holding Company LLC | Method, device, and computer program product for job processing |
CN112860421B (en) * | 2019-11-28 | 2024-05-07 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for job processing |
CN111008064A (en) * | 2019-11-29 | 2020-04-14 | 北京首都在线科技股份有限公司 | Virtual machine resource scheduling method and device, and cluster deployment method and device |
CN111008064B (en) * | 2019-11-29 | 2021-10-29 | 北京首都在线科技股份有限公司 | Virtual machine resource scheduling method and device, and cluster deployment method and device |
CN113032134A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Method and device for realizing cloud computing resource allocation and cloud management server |
CN113032134B (en) * | 2019-12-24 | 2024-06-18 | 阿里巴巴集团控股有限公司 | Method and device for realizing cloud computing resource allocation and cloud management server |
CN111428973A (en) * | 2020-03-11 | 2020-07-17 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN111428973B (en) * | 2020-03-11 | 2024-04-12 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN114064192A (en) * | 2020-07-31 | 2022-02-18 | 中移(苏州)软件技术有限公司 | Method, device, equipment and storage medium for creating elastic expansion group |
WO2022057638A1 (en) * | 2020-09-18 | 2022-03-24 | 华为技术有限公司 | Method and system for guaranteeing service application experience |
Also Published As
Publication number | Publication date |
---|---|
CN108337109B (en) | 2021-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337109B (en) | Resource allocation method and device and resource allocation system | |
US11134013B1 (en) | Cloud bursting technologies | |
US11836535B1 (en) | System and method of providing cloud bursting capabilities in a compute environment | |
CN107222531B (en) | Container cloud resource scheduling method | |
CN111966500B (en) | Resource scheduling method and device, electronic equipment and storage medium | |
CN107045456B (en) | Resource allocation method and resource manager | |
US10772115B2 (en) | Resource scheduling method and server | |
US8589554B2 (en) | Intelligent and elastic resource pools for heterogeneous datacenter environments | |
US10212050B2 (en) | Providing recursively-generated instantiated computing resource in a multi-tenant environment | |
US10367914B2 (en) | Attaching service level agreements to application containers and enabling service assurance | |
CN109564528B (en) | System and method for computing resource allocation in distributed computing | |
US10360074B2 (en) | Allocating a global resource in a distributed grid environment | |
US8954765B2 (en) | Energy based resource allocation across virtualized machines and data centers | |
CN105718316A (en) | Job scheduling method and apparatus | |
US11726816B2 (en) | Scheduling workloads on a common set of resources by multiple schedulers operating independently | |
CN109783225B (en) | Tenant priority management method and system of multi-tenant big data platform | |
WO2013082742A1 (en) | Resource scheduling method, device and system | |
WO2020108337A1 (en) | Cpu resource scheduling method and electronic equipment | |
US20220100573A1 (en) | Cloud bursting technologies | |
EP3994574A1 (en) | Harvest virtual machine for utilizing cloud-computing resources | |
CN117608760A (en) | Cloud application hybrid deployment method applied to Kubernetes | |
US20150286508A1 (en) | Transparently routing job submissions between disparate environments | |
CN116680078A (en) | Cloud computing resource scheduling method, device, equipment and computer storage medium | |
CN105610621A (en) | Method and device for dynamically adjusting task level parameter of distributed system architecture | |
CN110955522B (en) | Resource management method and system for coordination performance isolation and data recovery optimization |
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 |