CN112860370B - 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
CN112860370B
CN112860370B CN201911177902.1A CN201911177902A CN112860370B CN 112860370 B CN112860370 B CN 112860370B CN 201911177902 A CN201911177902 A CN 201911177902A CN 112860370 B CN112860370 B CN 112860370B
Authority
CN
China
Prior art keywords
vnf
resources
virtual machine
nfvo
reserved
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
CN201911177902.1A
Other languages
Chinese (zh)
Other versions
CN112860370A (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

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 virtual machine resource allocation method, device, system and storage medium, and relates to the technical field of virtualization. The virtual machine resource allocation method comprises the following steps: the network function virtualization orchestrator NFVO calculates the resources required for the VNF; NFVO queries the virtualized infrastructure manager VIM for idle resources; the NFVO determines the reserved resources of the VNF according to the idle resources of the VIM and the resources reserved by other VNF recorded in advance; 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. The embodiment of the invention can complete the reservation of the virtual resources of the VNF through the centralized scheduling of the NFVO on the resources, realize the dynamic elastic expansion and contraction of the VNF and improve 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 resources of a virtual machine.
Background
5G network function virtualization is a key technology for telecommunication 5G network architecture reconfiguration and has been gradually applied to existing network deployment.
The MANO (Management And Network Orchestration, network function virtualization management and orchestration) system, as a core system for operators to manage next generation NFV (Network Function Virtualization ) networks, may implement orchestration and management of network elements of NFV, mainly including NFVO (Network Functions Virtualisation Orchestrator, network function virtualization orchestrator), VNFM (Virtualised Network Function Manager, virtualized network function manager), VIM (Virtualised Infrastructure Manager, virtualized infrastructure manager).
VNF (Virtualised Network Function, network function virtualization)/NFV, network function virtualization, is mainly implemented by using a cloud virtual machine to implement the function of one network element VNF. The VNF is mainly composed of virtual machines, and virtual machine resources mainly include virtual central processing unit (CPU, central processing unit) resources, memory resources, storage resources, network resources, and the like, corresponding 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
The inventors have found through analysis that, in MANO systems, the resources required for VNF are mainly allocated by VIM at one time. The VIM API does not provide the functionality of VNF virtual resource reservation. Therefore, if enough virtual machine resources are required to be ensured when the VNF performs elastic expansion and contraction, resources cannot be flexibly allocated to the VNF.
One technical problem to be solved by the embodiment of the invention is as follows: on the premise of ensuring that the VNF has enough virtual machine resources when performing elastic expansion and contraction, the flexibility of the 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: the network function virtualization orchestrator NFVO calculates the resources required for the VNF; NFVO queries the virtualized infrastructure manager VIM for idle resources; the NFVO determines the reserved resources of the VNF according to the idle resources of the VIM and the resources reserved by other VNF recorded in advance; 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.
In some embodiments, the virtual machine resource allocation method further comprises: responding to the VNF to prepare to pull up the virtual machine, and inquiring resources reserved for the VNF by the NFVO; allowing the virtual machine to be started under the condition that more resources are reserved for the VNF than resources required by the virtual machine to be pulled up; otherwise, refusing to start the virtual machine.
In some embodiments, the NFVO has a resource reservation interface, the parameters of which include the number of virtual machines required by the VNF and the configuration of the virtual machines; the NFVO calculates resources required by the VNF according to parameters of the resource reservation interface in response to the resource reservation interface being invoked.
In some embodiments, the NFVO determining the reservable resources of the VNF based on the idle resources of the VIM and the pre-recorded reserved resources of other VNFs comprises: NFVO acquires the status of each VNF; NFVO removes resources reserved for the non-activated VNF from the idle resources of VIM as reserved resources of the VNF.
In some embodiments, the virtual machine resource allocation method further comprises: after obtaining 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 at NFVO, including: a required resource calculation module configured to calculate resources required by the VNF; a free resource querying module configured to query the virtualized infrastructure manager VIM for free resources; a reserved resource determining module configured to determine reserved resources of the VNF according to the idle resources of the VIM and the resources reserved by other VNFs recorded in advance; and the resource reservation module is configured to reserve resources required by the VNF for the VNF and record the corresponding relation between the VNF and the reserved resources under the condition that the reserved resources of the VNF are more than the resources required by the VNF.
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 execute any of the aforementioned 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, comprising: any one of the virtual machine resource allocation devices; and a VNF 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.
In some embodiments, the virtual machine resource allocation system further comprises: the VIM is configured to return information of the idle resources to the virtual machine resource allocation device in response to the virtual machine resource allocation device querying the idle resources.
According to a fifth aspect of some embodiments of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the aforementioned virtual machine resource allocation methods.
Some of the embodiments of the above invention have the following advantages or benefits: the embodiment of the invention can complete the reservation of the virtual resources of the VNF through the centralized scheduling of the NFVO on the resources, realize the dynamic elastic expansion and contraction of the VNF and improve the flexibility of resource allocation.
Other features of the present invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 illustrates a flow diagram of a virtual machine resource allocation method according to some embodiments of the invention.
Fig. 2 illustrates a flow diagram of a method of determining a reserved resource according to some embodiments of the invention.
FIG. 3 is a flow chart illustrating a method of virtual machine resource allocation according to further embodiments of the present invention.
Fig. 4 illustrates a flow diagram of a reserved resource release method according to some embodiments of the invention.
Fig. 5 illustrates a schematic structure of a virtual machine resource allocation apparatus according to some embodiments of the present invention.
FIG. 6 illustrates a schematic 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 other embodiments of the present invention.
Fig. 8 is a schematic structural diagram of a virtual machine resource allocation apparatus according to still other embodiments of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary 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 the resources required for the VNF.
In some embodiments, the NFVO has a resource reservation interface, the parameters of which include the number of virtual machines required by the VNF and the configuration of the virtual machines. The NFVO calculates resources required by the VNF according to parameters of the resource reservation interface in response to the resource reservation interface being invoked. Thus, when the VNFM is to apply for reserved resources, the newly added interface may be invoked. The NFVO may 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 idle 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 idle resources of the VIM and the pre-recorded reserved resources of other VNFs.
Since the VIM does not provide a resource reservation interface, the embodiment of the present invention does not complete resource reservation through the VIM, but uniformly records reservation information by using NFVO so as to manage and control resources.
In step S108, in the case where 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 correspondence between the VNF and the reserved resources.
Thus, when other VNFs apply for reserving resources, the NFVO may also deduct the resources reserved for the current VNF.
By the method of the embodiment, the reservation of the virtual resources of the VNF can be completed by intensively scheduling the resources through the NFVO, so that dynamic elastic capacity expansion and capacity reduction of the VNF are realized, and the flexibility of resource allocation is improved.
In some embodiments, the NFVO may more accurately determine the reservable resources of the VNFs applying for reserved resources by acquiring the start-up status of the respective VNFs in the system. An embodiment of a method of determining a reserved resource is described below with reference to fig. 2.
Fig. 2 illustrates a flow diagram of a method of determining a reserved resource according to some embodiments of the invention. As shown in fig. 2, the reserved resource determining method 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, from the idle resources of the VIM, the resources reserved for the non-activated VNF, as the reserved resources of the VNF applying for the reserved resources.
For example, NFVO has reserved resources for VNF1 and current VNF1 is in a startup state. Thus, the currently idle resources of the VIM should not include the resources reserved for VNF1, and may not be considered in the calculation.
By the method of the embodiment, the reserved resources of the VNF applying for reserving the resources can be determined more accurately, so that the resource allocation is more flexible and reasonable.
The resource allocation method when the VNF needs to pull up the virtual machine is described below with reference to fig. 3.
FIG. 3 is a flow chart illustrating a method of virtual machine resource allocation 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 up the virtual machine, the NFVO queries resources reserved for the VNF.
For example, before pulling up the virtual machine, the VNF may send a pull request to the NFVO, where the VNF's identity is carried.
In step S304, in case that more resources are reserved for the VNF than needed to pull up the virtual machine, starting the virtual machine is allowed; otherwise, refusing to start the virtual machine.
By the method of the embodiment, the NFVO can perform centralized management on the scheduling of the resources and check whether the virtual machine is allowed to start or not 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 from reserved resources that are not needed by the NVF. An embodiment of the reserved resource release method is described below with reference to fig. 4.
Fig. 4 illustrates 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 acquires a resource release request sent by the VNF. The amount of resources that need to be released may be included in the request, and 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 previously recorded and the reserved resources. If the VNF no longer requires any resources, the correspondence may be deleted; if the VNF reduces the resources, the correspondence may be updated.
By the method of the embodiment, when the VNF does not need part or all of the resources, the NFVO can update the reserved information so as to release the reserved resources in time, thereby improving the resource utilization rate of the system and the flexibility of resource allocation.
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 structure 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 required resource calculation module 5100 configured to calculate resources required for the VNF; a free resource query module 5200 configured to query the virtualized infrastructure manager VIM for free resources; a reserved resource determining module 5300 configured to determine reserved resources of the VNF according to the idle resources of the VIM and the resources reserved by other VNFs recorded in advance; the resource reservation module 5400 is configured to reserve resources required by the VNF for the VNF and record a correspondence between the VNF and the reserved resources in a case where the reservable resources of the VNF are more than the resources required by the VNF.
In some embodiments, the virtual machine resource allocation apparatus 500 further comprises: a pre-boot authentication module 5500 configured to query resources reserved for the VNF in response to the VNF preparing to pull up the virtual machine; allowing the virtual machine to be started under the condition that more resources are reserved for the VNF than resources required by the virtual machine to be pulled up; otherwise, refusing to start the virtual machine.
In some embodiments, the virtual machine resource allocation apparatus 500 further comprises: the resource reservation interface 5600, where parameters of the resource reservation interface include the number of virtual machines required by the VNF and configuration of the virtual machines; the required resource 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 resource determining module 5300 is further configured to obtain a status of each VNF; the resources reserved for the non-activated VNF are removed from the idle resources of the VIM as reserved resources of the VNF.
In some embodiments, the virtual machine resource allocation apparatus 500 further comprises: the reserved resource release module 5700 is configured to release resources reserved for the VNF after the NFVO acquires a resource release request sent by the VNF.
FIG. 6 illustrates a schematic 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: virtual machine resource allocation device 610, located at NFVO620; and a VNF630 configured to send a resource reservation application to the virtual machine resource allocation device 610 so that the virtual machine resource allocation device 610 calculates resources required by the VNF 630. There may be a plurality of VNFs 630, only one being exemplarily shown in fig. 6.
In some embodiments, the virtual machine resource allocation system 60 further comprises: VIM640 is configured to return information of the free resources to virtual machine resource allocation apparatus 610 in response to virtual machine resource allocation apparatus 610 querying the free resources.
Fig. 7 is a schematic structural diagram of a virtual machine resource allocation apparatus according to other 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 perform the virtual machine resource allocation method of any of the foregoing embodiments based on instructions stored in the memory 710.
The memory 710 may include, for example, system memory, fixed nonvolatile storage media, and so forth. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs.
Fig. 8 is a schematic structural diagram of a virtual machine resource allocation apparatus according to still other embodiments of the present invention. As shown in fig. 8, the virtual machine resource allocation apparatus 80 of this embodiment includes: memory 810 and processor 820 may also 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 processor 820 may be connected by, for example, a bus 860. The input/output interface 830 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, and the like. The network interface 840 provides a connection interface for various networking devices. Storage interface 850 provides a connection interface for external storage devices such as SD cards, U-discs, and the like.
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements any one of the aforementioned virtual machine resource allocation methods.
It will be appreciated by those skilled in the art that 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, etc.) 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 flowchart and/or block of the flowchart illustrations and/or block diagrams, and combinations of flowcharts 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 foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (9)

1. A virtual machine resource allocation method, comprising:
the network function virtualization orchestrator NFVO calculates resources required for network function virtualization VNF, the NFVO being configured to record reservation information;
NFVO queries idle resources of a virtualized infrastructure manager, VIM, wherein the VIM does not provide a resource reservation interface, the resource reservation is not completed by the VIM;
the NFVO determines reserved resources of the VNF according to idle resources of the VIM and resources reserved by other VNF recorded in advance;
when the reservable resources of the VNF are more than the resources required by the VNF, NFVO reserves resources required by the VNF for the VNF and records a correspondence between the VNF and the reserved resources;
responding to the VNF to prepare to pull up a virtual machine, and inquiring resources reserved for the VNF by the NFVO;
in the case where more resources are reserved for the VNF than are needed to pull up the virtual machine, the NFVO allows the virtual machine to be started; otherwise, the NFVO refuses to start the virtual machine.
2. The virtual machine resource allocation method according to claim 1, wherein the NFVO has a resource reservation interface, parameters of which include the number of virtual machines required by the VNF and configuration of virtual machines;
NFVO is invoked in response to the resource reservation interface, to calculate resources required by the VNF according to parameters of the resource reservation interface.
3. The virtual machine resource allocation method of claim 1, wherein the NFVO determining the reservable resources of the VNF from idle resources of the VIM and pre-recorded resources reserved by other VNFs comprises:
NFVO acquires the status of each VNF;
NFVO removes resources reserved for the non-activated VNF from the idle resources of the VIM as reserved resources of the VNF.
4. The virtual machine resource allocation method of claim 1, further comprising:
after obtaining a resource release request sent by a VNF, the NFVO releases resources reserved for the VNF.
5. A virtual machine resource allocation device, located in an NFVO, where the NFVO is configured to record reservation information, and includes:
a required resource calculation module configured to calculate resources required by the VNF;
a idle resource query module configured to query idle resources of a virtualized infrastructure manager, VIM, wherein the VIM does not provide a resource reservation interface, the resource reservation not being completed by the VIM;
a reserved resource determining module configured to determine reserved 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 resources required by the VNF for the VNF and record a correspondence between the VNF and the reserved resources, in a case where the reservable resources of the VNF are more than the resources required by the VNF;
a pre-start verification module configured to query resources reserved for the VNF in response to the VNF preparing to pull up a virtual machine; allowing the virtual machine to be started in the case that more resources are reserved for the VNF than are needed to pull up the virtual machine; otherwise, refusing to start the virtual machine.
6. 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-4 based on instructions stored in the memory.
7. A virtual machine resource allocation system, comprising:
the virtual machine resource allocation apparatus of claim 5 or 6; 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.
8. The virtual machine resource allocation system of claim 7, further comprising:
and the VIM is configured to respond to the inquiry of the idle resources by the virtual machine resource allocation device and return the information of the idle resources to the virtual machine resource allocation device.
9. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the virtual machine resource allocation method of any of claims 1 to 4.
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 CN112860370A (en) 2021-05-28
CN112860370B true 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)

Families Citing this family (1)

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

Citations (4)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017035738A1 (en) * 2015-08-31 2017-03-09 华为技术有限公司 Resource management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112860370A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US11704144B2 (en) Creating virtual machine groups based on request
EP3668009B1 (en) Network service lifecycle management method and device
WO2017012381A1 (en) Life cycle management method and apparatus
CN104461744A (en) Resource allocation method and device
CN106856438B (en) Network service instantiation method, device and NFV system
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
CN113419846B (en) Resource allocation method and device, electronic equipment and computer readable storage medium
KR20180006971A (en) Hardware acceleration methods and related devices
KR20220070020A (en) Network resource management method, system, network device and readable storage medium
CN111399764A (en) Data storage method, data reading device, data storage equipment and data storage medium
CN112860370B (en) Virtual machine resource allocation method, device, system and storage medium
CN106664259B (en) Method and device for expanding virtual network function
CN113986534A (en) Task scheduling method and device, computer equipment and computer readable storage medium
CN109905258B (en) PaaS management method, device and storage medium
CN108805527A (en) A kind of project management method and device
US20220229689A1 (en) Virtualization platform control device, virtualization platform control method, and virtualization platform control program
CN115113975A (en) Cluster management method and device, electronic equipment and storage medium
EP4009167A1 (en) Instantiated request generation method, interface virtual machine configuration method, nfvo, and vim
CN115665231A (en) Service creation method, device and computer-readable storage medium
CN110351104A (en) A kind of VIM selection method and device
CN115061774A (en) Application image management and release method, system, device and storage medium
WO2020098352A1 (en) Workflow scheduling method, apparatus, and system
KR20150137766A (en) System and method for creating stack of virtual machine

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