CN107005426B - Method and device for managing life cycle of virtual network function - Google Patents
Method and device for managing life cycle of virtual network function Download PDFInfo
- Publication number
- CN107005426B CN107005426B CN201580026710.4A CN201580026710A CN107005426B CN 107005426 B CN107005426 B CN 107005426B CN 201580026710 A CN201580026710 A CN 201580026710A CN 107005426 B CN107005426 B CN 107005426B
- Authority
- CN
- China
- Prior art keywords
- vnf
- state
- network function
- information
- nfvo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/40—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/34—Signalling channels for network management communication
- H04L41/342—Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种虚拟网络功能的生命周期管理方法,及装置。The present invention relates to the field of communication technologies, and in particular, to a life cycle management method and device of a virtual network function.
背景技术Background technique
NFV(Network Function Virtualization,网络功能虚拟化)白皮书,宣布在 ETSI(European Telecommunication Standards Institute,欧洲电信标准协会)成立NFV ISG(Industry Standard Group,行业规范组)。NFV (Network Function Virtualization, Network Function Virtualization) white paper, announced the establishment of NFV ISG (Industry Standard Group, Industry Standard Group) in ETSI (European Telecommunication Standards Institute, European Telecommunications Standards Institute).
成立NFV ISG的目的是定义运营商对NFV的需求并提供相关的技术报告。所谓NFV,是希望通过借鉴虚拟化技术,在高性能服务器、交换机和存储中实现部分网络功能。这需要网络功能以软件方式实现,并能在通用的服务器硬件上运行,同时根据需要自动化地进行实例化、弹性伸缩、迁移等操作。如防火墙、路由器、CG-NAT(Carrier Grade NAT,运营商级网络地址转换) 等,都可以通过NFV技术实现虚拟化。The purpose of establishing the NFV ISG is to define operators' needs for NFV and provide relevant technical reports. The so-called NFV hopes to realize some network functions in high-performance servers, switches and storage by learning from virtualization technology. This requires network functions to be implemented in software, running on general-purpose server hardware, and automatically performing instantiation, elastic scaling, and migration operations as needed. Such as firewalls, routers, CG-NAT (Carrier Grade NAT, carrier grade network address translation), etc., can be virtualized through NFV technology.
NFV发布的白皮书中声明其关注的场景包括:BNG(Broadband Network Gateway,宽带网络网关)、CG-NAT、路由器、EPC(Evolved Packet Core,演进的分组核心网)、IMS(IPMultimedia Core Network Subsystem,IP多媒体子系统)、RAN(Radio Access Network,无线接入网)、家庭网络等。The white paper released by NFV states that the scenarios it pays attention to include: BNG (Broadband Network Gateway, broadband network gateway), CG-NAT, router, EPC (Evolved Packet Core, evolved packet core network), IMS (IPMultimedia Core Network Subsystem, IP Multimedia Subsystem), RAN (Radio Access Network, Radio Access Network), home network, etc.
概括来讲,NFV有3个关键特性:In a nutshell, NFV has 3 key features:
1、将网络功能从专用硬件中抽象出来,作为虚拟化的软件运行在通用计算、存储、网络设备平台上;1. Abstract the network function from the dedicated hardware and run it as a virtualized software on the general computing, storage, and network equipment platforms;
2、软件和硬件组件相对独立,并具备模块化特性;2. The software and hardware components are relatively independent and have modular characteristics;
3、自动化的编排:根据策略自动化地对网络功能及设备进行管理和维护。3. Automated orchestration: Automatically manage and maintain network functions and devices according to policies.
目前VNF(Virtualized Network Function,虚拟网络功能)的生命周期管理是基于事件驱动的,当发生OSS/BSS(Operation Support System/Business Support System,运营/业务支撑系统)下发操作请求、VNFM(Virtualized Network Function Manager,虚拟网络功能管理器)、EMS(Element Management System,网元管理系统)或VIM(VirtualizedInfrastructure Manager,虚拟化基础设施管理器)监测到VNF出现变化、VNF通知MANO(Management and Orchestration,管理和编排)其发生状态变更时,MANO(主要是VNFM)会触发VNF的生命周期管理。MANO根据具体情况,运行对应的脚本程序或工作流(workflow)进行处理。处理过程中常见的操作如:VNF实例化 (instantiate)、VNF动态伸缩(scale)、VNF自愈(heal)、VNF软件升级 (upgrade)、VNF软件更新(update)、修改VNF配置(configure)、查询VNF 状态(query)、删除VNF(terminate)等。At present, the life cycle management of VNF (Virtualized Network Function, virtual network function) is based on event-driven. Function Manager, virtual network function manager), EMS (Element Management System, network element management system) or VIM (Virtualized Infrastructure Manager, virtualized infrastructure manager) monitors VNF changes, VNF notifies MANO (Management and Orchestration, management and Orchestration) When its state changes, MANO (mainly VNFM) will trigger the life cycle management of VNF. MANO runs the corresponding script program or workflow (workflow) for processing according to the specific situation. Common operations in the processing process are: VNF instantiation (instantiate), VNF dynamic scaling (scale), VNF self-healing (heal), VNF software upgrade (upgrade), VNF software update (update), modify VNF configuration (configure), Query VNF status (query), delete VNF (terminate), etc.
为了便于对VNF的运行情况进行管理和呈现,在software architecture组的文档中,设计了VNF生命周期管理状态机制。In order to facilitate the management and presentation of the operation of VNF, the VNF lifecycle management state mechanism is designed in the document of the software architecture group.
在ETSI的NFV ISG中有若干工作组,其中有两个组的文档涉及到了VNF 的状态,但是标准文档对VNF的状态定义并不一致,而且具体的使用过程也不太明确,导致虚拟网络功能的生命周期的管理过程中,状态的维护和使用仍处于无法投入应用阶段。There are several working groups in ETSI's NFV ISG, two of which are related to the state of VNF, but the definition of VNF state in standard documents is inconsistent, and the specific use process is not very clear, which leads to the failure of virtual network function. In the management process of the life cycle, the maintenance and use of the state is still in the stage of not being able to be put into application.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种虚拟网络功能的生命周期管理方法,及装置,用于明确生命周期管理。The embodiments of the present invention provide a life cycle management method and device for a virtual network function, which are used to specify the life cycle management.
本发明实施例一方面提供了一种虚拟网络功能的生命周期管理方法,包括:One aspect of the embodiments of the present invention provides a life cycle management method for a virtual network function, including:
虚拟网络功能管理器VNFM在确定已经创建VNF对应的虚拟网络功能记录VNFR后,若所述VNFM确定所述VNF的状态发生改变,则向存储所述 VNFR的网络功能虚拟化实例发送将所述VNF的状态修改为变化后状态的通知消息;或者,向NFVO发送将所述VNF的状态修改为变化后状态的通知消息,使所述NFVO转发给存储所述VNFR的网络功能虚拟化实例。After the virtual network function manager VNFM determines that the virtual network function record VNFR corresponding to the VNF has been created, if the VNFM determines that the state of the VNF has changed, it sends the VNF to the network function virtualization instance that stores the VNFR. A notification message for modifying the state of the VNF to the state after the change; or, sending a notification message for modifying the state of the VNF to the state after the change to the NFVO, so that the NFVO forwards it to the network function virtualization instance storing the VNFR.
结合一方面的实现方案,在第一种可能的实现方式中,所述方法还包括:In combination with the implementation scheme of one aspect, in a first possible implementation manner, the method further includes:
在将所述VNF的状态修改为变化后状态后,向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息。After the state of the VNF is modified to the state after the change, the information about the state change of the VNF is sent to the management entity that subscribes to the state change information of the VNF.
结合一方面的第一种可能的实现方式,在第二种可能的实现方式中,在向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息之前,所述方法还包括:With reference to the first possible implementation manner of one aspect, in a second possible implementation manner, before sending the information about the VNF status change to the management entity that subscribes to the VNF status change information, the method further includes:
所述VNFM从所述网络功能虚拟化实例获取订阅信息,依据所述订阅信息确定订阅所述VNF状态变化信息的管理实体;obtaining, by the VNFM, subscription information from the network function virtualization instance, and determining a management entity that subscribes to the VNF state change information according to the subscription information;
或者,所述方法还包括:所述VNFM接收来自所述网络功能虚拟化实例的所述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅所述VNF状态变化信息的管理实体。Alternatively, the method further includes: the VNFM receives a reply message from the network function virtualization instance that the state of the VNF has been modified to a changed state, and then determines to subscribe to the VNF state according to the subscription information carried in the VNFM A management entity for change information.
结合一方面、一方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述方法还包括:With reference to one aspect, the first or second possible implementation manner of the aspect, in a third possible implementation manner, the method further includes:
所述VNFM在接收到实例化虚拟网络功能VNF请求后,向所述NFVO 发送申请资源请求,使所述NFVO将所述申请资源请求转发给虚拟化基础设施管理器VIM,并且使所述NFVO控制创建与所述VNF对应的虚拟网络功能记录VNFR。After receiving the instantiated virtual network function VNF request, the VNFM sends an application resource request to the NFVO, so that the NFVO forwards the application resource request to the virtualized infrastructure manager VIM, and makes the NFVO control Create a virtual network function record VNFR corresponding to the VNF.
结合一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述方法还包括:With reference to the third possible implementation manner of one aspect, in a fourth possible implementation manner, the method further includes:
接收由所述NFVO转发的来自所述VIM返回的回复消息,然后依据所述回复消息确定所述VIM已经为所述VNF分配资源,然后配置所述VNF;Receive the reply message returned by the VIM forwarded by the NFVO, and then determine that the VIM has allocated resources for the VNF according to the reply message, and then configure the VNF;
在配置所述VNF完成后,向网元管理系统EMS发送实例化完成消息,使所述EMS配置所述VNF;After configuring the VNF, send an instantiation complete message to the network element management system EMS, so that the EMS configures the VNF;
在确定所述EMS对所述VNF配置完成后,向所述NFVO发送实例化操作完成消息。After it is determined that the EMS completes the configuration of the VNF, an instantiation operation complete message is sent to the NFVO.
结合一方面的第三种可能的实现方式,在第五种可能的实现方式中,在所述NFVO控制创建与所述VNF对应的虚拟网络功能记录VNFR之后,所述方法还包括:With reference to the third possible implementation manner of one aspect, in a fifth possible implementation manner, after the NFVO controls the creation of a virtual network function record VNFR corresponding to the VNF, the method further includes:
向管理实体推送询问消息,用于询问是否需要订阅所述VNF状态变化信息;Pushing an inquiry message to the management entity for inquiring whether to subscribe to the VNF state change information;
接收所述管理实体返回的是否订阅所述VNF状态变化信息的回复信息,将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述NFVO,使所述NFVO控制存入所述VNFR;Receive the reply information of whether to subscribe to the VNF state change information returned by the management entity, and send the information of whether the management entity subscribes to the VNF state change information to the NFVO, so that the NFVO control is stored in the VNFR ;
或者所述方法还包括:接收来自管理实体发送的是否订阅所述VNF状态变化信息的信息;将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述NFVO,使所述NFVO控制存入所述VNFR。Or the method further includes: receiving information from a management entity on whether to subscribe to the VNF state change information; sending the information on whether the management entity subscribes to the VNF state change information to the NFVO, so that the NFVO controls Deposit into the VNFR.
结合一方面的第三种可能的实现方式,在第六种可能的实现方式中,所述接收到实例化虚拟网络功能VNF请求包括:With reference to the third possible implementation manner of one aspect, in a sixth possible implementation manner, the receiving the instantiated virtual network function VNF request includes:
接收所述NFVO的实例化VNF请求,或者,接收到来自所述EMS的实例化VNF请求。An instantiated VNF request from the NFVO is received, or an instantiated VNF request from the EMS is received.
结合一方面的第三种可能的实现方式,在第七种可能的实现方式中,在所述NFVO控制创建与所述VNF对应的虚拟网络功能记录VNFR之后,所述方法还包括:With reference to the third possible implementation manner of one aspect, in a seventh possible implementation manner, after the NFVO controls the creation of a virtual network function record VNFR corresponding to the VNF, the method further includes:
接收到针对所述VNF的生命周期事件请求后,从存储所述VNFR的网络功能虚拟化实例中获取所述VNF当前的状态;After receiving the lifecycle event request for the VNF, obtain the current state of the VNF from the network function virtualization instance storing the VNFR;
若确定所述生命周期事件请求的操作属于所述VNF当前的状态允许的操作,则执行所述生命周期事件请求的操作;否则,拒绝所述生命周期事件请求的操作。If it is determined that the operation requested by the life cycle event belongs to the operation permitted by the current state of the VNF, the operation requested by the life cycle event is executed; otherwise, the operation requested by the life cycle event is rejected.
结合一方面的第七种可能的实现方式,在第八种可能的实现方式中,所述 VNF的状态包括:With reference to the seventh possible implementation manner of one aspect, in the eighth possible implementation manner, the state of the VNF includes:
空,表示VNF所需基础设施仍未建立完全的状态;实例化未配置,表示基础设施已建立,但VNF的功能程序还没有进行配置的状态;实例化已配置,表示VNF已进行功能配置可以进行工作的状态;删除,表示VNF正在删除的状态;其中,所述实例化已配置包括:停止,表示VNF处于未激活/休眠状态,不提供服务的状态;活动,表示VNF处于活动状态,能够提供正常服务的状态;异常,表示VNF处于性能下降或异常,可能不能提供正常服务的状态;以及,维护,表示处于维护状态,不接受新服务的状态;Empty, indicating that the infrastructure required by the VNF has not yet been fully established; instantiation is not configured, indicating that the infrastructure has been established, but the function program of the VNF has not been configured; the instantiation is configured, indicating that the VNF has been configured. The state of working; Delete, indicating that the VNF is being deleted; wherein, the instantiated configuration includes: Stop, indicating that the VNF is in an inactive/dormant state, and does not provide services; Active, indicating that the VNF is in an active state and can The status of providing normal services; Abnormal, indicating that the VNF is in a state of degraded or abnormal performance, and may not be able to provide normal services; and Maintenance, indicating that it is in a maintenance state and does not accept new services;
所述空状态下,允许撤销操作,不允许其他操作;所述实例化未配置状态下,允许配置操作和终止操作,不允许其他操作;所述停止状态下,不允许取消操作、停止操作以及自愈操作,允许其他操作;所述活动状态下,不允许取消操作、开始操作以及自愈操作,允许其他操作;所述异常状态下,允许伸缩操作、自愈操作、配置操作以及删除操作,不允许其他操作;所述维护状态下,允许取消操作和终止操作,允许其他操作;所述删除状态下,不允许任何操作。In the empty state, undo operations are allowed, and other operations are not allowed; in the instant unconfigured state, configuration operations and termination operations are allowed, and other operations are not allowed; in the stopped state, cancellation operations, stop operations, and Self-healing operations allow other operations; in the active state, cancel operations, start operations and self-healing operations are not allowed, but other operations are allowed; in the abnormal state, scaling operations, self-healing operations, configuration operations, and deletion operations are allowed, No other operations are allowed; in the maintenance state, cancellation and termination operations are allowed, and other operations are allowed; in the deletion state, no operations are allowed.
本发明实施例二方面提供了一种虚拟网络功能的生命周期管理方法,包括:A second aspect of the embodiment of the present invention provides a life cycle management method for a virtual network function, including:
网络功能虚拟化编排器NFVO在接收到来自VNFM的申请资源请求后,将所述申请资源请求转发给VIM虚拟化基础设施管理器,然后接收所述VIM 为VNF分配资源后返回的回复消息,将所述回复消息转发给所述VNFM;向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求;After receiving the resource application request from the VNFM, the network function virtualization orchestrator NFVO forwards the resource application request to the VIM virtualization infrastructure manager, and then receives the reply message returned by the VIM after allocating resources to the VNF, and sends the The reply message is forwarded to the VNFM; the virtual network function record VNFR creation request is sent to the network function virtualization instance;
所述NFVO向所述网络功能虚拟化实例发送虚拟网络功能描述符VNFD,所述VNFD中包含所述VNFR中的信息项的参数信息;The NFVO sends a virtual network function descriptor VNFD to the network function virtualization instance, where the VNFD includes parameter information of the information item in the VNFR;
所述NFVO在确定所述VNF状态变化后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为变化后状态的消息。After determining that the state of the VNF has changed, the NFVO sends a message indicating that the state of the VNF is modified to the state after the change to the network function virtualization instance.
结合二方面的实现方式,在第一种可能的实现方式中,所述NFVO在确定所述VNF状态变化后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为变化后状态的消息包括:Combining the implementation manners of the two aspects, in a first possible implementation manner, after determining that the VNF state changes, the NFVO sends an instruction to the network function virtualization instance to modify the state of the VNF to a state after the change. The message includes:
所述NFVO在接收到所述回复消息后,向所述网络功能虚拟化实例发送通知消息指示修改所述VNF的状态为实例化未配置状态;和/或,After receiving the reply message, the NFVO sends a notification message to the network function virtualization instance to indicate that the state of the VNF is modified to be an instantiated unconfigured state; and/or,
所述NFVO在接收到来自所述VNFM的实例化操作完成后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为实例化停止的修改指示。After receiving the completion of the instantiation operation from the VNFM, the NFVO sends a modification instruction indicating that the state of the VNF is modified to stop instantiation to the network function virtualization instance.
结合二方面的实现方式,在第二种可能的实现方式中,在向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求后,所述方法还包括:In combination with the implementation manners of the two aspects, in a second possible implementation manner, after sending the virtual network function record VNFR creation request to the network function virtualization instance, the method further includes:
所述NFVO接收来自所述VNFM发送的管理实体是否订阅所述VNF状态变化信息的信息,或者,接收来自管理实体发送的管理实体是否订阅所述VNF 状态变化信息的信息;将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述网络功能虚拟化实例保存到所述VNFR。The NFVO receives the information sent from the VNFM whether the management entity subscribes to the VNF state change information, or receives the information sent from the management entity whether the management entity subscribes to the VNF state change information; The information of subscribing to the VNF state change information is sent to the network function virtualization instance and stored in the VNFR.
结合二方面、二方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述方法还包括:In combination with the second aspect and the first or second possible implementation manner of the second aspect, in a third possible implementation manner, the method further includes:
所述NFVO在接收到将所述VNF的状态修改为变化后状态的通知消息后,转发给所述网络功能虚拟化实例;After receiving the notification message that the state of the VNF is modified to the state after the change, the NFVO forwards it to the network function virtualization instance;
在将所述VNF的状态修改为变化后状态后,向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息。After the state of the VNF is modified to the state after the change, the information about the state change of the VNF is sent to the management entity that subscribes to the state change information of the VNF.
结合二方面的第三种可能的实现方式,在第四种可能的实现方式中,在向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息之前,所述方法还包括:In combination with the third possible implementation manner of the second aspect, in a fourth possible implementation manner, before sending the information of the VNF state change to the management entity subscribing to the VNF state change information, the method further includes:
所述NFVO从所述网络功能虚拟化实例获取订阅信息,依据所述订阅信息确定订阅所述VNF状态变化信息的管理实体;The NFVO obtains subscription information from the network function virtualization instance, and determines a management entity that subscribes to the VNF state change information according to the subscription information;
或者,所述方法还包括:所述NFVO接收来自所述网络功能虚拟化实例的所述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅所述VNF状态变化信息的管理实体。Or, the method further includes: the NFVO receives a reply message from the network function virtualization instance that the state of the VNF has been modified to a changed state, and then determines to subscribe to the VNF state according to the subscription information carried therein A management entity for change information.
本发明实施例三方面还提供了一种虚拟网络功能的生命周期管理方法,包括:A third aspect of the embodiment of the present invention also provides a life cycle management method for a virtual network function, including:
网络功能虚拟化实例在接收到来自NFVO的虚拟网络功能记录VNFR创建请求后,创建与VNF对应的虚拟网络功能记录VNFR;After receiving the virtual network function record VNFR creation request from NFVO, the network function virtualization instance creates a virtual network function record VNFR corresponding to the VNF;
接收来自所述NFVO的虚拟网络功能描述符VNFD,所述VNFD中包含所述VNFR中的信息项的参数信息;将所述VNFD中的参数信息记录到所述 VNFR;Receive the virtual network function descriptor VNFD from the NFVO, and the VNFD contains parameter information of the information item in the VNFR; record the parameter information in the VNFD to the VNFR;
在接收到来自所述NFVO的指示修改所述VNF状态的通知消息后,将所述VNF对应的VNFR中的状态信息修改为通知消息指示的状态。After receiving the notification message from the NFVO indicating to modify the state of the VNF, modify the state information in the VNFR corresponding to the VNF to the state indicated by the notification message.
结合三方面的实现方式,在第一种可能的实现方式中,所述在接收到来自所述NFVO的指示修改所述VNF状态的通知消息后,将所述VNF对应的 VNFR中的状态信息修改为通知消息指示的状态包括:Combining the three aspects of implementation, in a first possible implementation, after receiving a notification message from the NFVO indicating to modify the VNF state, modify the state information in the VNFR corresponding to the VNF The states indicated for notification messages include:
接收来自所述NFVO的指示修改所述VNF的状态为实例化未配置状态的通知消息,修改所述VNF对应的VNFR中的状态信息为实例化未配置状态;Receive a notification message from the NFVO indicating that the state of the VNF is modified to be an instantiated unconfigured state, and modify the state information in the VNFR corresponding to the VNF to be an instantiated unconfigured state;
和/或,接收来自所述NFVO的指示将所述VNF的状态修改为实例化停止的修改指示,修改所述VNF对应的VNFR中的状态信息为实例化停止。And/or, receiving an instruction from the NFVO to modify the state of the VNF to a modification instruction indicating that the instantiation is stopped, and modifying the state information in the VNFR corresponding to the VNF to stop the instantiation.
结合三方面的实现方式,在第二种可能的实现方式中,在创建与VNF对应的虚拟网络功能记录VNFR之后,所述方法还包括:In combination with the implementation manners of the three aspects, in a second possible implementation manner, after the virtual network function record VNFR corresponding to the VNF is created, the method further includes:
所述网络功能虚拟化实例在接收到来自所述NFVO的管理实体是否订阅所述VNF状态变化信息的信息后,将所述管理实体是否订阅所述VNF状态变化信息的信息存入所述VNFR。After receiving the information about whether the management entity subscribes to the VNF state change information from the NFVO, the network function virtualization instance stores the information about whether the management entity subscribes to the VNF state change information in the VNFR.
结合三方面、三方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述方法还包括:In combination with the three aspects, the first or second possible implementation manner of the three aspects, in a third possible implementation manner, the method further includes:
在接收到来自所述VNFM或者来自所述VNFM经所述NFVO转发的,将所述VNF的状态修改为变化后状态的通知消息后,将所述VNF对应的VNFR 中的状态信息修改为所述变化后状态。After receiving the notification message from the VNFM or forwarded by the VNFM through the NFVO to modify the state of the VNF to the state after the change, modify the state information in the VNFR corresponding to the VNF to the state after the change.
结合三方面的第三种可能的实现方式,在第四种可能的实现方式中,所述方法还包括:In combination with the third possible implementation manner of the three aspects, in the fourth possible implementation manner, the method further includes:
在接收到来自所述VNFM或者所述NFVO的查询请求后,向发送查询请求的设备发送所述VNF的订阅信息;或者,在将所述VNF对应的VNFR中的状态信息修改为所述变化后状态后,向所述VNFM或者所述NFVO发送用于告知所述VNF状态已经修改的回复消息,在所述回复消息中携带所述订阅信息;所述订阅信息中包含订阅所述VNF状态变化信息的管理实体的信息。After receiving the query request from the VNFM or the NFVO, send the subscription information of the VNF to the device sending the query request; or, after modifying the state information in the VNFR corresponding to the VNF to the change After the status, send a reply message to the VNFM or the NFVO to notify that the VNF status has been modified, and the reply message carries the subscription information; the subscription information includes the subscription information of the VNF status change information about the managed entity.
本发明实施例四方面提供了一种虚拟网络功能管理器,其特征在于,包括:A fourth aspect of the embodiment of the present invention provides a virtual network function manager, which is characterized by comprising:
记录确认单元,用于确定是否已经创建VNF对应的虚拟网络功能记录 VNFR;The record confirmation unit is used to determine whether the virtual network function record VNFR corresponding to the VNF has been created;
状态确定单元1102,用于确定所述VNF的状态发生改变;a
发送单元,用于在所述记录确认单元确定已经创建VNF对应的虚拟网络功能记录VNFR后,若所述状态确定单元1102确定所述VNF的状态发生改变,则向存储所述VNFR的网络功能虚拟化实例发送将所述VNF的状态修改为变化后状态的通知消息;或者,向NFVO发送将所述VNF的状态修改为变化后状态的通知消息,使所述NFVO转发给存储所述VNFR的网络功能虚拟化实例。The sending unit is configured to, after the record confirming unit determines that the virtual network function record VNFR corresponding to the VNF has been created, if the
结合四方面的实现方案,在第一种可能的实现方式中,所述发送单元,还用于在将所述VNF的状态修改为变化后状态后,向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息。In combination with the implementation scheme of the four aspects, in a first possible implementation manner, the sending unit is further configured to, after modifying the state of the VNF to a state after the change, subscribe to the management entity that subscribes to the state change information of the VNF Send the VNF state change information.
结合四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述虚拟网络功能管理器还包括:In combination with the first possible implementation manner of the four aspects, in the second possible implementation manner, the virtual network function manager further includes:
订阅确定单元,用于在向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息之前,所述VNFM从所述网络功能虚拟化实例获取订阅信息,依据所述订阅信息确定订阅所述VNF状态变化信息的管理实体;a subscription determination unit, configured to, before sending the information of the VNF state change to the management entity that subscribes to the VNF state change information, the VNFM obtains the subscription information from the network function virtualization instance, and determines the subscription according to the subscription information the management entity of the VNF state change information;
或者,所述订阅确定单元,用于接收来自所述网络功能虚拟化实例的所述 VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅所述VNF状态变化信息的管理实体。Or, the subscription determination unit is configured to receive a reply message from the network function virtualization instance that the state of the VNF has been modified to a changed state, and then determine to subscribe to the VNF state change according to the subscription information carried therein Information management entity.
结合四方面、四方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述虚拟网络功能管理器还包括:In combination with the fourth aspect and the first or second possible implementation manner of the fourth aspect, in a third possible implementation manner, the virtual network function manager further includes:
接收单元,用于接收实例化虚拟网络功能VNF请求;a receiving unit, configured to receive an instantiated virtual network function VNF request;
所述发送单元,还用于在所述接收单元接收到实例化虚拟网络功能VNF 请求后,向所述NFVO发送申请资源请求,使所述NFVO将所述申请资源请求转发给虚拟化基础设施管理器VIM,并且使所述NFVO控制创建与所述 VNF对应的虚拟网络功能记录VNFR。The sending unit is further configured to send an application resource request to the NFVO after the receiving unit receives the instantiated virtual network function VNF request, so that the NFVO forwards the application resource request to the virtualized infrastructure management server VIM, and cause the NFVO to control the creation of a virtual network function record VNFR corresponding to the VNF.
结合四方面的第三种可能的实现方式,在第四种可能的实现方式中Combining the third possible implementation of the four aspects, in the fourth possible implementation
所述接收单元,还用于接收由所述NFVO转发的来自所述VIM返回的回复消息;所述虚拟网络功能管理器还包括:The receiving unit is further configured to receive a reply message that is forwarded by the NFVO and returned from the VIM; the virtual network function manager further includes:
配置单元,用于依据所述回复消息确定所述VIM已经为所述VNF分配资源,然后配置所述VNF;a configuration unit, configured to determine that the VIM has allocated resources to the VNF according to the reply message, and then configure the VNF;
所述发送单元,还用于在所述配置单元配置所述VNF完成后,向网元管理系统EMS发送实例化完成消息,使所述EMS配置所述VNF;在确定所述 EMS对所述VNF配置完成后,向所述NFVO发送实例化操作完成消息。The sending unit is further configured to send an instantiation completion message to the network element management system EMS after the configuration unit completes the configuration of the VNF, so that the EMS configures the VNF; After the configuration is completed, an instantiation operation complete message is sent to the NFVO.
结合四方面的第三种可能的实现方式,在第五种可能的实现方式中所述发送单元,还用于在所述NFVO控制创建与所述VNF对应的虚拟网络功能记录 VNFR之后,向管理实体推送询问消息,用于询问是否需要订阅所述VNF状态变化信息In combination with the third possible implementation manner of the fourth aspect, in the fifth possible implementation manner, the sending unit is further configured to, after the NFVO controls the creation of the virtual network function record VNFR corresponding to the VNF, to the management The entity pushes an inquiry message, which is used to inquire whether it is necessary to subscribe to the VNF state change information
所述接收单元,还用于接收所述管理实体返回的是否订阅所述VNF状态变化信息的回复信息;The receiving unit is further configured to receive the reply information of whether to subscribe to the VNF state change information returned by the management entity;
所述发送单元,还用于将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述NFVO,使所述NFVO控制存入所述VNFR;The sending unit is further configured to send the information on whether the management entity subscribes to the VNF state change information to the NFVO, so that the NFVO control is stored in the VNFR;
或者,or,
所述发送单元,还用于所述接收单元,还用于接收来自管理实体发送的是否订阅所述VNF状态变化信息的信息;The sending unit is also used for the receiving unit, and is also used for receiving the information on whether to subscribe to the VNF state change information sent from the management entity;
所述发送单元,还用于将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述NFVO,使所述NFVO控制存入所述VNFR。The sending unit is further configured to send the information of whether the management entity subscribes to the VNF state change information to the NFVO, so that the NFVO control is stored in the VNFR.
结合四方面的第三种可能的实现方式,在第六种可能的实现方式中,所述接收单元,用于接收实例化虚拟网络功能VNF请求包括:接收所述NFVO的实例化VNF请求,或者,接收来自所述EMS的实例化VNF请求。With reference to the third possible implementation manner of the fourth aspect, in a sixth possible implementation manner, the receiving unit, configured to receive the instantiated virtual network function VNF request includes: receiving the instantiated VNF request of the NFVO, or , receives an instantiated VNF request from the EMS.
结合四方面的第三种可能的实现方式,在第七种可能的实现方式中,Combining the third possible implementation of the four aspects, in the seventh possible implementation,
所述接收单元,还用于在所述NFVO控制创建与所述VNF对应的虚拟网络功能记录VNFR之后,接收针对所述VNF的生命周期事件请求;所述虚拟网络功能管理器还包括:The receiving unit is further configured to receive a lifecycle event request for the VNF after the NFVO controls the creation of a virtual network function record VNFR corresponding to the VNF; the virtual network function manager further includes:
状态获取单元,用于在所述接收单元接收到针对所述VNF的生命周期事件请求后,从存储所述VNFR的网络功能虚拟化实例中获取所述VNF当前的状态;a state obtaining unit, configured to obtain the current state of the VNF from the network function virtualization instance storing the VNFR after the receiving unit receives the lifecycle event request for the VNF;
执行控制单元,用于若确定所述生命周期事件请求的操作属于所述VNF 当前的状态允许的操作,则执行所述生命周期事件请求的操作;否则,拒绝所述生命周期事件请求的操作。An execution control unit, configured to execute the operation requested by the life cycle event if it is determined that the operation requested by the life cycle event belongs to the operation permitted by the current state of the VNF; otherwise, reject the operation requested by the life cycle event.
结合四方面的第七种可能的实现方式,在第八种可能的实现方式中,所述 VNF的状态包括:In combination with the seventh possible implementation manner of the four aspects, in the eighth possible implementation manner, the state of the VNF includes:
空,表示VNF所需基础设施仍未建立完全的状态;实例化未配置,表示基础设施已建立,但VNF的功能程序还没有进行配置的状态;实例化已配置,表示VNF已进行功能配置可以进行工作的状态;删除,表示VNF正在删除的状态;其中,所述实例化已配置包括:停止,表示VNF处于未激活/休眠状态,不提供服务的状态;活动,表示VNF处于活动状态,能够提供正常服务的状态;异常,表示VNF处于性能下降或异常,可能不能提供正常服务的状态;以及,维护,表示处于维护状态,不接受新服务的状态;Empty, indicating that the infrastructure required by the VNF has not yet been fully established; instantiation is not configured, indicating that the infrastructure has been established, but the function program of the VNF has not been configured; the instantiation is configured, indicating that the VNF has been configured. The state of working; Delete, indicating that the VNF is being deleted; wherein, the instantiated configuration includes: Stop, indicating that the VNF is in an inactive/dormant state, and does not provide services; Active, indicating that the VNF is in an active state and can The status of providing normal services; Abnormal, indicating that the VNF is in a state of degraded or abnormal performance, and may not be able to provide normal services; and Maintenance, indicating that it is in a maintenance state and does not accept new services;
所述空状态下,允许撤销操作,不允许其他操作;所述实例化未配置状态下,允许配置操作和终止操作,不允许其他操作;所述停止状态下,不允许取消操作、停止操作以及自愈操作,允许其他操作;所述活动状态下,不允许取消操作、开始操作以及自愈操作,允许其他操作;所述异常状态下,允许伸缩操作、自愈操作、配置操作以及删除操作,不允许其他操作;所述维护状态下,允许取消操作和终止操作,允许其他操作;所述删除状态下,不允许任何操作。In the empty state, undo operations are allowed, and other operations are not allowed; in the instant unconfigured state, configuration operations and termination operations are allowed, and other operations are not allowed; in the stopped state, cancellation operations, stop operations, and Self-healing operations allow other operations; in the active state, cancel operations, start operations and self-healing operations are not allowed, but other operations are allowed; in the abnormal state, scaling operations, self-healing operations, configuration operations, and deletion operations are allowed, No other operations are allowed; in the maintenance state, cancellation and termination operations are allowed, and other operations are allowed; in the deletion state, no operations are allowed.
本发明实施例五方面提供了一种网络功能虚拟化编排器,包括:A fifth aspect of the present invention provides a network function virtualization orchestrator, including:
接收单元,用于接收来自VNFM的申请资源请求;在发送单元将所述申请资源请求转发给VIM虚拟化基础设施管理器后,接收所述VIM为VNF分配资源后返回的回复消息;a receiving unit, configured to receive an application resource request from the VNFM; after the sending unit forwards the application resource request to the VIM virtualization infrastructure manager, receiving a reply message returned by the VIM after allocating resources to the VNF;
发送单元,用于在所述接收单元接收到来自VNFM的申请资源请求后,将所述申请资源请求转发给VIM虚拟化基础设施管理器;将所述回复消息转发给所述VNFM;向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求;向所述网络功能虚拟化实例发送虚拟网络功能描述符VNFD,所述 VNFD中包含所述VNFR中的信息项的参数信息;在确定所述VNF状态变化后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为变化后状态的消息。a sending unit, configured to, after the receiving unit receives the resource application request from the VNFM, forward the resource application request to the VIM virtualization infrastructure manager; forward the reply message to the VNFM; send the request to the network function The virtualization instance sends a virtual network function record VNFR creation request; sends a virtual network function descriptor VNFD to the network function virtualization instance, where the VNFD contains parameter information of the information items in the VNFR; after determining the VNF state After the change, a message indicating to modify the state of the VNF to the state after the change is sent to the network function virtualization instance.
结合五方面的实现方式,在第一种可能的实现方式中,Combined with the implementation of the five aspects, in the first possible implementation,
所述发送单元,用于在确定所述VNF状态变化后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为变化后状态的消息包括:The sending unit, configured to send a message indicating to modify the state of the VNF to a state after the change to the network function virtualization instance after determining that the state of the VNF has changed, includes:
在所述接收单元接收到所述回复消息后,向所述网络功能虚拟化实例发送通知消息指示修改所述VNF的状态为实例化未配置状态;和/或,After the receiving unit receives the reply message, send a notification message to the network function virtualization instance to indicate that the state of the VNF is modified to be an instantiated unconfigured state; and/or,
在所述接收单元接收到来自所述VNFM的实例化操作完成后,向所述网络功能虚拟化实例发送指示将所述VNF的状态修改为实例化停止的修改指示。After the receiving unit receives the completion of the instantiation operation from the VNFM, it sends a modification instruction indicating that the state of the VNF is to be modified to stop instantiation to the network function virtualization instance.
结合五方面的实现方式,在第二种可能的实现方式中,Combined with the implementation of the five aspects, in the second possible implementation,
所述接收单元,还用于在所述发送单元向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求后,接收来自所述VNFM发送的管理实体是否订阅所述VNF状态变化信息的信息,或者,接收来自管理实体发送的管理实体是否订阅所述VNF状态变化信息的信息;The receiving unit is further configured to, after the sending unit sends a virtual network function record VNFR creation request to the network function virtualization instance, receive from the VNFM the information on whether the management entity subscribes to the VNF state change information, or , receiving the information sent from the management entity whether the management entity subscribes to the VNF state change information;
所述发送单元,还用于将所述管理实体是否订阅所述VNF状态变化信息的信息发送给所述网络功能虚拟化实例保存到所述VNFR。The sending unit is further configured to send the information of whether the management entity subscribes to the VNF state change information to the network function virtualization instance and save it to the VNFR.
结合五方面、五方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,Combining the five aspects and the first or second possible implementation manners of the five aspects, in the third possible implementation manner,
所述接收单元,还用于接收将所述VNF的状态修改为变化后状态的通知消息;The receiving unit is further configured to receive a notification message for modifying the state of the VNF to a changed state;
所述发送单元,还用于在所述接收单元接收到将所述VNF的状态修改为变化后状态的通知消息后,转发给所述网络功能虚拟化实例;在将所述VNF 的状态修改为变化后状态后,向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息。The sending unit is further configured to forward to the network function virtualization instance after the receiving unit receives the notification message that the state of the VNF is modified to the state after the change; after modifying the state of the VNF to After the changed state, the information about the VNF state change is sent to the management entity that subscribes to the VNF state change information.
结合五方面的第三种可能的实现方式,在第四种可能的实现方式中,所述网络功能虚拟化编排器还包括:With reference to the third possible implementation manner of the fifth aspect, in the fourth possible implementation manner, the network function virtualization orchestrator further includes:
订阅获取单元,用于在所述发送单元向订阅所述VNF状态变化信息的管理实体发送所述VNF状态变化的信息之前,所述网络功能虚拟化实例获取订阅信息,依据所述订阅信息确定订阅所述VNF状态变化信息的管理实体;A subscription obtaining unit, configured to obtain the subscription information by the network function virtualization instance before the sending unit sends the information of the VNF state change to the management entity that subscribes to the VNF state change information, and determine the subscription according to the subscription information the management entity of the VNF state change information;
或者,接收来自所述网络功能虚拟化实例的所述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅所述VNF 状态变化信息的管理实体。Or, receive a reply message from the network function virtualization instance that the state of the VNF has been modified to a changed state, and then determine the management entity that subscribes to the VNF state change information according to the subscription information carried therein.
本发明实施例六方面还提供了一种网络功能虚拟化实例,包括:A sixth aspect of the embodiment of the present invention further provides a network function virtualization instance, including:
接收单元,用于接收来自NFVO的虚拟网络功能记录VNFR创建请求;a receiving unit, configured to receive a virtual network function record VNFR creation request from NFVO;
创建单元,用于在所述接收单元接收到来自NFVO的虚拟网络功能记录 VNFR创建请求后,创建与VNF对应的虚拟网络功能记录VNFR;The creating unit is configured to create a virtual network function record VNFR corresponding to the VNF after the receiving unit receives the virtual network function record VNFR creation request from the NFVO;
所述接收单元,还用于接收来自所述NFVO的虚拟网络功能描述符 VNFD,所述VNFD中包含所述VNFR中的信息项的参数信息;The receiving unit is further configured to receive a virtual network function descriptor VNFD from the NFVO, where the VNFD includes parameter information of information items in the VNFR;
记录单元,用于将所述VNFD中的参数信息记录到所述VNFR;a recording unit, configured to record the parameter information in the VNFD to the VNFR;
所述接收单元,还用于接收来自所述NFVO的指示修改所述VNF状态的通知消息;The receiving unit is further configured to receive a notification message indicating to modify the VNF state from the NFVO;
所述记录单元,还用于在所述接收单元接收到来自所述NFVO的指示修改所述VNF状态的通知消息后,将所述VNF对应的VNFR中的状态信息修改为通知消息指示的状态。The recording unit is further configured to modify the state information in the VNFR corresponding to the VNF to the state indicated by the notification message after the receiving unit receives the notification message from the NFVO indicating to modify the VNF state.
结合六方面的实现方式,在第一种可能的实现方式中,Combining the six implementations, in the first possible implementation,
所述接收单元,用于接收来自所述NFVO的指示修改所述VNF状态的通知消息包括:接收来自所述NFVO的指示修改所述VNF的状态为实例化未配置状态的通知消息;和/或,接收来自所述NFVO的指示将所述VNF的状态修改为实例化停止的修改指示;The receiving unit, configured to receive a notification message from the NFVO indicating to modify the state of the VNF includes: receiving a notification message from the NFVO indicating that the state of the VNF is modified to be an instantiated unconfigured state; and/or , receiving an instruction from the NFVO to modify the state of the VNF to a modification instruction that instantiates stop;
所述记录单元,用于将所述VNF对应的VNFR中的状态信息修改为通知消息指示的状态包括:修改所述VNF对应的VNFR中的状态信息为实例化未配置状态;修改所述VNF对应的VNFR中的状态信息为实例化停止。The recording unit, for modifying the state information in the VNFR corresponding to the VNF to the state indicated by the notification message includes: modifying the state information in the VNFR corresponding to the VNF to an instantiated unconfigured state; modifying the VNF corresponding to The state information in the VNFR is for instantiation stopped.
结合六方面的实现方式,在第二种可能的实现方式中,Combined with the six aspects of implementation, in the second possible implementation,
所述接收单元,还用于在创建与VNF对应的虚拟网络功能记录VNFR之后,接收来自所述NFVO的管理实体是否订阅所述VNF状态变化信息的信息;The receiving unit is further configured to, after creating a virtual network function record VNFR corresponding to the VNF, receive information from the management entity of the NFVO whether to subscribe to the VNF state change information;
所述记录单元,还用于在所述接收单元接收到来自所述NFVO的管理实体是否订阅所述VNF状态变化信息的信息后,将所述管理实体是否订阅所述 VNF状态变化信息的信息存入所述VNFR。The recording unit is further configured to store the information on whether the management entity subscribes to the VNF state change information after the receiving unit receives the information on whether the management entity of the NFVO subscribes to the VNF state change information. into the VNFR.
结合六方面、六方面的第一种或第二种可能的实现方式,在第三种可能的实现方式中,Combining the six aspects, the first or second possible implementation manner of the six aspects, in the third possible implementation manner,
所述接收单元,还用于接收来自所述VNFM或者来自所述VNFM经所述 NFVO转发的,将所述VNF的状态修改为变化后状态的通知消息;The receiving unit is also configured to receive a notification message from the VNFM or forwarded by the VNFM via the NFVO, to modify the state of the VNF to a changed state;
所述记录单元,还用于在所述接收单元接收到将所述VNF的状态修改为变化后状态的通知消息后,将所述VNF对应的VNFR中的状态信息修改为所述变化后状态。The recording unit is further configured to modify the state information in the VNFR corresponding to the VNF to the changed state after the receiving unit receives the notification message for changing the state of the VNF to the changed state.
结合六方面的第三种可能的实现方式,在第四种可能的实现方式中,Combining the third possible implementation of the six aspects, in the fourth possible implementation,
所述接收单元,还用于接收来自所述VNFM或者所述NFVO的查询请求;所述网络功能虚拟化实例还包括:The receiving unit is further configured to receive a query request from the VNFM or the NFVO; the network function virtualization instance further includes:
发送单元,用于在所述接收单元查询请求后,向发送查询请求的设备发送所述VNF的订阅信息;或者,在将所述VNF对应的VNFR中的状态信息修改为所述变化后状态后,向所述VNFM或者所述NFVO发送用于告知所述 VNF状态已经修改的回复消息,在所述回复消息中携带所述订阅信息;所述订阅信息中包含订阅所述VNF状态变化信息的管理实体的信息。A sending unit, configured to send the subscription information of the VNF to the device sending the query request after the receiving unit queries the request; or, after modifying the state information in the VNFR corresponding to the VNF to the changed state , send a reply message to the VNFM or the NFVO for notifying that the VNF state has been modified, and the reply message carries the subscription information; the subscription information includes the management of subscribing to the VNF state change information entity information.
从以上技术方案可以看出,本发明实施例具有以下优点:完成了对VNFR (VNFRecord,VNF记录)中记录的VNF的状态的更新控制,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。It can be seen from the above technical solutions that the embodiment of the present invention has the following advantages: the update control of the state of the VNF recorded in the VNFR (VNFRecord, VNF record) is completed, the process can efficiently complete the management of the VNF state, and can be Provide accurate basis for operations such as control based on VNF state.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例系统结构示意图;1 is a schematic diagram of a system structure according to an embodiment of the present invention;
图2为本发明实施例系统结构示意图;FIG. 2 is a schematic diagram of a system structure according to an embodiment of the present invention;
图3为本发明实施例状态机管理流程示意图;3 is a schematic diagram of a state machine management process flow according to an embodiment of the present invention;
图4A为本发明实施例方法流程示意图;4A is a schematic flowchart of a method according to an embodiment of the present invention;
图4B为本发明实施例方法流程示意图;4B is a schematic flowchart of a method according to an embodiment of the present invention;
图4C为本发明实施例方法流程示意图;4C is a schematic flowchart of a method according to an embodiment of the present invention;
图5A为本发明实施例方法流程示意图;5A is a schematic flowchart of a method according to an embodiment of the present invention;
图5B为本发明实施例方法流程示意图;5B is a schematic flowchart of a method according to an embodiment of the present invention;
图5C为本发明实施例方法流程示意图;5C is a schematic flowchart of a method according to an embodiment of the present invention;
图6为本发明实施例方法流程示意图;6 is a schematic flowchart of a method according to an embodiment of the present invention;
图7为本发明实施例方法流程示意图;7 is a schematic flowchart of a method according to an embodiment of the present invention;
图8为本发明实施例方法流程示意图;8 is a schematic flowchart of a method according to an embodiment of the present invention;
图9为本发明实施例方法流程示意图;9 is a schematic flowchart of a method according to an embodiment of the present invention;
图10为本发明实施例方法流程示意图;10 is a schematic flowchart of a method according to an embodiment of the present invention;
图11为本发明实施例虚拟网络功能管理器结构示意图;11 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图12为本发明实施例虚拟网络功能管理器结构示意图;12 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图13为本发明实施例虚拟网络功能管理器结构示意图;13 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图14为本发明实施例虚拟网络功能管理器结构示意图;14 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图15为本发明实施例虚拟网络功能管理器结构示意图;15 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图16为本发明实施例网络功能虚拟化编排器结构示意图;16 is a schematic structural diagram of a network function virtualization orchestrator according to an embodiment of the present invention;
图17为本发明实施例网络功能虚拟化编排器结构示意图;17 is a schematic structural diagram of a network function virtualization orchestrator according to an embodiment of the present invention;
图18为本发明实施例网络功能虚拟化实例结构示意图;18 is a schematic structural diagram of a network function virtualization instance according to an embodiment of the present invention;
图19为本发明实施例网络功能虚拟化实例结构示意图;19 is a schematic structural diagram of a network function virtualization instance according to an embodiment of the present invention;
图20为本发明实施例虚拟网络功能管理器结构示意图;20 is a schematic structural diagram of a virtual network function manager according to an embodiment of the present invention;
图21为本发明实施例网络功能虚拟化编排器结构示意图;21 is a schematic structural diagram of a network function virtualization orchestrator according to an embodiment of the present invention;
图22为本发明实施例网络功能虚拟化实例结构示意图。FIG. 22 is a schematic structural diagram of an example of network function virtualization according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. . Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1是NFV端到端架构,主要包括三个部分:Figure 1 shows the NFV end-to-end architecture, which mainly includes three parts:
一、VNF(Virtualized Network Function,虚拟网络功能):1. VNF (Virtualized Network Function, virtual network function):
VNF指虚拟化的网络功能,如虚拟化的EPC(Evolved Packet Core,演进的分组核心网)节点(MME(Mobile Management Entity,移动管理实体)、SGW (Serving GateWay,服务网关)、PGW(Packet Data Network GateWay,分组数据网络网关)等),对应于传统网络中的PNF(Physical Network Function,物理网络功能)。NFV希望同类的VNF和PNF能够具备相同的功能、性能及外部接口。VNF可以由多个VNFC(VNF Component,虚拟网络功能组件)组成,一般一个VNFC运行在一个VM(Virtualized Machine,虚拟机)中,因此,在部署上,一个VNF可以包含一个或多个VM。VNF refers to virtualized network functions, such as virtualized EPC (Evolved Packet Core, Evolved Packet Core) node (MME (Mobile Management Entity, Mobile Management Entity), SGW (Serving GateWay, Serving Gateway), PGW (Packet Data Network GateWay, packet data network gateway), etc.), corresponding to PNF (Physical Network Function, physical network function) in traditional networks. NFV expects similar VNFs and PNFs to have the same functions, performance and external interfaces. A VNF can be composed of multiple VNFCs (VNF Components, virtual network function components). Generally, a VNFC runs in a VM (Virtualized Machine, virtual machine). Therefore, in deployment, a VNF can include one or more VMs.
EMS(Element Management System,网元管理系统):针对VNF执行传统的FCAPS(Fault management,Configuration management,Account management, Performancemanagement,Security management,故障、配置、计费、性能、安全管理)功能。EMS (Element Management System, network element management system): perform traditional FCAPS (Fault management, Configuration management, Account management, Performance management, Security management, fault, configuration, billing, performance, security management) functions for the VNF.
二、NFVI(NFV Infrastructure,NFV基础设施):2. NFVI (NFV Infrastructure, NFV infrastructure):
NFVI提供整个系统运行的硬件和虚拟资源,由硬件资源(包括:计算、网络、存储三部分)、虚拟化层(将硬件资源虚拟化成资源池)和虚拟资源(同样包括:计算、网络、存储三部分)。NFVI provides hardware and virtual resources for the entire system to run, consisting of hardware resources (including: computing, network, and storage), virtualization layer (virtualizing hardware resources into resource pools) and virtual resources (also including: computing, network, storage) three parts).
三、MANO(Management and Orchestration,管理和编排):3. MANO (Management and Orchestration):
MANO主要由三种实体构成:MANO is mainly composed of three entities:
VIM(Virtualized Infrastructure Manager,虚拟化基础设施管理器):NFVI 的管理单元,在功能上包括硬件资源管理和虚拟资源管理,而在部署上可分为云计算管理(如OpenStack云管理系统)和网络管理(如SDN控制器)两部分。VIM (Virtualized Infrastructure Manager): The management unit of NFVI, which includes hardware resource management and virtual resource management in function, and can be divided into cloud computing management (such as OpenStack cloud management system) and network in deployment. Management (such as SDN controller) two parts.
NFVO(NFV Orchestrator,NFV编排器):负责对NS(Network Service,网络服务,由多个VNF组成的服务单元,如EPC)进行生命周期管理,并对整个NFV系统的资源(包括硬件资源和软件资源)进行编排和管理。NFVO (NFV Orchestrator, NFV Orchestrator): Responsible for the life cycle management of NS (Network Service, network service, service units composed of multiple VNFs, such as EPC), and the resources of the entire NFV system (including hardware resources and software) resources) for orchestration and management.
VNFM(VNF Manager,VNF管理器):负责对VNF进行生命周期管理。VNFM (VNF Manager, VNF Manager): Responsible for life cycle management of VNFs.
在图1所示的的OSS/BSS(Operation Support System/Business SupportSystem,运营/业务支撑系统)指运营商的OSS/BSS,不包括在NFV系统组件中,属于有关系的外部实体。The OSS/BSS (Operation Support System/Business Support System, Operation/Business Support System) shown in FIG. 1 refers to the OSS/BSS of the operator, which is not included in the NFV system components and belongs to a related external entity.
如图2所示,为MANO的详细架构,基本与上节中相同,但出现了四个新增实体:NSCatalog(Network Service Catalog,网络服务目录)、VNF Catalog (目录)、NFVInstances(实例)、NFVI Resources(资源),它们是MANO中存储NS、VNF信息、软件包及运行状态的功能模块,其中:As shown in Figure 2, it is the detailed architecture of MANO, which is basically the same as in the previous section, but there are four new entities: NSCatalog (Network Service Catalog), VNF Catalog (directory), NFVInstances (instance), NFVI Resources (resources), they are functional modules in MANO that store NS, VNF information, software packages and running status, among which:
NS Catalog:存储所有已经加载(on-board)的NSD(NS Descriptor,NS 描述符)信息。NS Catalog: Stores all loaded (on-board) NSD (NS Descriptor, NS descriptor) information.
VNF Catalog:存储所有已经加载的VNF Packages(软件包,包含VNFD (VNFDescriptor,VNF描述符)、虚拟机镜像等)。VNF Catalog: Stores all loaded VNF Packages (packages, including VNFD (VNFDescriptor, VNF descriptor), virtual machine images, etc.).
NFV Instances:存储所有正在运行的NS、VNF等实例的状态信息,如分配的网络地址、操作记录等。其中,VNFR(VNF Record,VNF记录)包括如下信息:NFV Instances: Stores the status information of all running NS, VNF and other instances, such as assigned network addresses, operation records, etc. Among them, VNFR (VNF Record, VNF record) includes the following information:
表1 VNFR信息Table 1 VNFR information
NFVI Resources:存储所有NFVI资源的状态,包括可用的/已预留的/已分配的NFVI资源。NFVI Resources: Stores the status of all NFVI resources, including available/reserved/allocated NFVI resources.
本发明实施例的概述概述如下:An overview of the embodiments of the present invention is summarized as follows:
针对标准文档中VNF状态不一致的问题,本发明实施例给出一个新的 VNF状态机,如图3所示,用于后续技术方案的说明参考。Aiming at the problem of inconsistent VNF states in standard documents, an embodiment of the present invention provides a new VNF state machine, as shown in FIG. 3 , for reference in the description of subsequent technical solutions.
VNF的状态包含四个状态:The state of the VNF contains four states:
1、Null(空)表示VNF所需基础设施仍未建立完全的状态,如虚拟机未建立、网络未连接等等;1. Null (empty) indicates that the infrastructure required by the VNF has not been fully established, such as the virtual machine is not established, the network is not connected, etc.;
2、Instantiated Not Configured(实例化未配置)表示基础设施已建立,但 VNF的功能程序还没有进行配置;2. Instantiated Not Configured (Instantiated Not Configured) indicates that the infrastructure has been established, but the functional program of the VNF has not been configured;
3、Instantiated Configured(实例化已配置)表示EMS/VNFM已对VNF 进行功能配置,VNF可以进行工作;3. Instantiated Configured means that EMS/VNFM has configured the VNF function, and the VNF can work;
Instantiated Configured状态包含四个小状态:The Instantiated Configured state consists of four small states:
3.1、Inactive(停止)表示VNF处于未激活/休眠状态,不提供服务;3.1. Inactive (stop) means that the VNF is in an inactive/dormant state and does not provide services;
3.2、Active(活动)表示VNF处于活动状态,能够提供正常服务;3.2. Active means that the VNF is in an active state and can provide normal services;
3.3、Abnormal(异常)表示检测到VNF性能下降或异常,可能不能提供正常服务;3.3. Abnormal means that VNF performance degradation or abnormality is detected, and normal services may not be provided;
3.4、Maintenance(维护)表示处于维护状态,不接受新服务。3.4. Maintenance means that it is in a maintenance state and does not accept new services.
4、Terminated(删除)表示在删除VNF。4. Terminated (deleted) indicates that the VNF is being deleted.
在不同的状态下,VNF可以执行的操作是不同的,比如在Maintenance状态下,VNF正在执行升级或更新,因此,不适于执行scaling操作,需要拒绝 scaling的请求。可以在VNFD(针对同类型的所有VNF)或VNFR(针对特定运行中的VNF)中加入如下status_constraints表项,作为NFVO/VNFM对接收的生命周期事件请求进行合法性判断的一个依据。此信息可在VNF package生成时加入VNFD,在instantiate过程中加入VNFR,或在状态变更时写入VNFR(此时可省略当前状态项,只指示当前状态下的操作约束),并能根据OSS的请求进行变更。In different states, the operations that VNF can perform are different. For example, in Maintenance state, VNF is performing upgrade or update. Therefore, it is not suitable for performing scaling operations and needs to reject scaling requests. The following status_constraints entry can be added to the VNFD (for all VNFs of the same type) or VNFR (for a specific running VNF) as a basis for NFVO/VNFM to judge the validity of the received lifecycle event request. This information can be added to the VNFD when the VNF package is generated, added to the VNFR during the instantiate process, or written to the VNFR when the state changes (the current state item can be omitted at this time, and only indicates the operation constraints in the current state), and can be based on the OSS Request a change.
表2 status_constraints表项Table 2 status_constraints entry
各个状态的具体处理过程如下:The specific processing process of each state is as follows:
Null:接收到Instantiate(实例化)请求后(可能来自于OSS、VNFM或EMS),NFVO开始对VNF的状态进行维护,生成VNFR,填写相关参数,并修改VNFR记录状态为Null;之后,收集其他管理实体对该VNF状态变化通知的订阅信息,将其写入到VNFR的notification项中。如果在VNFR中定义 status_constraints表项,则根据instantiate(实例)的参数或默认设置,将其也写入VNFR中。在Null状态下,默认只允许cancel(撤销)操作,禁止其他操作。Null: After receiving the Instantiate (instantiation) request (possibly from OSS, VNFM or EMS), NFVO starts to maintain the VNF status, generates VNFR, fills in relevant parameters, and modifies the VNFR record status to Null; after that, collect other The management entity's subscription information for the VNF state change notification is written into the notification item of the VNFR. If the status_constraints table entry is defined in VNFR, it is also written into VNFR according to the parameters of instantiate (instance) or default settings. In the Null state, only the cancel (undo) operation is allowed by default, and other operations are prohibited.
Instantiated Not Configured:在Instantiate过程中,当VIM反馈基础设施已全部建立完成后,NFVO(或VNFM通知NFVO,由VIM反馈的对象决定) 修改VNFR中的状态为Instantiated Not Configured。之后,EMS和VNFM对 VNF进行功能配置。或者在Instantiated Configured状态下重置(Reset),则进入Instantiated Not Configured进行重新配置。在此状态下,默认只允许configure (配置)、terminate(终止)操作,禁止其他操作。Instantiated Not Configured: During the Instantiate process, after the VIM feedback infrastructure has been established, NFVO (or VNFM notifies NFVO, determined by the VIM feedback object) changes the state in VNFR to Instantiated Not Configured. After that, the EMS and VNFM configure the functions of the VNF. Or reset (Reset) in the Instantiated Configured state, enter Instantiated Not Configured for reconfiguration. In this state, only configure and terminate operations are allowed by default, and other operations are prohibited.
Inactive:在Instantiate过程中,EMS和VNFM都接收到配置(configure) 成功的消息后,或是当VNF处于Active状态,接收到stop请求,并反馈操作成功后,VNFM通知NFVO修改VNFR中的状态为Instantiated Configured:Inactive或Inactive状态。在此状态下,默认只禁止cancel(取消)、stop(停止)、heal(自愈)等操作,允许其他操作。Inactive: During the Instantiate process, after both the EMS and VNFM receive a successful configure message, or when the VNF is in the Active state, receive a stop request, and feedback that the operation is successful, the VNFM notifies NFVO to modify the state in the VNFR to Instantiated Configured: Inactive or Inactive state. In this state, only cancel (cancel), stop (stop), heal (self-healing) and other operations are prohibited by default, and other operations are allowed.
Active:当VNF处于Inactive状态,VNFM/NFVO接收到start请求,并收到启动成功的消息后,或在Abnormal/Maintenance状态下,收到heal/upgrade /update自愈/升级/更新等操作成功的消息后,NFVO修改VNFR中的状态为 Instantiated Configured:Active或Active状态。在此状态下,默认只禁止cancel、 start、heal等操作,允许其他操作。Active: When the VNF is in the Inactive state, the VNFM/NFVO receives the start request and receives the message of successful startup, or in the Abnormal/Maintenance state, receives the successful operation such as heal/upgrade/update self-healing/upgrade/update. After the message, NFVO modifies the state in VNFR to Instantiated Configured: Active or Active state. In this state, only cancel, start, heal and other operations are prohibited by default, and other operations are allowed.
Maintenance:当VNF处于Inactive/Active状态下,接收到 update/upgrade/rollback(更新/升级/回滚)等请求,并验证通过后,NFVO修改VNFR中的状态为Instantiated Configured:Maintenance或Maintenance状态。在此状态下,默认只允许cancel和terminate操作,禁止其他操作。Maintenance: When the VNF is in the Inactive/Active state, it receives requests such as update/upgrade/rollback (update/upgrade/rollback), and after the verification is passed, the NFVO modifies the state in the VNFR to Instantiated Configured: Maintenance or Maintenance state. In this state, only cancel and terminate operations are allowed by default, and other operations are prohibited.
Abnormal:当VNF处于Inactive/Active/Maintenance状态下,VNFM通过主动查询或被动上报从VNF或VIM处接收到故障、严重告警、性能下降通知或发现VNF出现异常行为时,通知NFVO将VNFR中的状态变为Instantiated Configured:Abnormal或Abnormal状态,并执行VNFD中相应的生命周期事件处理脚本。更具体地:在VNF处于Maintenance状态下检测到异常(Detect anomaly),通知NFVO将VNFR中的状态变为Abnormal,当VNF处于Inactive/Active状态下检测到异常(Detect anomaly)或符合策略约束(meet poticyconstraints)例如:前述收到故障、严重告警、性能下降通知或发现VNF 出现异常行为时等情况,通知NFVO将VNFR中的状态变为Abnormal,。在此状态下,默认允许scating(伸缩)、healing(自愈)、configure(配置)、terminate (删除)操作,禁止其他操作。Abnormal: When the VNF is in the Inactive/Active/Maintenance state, the VNFM receives a fault, serious alarm, performance degradation notification from the VNF or VIM through active query or passive reporting, or when abnormal behavior of the VNF is found, it notifies NFVO to change the status in the VNFR Change to Instantiated Configured: Abnormal or Abnormal state, and execute the corresponding lifecycle event processing script in the VNFD. More specifically: Detect anomaly when the VNF is in the Maintenance state, notify NFVO to change the state in the VNFR to Abnormal, and detect anomaly when the VNF is in the Inactive/Active state (Detect anomaly) or meet policy constraints (meet). poticyconstraints) such as: the aforementioned notification of failure, serious alarm, performance degradation, or abnormal behavior of the VNF is found, and the NFVO is notified to change the state in the VNFR to Abnormal. In this state, scaling (scaling), healing (self-healing), configure (configuration), and terminate (deletion) operations are allowed by default, and other operations are prohibited.
Terminate:当VNFM接收到terminate请求并通过验证后,VNFM通知 NFVO修改VNFR中的状态为Terminated,并执行相应的生命周期事件处理脚本。在此状态下,默认不允许任何操作。Terminate: When the VNFM receives the terminate request and passes the verification, the VNFM notifies the NFVO to modify the status in the VNFR to Terminated, and execute the corresponding lifecycle event processing script. In this state, no operations are allowed by default.
本发明实施例主要应用在NFV系统环境中(如图1所示),可能部署的场景是利用NFV技术构建的云化EPC,对其中的虚拟MME、PGW、SGW等网元进行生命周期管理。The embodiments of the present invention are mainly applied in the NFV system environment (as shown in FIG. 1 ), and a possible deployment scenario is a cloud-based EPC constructed by using NFV technology, and the life cycle management of network elements such as virtual MME, PGW, and SGW is performed.
本发明实施例涉及到的网元包括图2(MANO系统)中的VNFM、VNF Catalog(存储了VNFD)、NFV Instance(存储了VNFR)、VNF、EMS、NFVO。The network elements involved in the embodiment of the present invention include VNFM, VNF Catalog (where VNFD is stored), NFV Instance (where VNFR is stored), VNF, EMS, and NFVO in FIG. 2 (MANO system).
其中VNFM负责对VNF的生命周期事件请求进行验证和处理,另外负责收集VNF本身、EMS、VIM对VNF的性能、故障监测结果,从而把握VNF 的运行状态。The VNFM is responsible for verifying and processing the life cycle event requests of the VNF, and is also responsible for collecting the performance and fault monitoring results of the VNF itself, EMS, and VIM on the VNF, so as to grasp the running status of the VNF.
VNFD或VNFR记录了status_constraints,用于请求的合法性判断,同时它们还包含处理生命周期事件的脚本,用于对请求进行处理。VNFD or VNFR record status_constraints, which are used to judge the legitimacy of requests, and they also contain scripts for processing life cycle events, which are used to process requests.
此外,VNFR中记录了VNF的运行状态和状态变更的历史信息。In addition, the VNFR records the historical information of the running state and state change of the VNF.
VNF负责执行处理生命周期事件的操作并监测和维护自身的运行状态。The VNF is responsible for performing operations that process lifecycle events and monitoring and maintaining its own operational status.
EMS可能触发生命周期事件、上报监测结果或订阅VNF状态变化通知。EMS may trigger lifecycle events, report monitoring results, or subscribe to VNF state change notifications.
NFVO负责管理VNFM、VNFD和VNFR,可能对相关设置(如 status_constraints)进行修改、触发生命周期事件并进行验证、订阅VNF状态变化通知等。NFVO is responsible for managing VNFM, VNFD and VNFR, possibly modifying related settings (such as status_constraints), triggering and verifying lifecycle events, subscribing to VNF status change notifications, etc.
本发明实施例提供了一种虚拟网络功能的生命周期管理方法,如图4A所示和图5A所示,其中图4A为系统结构示意图,本实施例方法流程在图4A 所示的VNFM一侧执行,具体包括:An embodiment of the present invention provides a life cycle management method for a virtual network function, as shown in FIG. 4A and FIG. 5A , wherein FIG. 4A is a schematic diagram of a system structure, and the method flow of this embodiment is on the VNFM side shown in FIG. 4A . implementation, including:
501A:虚拟网络功能管理器VNFM在接收到实例化虚拟网络功能VNF 请求后,向网络功能虚拟化编排器NFVO发送申请资源请求,使上述NFVO 将上述申请资源请求转发给虚拟化基础设施管理器VIM,并且使上述NFVO 控制创建与上述VNF对应的虚拟网络功能记录VNFR。501A: After receiving the request for instantiating the virtual network function VNF, the virtual network function manager VNFM sends a request for resource application to the network function virtualization orchestrator NFVO, so that the above-mentioned NFVO forwards the above-mentioned resource application request to the virtualized infrastructure manager VIM , and make the above-mentioned NFVO control to create a virtual network function record VNFR corresponding to the above-mentioned VNF.
以上实施例已经创建好VNFR,因此可以用于存储VNF的状态,进一步地,本发明实施例还提供了如下实例化VNF的具体流程,如下:The VNFR has been created in the above embodiment, so it can be used to store the state of the VNF. Further, the embodiment of the present invention also provides the following specific process of instantiating the VNF, as follows:
502A:接收由上述NFVO转发的来自上述VIM返回的回复消息,然后依据上述回复消息确定上述VIM已经为上述VNF分配资源,然后配置上述VNF;502A: Receive the reply message returned by the VIM forwarded by the NFVO, then determine that the VIM has allocated resources for the VNF according to the reply message, and then configure the VNF;
503A:在配置上述VNF完成后,向网元管理系统EMS发送实例化完成消息,使上述EMS配置上述VNF;503A: After completing the configuration of the VNF, send an instantiation completion message to the network element management system EMS, so that the EMS configures the VNF;
504A:在确定上述EMS对上述VNF配置完成后,向上述NFVO发送实例化操作完成消息。504A: After determining that the configuration of the VNF is completed by the EMS, send an instantiation operation completion message to the NFVO.
进一步地,在以上图4A所示的流程中,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,在本实施例中可以有两种实现方式,一种是由VNFM询问管理实体是否需要订阅,另一种方式是由管理实体主动订阅。VNFM与网络功能虚拟化实例(NFVInstance)之间的通信,如果有接口那么可以直接通信如果没有接口可以通过NFVO转发,具体如下:在上述 NFVO控制创建与上述VNF对应的虚拟网络功能记录VNFR之后,上述方法还包括:Further, in the above process shown in FIG. 4A , after the VNFR is created, the management entity may need to know the information of the VNF state change in real time. Subscription is required, another way is to actively subscribe by the management entity. The communication between the VNFM and the network function virtualization instance (NFVInstance) can be directly communicated if there is an interface. If there is no interface, it can be forwarded through NFVO. The details are as follows: After the above NFVO controls the creation of the virtual network function record VNFR corresponding to the above VNF, The above method also includes:
向管理实体推送询问消息,用于询问是否需要订阅上述VNF状态变化信息;Push an inquiry message to the management entity to inquire whether to subscribe to the above VNF state change information;
接收上述管理实体返回的是否订阅上述VNF状态变化信息的回复信息,将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述VNFR;Receive the reply information of whether the above-mentioned management entity subscribes to the above-mentioned VNF state change information, and send the information of whether the above-mentioned management entity subscribes to the above-mentioned VNF state change information to the above-mentioned NFVO, so that the above-mentioned NFVO control is stored in the above-mentioned VNFR;
或者上述方法还包括:接收来自管理实体发送的是否订阅上述VNF状态变化信息的信息;将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述VNFR。Or the above-mentioned method further comprises: receiving the information of whether to subscribe to the above-mentioned VNF state change information sent from the management entity; sending the information of whether the above-mentioned management entity subscribes to the above-mentioned VNF state change information to the above-mentioned NFVO, so that the above-mentioned NFVO control is stored in the above-mentioned VNFR.
可选地,在本实施例还给出了实例化VNF请求的来源举例,需要说明的是,若其他设备有创建VNF的需求也是可以发起该实例化VNF请求的可能,因此本实施例的举例不应理解为对本发明实施例的唯一性限定,具体如下:上述接收到实例化虚拟网络功能VNF请求包括:Optionally, this embodiment also gives an example of the source of the instantiated VNF request. It should be noted that if other devices have the need to create a VNF, it is also possible to initiate the instantiated VNF request. It should not be construed as a unique limitation to the embodiment of the present invention, and the details are as follows: the above-mentioned received instantiation of the virtual network function VNF request includes:
上述接收到实例化虚拟网络功能VNF请求包括:The above received instantiated virtual network function VNF request includes:
接收上述NFVO的实例化VNF请求,Receive the instantiated VNF request of the above NFVO,
或者,or,
接收到来自上述EMS的实例化VNF请求。上述NFVO的实例化VNF请求可以是由OSS发起发送给NFVO由NFVO转发给VNFM。The instantiated VNF request from the above EMS is received. The instantiated VNF request of the NFVO may be initiated by the OSS and sent to the NFVO, and then forwarded by the NFVO to the VNFM.
进一步地,如图4B所示,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了更新VNFR中的信息的方案,具体如下:Further, as shown in FIG. 4B , after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a solution for updating the information in the VNFR, as follows:
虚拟网络功能管理器VNFM在确定已经创建VNF对应的虚拟网络功能记录VNFR后,若上述VNFM确定上述VNF的状态发生改变,则向存储上述VNFR的网络功能虚拟化实例发送将上述VNF的状态修改为变化后状态的通知消息;After the virtual network function manager VNFM determines that the virtual network function record VNFR corresponding to the VNF has been created, if the above-mentioned VNFM determines that the state of the above-mentioned VNF has changed, it sends to the network function virtualization instance storing the above-mentioned VNFR. Notification message of the changed state;
或者,or,
向NFVO发送将上述VNF的状态修改为变化后状态的通知消息,使上述 NFVO转发给存储上述VNFR的网络功能虚拟化实例。A notification message is sent to the NFVO to modify the state of the VNF to the state after the change, so that the NFVO is forwarded to the network function virtualization instance that stores the VNFR.
本实施例可以独立运行,只要VNFR已经创建就可以,并不依赖于前面实施例中所提及的创建VNFR所采用的特定流程。This embodiment can run independently as long as the VNFR has been created, and does not depend on the specific process used for creating the VNFR mentioned in the previous embodiment.
在本发明实施例中,VNFR中的状态变化后,需要将VNF的状态信息发送给订阅了VNF状态变化信息的管理实体,本发明实施例提供了解决方案如下:上述方法还包括:In the embodiment of the present invention, after the state in the VNFR changes, the state information of the VNF needs to be sent to the management entity that has subscribed to the state change information of the VNF. The embodiment of the present invention provides the following solution: the above method further includes:
在将上述VNF的状态修改为变化后状态后,向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。After the state of the above-mentioned VNF is modified to the state after the change, the information of the above-mentioned VNF state change is sent to the management entity that subscribes to the above-mentioned VNF state change information.
在发送VNF状态变化的信息需要确定订阅上述VNF状态变化信息的管理实体,该信息可以记录在VNFR中,因此基于VNFM是否与网络功能虚拟化实例有通信接口有两种获取方式,具体如下:在向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,上述方法还包括:When sending the information of VNF state change, it is necessary to determine the management entity that subscribes to the above-mentioned VNF state change information. This information can be recorded in the VNFR. Therefore, there are two ways to obtain the information based on whether the VNFM has a communication interface with the network function virtualization instance. The details are as follows: Before sending the above-mentioned VNF state change information to the management entity subscribing to the above-mentioned VNF state change information, the above method further includes:
上述VNFM从上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述VNF状态变化信息的管理实体;The above-mentioned VNFM obtains subscription information from the above-mentioned network function virtualization instance, and determines the management entity that subscribes to the above-mentioned VNF state change information according to the above-mentioned subscription information;
或者,上述方法还包括:上述VNFM接收来自上述网络功能虚拟化实例的上述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅上述VNF状态变化信息的管理实体。Or, the above-mentioned method further includes: the above-mentioned VNFM receives a reply message from the above-mentioned network function virtualization instance that the state of the above-mentioned VNF has been modified to the changed state, and then according to the subscription information carried therein, determining the management entity that subscribes to the above-mentioned VNF state change information .
进一步地,如图4C上述,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了在有针对VNF的操作指令后的控制方案,具体如下:上述方法还包括:在上述NFVO控制创建与上述VNF对应的虚拟网络功能记录VNFR之后,上述方法还包括:Further, as described above in FIG. 4C , after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a control scheme after there is an operation instruction for the VNF, which is specifically as follows: the above method further includes: in the above After the NFVO controls the creation of the virtual network function record VNFR corresponding to the above VNF, the above method further includes:
接收到针对上述VNF的生命周期事件请求后,从存储上述VNFR的网络功能虚拟化实例中获取上述VNF当前的状态;After receiving the lifecycle event request for the above-mentioned VNF, obtain the current state of the above-mentioned VNF from the network function virtualization instance storing the above-mentioned VNFR;
若确定上述生命周期事件请求的操作属于上述VNF当前的状态允许的操作,则执行上述生命周期事件请求的操作;否则,拒绝上述生命周期事件请求的操作。If it is determined that the operation requested by the above life cycle event belongs to the operation permitted by the current state of the above VNF, the operation requested by the above life cycle event is executed; otherwise, the operation requested by the above life cycle event is rejected.
本发明实施例还提供了VNF的状态划分以及各状态下操作指令的控制策略,操作指令的控制策略可以存放在VNFR中,在VNFM获取VNF的状态还告知VNFM,也可以存放在VNFM中本发明实施例不作唯一性限定。具体如下:上述VNF的状态包括:The embodiment of the present invention also provides the state division of the VNF and the control strategy of the operation command in each state. The control strategy of the operation command can be stored in the VNFR, and the VNFM obtains the state of the VNF and informs the VNFM, which can also be stored in the VNFM. The embodiment is not uniquely limited. The details are as follows: The status of the above VNF includes:
空,表示VNF所需基础设施仍未建立完全的状态;实例化未配置,表示基础设施已建立,但VNF的功能程序还没有进行配置的状态;实例化已配置,表示VNF已进行功能配置可以进行工作的状态;删除,表示VNF正在删除的状态;其中,上述实例化已配置包括:停止,表示VNF处于未激活/休眠状态,不提供服务的状态;活动,表示VNF处于活动状态,能够提供正常服务的状态;异常,表示VNF处于性能下降或异常,可能不能提供正常服务的状态;以及,维护,表示处于维护状态,不接受新服务的状态;Empty, indicating that the infrastructure required by the VNF has not yet been fully established; instantiation is not configured, indicating that the infrastructure has been established, but the function program of the VNF has not been configured; the instantiation is configured, indicating that the VNF has been configured. The state of working; delete, indicating the state of the VNF being deleted; wherein, the above instantiation has been configured including: stop, indicating that the VNF is in an inactive/dormant state and does not provide services; active, indicating that the VNF is in an active state and can provide The status of normal services; Abnormal, which means that the VNF is in a state of degraded or abnormal performance and may not be able to provide normal services; and Maintenance, which means that it is in a maintenance state and does not accept new services;
上述空状态下,允许撤销操作,不允许其他操作;上述实例化未配置状态下,允许配置操作和终止操作,不允许其他操作;上述停止状态下,不允许取消操作、停止操作以及自愈操作,允许其他操作;上述活动状态下,不允许取消操作、开始操作以及自愈操作,允许其他操作;上述异常状态下,允许伸缩操作、自愈操作、配置操作以及删除操作,不允许其他操作;上述维护状态下,允许取消操作和终止操作,允许其他操作;上述删除状态下,不允许任何操作。In the above empty state, undo operations are allowed, and other operations are not allowed; in the above instantiated unconfigured state, configuration operations and termination operations are allowed, but other operations are not allowed; in the above stopped state, cancellation operations, stop operations, and self-healing operations are not allowed , other operations are allowed; in the above active state, cancel operation, start operation and self-healing operation are not allowed, and other operations are allowed; in the above abnormal state, scaling operation, self-healing operation, configuration operation and deletion operation are allowed, and other operations are not allowed; In the above maintenance state, cancel operation and termination operation are allowed, and other operations are allowed; in the above deletion state, no operation is allowed.
本发明实施例提供了一种虚拟网络功能的生命周期管理方法,如图4A所示和图5B所示,其中图4A为系统结构示意图,本实施例方法流程在图4A 所示的NFVO一侧执行,具体包括:An embodiment of the present invention provides a life cycle management method for a virtual network function, as shown in FIG. 4A and FIG. 5B , wherein FIG. 4A is a schematic diagram of a system structure, and the method flow of this embodiment is on the NFVO side shown in FIG. 4A . implementation, including:
501B:网络功能虚拟化编排器NFVO在接收到来自VNFM的申请资源请求后,将上述申请资源请求转发给VIM虚拟化基础设施管理器,然后接收上述VIM为VNF分配资源后返回的回复消息,将上述回复消息转发给上述 VNFM;向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求;501B: After receiving the resource application request from the VNFM, the network function virtualization orchestrator NFVO forwards the above application resource request to the VIM virtualization infrastructure manager, and then receives the reply message returned by the above VIM after allocating resources to the VNF, and sends the The above reply message is forwarded to the above VNFM; the virtual network function record VNFR creation request is sent to the network function virtualization instance;
502B:上述NFVO向上述网络功能虚拟化实例发送虚拟网络功能描述符 VNFD,上述VNFD中包含上述VNFR中的信息项的参数信息;502B: The above-mentioned NFVO sends the virtual network function descriptor VNFD to the above-mentioned network function virtualization instance, and the above-mentioned VNFD includes the parameter information of the information items in the above-mentioned VNFR;
在步骤502B之后可以如下:上述NFVO在确定上述VNF状态变化后,向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息。然而实现“向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息”的具体实现过程,依据不同的应用场景有不同的流程,其中,在VNF实例化过程中可以如下:After
503B:上述NFVO在接收到上述回复消息确定上述VIM已经为上述VNF 分配资源后,向上述网络功能虚拟化实例发送通知消息指示修改上述VNF的状态为实例化未配置状态;503B: After the above-mentioned NFVO receives the above-mentioned reply message and determines that the above-mentioned VIM has allocated resources for the above-mentioned VNF, it sends a notification message to the above-mentioned network function virtualization instance to indicate that the state of the above-mentioned VNF is modified to be an instantiated unconfigured state;
504B:上述NFVO在接收到来自上述VNFM的实例化操作完成后,向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为实例化停止的修改指示。504B: After receiving the completion of the instantiation operation from the VNFM, the above-mentioned NFVO sends a modification instruction to the above-mentioned network function virtualization instance to instruct to modify the state of the above-mentioned VNF to stop the instantiation.
以上步骤503B和步骤504B,均是修改状态的过程,因此理论上可以择一执行也可以均执行。The
进一步地,在以上图4A所示的流程中,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,需要将其保存到网络功能虚拟化实例中的VNFR,本实施例提供了具体实现方案,具体如下:在向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求后,上述方法还包括:Further, in the process shown in FIG. 4A above, after the VNFR is created, the management entity may need to know the information of the VNF state change in real time, and needs to save it to the VNFR in the network function virtualization instance. This embodiment provides a specific implementation. The specific solution is as follows: after the virtual network function record VNFR creation request is sent to the network function virtualization instance, the above method further includes:
上述NFVO接收来自上述VNFM发送的管理实体是否订阅上述VNF状态变化信息的信息,或者,接收来自管理实体发送的管理实体是否订阅上述VNF 状态变化信息的信息;The above-mentioned NFVO receives information from the above-mentioned VNFM whether the management entity subscribes to the above-mentioned VNF state change information, or receives the information sent from the management entity whether the management entity subscribes to the above-mentioned VNF state change information;
将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述网络功能虚拟化实例保存到上述VNFR;上述管理实体包括上述EMS、上述NFVO 以及上述VIM中的至少一项。Send the information on whether the management entity subscribes to the VNF state change information to the network function virtualization instance and save it to the VNFR; the management entity includes at least one of the EMS, the NFVO, and the VIM.
进一步地,如图4B所示,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了更新VNFR中的信息的方案,具体如下:Further, as shown in FIG. 4B , after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a solution for updating the information in the VNFR, as follows:
上述NFVO在接收到将上述VNF的状态修改为变化后状态的通知消息后,转发给上述网络功能虚拟化实例;After receiving the notification message for modifying the state of the VNF to the state after the change, the above-mentioned NFVO forwards it to the above-mentioned network function virtualization instance;
在将上述VNF的状态修改为变化后状态后,向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。After the state of the above-mentioned VNF is modified to the state after the change, the information of the above-mentioned VNF state change is sent to the management entity that subscribes to the above-mentioned VNF state change information.
在本发明实施例中,VNFR中的状态变化后,需要将VNF的状态信息发送给订阅了VNF状态变化信息的管理实体,区别于前面实施例由VNFM发送的方,本实施例采用NFVO发送,本发明实施例提供的解决方案如下:在向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,上述方法还包括:In the embodiment of the present invention, after the state in the VNFR changes, the state information of the VNF needs to be sent to the management entity that subscribes to the state change information of the VNF. Different from the party sent by the VNFM in the previous embodiment, this embodiment uses NFVO to send, The solution provided by the embodiment of the present invention is as follows: before sending the above-mentioned VNF state change information to the management entity subscribing to the above-mentioned VNF state change information, the above-mentioned method further includes:
上述NFVO从上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述VNF状态变化信息的管理实体;The above-mentioned NFVO obtains subscription information from the above-mentioned network function virtualization instance, and determines the management entity that subscribes to the above-mentioned VNF state change information according to the above-mentioned subscription information;
或者,上述方法还包括:上述NFVO接收来自上述网络功能虚拟化实例的上述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅上述VNF状态变化信息的管理实体。Or, the above method further includes: the above-mentioned NFVO receives a reply message from the above-mentioned network function virtualization instance that the state of the above-mentioned VNF has been modified to the changed state, and then determines the management entity that subscribes to the above-mentioned VNF state change information according to the subscription information carried therein. .
本发明实施例提供了一种虚拟网络功能的生命周期管理方法,如图4A所示和图5C所示,其中图4A为系统结构示意图,本实施例方法流程在图4A 所示的网络功能虚拟化实例一侧执行,具体包括:An embodiment of the present invention provides a life cycle management method for a virtual network function, as shown in FIG. 4A and FIG. 5C , wherein FIG. 4A is a schematic diagram of a system structure, and the method flow of this embodiment is in the virtual network function shown in FIG. 4A . Executed on one side of the instance, including:
501C:网络功能虚拟化实例在接收到来自NFVO的虚拟网络功能记录 VNFR创建请求后,创建与VNF对应的虚拟网络功能记录VNFR;501C: After receiving the virtual network function record VNFR creation request from NFVO, the network function virtualization instance creates a virtual network function record VNFR corresponding to the VNF;
502C:接收来自上述NFVO的虚拟网络功能描述符VNFD,上述VNFD 中包含上述VNFR中的信息项的参数信息;将上述VNFD中的参数信息记录到上述VNFR;502C: Receive the virtual network function descriptor VNFD from the above-mentioned NFVO, where the above-mentioned VNFD includes parameter information of the information items in the above-mentioned VNFR; record the parameter information in the above-mentioned VNFD to the above-mentioned VNFR;
在执行完502C以后,上述方法还包括:在接收到来自上述NFVO的指示修改上述VNF状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为通知消息指示的状态。在本实施例中,NFVO的指示可以有很多,依据不同的应用流程,可能有不同的指示,其中本实施例提供了在VNF实例化过程中的具体流程如下:After performing 502C, the method further includes: after receiving a notification message from the NFVO indicating to modify the state of the VNF, modifying the state information in the VNFR corresponding to the VNF to the state indicated by the notification message. In this embodiment, there may be many indications of NFVO, and there may be different indications according to different application processes. This embodiment provides a specific process in the VNF instantiation process as follows:
503C:接收来自上述NFVO的指示修改上述VNF的状态为实例化未配置状态的通知消息,修改上述VNF对应的VNFR中的状态信息为实例化未配置状态;503C: Receive a notification message from the above-mentioned NFVO indicating that the state of the above-mentioned VNF is modified to be the instantiated unconfigured state, and modify the state information in the VNFR corresponding to the above-mentioned VNF to be the instantiated unconfigured state;
504C:接收来自上述NFVO的指示将上述VNF的状态修改为实例化停止的修改指示,修改上述VNF对应的VNFR中的状态信息为实例化停止。504C: Receive an instruction from the NFVO to modify the state of the VNF to a modification instruction indicating that the instantiation is stopped, and modify the state information in the VNFR corresponding to the VNF to stop the instantiation.
以上步骤503B和步骤504B,均是修改状态的过程,因此理论上可以择一执行也可以均执行。The
由于在后续实施例中,当VNF的状态变化后需要向管理实体发送VNF的状态信息变化的信息,因此需要保存有哪些管理实体订阅了VNF状态变化信息,具体如下:在创建与VNF对应的虚拟网络功能记录VNFR之后,上述方法还包括:In the subsequent embodiments, when the state of the VNF changes, the information about the change of the state information of the VNF needs to be sent to the management entity, so it is necessary to save which management entities have subscribed to the state change information of the VNF, as follows: After the network function records the VNFR, the above method further includes:
上述网络功能虚拟化实例在接收到来自上述NFVO的管理实体是否订阅上述VNF状态变化信息的信息后,将上述管理实体是否订阅上述VNF状态变化信息的信息存入上述VNFR;上述管理实体包括上述EMS、上述NFVO以及上述VIM中的至少一项。After the above-mentioned network function virtualization instance receives the information on whether the management entity of the above-mentioned NFVO subscribes to the above-mentioned VNF state change information, the information of whether the above-mentioned management entity subscribes to the above-mentioned VNF state change information is stored in the above-mentioned VNFR; The above-mentioned management entity includes the above-mentioned EMS , at least one of the above NFVO and the above VIM.
本发明实施例还提供了修改VNFR中的状态信息的具体实现方案,可以参阅图4B所示流程,如下:在接收到来自上述VNFM或者来自上述VNFM 经上述NFVO转发的,将上述VNF的状态修改为变化后状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为上述变化后状态。The embodiment of the present invention also provides a specific implementation scheme for modifying the state information in the VNFR, and you can refer to the process shown in FIG. 4B, as follows: after receiving the information from the VNFM or from the VNFM forwarded by the NFVO, the state of the VNF is modified. After the notification message of the changed state, the state information in the VNFR corresponding to the above VNF is modified to the above changed state.
在VNFM或者NFVO需要向管理实体发送VNF状态时,他们需要获知订阅信息,从而确定哪些管理实体订阅了VNF状态改变信息,本实施例可以有两种方式告知,具体如下:上述方法还包括:When the VNFM or NFVO needs to send the VNF status to the management entity, they need to know the subscription information, so as to determine which management entities have subscribed to the VNF status change information. In this embodiment, there may be two ways to notify, as follows: the above method further includes:
在接收到来自上述VNFM或者上述NFVO的查询请求后,向发送查询请求的设备发送上述VNF的订阅信息;After receiving the query request from the above VNFM or the above NFVO, send the subscription information of the above VNF to the device sending the query request;
或者,or,
在将上述VNF对应的VNFR中的状态信息修改为上述变化后状态后,向上述VNFM或者上述NFVO发送用于告知上述VNF状态已经修改的回复消息,在上述回复消息中携带上述订阅信息;上述订阅信息中包含订阅上述VNF 状态变化信息的管理实体的信息。After modifying the state information in the VNFR corresponding to the above VNF to the above changed state, send a reply message to the above VNFM or the above NFVO to notify that the above VNF state has been modified, and the above reply message carries the above subscription information; the above subscription The information includes the information of the management entity that subscribes to the above VNF state change information.
本发明实施例还提供了五个具体举例说明对本发明实施例进行更详细的说明,具体如下:The embodiment of the present invention also provides five specific examples to describe the embodiment of the present invention in more detail, as follows:
实施例一、是VNF状态的创建与订阅过程,如图6所示,包含如下步骤:Embodiment 1 is the process of creating and subscribing the VNF state, as shown in Figure 6, including the following steps:
601:NFVO接收来自OSS的实例化VNF请求后,验证该实例化VNF请求的合法性,如果合法则将该实例化VNF请求发送给VNFM;用于触发VNF 的实例化。601: After receiving the instantiated VNF request from the OSS, the NFVO verifies the validity of the instantiated VNF request, and if it is valid, sends the instantiated VNF request to the VNFM; it is used to trigger the instantiation of the VNF.
602:VNFM在接收到上述实例化VNF请求后验证实例化VNF请求合法性,如果合法则向NFVO发送申请资源请求;602: VNFM verifies the validity of the instantiated VNF request after receiving the above instantiated VNF request, and if it is legal, sends a resource request to NFVO;
603:NFVO在接收到上述申请资源请求后,一方面NFVO向VIM转发申请资源请求,另一方面,NFVO向NFV Instance发送VNFR创建请求,用于通知NFV Instance创建VNFR,VNFR用于记录VNF运行时的信息,其中包含状态信息。603: After NFVO receives the above resource application request, on the one hand, NFVO forwards the resource application request to VIM, and on the other hand, NFVO sends a VNFR creation request to NFV Instance to notify NFV Instance to create a VNFR, and VNFR is used to record VNF runtime , which contains status information.
NFV Instance在创建VNFR完成后可以向NFVO返回确认创建消息,用于告知NFVO上述VNFR已经创建完成。VIM在收到上述申请资源请求后为 VNF分配资源,然后向NFVO发送分配资源的回复消息,在该回复消息中可以携带分配资源的情况可以包括:分配了什么资源以及是否分配成功的信息。After creating the VNFR, the NFV Instance can return a confirmation message to NFVO to inform NFVO that the above VNFR has been created. After receiving the above resource application request, the VIM allocates resources to the VNF, and then sends a reply message for allocating resources to the NFVO. The reply message can carry information about the allocated resources, including: what resources are allocated and whether the allocation is successful.
在NFVO向NFV Instance发送VNFR创建请求时或NFVO创建VNFR完成后,NFVO向NFVInstance发送VNFD等信息,用于填写VNFR的相关信息项。When NFVO sends a VNFR creation request to NFV Instance or after NFVO creates VNFR, NFVO sends VNFD and other information to NFV Instance to fill in relevant information items of VNFR.
604:VIM分配资源后向NFVO发送回复消息,NFVO获知资源已经分配, NFVO向NFVInstance发送通知消息,用于通知NFV Instance修改VNFR的状态为instantiated notconfigured。604: After the VIM allocates the resources, it sends a reply message to the NFVO. The NFVO learns that the resources have been allocated, and the NFVO sends a notification message to the NFV Instance to notify the NFV Instance to modify the state of the VNFR to instantiated notconfigured.
根据策略不同,可能会修改status_constraints,另外,需要将状态变更操作记录在audit_log中。NFV Instance修改状态操作完成后可以回复修改确认消息。Depending on the strategy, status_constraints may be modified. In addition, status change operations need to be recorded in audit_log. The NFV Instance can reply to the modification confirmation message after the modification operation is completed.
605:在NFVO向NFV Instance发送通知消息后,NFVO将回复消息转发给VNFM,通知VNFM资源分配完成,VNFM开始对VNF进行配置。605: After the NFVO sends the notification message to the NFV Instance, the NFVO forwards the reply message to the VNFM, notifying the VNFM that the resource allocation is completed, and the VNFM starts to configure the VNF.
606:本步骤可以与步骤604以及605同步执行。VNFM可以向相关管理实体(如EMS、NFVO、VIM等)推送消息,询问其是否订阅VNF状态变化的通知;收到是否订阅的回复后,VNFM将管理实体是否订阅的信息发送给 NFVO,由NFVO将上述是否订阅的信息发送给NFVInstance写入上述VNFR 中。NFV Instance在写入完毕后可以回复确认修改消息,告知NFVO已经修改 VNFR。606 : This step can be performed synchronously with steps 604 and 605 . VNFM can push messages to relevant management entities (such as EMS, NFVO, VIM, etc.), asking them whether to subscribe to the notification of VNF status changes; after receiving the reply of whether to subscribe, VNFM sends the information of whether the management entity subscribes to NFVO, and NFVO Send the above information on whether to subscribe to NFVInstance and write it into the above VNFR. After writing, the NFV Instance can reply with a confirmation modification message to inform NFVO that the VNFR has been modified.
607:无论EMS是否订阅VNF的状态变化通知,VNFM在配置VNF完成结束后,向EMS发送实例化完成消息,用于通知EMS对VNF进行配置。607: Regardless of whether the EMS subscribes to the state change notification of the VNF, the VNFM sends an instantiation completion message to the EMS after completing the configuration of the VNF to notify the EMS to configure the VNF.
608:EMS配置完成后,发送回复消息告知VNFM针对上述VNF的配置完成。608: After the EMS configuration is completed, a reply message is sent to inform the VNFM that the configuration of the above VNF is completed.
609:VNFM收到上述回复消息确认EMS已经配置完成,则根据订阅情况向订阅了VNF状态变化信息的相关管理实体发送状态变化通知,并向NFVO 反馈实例化操作完成。609: The VNFM receives the above reply message and confirms that the EMS has been configured, and sends a state change notification to the relevant management entity subscribed to the VNF state change information according to the subscription situation, and reports back to the NFVO that the instantiation operation is complete.
如果NFVO也订阅了状态变化通知,则实例化操作完成以及状态变化通知这两条消息可以合并。If NFVO is also subscribed to state change notification, the two messages of instantiation complete and state change notification can be combined.
610:NFVO收到实例化操作完成消息或者状态变化通知后,向NFV Instance发送修改VNFR中的状态信息的请求,变为instantiated:inactive。 NFVO还可以向OSS反馈实例化操作完成。610: After receiving the instantiated operation completion message or the state change notification, the NFVO sends a request to modify the state information in the VNFR to the NFV Instance, which becomes instantiated: inactive. NFVO can also report back to OSS that the instantiation operation is complete.
611:NFV Instance接收到修改VNFR中的状态信息的请求后,验证该请求的合法性,合法性验证通过后修改instantiated:inactive,然后返回确认修改消息给NFVO用于告知状态已经修改完毕。611: After receiving the request to modify the status information in the VNFR, the NFV Instance verifies the validity of the request, modifies instantiated: inactive after passing the validity verification, and then returns a confirmation modification message to NFVO to notify that the status has been modified.
在本步骤中,根据策略和实现方式的不同,NFV Instance有三种方法填写status_constraints,用于VNF运行过程中的生命周期事件请求验证。一是在 VNFR创建时,NFVO提供相关信息给NFV Instance进行填写(可能包含在 VNFD中或作为独立参数提供);二是在实例化结束后,NFVO提供相关信息给NFV Instance对VNFR进行填写;三是在VNF状态变更后,由VNFM通知NFVO,NFVO再对VNFR中的status_constraints进行修改(可以与修改状态的请求合并)。前两种方式可以规定全部状态下的允许/禁止操作列表,也可以只规定当前状态下的允许/禁止操作列表;第三种方式适用于规定当前状态下的允许/禁止操作列表。In this step, according to different policies and implementation methods, NFV Instance has three methods to fill in status_constraints, which are used for verification of life cycle event requests during VNF operation. First, when the VNFR is created, NFVO provides relevant information to the NFV Instance to fill in (may be included in the VNFD or provided as an independent parameter); second, after the instantiation is completed, NFVO provides the relevant information to the NFV Instance to fill in the VNFR; three After the VNF state changes, the VNFM notifies the NFVO, and the NFVO modifies the status_constraints in the VNFR (which can be combined with the request to modify the state). The first two methods can specify the list of permitted/prohibited operations in all states, or only the list of permitted/prohibited operations in the current state; the third method is applicable to specifying the list of permitted/prohibited operations in the current state.
实施例一的技术效果:The technical effect of the first embodiment:
该实施例定义了VNF状态的创建与订阅过程,经过此过程,MANO就可以对VNF的状态进行记录,向相关管理实体推送VNF状态变化的通知以及根据status_constraints对生命周期事件的请求进行验证,避免出现运行错误。This embodiment defines the process of creating and subscribing the VNF state. After this process, MANO can record the state of the VNF, push the notification of the change of the VNF state to the relevant management entity, and verify the request for the life cycle event according to the status_constraints to avoid A runtime error occurred.
本实施例主要对VNF的实例化过程进行了改进,明确了VNFR的建立、修改过程、VNF状态变化通知的订阅过程以及status_constraints的填写过程。其中status_constraints为新增加的属性,它规定了不同状态下允许/禁止的操作,用于生命周期事件请求的验证,它可以存储在VNFD或VNFR中。This embodiment mainly improves the instantiation process of VNF, and clarifies the establishment and modification process of VNFR, the subscription process of VNF state change notification and the filling process of status_constraints. Among them, status_constraints is a newly added attribute, which specifies the permitted/prohibited operations in different states and is used for verification of life cycle event requests, which can be stored in VNFD or VNFR.
实施例二、是VNF状态的创建与订阅过程,如图6所示,包含如下步骤:The second embodiment is the creation and subscription process of the VNF state, as shown in Figure 6, including the following steps:
701:EMS向VNFM发送实例化VNF请求;701: The EMS sends an instantiated VNF request to the VNFM;
702:VNFM收到实例化VNF请求后,验证该请求的合法性,验证通过后向NFVO发送资源申请请求;702: After receiving the instantiated VNF request, the VNFM verifies the validity of the request, and sends a resource application request to NFVO after the verification is passed;
703:NFVO检测资源可用性;703: NFVO detects resource availability;
在本步骤执行同时,还可以向VIM发送资源预留请求,请VIM预留资源, VIM收到资源预留请求后,可以在预留资源后回复确认消息;When this step is performed, a resource reservation request may also be sent to the VIM, asking the VIM to reserve resources, and after receiving the resource reservation request, the VIM may reply with a confirmation message after reserving resources;
704:NFVO向NFV Instance发送创建VNFR的请求,填写当前已有的参数,NFVInstance接收到创建VNFR的请求并验证合法性通过后,向NFVO 返回确认创建消息,告知VNFR已经创建完毕。704: NFVO sends a request to create a VNFR to NFV Instance, and fills in the existing parameters. After receiving the request to create a VNFR and verifying the validity, NFV Instance returns a confirmation message to NFVO to inform that the VNFR has been created.
705:在确认创建VNFR完毕和/或确认VIM预留资源后,NFVO向VNFM 发送回复消息,告知VNFM可以申请分配资源;705: After confirming that the creation of the VNFR is completed and/or confirming that the VIM reserves resources, the NFVO sends a reply message to the VNFM, informing the VNFM that it can apply for resource allocation;
706:VNFM收到来自NFVO的回复消息后,确认可以申请资源。然后,向VIM发送申请分配资源请求;706: After receiving the reply message from NFVO, VNFM confirms that it can apply for resources. Then, send a request for resource allocation to VIM;
707:VIM收到申请分配资源请求后,验证该请求的合法性,验证通过后分配资源,发送回复消息,告知VNFM资源已经分配;707: After receiving the request for resource allocation, the VIM verifies the validity of the request, allocates resources after the verification is passed, and sends a reply message to inform the VNFM that the resources have been allocated;
708:VNFM收到回复消息确定资源已经分配,发起对VNF的配置。708: The VNFM receives the reply message and determines that the resource has been allocated, and initiates the configuration of the VNF.
709:在707中的VIM执行验证通过分配资源,以及发送回复消息的过程中可以向VNFM以及NFVO发送订阅通知,用于请求VNFM以及NFVO及时返回VNF的状态信息;709: The VIM in 707 performs verification to pass the resource allocation, and can send a subscription notification to VNFM and NFVO in the process of sending a reply message, which is used to request VNFM and NFVO to return the status information of VNF in time;
710:VNFM收到订阅通知后,需要将订阅信息写入到VNFR,因此向 NFVO返回订阅信息,NFVO收到该订阅信息以后,将该订阅信息发送给VNFR,用于修改NFV Instance存储的VNFR中的订阅信息;NFV Instance在修改VNFR后返回确认修改,用于告知NFVO已经修改完成。710: After the VNFM receives the subscription notification, it needs to write the subscription information to the VNFR, so it returns the subscription information to NFVO. After NFVO receives the subscription information, it sends the subscription information to the VNFR for modifying the VNFR stored in the NFV Instance. subscription information; NFV Instance returns confirmation of modification after modifying VNFR, which is used to inform NFVO that the modification has been completed.
另外,在NFV Instance中存储的订阅信息若发生修改,那么NFVO需要将订阅信息发送给VNFM;In addition, if the subscription information stored in the NFV Instance is modified, NFVO needs to send the subscription information to the VNFM;
或者,or,
由VNFM向NFVO发送获取订阅信息的请求,然后由NFVO发送回复消息给VNFM,告知当前的订阅信息。The VNFM sends a request for obtaining subscription information to the NFVO, and then the NFVO sends a reply message to the VNFM to inform the current subscription information.
711:无论EMS是否订阅VNF的状态变化通知,VNFM在配置VNF完成结束后,向EMS发送实例化完成消息,用于通知EMS对VNF进行配置。711: Regardless of whether the EMS subscribes to the state change notification of the VNF, the VNFM sends an instantiation completion message to the EMS after the configuration of the VNF is completed, so as to notify the EMS to configure the VNF.
712:EMS配置完成后,发送回复消息告知VNFM已经配置完成。712: After the EMS configuration is completed, a reply message is sent to inform the VNFM that the configuration has been completed.
713:VNFM收到上述回复消息确认EMS已经配置完成,则根据订阅情况向订阅了VNF状态变化信息的相关管理实体发送状态变化通知,并向NFVO 反馈实例化操作完成。713: The VNFM receives the above reply message and confirms that the EMS has been configured, and sends a state change notification to the relevant management entity subscribed to the VNF state change information according to the subscription situation, and reports back to the NFVO that the instantiation operation is complete.
如果NFVO也订阅了关于状态变化的通知,则实例化操作完成以及状态变化通知这两条消息可以合并If NFVO is also subscribed to notifications about state changes, the two messages of instantiation complete and state change notification can be combined
714:NFVO收到实例化消息或者状态变化通知后,向NFV Instance发送修改VNFR中的状态信息的请求,变为instantiated:inactive。NFVO还可以向 OSS反馈实例化操作完成。714: After receiving the instantiated message or the state change notification, the NFVO sends a request to modify the state information in the VNFR to the NFV Instance, which becomes instantiated: inactive. NFVO can also report to OSS that the instantiation operation is complete.
715:NFV Instance接收到修改VNFR中的状态信息的请求后,验证该请求的合法性,合法性验证通过后修改instantiated:inactive,然后返回确认修改消息给NFVO用于告知状态已经修改完毕。715: After receiving the request to modify the status information in the VNFR, the NFV Instance verifies the validity of the request, modifies instantiated: inactive after passing the validity verification, and then returns a confirmation modification message to NFVO to notify that the status has been modified.
以上步骤711~715可以参考实施例一,更具体的说明在此不再赘述。本实施例和实施例一相比变化有两点,具体如下:For the above steps 711 to 715, reference may be made to Embodiment 1, and more specific descriptions will not be repeated here. Compared with the first embodiment, the present embodiment has two changes, which are as follows:
一是:由EMS触发VNF实例化,进而导致VNFR创建流程有所不同。在实施例一中由OSS触发VNF实例化。One is that the VNF instantiation is triggered by the EMS, which in turn causes the VNFR creation process to be different. In the first embodiment, the VNF instantiation is triggered by the OSS.
二是:VNF状态变化通知的订阅过程有所变化,由实施例一中VNFM询问是否需要订阅,变为管理实体(如VIM)主动订阅。The second is: the subscription process of the VNF state change notification has changed. The VNFM in the first embodiment asks whether subscription is required, and the management entity (such as VIM) actively subscribes.
订阅方式有两种:There are two ways to subscribe:
1)将订阅信息发送给VNFM,由VNFM转发给NFVO,记录到VNFR 中。1) Send subscription information to VNFM, which is forwarded to NFVO by VNFM, and recorded in VNFR.
2)将订阅信息直接发送到NFVO,由NFVO通知NFV Instance进行记录。2) Send subscription information directly to NFVO, and NFVO notifies NFV Instance to record.
状态变化时VNFM需要向订阅的管理实体发送通知,因此VNFM需要知道订阅清单,有两种方式:When the state changes, the VNFM needs to send a notification to the subscribed management entity, so the VNFM needs to know the subscription list. There are two ways:
1)当VNFR记录的订阅清单或VNF状态变化时,NFVO将最新的订阅清单推送给VNFM,特别地,当VNF状态变化时,可以在回复信息中包含订阅清单,以便于发送通知。1) When the subscription list recorded by the VNFR or the VNF status changes, NFVO pushes the latest subscription list to the VNFM. In particular, when the VNF status changes, the subscription list can be included in the reply message to facilitate sending notifications.
2)由VNFM查询VNFR,获得当前的订阅清单。2) The VNFR is queried by the VNFM to obtain the current subscription list.
需要特别说明的是,订阅过程的变化与触发方式的变化无关,是由实现或策略决定的。主动订阅可以在VNFR创建后、VNF删除前的任何时间内进行,而不局限于实例化过程中,订阅的管理实体会在下一次状态变化时收到通知。It should be noted that the change of the subscription process has nothing to do with the change of the triggering method, and is determined by the implementation or policy. Active subscription can be performed at any time after the VNFR is created and before the VNF is deleted, not limited to the instantiation process, and the subscribed management entity will be notified of the next state change.
实施例三、以发现VNF状态异常为例对VNF的状态变更与通知过程进行说明,如图8所示,具体过程如下:Embodiment 3. The state change and notification process of the VNF is described by taking the abnormal state of the VNF as an example, as shown in Figure 8, and the specific process is as follows:
801:VNFM获取异常状态信息。801: The VNFM obtains abnormal status information.
根据前述状态机的说明,有3种消息可以触发VNF的异常状态,即图8 中的:According to the description of the aforementioned state machine, there are 3 kinds of messages that can trigger the abnormal state of VNF, namely in Figure 8:
1)VIM向VNFM发送的发现VNF相关基础设施异常的消息;1) The message sent by the VIM to the VNFM to discover the abnormality of the VNF-related infrastructure;
2)VNF或EMS向VNFM发送的发现VNF功能或相关基础设施异常的消息;2) A message sent by VNF or EMS to VNFM to discover abnormality of VNF function or related infrastructure;
3)VNFM从VNF获取监测数据,发现VNF的监测数值超出阈值,可能造成性能下降。3) The VNFM obtains monitoring data from the VNF and finds that the monitoring value of the VNF exceeds the threshold, which may cause performance degradation.
802:VNFM收到异常状态信息后,确认VNF进入异常状态,此时需要对VNFR中的状态信息进行修改。802: After receiving the abnormal state information, the VNFM confirms that the VNF has entered the abnormal state. At this time, the state information in the VNFR needs to be modified.
对VNFR中的状态信息进行修改有两种方式:There are two ways to modify the status information in VNFR:
1)VNFM向NFVO发送通知消息,告知需要对状态进行修改,NFVO发送状态信息修改请求到NFV Instance,修改VNFR中的状态信息为Abnormal。1) VNFM sends a notification message to NFVO, informing that the state needs to be modified, NFVO sends a state information modification request to NFV Instance, and modifies the state information in VNFR to Abnormal.
在本方式中,可能需要修改status_constraints,因此可以发送修改status_constraints的消息给NFVO,由NFVO转发给NFV Instance。In this method, status_constraints may need to be modified, so a message for modifying status_constraints can be sent to NFVO, which is then forwarded to NFV Instance by NFVO.
NFV Instance在修改状态以后可以发送回复消息给NFVO,由NFVO转发给VNFM,用于确认状态已经修改。After the NFV Instance modifies the status, it can send a reply message to the NFVO, which is forwarded to the VNFM by the NFVO to confirm that the status has been modified.
2)VNFM直接向NFV Instance发送状态信息修改请求,从而对VNFR进行修改。2) The VNFM directly sends a state information modification request to the NFV Instance, thereby modifying the VNFR.
在本方式中,可能需要修改status_constraints,因此可以直接将修改 status_constraints的消息发送给NFV Instance。In this method, status_constraints may need to be modified, so the message of modifying status_constraints can be directly sent to NFV Instance.
NFV Instance在修改状态以后可以发送回复消息给VNFM,用于确认状态已经修改。该回复消息可以直接发送给VNFM,不用经NFVO转发。After the NFV Instance modifies the status, it can send a reply message to the VNFM to confirm that the status has been modified. The reply message can be sent directly to the VNFM without being forwarded by NFVO.
在以上两个实施方式中,NFV Instance收到请求修改VNFR中的状态信息的请求后,验证请求的合法性,之后根据情况修改status、status_constraints、audit_log等信息并返回处理结果。In the above two embodiments, after receiving the request for modifying the status information in the VNFR, the NFV Instance verifies the validity of the request, and then modifies the status, status_constraints, audit_log and other information according to the situation and returns the processing result.
803:VNFM在获知状态已经修改后,VNFM将状态变更通知到订阅该消息的管理实体。803: After the VNFM learns that the state has been modified, the VNFM notifies the state change to the management entity that subscribes to the message.
VNFM可以首先获取订阅清单,获取订阅清单可以有两种方式:VNFM can first obtain the subscription list, and there are two ways to obtain the subscription list:
1)通过NFVO申请从VNFR中读取订阅信息;特别地,如果采用实施例二中NFVO推送的方式,则可以在VNFR修改的返回结果中包含订阅信息,从而省略这一步,或由NFVO发送订阅信息到VNFM;1) Apply for reading subscription information from VNFR through NFVO; in particular, if the method of NFVO push in Embodiment 2 is adopted, subscription information can be included in the returned result of VNFR modification, thereby omitting this step, or sending subscription by NFVO information to VNFM;
2)VNFM直接向NFV Instance申请读取VNFR中的信息;这个也可在 VNFR修改的返回消息中携带订阅信息,从而省略这一步。2) The VNFM directly applies to the NFV Instance to read the information in the VNFR; this can also carry the subscription information in the VNFR modified return message, thus omitting this step.
获取到订阅信息后,VNFM将状态变更通知发送到相应的管理实体上。After obtaining the subscription information, the VNFM sends a state change notification to the corresponding management entity.
804:记录状态并发送通知后,VNFM根据生命周期事件的要求,执行相应的脚本程序。在本例中,执行异常处理的脚本,对VNF或基础设施进行修复。804: After recording the status and sending the notification, the VNFM executes the corresponding script program according to the requirements of the life cycle event. In this example, the exception handling script is executed to repair the VNF or infrastructure.
805:修复成功后,VNFM会收到相应告知VNFM异常的VNF已经修复的信息。VNFM确定VNF已经修复之后,VNFM通过NFVO将VNF的状态变更为Active/Inactive,并发送状态变更通知到相应的管理实体上。在这里可以采用另一种状态变更通知的方式,即由NFVO进行通知,其过程为:VNFM 将状态变更请求发送给NFVO,NFVO通知VNFR进行修改并反馈给VNFM,之后NFVO向VNFR申请获取订阅清单,然后发送状态变更通知到相应实体上(EMS和VNF需要经过VNFM转发)。805: After the repair is successful, the VNFM will receive a corresponding message informing the VNFM that the abnormal VNF has been repaired. After the VNFM determines that the VNF has been repaired, the VNFM changes the state of the VNF to Active/Inactive through NFVO, and sends a state change notification to the corresponding management entity. Another method of state change notification can be used here, that is, NFVO will notify the process. The process is: VNFM sends a state change request to NFVO, NFVO notifies VNFR to modify it and feed it back to VNFM, and then NFVO applies to VNFR for a subscription list. , and then send a state change notification to the corresponding entity (EMS and VNF need to be forwarded by VNFM).
本实施例三的技术效果如下:The technical effect of the third embodiment is as follows:
本实施例给出了具体的状态变更与通知过程,在实施例一和实施例二的基础上进行了补充。在接收到相应信息后,VNFM记录的VNF状态需要变更(触发状态变更的信息可见图3状态机),然后通过NFVO或直接与NFV Instance 建立通信,修改VNFR的记录。状态变更后,要通知订阅信息的相关管理实体,VNFM或NFVO都可以发起通知,订阅清单可由VNFR状态修改的反馈消息携带,也可由VNFM/NFVO向NFV Instance查询VNFR中的记录得到。这些步骤保障了VNF的状态信息可以实时地得到更新并用于后续的管理操作或系统呈现中。This embodiment provides a specific state change and notification process, which is supplemented on the basis of Embodiment 1 and Embodiment 2. After receiving the corresponding information, the VNF state recorded by the VNFM needs to be changed (the information that triggers the state change can be seen in the state machine in Figure 3), and then establish communication with the NFV Instance through NFVO or directly to modify the VNFR record. After the status is changed, to notify the relevant management entities of the subscription information, either VNFM or NFVO can initiate a notification. The subscription list can be carried by the feedback message of the VNFR status modification, or the VNFM/NFVO can query the NFV Instance for records in the VNFR. These steps ensure that the state information of the VNF can be updated in real time and used in subsequent management operations or system presentation.
实施例三的改进之处包括:The improvements of the third embodiment include:
本实施例对触发状态变更的生命周期事件处理过程(如该例中的异常通知和异常处理等)进行了扩充和细化,加入了状态变更和通知的具体流程。其中, NFVO和VNFM都可以作为通知消息的发送方,发送消息前需要获取当前 VNFR中记录的订阅清单。VNFM直接与NFV Instance通信需要加入新的接口,由NFVO发送通知也需要对标准中的定义进行扩充。This embodiment expands and refines the life cycle event processing process that triggers the state change (such as the exception notification and exception handling in this example), and adds the specific process of the state change and notification. Among them, both NFVO and VNFM can be used as senders of notification messages, and the subscription list recorded in the current VNFR needs to be obtained before sending messages. The direct communication between VNFM and NFV Instance needs to add new interfaces, and the notification sent by NFVO also needs to expand the definition in the standard.
实施例四:本实施例是状态信息除了对外呈现(如OSS管理平台获取状态信息呈现给管理员或用户)之外的主要应用场景,即:利用状态信息对VNF 进行实时管理。具体是利用状态信息对生命周期事件请求进行验证,避免在特定状态下做出错误的指令。如图9所示,具体过程如下:Embodiment 4: This embodiment is the main application scenario except that the state information is presented externally (eg, the OSS management platform obtains the state information and presents it to the administrator or user), that is, using the state information to manage the VNF in real time. Specifically, the state information is used to verify the life cycle event request, so as to avoid making wrong instructions in a specific state. As shown in Figure 9, the specific process is as follows:
901:NFVO收到OSS的生命周期事件请求后,验证该生命周期事件请求的合法性,验证通过后,将针对VNF的生命周期事件请求发送给相应的 VNFM;或者,本步骤由EMS发送生命周期事件请求到VNFM,VNFM接收到该生命周期事件请求后,首先对输入参数、权限等进行合法性验证;验证通过后进入902;901: After receiving the life cycle event request from OSS, NFVO verifies the validity of the life cycle event request. After the verification is passed, it sends the life cycle event request for the VNF to the corresponding VNFM; or, in this step, the EMS sends the life cycle event request The event request is sent to the VNFM. After the VNFM receives the life cycle event request, it first verifies the validity of the input parameters, permissions, etc.; after the verification is passed, it goes to 902;
902:VNFM需要从VNFR中获取VNF状态、status_constraints、其他策略、run-time参数等信息(策略信息也有可能从VNFD中获取),有两种方式:一是VNFM直接向NFVInstance发送请求消息获取参数信息,然后接收返回的结果;二是VNFM通过NFVO发送请求获取信息,由NFVO在接收到请求获取信息后向NFV Instance发送请求消息获取参数信息,然后接收返回结果并转发给VNFM。902: VNFM needs to obtain VNF status, status_constraints, other policies, run-time parameters and other information from VNFR (policy information may also be obtained from VNFD), there are two ways: First, VNFM directly sends a request message to NFVInstance to obtain parameter information , and then receive the returned result; second, VNFM sends a request to obtain information through NFVO. After receiving the request to obtain information, NFVO sends a request message to NFV Instance to obtain parameter information, and then receives the returned result and forwards it to VNFM.
903:VNFM接收到返回结果并获得参数信息后,VNFM根据当前VNF 状态,查询status_constraints中的设定,并检验请求是否符合其他策略、run-time 参数的规定,如果验证通过进入904,如果验证失败进入905;903: After the VNFM receives the return result and obtains the parameter information, the VNFM queries the settings in status_constraints according to the current VNF state, and checks whether the request conforms to the requirements of other policies and run-time parameters. If the verification passes, go to 904, if the verification fails enter 905;
904:VNFM执行生命周期事件请求相应的脚本/工作流(脚本/工作流的信息从VNFD中获取)904: The VNFM executes the lifecycle event to request the corresponding script/workflow (the script/workflow information is obtained from the VNFD)
905:将生命周期事件请求驳回,可以发送驳回请求通知到请求发起方(如 OSS或EMS),并告知验证失败的理由。905: When the life cycle event request is rejected, a rejection request notification can be sent to the request initiator (such as OSS or EMS), and the reason for the verification failure can be informed.
实施例四的技术效果如下:The technical effect of the fourth embodiment is as follows:
本实施例定义了根据VNF当前状态信息对生命周期事件请求进行验证的过程。通过此过程,将状态信息应用于VNF的生命周期管理中,避免执行的操作与当前状态不符,导致VNF工作出现错误。This embodiment defines the process of verifying the lifecycle event request according to the current state information of the VNF. Through this process, the state information is applied to the life cycle management of the VNF, so as to avoid performing operations that are inconsistent with the current state, resulting in errors in the VNF work.
实施例四的改进之处包括:The improvements of the fourth embodiment include:
该实施例对MANO收到生命周期事件处理请求后的验证过程进行了细化,明确了VNF状态及其他VNFR参数的获取过程与验证过程。类似于实施例三,对于VNFM与NFVInstance直接通信的情况,需要增加新的接口。This embodiment refines the verification process after MANO receives the life cycle event processing request, and clarifies the acquisition process and verification process of the VNF state and other VNFR parameters. Similar to Embodiment 3, for the direct communication between the VNFM and the NFVInstance, a new interface needs to be added.
实施例五为VNF状态的删除过程,如图10所示,包括以下步骤:The fifth embodiment is the deletion process of the VNF state, as shown in Figure 10, including the following steps:
1001:OSS向NFVO发送删除VNF的请求,NFVO验证删除VNF的请求合法性通过后,发送删除VNF请求到VNFM,VNFM验证删除VNF的请求合法性通过后,开始进入VNF的删除流程,具体如下:1001: OSS sends a VNF deletion request to NFVO. After NFVO verifies the validity of the VNF deletion request, it sends the VNF deletion request to VNFM. After VNFM verifies the validity of the VNF deletion request, it starts to enter the VNF deletion process, as follows:
1002:VNFM向NFV Instance发送修改请求,用于通知NFVO修改VNF 状态为terminated,根据策略不同,可能需要同时修改status_constraints信息,用于VNF删除过程中NFVO、VNFM对其他生命周期事件请求的验证。上述修改请求可以由VNFM直接发送给NFVInstance也可以由NFVO转发。1002: The VNFM sends a modification request to the NFV Instance to notify NFVO to modify the VNF status to terminated. Depending on the policy, the status_constraints information may need to be modified at the same time for verification of other lifecycle event requests by NFVO and VNFM during the VNF deletion process. The above modification request can be directly sent by VNFM to NFVInstance or forwarded by NFVO.
1003:NFV Instance收到修改请求后,对修改请求其进行合法性验证,验证通过后修改status、status_constraints、audit_log等的状态,然后向VNFM返回修改结果,或者确认修改消息。1003: After receiving the modification request, the NFV Instance verifies the validity of the modification request, modifies the status, status_constraints, audit_log, etc. after the verification is passed, and then returns the modification result to the VNFM, or confirms the modification message.
1004:VNFM可从确认修改消息中获取状态变更的订阅信息,或者发起到NFVO、进而到NFV Instance的请求,从VNFR中获得当前的订阅信息。获得相应订阅信息后,VNFM发送状态变更通知给订阅此消息的管理实体。之后,VNFM运行关闭VNF的脚本/工作流,通知VNF终止程序、关闭系统,通知VIM释放虚拟网、虚拟机资源;具体流程可以如下:1004: The VNFM can obtain the subscription information of the state change from the confirmation modification message, or initiate a request to the NFVO and then to the NFV Instance to obtain the current subscription information from the VNFR. After obtaining the corresponding subscription information, the VNFM sends a state change notification to the management entity that subscribes to this message. After that, the VNFM runs the script/workflow to close the VNF, notifies the VNF to terminate the program, shut down the system, and notify the VIM to release the virtual network and virtual machine resources; the specific process can be as follows:
1005:VNFM向VNF发送关闭上述VNF的请求,并接收VNF关闭的回复消息;1005: The VNFM sends a request for closing the above VNF to the VNF, and receives a reply message for closing the VNF;
1006:VNFM向VIM发送释放资源请求,请求释放上述VNF占用的资源 (包括虚拟网络、虚拟机资源等),然后接收VIM释放确认消息。1006: The VNFM sends a resource release request to the VIM, requesting to release the resources occupied by the VNF (including virtual network, virtual machine resources, etc.), and then receives a VIM release confirmation message.
在1006中,VNFM发送的释放请求,可以是直接发送给VIM的,也可以在通知NFVO上述VNF已经删除的情况下,由NFVO发送。在后一种情况下,释放确认消息可以不必转发给VNFM也可以转发给VNFM,在此不作限制。In 1006, the release request sent by the VNFM may be directly sent to the VIM, or may be sent by the NFVO when the NFVO is notified that the above-mentioned VNF has been deleted. In the latter case, the release confirmation message may be forwarded to the VNFM without being forwarded to the VNFM, which is not limited herein.
1007:NFVO在获知上述VNF资源已经删除,则向NFV Instance发送删除/归档上述VNF对应的VNFR的请求消息,NFV Instance在接收到该请求验证合法性通过后,删除/归档相应的VNFR,然后返回确认修改消息。1007: After learning that the above VNF resources have been deleted, NFVO sends a request message to delete/archive the VNFR corresponding to the above VNF to the NFV Instance. After receiving the request, the NFV Instance deletes/archives the corresponding VNFR and returns Confirm the modification message.
NFV Instance在本步骤中对VNFR做了删除或归档处理,归档是为了便于后续进行跟踪查询。In this step, the NFV Instance deletes or archives the VNFR. The archive is for the convenience of subsequent tracking and query.
1008:NFVO接收到确认修改消息确定VNF已经删除,向OSS发送确认删除消息,告知OSS上述VNF已经删除。1008: The NFVO receives the confirmation modification message and confirms that the VNF has been deleted, and sends a confirmation deletion message to the OSS to inform the OSS that the above VNF has been deleted.
实施例五的技术效果:The technical effect of the fifth embodiment:
本实施例定义了VNF状态的删除过程,经过此过程后,VNF的状态不再发生变更,其记录被删除或归档。This embodiment defines the deletion process of the VNF state. After this process, the state of the VNF no longer changes, and its records are deleted or archived.
实施例五的改进之处:The improvements of the fifth embodiment:
本实施例主要对VNF termination流程进行了改进,加入了状态信息操作的流程,包括删除过程中的状态变更、通知与删除。This embodiment mainly improves the VNF termination process, and adds the state information operation process, including state change, notification and deletion in the deletion process.
本发明实施例还提供了一种虚拟网络功能管理器,如图11所示,包括:The embodiment of the present invention also provides a virtual network function manager, as shown in FIG. 11 , including:
记录确认单元1101,用于确定是否已经创建VNF对应的虚拟网络功能记录VNFR;A
状态确定单元1102,用于确定上述VNF的状态发生改变;a
发送单元1103,用于在上述记录确认单元1101确定已经创建VNF对应的虚拟网络功能记录VNFR后,若上述状态确定单元1102确定上述VNF的状态发生改变,则向存储上述VNFR的网络功能虚拟化实例发送将上述VNF 的状态修改为变化后状态的通知消息;The sending
或者,or,
向NFVO发送将上述VNF的状态修改为变化后状态的通知消息,使上述 NFVO转发给存储上述VNFR的网络功能虚拟化实例。A notification message is sent to the NFVO to modify the state of the VNF to the state after the change, so that the NFVO is forwarded to the network function virtualization instance that stores the VNFR.
本实施例,在虚拟网络功能管理器一侧,完成了对VNFR中记录的VNF 的状态的更新控制,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, on the side of the virtual network function manager, the update control of the state of the VNF recorded in the VNFR is completed. This process can efficiently complete the management of the VNF state, and can provide accurate information for operations such as control based on the VNF state. basis.
在本发明实施例中,VNFR中的状态变化后,需要将VNF的状态信息发送给订阅了VNF状态变化信息的管理实体,本发明实施例提供了解决方案如下:进一步地,上述发送单元1103,还用于在将上述VNF的状态修改为变化后状态后,向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。In the embodiment of the present invention, after the state in the VNFR changes, the state information of the VNF needs to be sent to the management entity that subscribes to the state change information of the VNF. The embodiment of the present invention provides the following solution: further, the
在发送VNF状态变化的信息需要确定订阅上述VNF状态变化信息的管理实体,该信息可以记录在VNFR中,因此基于VNFM是否与网络功能虚拟化实例有通信接口有两种获取方式,具体如下:进一步地,如图12所示,上述虚拟网络功能管理器还包括:When sending the information of VNF state change, it is necessary to determine the management entity that subscribes to the above VNF state change information. This information can be recorded in the VNFR. Therefore, there are two ways to obtain the information based on whether the VNFM has a communication interface with the network function virtualization instance. The details are as follows: Further 12, the above-mentioned virtual network function manager also includes:
订阅确定单元1201,用于在向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,上述VNFM从上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述VNF状态变化信息的管理实体;The
或者,上述订阅确定单元1203,用于接收来自上述网络功能虚拟化实例的上述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅上述VNF状态变化信息的管理实体。Or, the above-mentioned subscription determination unit 1203 is configured to receive a reply message that the state of the above-mentioned VNF from the above-mentioned network function virtualization instance has been modified to the changed state, and then, according to the subscription information carried therein, determine to subscribe to the management of the above-mentioned VNF state change information entity.
进一步地,本实施例还提供了创建VNF的具体流程方案,如图13所示,上述虚拟网络功能管理器还包括:Further, this embodiment also provides a specific process solution for creating a VNF. As shown in FIG. 13 , the above virtual network function manager further includes:
接收单元1301,用于接收实例化虚拟网络功能VNF请求;A receiving
上述发送单元1103,还用于在上述接收单元1301接收到实例化虚拟网络功能VNF请求后,向上述NFVO发送申请资源请求,使上述NFVO将上述申请资源请求转发给虚拟化基础设施管理器VIM,并且使上述NFVO控制创建与上述VNF对应的虚拟网络功能记录VNFR。The above-mentioned
进一步地,在VNF的创建过程中,还需要进行VNF的相关配置以及相应的状态更新,具体如图14所示,上述接收单元1301,还用于接收由上述NFVO 转发的来自上述VIM返回的回复消息;上述虚拟网络功能管理器还包括:Further, in the process of creating the VNF, it is also necessary to perform the relevant configuration of the VNF and the corresponding status update. Specifically, as shown in FIG. 14 , the
配置单元1401,用于依据上述回复消息确定上述VIM已经为上述VNF 分配资源,然后配置上述VNF;A
上述发送单元1103,还用于在上述配置单元1401配置上述VNF完成后,向网元管理系统EMS发送实例化完成消息,使上述EMS配置上述VNF;在确定上述EMS对上述VNF配置完成后,向上述NFVO发送实例化操作完成消息。The above-mentioned
在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,在本实施例中可以有两种实现方式,一种是由VNFM询问管理实体是否需要订阅,另一种方式是由管理实体主动订阅。VNFM与网络功能虚拟化实例(NFV Instance)之间的通信,如果有接口那么可以直接通信如果没有接口可以通过 NFVO转发,具体如下:上述发送单元1103,还用于在上述NFVO控制创建与上述VNF对应的虚拟网络功能记录VNFR之后,向管理实体推送询问消息,用于询问是否需要订阅上述VNF状态变化信息;After the VNFR is created, the management entity may need to know the information of the VNF state change in real time. In this embodiment, there can be two implementation methods. One is that the VNFM asks the management entity whether it needs to be subscribed, and the other is that the management entity actively subscribes . The communication between the VNFM and the network function virtualization instance (NFV Instance) can be directly communicated if there is an interface. If there is no interface, it can be forwarded through NFVO. The details are as follows: the above-mentioned
上述接收单元1301,还用于接收上述管理实体返回的是否订阅上述VNF 状态变化信息的回复信息;The above-mentioned
上述发送单元1103,还用于将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述VNFR;The above-mentioned
或者,or,
上述发送单元1103,还用于上述接收单元1301,还用于接收来自管理实体发送的是否订阅上述VNF状态变化信息的信息;The above-mentioned
上述发送单元1103,还用于将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述VNFR。The above-mentioned
可选地,在本实施例还给出了实例化VNF请求的来源举例,需要说明的是,若其他设备有创建VNF的需求也是可以发起该实例化VNF请求的可能,因此本实施例的举例不应理解为对本发明实施例的唯一性限定,具体如下:上述接收单元1301,用于接收实例化虚拟网络功能VNF请求包括:接收上述 NFVO的实例化VNF请求,或者,接收来自上述EMS的实例化VNF请求。Optionally, this embodiment also gives an example of the source of the instantiated VNF request. It should be noted that if other devices have the need to create a VNF, it is also possible to initiate the instantiated VNF request. It should not be construed as a unique limitation on the embodiment of the present invention, and the details are as follows: the
进一步地,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了在有针对VNF的操作指令后的控制方案,具体如下:如图15 所示,上述接收单元1301,还用于在上述NFVO控制创建与上述VNF对应的虚拟网络功能记录VNFR之后,接收针对上述VNF的生命周期事件请求;上述虚拟网络功能管理器还包括:Further, after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a control scheme after there is an operation instruction for the VNF, which is specifically as follows: As shown in FIG. 15 , the
状态获取单元1501,用于在上述接收单元1301接收到针对上述VNF的生命周期事件请求后,从存储上述VNFR的网络功能虚拟化实例中获取上述 VNF当前的状态;The
执行控制单元1502,用于若确定上述生命周期事件请求的操作属于上述 VNF当前的状态允许的操作,则执行上述生命周期事件请求的操作;否则,拒绝上述生命周期事件请求的操作。The
本发明实施例还提供了VNF的状态划分以及各状态下操作指令的控制策略,操作指令的控制策略可以存放在VNFR中,在VNFM获取VNF的状态还告知VNFM,也可以存放在VNFM中本发明实施例不作唯一性限定。具体如下:上述VNF的状态包括:The embodiment of the present invention also provides the state division of the VNF and the control strategy of the operation command in each state. The control strategy of the operation command can be stored in the VNFR, and the VNFM obtains the state of the VNF and informs the VNFM, which can also be stored in the VNFM. The embodiment is not uniquely limited. The details are as follows: The status of the above VNF includes:
空,表示VNF所需基础设施仍未建立完全的状态;实例化未配置,表示基础设施已建立,但VNF的功能程序还没有进行配置的状态;实例化已配置,表示VNF已进行功能配置可以进行工作的状态;删除,表示VNF正在删除的状态;其中,上述实例化已配置包括:停止,表示VNF处于未激活/休眠状态,不提供服务的状态;活动,表示VNF处于活动状态,能够提供正常服务的状态;异常,表示VNF处于性能下降或异常,可能不能提供正常服务的状态;以及,维护,表示处于维护状态,不接受新服务的状态;Empty, indicating that the infrastructure required by the VNF has not yet been fully established; instantiation is not configured, indicating that the infrastructure has been established, but the function program of the VNF has not been configured; the instantiation is configured, indicating that the VNF has been configured. The state of working; delete, indicating the state of the VNF being deleted; wherein, the above instantiation has been configured including: stop, indicating that the VNF is in an inactive/dormant state and does not provide services; active, indicating that the VNF is in an active state and can provide The status of normal services; Abnormal, which means that the VNF is in a state of degraded or abnormal performance and may not be able to provide normal services; and Maintenance, which means that it is in a maintenance state and does not accept new services;
上述空状态下,允许撤销操作,不允许其他操作;上述实例化未配置状态下,允许配置操作和终止操作,不允许其他操作;上述停止状态下,不允许取消操作、停止操作以及自愈操作,允许其他操作;上述活动状态下,不允许取消操作、开始操作以及自愈操作,允许其他操作;上述异常状态下,允许伸缩操作、自愈操作、配置操作以及删除操作,不允许其他操作;上述维护状态下,允许取消操作和终止操作,允许其他操作;上述删除状态下,不允许任何操作。In the above empty state, undo operations are allowed, and other operations are not allowed; in the above instantiated unconfigured state, configuration operations and termination operations are allowed, but other operations are not allowed; in the above stopped state, cancellation operations, stop operations, and self-healing operations are not allowed , other operations are allowed; in the above active state, cancel operation, start operation and self-healing operation are not allowed, and other operations are allowed; in the above abnormal state, scaling operation, self-healing operation, configuration operation and deletion operation are allowed, and other operations are not allowed; In the above maintenance state, cancel operation and termination operation are allowed, and other operations are allowed; in the above deletion state, no operation is allowed.
本发明实施例还提供了一种网络功能虚拟化编排器,如图16所示,包括:An embodiment of the present invention also provides a network function virtualization orchestrator, as shown in FIG. 16 , including:
接收单元1601,用于接收来自VNFM的申请资源请求;在发送单元1602 将上述申请资源请求转发给VIM虚拟化基础设施管理器后,接收上述VIM为 VNF分配资源后返回的回复消息;The receiving
发送单元1602,用于在上述接收单元1601接收到来自VNFM的申请资源请求后,将上述申请资源请求转发给VIM虚拟化基础设施管理器;将上述回复消息转发给上述VNFM;向网络功能虚拟化实例发送虚拟网络功能记录 VNFR创建请求;向上述网络功能虚拟化实例发送虚拟网络功能描述符 VNFD,上述VNFD中包含上述VNFR中的信息项的参数信息;在确定上述 VNF状态变化后,向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息。The sending
在本实施例中,网络功能虚拟化编排器NFVO完成了对VNFR中记录的 VNF的状态的更新控制,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, the network function virtualization orchestrator NFVO completes the update control of the state of the VNF recorded in the VNFR. This process can efficiently complete the management of the VNF state, and can provide accurate information for operations such as control based on the VNF state. basis.
实现“向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息”的具体实现过程,依据不同的应用场景有不同的流程,其中,在VNF实例化过程中可以如下:上述发送单元1602,用于在确定上述VNF 状态变化后,向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息包括:The specific implementation process of "sending a message to the above-mentioned network function virtualization instance to instruct to modify the state of the above-mentioned VNF to the changed state" has different processes according to different application scenarios. The VNF instantiation process can be as follows: The above-mentioned
在上述接收单元1601接收到上述回复消息后,向上述网络功能虚拟化实例发送通知消息指示修改上述VNF的状态为实例化未配置状态;和/或,After the above-mentioned
在上述接收单元1601接收到来自上述VNFM的实例化操作完成后,向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为实例化停止的修改指示。After the
进一步地,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,需要将其保存到网络功能虚拟化实例中的VNFR,本实施例提供了具体实现方案,具体如下:Further, after the VNFR is created, the management entity may need to know the information of the VNF state change in real time, and needs to save it to the VNFR in the network function virtualization instance. This embodiment provides a specific implementation scheme, as follows:
上述接收单元1601,还用于在上述发送单元1602向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求后,接收来自上述VNFM发送的管理实体是否订阅上述VNF状态变化信息的信息,或者,接收来自管理实体发送的管理实体是否订阅上述VNF状态变化信息的信息;The above-mentioned
上述发送单元1602,还用于将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述网络功能虚拟化实例保存到上述VNFR。The above-mentioned
进一步地,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了更新VNFR中的信息的方案,具体如下:Further, after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a solution for updating the information in the VNFR, as follows:
上述接收单元1601,还用于接收将上述VNF的状态修改为变化后状态的通知消息;The above-mentioned
上述发送单元1602,还用于在上述接收单元1601接收到将上述VNF的状态修改为变化后状态的通知消息后,转发给上述网络功能虚拟化实例;在将上述VNF的状态修改为变化后状态后,向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。The above-mentioned
进一步地,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,需要将其保存到网络功能虚拟化实例中的VNFR,本实施例提供了具体实现方案,具体如下:如图17所示,上述网络功能虚拟化编排器还包括:Further, after the VNFR is created, the management entity may need to know the information of the VNF state change in real time, and needs to save it to the VNFR in the network function virtualization instance. This embodiment provides a specific implementation scheme, as shown in Figure 17. , the above network function virtualization orchestrator also includes:
订阅获取单元1701,用于在上述发送单元1602向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述VNF状态变化信息的管理实体;The
或者,接收来自上述网络功能虚拟化实例的上述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅上述VNF 状态变化信息的管理实体。Or, receive a reply message that the state of the VNF has been modified to the changed state from the network function virtualization instance, and then determine the management entity that subscribes to the VNF state change information according to the subscription information carried therein.
本发明实施例还提供了一种网络功能虚拟化实例,如图18所示,包括:The embodiment of the present invention also provides a network function virtualization instance, as shown in FIG. 18 , including:
接收单元1801,用于接收来自NFVO的虚拟网络功能记录VNFR创建请求;A receiving
创建单元1802,用于在上述接收单元1801接收到来自NFVO的虚拟网络功能记录VNFR创建请求后,创建与VNF对应的虚拟网络功能记录VNFR;The creating
上述接收单元1801,还用于接收来自上述NFVO的虚拟网络功能描述符 VNFD,上述VNFD中包含上述VNFR中的信息项的参数信息;The above-mentioned
记录单元1803,用于将上述VNFD中的参数信息记录到上述VNFR;a
上述接收单元1801,还用于接收来自上述NFVO的指示修改上述VNF状态的通知消息;The above-mentioned
上述记录单元1803,还用于在上述接收单元1801接收到来自上述NFVO 的指示修改上述VNF状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为通知消息指示的状态。The
在本实施例中,网络功能虚拟化实例完成了对VNFR中记录的VNF的状态的更新,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, the network function virtualization instance completes the update of the state of the VNF recorded in the VNFR. This process can efficiently complete the management of the VNF state, and can provide an accurate basis for operations such as control based on the VNF state.
可选地,在本实施例中,NFVO的指示可以有很多,依据不同的应用流程,可能有不同的指示,其中本实施例提供了在VNF实例化过程中的具体方案如下:Optionally, in this embodiment, there may be many indications of NFVO, and there may be different indications according to different application processes, wherein this embodiment provides a specific solution in the VNF instantiation process as follows:
上述接收单元1801,用于接收来自上述NFVO的指示修改上述VNF状态的通知消息包括:接收来自上述NFVO的指示修改上述VNF的状态为实例化未配置状态的通知消息;和/或,接收来自上述NFVO的指示将上述VNF的状态修改为实例化停止的修改指示;The above-mentioned
上述记录单元1803,用于将上述VNF对应的VNFR中的状态信息修改为通知消息指示的状态包括:修改上述VNF对应的VNFR中的状态信息为实例化未配置状态;修改上述VNF对应的VNFR中的状态信息为实例化停止。The above-mentioned
进一步地,由于在后续实施例中,当VNF的状态变化后需要向管理实体发送VNF的状态信息变化的信息,因此需要保存有哪些管理实体订阅了VNF 状态变化信息,具体如下:Further, because in the subsequent embodiment, when the state of the VNF changes, the information of the state information change of the VNF needs to be sent to the management entity, so it is necessary to save which management entities have subscribed to the VNF state change information, as follows:
上述接收单元1801,还用于在创建与VNF对应的虚拟网络功能记录 VNFR之后,接收来自上述NFVO的管理实体是否订阅上述VNF状态变化信息的信息;The above-mentioned
上述记录单元1803,还用于在上述接收单元1801接收到来自上述NFVO 的管理实体是否订阅上述VNF状态变化信息的信息后,将上述管理实体是否订阅上述VNF状态变化信息的信息存入上述VNFR。The above-mentioned
进一步地,本发明实施例还提供了修改VNFR中的状态信息的具体实现方案,如下:Further, the embodiment of the present invention also provides a specific implementation scheme for modifying the state information in the VNFR, as follows:
上述接收单元1801,还用于接收来自上述VNFM或者来自上述VNFM经上述NFVO转发的,将上述VNF的状态修改为变化后状态的通知消息;The above-mentioned
上述记录单元1803,还用于在上述接收单元1801接收到将上述VNF的状态修改为变化后状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为上述变化后状态。The
进一步地,在VNFM或者NFVO需要向管理实体发送VNF状态时,他们需要获知订阅信息,从而确定哪些管理实体订阅了VNF状态改变信息,本实施例可以有两种方式告知,具体如下:如图19所示:Further, when the VNFM or NFVO needs to send the VNF status to the management entity, they need to know the subscription information, so as to determine which management entities subscribe to the VNF status change information. In this embodiment, there are two ways to notify, as shown in Figure 19. shown:
上述接收单元1801,还用于接收来自上述VNFM或者上述NFVO的查询请求;上述网络功能虚拟化实例还包括:The above-mentioned
发送单元1901,用于在上述接收单元1801查询请求后,向发送查询请求的设备发送上述VNF的订阅信息;或者,在将上述VNF对应的VNFR中的状态信息修改为上述变化后状态后,向上述VNFM或者上述NFVO发送用于告知上述VNF状态已经修改的回复消息,在上述回复消息中携带上述订阅信息;上述订阅信息中包含订阅上述VNF状态变化信息的管理实体的信息。The sending
本发明实施例还提供了另一种虚拟网络功能管理器,可以是一个具有处理数据处理能力的芯片,如图20所示,至少包含如下功能部件:The embodiment of the present invention also provides another virtual network function manager, which may be a chip with data processing capability, as shown in FIG. 20 , at least including the following functional components:
接收接口2001,发送接口2002,以及处理器2003;a receiving
其中处理器2003,用于控制上述发送接口2002执行如操作:在确定已经创建VNF对应的虚拟网络功能记录VNFR后,若上述VNFM确定上述VNF 的状态发生改变,则向存储上述VNFR的网络功能虚拟化实例发送将上述VNF 的状态修改为变化后状态的通知消息;或者,向NFVO发送将上述VNF的状态修改为变化后状态的通知消息,使上述NFVO转发给存储上述VNFR的网络功能虚拟化实例。The
本实施例,在虚拟网络功能管理器一侧,完成了对VNFR中记录的VNF 的状态的更新控制,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, on the side of the virtual network function manager, the update control of the state of the VNF recorded in the VNFR is completed. This process can efficiently complete the management of the VNF state, and can provide accurate information for operations such as control based on the VNF state. basis.
在本发明实施例中,VNFR中的状态变化后,需要将VNF的状态信息发送给订阅了VNF状态变化信息的管理实体,本发明实施例提供了解决方案如下:进一步地,处理器2003,还用于控制上述发送接口2002执行如操作:在将上述VNF的状态修改为变化后状态后,向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。In the embodiment of the present invention, after the state in the VNFR changes, the state information of the VNF needs to be sent to the management entity that subscribes to the state change information of the VNF. The embodiment of the present invention provides the following solution: further, the
在发送VNF状态变化的信息需要确定订阅上述VNF状态变化信息的管理实体,该信息可以记录在VNFR中,因此基于VNFM是否与网络功能虚拟化实例有通信接口有两种获取方式,具体如下:进一步地,处理器2003,还用于在向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,从上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述VNF状态变化信息的管理实体;When sending the information of VNF state change, it is necessary to determine the management entity that subscribes to the above VNF state change information. This information can be recorded in the VNFR. Therefore, there are two ways to obtain the information based on whether the VNFM has a communication interface with the network function virtualization instance. The details are as follows: Further The
或者,控制上述接收接口2001接收来自上述网络功能虚拟化实例的上述 VNF的状态已经修改为变化后状态的回复消息;然后依据其中携带的订阅信息,确定订阅上述VNF状态变化信息的管理实体。Alternatively, the above-mentioned
进一步地,本实施例还提供了创建VNF的具体流程方案,处理器2003,还用于在接收接口2001接收到实例化虚拟网络功能VNF请求后,控制上述发送接口2002向网络功能虚拟化编排器NFVO发送申请资源请求,使上述NFVO 将上述申请资源请求转发给虚拟化基础设施管理器VIM,并且使上述NFVO 控制创建与上述VNF对应的虚拟网络功能记录VNFR。Further, this embodiment also provides a specific process scheme for creating a VNF. The
进一步地,在VNF的创建过程中,还需要进行VNF的相关配置以及相应的状态更新,具体如下:处理器2003,还用于通过接收接口2001接收由上述 NFVO转发的来自上述VIM返回的回复消息;然后依据上述回复消息确定上述VIM已经为上述VNF分配资源,然后配置上述VNF;Further, in the process of creating the VNF, the related configuration of the VNF and the corresponding status update need to be performed, and the details are as follows: the
在配置上述VNF完成后,控制上述发送接口2002向网元管理系统EMS 发送实例化完成消息,使上述EMS配置上述VNF;After the configuration of the above-mentioned VNF is completed, the above-mentioned
在确定上述EMS对上述VNF配置完成后,控制上述发送接口2002向上述NFVO发送实例化操作完成消息。After it is determined that the above-mentioned EMS has completed the configuration of the above-mentioned VNF, the above-mentioned
在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,在本实施例中可以有两种实现方式,一种是由VNFM询问管理实体是否需要订阅,另一种方式是由管理实体主动订阅。VNFM与网络功能虚拟化实例(NFV Instance)之间的通信,如果有接口那么可以直接通信如果没有接口可以通过 NFVO转发,具体如下:处理器2003,还用于在上述NFVO控制创建与上述 VNF对应的虚拟网络功能记录VNFR之后,控制上述发送接口2002向管理实体推送询问消息,用于询问是否需要订阅上述VNF状态变化信息;After the VNFR is created, the management entity may need to know the information of the VNF state change in real time. In this embodiment, there can be two implementation methods. One is that the VNFM asks the management entity whether it needs to be subscribed, and the other is that the management entity actively subscribes . The communication between the VNFM and the network function virtualization instance (NFV Instance) can be directly communicated if there is an interface. If there is no interface, it can be forwarded through NFVO. The details are as follows: the
通过接收接口2001接收上述管理实体返回的是否订阅上述VNF状态变化信息的回复信息,控制上述发送接口2002将上述管理实体是否订阅上述VNF 状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述VNFR;The receiving
或者,通过接收接口2001接收来自管理实体发送的是否订阅上述VNF状态变化信息的信息;控制上述发送接口2002将上述管理实体是否订阅上述 VNF状态变化信息的信息发送给上述NFVO,使上述NFVO控制存入上述 VNFR。Or, receive the information of whether to subscribe to the above-mentioned VNF state change information sent by the management entity through the receiving
可选地,在本实施例还给出了实例化VNF请求的来源举例,需要说明的是,若其他设备有创建VNF的需求也是可以发起该实例化VNF请求的可能,因此本实施例的举例不应理解为对本发明实施例的唯一性限定,具体如下:上述接收到实例化虚拟网络功能VNF请求包括:Optionally, this embodiment also gives an example of the source of the instantiated VNF request. It should be noted that if other devices have the need to create a VNF, it is also possible to initiate the instantiated VNF request. It should not be construed as a unique limitation to the embodiment of the present invention, and the details are as follows: the above-mentioned received instantiation of the virtual network function VNF request includes:
接收上述NFVO的实例化VNF请求,或者,接收到来自上述EMS的实例化VNF请求。The instantiated VNF request from the above NFVO is received, or the instantiated VNF request from the above EMS is received.
进一步地,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了在有针对VNF的操作指令后的控制方案,具体如下:处理器 2003,还用于在上述NFVO控制创建与上述VNF对应的虚拟网络功能记录 VNFR之后,在通过接收接口2001接收到针对上述VNF的生命周期事件请求后,从存储上述VNFR的网络功能虚拟化实例中获取上述VNF当前的状态;Further, after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a control scheme after there is an operation instruction for the VNF. The details are as follows: the
若确定上述生命周期事件请求的操作属于上述VNF当前的状态允许的操作,则执行上述生命周期事件请求的操作;否则,拒绝上述生命周期事件请求的操作。If it is determined that the operation requested by the above life cycle event belongs to the operation permitted by the current state of the above VNF, the operation requested by the above life cycle event is executed; otherwise, the operation requested by the above life cycle event is rejected.
本发明实施例还提供了VNF的状态划分以及各状态下操作指令的控制策略,操作指令的控制策略可以存放在VNFR中,在VNFM获取VNF的状态还告知VNFM,也可以存放在VNFM中本发明实施例不作唯一性限定。具体如下:上述VNF的状态包括:The embodiment of the present invention also provides the state division of the VNF and the control strategy of the operation command in each state. The control strategy of the operation command can be stored in the VNFR, and the VNFM obtains the state of the VNF and informs the VNFM, which can also be stored in the VNFM. The embodiment is not uniquely limited. The details are as follows: The status of the above VNF includes:
空,表示VNF所需基础设施仍未建立完全的状态;实例化未配置,表示基础设施已建立,但VNF的功能程序还没有进行配置的状态;实例化已配置,表示VNF已进行功能配置可以进行工作的状态;删除,表示VNF正在删除的状态;其中,上述实例化已配置包括:停止,表示VNF处于未激活/休眠状态,不提供服务的状态;活动,表示VNF处于活动状态,能够提供正常服务的状态;异常,表示VNF处于性能下降或异常,可能不能提供正常服务的状态;以及,维护,表示处于维护状态,不接受新服务的状态;Empty, indicating that the infrastructure required by the VNF has not yet been fully established; instantiation is not configured, indicating that the infrastructure has been established, but the function program of the VNF has not been configured; the instantiation is configured, indicating that the VNF has been configured. The state of working; delete, indicating the state of the VNF being deleted; wherein, the above instantiation has been configured including: stop, indicating that the VNF is in an inactive/dormant state and does not provide services; active, indicating that the VNF is in an active state and can provide The status of normal services; Abnormal, which means that the VNF is in a state of degraded or abnormal performance and may not be able to provide normal services; and Maintenance, which means that it is in a maintenance state and does not accept new services;
上述空状态下,允许撤销操作,不允许其他操作;上述实例化未配置状态下,允许配置操作和终止操作,不允许其他操作;上述停止状态下,不允许取消操作、停止操作以及自愈操作,允许其他操作;上述活动状态下,不允许取消操作、开始操作以及自愈操作,允许其他操作;上述异常状态下,允许伸缩操作、自愈操作、配置操作以及删除操作,不允许其他操作;上述维护状态下,允许取消操作和终止操作,允许其他操作;上述删除状态下,不允许任何操作。In the above empty state, undo operations are allowed, and other operations are not allowed; in the above instantiated unconfigured state, configuration operations and termination operations are allowed, but other operations are not allowed; in the above stopped state, cancellation operations, stop operations, and self-healing operations are not allowed , other operations are allowed; in the above active state, cancel operation, start operation and self-healing operation are not allowed, and other operations are allowed; in the above abnormal state, scaling operation, self-healing operation, configuration operation and deletion operation are allowed, and other operations are not allowed; In the above maintenance state, cancel operation and termination operation are allowed, and other operations are allowed; in the above deletion state, no operation is allowed.
本发明实施例还提供了另一种网络功能虚拟化编排器,可以是一个具有处理数据处理能力的芯片,如图21所示,至少包含如下功能部件:This embodiment of the present invention also provides another network function virtualization orchestrator, which may be a chip with data processing capability, as shown in FIG. 21 , and includes at least the following functional components:
接收接口2101,发送接口2102,以及处理器2103;a receiving
其中处理器2103,用于在通过接收接口2101接收到来自VNFM的申请资源请求后,控制上述发送接口2102将上述申请资源请求转发给VIM虚拟化基础设施管理器,然后通过接收接口2101接收上述VIM为VNF分配资源后返回的回复消息,控制上述发送接口2102将上述回复消息转发给上述VNFM;向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求;The
控制上述发送接口2102向上述网络功能虚拟化实例发送虚拟网络功能描述符VNFD,上述VNFD中包含上述VNFR中的信息项的参数信息;Controlling the above-mentioned
在确定上述VNF状态变化后,控制上述发送接口2102向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息。After determining that the state of the VNF has changed, the sending
在本实施例中,网络功能虚拟化编排器NFVO完成了对VNFR中记录的 VNF的状态的更新控制,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, the network function virtualization orchestrator NFVO completes the update control of the state of the VNF recorded in the VNFR. This process can efficiently complete the management of the VNF state, and can provide accurate information for operations such as control based on the VNF state. basis.
实现“向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为变化后状态的消息”的具体实现过程,依据不同的应用场景有不同的流程,其中,在VNF实例化过程中可以如下:处理器2103,还用于在确定上述VNF状态变化后,控制上述发送接口2102向上述网络功能虚拟化实例发送指示将上述 VNF的状态修改为变化后状态的消息包括:The specific implementation process of "sending a message to the above-mentioned network function virtualization instance to instruct to modify the state of the above-mentioned VNF to the changed state" has different processes according to different application scenarios. The VNF instantiation process can be as follows: The
在通过接收接口2101接收到上述回复消息后,控制上述发送接口2102 向上述网络功能虚拟化实例发送通知消息指示修改上述VNF的状态为实例化未配置状态;和/或,After receiving the above-mentioned reply message through the receiving
在通过接收接口2101接收到来自上述VNFM的实例化操作完成后,控制上述发送接口2102向上述网络功能虚拟化实例发送指示将上述VNF的状态修改为实例化停止的修改指示。After receiving the completion of the instantiation operation from the VNFM through the receiving
进一步地,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,需要将其保存到网络功能虚拟化实例中的VNFR,本实施例提供了具体实现方案,具体如下:处理器2103,还用于在控制上述发送接口2102向网络功能虚拟化实例发送虚拟网络功能记录VNFR创建请求后,通过接收接口2101接收来自上述VNFM发送的管理实体是否订阅上述VNF状态变化信息的信息,或者,通过接收接口2101接收来自管理实体发送的管理实体是否订阅上述VNF状态变化信息的信息;控制上述发送接口2102将上述管理实体是否订阅上述VNF状态变化信息的信息发送给上述网络功能虚拟化实例保存到上述VNFR。Further, after the VNFR is created, the management entity may need to know the information of the VNF state change in real time, and needs to save it to the VNFR in the network function virtualization instance. This embodiment provides a specific implementation scheme, as follows: the
进一步地,在VNFR创建以后,VNF的状态可能会发生变化,本发明实施例还提供了更新VNFR中的信息的方案,具体如下:Further, after the VNFR is created, the state of the VNF may change. The embodiment of the present invention also provides a solution for updating the information in the VNFR, as follows:
处理器2103,还用于在通过接收接口2101接收到将上述VNF的状态修改为变化后状态的通知消息后,控制上述发送接口2102转发给上述网络功能虚拟化实例;在将上述VNF的状态修改为变化后状态后,控制上述发送接口 2102向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息。The
进一步地,在VNFR创建以后管理实体可能需要实时获知VNF状态变化的信息,需要将其保存到网络功能虚拟化实例中的VNFR,本实施例提供了具体实现方案,具体如下:处理器2103,还用于在控制上述发送接口2102向订阅上述VNF状态变化信息的管理实体发送上述VNF状态变化的信息之前,从上述网络功能虚拟化实例获取订阅信息,依据上述订阅信息确定订阅上述 VNF状态变化信息的管理实体;Further, after the VNFR is created, the management entity may need to know the information of the VNF state change in real time, and needs to save it to the VNFR in the network function virtualization instance. This embodiment provides a specific implementation scheme, as follows: the
或者,处理器2103,还用于通过接收接口2101接收来自上述网络功能虚拟化实例的上述VNF的状态已经修改为变化后状态的回复消息,然后依据其中携带的订阅信息,确定订阅上述VNF状态变化信息的管理实体。Alternatively, the
本发明实施例还提供了另一种网络功能虚拟化实例,可以是一个具有处理数据处理能力的芯片,如图22所示,至少包含如下功能部件:This embodiment of the present invention also provides another network function virtualization instance, which may be a chip with data processing capability, as shown in FIG. 22 , and includes at least the following functional components:
接收接口2201,发送接口2202,以及处理器2203;a receiving
其中处理器2203,用于在通过接收接口2201接收到来自NFVO的虚拟网络功能记录VNFR创建请求后,创建与VNF对应的虚拟网络功能记录VNFR;The
通过接收接口2201接收来自上述NFVO的虚拟网络功能描述符VNFD,上述VNFD中包含上述VNFR中的信息项的参数信息;将上述VNFD中的参数信息记录到上述VNFR;Receive the virtual network function descriptor VNFD from the above-mentioned NFVO through the receiving
在通过接收接口2201接收到来自上述NFVO的指示修改上述VNF状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为通知消息指示的状态。After receiving the notification message from the NFVO indicating to modify the state of the VNF through the receiving
在本实施例中,网络功能虚拟化实例完成了对VNFR中记录的VNF的状态的更新,该流程可以高效地完成针对VNF状态的管理,能够为基于VNF状态的控制等操作提供准确的依据。In this embodiment, the network function virtualization instance completes the update of the state of the VNF recorded in the VNFR. This process can efficiently complete the management of the VNF state, and can provide an accurate basis for operations such as control based on the VNF state.
可选地,在本实施例中,NFVO的指示可以有很多,依据不同的应用流程,可能有不同的指示,其中本实施例提供了在VNF实例化过程中的具体方案如下:处理器2203,用于通过接收接口2201接收来自上述NFVO的指示修改上述VNF的状态为实例化未配置状态的通知消息,修改上述VNF对应的VNFR 中的状态信息为实例化未配置状态;Optionally, in this embodiment, there may be many indications of NFVO, and there may be different indications according to different application processes, wherein this embodiment provides a specific solution in the VNF instantiation process as follows:
和/或,通过接收接口2201接收来自上述NFVO的指示将上述VNF的状态修改为实例化停止的修改指示,修改上述VNF对应的VNFR中的状态信息为实例化停止。And/or, by receiving an instruction from the NFVO through the receiving
进一步地,由于在后续实施例中,当VNF的状态变化后需要向管理实体发送VNF的状态信息变化的信息,因此需要保存有哪些管理实体订阅了VNF 状态变化信息,具体如下:处理器2203,还用于在创建与VNF对应的虚拟网络功能记录VNFR之后,在通过接收接口2201接收到来自上述NFVO的管理实体是否订阅上述VNF状态变化信息的信息后,将上述管理实体是否订阅上述VNF状态变化信息的信息存入上述VNFR。Further, because in the subsequent embodiment, when the state of the VNF changes, the information about the change of the state information of the VNF needs to be sent to the management entity, so it is necessary to save which management entities have subscribed to the state change information of the VNF, and the details are as follows: the
进一步地,本发明实施例还提供了修改VNFR中的状态信息的具体实现方案,如下:处理器2203,还用于在通过接收接口2201接收到来自上述VNFM 或者来自上述VNFM经上述NFVO转发的,将上述VNF的状态修改为变化后状态的通知消息后,将上述VNF对应的VNFR中的状态信息修改为上述变化后状态。Further, the embodiment of the present invention also provides a specific implementation scheme for modifying the state information in the VNFR, as follows: the
进一步地,在VNFM或者NFVO需要向管理实体发送VNF状态时,他们需要获知订阅信息,从而确定哪些管理实体订阅了VNF状态改变信息,本实施例可以有两种方式告知,具体如下:处理器2203,还用于在通过接收接口 2201接收到来自上述VNFM或者上述NFVO的查询请求后,控制上述发送接口2202向发送查询请求的设备发送上述VNF的订阅信息;或者,在将上述 VNF对应的VNFR中的状态信息修改为上述变化后状态后,控制上述发送接口2202向上述VNFM或者上述NFVO发送用于告知上述VNF状态已经修改的回复消息,在上述回复消息中携带上述订阅信息;上述订阅信息中包含订阅上述VNF状态变化信息的管理实体的信息。Further, when the VNFM or NFVO needs to send the VNF state to the management entity, they need to know the subscription information, so as to determine which management entities have subscribed to the VNF state change information. In this embodiment, there may be two ways to notify, as follows:
值得注意的是,上述装置只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that the above-mentioned devices are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; to limit the protection scope of the present invention.
本发明方案可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序单元。一般地,程序单元包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明方案,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序单元可以位于包括存储设备在内的本地和远程计算机存储介质中。相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Aspects of the present invention may be described in the general context of computer-executable instructions, such as program elements, being executed by a computer. Generally, program elements include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The inventive aspects may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program elements may be located in both local and remote computer storage media including storage devices. The corresponding program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, and the like.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其它实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in a local, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only preferred specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the embodiments of the present invention. , all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (32)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/081183 WO2016197346A1 (en) | 2015-06-10 | 2015-06-10 | Method and apparatus for managing life circle of virtualized network function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107005426A CN107005426A (en) | 2017-08-01 |
| CN107005426B true CN107005426B (en) | 2020-07-07 |
Family
ID=57503010
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201580026710.4A Active CN107005426B (en) | 2015-06-10 | 2015-06-10 | Method and device for managing life cycle of virtual network function |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107005426B (en) |
| WO (1) | WO2016197346A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12035156B2 (en) | 2019-09-02 | 2024-07-09 | Huawei Technologies Co., Ltd. | Communication method and apparatus for plurality of administrative domains |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11003516B2 (en) * | 2017-07-24 | 2021-05-11 | At&T Intellectual Property I, L.P. | Geographical redundancy and dynamic scaling for virtual network functions |
| CN110046044B (en) * | 2018-01-16 | 2021-06-22 | 中国电信股份有限公司 | Virtual resource configuration method and system based on NFV |
| CN112889247B (en) * | 2018-10-18 | 2022-05-31 | 华为技术有限公司 | VNF service instantiation method and device |
| CN111221619B (en) * | 2018-11-27 | 2023-09-08 | 中国移动通信集团江西有限公司 | Method, device and equipment for opening and arranging business |
| CN111641515B (en) * | 2019-03-01 | 2021-11-19 | 华为技术有限公司 | VNF life cycle management method and device |
| CN110750327A (en) * | 2019-09-05 | 2020-02-04 | 中移(杭州)信息技术有限公司 | Virtual network function management method and system, agent device, and storage medium |
| CN111130953B (en) * | 2019-12-31 | 2022-04-15 | 奇安信科技集团股份有限公司 | VNF availability monitoring method, device and medium |
| CN113726540B (en) * | 2020-05-25 | 2024-08-02 | 中移(苏州)软件技术有限公司 | Network element processing method and device, electronic equipment and storage medium |
| CN113726541B (en) * | 2020-05-25 | 2023-11-07 | 中移(苏州)软件技术有限公司 | A method, device, electronic device and storage medium for network element configuration |
| CN114513424B (en) * | 2020-10-26 | 2024-09-27 | 中国移动通信有限公司研究院 | Network service expansion and contraction capacity processing method, device and equipment and readable storage medium |
| CN114598604B (en) * | 2020-12-01 | 2023-09-19 | 中移(苏州)软件技术有限公司 | Monitoring method, monitoring device and terminal for virtual network function instance information |
| CN114944990B (en) * | 2021-02-07 | 2023-11-03 | 中移(苏州)软件技术有限公司 | Verification and exception handling method and device for virtualized network function module package |
| CN116418667B (en) * | 2021-12-29 | 2026-01-20 | 中国移动通信有限公司研究院 | Virtual resource changing method, terminal and storage medium |
| CN120050201A (en) * | 2025-01-27 | 2025-05-27 | 西安华为技术有限公司 | Communication method and communication device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104219127A (en) * | 2014-08-30 | 2014-12-17 | 华为技术有限公司 | Creation method and device of virtual network instance |
| CN104253866A (en) * | 2014-09-20 | 2014-12-31 | 华为技术有限公司 | Software deployment method and system of virtual network function network element and relevant equipment |
| CN104410672A (en) * | 2014-11-12 | 2015-03-11 | 华为技术有限公司 | Method for upgrading network function virtualization application, method and device for forwarding service |
| EP2849064A1 (en) * | 2013-09-13 | 2015-03-18 | NTT DOCOMO, Inc. | Method and apparatus for network virtualization |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104170323B (en) * | 2014-04-09 | 2018-02-02 | 华为技术有限公司 | Fault handling method, device, and system based on network function virtualization |
-
2015
- 2015-06-10 WO PCT/CN2015/081183 patent/WO2016197346A1/en not_active Ceased
- 2015-06-10 CN CN201580026710.4A patent/CN107005426B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2849064A1 (en) * | 2013-09-13 | 2015-03-18 | NTT DOCOMO, Inc. | Method and apparatus for network virtualization |
| CN104219127A (en) * | 2014-08-30 | 2014-12-17 | 华为技术有限公司 | Creation method and device of virtual network instance |
| CN104253866A (en) * | 2014-09-20 | 2014-12-31 | 华为技术有限公司 | Software deployment method and system of virtual network function network element and relevant equipment |
| CN104410672A (en) * | 2014-11-12 | 2015-03-11 | 华为技术有限公司 | Method for upgrading network function virtualization application, method and device for forwarding service |
Non-Patent Citations (2)
| Title |
|---|
| ETSI ISG.Network Functions Virtualisation (NFV) * |
| Management and Orchestration.《Network Functions Virtualisation NFV ETSI Industry Specification Group ISG》.2014, * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12035156B2 (en) | 2019-09-02 | 2024-07-09 | Huawei Technologies Co., Ltd. | Communication method and apparatus for plurality of administrative domains |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016197346A1 (en) | 2016-12-15 |
| CN107005426A (en) | 2017-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107005426B (en) | Method and device for managing life cycle of virtual network function | |
| US12020055B2 (en) | VNF service instantiation method and apparatus | |
| EP3800926B1 (en) | Alarm method and device | |
| US10326653B2 (en) | Method for upgrading network functions virtualization application, service forwarding method, and apparatus | |
| US11310123B2 (en) | Method for managing service in network function virtualization architecture, and apparatus | |
| EP3413511B1 (en) | Vnfm determining method and network function virtualization orchestrator | |
| KR102779085B1 (en) | Node management method, apparatus, device, storage medium and system | |
| WO2015100611A1 (en) | Network function virtualisation nfv fault management apparatus, device, and method | |
| CN108347343B (en) | A policy management method, device and system | |
| WO2015131696A1 (en) | Method and device for virtual network function management | |
| CN106134141A (en) | A kind of method and device updating network service describer NSD | |
| WO2022140945A1 (en) | Container cluster management method and apparatus | |
| CN113835834B (en) | A capacity expansion method and system based on K8S container cluster computing nodes | |
| CN108347339B (en) | A service recovery method and device | |
| US11442756B2 (en) | Common service resource application method, related device, and system | |
| CN105493444B (en) | A network function virtualization NFV fault management device, equipment and method | |
| CN113064732B (en) | Distributed system and management method thereof | |
| CN112889247B (en) | VNF service instantiation method and device | |
| WO2018120222A1 (en) | Vnffg management method, device and system | |
| US8982878B1 (en) | Centralized circuit switch provisioning system | |
| CN110597625A (en) | Resource management method for host node and computer storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210419 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |