WO2016206378A1 - Flexible capacity extending method, device and system - Google Patents

Flexible capacity extending method, device and system Download PDF

Info

Publication number
WO2016206378A1
WO2016206378A1 PCT/CN2016/072170 CN2016072170W WO2016206378A1 WO 2016206378 A1 WO2016206378 A1 WO 2016206378A1 CN 2016072170 W CN2016072170 W CN 2016072170W WO 2016206378 A1 WO2016206378 A1 WO 2016206378A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
vnfm
virtual resource
virtual
buffer pool
Prior art date
Application number
PCT/CN2016/072170
Other languages
French (fr)
Chinese (zh)
Inventor
何谦
刘冉
张龙刚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016206378A1 publication Critical patent/WO2016206378A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Definitions

  • This application relates to, but is not limited to, the field of cloud computing.
  • Cloud Computing is Grid Computing, Distributed Computing, Parallel Computing, Utility Computing Network Storage Technologies, Virtualization, The integration of traditional computer technology and network technology such as load balancing (Load Balance). It aims to integrate multiple relatively low-cost computing entities into a system with powerful computing power through the network.
  • Load Balance load balancing
  • NFV Network Function Virtualization
  • the flexible expansion is usually started after the elastic expansion policy conditions are triggered, such as the creation of virtual machines and cloud disks.
  • the resources are virtualized.
  • On-line preparation such as starting a virtual machine, installing a business application version, software configuration, etc., and finally loading the business on the newly created virtualized resource after these preparations are completed.
  • This method is a time-consuming operation for creating resources, starting a virtual machine, and installing a service application version.
  • the problem is that the elastic expansion takes a long time to complete, and the traffic bursts in a sudden situation. It is easy to cause business congestion or even business interruption.
  • This paper provides an elastic expansion method, device and system to solve at least the problem of long elastic expansion time in the related art.
  • An elastic expansion method includes:
  • the virtualized network function manager creates a resource buffer pool, wherein the resource buffer pool stores virtual resources required for loading services; the VNFM initializes and configures the virtual resources; In the case that capacity expansion is required, the VNFM notifies a Virtualised Network Function (VNF) device to load a service on the virtual resource.
  • VNF Virtualised Network Function
  • the VNFM performs initial configuration on the virtual resource, including at least one of: the VNFM configures a parameter of the virtual resource; the VNFM installs a service version on the virtual resource; The VNFM formats the storage resource in the virtual resource; the VNFM partitions the storage resource in the virtual resource.
  • the VNFM creates a resource buffer pool, including: the VNFM invokes a Virtualised Infrastructure Manager (VIM) to create a resource buffer pool.
  • VIM Virtualised Infrastructure Manager
  • the method further includes: the VNFM suspending, sleeping, or shutting down the virtual resource; if the capacity is required to be expanded, the VNFM is to perform the virtual The resource is restored to a working state.
  • the VNFM suspends, sleeps, or shuts down the virtual resource, including: the VNFM suspends, sleeps, or shuts down the virtual resource by using the VIM; the VNFM restores the virtual resource to The working state includes: the VNFM restores the virtual resource to a working state by using the VIM.
  • the method further includes: the VNFM applying to the Network Functions Virtualization Orchestrator (NFVO) for the authorization to create a resource and/or the size of the created resource.
  • NFVO Network Functions Virtualization Orchestrator
  • An elastic expansion device is disposed on the VNFM, the device comprising:
  • the capacity expansion processing module is configured to: create a resource buffer pool, wherein the resource buffer pool stores a virtual resource required for loading a service; and a configuration module, configured to: initialize the virtual resource; and configure a VNF device interface module, Set to: notify VNF if capacity expansion is required. The device loads the service on the virtual resource.
  • the configuration module includes at least one of the following:
  • a parameter configuration unit configured to: configure a parameter of the virtual resource; a service installation unit, configured to: install a service version on the virtual resource; and format a unit, set to: a storage resource in the virtual resource Formatting; partitioning unit, configured to: partition storage resources in the virtual resource.
  • the capacity expansion processing module includes: a first calling unit, configured to: invoke the VIM to create a resource buffer pool.
  • the capacity expansion processing module is further configured to suspend, sleep, or shut down the virtual resource after the configuration module initializes the virtual resource; if the capacity expansion is required, the The virtual resource is restored to a working state.
  • the capacity expansion processing module includes: a second calling unit, configured to: suspend, sleep, shut down, or restore the virtual resource to a working state by using the VIM.
  • the apparatus further includes: an NFVO interface module, configured to: request an authorization of the NFVO to create a resource and/or create a size of the resource.
  • an NFVO interface module configured to: request an authorization of the NFVO to create a resource and/or create a size of the resource.
  • An elastic expansion system comprising:
  • the virtualized network function manager VNFM is configured to: create a resource buffer pool, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VNFM is further configured to: initialize the virtual resource; If the capacity is to be expanded, the virtualized network function VNF device is notified; the virtualized network function VNF device is configured to: load the service on the virtual resource according to the notification of the VNFM.
  • system further includes at least one of the following:
  • the virtualized infrastructure manager VIM is configured to: create a resource buffer pool according to the calling command of the VNFM, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VIM is further set to: The virtual resource is suspended, hibernated, shut down, or restored to a working state;
  • the network function virtualization coordinator NFVO is configured to: query the VIM for resource information according to the VNFM application, and return a resource creation resource to the VNFM according to the resource information. Authorization results and/or size results for creating resources.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
  • FIG. 1 is a flow chart 1 of an elastic expansion method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of elastic expansion of resources through a cloud disk according to an embodiment of the present invention
  • FIG. 5 is a block diagram 1 of an elastic expansion device according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 2 of an elastic expansion device according to an embodiment of the invention.
  • FIG. 7 is a block diagram 3 of an elastic expansion device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an elastic expansion system according to an embodiment of the invention.
  • FIG. 1 is a flowchart 1 of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • the VNFM creates a resource buffer pool, where the resource buffer pool stores virtual resources required for loading services.
  • the VNFM initializes the configuration of the virtual resource.
  • the VNFM notifies the VNF device to load a service on the virtual resource if the capacity is required to be expanded.
  • the number of virtual resources in the resource buffer pool may be multiple, and the number of resource buffer pools may be multiple, that is, the creation process may be multiple times.
  • the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
  • the following takes the application scenarios of the virtual resources and the virtual disk as an example.
  • FIG. 2 is a flowchart of a flexible expansion of a virtual machine resource according to an embodiment of the present invention. As shown in FIG. 2, the steps of creating a virtual machine and performing elastic expansion may include:
  • the VNFM creates virtual machine resources required for elastic expansion for one or more times according to the size of the buffer pool resource in the configuration file.
  • the VNFM initializes the created virtual machine, for example, configuring parameters of the virtual machine, installing a service software version on the virtual machine, starting a virtual machine, etc.; the initialization work does not need to be completed at the same time, and only the Some of the work is done, for example, parameter configuration can be performed without installing business software.
  • the VNFM suspends the initialized virtual machine, that is, stores the data in the virtual machine memory into the memory file of the hard disk, and then closes the virtual machine to release the virtual memory and the CPU; the suspending operation is performed in order to
  • the above-mentioned suspending operation may also be a method of sleeping, shutting down, etc., without minimizing the waste of computing resources and memory resources on the basis of the technical effects of the embodiments of the present invention.
  • the VNFM removes the required virtual machine from the elastic capacity pool and performs a recovery operation on the virtual machine, that is, the memory file in the hard disk is read into the memory, and the virtual machine is quickly restored. To the state before the suspension.
  • the VNFM notifies the control module in the VNF to enable the virtual machine, and load and run the service on the virtual machine.
  • the VNFM can repeat the above-mentioned S202-S208 creation process.
  • the number of virtual machines used in the elastic expansion is created, and the same number of virtual machines are created and put into the elastic expansion resource buffer pool.
  • FIG. 3 is a flow chart of the flexible expansion of the cloud disk resource according to the embodiment of the present invention. As shown in FIG. 3, the steps of creating a cloud disk and performing elastic expansion may include:
  • the VNFM creates the cloud disk resource required for elastic expansion for one or more times according to the size of the buffer pool in the configuration file.
  • VNFM initializes the created cloud hard disk, such as partitioning and formatting the cloud hard disk; the initialization work does not need to be completed at the same time, and only some of the work may be performed, for example, only formatting may be performed. Without partitioning.
  • the VNFM performs a sleep operation on the initialized cloud hard disk, and performs a sleep operation to minimize the waste of computing resources and memory resources on the basis of not affecting the technical effects of the embodiments of the present invention, and may of course not perform a sleep operation.
  • the VNFM puts the dormant cloud disk into the elastic capacity pool and waits for the elastic expansion call.
  • the VNFM removes the required cloud disk from the elastic capacity pool and performs recovery operations on the cloud disk.
  • the VNFM notifies the control module in the VNF to enable the cloud hard disk, and load and run the service on the cloud hard disk.
  • the VNFM can repeat the creation process of the above S302-S308 to create the elastic expansion. How many cloud disks are used, create the same number of cloud disks, and put them into the elastic capacity pool.
  • the VNFM requests the network function virtualization coordinator NFVO to request the creation of a resource and/or the size of the created resource before the VNFM creates the resource buffer pool.
  • FIG. 4 is a second flowchart of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
  • the VNFM sends an application for creating a resource to the NFVO, where the requested message body may include the total number of resources required for the elastic expansion resource buffer pool, and the application for the authorization application and the resource size may be separately performed; of course, if the resource is created in the configuration.
  • the default authorization and default size do not need to be applied.
  • the NFVO queries the VIM for resources according to the VNFM application request, and reserves corresponding resources.
  • the NFVO returns the result of creating the resource authorization to the VNFM and the size of the created resource.
  • the VNFM initiates a resource creation command to the VIM side, and starts to create virtual resources such as a virtual machine, a cloud hard disk, and a port.
  • the VIM returns a resource creation result to the VNFM.
  • the VNFM performs an initial operation on the virtual resource, including configuring parameters of the virtual resource, installing a service version on the virtual resource, formatting the virtual resource, and partitioning the virtual resource.
  • VNFM suspends, sleeps, or shuts down the created virtual machine through VIM.
  • the VNFM puts all the prepared virtual resources into the elastic expansion resource pool.
  • the VNFM takes the virtual resource from the elastic expansion resource buffer pool and restores the virtual machine in the virtual resource through VIM.
  • the VNFM is notified after the VNF loading service is completed.
  • the VNFM repeats the step of creating the elastic buffer pool, and supplements the virtual pool. The number of resources.
  • FIG. 5 is a structural block diagram of an elastic expansion device according to an embodiment of the present invention.
  • the device includes: a capacity expansion processing module 502, which is configured. To create a resource buffer pool, where the resource pool is stored with the virtual resources required for loading the service; the configuration module 504 initializes the virtual resource; the VNF device interface module 506 is configured to: if the capacity needs to be expanded Notifying the VNF device to load the service on the virtual resource.
  • the number of virtual resources in the resource buffer pool may be multiple, that is, the creation process may be multiple times.
  • the capacity expansion processing module 502 creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the configuration module 504 initializes and configures the virtual resources in the resource buffer pool.
  • the VNF device interface module 506 notifies the VNF device to load the service on the virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
  • FIG. 6 is a block diagram 2 of an elastic expansion device according to an embodiment of the present invention.
  • the configuration module 604 includes: a parameter configuration unit 6002, configured to: perform parameters on a virtual resource.
  • the service installation unit 6004 is configured to: install a service version on the virtual resource;
  • the formatting unit 6006 is configured to: format the storage resource in the virtual resource;
  • the partition unit 6008 is configured to: store the virtual resource The resources are partitioned.
  • the expansion processing module includes: a first invoking unit 6010, configured to: invoke a VIM to create a resource buffer pool; and a second invoking unit 6012, configured to: virtual resources through VIM Suspend, hibernate, shut down, or resume working.
  • FIG. 7 is a block diagram 3 of an elastic expansion device according to an embodiment of the present invention.
  • the device further includes: an NFVO interface module 706, configured to: create a resource for the NFVO application. Authorize and/or create the size of the resource.
  • the embodiment of the present invention further provides an elastic expansion system, including: a virtualized network function manager VNFM, configured to: create a resource buffer pool, wherein the resource buffer pool stores loading The virtual resource required for the service, the VNFM is further configured to: initialize the virtual resource; and notify the virtualized network function VNF device if the capacity needs to be expanded; and the virtualized network function VNF device is set as follows: The VNFM notification loads the business on the virtual resource.
  • VNFM virtualized network function manager
  • the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
  • FIG. 8 is a schematic diagram of an architecture of an elastic expansion system according to an embodiment of the present invention.
  • the system further includes at least one of the following: a virtualization infrastructure manager VIM, configured to: According to the calling command of the VNFM, create a resource buffer pool, suspend, sleep, shut down, or restore the virtual resource in the resource pool to a working state; the network function virtualization coordinator NFVO is set to: according to the VNFM application, to the VIM Querying the resource information, and returning the authorization result of creating the resource and/or the size result of creating the resource to the VNFM according to the resource information.
  • a virtualization infrastructure manager VIM configured to: According to the calling command of the VNFM, create a resource buffer pool, suspend, sleep, shut down, or restore the virtual resource in the resource pool to a working state
  • the network function virtualization coordinator NFVO is set to: according to the VNFM application, to the VIM Querying the resource information, and returning the authorization result of creating the resource and/or the size result of
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the length of the elastic expansion in the NFV system is reduced, and the problem that the traffic suddenly rises and the service congestion or the service is interrupted is avoided to some extent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present application are a flexible capacity extending method, device and system, the flexible capacity extending method comprising: establishing, by a virtual network functional manager (VNFM), a resource buffer pool, wherein a virtual resource needed for loading a service is stored in the resource buffer pool; performing, by the VNFM, an initial configuration on the virtual resource; and when capacity extension is needed, notifying, by the VNFM, a virtual network function (VNF) device to load the service on the virtual resource.

Description

一种弹性扩容方法、装置及系统Elastic expansion method, device and system 技术领域Technical field
本申请涉及但不限于云计算领域。This application relates to, but is not limited to, the field of cloud computing.
背景技术Background technique
云计算(Cloud Computing)是网格计算(Grid Computing)、分布式计算(Distributed Computing)、并行计算(Parallel Computing)、效用计算(Utility Computing)网络存储(Network Storage Technologies)、虚拟化(Virtualization)、负载均衡(Load Balance)等传统计算机技术和网络技术发展融合的产物。它旨在通过网络把多个成本相对较低的计算实体整合成一个具有强大计算能力的系统。Cloud Computing is Grid Computing, Distributed Computing, Parallel Computing, Utility Computing Network Storage Technologies, Virtualization, The integration of traditional computer technology and network technology such as load balancing (Load Balance). It aims to integrate multiple relatively low-cost computing entities into a system with powerful computing power through the network.
NFV(Network Function Virtualization,网络功能虚拟化)是云计算领域的其中一个范畴,就是将原先运行在专有的硬件设备上的电信业务转变成运行在云计算数据中心中,并且这些业务能够根据当前的业务需要,弹性的增加或者减少对虚拟化资源的使用,即弹性扩容和弹性缩容。NFV (Network Function Virtualization) is one of the areas of cloud computing. It transforms the telecommunication services originally running on proprietary hardware devices into running in cloud computing data centers, and these services can be based on current Business needs, flexibility to increase or reduce the use of virtualized resources, namely elastic expansion and elastic contraction.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
在相关技术中,要实现弹性扩容,一般都是在弹性扩容策略条件触发后,才开始虚拟化资源,如虚拟机、云硬盘的创建,待虚拟化资源创建完成以后,然后再进行虚拟化资源的上线准备操作,如启动虚拟机、安装业务应用版本、软件配置等,最后等这些准备工作完成后,才在新建的虚拟化资源上加载业务。这种方法由于资源创建、启动虚拟机、安装业务应用版本等工作都是比较耗时的操作,带来的问题是弹性扩容需要较长时间才能完成,在业务量突发性冲高的场景下,很容易导致业务拥塞甚至业务中断等情况的发生。 In the related technologies, the flexible expansion is usually started after the elastic expansion policy conditions are triggered, such as the creation of virtual machines and cloud disks. After the virtual resources are created, the resources are virtualized. On-line preparation, such as starting a virtual machine, installing a business application version, software configuration, etc., and finally loading the business on the newly created virtualized resource after these preparations are completed. This method is a time-consuming operation for creating resources, starting a virtual machine, and installing a service application version. The problem is that the elastic expansion takes a long time to complete, and the traffic bursts in a sudden situation. It is easy to cause business congestion or even business interruption.
本文提供了一种弹性扩容方法、装置及系统,以至少解决相关技术中弹性扩容时间较长的问题。This paper provides an elastic expansion method, device and system to solve at least the problem of long elastic expansion time in the related art.
一种弹性扩容方法,包括:An elastic expansion method includes:
虚拟化网络功能管理器(Virtualized Network Function Manager,VNFM)创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源;所述VNFM对所述虚拟资源进行初始化配置;在需要扩容的情况下,所述VNFM通知虚拟化网络功能(Virtualised Network Function,VNF)设备在所述虚拟资源上加载业务。The virtualized network function manager (VNFM) creates a resource buffer pool, wherein the resource buffer pool stores virtual resources required for loading services; the VNFM initializes and configures the virtual resources; In the case that capacity expansion is required, the VNFM notifies a Virtualised Network Function (VNF) device to load a service on the virtual resource.
可选地,所述VNFM对所述虚拟资源进行初始化配置,包括以下至少之一:所述VNFM对所述虚拟资源的参数进行配置;所述VNFM在所述虚拟资源上安装业务版本;所述VNFM对所述虚拟资源中的存储资源进行格式化;所述VNFM对所述虚拟资源中的存储资源进行分区。Optionally, the VNFM performs initial configuration on the virtual resource, including at least one of: the VNFM configures a parameter of the virtual resource; the VNFM installs a service version on the virtual resource; The VNFM formats the storage resource in the virtual resource; the VNFM partitions the storage resource in the virtual resource.
可选地,所述VNFM创建资源缓冲池,包括:所述VNFM调用虚拟化基础设施管理器(Virtualised Infrastructure Manager,VIM)创建资源缓冲池。Optionally, the VNFM creates a resource buffer pool, including: the VNFM invokes a Virtualised Infrastructure Manager (VIM) to create a resource buffer pool.
可选地,在所述VNFM对所述虚拟资源进行初始化配置之后,还包括:所述VNFM将所述虚拟资源挂起、休眠或关机;在需要扩容的情况下,所述VNFM将所述虚拟资源恢复为工作状态。Optionally, after the initial configuration of the virtual resource by the VNFM, the method further includes: the VNFM suspending, sleeping, or shutting down the virtual resource; if the capacity is required to be expanded, the VNFM is to perform the virtual The resource is restored to a working state.
可选地,所述VNFM将所述虚拟资源挂起、休眠或关机,包括:所述VNFM通过所述VIM将所述虚拟资源挂起、休眠或关机;所述VNFM将所述虚拟资源恢复为工作状态,包括:所述VNFM通过所述VIM将所述虚拟资源恢复为工作状态。Optionally, the VNFM suspends, sleeps, or shuts down the virtual resource, including: the VNFM suspends, sleeps, or shuts down the virtual resource by using the VIM; the VNFM restores the virtual resource to The working state includes: the VNFM restores the virtual resource to a working state by using the VIM.
可选地,所述VNFM创建资源缓冲池之前,还包括:所述VNFM向网络功能虚拟化协调器(Network Functions Virtualization Orchestrator,NFVO)申请创建资源的授权和/或创建资源的大小。Optionally, before the VNFM creates the resource buffer pool, the method further includes: the VNFM applying to the Network Functions Virtualization Orchestrator (NFVO) for the authorization to create a resource and/or the size of the created resource.
一种弹性扩容装置,设置于VNFM上,该装置包括:An elastic expansion device is disposed on the VNFM, the device comprising:
扩容处理模块,设置为:创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源;配置模块,设置为:对所述虚拟资源进行初始化配置;VNF设备接口模块,设置为:在需要扩容的情况下,通知VNF 设备在所述虚拟资源上加载业务。The capacity expansion processing module is configured to: create a resource buffer pool, wherein the resource buffer pool stores a virtual resource required for loading a service; and a configuration module, configured to: initialize the virtual resource; and configure a VNF device interface module, Set to: notify VNF if capacity expansion is required. The device loads the service on the virtual resource.
可选地,所述配置模块,包括以下至少之一:Optionally, the configuration module includes at least one of the following:
参数配置单元,设置为:对所述虚拟资源的参数进行配置;业务安装单元,设置为:在所述虚拟资源上安装业务版本;格式化单元,设置为:对所述虚拟资源中的存储资源进行格式化;分区单元,设置为:对所述虚拟资源中的存储资源进行分区。a parameter configuration unit, configured to: configure a parameter of the virtual resource; a service installation unit, configured to: install a service version on the virtual resource; and format a unit, set to: a storage resource in the virtual resource Formatting; partitioning unit, configured to: partition storage resources in the virtual resource.
可选地,所述扩容处理模块,包括:第一调用单元,设置为:调用所述VIM创建资源缓冲池。Optionally, the capacity expansion processing module includes: a first calling unit, configured to: invoke the VIM to create a resource buffer pool.
可选地,所述扩容处理模块还设置为,在所述配置模块对所述虚拟资源进行初始化配置之后,将所述虚拟资源挂起、休眠或关机;在需要扩容的情况下,将所述虚拟资源恢复为工作状态。Optionally, the capacity expansion processing module is further configured to suspend, sleep, or shut down the virtual resource after the configuration module initializes the virtual resource; if the capacity expansion is required, the The virtual resource is restored to a working state.
可选地,所述扩容处理模块包括:第二调用单元,设置为:通过所述VIM将所述虚拟资源挂起、休眠、关机或恢复为工作状态。Optionally, the capacity expansion processing module includes: a second calling unit, configured to: suspend, sleep, shut down, or restore the virtual resource to a working state by using the VIM.
可选地,该装置还包括:NFVO接口模块,设置为:向所述NFVO申请创建资源的授权和/或创建资源的大小。Optionally, the apparatus further includes: an NFVO interface module, configured to: request an authorization of the NFVO to create a resource and/or create a size of the resource.
一种弹性扩容系统,包括:An elastic expansion system comprising:
虚拟化网络功能管理器VNFM,设置为:创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源,该VNFM还设置为:对所述虚拟资源进行初始化配置;在需要扩容的情况下,通知虚拟化网络功能VNF设备;虚拟化网络功能VNF设备,设置为:根据所述VNFM的通知,在所述虚拟资源上加载业务。The virtualized network function manager VNFM is configured to: create a resource buffer pool, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VNFM is further configured to: initialize the virtual resource; If the capacity is to be expanded, the virtualized network function VNF device is notified; the virtualized network function VNF device is configured to: load the service on the virtual resource according to the notification of the VNFM.
可选地,该系统还包括以下至少之一:Optionally, the system further includes at least one of the following:
虚拟化基础设施管理器VIM,设置为:根据所述VNFM的调用命令,创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源,该VIM还设置为:将所述虚拟资源挂起、休眠、关机或恢复为工作状态;The virtualized infrastructure manager VIM is configured to: create a resource buffer pool according to the calling command of the VNFM, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VIM is further set to: The virtual resource is suspended, hibernated, shut down, or restored to a working state;
网络功能虚拟化协调器NFVO,设置为:根据所述VNFM的申请,向所述VIM查询资源信息,并根据所述资源信息向所述VNFM返回创建资源的 授权结果和/或创建资源的大小结果。The network function virtualization coordinator NFVO is configured to: query the VIM for resource information according to the VNFM application, and return a resource creation resource to the VNFM according to the resource information. Authorization results and/or size results for creating resources.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
通过本发明实施例,VNFM创建资源缓冲池,其中该资源缓冲池中存储有加载业务所需的虚拟资源,该VNFM对该虚拟资源进行初始化配置,在需要扩容的情况下,该VNFM通知VNF设备在该虚拟资源上加载业务。减少了在NFV系统中进行弹性扩容的时长,一定程度上避免了在业务量突然冲高而导致业务拥塞甚至业务中断的问题。According to the embodiment of the present invention, the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的弹性扩容方法流程图一;1 is a flow chart 1 of an elastic expansion method according to an embodiment of the present invention;
图2是根据本发明实施例的通过虚拟机资源弹性扩容流程图;2 is a flowchart of elastic expansion of virtual machine resources according to an embodiment of the present invention;
图3是根据本发明实施例的通过云硬盘资源弹性扩容流程图;FIG. 3 is a flowchart of elastic expansion of resources through a cloud disk according to an embodiment of the present invention; FIG.
图4是根据本发明实施例的弹性扩容方法流程图二;4 is a second flowchart of an elastic expansion method according to an embodiment of the present invention;
图5是根据本发明实施例的弹性扩容装置结构框图一;Figure 5 is a block diagram 1 of an elastic expansion device according to an embodiment of the present invention;
图6是根据本发明实施例的弹性扩容装置结构框图二;6 is a block diagram 2 of an elastic expansion device according to an embodiment of the invention;
图7是根据本发明实施例的弹性扩容装置结构框图三;7 is a block diagram 3 of an elastic expansion device according to an embodiment of the present invention;
图8是根据本发明实施例的弹性扩容系统架构示意图。FIG. 8 is a schematic structural diagram of an elastic expansion system according to an embodiment of the invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be hereinafter described with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明实施例提供了一种弹性扩容方法,图1是根据本发明实施例的弹性扩容方法流程图一,如图1所示,该方法包括: The embodiment of the present invention provides an elastic expansion method. FIG. 1 is a flowchart 1 of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
S102,VNFM创建资源缓冲池,其中,该资源缓冲池中存储有加载业务所需的虚拟资源;S102. The VNFM creates a resource buffer pool, where the resource buffer pool stores virtual resources required for loading services.
S104,该VNFM对该虚拟资源初始化配置;S104. The VNFM initializes the configuration of the virtual resource.
S106,在需要扩容的情况下,该VNFM通知VNF设备在该虚拟资源上加载业务。S106: The VNFM notifies the VNF device to load a service on the virtual resource if the capacity is required to be expanded.
其中,该资源缓冲池中的虚拟资源数量可以是多个,资源缓冲池的数量也可以是多个,即创建过程可以是多次。The number of virtual resources in the resource buffer pool may be multiple, and the number of resource buffer pools may be multiple, that is, the creation process may be multiple times.
通过本发明实施例,VNFM创建资源缓冲池,其中该资源缓冲池中存储有加载业务所需的虚拟资源,该VNFM对该虚拟资源进行初始化配置,在需要扩容的情况下,该VNFM通知VNF设备在该虚拟资源上加载业务。减少了在NFV系统中进行弹性扩容的时长,一定程度上避免了在业务量突然冲高而导致业务拥塞甚至业务中断的问题。According to the embodiment of the present invention, the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
下面以虚拟机与云硬盘两种虚拟资源的应用场景为例,对上述方法进行实例说明:The following takes the application scenarios of the virtual resources and the virtual disk as an example.
实例一Example one
图2是根据本发明实施例的通过虚拟机资源弹性扩容流程图,如图2所示,创建虚拟机并进行弹性扩容的步骤可以包括:FIG. 2 is a flowchart of a flexible expansion of a virtual machine resource according to an embodiment of the present invention. As shown in FIG. 2, the steps of creating a virtual machine and performing elastic expansion may include:
S202,VNFM根据配置文件中缓冲池资源的大小,创建1次或者多次弹性扩容所需要的虚拟机资源。S202: The VNFM creates virtual machine resources required for elastic expansion for one or more times according to the size of the buffer pool resource in the configuration file.
S204,VNFM对上述创建出来的虚拟机进行初始化工作,如对虚拟机的参数进行配置、在虚拟机上安装业务软件版本、启动虚拟机等;这些初始化工作并非需要同时全部完成,可以只对其中的部分工作进行操作,比如,可以只进行参数配置而不安装业务软件。S204: The VNFM initializes the created virtual machine, for example, configuring parameters of the virtual machine, installing a service software version on the virtual machine, starting a virtual machine, etc.; the initialization work does not need to be completed at the same time, and only the Some of the work is done, for example, parameter configuration can be performed without installing business software.
S206,VNFM对上述经过初始化的虚拟机进行挂起操作,也就是将虚拟机内存中的数据存储到了硬盘的内存文件当中,然后关闭虚拟机,释放虚拟内存和CPU;进行挂起操作是为了在不影响本发明实施例技术效果的基础上尽量减少对计算资源、内存资源的浪费,上述挂起操作也可以是休眠、关机等方式。 S206. The VNFM suspends the initialized virtual machine, that is, stores the data in the virtual machine memory into the memory file of the hard disk, and then closes the virtual machine to release the virtual memory and the CPU; the suspending operation is performed in order to The above-mentioned suspending operation may also be a method of sleeping, shutting down, etc., without minimizing the waste of computing resources and memory resources on the basis of the technical effects of the embodiments of the present invention.
S208,VNFM将挂起的虚拟机放入弹性扩容资源缓冲池中,等待弹性扩容调用。S208: The VNFM puts the suspended virtual machine into the elastic expansion resource buffer pool and waits for the elastic expansion call.
S210,在需要弹性扩容时,VNFM从弹性扩容资源缓冲池中取出所需要的虚拟机,并对该虚拟机执行恢复操作,即将硬盘中的内存文件读入到内存当中,快速的将虚拟机恢复到挂起前的状态。On the S210, when the elastic expansion is required, the VNFM removes the required virtual machine from the elastic capacity pool and performs a recovery operation on the virtual machine, that is, the memory file in the hard disk is read into the memory, and the virtual machine is quickly restored. To the state before the suspension.
S212,VNFM通知VNF中的控制模块启用该虚拟机,在该虚拟机上加载并运行业务。S212. The VNFM notifies the control module in the VNF to enable the virtual machine, and load and run the service on the virtual machine.
其中,VNFM可以重复上述S202-S208的创建过程,本次弹性扩容所用掉多少虚拟机,就创建相同数量的虚拟机,并放入到弹性扩容资源缓冲池中。The VNFM can repeat the above-mentioned S202-S208 creation process. The number of virtual machines used in the elastic expansion is created, and the same number of virtual machines are created and put into the elastic expansion resource buffer pool.
实例二Example two
图3是根据本发明实施例的通过云硬盘资源弹性扩容流程图,如图3所示,创建云硬盘并进行弹性扩容的步骤可以包括:FIG. 3 is a flow chart of the flexible expansion of the cloud disk resource according to the embodiment of the present invention. As shown in FIG. 3, the steps of creating a cloud disk and performing elastic expansion may include:
S302,VNFM根据配置文件中缓冲池资源的大小,创建1次或者多次弹性扩容所需要的云硬盘资源。On S302, the VNFM creates the cloud disk resource required for elastic expansion for one or more times according to the size of the buffer pool in the configuration file.
S304,VNFM对上述创建出来的云硬盘进行初始化工作,如对云硬盘分区、格式化等;这些初始化工作并非需要同时全部完成,可以只对其中的部分工作进行操作,比如,可以只进行格式化而不分区。S304: The VNFM initializes the created cloud hard disk, such as partitioning and formatting the cloud hard disk; the initialization work does not need to be completed at the same time, and only some of the work may be performed, for example, only formatting may be performed. Without partitioning.
S306,VNFM对上述经过初始化的云硬盘进行休眠操作,进行休眠操作是为了在不影响本发明实施例技术效果的基础上尽量减少对计算资源、内存资源的浪费,当然也可以不进行休眠操作。S306: The VNFM performs a sleep operation on the initialized cloud hard disk, and performs a sleep operation to minimize the waste of computing resources and memory resources on the basis of not affecting the technical effects of the embodiments of the present invention, and may of course not perform a sleep operation.
S308,VNFM将休眠的云硬盘放入弹性扩容资源缓冲池中,等待弹性扩容调用。On S308, the VNFM puts the dormant cloud disk into the elastic capacity pool and waits for the elastic expansion call.
S310,在需要弹性扩容时,VNFM从弹性扩容资源缓冲池中取出所需要的云硬盘,并对该云硬盘执行恢复操作。On the S310, the VNFM removes the required cloud disk from the elastic capacity pool and performs recovery operations on the cloud disk.
S312,VNFM通知VNF中的控制模块启用该云硬盘,在该云硬盘上加载并运行业务。S312: The VNFM notifies the control module in the VNF to enable the cloud hard disk, and load and run the service on the cloud hard disk.
其中,VNFM可以重复上述S302-S308的创建过程,创建本次弹性扩容 所用掉多少云硬盘,就创建相同数量的云硬盘,并放入到弹性扩容资源缓冲池中。The VNFM can repeat the creation process of the above S302-S308 to create the elastic expansion. How many cloud disks are used, create the same number of cloud disks, and put them into the elastic capacity pool.
在本发明的一个实施方式中,在VNFM创建资源缓冲池之前,该VNFM向网络功能虚拟化协调器NFVO申请创建资源的授权和/或创建资源的大小。In one embodiment of the invention, the VNFM requests the network function virtualization coordinator NFVO to request the creation of a resource and/or the size of the created resource before the VNFM creates the resource buffer pool.
图4是根据本发明实施例的弹性扩容方法流程图二,如图4所示,该方法可以包括以下步骤:FIG. 4 is a second flowchart of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps:
S402,VNFM向NFVO发送创建资源的申请,申请的消息体中可以包含弹性扩容资源缓冲池需要资源的总数量,授权申请以及资源大小的申请可以分别进行;当然,如果在配置中对于创建资源是默认授权以及默认大小,就无需申请。S402: The VNFM sends an application for creating a resource to the NFVO, where the requested message body may include the total number of resources required for the elastic expansion resource buffer pool, and the application for the authorization application and the resource size may be separately performed; of course, if the resource is created in the configuration. The default authorization and default size do not need to be applied.
S404,NFVO根据VNFM的申请请求,向VIM查询资源,并预留相应的资源。S404, the NFVO queries the VIM for resources according to the VNFM application request, and reserves corresponding resources.
S406,NFVO向VNFM返回创建资源授权的结果以及创建资源的大小。S406. The NFVO returns the result of creating the resource authorization to the VNFM and the size of the created resource.
S408,VNFM向VIM侧发起资源创建的命令,开始创建虚拟机,云硬盘,端口等虚拟资源。S408: The VNFM initiates a resource creation command to the VIM side, and starts to create virtual resources such as a virtual machine, a cloud hard disk, and a port.
S410,VIM向VNFM返回资源创建结果。S410. The VIM returns a resource creation result to the VNFM.
S412,VNFM在虚拟资源准备创建完成以后,在虚拟资源上进行初始化操作,包括对虚拟资源的参数进行配置、在虚拟资源上安装业务版本、对虚拟资源进行格式化、对虚拟资源进行分区等。S412. After the virtual resource preparation is completed, the VNFM performs an initial operation on the virtual resource, including configuring parameters of the virtual resource, installing a service version on the virtual resource, formatting the virtual resource, and partitioning the virtual resource.
S414,VNFM通过VIM将创建的虚拟机挂起、休眠或关机。S414. The VNFM suspends, sleeps, or shuts down the created virtual machine through VIM.
S416,VNFM将所有的准备好的虚拟资源放入弹性扩容资源缓冲池中。S416. The VNFM puts all the prepared virtual resources into the elastic expansion resource pool.
S418,在需要弹性扩容的情况下,VNFM将虚拟资源从弹性扩容资源缓冲池中取出,并通过VIM将虚拟资源中的虚拟机做恢复操作。In S418, the VNFM takes the virtual resource from the elastic expansion resource buffer pool and restores the virtual machine in the virtual resource through VIM.
S420,VNFM通知VNF在新增的资源上加载业务。S420: The VNFM notifies the VNF to load the service on the newly added resource.
S422,VNF加载业务完成后通知VNFM。S422, the VNFM is notified after the VNF loading service is completed.
S424,VNFM重复弹性扩容资源缓冲池创建的步骤,补充缓冲池中虚拟 资源的数量。S424, the VNFM repeats the step of creating the elastic buffer pool, and supplements the virtual pool. The number of resources.
本发明实施例还提供了一种弹性扩容装置,设置于VNFM上,图5是根据本发明实施例的弹性扩容装置结构框图一,如图5所示,该装置包括:扩容处理模块502,设置为:创建资源缓冲池,其中,该资源缓冲池中存储有加载业务所需的虚拟资源;配置模块504对该虚拟资源进行初始化配置;VNF设备接口模块506,设置为:在需要扩容的情况下,通知VNF设备在该虚拟资源上加载业务。The embodiment of the present invention further provides an elastic expansion device, which is disposed on the VNFM. FIG. 5 is a structural block diagram of an elastic expansion device according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a capacity expansion processing module 502, which is configured. To create a resource buffer pool, where the resource pool is stored with the virtual resources required for loading the service; the configuration module 504 initializes the virtual resource; the VNF device interface module 506 is configured to: if the capacity needs to be expanded Notifying the VNF device to load the service on the virtual resource.
其中,该资源缓冲池中的虚拟资源数量可以是多个,即创建过程可以是多次。The number of virtual resources in the resource buffer pool may be multiple, that is, the creation process may be multiple times.
通过本发明实施例,扩容处理模块502创建资源缓冲池,其中,该资源缓冲池中存储有加载业务所需的虚拟资源,配置模块504对该资源缓冲池中的虚拟资源进行初始化配置,在需要扩容的情况下,VNF设备接口模块506通知VNF设备在该虚拟资源上加载业务。减少了在NFV系统中进行弹性扩容的时长,一定程度上避免了在业务量突然冲高而导致业务拥塞甚至业务中断的问题。According to the embodiment of the present invention, the capacity expansion processing module 502 creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the configuration module 504 initializes and configures the virtual resources in the resource buffer pool. In the case of capacity expansion, the VNF device interface module 506 notifies the VNF device to load the service on the virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
图6是根据本发明实施例的弹性扩容装置结构框图二,在本发明的一个实施方式中,如图6所示,配置模块604包括:参数配置单元6002,设置为:对虚拟资源的参数进行配置;业务安装单元6004,设置为:在虚拟资源上安装业务版本;格式化单元6006,设置为:对虚拟资源中的存储资源进行格式化;分区单元6008,设置为:对虚拟资源中的存储资源进行分区。FIG. 6 is a block diagram 2 of an elastic expansion device according to an embodiment of the present invention. In an embodiment of the present invention, as shown in FIG. 6, the configuration module 604 includes: a parameter configuration unit 6002, configured to: perform parameters on a virtual resource. The service installation unit 6004 is configured to: install a service version on the virtual resource; the formatting unit 6006 is configured to: format the storage resource in the virtual resource; the partition unit 6008 is configured to: store the virtual resource The resources are partitioned.
在本发明的一个实施方式中,如图6所示,扩容处理模块包括:第一调用单元6010,设置为:调用VIM创建资源缓冲池;第二调用单元6012,设置为:通过VIM将虚拟资源挂起、休眠、关机或恢复为工作状态。In an embodiment of the present invention, as shown in FIG. 6, the expansion processing module includes: a first invoking unit 6010, configured to: invoke a VIM to create a resource buffer pool; and a second invoking unit 6012, configured to: virtual resources through VIM Suspend, hibernate, shut down, or resume working.
图7是根据本发明实施例的弹性扩容装置结构框图三,在本发明的一个实施方式中,如图7所示,该装置还包括:NFVO接口模块706,设置为:向NFVO申请创建资源的授权和/或创建资源的大小。FIG. 7 is a block diagram 3 of an elastic expansion device according to an embodiment of the present invention. In an embodiment of the present invention, as shown in FIG. 7, the device further includes: an NFVO interface module 706, configured to: create a resource for the NFVO application. Authorize and/or create the size of the resource.
本发明实施例还提供了一种弹性扩容系统,包括:虚拟化网络功能管理器VNFM,设置为:创建资源缓冲池,其中,所述资源缓冲池中存储有加载 业务所需的虚拟资源,所述VNFM还设置为:对所述虚拟资源进行初始化配置;在需要扩容的情况下,通知虚拟化网络功能VNF设备;虚拟化网络功能VNF设备,设置为:根据上述VNFM的通知,在该虚拟资源上加载业务。The embodiment of the present invention further provides an elastic expansion system, including: a virtualized network function manager VNFM, configured to: create a resource buffer pool, wherein the resource buffer pool stores loading The virtual resource required for the service, the VNFM is further configured to: initialize the virtual resource; and notify the virtualized network function VNF device if the capacity needs to be expanded; and the virtualized network function VNF device is set as follows: The VNFM notification loads the business on the virtual resource.
通过本发明实施例,VNFM创建资源缓冲池,其中该资源缓冲池中存储有加载业务所需的虚拟资源,该VNFM对该虚拟资源进行初始化配置,在需要扩容的情况下,该VNFM通知VNF设备在该虚拟资源上加载业务。减少了在NFV系统中进行弹性扩容的时长,一定程度上避免了在业务量突然冲高而导致业务拥塞甚至业务中断的问题。According to the embodiment of the present invention, the VNFM creates a resource buffer pool, wherein the resource buffer pool stores the virtual resources required for loading the service, and the VNFM initializes the virtual resource, and the VNFM notifies the VNF device if the capacity needs to be expanded. Load the business on this virtual resource. The length of the elastic expansion in the NFV system is reduced, and the problem of business congestion or even business interruption caused by a sudden surge in traffic is avoided to some extent.
图8是根据本发明实施例的弹性扩容系统架构示意图,在本发明的一个实施方式中,如图8所示,该系统还包括以下至少之一:虚拟化基础设施管理器VIM,设置为:根据VNFM的调用命令,创建资源缓冲池,将该资源缓冲池中的虚拟资源挂起、休眠、关机或恢复为工作状态;网络功能虚拟化协调器NFVO,设置为:根据VNFM的申请,向VIM查询资源信息,并根据该资源信息向VNFM返回创建资源的授权结果和/或创建资源的大小结果。FIG. 8 is a schematic diagram of an architecture of an elastic expansion system according to an embodiment of the present invention. In an embodiment of the present invention, as shown in FIG. 8, the system further includes at least one of the following: a virtualization infrastructure manager VIM, configured to: According to the calling command of the VNFM, create a resource buffer pool, suspend, sleep, shut down, or restore the virtual resource in the resource pool to a working state; the network function virtualization coordinator NFVO is set to: according to the VNFM application, to the VIM Querying the resource information, and returning the authorization result of creating the resource and/or the size result of creating the resource to the VNFM according to the resource information.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。 When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
通过本发明实施例,减少了在NFV系统中进行弹性扩容的时长,一定程度上避免了在业务量突然冲高而导致业务拥塞甚至业务中断的问题。 Through the embodiments of the present invention, the length of the elastic expansion in the NFV system is reduced, and the problem that the traffic suddenly rises and the service congestion or the service is interrupted is avoided to some extent.

Claims (15)

  1. 一种弹性扩容方法,包括:An elastic expansion method includes:
    虚拟化网络功能管理器VNFM创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源;The virtualized network function manager VNFM creates a resource buffer pool, wherein the resource buffer pool stores virtual resources required for loading services;
    所述VNFM对所述虚拟资源进行初始化配置;The VNFM performs initial configuration on the virtual resource;
    在需要扩容的情况下,所述VNFM通知虚拟化网络功能VNF设备在所述虚拟资源上加载业务。In the case that capacity expansion is required, the VNFM notifies the virtualized network function that the VNF device loads the service on the virtual resource.
  2. 根据权利要求1所述的方法,其中,所述VNFM对所述虚拟资源进行初始化配置,包括以下至少之一:The method of claim 1, wherein the VNFM performs initial configuration on the virtual resource, including at least one of the following:
    所述VNFM对所述虚拟资源的参数进行配置;The VNFM configures parameters of the virtual resource;
    所述VNFM在所述虚拟资源上安装业务版本;The VNFM installs a service version on the virtual resource;
    所述VNFM对所述虚拟资源中的存储资源进行格式化;The VNFM formats a storage resource in the virtual resource;
    所述VNFM对所述虚拟资源中的存储资源进行分区。The VNFM partitions storage resources in the virtual resource.
  3. 根据权利要求1所述的方法,其中,所述VNFM创建资源缓冲池,包括:The method of claim 1, wherein the VNFM creates a resource buffer pool, comprising:
    所述VNFM调用虚拟化基础设施管理器VIM创建资源缓冲池。The VNFM invokes the Virtualization Infrastructure Manager VIM to create a resource buffer pool.
  4. 根据权利要求1所述的方法,其中,在所述VNFM对所述虚拟资源进行初始化配置之后,还包括:The method of claim 1, after the initial configuration of the virtual resource by the VNFM, further comprising:
    所述VNFM将所述虚拟资源挂起、休眠或关机;The VNFM suspends, sleeps, or shuts down the virtual resource;
    在需要扩容的情况下,所述VNFM将所述虚拟资源恢复为工作状态。In the case that capacity expansion is required, the VNFM restores the virtual resource to a working state.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    所述VNFM将所述虚拟资源挂起、休眠或关机,包括:所述VNFM通过所述VIM将所述虚拟资源挂起、休眠或关机;Suspending, sleeping, or shutting down the virtual resource by the VNFM, including: the VNFM suspending, sleeping, or shutting down the virtual resource by using the VIM;
    所述VNFM将所述虚拟资源恢复为工作状态,包括:所述VNFM通过所述VIM将所述虚拟资源恢复为工作状态。The VNFM restores the virtual resource to an active state, including: the VNFM restores the virtual resource to an active state by using the VIM.
  6. 根据权利要求1至5任一项所述的方法,其中,所述VNFM创建资 源缓冲池之前,还包括:The method according to any one of claims 1 to 5, wherein the VNFM creation resource Before the source buffer pool, it also includes:
    所述VNFM向网络功能虚拟化协调器NFVO申请创建资源的授权和/或创建资源的大小。The VNFM applies to the Network Function Virtualization Coordinator NFVO for the authorization to create a resource and/or the size of the created resource.
  7. 一种弹性扩容装置,设置于VNFM上,该装置包括:An elastic expansion device is disposed on the VNFM, the device comprising:
    扩容处理模块,设置为:创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源;The capacity expansion processing module is configured to: create a resource buffer pool, where the resource buffer pool stores virtual resources required for loading a service;
    配置模块,设置为:对所述虚拟资源进行初始化配置;The configuration module is configured to: initialize the virtual resource;
    VNF设备接口模块,设置为:在需要扩容的情况下,通知VNF设备在所述虚拟资源上加载业务。The VNF device interface module is configured to notify the VNF device to load a service on the virtual resource if capacity expansion is required.
  8. 根据权利要求7所述的装置,其中,所述配置模块,包括以下至少之一:The apparatus of claim 7, wherein the configuration module comprises at least one of the following:
    参数配置单元,设置为:对所述虚拟资源的参数进行配置;a parameter configuration unit, configured to: configure parameters of the virtual resource;
    业务安装单元,设置为:在所述虚拟资源上安装业务版本;a service installation unit, configured to: install a service version on the virtual resource;
    格式化单元,设置为:对所述虚拟资源中的存储资源进行格式化;a formatting unit, configured to: format a storage resource in the virtual resource;
    分区单元,设置为:对所述虚拟资源中的存储资源进行分区。a partition unit, configured to: partition a storage resource in the virtual resource.
  9. 根据权利要求7所述的装置,其中,所述扩容处理模块,包括:The device according to claim 7, wherein the capacity expansion processing module comprises:
    第一调用单元,设置为:调用所述VIM创建资源缓冲池。The first calling unit is configured to: invoke the VIM to create a resource buffer pool.
  10. 根据权利要求7所述的装置,其中,所述扩容处理模块还设置为,The device according to claim 7, wherein the capacity expansion processing module is further configured to
    在所述配置模块对所述虚拟资源进行初始化配置之后,将所述虚拟资源挂起、休眠或关机;After the configuration module initializes the virtual resource, suspending, sleeping, or shutting down the virtual resource;
    在需要扩容的情况下,将所述虚拟资源恢复为工作状态。The virtual resource is restored to a working state if capacity expansion is required.
  11. 根据权利要求10所述的装置,其中,所述扩容处理模块包括:The device according to claim 10, wherein the expansion processing module comprises:
    第二调用单元,设置为:通过所述VIM将所述虚拟资源挂起、休眠、关机或恢复为工作状态。The second calling unit is configured to suspend, hibernate, shut down, or restore the virtual resource to a working state by using the VIM.
  12. 根据权利要求7至11任一项所述的装置,该装置还包括:The device according to any one of claims 7 to 11, further comprising:
    NFVO接口模块,设置为:向所述NFVO申请创建资源的授权和/或创建 资源的大小。An NFVO interface module, configured to: authorize and/or create a resource for the NFVO request The size of the resource.
  13. 一种弹性扩容系统,包括:An elastic expansion system comprising:
    虚拟化网络功能管理器VNFM,设置为:创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源,所述VNFM还设置为:对所述虚拟资源进行初始化配置;在需要扩容的情况下,通知虚拟化网络功能VNF设备;The virtualized network function manager VNFM is configured to: create a resource buffer pool, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VNFM is further configured to: initialize the configuration of the virtual resource; Notifying the virtualized network function VNF device if capacity expansion is required;
    虚拟化网络功能VNF设备,设置为:根据所述VNFM的通知,在所述虚拟资源上加载业务。The virtualized network function VNF device is configured to: load a service on the virtual resource according to the notification of the VNFM.
  14. 根据权利要求13所述的系统,该系统还包括以下至少之一:The system of claim 13 further comprising at least one of the following:
    虚拟化基础设施管理器VIM,设置为:根据所述VNFM的调用命令,创建资源缓冲池,其中,所述资源缓冲池中存储有加载业务所需的虚拟资源,该VIM还设置为:将所述虚拟资源挂起、休眠、关机或恢复为工作状态;The virtualized infrastructure manager VIM is configured to: create a resource buffer pool according to the calling command of the VNFM, wherein the resource buffer pool stores a virtual resource required for loading a service, and the VIM is further set to: The virtual resource is suspended, hibernated, shut down, or restored to a working state;
    网络功能虚拟化协调器NFVO,设置为:根据所述VNFM的申请,向所述VIM查询资源信息,并根据所述资源信息向所述VNFM返回创建资源的授权结果和/或创建资源的大小结果。The network function virtualization coordinator NFVO is configured to: query the resource information from the VIM according to the application of the VNFM, and return an authorization result of creating a resource and/or a size result of creating a resource to the VNFM according to the resource information. .
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2016/072170 2015-06-23 2016-01-26 Flexible capacity extending method, device and system WO2016206378A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510349526.5 2015-06-23
CN201510349526.5A CN106302210A (en) 2015-06-23 2015-06-23 A kind of elastic expansion method, Apparatus and system

Publications (1)

Publication Number Publication Date
WO2016206378A1 true WO2016206378A1 (en) 2016-12-29

Family

ID=57584586

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/072170 WO2016206378A1 (en) 2015-06-23 2016-01-26 Flexible capacity extending method, device and system

Country Status (2)

Country Link
CN (1) CN106302210A (en)
WO (1) WO2016206378A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352690A (en) * 2018-12-21 2020-06-30 中国电信股份有限公司 Virtual network element management method and device and computer readable storage medium
CN114650392A (en) * 2020-12-21 2022-06-21 西安宇视信息科技有限公司 Resource management method and device, electronic equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995568B (en) * 2018-01-02 2022-03-29 中国移动通信有限公司研究院 Fault linkage processing method, network element and storage medium
CN109992353B (en) * 2018-01-02 2021-11-02 中国移动通信有限公司研究院 Capacity expanding and reducing method, device, equipment and computer readable storage medium
CN110764868B (en) * 2018-07-25 2023-07-18 中兴通讯股份有限公司 Method for expanding capacity in NFV system, method for shrinking capacity, related device and storage medium
CN109639460B (en) * 2018-11-19 2021-12-07 中国联合网络通信集团有限公司 NFV resource management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
WO2015031866A1 (en) * 2013-08-30 2015-03-05 Clearpath Networks, Inc. System and method of network functions virtualization of network services within and across clouds
CN104601680A (en) * 2014-12-31 2015-05-06 华为技术有限公司 Resource management method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
WO2015031866A1 (en) * 2013-08-30 2015-03-05 Clearpath Networks, Inc. System and method of network functions virtualization of network services within and across clouds
CN104601680A (en) * 2014-12-31 2015-05-06 华为技术有限公司 Resource management method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352690A (en) * 2018-12-21 2020-06-30 中国电信股份有限公司 Virtual network element management method and device and computer readable storage medium
CN111352690B (en) * 2018-12-21 2023-05-02 中国电信股份有限公司 Virtual network element management method, device and computer readable storage medium
CN114650392A (en) * 2020-12-21 2022-06-21 西安宇视信息科技有限公司 Resource management method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106302210A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016206378A1 (en) Flexible capacity extending method, device and system
US9304705B2 (en) Virtual machine cloning
EP3588296A1 (en) Dynamically scaled hyperconverged system
US10120705B2 (en) Method for implementing GPU virtualization and related apparatus, and system
KR102105690B1 (en) Network Computing Testbed System Based on Open Source Virtualized Cloud Environment
US9871851B2 (en) Migrating private infrastructure services to a cloud
EP2965200B1 (en) Method and system for providing a roaming remote desktop
US9104645B2 (en) System and method of replicating virtual machines for live migration between data centers
US9256464B2 (en) Method and apparatus to replicate stateful virtual machines between clouds
WO2018171392A1 (en) Method for virtual machine capacity expansion and reduction and virtual management device
WO2019041765A1 (en) Method and apparatus for accessing desktop cloud virtual machine and desktop cloud controller
TW201110024A (en) Apparatus, method and program for processing information
CN111796838B (en) Automatic deployment method and device for MPP database
WO2015018225A1 (en) Method for expanding disk space of virtual machine, host machine and platform
WO2017107483A1 (en) Load balancing method for virtualized network management file downloading, and network management server
US20140082275A1 (en) Server, host and method for reading base image through storage area network
US20130212281A1 (en) Virtual Machine Splitting Method and System
CN104572941A (en) Data storage method, device and equipment
US20230115261A1 (en) Migrating stateful workloads between container clusters with different storage backends
CN103856502A (en) Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
Perkov et al. High-availability using open source software
US9769007B1 (en) Passive data protection system migration
US9459896B2 (en) Virtual machine merging method and system
US20230344646A1 (en) Clustered virtual trusted platform module domain services system
KR101681651B1 (en) System and method for managing database

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16813494

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16813494

Country of ref document: EP

Kind code of ref document: A1