Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberWO2016058318 A1
Publication typeApplication
Application numberPCT/CN2015/073964
Publication date21 Apr 2016
Filing date10 Mar 2015
Priority date17 Oct 2014
Also published asCN105577414A
Publication numberPCT/2015/73964, PCT/CN/15/073964, PCT/CN/15/73964, PCT/CN/2015/073964, PCT/CN/2015/73964, PCT/CN15/073964, PCT/CN15/73964, PCT/CN15073964, PCT/CN1573964, PCT/CN2015/073964, PCT/CN2015/73964, PCT/CN2015073964, PCT/CN201573964, WO 2016/058318 A1, WO 2016058318 A1, WO 2016058318A1, WO-A1-2016058318, WO2016/058318A1, WO2016058318 A1, WO2016058318A1
Inventors陈露静, Lujing CHEN, 周智伟, Zhiwei Zhou, 刘磊, Lei Liu
Applicant中兴通讯股份有限公司, Zte Corporation
Export CitationBiBTeX, EndNote, RefMan
External Links: Patentscope, Espacenet
Elastic virtual machine (vm) resource scaling method, apparatus and system
WO 2016058318 A1
Abstract
The present invention provides an elastic virtual machine (VM) resource scaling method, apparatus and system. The method comprises: determining, by a first node or an upstream node adjacent to the first node according to VM index information in the first node, that the first node reaches a predetermined threshold for performing elastic VM resource scaling; and performing elastic VM resource scaling on the first node by using the upstream node of the first node. The problem in the related art of excessive information exchange with an NFVO and high impact on the NFVO is solved, thereby achieving the effect of reducing the information exchange with the NFVO and lowering the impact on the NFVO.
Images(10)
Previous page
Next page
Claims(10)  translated from Chinese
  1. 一种虚拟机VM资源弹性伸缩处理方法,包括: A kind of virtual machines VM resources elastically stretchable processing method comprising:
    由第一节点或第一节点的相邻上游节点根据所述第一节点中的VM的指标信息确定所述第一节点达到了进行VM资源弹性伸缩处理的预定阈值; Adjacent upstream node by the first node or the first node of the first node is determined to achieve the VM resources were elastically stretchable handle index information according to a predetermined threshold value of the first node of the VM;
    利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理。 Utilizing the upstream node of the first node to the first node of the VM resource elastically stretchable process.
  2. 根据权利要求1所述的方法,其中,所述VM的指标信息包括以下信息至少之一: The method according to claim 1, wherein the index information includes at least one of the VM following information:
    内存信息、中央处理器CPU信息、硬盘信息、宽带信息、所述VM所承载的业务指标信息、所述VM的处理能力。 Memory information, the CPU information, disk information, internet information, business metrics information carried by the VM, the VM processing capabilities.
  3. 根据权利要求1所述的方法,其中,当所述第一节点为VM时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括: The method according to claim 1, wherein, when said first node VM, utilizing said first upstream node points to the first node of the VM resources elastically stretchable process comprising:
    所述VM向虚拟化网络功能VNF发送用于请求进行所述VM资源弹性伸缩处理的第一请求消息; The VM to the virtual networking capabilities VNF transmits a request of the VM processing resources elastically stretchable first request message;
    所述VNF根据所述第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息; VNF according to the first request message is sent to the virtual network management capabilities VNFM global resource request for pre-application interface to access a second resource request message;
    所述VNFM根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求; The VNFM according to the second request message to the network virtualization, orchestration NFVO send VM resource change request;
    所述NFVO根据所述VM资源变更请求对所述VM进行所述VM资源弹性伸缩处理。 The request for the VM NFVO the VM resources were elastically stretchable processing based on the VM resource changes.
  4. 根据权利要求1所述的方法,其中,当所述第一节点为虚拟化网络功能VNF时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括: The method according to claim 1, wherein, when the first node is a virtual network function VNF, utilizing said first upstream node points to the first node of the VM resources elastically stretchable process comprising:
    所述VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息; The VNF sent to the virtual network management capabilities VNFM global resource request for pre-application interface to access a second resource request message;
    所述VNFM根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求; The VNFM according to the second request message to the network virtualization, orchestration NFVO send VM resource change request;
    所述NFVO根据所述VM资源变更请求对所述VNF进行所述VM资源弹性伸缩处理。 The request for the VNF NFVO be elastically stretchable handle the VM resources based on the VM resource changes.
  5. 根据权利要求1所述的方法,其中,当所述第一节点为虚拟化网络功能管理VNFM时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括: The method according to claim 1, wherein, wherein, when the first node to the virtual network management capabilities VNFM, use upstream node of the first node to the first node of the VM resource processing includes elastically stretchable :
    所述VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息; The VNFM to network virtualization, orchestration NFVO send a request for global resource access request message to the third pre-application interface resources;
    在进行所述预申请资源申请成功的情况下,所述VNFM向所述NFVO发送VM资源变更请求; The case of performing the pre-application resource application is successful, the VNFM send VM resource change request to the NFVO;
    所述NFVO根据所述VM资源变更请求对所述VNFM进行所述VM资源弹性伸缩处理。 The NFVO request for the conduct of the VM resource VNFM elastically stretchable processing based on the VM resource changes.
  6. 一种虚拟机VM资源弹性伸缩处理装置,包括: A kind of virtual machines VM elastically stretchable resource processing device, comprising:
    确定模块,位于第一节点或第一节点的相邻上游节点中,设置为根据所述第一节点中的VM的指标信息确定所述第一节点达到了进行VM资源弹性伸缩处理的预定阈值; Determining module, located adjacent to the upstream node or the first node of the first node, the first node is set to determine the resources reached performed VM elastically stretchable handle index information according to a predetermined threshold value of the first node of the VM;
    处理模块,位于所述第一节点的各个上游节点中,设置为对所述第一节点进行所述VM资源弹性伸缩处理。 Processing module, each node is located upstream of the first node, the set of the first node of the VM resource elastically stretchable process.
  7. 根据权利要求6所述的装置,其中,所述处理模块包括: An apparatus according to claim 6, wherein the processing module comprises:
    第一发送单元,位于VM中,设置为当所述第一节点为所述VM时,向虚拟化网络功能VNF发送用于请求进行所述VM资源弹性伸缩处理的第一请求消息; First sending unit, located VM, set when said first node when the VM is transmitted to the virtual networking capabilities VNF for the VM resource request processing elastically stretchable first request message;
    第二发送单元,位于所述VNF中,设置为根据所述第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息; The second transmission unit, located in the VNF, is set according to the first request message sent to the resource request for a global virtual network management capabilities VNFM pre-application interface to access a second resource request message;
    第三发送单元,位于所述VNFM中,设置为根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求; Third transmission unit, located in the VNFM, set according to the second request message to the network virtualization, orchestration NFVO send VM resource change request;
    第一处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VM进行所述VM资源弹性伸缩处理。 The first processing unit, located in the NFVO, is set to be the request for the VM VM resources elastically stretchable process according to the VM resource changes.
  8. 根据权利要求6所述的装置,其中,所述处理模块包括: An apparatus according to claim 6, wherein the processing module comprises:
    第四发送单元,位于虚拟化网络功能VNF中,设置为当所述第一节点为所述VNF时,利用所述VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息; Fourth transmission unit, is in a virtual networking capabilities VNF, set when said first node is the VNF, the use of resources of the VNF access interface to the virtual network management function for requesting VNFM global pre-application the second resource request message;
    第五发送单元,位于所述VNFM中,设置为根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求; Fifth transmitting unit, located in the VNFM, set according to the second request message to the network virtualization, orchestration NFVO send VM resource change request;
    第二处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VNF进行所述VM资源弹性伸缩处理。 A second processing unit, located in the NFVO, VNF is set to be a request for the resource of the VM based on the VM elastically stretchable processing resource changes.
  9. 根据权利要求6所述的装置,其中,所述处理模块包括: An apparatus according to claim 6, wherein the processing module comprises:
    第六发送单元,位于虚拟化网络功能管理VNFM中,设置为当所述第一节点为所述VNFM时,利用所述VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息; Sixth transmission unit, is in a virtual network management capabilities VNFM, set when said first node is the VNFM when using the networking capabilities VNFM virtualized resources to access interface layout NFVO send a request for pre-global the third application resource request message;
    第七发送单元,位于所述VNFM中,设置为在进行所述预申请资源申请成功的情况下,向所述NFVO发送VM资源变更请求; Seventh transmitting unit, located in the VNFM, set the case during the pre-application resource application is successful, VM resources to send a request to change the NFVO;
    第三处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VNFM进行所述VM资源弹性伸缩处理。 Third processing unit, located in the NFVO, to carry out the request of the VM resources VNFM elastically stretchable processing resource changes according to the VM.
  10. 一种虚拟机VM资源弹性伸缩处理系统,包括权利要求6至9中任一项所述的装置。 A kind of virtual machines VM resources elastically stretchable processing system comprising the apparatus of Claim 6 to 9 in any one.
Description  translated from Chinese
虚拟机VM资源弹性伸缩处理方法、装置及系统 VM virtual machine resources elastically stretchable processing method, apparatus and system 技术领域 TECHNICAL FIELD

本发明涉及通信领域,具体而言,涉及一种虚拟机VM资源弹性伸缩处理方法、装置及系统。 The present invention relates to communication field, and particularly, to a virtual machine VM resources elastically stretchable processing method, apparatus and system.

背景技术 Background technique

在当前通讯领域,如何在电信设备中构建高效可靠的弹性伸缩服务是业内面临的重要问题和核心难题。 In the current field of communications, how to build an efficient and reliable telecommunications equipment elastically stretchable service is an important issue facing the industry and the core of the problem.

目前大多数的解决方案在安全性和可靠性上均不是很完善,特别是虚拟机(Virtual Machine,简称VM)的弹性伸缩指标监控部分,目前对虚拟机指标信息的监控多以集中式的单点监控方式为主,其中监控节点多放在上游,多以网络功能虚拟化编排(Network Functions Virtualisation Orchestrator,简称NFVO)为主,这种情况对NFVO的冲击过大,要是上游节点出现问题,就很容易会引发单点故障。 Most of the solutions on the safety and reliability are not perfect, especially in virtual machine (Virtual Machine, called VM) of elastically stretchable indicators monitoring section, the current virtual machine monitor multiple index information to a centralized single point monitoring the main way in which the monitoring many nodes on the upstream, and many more network virtualization, orchestration (network functions virtualisation Orchestrator, referred NFVO) the main impact of this case NFVO too large, and if there is a problem upstream node, it It can easily lead to a single point of failure.

图1是相关技术中的资源控制结构图,并且,目前的监控方式一般都是虚拟机将本机的指标信息定时采集上报给上游节点,然后由上游节点判断是否达到了伸缩规则的阀值,此种方式的优点是对集中式的批量管理等比较方便,但是缺点也很明显,比如: FIG. 1 is a related art resource control charts, and current monitoring methods are generally virtual machine index information acquisition timing of the unit reported to the upstream node and the upstream node determine whether the threshold of stretching the rules, advantage of this approach is the centralized batch management more convenient, but the shortcomings are obvious, such as:

1、消息在传送过程中出现丢包或者网络阻塞时将无法进行实时监控。 1, the message appears in the process of transmission will not be real-time monitoring of network congestion or packet loss.

2、将本机采集的指标信息交由上游节点进行伸缩判断的话,在精确性上也会有问题。 2, the machine will index information collected by the upstream node telescopic judgment, then the accuracy will be a problem.

针对相关技术中存在的对NFVO信息交互过多,冲击大的问题,目前尚未提出有效的解决方案。 For information exchange on NFVO excessive impact major problems existing in the related art, it has not yet come up with effective solutions.

发明内容 SUMMARY

本发明提供了一种虚拟机VM资源弹性伸缩处理方法、装置及系统,以至少解决相关技术中存在的对NFVO信息交互过多,冲击大的问题。 The present invention provides a virtual machine VM resources elastically stretchable processing method, apparatus and system to address at least NFVO information interaction excessive impact major problems existing in the related art.

根据本发明的一个方面,提供了一种虚拟机VM资源弹性伸缩处理方法,包括:由第一节点或第一节点的相邻上游节点根据所述第一节点中的VM的指标信息确定所述第一节点达到了进行VM资源弹性伸缩处理的预定阈值;利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理。 According to one aspect of the present invention, there is provided a virtual machine VM resources elastically stretchable processing method comprising: a first node from the adjacent upstream node or the first node is determined based on the index information of the first node of the VM It reached the first node VM resources were elastically stretchable handle a predetermined threshold value; use the first node upstream node to the first node of the VM resource elastically stretchable process.

优选地,所述VM的指标信息包括以下信息至少之一:内存信息、中央处理器CPU信息、硬盘信息、宽带信息、所述VM所承载的业务指标信息、所述VM的处理能力。 Preferably, the VM index information includes at least one of the following information: memory information, the CPU information, disk information, internet information, business metrics information carried by the VM, the VM processing capabilities.

优选地,当所述第一节点为VM时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括:所述VM向虚拟化网络功能VNF发送用于请求进行所述VM资源弹性伸缩处理的第一请求消息;所述VNF根据所述第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;所述VNFM根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;所述NFVO根据所述VM资源变更请求对所述VM进行所述VM资源弹性伸缩处理。 Preferably, when the first node VM, use upstream node of the first node to the first node of the VM resource elastically stretchable processing includes: the VM to the virtual networking capabilities for sending VNF the VM resource request processing elastically stretchable first request message; the VNF according to the first request message sending a second request message for requesting a global resource access interface pre-application resource management capabilities to the virtual network VNFM ; the VNFM according to the second request message to the network virtualization, orchestration NFVO send VM resource change request; the request for the VM NFVO the VM resources were elastically stretchable processing based on the VM resource changes.

优选地,当所述第一节点为虚拟化网络功能VNF时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括:所述VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;所述VNFM根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;所述NFVO根据所述VM资源变更请求对所述VNF进行所述VM资源弹性伸缩处理。 Preferably, when the first node to the virtual network capabilities VNF, use upstream node of the first node to the first node of the VM resource elastically stretchable processing includes: the virtual networking features to VNF management VNFM for requesting access to the global resources of pre-application interface a second resource request message; the VNFM according to the second request message to the network virtualization, orchestration NFVO send VM resource change request; the NFVO according to the VM resource change request for the VNF be elastically stretchable handle the VM resource.

优选地,当所述第一节点为虚拟化网络功能管理VNFM时,利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理包括:所述VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息;在进行所述预申请资源申请成功的情况下,所述VNFM向所述NFVO发送VM资源变更请求;所述NFVO根据所述VM资源变更请求对所述VNFM进行所述VM资源弹性伸缩处理。 Preferably, when the first node to the virtual network management capabilities VNFM, use upstream node of the first node to the first node of the VM resource elastically stretchable processing includes: the networking capabilities to virtual VNFM of choreography NFVO send a request for global resource access interface third pre-application resource request message; the case during the pre-application resource application is successful, the VNFM send VM resource change request to the NFVO; the NFVO request for the conduct of the VM resource VNFM elastically stretchable processing based on the VM resource changes.

根据本发明的另一方面,提供了一种虚拟机VM资源弹性伸缩处理装置,包括:确定模块,位于第一节点或第一节点的相邻上游节点中,设置为根据所述第一节点中的VM的指标信息确定所述第一节点达到了进行VM资源弹性伸缩处理的预定阈值;处理模块,位于所述第一节点的各个上游节点中,设置为对所述第一节点进行所述VM资源弹性伸缩处理。 According to another aspect of the present invention, there is provided a virtual machine VM resources elastically stretchable processing apparatus comprising: a determination module adjacent upstream node of the first node or the first node, set according to the first node the index information VM's determination that the first point reached VM resources were elastically stretchable handle a predetermined threshold value; a processing module, each node is located upstream of the first node, the set of the first node of the VM elastically stretchable processing resources.

优选地,所述处理模块包括:第一发送单元,位于VM中,设置为当所述第一节点为所述VM时,向虚拟化网络功能VNF发送用于请求进行所述VM资源弹性伸缩处理的第一请求消息;第二发送单元,位于所述VNF中,设置为根据所述第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;第三发送单元,位于所述VNFM中,设置为根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;第一处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VM进行所述VM资源弹性伸缩处理。 Preferably, the processing module includes: a first transmitting unit, located in the VM, is set to the first node when the VM, the virtual network capabilities for requesting the transmission VNF VM resources elastically stretchable Processing the first request message; a second transmission unit, located in the VNF, the pre-set application resources based on the first resource request message to the virtual access interface network management function for requesting a global VNFM a second request message; a third transmission unit, located in the VNFM, set according to the second request message to the network virtualization, orchestration NFVO send VM resource change request; a first processing unit, located in the NFVO, set in accordance with the said VM resource change request for the conduct of the VM VM resources elastically stretchable process.

优选地,所述处理模块包括:第四发送单元,位于虚拟化网络功能VNF中,设置为当所述第一节点为所述VNF时,利用所述VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;第五发送单元,位于所述VNFM中,设置为根据所述第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;第二处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VNF进行所述VM资源弹性伸缩处理。 Advantageously, the processing module includes: a fourth transmission unit, located in the virtual networking features VNF, is set to when the first node is the VNF, use the VNF to the virtual network management function for sending VNFM global resource access request interface of a second pre-application resource request message; a fifth transmission unit, located in the VNFM, set according to the second request message to the network virtualization, orchestration NFVO send VM resource change request; Article second processing unit, located in the NFVO, is set to be the request for the VNF VM resources elastically stretchable processing based on the VM resource changes.

优选地,所述处理模块包括:第六发送单元,位于虚拟化网络功能管理VNFM中,设置为当所述第一节点为所述VNFM时,利用所述VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息;第七发送单元,位于所述VNFM中,设置为在进行所述预申请资源申请成功的情况下,向所述NFVO发送VM资源变更请求;第三处理单元,位于所述NFVO中,设置为根据所述VM资源变更请求对所述VNFM进行所述VM资源弹性伸缩处理。 Preferably, the processing module comprises: a sixth transmitting unit is in a virtual network management VNFM function, set the time when said first node is the VNFM, VNFM to use the network virtualization, orchestration NFVO transmission VM resource seventh transmitting unit, located in the VNFM, set the case during the pre-application resource application is successful, sends the NFVO; pre-application resources to a request global resource access interface to a third request message change request; third processing unit, located in the NFVO, to carry out the request of the VM resources VNFM elastically stretchable processing resource changes according to the VM.

根据本发明的再一方面,提供了一种系统,包括上述任一项所述的虚拟机VM资源弹性伸缩处理装置。 According to another aspect of the present invention, there is provided a system comprising a virtual machine VM resources in any preceding elastically stretchable processing means.

通过本发明,采用由第一节点或第一节点的相邻上游节点根据所述第一节点中的VM的指标信息确定所述第一节点达到了进行VM资源弹性伸缩处理的预定阈值;利用所述第一节点的上游节点对所述第一节点进行所述VM资源弹性伸缩处理,解决了相关技术中存在的对NFVO信息交互过多,冲击大的问题,进而达到了减少与NFVO的信息交互,降低对该NFVO的冲击的效果。 By the present invention, the use of the adjacent upstream node of the first node or the first node of the first node is determined to achieve the VM resources were elastically stretchable handle index information according to a predetermined threshold value of the first node of the VM; Utilization upstream node said first node to the first node of the VM resource elastically stretchable treatment addresses the information exchange NFVO excessive impact major problems existing in the related art, and thus achieve a reduction in information exchange and the NFVO reduce the NFVO shock effect.

附图说明 BRIEF DESCRIPTION

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 Here described drawings used to provide a further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention and are used to explain the present invention, the present invention does not constitute improper limited. 在附图中: In the drawings:

图1是相关技术中的资源控制结构图; FIG. 1 is a related art resource control chart;

图2是根据本发明实施例的虚拟机VM资源弹性伸缩处理方法的流程图; A flowchart of a virtual machine VM resources elastically stretchable processing method according to the present invention, FIG. 2 embodiment;

图3是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置的结构框图; FIG. 3 is a block diagram of the processing apparatus according to the VM resource stretching the elastic embodiment of the present invention;

图4是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图一; Figure 4 is a block diagram according to the virtual machine VM resources elastically stretchable processing apparatus embodiment of the present invention, the structure of the processing module 34;

图5是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图二; Figure 5 is a virtual machine VM resources elastically stretchable processing apparatus in an embodiment of the present invention, the processing module 34 is a block diagram of two;

图6是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图三; Figure 6 is a block diagram showing the module structure 34 in the VM resources according to three elastic stretchable processing apparatus of the embodiment of the present invention is processed;

图7是根据本发明实施例的系统的结构框图; 7 is a block diagram of the system according to embodiments of the present invention;

图8是根据本发明实施例的VM弹性伸缩过程图; FIG 8 is a diagram VM elastically stretchable process according to the present embodiment of the invention;

图9是根据本发明实施例的VNF弹性收缩过程图; FIG. 9 is a VNF resilient embodiment of the present invention, the contraction process diagram;

图10是根据本发明实施例的VNFM弹性伸缩过程图。 FIG 10 is a diagram VNFM elastically stretchable process according to the present embodiment of the invention.

具体实施方式 detailed description

下文中将参考附图并结合实施例来详细说明本发明。 Referring to the drawings and will hereinafter be described in detail with an embodiment of the present invention. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 It should be noted that, without conflict, the present application examples and embodiments feature may be combined with each other.

在本实施例中提供了一种虚拟机VM资源弹性伸缩处理方法,图2是根据本发明实施例的虚拟机VM资源弹性伸缩处理方法的流程图,如图2所示,该流程包括如下步骤: In the present embodiment provides a virtual machine VM resources elastically stretchable processing method, FIG. 2 is a flowchart of the VM resources elastically stretchable processing method of the embodiment of the present invention, as shown in Figure 2, the process comprising the steps of :

步骤S202,由第一节点或第一节点的相邻上游节点根据第一节点中的VM的指标信息确定第一节点达到了进行VM资源弹性伸缩处理的预定阈值; Step S202, the adjacent upstream node by the first node or the first node of the first node is determined to achieve the VM resources were elastically stretchable handle index information according to a predetermined threshold value of the first node in the VM;

步骤S204,利用第一节点的上游节点对第一节点进行VM资源弹性伸缩处理。 Step S204, the use of the first node of the first node upstream node VM resources elastically stretchable process.

通过上述步骤,由第一节点或第一节点的相邻上游节点根据第一节点中的VM的指标信息确定第一节点达到了进行VM资源弹性伸缩处理的预定阈值;利用第一节点的上游节点对第一节点进行VM资源弹性伸缩处理,实现了由节点本身或节点的相邻 上游节点对节点进行状态监控,减少了对NFVO节点的冲击,解决了相关技术中存在的对NFVO信息交互过多,冲击大的问题,进而达到了减少与NFVO的信息交互,降低对该NFVO的冲击的效果。 Through the above steps, by adjacent upstream node of the first node or the first node is determined based on the index information of the first node in the first node VM VM resources be reached elastically stretchable handle a predetermined threshold value; use the first node upstream node on the first node VM resources elastically stretchable processing, by itself or in neighboring node upstream node to node status monitoring, reducing the impact on NFVO node to solve the related art in the presence of too much information interaction NFVO , the impact of a big problem, and thus achieve a reduction in information exchange and NFVO reduce the NFVO shock effect.

其中,上述VM的指标信息包括以下信息至少之一:内存信息、中央处理器CPU信息、硬盘信息、宽带信息、VM所承载的业务指标信息、VM的处理能力。 Among them, the index information of the VM comprises at least one of the following information: business metrics information memory information, the CPU information, disk information, internet information, VM hosted, VM processing capabilities.

在一个优选的实施例中,当第一节点为VM时,利用第一节点的上游节点对第一节点进行VM资源弹性伸缩处理包括:VM向虚拟化网络功能VNF发送用于请求进行VM资源弹性伸缩处理的第一请求消息;VNF根据第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;VNFM根据第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;NFVO根据VM资源变更请求对VM进行VM资源弹性伸缩处理。 In a preferred embodiment, when the first node VM, use the first node to the first node upstream node VM resources elastically stretchable process includes: VM virtual networking features VNF to send requests for VM resource elasticity elasticized first request message; VNF sending a second request message for requesting a global resource access interface pre-application resource management capabilities to the virtual network VNFM according to the first request message; VNFM virtual network to function according to the second request message of choreography NFVO send VM resource change request; NFVO according to VM resource change request for VM VM resources were elastically stretchable process. 从而实现了在对VM进行VM资源弹性伸缩处理时,极大的减少了和NFVO之间的信息交互,降低了对NFVO的冲击。 In order to achieve the VM resources on VM be elastically stretchable processing, and greatly reduces the interaction between NFVO information, reducing the impact on the NFVO.

在一个优选的实施例中,当第一节点为虚拟化网络功能VNF时,利用第一节点的上游节点对第一节点进行VM资源弹性伸缩处理包括:VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;VNFM根据第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;NFVO根据VM资源变更请求对VNF进行VM资源弹性伸缩处理。 In a preferred embodiment, when the first node virtual networking capabilities VNF, use the first node to the first node upstream node VM resources elastically stretchable process comprising: VNF to the virtual network management function for sending VNFM global resource access request interface to pre-apply a second resource request message; VNFM according to a second request message to the network virtualization, orchestration NFVO send VM resource change request; NFVO according to VM resource change request for VNF VM resources were elastically stretchable process. 从而实现了在对VNF进行VM资源弹性伸缩处理时,极大的减少了和NFVO之间的信息交互,降低了对NFVO的冲击。 In order to achieve the VM resources on the VNF be elastically stretchable processing, and greatly reduces the interaction between NFVO information, reducing the impact on the NFVO.

在一个优选的实施例中,当第一节点为虚拟化网络功能管理VNFM时,利用第一节点的上游节点对第一节点进行VM资源弹性伸缩处理包括:VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息;在进行预申请资源申请成功的情况下,VNFM向NFVO发送VM资源变更请求;NFVO根据VM资源变更请求对VNFM进行VM资源弹性伸缩处理。 In a preferred embodiment, when the first node to the virtual network management capabilities VNFM, use the first node to the first node upstream node VM resources elastically stretchable process comprising: VNFM to the network virtualization, orchestration NFVO transmission pre-application resources to a request global resource access interface third request message; the case during the pre-application resource application is successful, VNFM send VM resource change requests to NFVO; NFVO according to VM resource change requests to be VNFM VM resources elastically stretchable deal with. 从而实现了在对VNFM进行VM资源弹性伸缩处理时,极大的减少了和NFVO之间的信息交互,降低了对NFVO的冲击。 In order to achieve the VM resources to be elastically stretchable VNFM processing, and greatly reduces the interaction between NFVO information, reducing the impact on the NFVO.

在本实施例中还提供了一种虚拟机VM资源弹性伸缩处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。 In the present embodiment also provides a virtual machine VM resources elastically stretchable processing apparatus for implementing the above-described embodiments and preferred embodiments have been described is omitted. 如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。 As used hereinafter, the term "module" can achieve a predetermined function of a combination of software and / or hardware. 尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。 Although the device described in the following examples are preferably implemented in software, but hardware, or a combination of software and hardware are also possible and contemplated.

图3是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置的结构框图,如图3所示,该装置包括确定模块32和处理模块34。 Figure 3 is a block diagram showing the structure shown in FIG. 3 the VM resources elastically stretchable processing apparatus according to an embodiment of the present invention, the apparatus comprises a determining module 32 and a processing module 34. 下面对该装置进行说明。 The apparatus will be described below.

确定模块32,位于第一节点或第一节点的相邻上游节点中,设置为根据第一节点中的VM的指标信息确定第一节点达到了进行VM资源弹性伸缩处理的预定阈值;处理模块34,位于第一节点的各个上游节点中,连接至上述确定模块32,设置为对第一节点进行VM资源弹性伸缩处理。 Determining module 32, located at the first node and the first node of the adjacent upstream node, it is set to be reached to determine the first node VM resources elastically stretchable handle index information according to a predetermined threshold value of the first node in the VM; processing module 34 each node is located upstream of the first node is connected to said determination module 32, is set for the first node VM resources elastically stretchable process. 其中,上述VM的指标信息可以包括以下信息至少之一:内存信息、中央处理器CPU信息、硬盘信息、宽带信息、VM所承载的业务指标信息、VM的处理能力。 Among them, the index information of the VM may include at least one of the following information: business metrics information memory information, the CPU information, disk information, internet information, VM hosted, VM processing capabilities.

图4是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图一,如图4所示,该处理模块34包括第一发送单元42、第二发送单元44、第三发送单元46和第一处理单元48。 The processing module 34 is a block diagram showing the structure of the VM resources elastically stretchable processing apparatus according to the present invention, FIG. 4 is an embodiment, shown in Figure 4, the processing module 34 comprises a first sending unit 42, second sending unit 44, three transmission unit 46 and the first processing unit 48. 下面对该处理模块34进行说明。 Below the processing module 34 will be described.

第一发送单元42,位于VM中,设置为当第一节点为VM时,向虚拟化网络功能VNF发送用于请求进行VM资源弹性伸缩处理的第一请求消息;第二发送单元44,位于VNF中,连接至上述第一发送单元42,设置为根据第一请求消息向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;第三发送单元46,位于VNFM中,连接至上述第二发送单元44,设置为根据第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;第一处理单元48,位于NFVO中,连接至上述第三发送单元46,设置为根据VM资源变更请求对VM进行VM资源弹性伸缩处理。 The first transmission unit 42, located in the VM, when the first node is set to VM to virtual networking features VNF transmits a first request message requesting VM resources elastically stretchable processing; second sending unit 44, located VNF , and connected to the first transmission unit 42, is set according to the first request message is sent to the virtual network management function for requesting VNFM global resource access interface pre-application of a second resource request message; a third transmission unit 46, located in VNFM connected to the second transmission unit 44, is set according to a second request message to the network virtualization, orchestration NFVO send VM resource change request; a first processing unit 48, located in NFVO connected to the third transmission unit 46, is set to be a request for VM VM resources elastically stretchable processing based VM resource changes.

图5是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图二,如图5所示,该处理模块34包括第四发送单元52、第五发送单元54、和第二处理单元56。 Figure 5 is a block diagram showing the VM resources elastically stretchable processing apparatus in an embodiment of the present invention is based on two of the processing module 34, shown in Figure 5, the processing module 34 includes a fourth transmitting unit 52, the fifth transmitting unit 54, and The second processing unit 56. 下面对该处理模块34进行说明。 Below the processing module 34 will be described.

第四发送单元52,位于虚拟化网络功能VNF中,设置为当第一节点为VNF时,利用VNF向虚拟化网络功能管理VNFM发送用于请求全局的资源访问接口进行预申请资源的第二请求消息;第五发送单元54,位于VNFM中,连接至上述第四发送单元52,设置为根据第二请求消息向网络功能虚拟化编排NFVO发送VM资源变更请求;第二处理单元56,位于NFVO中,连接至上述第五发送单元54,设置为根据VM资源变更请求对VM进行VM资源弹性伸缩处理。 Fourth second request transmitting unit 52, is in a virtual networking capabilities VNF, set when the first node is VNF, for the use of resources to the virtual access interface VNF network management function for requesting VNFM global pre-application resources message; fifth transmitting unit 54, located in VNFM connected to the fourth transmission unit 52, is set according to a second request message to the network virtualization, orchestration NFVO send VM resource change request; a second processing unit 56, located in NFVO connected to said fifth transmitting unit 54, is set to be a request for VM VM resources elastically stretchable processing based VM resource changes.

图6是根据本发明实施例的虚拟机VM资源弹性伸缩处理装置中处理模块34的结构框图三,如图6所示,该处理模块34包括第六发送单元62、第七发送单元64、和第三处理单元66。 FIG 6 is a block diagram showing the structure of the VM resources elastically stretchable processing apparatus of the embodiment of the present invention, the three processing modules 34, shown in Figure 6, the module 34 comprises a processing unit 62 sends a sixth, a seventh transmitting unit 64, and third processing unit 66. 下面对该处理模块34进行说明。 Below the processing module 34 will be described.

第六发送单元62,位于虚拟化网络功能管理VNFM中,设置为当第一节点为VNFM时,利用VNFM向网络功能虚拟化编排NFVO发送用于请求全局的资源访问接口进行预申请资源的第三请求消息;第七发送单元64,位于VNFM中,连接至上述第六发送单元62,设置为在进行预申请资源申请成功的情况下,向NFVO发送VM资源变更请求;第三处理单元66,位于NFVO中,连接至上述第七发送单元64,设置为根据VM资源变更请求对VM进行VM资源弹性伸缩处理。 Sixth transmitting unit 62, it is in a virtual network management capabilities VNFM, set when the first node VNFM to use VNFM to the network virtualization, resource access interface layout NFVO send a request for the global pre-application resources third request message; seventh transmitting unit 64, located in VNFM, connected to said sixth transmission unit 62, a pre-set as the application performing the successful application of resources, resource change request to send VM NFVO; third processing unit 66, located NFVO, connect to the seventh transmission unit 64, is set to be a request for VM VM resources elastically stretchable processing based VM resource changes.

图7是根据本发明实施例的虚拟机VM资源弹性伸缩处理系统的结构框图,如图7所示,该虚拟机VM资源弹性伸缩处理系统72包括上述任一项的虚拟机VM资源弹性伸缩处理装置74。 7 is a block diagram showing the VM resources elastically stretchable processing system according to an embodiment of the present invention, as shown in Figure 7, the virtual machine VM resources elastically stretchable processing system 72 includes a virtual machine VM resources elastically stretchable processing any of the above means 74.

为了解决相关技术中存在的对NFVO信息交互过多,冲击大的问题,在本发明实施例中还提供了一种资源按需供给和动态管理的方法,通过本发明实施例中的方法可以减轻对上游节点NFVO的冲击,有效消除单点故障,并减少消息交互,同时让采集的指标信息更加精确,从而实现了构建高效、安全可靠的弹性伸缩服务的目的。 In order to address the excessive NFVO information exchange, the impact of large problems that exist in the related art, in the embodiment of the present invention also provides a resource supply and demand dynamic management method, embodiment of the invention the method can reduce the the impact on the upstream node NFVO effectively eliminate single points of failure and reduces the message interaction, while allowing more accurate index information collection, enabling the construction of efficient, safe and reliable service elastically stretchable purposes.

在该实施例中通过使原来统一管理虚拟资源的NFVO节点下沉,通过权限下放分层管理的方式,来减小对NFVO的冲击,并提供资源管理接口给VNFM,使其也能访问预占资源、VM状态、VM已使用资源等全局虚拟资源信息,从而不用每次都通过NFVO访问。 In this embodiment, by making the original unified management of virtual resources NFVO node goes down, hierarchical management authority delegated by the way, to reduce the impact on NFVO, and to provide resources to the management interface VNFM, so that it can access pre-emption resources, VM state, VM has been the use of global information resources, virtual resources, which do not always have access through NFVO.

优选实施例一当上述第一节点为VM时的VM资源弹性伸缩处理: A preferred embodiment when the VM resources elastically stretchable processing said first node when the VM:

最下游的VM资源创建好弹性伸缩规则后,各个VM是通过服务器负载均衡(Server Load Balancing,简称为SLB)的方式绑定在一起组成的虚拟化网络功能(Virtualised Network Function,简称为VNF),多指网元侧,相对于监控VNF层级的指标信息而言,监控VNF下每个VM的指标信息显得更为精确和及时,这里的VM监控指标主要由内存、CPU、硬盘、带宽等系统信息组成,通过每个VM自身进行实时状态监控,并由自身判断是否达到弹性伸缩条件,若是VM自身无法进行判断是否达到了弹性伸缩规则的条件,则将监控的信息数据交由上游的VNF节点进行判断。 VM resources after the most downstream elastically stretchable created rules, each VM through server load balancing (Server Load Balancing, simply referred to as SLB) way to bind together to form virtual network function of (Virtualised Network Function, referred to as the VNF), multi-fingered NE side, with respect to the index information monitoring VNF level, the index information for each VM under surveillance VNF is more accurate and timely, here VM monitoring index consists of memory, CPU, hard disk, bandwidth, etc. system information composed by each VM its own real-time status monitoring, by itself determine whether the elastically stretchable condition, if the VM itself unable to judge whether the rules of the elastically stretchable condition, the message data will be monitored by the upstream node VNF judgment. 若是达到伸缩条件,则发送第一请求消息给VNF进行弹性伸缩处理,并发送请求给虚拟化网络功能管理(Virtualised Network Function Manager,简称为VNFM),当系统整体负荷较低的情况下,如果达到了缩容条件,则由VNF发送第二请求消息给VNFM,并触发弹性伸缩请求,VNFM发送VM资源请求变更消息给NFVO,通过对VM进行一系列状态迁移操作,释放VM资源,然后对VNF进行SLB处理,降低系统总体拥有成本(Total Cost of Ownership,简称为TCO);当系统整体负荷较高的情况下,如 果达到了扩容条件,则由VNF发送第二请求消息给VNFM,VNFM发送VM资源请求变更消息给NFVO,并根据VNF绑定的VM配置,通过对VM进行一系列状态迁移操作,启动相应的VM,然后对VNF进行SLB处理,以此扩展、扩大系统处理能力。 If telescopic reach condition, sending a first request message to the VNF elastically retractable handle, and send requests to the virtual network management function (Virtualised Network Function Manager, referred to as VNFM), when a lower overall system load, if it reaches the volume reduction conditions by VNF sending a second request message to VNFM, and trigger elastically stretchable request, VNFM send VM resource request message to change NFVO, through a series of state of the VM migration operations, the release of VM resource, and then carried on VNF SLB processing costs, reduce system TCO (total cost of ownership, referred to as TCO); when the higher overall system load, if it reaches the expansion conditions by VNF sending a second request message to VNFM, VNFM send VM resources change request message to NFVO, and according to VNF binding VM configuration, VM through a series of state transition operation, start the appropriate VM, and then VNF were SLB processing, in order to extend and expand system capacity.

综上可知,NFVO配合VNFM、VNF完成VM的弹性伸缩。 To sum up, NFVO with VNFM, VNF completed elastically stretchable VM. 该过程由VM发起,VNFM收到VNF的创建请求后,计算所需修改的资源列表,向NFVO申请分配资源,完成资源的预占和分配,VNFM启动新增VM并向VNF通知完成。 The process is initiated by the VM, VNFM received a request to create VNF after computing resources required to modify the list to NFVO apply for the allocation of resources to complete the pre-emption and allocation of resources, VNFM start the new VM to notify VNF completed. 图8是根据本发明实施例的VM弹性伸缩过程图,如图8所示,该过程包括如下步骤: Figure 8 is elastically stretchable VM process diagram of an embodiment of the present invention, as shown in Figure 8, the process comprising the steps of:

步骤S802:云数据中心平台部署完成,VM资源创建好弹性伸缩规则,虚拟网络部署完成,VM信息采集完成; Step S802: cloud data center platform deployed, VM resources created elastically stretchable rule, virtual network deployment is complete, VM information acquisition is complete;

步骤S804:VM自身进行状态监控以及弹性判断,若VM自身无法进行判断是否达到了弹性伸缩规则的条件,则将监控的信息数据交由上游的VNF节点进行判断; Step S804: VM itself status monitoring and a resilient judgment, if the VM itself unable to judge whether the rules of the elastically stretchable condition, the message data will be monitored by the upstream node VNF judge;

步骤S806:若达到伸缩条件,则由VM发送第一请求消息给VNF进行弹性伸缩处理; Step S806: If you reach telescopic condition by sending a first request message to the VM VNF elastically scalable processing;

步骤S808:VNF发送请求对VM资源进行弹性伸缩处理的弹性伸缩请求给VNFM; Step S808: VNF send a request for VM resources elastically stretchable elastic telescopic handle requests to VNFM;

步骤S810:VNFM向NFVO发送VM资源变更请求,其中,VNFM解析VNF发起的创建VM请求,请求中携带VM名称和操作、以及创建VM的个数: Step S810: VNFM send NFVO VM resource change request, which, VNFM resolve to create VM request VNF initiated request carries VM name and operations, and create a number of the VM:

如果VM已经存在,当VM处于异常状态时,直接上报错误; If the VM already exists, when the VM is in an abnormal state, directly reporting error;

如果VM已经存在,当VM处于运行状态时,直接上报成功; If the VM already exists, when the VM is running, direct reporting success;

如果VM已经存在,VM处于其他正常状态,则VNFM启动VM到正常运行状态,然后上报成功; If the VM already exists, in other VM normal state, VNFM start VM to normal operation, and then reported success;

如果VM不存在,则进入下一步; If the VM does not exist, the next step;

VNFM向NFVO请求全局的资源访问接口进行预申请资源,资源申请成功上报消息并进入下一步。 VNFM NFVO request to global resource access interface pre-application resources, resource reporting message and the application is successful the next step. 若NFVO无应答超时,则流程终止并上报错误;如果预申请资源失败,则上报失败,流程终止;VNFM发送资源分配请求给NFVO,资源分配成功上报消息并进入下一步;若NFVO无应答超时,则流程终止并上报错误;如果资源分配失败,则上报失败,流程终止; If NFVO no answer timeout, the flow is terminated and report problems; if the pre-application resource fails, the escalation fails, the process is terminated; VNFM send a resource allocation request to NFVO, resource allocation message and successfully submitted to the next step; if NFVO no answer timeout, the flow is terminated and reported an error; if the resource allocation fails, the escalation fails, the process is terminated;

步骤S812:NFVO成功创建VM,最终使VM达到初始状态,VNFM生命周期业务向VNF发送启动创建的VM;若启动VM失败,则上报错误;VNFM上报消息返回VNF创建结果,携带操作动作和VM名称,以及每个VM的操作结果;VNF对新增VM进行SLB处理。 Step S812: NFVO successfully created VM, and finally to VM reaches an initial state, VNFM lifecycle business sends VNF start VM created; if starting a VM fails, reporting error; VNFM reporting message returned VNF create a result, carry operator action and VM name and operating results for each of the VM; VNF to perform SLB new VM process.

优选实施例二当上述第一节点为VNF时的VM资源弹性伸缩处理 Two when said first node is VNF VM resources when processing the preferred embodiment elastically stretchable

VNF节点除了有可能需要判断下游的VM指标信息外,还需要同时判断并监控自身的指标信息,这里的监控指标主要涉及内存、CPU、硬盘、带宽等系统信息以及网元侧所承载的业务指标信息,比如每秒事务处理次数(Transactions Per Second,简称为TPS),某种业务的负荷情况等,若是VNF自身无法进行判断是否达到了弹性伸缩规则的条件,则将监控的所有信息数据交由上游的VNFM节点进行判断,若是达到伸缩条件,则由VNF进行弹性伸缩处理,并发送相关请求给VNFM,当系统整体负荷较低的情况下,如果达到了缩容条件,则发送第二请求消息给VNFM,并触发弹性伸缩请求,VNFM发送VM资源变更请求给NFVO,通过对VM进行一系列状态迁移操作,释放VM资源,然后对VNF进行SLB处理,降低系统TCO;当系统整体负荷较高的情况下,如果达到了扩容条件,则发送第二请求消息给VNFM,VNFM然后发送VM资源变更请求给NFVO,并根据VNF绑定的VM配置,通过对VM进行一系列状态迁移操作,启动相应的VM,然后对VNF进行SLB处理,以此扩展、扩大系统处理能力。 VNF node addition may need to determine the VM index information downstream, but also need to determine and monitor its index information, where the monitoring indicators mainly related to system information and the NE memory, CPU, hard disk and bandwidth carrying business metrics information such as the number of transactions per second (transactions per second, referred to as TPS), and so some traffic load, if VNF itself unable to judge whether the elastically stretchable rule conditions, all information and data will be monitored by the VNFM upstream node to judge, if the conditions telescopic reach, by VNF elastically retractable handle, and sends the request to the relevant VNFM, when a lower overall system load, if it reaches the volume reduction criteria, sending a second request message to VNFM, and trigger elastically stretchable request, VNFM VM resource change request sent to NFVO, through a series of state of the VM migration operations, the release of VM resources, then VNF were SLB processing, reduce system TCO; when the overall system load is high case if the conditions to achieve the expansion, then sending a second request message to VNFM, VNFM then send VM resource change request to NFVO, and according to VNF binding VM configuration, VM through a series of state transition operation, start the appropriate VM, then VNF were SLB processing, in order to extend and expand system capacity.

由上述可知,NFVO配合VNFM完成VM的弹性伸缩。 From the foregoing, NFVO VNFM complete with elastically stretchable VM. 该过程由VM发起,VNFM收到VNF的创建请求后,计算所需修改的资源列表,向NFVO申请分配资源,完成资源的预占和分配,VNFM启动新增VM并向VNF通知完成。 The process is initiated by the VM, VNFM received a request to create VNF after computing resources required to modify the list to NFVO apply for the allocation of resources to complete the pre-emption and allocation of resources, VNFM start the new VM to notify VNF completed. 图9是根据本发明实施例的VNF弹性收缩过程图,如图9所示,该过程包括如下步骤: Figure 9 is an elastic contraction VNF view of an embodiment of the present invention, as shown in Figure 9, the process comprising the steps of:

步骤S902:云数据中心平台部署完成,VNF资源创建好弹性伸缩规则,虚拟网络部署完成,VNF信息采集完成; Step S902: cloud data center platform deployed, VNF resources created elastically stretchable rule, virtual network deployment is complete, VNF information acquisition is complete;

步骤S904:VNF自身弹性判断,若VNF自身无法进行判断是否达到了弹性伸缩规则的条件,则将监控的信息数据交由上游的VNFM节点进行判断; Step S904: VNF own elasticity judgment, if VNF itself unable to judge whether the rules of the elastically stretchable condition, the message data will be monitored by the upstream node VNFM judge;

步骤S906:若达到伸缩条件,则由VNF发送请求进行VM资源弹性伸缩处理的弹性伸缩处理消息给VNFM; Step S906: If you reach the elastic stretching conditions, send request by VNF VM resources elastically stretchable handle telescopic handle message to VNFM;

步骤S908:VNFM解析VNF发起的创建VM请求,请求中携带VM名称和操作、以及创建VM的个数: Step S908: VNFM resolve to create the VM request VNF initiated request carries VM name and operations, and create a number of the VM:

如果VM已经存在,当VM处于异常状态时,直接上报错误; If the VM already exists, when the VM is in an abnormal state, directly reporting error;

如果VM已经存在,当VM处于运行状态时,直接上报成功; If the VM already exists, when the VM is running, direct reporting success;

如果VM已经存在,VM处于其他正常状态,则VNFM启动VM到正常运行状态,然后上报成功; If the VM already exists, in other VM normal state, VNFM start VM to normal operation, and then reported success;

如果VM不存在,则进入下一步; If the VM does not exist, the next step;

VNFM向NFVO发送第二请求消息,请求全局的资源访问接口进行预申请资源,资源申请成功上报消息并进入下一步;若NFVO无应答超时,则流程终止并上报错误;如果预申请资源失败,则上报失败,流程终止; VNFM NFVO sending a second request message requesting a global resource access interface pre-application resources, resource reporting application is successful message and enter the next step; if NFVO no answer timeout, the flow is terminated and report problems; if the pre-application resource fails, escalation fails, the process is terminated;

VNFM发送VM资源变更请求给NFVO,资源分配成功上报消息并进入下一步。 VNFM VM resource change request sent to NFVO, resource allocation message and successfully submitted to the next step. 若NFVO无应答超时,则流程终止并上报错误;如果资源分配失败,则上报失败,流程终止; If NFVO no answer timeout, the flow is terminated and reported an error; if the resource allocation fails, the escalation fails, the process is terminated;

步骤S910:NFVO成功创建VM,最终使VM达到初始状态,VNFM生命周期业务向VNF发送启动创建的VM;若启动VM失败,则上报错误;VNFM上报消息返回VNF创建结果,携带操作动作和VM名称,以及每个VM的操作结果;VNF对新增VM进行SLB处理。 Step S910: NFVO successfully created VM, and finally to VM reaches an initial state, VNFM lifecycle business sends VNF start VM created; if starting a VM fails, reporting error; VNFM reporting message returned VNF create a result, carry operator action and VM name and operating results for each of the VM; VNF to perform SLB new VM process.

优选实施例三当上述第一节点为VNFM时的VM资源弹性伸缩处理: Three cases when said first node is VNFM VM resources when treatment is preferably elastically stretchable implementation:

VNFM节点除了有可能需要判断下游的VNF指标信息外,还需要同时判断并监控自身的指标信息,这里的监控指标主要涉及内存、CPU、硬盘、带宽等系统信息以及网元处理能力,若是达到伸缩条件,则进行弹性伸缩处理,当系统整体负荷较低的情况下,如果达到了缩容条件,则触发弹性伸缩请求,发送VM资源请求变更消息给NFVO,通过对VM进行一系列状态迁移操作,释放VM资源,然后对VNFM进行SLB处理,降低系统TCO;当系统整体负荷较高的情况下,如果达到了扩容条件,则触发弹性伸缩请求,发送资源请求变更消息给NFVO,并根据VNFM绑定的VM配置,通过对VM进行一系列状态迁移操作,启动相应的VM,然后对VNFM进行SLB处理,以此扩展、扩大系统处理能力。 VNFM node addition may need to determine VNF index information downstream, but also need to determine and monitor its index information, where the monitoring indicators mainly related to memory, CPU, hard disk, bandwidth system information, and network element capabilities, if reached stretch conditions are elastically retractable handle, when a lower overall system load, if it reaches the volume reduction condition is triggered elastically stretchable request, send VM resource request message to change NFVO, through a series of state of the VM migration, VM release resources, then VNFM be SLB processing, reduce system TCO; when the higher overall system load, if it reaches the expansion condition is triggered elastically stretchable request, send a resource request message to change NFVO, and in accordance with the binding VNFM the VM configuration, VM through a series of state transition operation, start the appropriate VM, and then VNFM be SLB processing, in order to extend and expand system capacity.

综上可知,NFVO配合完成VNFM的弹性伸缩。 To sum up, NFVO with the completion of the elastically stretchable VNFM. 该过程由VM发起,VNFM收到VNF的创建请求后,计算所需修改的资源列表,向NFVO申请分配资源,完成资源的预占和分配,VNFM启动新增VM并向VNF通知完成。 The process is initiated by the VM, VNFM received a request to create VNF after computing resources required to modify the list to NFVO apply for the allocation of resources to complete the pre-emption and allocation of resources, VNFM start the new VM to notify VNF completed. 图10是根据本发明实施例的VNFM弹性伸缩过程图,如图10所示,该过程包括如下步骤: Figure 10 is elastically stretchable VNFM process diagram of an embodiment of the present invention, as shown in Figure 10, the process comprising the steps of:

步骤S1002:云数据中心平台部署完成,VNFM资源创建好弹性伸缩规则,虚拟网络部署完成,VNFM信息采集完成; Step S1002: cloud data center platform deployed, VNFM resources created elastically stretchable rule, virtual network deployment is complete, VNFM information acquisition is complete;

步骤S1004:VNFM自身弹性判断,若VNFM自身无法进行判断是否达到了弹性伸缩规则的条件,则将监控的信息数据交由上游的NFVO节点进行判断;若达到伸缩条件,则由VNFM发送用于请求进行VM资源弹性伸缩处理的弹性伸缩处理消息给NFVO; Step S1004: VNFM own elasticity judgment, if VNFM itself unable to judge whether the rules of the elastically stretchable condition, the message data will be monitored by the upstream node NFVO judge; if conditions telescopic reach, by sending a request for VNFM elastically stretchable handle message VM resources to deal with elastically stretchable NFVO;

步骤S1006:VNFM解析自身发起的创建VM请求,请求中携带VM名称和操作、以及创建VM的个数: Step S1006: VNFM resolve itself initiated the request to create a VM, VM request carries the name and operations, and create a number of the VM:

如果VM已经存在,当VM处于异常状态时,直接上报错误; If the VM already exists, when the VM is in an abnormal state, directly reporting error;

如果VM已经存在,当VM处于运行状态时,直接上报成功; If the VM already exists, when the VM is running, direct reporting success;

如果VM已经存在,VM处于其他正常状态,则VNFM启动VM到正常运行状态,然后上报成功; If the VM already exists, in other VM normal state, VNFM start VM to normal operation, and then reported success;

如果VM不存在,则进入下一步; If the VM does not exist, the next step;

VNFM向NFVO发送第三请求消息,请求全局的资源访问接口进行预申请资源,资源申请成功上报消息并进入下一步;若NFVO无应答超时,则流程终止并上报错误;如果预申请资源失败,则上报失败,流程终止;VNFM发送VM资源变更请求给NFVO,资源分配成功上报消息并进入下一步;若NFVO无应答超时,则流程终止并上报错误;如果资源分配失败,则上报失败,流程终止; VNFM send NFVO third request message requesting a global resource access interface pre-application resources, resource reporting application is successful message and enter the next step; if NFVO no answer timeout, the flow is terminated and report problems; if the pre-application resource fails, escalation fails, the process is terminated; VNFM send change requests to NFVO VM resources, resource allocation message and successfully submitted to the next step; if NFVO no answer timeout, the flow is terminated and reported an error; if the resource allocation fails, the escalation fails, the process is terminated;

步骤S1008:NFVO成功创建VM,上报消息返回VNFM创建结果,携带操作动作和VM名称,以及每个VM的操作结果;VNFM对新增VM进行SLB处理。 Step S1008: NFVO successfully created VM, reporting message returned VNFM create a result, carry operator action and VM name, as well as the operating results of each of the VM; VNFM for new VM were SLB process.

在上述各实施例中,各个层级的VM通过自身及上游节点的实时监控及弹性伸缩判断,尽量减少各层级的频繁实时信息交互,更加精确的实时检查并监控VM状态指标,检查如果达到弹性伸缩的条件,触发弹性伸缩动作,对VM自动进行状态迁移,调整VM的状态,通过云数据中心操作内存、CPU、硬盘、带宽等VM资源,达到扩展网元能力或者降低TCO。 In the above embodiments, various levels of VM by itself and the upstream node real-time monitoring and elastically stretchable judgment, minimize real-time information exchange frequently at all levels, more accurate real-time checks to monitor VM status indicators, to check if it reaches elastically stretchable conditions, elastically stretchable trigger action, the VM state migration automatically adjust the state of the VM through the cloud data center operating memory, CPU, hard disk, bandwidth VM resources, to achieve the ability to extend the NE or reduce TCO.

相对于相关技术,本发明实施例中提出的电信设备虚拟化技术下的弹性伸缩状态迁移方法,不仅能减轻对上游的冲击,还能有效消除单点故障,减少消息交互,同时让采集的指标信息更加精确,在提升弹性伸缩服务安全性的同时,而且能降低设备资 源的使用成本,而且可以得到各种定制化的服务,包括虚拟服务动态迁移、VM按需分配。 With respect to the relevant technology, telecommunications apparatus embodiments of the invention set forth in the elastically stretchable virtualization technology under the state migration method, not only can reduce the impact on upstream, but also effectively eliminate single points of failure, reducing message interaction, while allowing the collection of indicators more accurate information, elastically stretchable in enhancing security while serving, but also reduce the cost of equipment resources, but you can get a variety of customized services, including virtual services live migration, VM-demand. 进而实现了更加安全、可靠、灵活、高效的信息运作的目的。 Thus achieving the purpose of a more secure, reliable, flexible and efficient operation of the information.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 Obviously, those skilled in the art should understand that the above-mentioned modules and steps of the present invention may be a general purpose computing device, they can be concentrated on a single computing device or distributed in a network composed of a plurality of computing means on, alternatively, they may be implemented in a computing device executable program code, so they can be executed by the computing means stores in the storage means, and in some cases, may be treated differently in order here steps illustrated or described, or they are made into integrated circuit module respectively, or to make them more modules or steps into a single integrated circuit module. 这样,本发明不限制于任何特定的硬件和软件结合。 Thus, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 The foregoing is only preferred embodiments of the present invention but not to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principles of the present invention, made, equivalent replacement, or improvement should be included within the scope of the present invention.

工业实用性 Industrial Applicability

如上所述,通过上述实施例及优选实施方式,解决了相关技术中存在的对NFVO信息交互过多,冲击大的问题,进而达到了减少与NFVO的信息交互,降低对该NFVO的冲击的效果。 As described above, the above examples and preferred embodiments, it addresses the need for information exchange NFVO excessive impact major problems existing in the related art, thus achieving the reduction and NFVO information exchange, reduce the impact of the effect of NFVO .

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN101488098A *13 Feb 200922 Jul 2009华中科技大学Multi-core computing resource management system based on virtual computing technology
CN102646062A *20 Mar 201222 Aug 2012广东电子工业研究院有限公司Flexible capacity enlargement method for cloud computing platform based application clusters
CN103678251A *30 Nov 201326 Mar 2014成都天志大行信息科技有限公司Automatic information management system
CN104050045A *27 Jun 201417 Sep 2014华为技术有限公司Method and device for distributing virtual resources based on disk IO
US20130047158 *13 Jun 201221 Feb 2013Esds Software Solution Pvt. Ltd.Method and System for Real Time Detection of Resource Requirement and Automatic Adjustments
Classifications
International ClassificationH04L12/24
Cooperative ClassificationH04L12/24
Legal Events
DateCodeEventDescription
1 Jun 2016121Ep: the epo has been informed by wipo that ep was designated in this application
Ref document number: 15851365
Country of ref document: EP
Kind code of ref document: A1