CN108337109B - Resource allocation method and device and resource allocation system - Google Patents

Resource allocation method and device and resource allocation system Download PDF

Info

Publication number
CN108337109B
CN108337109B CN201711465349.2A CN201711465349A CN108337109B CN 108337109 B CN108337109 B CN 108337109B CN 201711465349 A CN201711465349 A CN 201711465349A CN 108337109 B CN108337109 B CN 108337109B
Authority
CN
China
Prior art keywords
resource
priority
resources
virtual
physical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711465349.2A
Other languages
Chinese (zh)
Other versions
CN108337109A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201711465349.2A priority Critical patent/CN108337109B/en
Publication of CN108337109A publication Critical patent/CN108337109A/en
Application granted granted Critical
Publication of CN108337109B publication Critical patent/CN108337109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5022Ensuring fulfilment of SLA by giving priorities, e.g. assigning classes of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time

Abstract

The application discloses a resource allocation method and device and a resource allocation system, comprising the following steps: 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.

Description

Resource allocation method and device and resource allocation system
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 content of the first and second substances,
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 content of the first and second substances,
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 content of the first and second substances,
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 content of the first and second substances,
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:
Figure BDA0001531037070000101
TABLE 1
The response message to the priority policy query is shown in table 2:
Figure BDA0001531037070000102
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:
Figure BDA0001531037070000103
TABLE 3
The response messages of the new addition, modification and deletion of the priority policy are shown in table 4:
Figure BDA0001531037070000104
Figure BDA0001531037070000111
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:
Figure BDA0001531037070000112
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:
Figure BDA0001531037070000113
TABLE 6
The response message of the priority assignment is shown in table 7:
Figure BDA0001531037070000114
Figure BDA0001531037070000121
TABLE 7
The common parameter definitions of the request message and the response message for priority assignment are shown in table 8:
Figure BDA0001531037070000122
TABLE 8
The parameters VDUS in table 8 are shown in table 9:
Figure BDA0001531037070000123
TABLE 9
The parameter volume storage (volumestarage) in table 8 is specifically shown in table 10:
Figure BDA0001531037070000124
Figure BDA0001531037070000131
watch 10
The parameter VLS in table 8 is shown in table 11:
Figure BDA0001531037070000132
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:
Figure BDA0001531037070000133
Figure BDA0001531037070000141
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:
Figure BDA0001531037070000142
watch 15
The parameter schedule details (processDetail) in table 15 are specifically referred to as shown in table 16:
Figure BDA0001531037070000143
Figure BDA0001531037070000151
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:
Figure BDA0001531037070000152
Figure BDA0001531037070000161
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 (effective when return code is 1)
outputData ResourceRuleData Is that Resource objects with adjusted priorities
TABLE 21
The parameter resourcereldata in tables 20 and 21 is specifically shown in 22:
Figure BDA0001531037070000162
TABLE 22
The parameter RVDUS in Table 22 is shown in detail at 23:
Figure BDA0001531037070000171
TABLE 23
The parameter RVolumeStorage in table 22 is specifically shown in 24:
Figure BDA0001531037070000172
watch 24
The parameter RVLS in Table 22 is shown in detail as 25:
Figure BDA0001531037070000173
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 manner in a telecommunication field NFV scenario, and as shown in fig. 5, Network function virtualization Management and Orchestration (NFV MANO, NFV Management 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 virtualization editor) 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;
creating virtual resources according to the allocated priority and the inquired physical resources;
when the resource capacity of the physical resource is improved, the priority of the physical resource is increased; when the resource capacity of the physical resource is reduced, the priority of the physical resource is reduced;
and after the priority of the physical resource is reduced, migrating the virtual resource deployed on the physical resource to the physical resource with the same priority as the priority of the physical resource before adjustment.
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: and adjusting the priority of the virtual resources.
9. The method of claim 8, after adjusting the priority of the physical resources, the method further comprising:
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; wherein the content of the first and second substances,
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;
the creating module is set to create virtual resources according to the distributed priority and the inquired physical resources;
the device also comprises an adjusting module and a resource migration interface;
the adjustment module is configured to: when the resource capacity of the physical resource is improved, the priority of the physical resource is increased; when the resource capacity of the physical resource is reduced, the priority of the physical resource is reduced;
the resource migration interface is set as follows: and after the priority of the physical resource is reduced, migrating the virtual resource deployed on the physical resource to the physical resource with the same priority as the priority of the physical resource before adjustment.
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 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, wherein the adjusting module is further configured to adjust the priority of the virtual resource.
20. The apparatus of claim 19, the apparatus further comprising: the module for migration is a module for migration,
after setting to adjust the priority of the physical resources, inquiring all virtual resources using the physical resources with the adjusted priority and the physical resource capacity distribution corresponding to the priority, and prompting to migrate the virtual resources 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 content of the first and second substances,
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.
CN201711465349.2A 2017-12-28 2017-12-28 Resource allocation method and device and resource allocation system Active CN108337109B (en)

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 CN108337109A (en) 2018-07-27
CN108337109B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
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
CN109753343B (en) * 2018-11-30 2021-03-23 北京天元创新科技有限公司 VNF instantiation method and device
CN110011828B (en) * 2019-02-26 2021-05-28 广东电网有限责任公司 Virtualization-based distribution network communication network service quality management system and method
CN111726237A (en) * 2019-03-18 2020-09-29 中兴通讯股份有限公司 Method, NFVO, storage medium and system for processing NS priority
CN110058946B (en) * 2019-04-26 2019-12-24 上海燧原科技有限公司 Equipment virtualization method, device, equipment and storage medium
CN112286622A (en) * 2019-07-22 2021-01-29 中兴通讯股份有限公司 Virtual machine migration processing and strategy generating method, device, equipment and storage medium
CN110728731B (en) * 2019-10-11 2023-04-28 江苏赛诺格兰医疗科技有限公司 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
CN110955522B (en) * 2019-11-12 2022-10-14 华中科技大学 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
CN111008064B (en) * 2019-11-29 2021-10-29 北京首都在线科技股份有限公司 Virtual machine resource scheduling method and device, and cluster deployment method and device
CN111428973B (en) * 2020-03-11 2024-04-12 慧镕电子***工程股份有限公司 Virtual resource allocation method capable of effectively improving resource utilization rate
CN116389238A (en) * 2020-09-18 2023-07-04 华为技术有限公司 Method and system for guaranteeing application experience of software-defined wide area network SD-WAN

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484220A (en) * 2014-11-28 2015-04-01 杭州华为数字技术有限公司 Method and device for dispatching dynamic resources of virtual cluster

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010205209A (en) * 2009-03-06 2010-09-16 Hitachi Ltd Management computer, computer system, and physical resource allocating method
CN106020937A (en) * 2016-07-07 2016-10-12 腾讯科技(深圳)有限公司 Method, device and system for creating virtual machine
CN106502761B (en) * 2016-10-18 2020-04-03 华南师范大学 Virtual machine deployment method capable of efficiently utilizing resources

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484220A (en) * 2014-11-28 2015-04-01 杭州华为数字技术有限公司 Method and device for dispatching dynamic resources of virtual cluster

Also Published As

Publication number Publication date
CN108337109A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108337109B (en) Resource allocation method and device and resource allocation system
US11134013B1 (en) Cloud bursting technologies
US11204807B2 (en) Multi-layer QOS management in a distributed computing environment
US10789106B2 (en) Server consolidation using virtual machine resource tradeoffs
US10999406B2 (en) Attaching service level agreements to application containers and enabling service assurance
CN107222531B (en) Container cloud resource scheduling method
US11836535B1 (en) System and method of providing cloud bursting capabilities in a compute environment
US8589554B2 (en) Intelligent and elastic resource pools for heterogeneous datacenter environments
US20180060182A1 (en) Efficient queueing and scheduling of backups in a multi-tenant cloud computing environment
US10212050B2 (en) Providing recursively-generated instantiated computing resource in a multi-tenant environment
US10360074B2 (en) Allocating a global resource in a distributed grid environment
CN111966500A (en) Resource scheduling method and device, electronic equipment and storage medium
Alkmim et al. Mapping virtual networks onto substrate networks
CN105718316A (en) Job scheduling method and apparatus
US9184982B2 (en) Balancing the allocation of virtual machines in cloud systems
US11726816B2 (en) Scheduling workloads on a common set of resources by multiple schedulers operating independently
WO2013082742A1 (en) Resource scheduling method, device and system
CN108900435B (en) Service deployment method, device and computer storage medium
WO2020108337A1 (en) Cpu resource scheduling method and electronic equipment
US11886927B2 (en) ICT resource management device, ICT resource management method and ICT resource management program
US20150286508A1 (en) Transparently routing job submissions between disparate environments
EP3994574A1 (en) Harvest virtual machine for utilizing cloud-computing resources
CN116680078A (en) Cloud computing resource scheduling method, device, equipment and computer storage medium
US20220100573A1 (en) Cloud bursting technologies
CN105610621A (en) Method and device for dynamically adjusting task level parameter of distributed system architecture

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