CN112860370A - Virtual machine resource allocation method, device, system and storage medium - Google Patents

Virtual machine resource allocation method, device, system and storage medium Download PDF

Info

Publication number
CN112860370A
CN112860370A CN201911177902.1A CN201911177902A CN112860370A CN 112860370 A CN112860370 A CN 112860370A CN 201911177902 A CN201911177902 A CN 201911177902A CN 112860370 A CN112860370 A CN 112860370A
Authority
CN
China
Prior art keywords
resources
vnf
virtual machine
resource allocation
nfvo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911177902.1A
Other languages
Chinese (zh)
Other versions
CN112860370B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201911177902.1A priority Critical patent/CN112860370B/en
Publication of CN112860370A publication Critical patent/CN112860370A/en
Application granted granted Critical
Publication of CN112860370B publication Critical patent/CN112860370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances

Landscapes

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

Abstract

The invention discloses a method, a device, a system and a storage medium for allocating virtual machine resources, and relates to the technical field of virtualization. The virtual machine resource allocation method comprises the following steps: a network function virtualization orchestrator NFVO calculates resources required by a VNF; NFVO queries the virtual infrastructure manager VIM for free resources; the NFVO determines the reserved resources of the VNF according to the free resources of the VIM and the pre-recorded resources reserved by other VNFs; in case that the reservable resources of the VNF are more than the resources required by the VNF, the NFVO reserves the resources required by the VNF for the VNF, and records a correspondence between the VNF and the reserved resources. The embodiment of the invention can complete the reservation of the VNF virtual resources by carrying out centralized scheduling on the resources through the NFVO, thereby realizing dynamic elastic capacity expansion and capacity contraction of the VNF and improving the flexibility of resource allocation.

Description

Virtual machine resource allocation method, device, system and storage medium
Technical Field
The present invention relates to the field of virtualization technologies, and in particular, to a method, an apparatus, a system, and a storage medium for allocating virtual machine resources.
Background
5G network function virtualization is a key technology for telecommunication 5G network architecture reconstruction, and is gradually applied to existing network deployment.
A MANO (Management And Network Function Virtualization Management And Orchestration) system, as a core system of a Network Function Virtualization (NFV) Network of the next generation managed by an operator, can implement Orchestration And Management of Network elements of the NFV, And mainly includes NFVO (Network Functions Virtualization organizer), VNFM (virtualized Network Function Manager ), And VIM (virtualized Infrastructure Manager).
VNF (virtualized Network Function)/NFV, that is, Network Function virtualization, mainly implements a Function of a Network element VNF by using a virtual machine that is clouded. The VNF is mainly composed of virtual machines, and the virtual machine resources mainly include virtual Central Processing Unit (CPU) resources, memory resources, storage resources, network resources, and the like, and correspond to virtual resources required when the virtual machines are started. When the virtual resources are insufficient, the virtual machine cannot be started.
Disclosure of Invention
After analysis, the inventor finds that currently in MANO systems, the resources required by VNF are mainly allocated by VIM at once. The VIM API does not provide VNF virtual resource reservation functionality. Therefore, if it is to be ensured that sufficient virtual machine resources remain in the VNF during the flexible capacity expansion and contraction, resources cannot be flexibly allocated to the VNF.
The embodiment of the invention aims to solve the technical problem that: on the premise of ensuring that enough virtual machine resources exist in the flexible capacity expansion and reduction of the VNF, the flexibility of VNF resource allocation is improved.
According to a first aspect of some embodiments of the present invention, there is provided a virtual machine resource allocation method, including: a network function virtualization orchestrator NFVO calculates resources required by a VNF; NFVO queries the virtual infrastructure manager VIM for free resources; the NFVO determines the reserved resources of the VNF according to the free resources of the VIM and the pre-recorded resources reserved by other VNFs; in case that the reservable resources of the VNF are more than the resources required by the VNF, the NFVO reserves the resources required by the VNF for the VNF, and records a correspondence between the VNF and the reserved resources.
In some embodiments, the virtual machine resource allocation method further includes: responding to the VNF to pull up the virtual machine, and inquiring the resources reserved for the VNF by the NFVO; allowing the virtual machine to be started under the condition that the resources reserved for the VNF are more than the resources required by the pull-up of the virtual machine; otherwise, the virtual machine is refused to be started.
In some embodiments, the NFVO has a resource reservation interface, and the parameters of the resource reservation interface include the number of virtual machines required by the VNF and the configuration of the virtual machines; and the NFVO responds to the calling of the resource reservation interface, and calculates the resources required by the VNF according to the parameters of the resource reservation interface.
In some embodiments, the NFVO determining the reservable resources of the VNF according to the free resources of the VIM and the resources reserved by the other VNFs recorded in advance includes: NFVO obtains the state of each VNF; the NFVO removes the resources reserved for the un-started VNF from the idle resources of the VIM as reservable resources of the VNF.
In some embodiments, the virtual machine resource allocation method further includes: and after acquiring the resource release request sent by the VNF, the NFVO releases the resources reserved for the VNF.
According to a second aspect of some embodiments of the present invention, there is provided a virtual machine resource allocation apparatus, located in an NFVO, including: a required resource calculation module configured to calculate resources required by the VNF; an idle resource query module configured to query idle resources of a virtualized infrastructure manager, VIM; a reservable resource determining module configured to determine reservable resources of the VNF according to idle resources of the VIM and resources reserved by other VNFs recorded in advance; a resource reservation module configured to reserve, for the VNF, resources required by the VNF when the reservable resources of the VNF are more than the resources required by the VNF, and record a correspondence between the VNF and the reserved resources.
According to a third aspect of some embodiments of the present invention, there is provided a virtual machine resource allocation apparatus, including: a memory; and a processor coupled to the memory, the processor configured to perform any of the foregoing virtual machine resource allocation methods based on instructions stored in the memory.
According to a fourth aspect of some embodiments of the present invention, there is provided a virtual machine resource allocation system, including: any one of the foregoing virtual machine resource allocation apparatuses; and the VNF is configured to send a resource reservation application to the virtual machine resource allocation device so that the virtual machine resource allocation device can calculate the resources required by the VNF.
In some embodiments, the virtual machine resource allocation system further comprises: and the VIM is configured to respond to the inquiry of the virtual machine resource allocation device for the idle resources and return the information of the idle resources to the virtual machine resource allocation device.
According to a fifth aspect of some embodiments of the present invention, there is provided a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements any one of the aforementioned virtual machine resource allocation methods.
Some embodiments of the above invention have the following advantages or benefits: the embodiment of the invention can complete the reservation of the VNF virtual resources by carrying out centralized scheduling on the resources through the NFVO, thereby realizing dynamic elastic capacity expansion and capacity contraction of the VNF and improving the flexibility of resource allocation.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 illustrates a flow diagram of a virtual machine resource allocation method according to some embodiments of the invention.
Fig. 2 shows a flow diagram of a method of reservable resource determination according to some embodiments of the present invention.
FIG. 3 is a flowchart illustrating a method for allocating resources of a virtual machine according to further embodiments of the present invention.
Fig. 4 shows a flow diagram of a reserved resource release method according to some embodiments of the invention.
Fig. 5 illustrates a schematic structural diagram of a virtual machine resource allocation apparatus according to some embodiments of the present invention.
FIG. 6 illustrates a block diagram of a virtual machine resource allocation system according to some embodiments of the invention.
Fig. 7 is a schematic structural diagram of a virtual machine resource allocation apparatus according to further embodiments of the present invention.
Fig. 8 is a schematic structural diagram of a virtual machine resource allocation apparatus according to further embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
FIG. 1 illustrates a flow diagram of a virtual machine resource allocation method according to some embodiments of the invention. As shown in fig. 1, the virtual machine resource allocation method of this embodiment includes steps S102 to S108.
In step S102, the NFVO calculates resources required for the VNF.
In some embodiments, the NFVO has a resource reservation interface, and the parameters of the resource reservation interface include the number of virtual machines required by the VNF and the configuration of the virtual machines. And the NFVO responds to the calling of the resource reservation interface, and calculates the resources required by the VNF according to the parameters of the resource reservation interface. Thus, when the VNFM is to apply for reserving resources, the newly added interface may be invoked. The NFVO can calculate the resources required by the VNF according to the content transmitted by the interface.
In step S104, the NFVO queries the VIM for free resources. The free resources of the VIM refer to resources that are not currently being used.
In step S106, the NFVO determines the reservable resources of the VNF according to the spare resources of the VIM and the resources reserved by other VNFs recorded in advance.
Because the VIM does not provide the resource reservation interface, the embodiment of the invention does not complete the resource reservation through the VIM, but adopts the NFVO to uniformly record the reservation information so as to manage and control the resources.
In step S108, in the case that the reservable resources of the VNF are more than the resources required by the VNF, the NFVO reserves the resources required by the VNF for the VNF, and records a correspondence between the VNF and the reserved resources.
Thus, when other VNFs apply for reserving resources, the NFVO may also deduct resources reserved for the current VNF.
By the method of the embodiment, the resources can be scheduled in a centralized manner through the NFVO to complete the reservation of the VNF virtual resources, so that dynamic flexible capacity expansion and capacity reduction of the VNF are realized, and the flexibility of resource allocation is improved.
In some embodiments, the NFVO may determine the reservable resources of the VNF applying for the reservable resources more accurately by acquiring the start state of each VNF in the system. An embodiment of the reservable resources determination method is described below with reference to fig. 2.
Fig. 2 shows a flow diagram of a method of reservable resource determination according to some embodiments of the present invention. As shown in fig. 2, the method for determining the reservable resources of this embodiment includes steps S202 to S204.
In step S202, the NFVO acquires the state of each VNF.
In step S204, the NFVO removes the resources reserved for the un-started VNF from the idle resources of the VIM as the reservable resources of the VNF applying for reserving the resources.
For example, NFVO has reserved resources for VNF1, and current VNF1 is in a startup state. Thus, resources reserved for VNF1 should not be included in the VIM's current free resources and may not be considered in the calculation.
By the method of the embodiment, the reservable resource of the VNF applying for the reservable resource can be determined more accurately, so that the resource allocation is more flexible and reasonable.
The following describes a resource allocation method when the VNF needs to pull up a virtual machine with reference to fig. 3.
FIG. 3 is a flowchart illustrating a method for allocating resources of a virtual machine according to further embodiments of the present invention. As shown in fig. 3, the resource allocation method of this embodiment includes steps S302 to S304.
In step S302, in response to the VNF preparing to pull the virtual machine, the NFVO queries the resources reserved for the VNF.
For example, before pulling up the virtual machine, the VNF may send a pull request to the NFVO, carrying an identification of the VNF.
In step S304, in the case that the resources reserved for the VNF are more than the resources required to pull the virtual machine, the virtual machine is allowed to be started; otherwise, the virtual machine is refused to be started.
By the method of the embodiment, the NFVO can perform centralized management on the scheduling of the resources, and whether the virtual machine is allowed to be started or not is verified according to the record of the NFVO, so that the flexibility of resource allocation is improved.
In some embodiments, the NFVO may also release resources that are not needed by NVF from the reserved resources. An embodiment of a reserved resource release method is described below with reference to fig. 4.
Fig. 4 shows a flow diagram of a reserved resource release method according to some embodiments of the invention. As shown in fig. 4, the reserved resource release method of this embodiment includes steps S402 to S404.
In step S402, the NFVO is acquiring the resource release request sent by the VNF. The request may include the amount of resources that need to be released, which may be all or part of the resources previously reserved for the VNF.
In step S404, the NFVO releases the resources reserved for the VNF. The NFVO may modify the correspondence between the VNFs and the reserved resources that were previously recorded. If the VNF no longer needs any resources, the correspondence may be deleted; the correspondence may be updated if the VNF shrinks the resources.
By the method of the embodiment, when the VNF does not need part or all of the resources, the NFVO may update the reserved information so as to release the reserved resources in time, thereby improving the resource utilization rate and the flexibility of resource allocation of the system.
An embodiment of the virtual machine resource allocation apparatus of the present invention is described below with reference to fig. 5.
Fig. 5 illustrates a schematic structural diagram of a virtual machine resource allocation apparatus according to some embodiments of the present invention. As shown in fig. 5, the virtual machine resource allocation apparatus 500 of this embodiment includes: a demand resource calculation module 5100 configured to calculate resources required by the VNF; an idle resource query module 5200 configured to query the virtualized infrastructure manager VIM for idle resources; the reservable resource determining module 5300 is configured to determine reservable resources of the VNF according to the spare resources of the VIM and resources reserved by other VNFs recorded in advance; a resource reservation module 5400 configured to, in a case that the reservable resource of the VNF is more than the resource required by the VNF, reserve the resource required by the VNF for the VNF, and record a corresponding relationship between the VNF and the reserved resource.
In some embodiments, the virtual machine resource allocation apparatus 500 further includes: a pre-boot authentication module 5500 configured to query resources reserved for the VNF by the NFVO in response to the VNF preparing to pull up the virtual machine; allowing the virtual machine to be started under the condition that the resources reserved for the VNF are more than the resources required by the pull-up of the virtual machine; otherwise, the virtual machine is refused to be started.
In some embodiments, the virtual machine resource allocation apparatus 500 further includes: resource reservation interface 5600, the parameters of the resource reservation interface include the number of virtual machines required by the VNF and the configuration of the virtual machines; the demanded resources calculation module 5100 is further configured to calculate resources required for the VNF according to parameters of the resource reservation interface 5600, in response to the resource reservation interface 5600 being invoked.
In some embodiments, the reservable resources determination module 5300 is further configured to obtain a status of each VNF; the resources reserved for the un-started VNF are removed from the free resources of the VIM as reservable resources of the VNF.
In some embodiments, the virtual machine resource allocation apparatus 500 further includes: a reserved resource releasing module 5700 configured to release the resource reserved for the VNF after the NFVO acquires the resource release request sent by the VNF.
FIG. 6 illustrates a block diagram of a virtual machine resource allocation system according to some embodiments of the invention. As shown in fig. 6, the virtual machine resource allocation system 60 of this embodiment includes: a virtual machine resource allocation device 610 located in NFVO 620; and a VNF630 configured to send a resource reservation application to the virtual machine resource allocation apparatus 610, so that the virtual machine resource allocation apparatus 610 calculates resources required by the VNF 630. There may be a plurality of VNFs 630, only one of which is shown in fig. 6 by way of example.
In some embodiments, virtual machine resource allocation system 60 further comprises: and the VIM640 is configured to respond to the inquiry of the virtual machine resource allocation device 610 for the free resources and return the information of the free resources to the virtual machine resource allocation device 610.
Fig. 7 is a schematic structural diagram of a virtual machine resource allocation apparatus according to further embodiments of the present invention. As shown in fig. 7, the virtual machine resource allocation apparatus 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, the processor 720 being configured to execute the virtual machine resource allocation method of any of the foregoing embodiments based on instructions stored in the memory 710.
Memory 710 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Fig. 8 is a schematic structural diagram of a virtual machine resource allocation apparatus according to further embodiments of the present invention. As shown in fig. 8, the virtual machine resource allocation apparatus 80 of this embodiment includes: the memory 810 and the processor 820 may further include an input/output interface 830, a network interface 840, a storage interface 850, and the like. These interfaces 830, 840, 850 and the memory 810 and the processor 820 may be connected, for example, by a bus 860. The input/output interface 830 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networking devices. The storage interface 850 provides a connection interface for external storage devices such as an SD card and a usb disk.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to implement any one of the foregoing virtual machine resource allocation methods when executed by a processor.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A virtual machine resource allocation method comprises the following steps:
a network function virtualization orchestrator NFVO calculates resources required by a network function virtualization VNF;
NFVO queries the virtual infrastructure manager VIM for free resources;
the NFVO determines the reserved resources of the VNF according to the free resources of the VIM and the pre-recorded resources reserved by other VNFs;
and when the reservable resources of the VNF are more than the resources required by the VNF, the NFVO reserves the resources required by the VNF for the VNF and records the corresponding relation between the VNF and the reserved resources.
2. The virtual machine resource allocation method according to claim 1, further comprising:
in response to the VNF preparing to pull a virtual machine, the NFVO querying resources reserved for the VNF;
allowing the virtual machine to be started if more resources are reserved for the VNF than are needed to pull the virtual machine; otherwise, the virtual machine is refused to be started.
3. The virtual machine resource allocation method according to claim 1, wherein the NFVO has a resource reservation interface, and parameters of the resource reservation interface include the number of virtual machines required by the VNF and a configuration of the virtual machines;
and the NFVO responds to the calling of the resource reservation interface and calculates the resources required by the VNF according to the parameters of the resource reservation interface.
4. The virtual machine resource allocation method according to claim 1, wherein the NFVO determines, according to the free resources of the VIM and the pre-recorded resources reserved by other VNFs, the reservable resources of the VNF including:
NFVO obtains the state of each VNF;
the NFVO removes resources reserved for the un-started VNF from the idle resources of the VIM as reservable resources of the VNF.
5. The virtual machine resource allocation method according to claim 1, further comprising:
and after acquiring the resource release request sent by the VNF, the NFVO releases the resources reserved for the VNF.
6. A virtual machine resource allocation device located in NFVO comprises:
a required resource calculation module configured to calculate resources required by the VNF;
an idle resource query module configured to query idle resources of a virtualized infrastructure manager, VIM;
a reservable resource determining module configured to determine reservable resources of the VNF according to idle resources of the VIM and resources reserved by other VNFs recorded in advance;
a resource reservation module configured to reserve, for the VNF, resources required by the VNF if the reservable resources of the VNF are more than the resources required by the VNF, and record a correspondence between the VNF and the reserved resources.
7. A virtual machine resource allocation apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the virtual machine resource allocation method of any of claims 1-5 based on instructions stored in the memory.
8. A virtual machine resource allocation system, comprising:
the virtual machine resource allocation apparatus of claim 6 or 7; and
and the VNF is configured to send a resource reservation application to the virtual machine resource allocation device so that the virtual machine resource allocation device calculates resources required by the VNF.
9. The virtual machine resource allocation system of claim 8, further comprising:
and the VIM is configured to respond to the inquiry of the virtual machine resource allocation device for the idle resources and return the information of the idle resources to the virtual machine resource allocation device.
10. A computer-readable storage medium on which a computer program is stored which, when executed by a processor, implements the virtual machine resource allocation method of any one of claims 1 to 5.
CN201911177902.1A 2019-11-27 2019-11-27 Virtual machine resource allocation method, device, system and storage medium Active CN112860370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911177902.1A CN112860370B (en) 2019-11-27 2019-11-27 Virtual machine resource allocation method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911177902.1A CN112860370B (en) 2019-11-27 2019-11-27 Virtual machine resource allocation method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN112860370A true CN112860370A (en) 2021-05-28
CN112860370B CN112860370B (en) 2024-02-13

Family

ID=75985422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911177902.1A Active CN112860370B (en) 2019-11-27 2019-11-27 Virtual machine resource allocation method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN112860370B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112234A (en) * 2023-10-19 2023-11-24 南京赛宁信息技术有限公司 Reliable resource pre-allocation method and system in network target range

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025126A (en) * 2016-01-29 2017-08-08 ***通信集团公司 A kind of resource regulating method, NFVO and system
CN107251486A (en) * 2015-09-30 2017-10-13 华为技术有限公司 A kind of method for extending linkage, apparatus and system
CN108156095A (en) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 Resource determining method and device, NFVO
CN108234158A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 Method for building up, NFVO and the network system of VNF
US20180191637A1 (en) * 2015-08-31 2018-07-05 Huawei Technologies Co., Ltd. Resource management method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180191637A1 (en) * 2015-08-31 2018-07-05 Huawei Technologies Co., Ltd. Resource management method and apparatus
CN107251486A (en) * 2015-09-30 2017-10-13 华为技术有限公司 A kind of method for extending linkage, apparatus and system
CN107025126A (en) * 2016-01-29 2017-08-08 ***通信集团公司 A kind of resource regulating method, NFVO and system
CN108156095A (en) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 Resource determining method and device, NFVO
CN108234158A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 Method for building up, NFVO and the network system of VNF

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112234A (en) * 2023-10-19 2023-11-24 南京赛宁信息技术有限公司 Reliable resource pre-allocation method and system in network target range
CN117112234B (en) * 2023-10-19 2024-02-09 南京赛宁信息技术有限公司 Reliable resource pre-allocation method and system in network target range

Also Published As

Publication number Publication date
CN112860370B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
EP3761170B1 (en) Virtual machine creation method and apparatus
KR101116615B1 (en) Resource management system and method for applications and threads in JAVA Virtual Machine
EP3285439B1 (en) Network service lifecycle management method and device
US20200081731A1 (en) Method, system and apparatus for creating virtual machine
CN108429631B (en) Method and device for instantiating network service
CN110941481A (en) Resource scheduling method, device and system
CN110661647A (en) Life cycle management method and device
CN111835679B (en) Tenant resource management method and device under multi-tenant scene
US10728169B1 (en) Instance upgrade migration
CN114416352A (en) Computing resource allocation method and device, electronic equipment and storage medium
KR20220070020A (en) Network resource management method, system, network device and readable storage medium
CN113342534A (en) Method, device and equipment for allocating graphics processing resources and storage medium
CN112860370B (en) Virtual machine resource allocation method, device, system and storage medium
CN109639460B (en) NFV resource management method and device
CN110673787A (en) Volume configuration method and device
CN113419839A (en) Resource scheduling method and device for multi-type jobs, electronic equipment and storage medium
CN115665231A (en) Service creation method, device and computer-readable storage medium
CN111225007A (en) Database connection method, device and system
CN115113975A (en) Cluster management method and device, electronic equipment and storage medium
CN114675954A (en) Task scheduling method and device
KR20150137766A (en) System and method for creating stack of virtual machine
CN112804069B (en) Method, apparatus and computer readable storage medium for instantiating virtual network function
CN113691383B (en) Method for deploying virtualized network function entity, manager and orchestrator
WO2017143999A1 (en) Resource authorization method for vnf deployment, vnfm and nfvo
CN112948106B (en) Task allocation method and device

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