[go: up one dir, main page]

CN105812171A - Virtualized network function VNF control method and device - Google Patents

Virtualized network function VNF control method and device Download PDF

Info

Publication number
CN105812171A
CN105812171A CN201410856663.3A CN201410856663A CN105812171A CN 105812171 A CN105812171 A CN 105812171A CN 201410856663 A CN201410856663 A CN 201410856663A CN 105812171 A CN105812171 A CN 105812171A
Authority
CN
China
Prior art keywords
vnf instance
vnf
request
vnfr
instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410856663.3A
Other languages
Chinese (zh)
Other versions
CN105812171B (en
Inventor
孙瑞囡
狄龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410856663.3A priority Critical patent/CN105812171B/en
Publication of CN105812171A publication Critical patent/CN105812171A/en
Application granted granted Critical
Publication of CN105812171B publication Critical patent/CN105812171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种虚拟化的网络功能VNF控制方法和设备,包括:通过创建与VNFM直接进行通信的VNF实例仓库,将VNF实例的VNFR存储在该VNF实例仓库中,在VNFM需要对VNF实例进行操作时,无需NFVO协调,或者在不存在NFVO的情况下,直接对VNF实例仓库中的VNF实例的VNFR进行控制,或者通过在VNFM与NFV实例仓库之间创建通信接口,在VNFM需要对VNF实例进行操作时,也无需NFVO协调,或者在不存在NFVO的情况下,直接通过与NFV实例仓库之间创建的通信接口,对NFV实例仓库中的VNFR进行控制,即从NFV实例仓库中获取需要控制的VNF实例的VNFR或者直接修改NFV实例仓库中记录的VNFR,有效地提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。

The invention discloses a virtualized network function VNF control method and device, comprising: by creating a VNF instance warehouse for direct communication with the VNFM, storing the VNFR of the VNF instance in the VNF instance warehouse, and the VNFM needs to control the VNF instance When operating, there is no need for NFVO coordination, or in the absence of NFVO, directly control the VNFR of the VNF instance in the VNF instance warehouse, or create a communication interface between the VNFM and the NFV instance warehouse, and the VNFM needs to control the VNF When the instance is operated, there is no need for NFVO coordination, or in the absence of NFVO, the VNFR in the NFV instance warehouse is directly controlled through the communication interface created between the NFV instance warehouse, that is, the required information is obtained from the NFV instance warehouse. The VNFR of the controlled VNF instance or directly modify the VNFR recorded in the NFV instance warehouse effectively improves the control efficiency of the VNF instance and saves resource consumption in the process of controlling the VNF instance.

Description

一种虚拟化的网络功能VNF控制方法和设备A virtualized network function VNF control method and device

技术领域technical field

本发明涉及网络功能虚拟化技术领域,尤其涉及一种虚拟化的网络功能VNF控制方法和设备。The present invention relates to the technical field of network function virtualization, in particular to a virtualized network function VNF control method and equipment.

背景技术Background technique

随着互联网技术的发展,网络运营商部署的网络是由多种多样的物理设备组成。不同的网络业务需要不同的物理设备,每开发一个新的网络业务,相应需要增加新类型的物理设备,但是确定新增物理设备的空间位置以及供电线路随着网络业务的增加变得越来越困难,这样就严重抑制了新网络业务的部署。With the development of Internet technology, the network deployed by network operators is composed of various physical devices. Different network services require different physical devices. Every time a new network service is developed, a new type of physical device needs to be added accordingly. However, it becomes more and more difficult to determine the spatial location of the new physical device and the power supply line with the increase of network services. difficult, which seriously inhibits the deployment of new network services.

为了解决上述存在的问题,提出了网络功能虚拟化(缩写:NFV;英文:NetworkFunctionsVirtualization)方案。其中,网络功能虚拟化是指在通用物理设备上运行网络功能,常见的形式为:在物理设备上部署虚拟机。In order to solve the above existing problems, a network function virtualization (abbreviation: NFV; English: NetworkFunctionsVirtualization) solution is proposed. Among them, network function virtualization refers to running network functions on common physical devices, and a common form is: deploying virtual machines on physical devices.

目前提出的NFV架构包含业务运营和管理平台(缩写:OSS/BSS;英文:Operation-SupportSystem/BusinessSupportSystem),服务、虚拟化的网络功能和基础设备描述单元(英文:Service、VNF(英文:VirtualNetworkFunction)andInfrastructureDescription)、网络功能虚拟化管理和编排平台(缩写:NFVM;英文:NFVManagementandOrchestration),如图1所示,为NFV架构的结构示意图。The currently proposed NFV architecture includes business operation and management platform (abbreviation: OSS/BSS; English: Operation-SupportSystem/BusinessSupportSystem), service, virtualized network function and basic equipment description unit (English: Service, VNF (English: VirtualNetworkFunction) andInfrastructureDescription), a network function virtualization management and orchestration platform (abbreviation: NFVM; English: NFVManagementandOrchestration), as shown in FIG. 1 , is a schematic structural diagram of the NFV architecture.

图2为采用NFV技术的一种具体业务虚拟化的网络架构示意图。在图2中通过NFV技术实现通信业务服务虚拟化。在图2中,通过虚拟层提供的虚拟资源可以实现短消息中心的功能(又如:彩铃服务器的功能、手机报服务器的功能)的虚拟化,得到相应的VNF。这些VNF可以通过VNF管理器进行生命周期管理、部署、扩缩容等;NFVO实现网络服务NS生命周期管理(如部署/扩容/缩容/下线等)、策略管理等功能;NFVO配合VNFM实现VNF的部署。具体地,OSS/BSS除了传统管理功能之外,针对虚拟化应用与Orchestrator交互完成对网络的操作和维护。FIG. 2 is a schematic diagram of a specific service virtualization network architecture using NFV technology. In Figure 2, virtualization of communication business services is realized through NFV technology. In FIG. 2, the virtual resources provided by the virtualization layer can realize the virtualization of the functions of the short message center (such as the functions of the ring back tone server and the function of the mobile phone newspaper server), and obtain the corresponding VNF. These VNFs can perform life cycle management, deployment, expansion and contraction, etc. through the VNF manager; NFVO implements network service NS life cycle management (such as deployment/expansion/reduction/offline, etc.), policy management and other functions; NFVO cooperates with VNFM to realize Deployment of VNFs. Specifically, in addition to traditional management functions, the OSS/BSS interacts with the Orchestrator for virtualized applications to complete network operation and maintenance.

服务、虚拟化的网络功能和基础设备描述单元包含了NS信息模型描述模板(缩写:NSD;英文:NSDescriptor)、VNF信息模型描述模板(缩写:VNFD;英文:VNFDescriptor)、虚拟链路描述模板(缩写:VLD;英文:VirtualLinkDescriptor)、VNF软件镜像等。Service, virtualized network function and basic equipment description unit includes NS information model description template (abbreviation: NSD; English: NSDescriptor), VNF information model description template (abbreviation: VNFD; English: VNFDescriptor), virtual link description template ( Abbreviation: VLD; English: VirtualLinkDescriptor), VNF software image, etc.

网络功能虚拟化管理和编排平台包含了网络功能虚拟化编排(缩写:NFVO;英文:NFVOrchestration)、VNF管理器(缩写:VNFM;英文:VNFManagement)、虚拟化基础设备管理系统(缩写:VIM;英文:VirtualInfrastructureManager)和NFVInstances。The network function virtualization management and orchestration platform includes network function virtualization orchestration (abbreviation: NFVO; English: NFVOrchestration), VNF manager (abbreviation: VNFM; English: VNFManagement), virtualization infrastructure management system (abbreviation: VIM; English : VirtualInfrastructureManager) and NFVInstances.

其中,NFVO的主要功能是对网络业务(缩写:NS;英文:NetworkService)的生命周期进行管理、以及NFV的基础设施层(缩写:NFVI;英文:NFVInfrastructure)资源编排、策略管理等。其中,生命周期包括:部署、扩容、缩容、下线等。Among them, the main function of NFVO is to manage the life cycle of network services (abbreviation: NS; English: NetworkService), and the resource arrangement and policy management of the infrastructure layer of NFV (abbreviation: NFVI; English: NFVInfrastructure). Among them, the life cycle includes: deployment, expansion, reduction, offline, etc.

VNFM的主要功能是对VNF的生命周期进行管理。例如:根据VNF的信息模型描述模板(缩写:VNFD;英文:VNFDescriptor)以及VNF容量需求,分解出虚拟机所需的虚拟资源,与NFVO、VIM配合完成VNF的实例化。The main function of VNFM is to manage the life cycle of VNF. For example: according to the VNF information model description template (abbreviation: VNFD; English: VNFDescriptor) and VNF capacity requirements, decompose the virtual resources required by the virtual machine, and cooperate with NFVO and VIM to complete the instantiation of VNF.

NFVInstances(又被称为NFV实例仓库)的主要功能是存储VNF实例和NS实例。其中,每一个VNF实例由一个VNF记录(缩写:VNFR;英文:VNFRecord)来表示,VNFR中保存了VNF实例的虚拟资源层信息;每一个NS实例由一个NS记录(缩写:NSR;英文:NSRecord)来表示,NSR中保存了NS实例的虚拟资源层信息。The main function of NFVInstances (also known as NFV instance warehouse) is to store VNF instances and NS instances. Among them, each VNF instance is represented by a VNF record (abbreviation: VNFR; English: VNFRecord), which stores the virtual resource layer information of the VNF instance; each NS instance is represented by an NS record (abbreviation: NSR; English: NSRecord ) to indicate that the virtual resource layer information of the NS instance is stored in the NSR.

NFVInstances中存储的VNFR和NSR由NFVO管理。也就是说,NFVInstances与NFVO之间具备通信接口。若VNFM需要从VNFR中查找VNF实例时,需要通过NFVO与NFVInstances之间的通信接口来实现。VNFR and NSR stored in NFVInstances are managed by NFVO. In other words, there is a communication interface between NFVInstances and NFVO. If VNFM needs to find VNF instances from VNFR, it needs to be realized through the communication interface between NFVO and NFVInstances.

然而,在网络功能实体虚拟化的过程中,VNFM想要获取VNF实例的虚拟资源层信息,需要通过NFVO与NFVInstances之间的通信接口,从VNFR中读取,但是对于单一网元来说,不需要多个网元的网络级别的虚拟化,那么VNFM通过NFVO与NFVInstances之间的通信接口实现对单一网元的VNF实例进行控制的方式,不仅增加了系统资源开销,还使得VNFM对单一网元的VNF实例的控制效率降低。However, in the process of network function entity virtualization, if VNFM wants to obtain the virtual resource layer information of VNF instances, it needs to read from VNFR through the communication interface between NFVO and NFVInstances, but for a single network element, it does not Network-level virtualization of multiple network elements is required, so VNFM controls the VNF instance of a single network element through the communication interface between NFVO and NFVInstances, which not only increases the system resource overhead, but also makes VNFM control the single network element The control efficiency of the VNF instance is reduced.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种虚拟化的网络功能VNF控制方法和设备,用以解决目前对于单一网元的VNF实例,存在VNFM控制效率低、系统资源开销较大的问题。In view of this, the embodiments of the present invention provide a virtualized network function VNF control method and device to solve the current problems of low VNFM control efficiency and large system resource overhead for a VNF instance of a single network element.

第一方面,提供了一种虚拟化的网络功能VNF控制方法,包括:In the first aspect, a virtualized network function VNF control method is provided, including:

VNF管理器VNFM接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;The VNF manager VNFM receives the VNF operation request, wherein the VNF operation request includes operation information about the VNF instance;

所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNF record VNFR of the VNF instance in the VNF instance warehouse.

结合第一方面,在第一方面的第一种可能的实施方式中,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;With reference to the first aspect, in a first possible implementation manner of the first aspect, the VNF operation request is a request for creating a VNF instance, where the request for creating a VNF instance includes a designated network element of the VNF instance to be created;

所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;The VNFM sends a virtual resource request to the virtualization infrastructure management system VIM according to the designated network element of the VNF instance to be created included in the VNF instance creation request, wherein the virtual resource request is used to request the VIM to create The VNF instance of the specified network element allocates the required virtual resources;

所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;The VNFM receives the virtual resource allocated by the VIM, and starts to create the VNF instance of the specified network element according to the virtual resource;

所述VNFM在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNFM successfully creates the VNF instance of the specified network element, it stores the VNFR of the VNF instance in the VNF instance warehouse.

结合第一方面的第一种可能的实施方式中,在第一方面的第二种可能的实施方式中,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:With reference to the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the VNFM, according to the designated network element of the VNF instance to be created included in the VNF instance creation request, Send a virtual resource request to VIM, including:

所述VNFM在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。When the VNFM determines that the VNF instance creation request received comes from the network function orchestrator NFVO, or when it determines that the management domain where the VNFM is located does not include the NFVO, according to the pending VNF instance request included in the VNF instance creation request Create a designated network element of a VNF instance and send a virtual resource request to the VIM.

结合第一方面的第一种可能的实施方式中,在第一方面的第三种可能的实施方式中,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:With reference to the first possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, the VNFM, according to the designated network element of the VNF instance to be created included in the VNF instance creation request, Send a virtual resource request to VIM, including:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;When the VNFM determines that the management domain where the VNFM is located includes NFVO and the received request for creating a VNF instance is not from the NFVO, it further determines whether the designated network element of the VNF instance to be created is capable of independently executing services network element;

所述VNFM在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When the VNFM determines that the specified network element of the VNF instance to be created is a network element capable of independently executing services, it sends a virtual resource request to the VIM.

结合第一方面的第三种可能的实施方式中,在第一方面的第四种可能的实施方式中,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:With reference to the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the VNFM, according to the designated network element of the VNF instance to be created included in the VNF instance creation request, Send a virtual resource request to VIM, including:

所述VNFM在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并When the VNFM cannot determine whether the specified network element of the VNF instance to be created is a network element that can independently perform services, send a creation permission request to the NFVO; and

在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM.

结合第一方面,在第一方面的第五种可能的实施方式中,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the VNF operation request is a request for querying a VNF instance, where the request for querying a VNF instance includes an identifier of the VNF instance to be queried;

所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

所述VNFM根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be queried included in the query VNF instance request, wherein the VNFR query request includes the identifier of the VNF instance to be queried;

所述VNFM接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be queried and sent by the VNF instance warehouse.

结合第一方面,在第一方面的第六种可能的实施方式中,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;With reference to the first aspect, in a sixth possible implementation manner of the first aspect, the operation request is a request for updating a VNF instance, where the request for updating a VNF instance includes an identifier of the VNF instance to be updated;

所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

所述VNFM根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance warehouse according to the identification of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the identification of the VNF instance to be updated;

所述VNFM接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance repository;

所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;The VNFM sends a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described by the VNFR information;

所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;The VNFM receives the virtual resource allocated by the VIM, and starts updating the VNF instance described in the VNFR information according to the virtual resource;

所述VNFM在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the VNFM finishes updating the VNF instance, it updates the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance repository.

结合第一方面的第六种可能的实施方式,在第一方面的第七种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the VNFM sends a virtual resource request to the VIM according to the received VNFR information, including:

所述VNFM在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。The VNFM sends a virtual resource request to the VIM according to the received VNFR information when determining that the received update VNF instance request is from the NFVO, or when determining that the management domain where the VNFM is located does not include the NFVO .

结合第一方面的第六种可能的实施方式,在第一方面的第八种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:With reference to the sixth possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the VNFM sends a virtual resource request to the VIM according to the received VNFR information, including:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;When the VNFM determines that the management domain where the VNFM is located contains NFVO and the received request to update the VNF instance is not from the NFVO, it further judges the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be updated and the network service NS;

所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When the VNFM determines that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, it sends a virtual resource request to the VIM.

结合第一方面的第八种可能的实施方式,在第一方面的第九种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:With reference to the eighth possible implementation manner of the first aspect, in a ninth possible implementation manner of the first aspect, the VNFM sends a virtual resource request to the VIM according to the received VNFR information, including:

所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并When the VNFM determines that there is an association between the VNF instance to be updated described in the VNFR information and the NS, it sends an update permission request to the NFVO, wherein the update permission request includes the VNF to be updated the identity of the instance; and

在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM.

结合第一方面,在第一方面的第十种可能的实施方式中,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;With reference to the first aspect, in a tenth possible implementation manner of the first aspect, the operation request is a request to terminate a VNF instance, where the request to terminate a VNF instance includes an identifier of the VNF instance to be terminated;

所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

所述VNFM根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the identifier of the VNF instance to be terminated;

所述VNFM接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse;

所述VNFM根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;The VNFM terminates the VNF instance according to the received VNFR information, and sends a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resources of the VNF instance to be terminated described in the received VNFR information. resource information;

所述VNFM接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。The VNFM receives the virtual resource deletion response message sent by the VIM, and sends a VNFR deletion request to the VNF instance repository, wherein the VNFR deletion request includes the identifier of the VNF instance to be deleted.

结合第一方面的第十种可能的实施方式,在第一方面的第十一种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:With reference to the tenth possible implementation manner of the first aspect, in the eleventh possible implementation manner of the first aspect, the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, including:

所述VNFM在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that the received request for terminating the VNF instance comes from the NFVO, or when it determines that the management domain where the VNFM is located does not include the NFVO, it terminates the VNF instance according to the received VNFR information, and reports to the VIM Send a virtual resource delete operation.

结合第一方面的第十种可能的实施方式,在第一方面的第十二种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:With reference to the tenth possible implementation manner of the first aspect, in a twelfth possible implementation manner of the first aspect, the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, including:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;When the VNFM determines that the management domain where the VNFM is located includes NFVO and the received request to terminate the VNF instance is not from the NFVO, further judge the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be terminated and the NS;

所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that there is no association relationship between the VNF instance to be terminated and the NS described in the VNFR information, it terminates the VNF instance and sends a virtual resource deletion operation to the VIM.

结合第一方面的第十二种可能的实施方式,在第一方面的第十三种可能的实施方式中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:With reference to the twelfth possible implementation manner of the first aspect, in a thirteenth possible implementation manner of the first aspect, the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, including :

所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并When the VNFM determines that there is an association between the VNF instance to be terminated and the NS described in the VNFR information, it sends a termination permission request to the NFVO, wherein the termination permission request includes the VNF instance to be terminated identify; and

在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM.

结合第一方面,或者结合第一方面的第一种可能的实施方式,或者结合第一方面的第二种可能的实施方式,或者结合第一方面的第三种可能的实施方式,或者结合第一方面的第四种可能的实施方式,或者结合第一方面的第五种可能的实施方式,或者结合第一方面的第六种可能的实施方式,或者结合第一方面的第七种可能的实施方式,或者结合第一方面的第八种可能的实施方式,或者结合第一方面的第九种可能的实施方式,或者结合第一方面的第十种可能的实施方式,或者结合第一方面的第十一种可能的实施方式,或者结合第一方面的第十二种可能的实施方式,或者结合第一方面的第十三种可能的实施方式,在第一方面的第十四种可能的实施方式中,所述方法还包括:In combination with the first aspect, or in combination with the first possible implementation manner of the first aspect, or in combination with the second possible implementation manner of the first aspect, or in combination with the third possible implementation manner of the first aspect, or in combination with the second possible implementation manner of the first aspect The fourth possible implementation manner of one aspect, or the fifth possible implementation manner of combining the first aspect, or the sixth possible implementation manner of combining the first aspect, or the seventh possible implementation manner of combining the first aspect Embodiment, or the eighth possible implementation manner in combination with the first aspect, or the ninth possible implementation manner in combination with the first aspect, or the tenth possible implementation manner in combination with the first aspect, or in combination with the first aspect The eleventh possible implementation manner of the first aspect, or the twelfth possible implementation manner in combination with the first aspect, or the thirteenth possible implementation manner in combination with the first aspect, and the fourteenth possible implementation manner in the first aspect In an embodiment, the method also includes:

若所述VNFM所在的管理域包含NFVO,则所述VNFM在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after processing the VNF instance, where the notification message includes the identifier of the VNF instance.

第二方面,提供了一种虚拟化的网络功能VNF控制设备,包括:In the second aspect, a virtualized network function VNF control device is provided, including:

接收单元,用于接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;A receiving unit, configured to receive a VNF operation request, wherein the VNF operation request includes operation information about the VNF instance;

控制单元,用于根据所述接收单元接收到的所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。The control unit is configured to process the VNF instance according to the operation information contained in the VNF operation request received by the receiving unit, and control the VNF record VNFR of the VNF instance in the VNF instance warehouse.

结合第二方面,在第二方面的第一种可能的实施方式中,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;With reference to the second aspect, in a first possible implementation manner of the second aspect, the VNF operation request is a request for creating a VNF instance, where the request for creating a VNF instance includes a designated network element of the VNF instance to be created;

所述控制单元,具体用于根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;The control unit is specifically configured to send a virtual resource request to the virtualization infrastructure management system VIM according to the specified network element of the VNF instance to be created included in the VNF instance creation request, wherein the virtual resource request is used to request The VIM allocates required virtual resources for creating a VNF instance of a specified network element;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;receiving the virtual resource allocated by the VIM, and starting to create a VNF instance of the specified network element according to the virtual resource;

在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNF instance of the specified network element is successfully created, the VNFR of the VNF instance is stored in the VNF instance warehouse.

结合第二方面的第一种可能的实施方式中,在第二方面的第二种可能的实施方式中,所述控制单元,具体用于在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。With reference to the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the control unit is specifically configured to determine that the received VNF instance creation request comes from a network function The orchestrator NFVO, or when determining that the management domain where it is located does not include the NFVO, sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance creation request.

结合第二方面的第一种可能的实施方式中,在第二方面的第三种可能的实施方式中,所述控制单元,具体用于在确定其所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the control unit is specifically configured to include NFVO in the management domain where it is located, and receive When the request for creating a VNF instance is not from the NFVO, further determine whether the designated network element of the VNF instance to be created is a network element that can independently perform services;

在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When it is determined that the designated network element of the VNF instance to be created is a network element capable of independently performing services, a virtual resource request is sent to the VIM.

结合第二方面的第三种可能的实施方式中,在第二方面的第四种可能的实施方式中,所述控制单元,具体用于在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并With reference to the third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, the control unit is specifically configured to determine whether the designated network element of the VNF instance to be created is When it is a network element that can independently perform services, send a creation permission request to the NFVO; and

在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM.

结合第二方面,在第一方面的第五种可能的实施方式中,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;With reference to the second aspect, in a fifth possible implementation manner of the first aspect, the VNF operation request is a request for querying a VNF instance, wherein the request for querying a VNF instance includes an identifier of the VNF instance to be queried;

所述控制单元,具体用于根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be queried contained in the query VNF instance request, wherein the VNFR query request contains the VNF instance to be queried Identification of the VNF instance;

接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。Receive the VNFR information corresponding to the identifier of the VNF instance to be queried sent by the VNF instance repository.

结合第二方面,在第二方面的第六种可能的实施方式中,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;With reference to the second aspect, in a sixth possible implementation manner of the second aspect, the operation request is a request for updating a VNF instance, where the request for updating a VNF instance includes an identifier of the VNF instance to be updated;

所述控制单元,具体用于根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the VNF instance to be updated Identification of the VNF instance;

接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance repository;

根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;Sending a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;receiving the virtual resource allocated by the VIM, and starting to update the VNF instance described in the VNFR information according to the virtual resource;

在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the update of the VNF instance is completed, the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance warehouse is updated.

结合第二方面的第六种可能的实施方式,在第二方面的第七种可能的实施方式中,所述控制单元,具体用于在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。With reference to the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect, the control unit is specifically configured to, when determining that the received request for updating the VNF instance is from the NFVO, or When it is determined that the management domain where it is located does not include the NFVO, send a virtual resource request to the VIM according to the received VNFR information.

结合第二方面的第六种可能的实施方式,在第二方面的第八种可能的实施方式中,所述控制单元,具体用于在确定其所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;With reference to the sixth possible implementation manner of the second aspect, in an eighth possible implementation manner of the second aspect, the control unit is specifically configured to determine that the management domain where it is located contains NFVO and receives all When the request for updating the VNF instance is not from the NFVO, further determine whether there is an association relationship between the VNF instance to be updated described in the VNFR information and the network service NS according to the received VNFR information;

在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When it is determined that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, a virtual resource request is sent to the VIM.

结合第二方面的第八种可能的实施方式,在第二方面的第九种可能的实施方式中,所述控制单元,具体用于在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并With reference to the eighth possible implementation manner of the second aspect, in a ninth possible implementation manner of the second aspect, the control unit is specifically configured to match the VNF instance to be updated described in the VNFR information with When there is an association relationship between NSs, send an update permission request to the NFVO, where the update permission request includes the identifier of the VNF instance to be updated; and

在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM.

结合第二方面,在第二方面的第十种可能的实施方式中,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;With reference to the second aspect, in a tenth possible implementation manner of the second aspect, the operation request is a request to terminate a VNF instance, where the request to terminate a VNF instance includes an identifier of the VNF instance to be terminated;

所述控制单元,具体用于根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the VNF instance to be terminated. Identification of the VNF instance;

接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse;

根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;Terminate the VNF instance according to the received VNFR information, and send a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resource information of the VNF instance to be terminated described in the received VNFR information;

接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Receive the virtual resource deletion response message sent by the VIM, and send a VNFR deletion request to the VNF instance repository, where the VNFR deletion request includes the identifier of the VNF instance to be deleted.

结合第二方面的第十种可能的实施方式,在第二方面的第十一种可能的实施方式中,所述控制单元,具体用于在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。With reference to the tenth possible implementation manner of the second aspect, in the eleventh possible implementation manner of the second aspect, the control unit is specifically configured to determine that the received request to terminate the VNF instance is from the NFVO, Or when it is determined that the NFVO is not included in the management domain where it is located, the VNF instance is terminated according to the received VNFR information, and a virtual resource deletion operation is sent to the VIM.

结合第二方面的第十种可能的实施方式,在第二方面的第十二种可能的实施方式中,所述控制单元,具体用于在确定其所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;With reference to the tenth possible implementation manner of the second aspect, in a twelfth possible implementation manner of the second aspect, the control unit is specifically configured to include the NFVO in the management domain where it is located and receive the When the request to terminate the VNF instance is not from the NFVO, further judge whether there is an association relationship between the VNF instance to be terminated and the NS described in the VNFR information according to the received VNFR information;

在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When it is determined that there is no association relationship between the VNF instance to be terminated described in the VNFR information and the NS, the VNF instance is terminated, and a virtual resource deletion operation is sent to the VIM.

结合第二方面的第十二种可能的实施方式,在第二方面的第十三种可能的实施方式中,所述控制单元,具体用于在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并With reference to the twelfth possible implementation manner of the second aspect, in a thirteenth possible implementation manner of the second aspect, the control unit is specifically configured to determine the VNF to be terminated described in the VNFR information When there is an association relationship between the instance and the NS, send a termination permission request to the NFVO, wherein the termination permission request includes the identifier of the VNF instance to be terminated; and

在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM.

结合第二方面,或者结合第二方面的第一种可能的实施方式,或者结合第二方面的第二种可能的实施方式,或者结合第二方面的第三种可能的实施方式,或者结合第二方面的第四种可能的实施方式,或者结合第二方面的第五种可能的实施方式,或者结合第二方面的第六种可能的实施方式,或者结合第二方面的第七种可能的实施方式,或者结合第二方面的第八种可能的实施方式,或者结合第二方面的第九种可能的实施方式,或者结合第二方面的第十种可能的实施方式,或者结合第二方面的第十一种可能的实施方式,或者结合第二方面的第十二种可能的实施方式,或者结合第二方面的第十三种可能的实施方式,在第二方面的第十四种可能的实施方式中,所述控制设备还包括:发送单元,其中:In combination with the second aspect, or in combination with the first possible implementation manner of the second aspect, or in combination with the second possible implementation manner of the second aspect, or in combination with the third possible implementation manner of the second aspect, or in combination with the first possible implementation manner of the second aspect The fourth possible implementation of the second aspect, or the fifth possible implementation of the second aspect, or the sixth possible implementation of the second aspect, or the seventh possible implementation of the second aspect Embodiment, or the eighth possible implementation manner in combination with the second aspect, or the ninth possible implementation manner in combination with the second aspect, or the tenth possible implementation manner in combination with the second aspect, or in combination with the second aspect The eleventh possible implementation manner of the second aspect, or the twelfth possible implementation manner in combination with the second aspect, or the thirteenth possible implementation manner in combination with the second aspect, and the fourteenth possible implementation manner in the second aspect In an implementation manner, the control device further includes: a sending unit, wherein:

所述发送单元,用于若其所在的管理域包含NFVO,则在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。The sending unit is configured to send a notification message to the NFVO after the VNF instance is processed if the management domain where it is located includes the NFVO, wherein the notification message includes the identifier of the VNF instance.

本发明实施例VNFM接收VNF操作请求,所述VNF操作请求中包含关于VNF实例的操作信息;所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR。通过创建与VNFM直接进行通信的VNF实例仓库,将VNF实例的VNFR存储在该VNF实例仓库中,这样后续在VNFM需要对VNF实例进行操作时,无需NFVO协调,可以直接对VNF实例仓库中的VNF实例的VNFR进行管理,提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。In the embodiment of the present invention, the VNFM receives a VNF operation request, and the VNF operation request contains operation information about the VNF instance; the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNF instance warehouse The VNFR of the VNF instance described in . By creating a VNF instance warehouse that directly communicates with the VNFM, the VNFR of the VNF instance is stored in the VNF instance warehouse, so that when the VNFM needs to operate the VNF instance, it can directly operate the VNF in the VNF instance warehouse without NFVO coordination. The VNFR of the instance is managed, which improves the control efficiency of the VNF instance and saves resource consumption in the process of controlling the VNF instance.

第三方面,提供了一种虚拟化的网络功能VNF控制方法,包括:In a third aspect, a virtualized network function VNF control method is provided, including:

VNF管理器VNFM接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;The VNF manager VNFM receives the VNF operation request, wherein the VNF operation request includes operation information about the VNF instance;

所述VNFM根据根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNF记录VNFR。The VNFM processes the VNF instance according to the operation information included in the VNF operation request, and controls the VNF record VNFR of the VNF instance in the NFV instance repository through the communication interface with the NFV instance repository.

第四方面,提供了一种虚拟化的网络功能VNF控制设备,包括:In a fourth aspect, a virtualized network function VNF control device is provided, including:

接收单元,用于接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;A receiving unit, configured to receive a VNF operation request, wherein the VNF operation request includes operation information about the VNF instance;

控制单元,用于根据根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNF记录VNFR。A control unit, configured to process the VNF instance according to the operation information contained in the VNF operation request, and control the VNF record of the VNF instance in the NFV instance repository through the communication interface with the NFV instance repository VNFR.

本发明实施例VNFM接收VNF操作请求,所述VNF操作请求中包含关于VNF实例的操作信息;所述VNFM根据根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR,这样后续在VNFM需要对VNF实例进行控制时,无需NFVO协调,或者在不存在NFVO的情况下,直接通过与NFV实例仓库之间创建的通信接口,对NFV实例仓库中的VNFR进行控制,即从NFV实例仓库中获取需要控制的VNF实例的VNFR,提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。In the embodiment of the present invention, the VNFM receives a VNF operation request, and the VNF operation request contains operation information about the VNF instance; the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and communicates with the NFV The communication interface between the instance warehouses controls the VNFR of the VNF instance in the NFV instance warehouse, so that when the VNFM needs to control the VNF instance in the future, there is no need for NFVO coordination, or if there is no NFVO, it can directly communicate with The communication interface created between the NFV instance warehouses controls the VNFR in the NFV instance warehouse, that is, obtains the VNFR of the VNF instance that needs to be controlled from the NFV instance warehouse, which improves the control efficiency of the VNF instance and saves the time spent on the VNF instance Resource consumption during control.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be 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 can also obtain other drawings based on these drawings without any creative effort.

图1为NFV架构的结构示意图;FIG. 1 is a schematic structural diagram of the NFV architecture;

图2为采用NFV技术的一种具体业务虚拟化的网络架构示意图;FIG. 2 is a schematic diagram of a network architecture of a specific service virtualization using NFV technology;

图3为本发明实施例提供的一种NFV架构的结构示意图;FIG. 3 is a schematic structural diagram of an NFV architecture provided by an embodiment of the present invention;

图4为本发明实施例提供的一种VNF控制方法的流程示意图;FIG. 4 is a schematic flowchart of a VNF control method provided by an embodiment of the present invention;

图5为本发明实施例提供的一种VNF创建方法的流程示意图;FIG. 5 is a schematic flowchart of a method for creating a VNF provided by an embodiment of the present invention;

图6为本发明实施例提供的一种VNF查询方法的流程示意图;FIG. 6 is a schematic flowchart of a VNF query method provided by an embodiment of the present invention;

图7为本发明实施例提供的一种VNF更新方法的流程示意图;FIG. 7 is a schematic flowchart of a VNF update method provided by an embodiment of the present invention;

图8为本发明实施例提供的一种VNF终止方法的流程示意图;FIG. 8 is a schematic flowchart of a VNF termination method provided by an embodiment of the present invention;

图9为本发明实施例提供的一种NFV架构的结构示意图;FIG. 9 is a schematic structural diagram of an NFV architecture provided by an embodiment of the present invention;

图10为本发明实施例提供的一种VNF控制方法的流程示意图;FIG. 10 is a schematic flowchart of a VNF control method provided by an embodiment of the present invention;

图11为本发明实施例提供的一种VNF控制设备的结构示意图;FIG. 11 is a schematic structural diagram of a VNF control device provided by an embodiment of the present invention;

图12为本发明实施例提供的一种VNF控制设备的结构示意图。Fig. 12 is a schematic structural diagram of a VNF control device provided by an embodiment of the present invention.

具体实施方式detailed description

为了实现本发明的目的,本发明实施例提供了一种VNF控制方法和设备,通过创建与VNFM直接进行通信的VNF实例仓库,将VNF实例的VNFR存储在该VNF实例仓库中,在VNFM需要对VNF实例进行操作时,无需NFVO协调,或者在不存在NFVO的情况下,直接对VNF实例仓库中的VNF实例的VNFR进行控制,或者通过在VNFM与NFV实例仓库之间创建通信接口,在VNFM需要对VNF实例进行操作时,也无需NFVO协调,或者在不存在NFVO的情况下,直接通过与NFV实例仓库之间创建的通信接口,对NFV实例仓库中的VNFR进行控制,即从NFV实例仓库中获取需要控制的VNF实例的VNFR或者直接修改NFV实例仓库中记录的VNFR,有效地提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。In order to achieve the purpose of the present invention, the embodiment of the present invention provides a VNF control method and device, by creating a VNF instance warehouse that directly communicates with the VNFM, and storing the VNFR of the VNF instance in the VNF instance warehouse. When the VNF instance operates, there is no need for NFVO coordination, or in the absence of NFVO, directly control the VNFR of the VNF instance in the VNF instance warehouse, or create a communication interface between the VNFM and the NFV instance warehouse, and the VNFM needs When operating VNF instances, there is no need for NFVO coordination, or in the absence of NFVO, the VNFR in the NFV instance warehouse is directly controlled through the communication interface created with the NFV instance warehouse, that is, from the NFV instance warehouse Obtaining the VNFR of the VNF instance to be controlled or directly modifying the VNFR recorded in the NFV instance warehouse effectively improves the control efficiency of the VNF instance and saves resource consumption in the process of controlling the VNF instance.

下面结合说明书附图对本发明各个实施例作进一步地详细描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。Various embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

图3为本发明实施例提供的一种NFV架构的结构示意图。本发明实施例在目前NFV架构的基础之上,增加了VNF实例仓库,且VNFM直接与VNF实例仓库直接通信,例如:在创建指定网元的VNF实例时,将该VNF实例的VNFR存储在VNF实例仓库中,后续在VNFM需要对该指定网元的VNF实例进行操作时,无需NFVO协调,或者在不存在NFVO的情况下,直接从VNF实例仓库中获取该指定网元的VNF实例的VNFR,通过VNFR获得该VNF实例的虚拟资源信息,提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。FIG. 3 is a schematic structural diagram of an NFV architecture provided by an embodiment of the present invention. The embodiment of the present invention adds a VNF instance warehouse on the basis of the current NFV architecture, and the VNFM directly communicates with the VNF instance warehouse, for example: when creating a VNF instance of a specified network element, store the VNFR of the VNF instance in the VNF In the instance warehouse, when the VNFM needs to operate the VNF instance of the specified network element, there is no need for NFVO coordination, or if there is no NFVO, the VNFR of the VNF instance of the specified network element is obtained directly from the VNF instance warehouse. The virtual resource information of the VNF instance is obtained through the VNFR, which improves the control efficiency of the VNF instance and saves resource consumption in the process of controlling the VNF instance.

图4为本发明实施例提供的一种VNF控制方法的流程示意图。本发明实施例在图3所示的NFV架构中对VNF实例进行控制。所述方法可以如下所述。Fig. 4 is a schematic flowchart of a VNF control method provided by an embodiment of the present invention. The embodiment of the present invention controls the VNF instance in the NFV architecture shown in FIG. 3 . The method can be described as follows.

步骤101:VNFM接收VNF操作请求。Step 101: The VNFM receives a VNF operation request.

其中,所述VNF操作请求中包含关于VNF实例的操作信息。Wherein, the VNF operation request includes operation information about the VNF instance.

在步骤101中,VNFM接收VNF操作请求,VNF操作请求可以来自运营支撑管理系统(缩写:OSS;英文:OperationSupportSystem);也可以来自网元管理(缩写:EM;英文:ElementManagement);还可以来自NFVO,这里对于VNF操作请求的来源不做限定。In step 101, the VNFM receives the VNF operation request. The VNF operation request can come from the operation support management system (abbreviation: OSS; English: OperationSupportSystem); it can also come from network element management (abbreviation: EM; English: ElementManagement); it can also come from NFVO , the source of the VNF operation request is not limited here.

需要说明的是,所述VNF操作请求至少包括以下的一种:It should be noted that the VNF operation request includes at least one of the following:

创建VNF实例请求、修改(或者更新)VNF实例请求、终止VNF实例请求、查询VNF请求等等。Create a VNF instance request, modify (or update) a VNF instance request, terminate a VNF instance request, query a VNF instance request, and so on.

步骤102:所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR。Step 102: The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse.

其中,所述操作信息可以是指操作对象、操作对应的标识等等。例如:创建VNF实例请求中包含待创建VNF实例的指定网元;查询VNF实例请求中包含待查询的VNF实例的标识;等等。Wherein, the operation information may refer to an operation object, an identifier corresponding to the operation, and the like. For example: the VNF instance creation request includes the specified network element of the VNF instance to be created; the VNF instance query request includes the identifier of the VNF instance to be queried; and so on.

在步骤102中,VNFM根据VNF操作请求,明确要进行的VNF管理操作和相应的虚拟资源操作。In step 102, the VNFM specifies the VNF management operation and the corresponding virtual resource operation to be performed according to the VNF operation request.

其中,虚拟资源操作至少包括以下一种:获取虚拟资源、查询虚拟资源、更新虚拟资源、申请虚拟资源扩容、申请虚拟资源迁移、虚拟资源预留、对虚拟资源进行操作、虚拟资源迁移等。Wherein, the virtual resource operation includes at least one of the following: acquiring virtual resources, querying virtual resources, updating virtual resources, applying for virtual resource expansion, applying for virtual resource migration, virtual resource reservation, operating virtual resources, virtual resource migration, etc.

图5为本发明实施例提供的一种VNF创建方法的流程示意图。本发明实施例在图3所示的NFV架构中完成对VNF实例的创建。所述方法可以如下所述。Fig. 5 is a schematic flowchart of a method for creating a VNF provided by an embodiment of the present invention. In the embodiment of the present invention, the creation of the VNF instance is completed in the NFV architecture shown in FIG. 3 . The method can be described as follows.

步骤201:VNFM接收创建VNF实例请求。Step 201: VNFM receives a request to create a VNF instance.

其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元。Wherein, the request for creating a VNF instance includes a designated network element of the VNF instance to be created.

在步骤201中,当OSS需要实例化一个新的VNF时,向VNFM发送创建VNF实例请求,并在创建VNF实例请求中指明需要创建VNF实例的网元信息。例如:短消息中心、彩铃中心、手机报服务器等。In step 201, when the OSS needs to instantiate a new VNF, it sends a VNF instance creation request to the VNFM, and specifies the network element information for which the VNF instance needs to be created in the VNF instance creation request. For example: short message center, ring back tone center, mobile phone newspaper server, etc.

此外,发送创建VNF实例请求还可以是OSS/BSS、EM、NFVO等,这里对于谁发送创建VNF实例请求不做限定。In addition, the VNF instance creation request can also be sent by OSS/BSS, EM, NFVO, etc. Here, there is no limitation on who sends the VNF instance creation request.

步骤202:所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。Step 202: The VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance creation request.

其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源。Wherein, the virtual resource request is used to request the VIM to allocate required virtual resources for creating a VNF instance of a specified network element.

在步骤202中,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求的情形包括但不限于:In step 202, the VNFM determines the resources to be applied for according to the designated network element of the VNF instance to be created included in the VNF instance creation request, and the situation of sending a virtual resource request to the VIM includes but is not limited to:

第一种情形:First case:

所述VNFM在确定接收到的所述创建VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求。When the VNFM determines that the VNF instance creation request received is from an NFVO, or determines that the management domain where the VNFM is located does not include the NFVO, according to the VNF instance to be created contained in the VNF instance creation request, Designate network elements, determine the resources to be applied for, and send virtual resource requests to the VIM.

具体地,若创建VNF实例请求来自NFVO,则VNFM可以确定NFVO需要VNFM来执行创建一个新的VNF实例的操作,可以直接向VIM发送虚拟资源请求。Specifically, if the VNF instance creation request comes from the NFVO, the VNFM can determine that the NFVO needs the VNFM to execute the operation of creating a new VNF instance, and can directly send the virtual resource request to the VIM.

第二种情形:Second case:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断所述创建VNF实例请求中是否包含独立执行业务的标识。When the VNFM determines that the management domain where the VNFM is located includes NFVO and the received request for creating a VNF instance is not from the NFVO, it further determines whether the request for creating a VNF instance includes an identifier for independently executing services.

所述VNFM在判断出所述创建VNF实例请求中包含独立执行业务的标识时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求。When the VNFM determines that the request for creating a VNF instance contains an identifier for independently executing services, it determines the resources to be applied for according to the specified network element of the VNF instance to be created contained in the request for creating a VNF instance, and sends a virtual message to the VIM. resource request.

具体地,所述VNFM在接收到创建VNF实例请求时,若所述创建VNF实例请求中包含独立执行业务的标识,则确定需要创建VNF实例的指定网元为独立执行业务的网元,也就是说VNFM在创建该指定网元的VNF实例时,不需要从NFVO处获取创建许可,即不需要NFVO进行协助,直接根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求。Specifically, when the VNFM receives the request for creating a VNF instance, if the request for creating a VNF instance includes an identifier for independently executing services, it determines that the designated network element that needs to create a VNF instance is a network element that independently executes services, that is, It means that when VNFM creates the VNF instance of the specified network element, it does not need to obtain the creation permission from NFVO, that is, it does not need the assistance of NFVO, and directly determines the For resources that need to be applied for, send a virtual resource request to VIM.

所述VNFM在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并在接收到所述NFVO发送的允许创建信息时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求。When the VNFM cannot determine whether the specified network element of the VNF instance to be created is a network element that can independently perform services, send a creation permission request to the NFVO; and when receiving the permission creation information sent by the NFVO, According to the specified network element of the VNF instance to be created included in the VNF instance creation request, determine the resources to be applied for, and send a virtual resource request to the VIM.

具体地,所述VNFM在接收到创建VNF实例请求时,若创建所述VNF实例请求中未包含独立执行业务的标识,VNFM可以根据存储的管理信息或者待创建VNF实例的指定网元的VNFD信息,或者从VNF实例仓库获取待创建VNF实例的指定网元对应的所有VNFR信息来确定需要创建VNF实例的指定网元是否为可独立执行业务的网元。Specifically, when the VNFM receives the request to create a VNF instance, if the request to create the VNF instance does not include the identifier of the independent execution service, the VNFM may, according to the stored management information or the VNFD information of the designated network element of the VNF instance to be created , or obtain all the VNFR information corresponding to the specified network element of the VNF instance to be created from the VNF instance warehouse to determine whether the specified network element to be created is a network element that can independently perform services.

所述VNFM在确定需要创建VNF实例的指定网元为独立执行业务的网元,VNFM直接根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求。After the VNFM determines that the designated network element that needs to create a VNF instance is a network element that independently executes services, the VNFM directly determines the resources that need to be applied for according to the designated network element of the VNF instance to be created contained in the VNF instance creation request, and sends to the VIM Send a virtual resource request.

所述VNFM在无法确定需要创建VNF实例的指定网元是否为可独立执行业务的网元时,VNFM向NFVO发送创建许可请求,并在接收到NFVO发送的允许创建信息时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求操作。When the VNFM cannot determine whether the specified network element that needs to create a VNF instance is a network element that can independently perform services, the VNFM sends a creation permission request to the NFVO, and when receiving the permission creation information sent by the NFVO, creates the VNF according to the The designated network element of the VNF instance to be created included in the instance request determines the resources to be applied for, and sends a virtual resource request operation to the VIM.

需要说明的是,所述VNFM接收到的创建VNF实例请求不是来自所述NFVO,可以是来自OSS/BSS,EM或者其他网元。It should be noted that the VNF instance creation request received by the VNFM is not from the NFVO, but may be from the OSS/BSS, EM or other network elements.

所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,确定需要申请的资源,向VIM发送虚拟资源请求,查询是否有可用的虚拟资源。The VNFM determines the resource to be applied for according to the designated network element of the VNF instance to be created contained in the VNF instance creation request, sends a virtual resource request to the VIM, and inquires whether there is an available virtual resource.

其中,VNFM可以根据VNFD中的虚拟资源信息,例如:中央处理器(缩写:CPU;英文:CentralProcessingUnit)资源、内存资源等,确定需要申请的资源,向VIM发送的所述虚拟资源请求中包括创建VNF实例需要的虚拟资源。Wherein, the VNFM can determine the resources to be applied for according to the virtual resource information in the VNFD, such as: central processing unit (abbreviation: CPU; English: CentralProcessingUnit) resources, memory resources, etc., and the virtual resource request sent to the VIM includes creating The virtual resources required by the VNF instance.

具体地,VNFM在向VIM发送虚拟资源请求前,向VIM发送查询虚拟资源请求,查询是否有支持VNFM所需要的虚拟资源;Specifically, before the VNFM sends a virtual resource request to the VIM, it sends a virtual resource query request to the VIM to check whether there are virtual resources required to support the VNFM;

VIM根据接收到的查询虚拟资源请求,确定是否支持VNFM所需要的虚拟资源,若确定支持VNFM所需要的虚拟资源,则向VNFM发送虚拟资源确认响应消息,确认可以提供VNFM所需的虚拟资源。VIM determines whether to support the virtual resources required by VNFM according to the received request for querying virtual resources. If it is determined to support the virtual resources required by VNFM, it sends a virtual resource confirmation response message to VNFM to confirm that the virtual resources required by VNFM can be provided.

或者,VNFM在向VIM发送虚拟资源请求前,向VIM发送资源预留请求,这样VIM在接收到的VNFM发送的资源预留请求时,执行资源预留操作,并向VNFM发送虚拟资源预留响应。Or, the VNFM sends a resource reservation request to the VIM before sending a virtual resource request to the VIM, so that the VIM performs a resource reservation operation when receiving the resource reservation request sent by the VNFM, and sends a virtual resource reservation response to the VNFM .

或者,VNFM在向VIM发送虚拟资源请求前,先向VIM发送查询虚拟资源请求,在接收到VIM发送的虚拟资源确认响应时,再向VIM发送资源预留请求。Alternatively, before sending the virtual resource request to the VIM, the VNFM first sends a virtual resource query request to the VIM, and then sends a resource reservation request to the VIM after receiving the virtual resource confirmation response sent by the VIM.

步骤203:所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例。Step 203: The VNFM receives the virtual resource allocated by the VIM, and starts to create a VNF instance of the designated network element according to the virtual resource.

在步骤203中,所述VNFM向所述VIM发送虚拟资源获取请求,该虚拟资源获取请求中包括创建VNF实例的虚拟资源需求,VIM在接收到VNFM发送的虚拟资源获取请求时,确定是否支持VNFM所需要的虚拟资源,若确定支持VNFM所需要的虚拟资源,为待创建的VNF实例分配虚拟资源,并将分配成功的响应发送给VNFM。In step 203, the VNFM sends a virtual resource acquisition request to the VIM, the virtual resource acquisition request includes virtual resource requirements for creating a VNF instance, and the VIM determines whether to support VNFM when receiving the virtual resource acquisition request sent by the VNFM The required virtual resources, if it is determined to support the virtual resources required by the VNFM, allocate virtual resources for the VNF instance to be created, and send a response of successful allocation to the VNFM.

其中,分配的虚拟资源可以包括虚拟机标识、容器(英文:Container)标识等。Wherein, the allocated virtual resource may include a virtual machine identifier, a container (English: Container) identifier, and the like.

VNFM记录分配的虚拟资源,记录的虚拟资源包括例如虚拟机标识、容器标识等底层虚拟资源,并将记录的虚拟资源保存在VNF实例的VNFR中。The VNFM records the allocated virtual resources, and the recorded virtual resources include underlying virtual resources such as virtual machine identifiers and container identifiers, and saves the recorded virtual resources in the VNFR of the VNF instance.

如表1所示,为VNFR中记录的虚拟资源:As shown in Table 1, it is the virtual resource recorded in VNFR:

表1Table 1

其中,虚拟部署单元(缩写:VDU;英文:VirtualDeploymentUnit)为一种数据集合,包含但不限于:虚拟机镜像(英文:image),实例化(英文:instances)的数量,CPU信息(例如:CPU模式,时钟),内存信息,存储空间信息等。Among them, the virtual deployment unit (abbreviation: VDU; English: VirtualDeploymentUnit) is a data collection, including but not limited to: virtual machine image (English: image), the number of instances (English: instances), CPU information (for example: CPU mode, clock), memory information, storage space information, etc.

VNFM根据已经分配的虚拟资源,在对应的虚拟机或者容器上进行VNF实例化操作,即启动创建所述指定网元的VNF实例。The VNFM performs a VNF instantiation operation on the corresponding virtual machine or container according to the allocated virtual resources, that is, starts to create the VNF instance of the specified network element.

步骤204:所述VNFM在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。Step 204: After successfully creating the VNF instance of the specified network element, the VNFM stores the VNFR of the VNF instance in the VNF instance warehouse.

在步骤204中,所述VNFM在成功完成指定网元的VNF实例的启动后,生成所述VNF实例的VNFR,通过与VNF实例仓库之间的通信接口,将所述VNF实例的VNFR存储至VNF实例仓库中。In step 204, after the VNFM successfully starts the VNF instance of the specified network element, it generates the VNFR of the VNF instance, and stores the VNFR of the VNF instance in the VNF through the communication interface with the VNF instance warehouse. In the instance repository.

或者,VNFM在成功创建所述指定网元的新VNF实例后,通过与VNF实例仓库之间的通信接口,将所述VNF实例的信息发送给VNF实例仓库,所述VNF实例的信息可以包括虚拟资源信息、VDU信息、连接信息、VNF实例的接口、网络地址信息等,VNF实例仓库以VNFR格式存储所述VNF实例的信息。Or, after successfully creating the new VNF instance of the specified network element, the VNFM sends the information of the VNF instance to the VNF instance warehouse through the communication interface with the VNF instance warehouse, and the information of the VNF instance may include virtual For resource information, VDU information, connection information, interfaces of VNF instances, network address information, etc., the VNF instance repository stores the information of the VNF instances in VNFR format.

所述VNFM在成功创建和启动VNF实例后,向EM发送VNF实例化成功消息。EM对VNF实例进行配置,即将业务参数等信息配置到实例化的VNF中。After the VNFM successfully creates and starts the VNF instance, it sends a VNF instantiation success message to the EM. The EM configures the VNF instance, that is, configures service parameters and other information into the instantiated VNF.

若本发明实施例实例化的指定网元是短消息中心,那么EM将短消息中心的业务参数配置到已经在虚拟机上运行的短消息中心上。If the specified network element instantiated in the embodiment of the present invention is a short message center, then the EM configures the service parameters of the short message center on the short message center already running on the virtual machine.

若所述VNFM所在的管理域包含NFVO,则所述VNFM在成功创建所述指定网元的VNF实例后,向所述NFVO发送通知类消息。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after successfully creating the VNF instance of the specified network element.

其中,所述通知类消息中包含所述指定网元的VNF实例的标识,使所述指定网元的VNF实例的标识被登记在所述NFVO中。Wherein, the notification message includes the identifier of the VNF instance of the designated network element, so that the identifier of the VNF instance of the designated network element is registered in the NFVO.

需要说明的是,通知类消息可以是通知消息,也可以是响应消息,这里不做限定。It should be noted that the notification message may be a notification message or a response message, which is not limited here.

例如:若在步骤202中,采用第二种情形,即所述VNFM所在的管理域中包含NFVO,所述VNFM在成功创建所述指定网元的VNF实例后,向NFVO发送通知消息。For example: if in step 202, the second situation is adopted, that is, the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after successfully creating the VNF instance of the specified network element.

若在步骤202中,采用第一种情形且创建VNF实例请求来自NFVO,则VNFM向NFVO发送响应消息。If in step 202, the first situation is adopted and the VNF instance creation request comes from the NFVO, then the VNFM sends a response message to the NFVO.

具体地,所述VNFM通过超文本传输协议(缩写:HTTP;英文:HyperTextTransferProtocol)向NFVO发送通知消息,并在HTTP消息头中的统一资源定位器(缩写:URL;英文:UniformResourceLocator)中包含所述指定网元的VNF实例的标识。Specifically, the VNFM sends a notification message to the NFVO through the Hypertext Transfer Protocol (abbreviation: HTTP; English: HyperTextTransferProtocol), and includes the Uniform Resource Locator (abbreviation: URL; English: UniformResourceLocator) in the header of the HTTP message. Specifies the ID of the VNF instance of the NE.

在本发明实施例的基础之上,NFVO作为网络业务的主体,在需要将该VNF实例增加至一个网络服务(英文:NetworkService)中时,可以执行以下操作:On the basis of the embodiment of the present invention, NFVO is the main body of the network service, and when the VNF instance needs to be added to a network service (English: NetworkService), the following operations can be performed:

第一步:NFVO接收NS建立或者扩容请求。Step 1: NFVO receives NS establishment or capacity expansion request.

其中,所述NS建立或者扩容请求中包含NS的标识。Wherein, the NS establishment or capacity expansion request includes the ID of the NS.

第二步:NFVO根据NS的信息模型描述模板(缩写:NSD;英文:NSDescriptor)中记载的内容,例如,NSD中包含的VNFD,确定需要增加的VNF。Step 2: NFVO determines the VNF that needs to be added according to the content recorded in the NS information model description template (abbreviation: NSD; English: NSDescriptor), for example, the VNFD contained in the NSD.

例如:NFVO根据NSD中记载的内容,确定NS标识对应的NS中包含至少两个VNF。若其中一个VNF(以后称之为VNF1)的VNFR中没有parent-ns信息时,则NFVO可以确定该VNF1的已有VNF实例都是作为独立的VNF实例存在。For example: according to the content recorded in the NSD, the NFVO determines that the NS corresponding to the NS identifier contains at least two VNFs. If there is no parent-ns information in the VNFR of one of the VNFs (hereinafter referred to as VNF1), the NFVO can determine that the existing VNF instances of the VNF1 exist as independent VNF instances.

第三步:NFVO向管理VNF1的VNFM发起新增VNF1的VNF实例的请求,在从VNFM获取到VNF1对应的新增VNF实例创建成功后,根据接收到的VNF1的新增VNF实例的标识,在该新增VNF实例的标识对应的VNFR中增加parent-ns信息,该parent-ns信息为新建的需要扩容的NS实例的标识,如NS记录(英文:NetworkServiceRecord;缩写:NSR)标识。Step 3: NFVO initiates a request to add a VNF instance of VNF1 to the VNFM that manages VNF1. After the newly added VNF instance corresponding to VNF1 is successfully created from the VNFM, according to the received identifier of the newly added VNF instance of VNF1, in Add parent-ns information to the VNFR corresponding to the ID of the newly added VNF instance. The parent-ns information is the ID of the newly created NS instance that needs to be expanded, such as the ID of an NS record (English: NetworkServiceRecord; abbreviation: NSR).

第四步:NFVO向该VNFM发送通知消息。Step 4: NFVO sends a notification message to the VNFM.

其中,所述通知消息中包含了被NFVO修改后的VNF1的新增VNF实例的标识。Wherein, the notification message includes the identifier of the newly added VNF instance of VNF1 modified by the NFVO.

进一步的,该通知消息可以直接指明对VNFR进行的更改和操作。例如:可以通过不同的通知消息类型说明对VNFR进行不同的操作;也可以在消息中包含与VNF1的新增的VNF实例相关联的网络业务信息,如NSR标识。Further, the notification message may directly indicate changes and operations performed on the VNFR. For example, different notification message types may be used to indicate different operations on the VNFR; the message may also contain network service information associated with the newly added VNF instance of VNF1, such as the NSR identifier.

第五步:VNFM在接收到通知消息时,根据通知消息中包含的VNF实例的标识,确定NFVO已对该VNF实例标识对应的VNFR进行更新操作。Step 5: When the VNFM receives the notification message, it determines that the NFVO has updated the VNFR corresponding to the VNF instance identifier according to the VNF instance identifier included in the notification message.

更进一步的,VNFM可以根据接收到通知消息类型或者通知消息内容确定VNF1的新增VNF实例已被修改为非独立执行业务的VNF实例。Furthermore, the VNFM may determine that the newly added VNF instance of VNF1 has been modified into a VNF instance that does not independently execute services according to the type of the received notification message or the content of the notification message.

VNFM也可以根据VNF实例标识到VNF实例仓库中去查询VNFR信息,根据查询到的VNFR信息确定VNF实例是否已经被修改为非独立执行业务的VNF实例。VNFM can also query VNFR information in the VNF instance warehouse according to the VNF instance ID, and determine whether the VNF instance has been modified to a VNF instance that does not independently execute services according to the queried VNFR information.

图6为本发明实施例提供的一种VNF查询方法的流程示意图。本发明实施例在图3所示的NFV架构中,对VFN实例仓库中的VNFR信息执行查询操作。FIG. 6 is a schematic flowchart of a VNF query method provided by an embodiment of the present invention. In the embodiment of the present invention, in the NFV architecture shown in FIG. 3 , a query operation is performed on the VNFR information in the VFN instance warehouse.

步骤301:VNFM接收查询VNF实例请求。Step 301: The VNFM receives a request for querying a VNF instance.

其中,所述查询VNF实例请求中包含待查询的VNF实例的标识。Wherein, the query VNF instance request includes the identifier of the VNF instance to be queried.

步骤302:所述VNFM根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求。Step 302: The VNFM sends a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be queried included in the VNF instance query request.

其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识。Wherein, the VNFR query request includes the identifier of the VNF instance to be queried.

在步骤302中,若在NFV架构中,一个VNFM对应多个VNF实例仓库,如果VNFM接收的VNF查询请求中包含VNF实例仓库的标识,这样所述VNFM根据所述VNF查询请求中包含的VNF实例仓库的标识,向VNF实例仓库的标识对应的VNF实例仓库发送VNFR查询请求。In step 302, if in the NFV architecture, one VNFM corresponds to multiple VNF instance warehouses, if the VNF query request received by the VNFM contains the identifier of the VNF instance warehouse, then the VNFM The identifier of the warehouse, and send a VNFR query request to the VNF instance warehouse corresponding to the identifier of the VNF instance warehouse.

或者,VNFM根据VNF查询请求中的待查询的VNF实例的标识判断出所述待查询的VNF实例的标识对应的VNF实例仓库。Alternatively, the VNFM determines the VNF instance warehouse corresponding to the identifier of the VNF instance to be queried according to the identifier of the VNF instance to be queried in the VNF query request.

步骤303:所述VNFM接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。Step 303: The VNFM receives the VNFR information corresponding to the ID of the VNF instance to be queried from the VNF instance warehouse.

图7为本发明实施例提供的一种VNF更新方法的流程示意图。本发明实施例在图3所示的NFV架构中,对VNF实例仓库中的VNFR信息执行更新操作。FIG. 7 is a schematic flowchart of a VNF updating method provided by an embodiment of the present invention. In the embodiment of the present invention, in the NFV architecture shown in FIG. 3 , an update operation is performed on the VNFR information in the VNF instance warehouse.

步骤401:VNFM接收更新VNF实例请求。Step 401: VNFM receives a request to update a VNF instance.

其中,所述更新VNF实例请求中包含待更新的VNF实例的标识。Wherein, the update VNF instance request includes the identifier of the VNF instance to be updated.

步骤402:所述VNFM根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR信息查询请求。Step 402: The VNFM sends a VNFR information query request to the VNF instance repository according to the identifier of the VNF instance to be updated included in the update VNF instance request.

其中,所述VNFR信息查询请求中包含所述待更新的VNF实例的标识。Wherein, the VNFR information query request includes the identifier of the VNF instance to be updated.

在步骤402中,若在NFV架构中,一个VNFM对应多个VNF实例仓库,如果VNFM接收的VNF更新请求中还包含VNF实例仓库的标识,这样所述VNFM根据所述VNF更新请求中包含的VNF实例仓库的标识,向VNF实例仓库的标识对应的VNF实例仓库发送VNFR查询请求。In step 402, if in the NFV architecture, one VNFM corresponds to multiple VNF instance warehouses, if the VNF update request received by the VNFM also includes the identifier of the VNF instance warehouse, then the VNFM will update the VNF according to the VNF contained in the VNF request. The ID of the instance warehouse, and send a VNFR query request to the VNF instance warehouse corresponding to the ID of the VNF instance warehouse.

或者,VNFM根据VNF更新请求中的待更新的VNF实例的标识,判断该待更新的VNF实例的标识对应的VNF实例仓库。Alternatively, the VNFM determines the VNF instance repository corresponding to the identifier of the VNF instance to be updated according to the identifier of the VNF instance to be updated in the VNF update request.

步骤403:所述VNFM接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息。Step 403: The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance warehouse.

步骤404:所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。Step 404: The VNFM sends a virtual resource request to the VIM according to the received VNFR information.

其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源。Wherein, the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information.

VNFM根据接收到的所述VNFR信息和更新VNF实例请求中的操作信息确定需要进行的VNF实例更新的具体操作,包括但不限于扩容、缩容、迁移虚拟机等,并进一步确定具体的虚拟资源请求。According to the received VNFR information and the operation information in the update VNF instance request, the VNFM determines the specific operations to be performed on the VNF instance update, including but not limited to expansion, shrinkage, migration of virtual machines, etc., and further determines specific virtual resources ask.

在步骤404中,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求的情形包括但不限于以下几种:In step 404, the VNFM sends a virtual resource request to the VIM according to the received VNFR information, including but not limited to the following:

第一种情形:First case:

所述VNFM在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。The VNFM sends a virtual resource request to the VIM according to the received VNFR information when determining that the received update VNF instance request is from the NFVO, or when determining that the management domain where the VNFM is located does not include the NFVO .

第二种情形:Second case:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系。When the VNFM determines that the management domain where the VNFM is located contains NFVO and the received request to update the VNF instance is not from the NFVO, it further judges the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be updated and the network service NS.

所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When the VNFM determines that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, it sends a virtual resource request to the VIM.

所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并在接收所述NFVO发送的允许更新许可信息后,向VIM发送虚拟资源请求。When the VNFM determines that there is an association between the VNF instance to be updated described in the VNFR information and the NS, it sends an update permission request to the NFVO, wherein the update permission request includes the VNF to be updated The identifier of the instance; and after receiving the permission update permission information sent by the NFVO, send a virtual resource request to the VIM.

步骤405:所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的待更新的VNF实例。Step 405: The VNFM receives the virtual resource allocated by the VIM, and starts to update the VNF instance described in the VNFR information to be updated according to the virtual resource.

需要说明的是,更新包括但不限于:增加VDU,VNF扩缩容,将VNF迁移到新的虚拟机或者容器等。It should be noted that updates include but are not limited to: adding VDUs, scaling VNFs, migrating VNFs to new virtual machines or containers, etc.

步骤406:所述VNFM在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。Step 406: After the VNFM finishes updating the VNF instance, it updates the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance repository.

例如:将新增的VDU和对应的VDU的虚拟机信息记录到VNFR中。For example: record the newly added VDU and the virtual machine information of the corresponding VDU into the VNFR.

若所述VNFM所在的管理域包含NFVO,则所述VNFM在成功更新VNFR实例后,向所述NFVO发送通知类消息。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after successfully updating the VNFR instance.

需要说明的是,通知类消息可以是通知消息,也可以是响应消息,这里不做限定。It should be noted that the notification message may be a notification message or a response message, which is not limited here.

其中,所述通知类消息中包含已更新的VNF实例的标识,用于通知VNF实例已更新。Wherein, the notification message includes the identifier of the updated VNF instance, and is used to notify that the VNF instance has been updated.

图8为本发明实施例提供的一种VNF终止方法的流程示意图。本发明实施例在图3所示的NFV架构中,对VFN仓库中的VNFR信息执行终止操作。FIG. 8 is a schematic flowchart of a VNF termination method provided by an embodiment of the present invention. In the embodiment of the present invention, in the NFV architecture shown in FIG. 3 , a termination operation is performed on the VNFR information in the VFN warehouse.

步骤501:VNFM接收终止VNF实例请求。Step 501: VNFM receives a request to terminate a VNF instance.

其中,所述终止VNF实例请求中包含待终止的VNF实例的标识。Wherein, the request for terminating the VNF instance includes the identifier of the VNF instance to be terminated.

步骤502:所述VNFM根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求。Step 502: The VNFM sends a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance.

其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识。Wherein, the VNFR query request includes the identifier of the VNF instance to be terminated.

在步骤502中,若在NFV架构中,一个VNFM对应多个VNF实例仓库,那么VNFM接收的VNF终止操作请求中还需要包含VNF实例仓库的标识,这样所述VNFM根据所述VNF终止操作请求中包括的VNF实例仓库的标识,向VNF实例仓库的标识对应的VNF实例仓库发送VNFR请求。In step 502, if in the NFV architecture, one VNFM corresponds to multiple VNF instance warehouses, then the VNF termination operation request received by the VNFM also needs to include the identifier of the VNF instance warehouse, so that the VNFM according to the VNF termination operation request The identifier of the included VNF instance warehouse is used to send a VNFR request to the VNF instance warehouse corresponding to the identifier of the VNF instance warehouse.

或者,VNFM根据VNF终止请求中的所述待终止的VNF实例的标识,判断出所述待终止的VNF实例的标识对应的VNF实例仓库。Alternatively, the VNFM determines the VNF instance warehouse corresponding to the identifier of the VNF instance to be terminated according to the identifier of the VNF instance to be terminated in the VNF termination request.

步骤503:所述VNFM接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息。Step 503: The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse.

步骤504:所述VNFM根据接收到的所述VNFR信息,终止对应的VNF实例,向VIM发送虚拟资源删除操作。Step 504: The VNFM terminates the corresponding VNF instance according to the received VNFR information, and sends a virtual resource deletion operation to the VIM.

其中,所述向VIM发送的虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息。Wherein, the virtual resource deletion operation sent to the VIM includes the virtual resource information of the VNF instance to be terminated described in the received VNFR information.

需要说明的是,这里的虚拟资源信息包括但不限于:VDU的VMimage信息、VM标识、VDU的连接关系信息等。It should be noted that the virtual resource information here includes, but is not limited to: VMimage information of the VDU, VM identifier, connection relationship information of the VDU, and the like.

在步骤504中,所述VNFM根据接收到的所述VNFR信息,终止对应的VNF实例,向VIM发送虚拟资源删除操作的情形包括但不限于:In step 504, the VNFM terminates the corresponding VNF instance according to the received VNFR information, and sends a virtual resource deletion operation to the VIM, including but not limited to:

第一种情形:First case:

所述VNFM在确定接收到的所述创建VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止对应的VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that the received request for creating a VNF instance comes from an NFVO, or when it determines that the management domain where the VNFM is located does not include the NFVO, terminate the corresponding VNF instance according to the received VNFR information, Send a virtual resource delete operation to VIM.

第二种情形:Second case:

所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系。When the VNFM determines that the management domain where the VNFM is located contains NFVO and the received request to update the VNF instance is not from the NFVO, it further judges the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be terminated and the NS.

所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止对应的VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that there is no association relationship between the VNF instance to be terminated described in the VNFR information and the NS, it terminates the corresponding VNF instance and sends a virtual resource deletion operation to the VIM.

所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并在接收到所述NFVO发送的允许终止信息时,终止对应的VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that there is an association between the VNF instance to be terminated and the NS described in the VNFR information, it sends a termination permission request to the NFVO, wherein the termination permission request includes the VNF instance to be terminated and when receiving the permission termination information sent by the NFVO, terminate the corresponding VNF instance, and send a virtual resource deletion operation to the VIM.

具体地,VIM在接收到VNFM发送的虚拟资源删除操作时,根据VM标识,停止该VM标识对应的虚拟机的工作;根据VDU的连接关系信息,删除虚拟资源的逻辑连接关系,并将删除响应消息发送给VNFM。Specifically, when the VIM receives the virtual resource deletion operation sent by the VNFM, it stops the work of the virtual machine corresponding to the VM ID according to the VM ID; deletes the logical connection relationship of the virtual resource according to the connection relationship information of the VDU, and sends the deletion response The message is sent to VNFM.

步骤505:所述VNFM接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求。Step 505: The VNFM receives the virtual resource deletion response message sent by the VIM, and sends a VNFR deletion request to the VNF instance warehouse.

其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Wherein, the VNFR deletion request includes the identifier of the VNF instance to be deleted.

VNF实例仓库根据VNF实例的标识删除相应的VNFR。The VNF instance warehouse deletes the corresponding VNFR according to the identifier of the VNF instance.

步骤506:所述VNFM接收所述VNF实例仓库发送的删除响应。Step 506: The VNFM receives the deletion response sent by the VNF instance warehouse.

若所述VNFM所在的管理域包含NFVO,则所述VNFM在成功终止VNFR实例后,向所述NFVO发送通知类消息。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after successfully terminating the VNFR instance.

需要说明的是,通知类消息可以是通知消息,也可以是响应消息,这里不做限定。It should be noted that the notification message may be a notification message or a response message, which is not limited here.

其中,所述通知类消息中包含已删除的VNF实例的标识,用于通知VNF实例已删除。Wherein, the notification message includes the identifier of the deleted VNF instance, and is used to notify that the VNF instance has been deleted.

图9为本发明实施例提供的另一种NFV架构的结构示意图。本发明实施例在目前NFV架构的基础之上,在VNFM与NFV实例仓库之间创建通信接口,这样后续在VNFM需要对VNF实例进行控制时,无需NFVO协调,或者在不存在NFVO的情况下,直接通过与NFV实例仓库之间创建的通信接口,对NFV实例仓库中的VNFR进行控制,即从NFV实例仓库中获取需要控制的VNF实例的VNFR,提升了对VNF实例的控制效率,节省了在对VNF实例进行控制过程中的资源消耗。FIG. 9 is a schematic structural diagram of another NFV architecture provided by an embodiment of the present invention. On the basis of the current NFV architecture, the embodiment of the present invention creates a communication interface between the VNFM and the NFV instance warehouse, so that when the VNFM needs to control the VNF instance, there is no need for NFVO coordination, or if there is no NFVO, Control the VNFR in the NFV instance warehouse directly through the communication interface created between the NFV instance warehouse, that is, obtain the VNFR of the VNF instance that needs to be controlled from the NFV instance warehouse, which improves the control efficiency of the VNF instance and saves Resource consumption during the process of controlling VNF instances.

图10为本发明实施例提供的一种VNF控制方法的流程示意图。本发明实施例在图9所示的NFV架构中对VNF实例进行控制。所述方法可以如下所述。FIG. 10 is a schematic flowchart of a VNF control method provided by an embodiment of the present invention. The embodiment of the present invention controls the VNF instance in the NFV architecture shown in FIG. 9 . The method can be described as follows.

步骤601:VNFM接收VNF操作请求。Step 601: The VNFM receives a VNF operation request.

其中,所述VNF操作请求中包含关于VNF实例的操作信息。Wherein, the VNF operation request includes operation information about the VNF instance.

在步骤601中,VNFM作为VNF实例的管理器,接收来自OSS、EM或者NFVO的操作请求,所述VNF操作请求可以为以下的一种:In step 601, the VNFM, as the manager of the VNF instance, receives an operation request from OSS, EM or NFVO, and the VNF operation request can be one of the following:

创建VNF实例请求、修改(或者更新)VNF实例请求、终止VNF实例请求等。Create a VNF instance request, modify (or update) a VNF instance request, terminate a VNF instance request, etc.

步骤602:所述VNFM根据所述VNF操作请求,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR。Step 602: The VNFM processes the VNF instance according to the VNF operation request, and controls the VNFR of the VNF instance in the NFV instance repository through a communication interface with the NFV instance repository.

在步骤602中,第一种情形:VNF操作请求为创建VNF实例请求。In step 602, the first situation: the VNF operation request is a request to create a VNF instance.

若所述VNF操作请求中为创建VNF实例请求,则所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR,包括:If the VNF operation request is a request to create a VNF instance, the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNF instance through the communication interface with the NFV instance warehouse. The VNFR of the VNF instance described in the NFV instance repository, including:

所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。The VNFM sends a virtual resource request to the VIM according to the specified network element of the VNF instance to be created included in the VNF instance creation request.

其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源。Wherein, the virtual resource request is used to request the VIM to allocate required virtual resources for creating a VNF instance of a specified network element.

需要说明的是,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求的情形至少也包含上述实施例中所记载的情形,这里不再赘述。It should be noted that, the situation where the VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created included in the VNF instance creation request includes at least the situations described in the above embodiments, which will not be repeated here. repeat.

所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的新的VNF实例;并在分配的虚拟机或者容器上进行VNF实例化操作,启动创建所述指定网元的VNF实例。The VNFM receives the virtual resources allocated by the VIM, and starts to create a new VNF instance of the specified network element according to the virtual resources; and performs a VNF instantiation operation on the allocated virtual machine or container, and starts to create the new VNF instance Describe the VNF instance of the specified NE.

所述VNFM在成功创建和启动VNF实例后,向EM发送VNF实例化成功响应。After the VNFM successfully creates and starts the VNF instance, it sends a VNF instantiation success response to the EM.

EM对VNF实例进行配置,即将业务参数等信息配置到实例化的VNF中。The EM configures the VNF instance, that is, configures service parameters and other information into the instantiated VNF.

所述VNFM在成功创建所述指定网元的新VNF实例后,生成所述VNF实例的VNFR,通过与NFV实例仓库之间的通信接口,将所述VNF实例的VNFR存储至NFV实例仓库中。After the VNFM successfully creates the new VNF instance of the specified network element, it generates the VNFR of the VNF instance, and stores the VNFR of the VNF instance in the NFV instance repository through the communication interface with the NFV instance repository.

或者,VNFM在成功创建所述指定网元的新VNF实例后,通过与NFV实例仓库之间的通信接口,将创建的所述VNF实例信息发送给NFV实例仓库,由NFV实例仓库以VNFR格式存储VNF实例所使用的虚拟资源信息。Or, after successfully creating the new VNF instance of the specified network element, the VNFM sends the created VNF instance information to the NFV instance warehouse through the communication interface with the NFV instance warehouse, and the NFV instance warehouse stores it in VNFR format Information about the virtual resources used by the VNF instance.

可选地,所述方法还包括:Optionally, the method also includes:

若所述VNFM所在的管理域中包含NFVO,则所述VNFM在成功创建所述指定网元的VNF实例后,向所述NFVO发送通知类消息。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after successfully creating the VNF instance of the specified network element.

其中,所述通知类消息中包含创建的所述指定网元的VNF实例的标识,使所述指定网元的VNF实例的标识被登记在所述NFVO中。Wherein, the notification message includes the identifier of the created VNF instance of the designated network element, so that the identifier of the VNF instance of the designated network element is registered in the NFVO.

第二种情形:VNF操作请求为查询VNF实例请求。The second situation: the VNF operation request is a request for querying a VNF instance.

若所述VNF操作请求为查询VNF实例请求,则所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR,包括:If the VNF operation request is a request for querying a VNF instance, the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the NFV through the communication interface with the NFV instance warehouse. The VNFR of the VNF instance described in the instance repository, including:

所述VNFM根据根据所述查询VNF实例请求中包含待查询的VNF实例的标识,通过与NFV实例仓库之间的通信接口,向所述NFV实例仓库发送VNFR读取请求。The VNFM sends a VNFR read request to the NFV instance warehouse through the communication interface with the NFV instance warehouse according to the identifier of the VNF instance to be queried included in the query VNF instance request.

其中,所述VNFR请求中包含待查询的VNF实例的标识;Wherein, the VNFR request includes the identifier of the VNF instance to be queried;

所述VNFM接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be queried and sent by the VNF instance warehouse.

第三种情形:VNF操作请求为更新VNF实例请求。The third situation: the VNF operation request is a request to update the VNF instance.

若所述VNF操作请求为更新VNF实例请求,则所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR,包括:If the VNF operation request is a request for updating a VNF instance, the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the NFV through the communication interface with the NFV instance warehouse. The VNFR of the VNF instance described in the instance repository, including:

所述VNFM根据根据所述更新VNF实例请求中包含待更新的VNF实例的标识,通过与NFV实例仓库之间的通信接口,向所述NFV实例仓库发送VNFR查询请求。The VNFM sends a VNFR query request to the NFV instance warehouse through the communication interface with the NFV instance warehouse according to the identifier of the VNF instance to be updated included in the update VNF instance request.

其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;Wherein, the VNFR query request includes the identifier of the VNF instance to be updated;

所述VNFM接收所述NFV实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息。The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be updated sent by the NFV instance repository.

所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。The VNFM sends a virtual resource request to the VIM according to the received VNFR information.

其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源。Wherein, the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information.

需要说明的是,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求的情形至少也包含上述实施例中所记载的情形,这里不再赘述。It should be noted that, the situation where the VNFM sends a virtual resource request to the VIM according to the received VNFR information also includes at least the situations described in the above embodiments, which will not be repeated here.

所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例。The VNFM receives the virtual resource allocated by the VIM, and starts to update the VNF instance described in the VNFR information according to the virtual resource.

所述VNFM在完成的VNF实例更新后,通过与NFV实例仓库之间的通信接口,更新所述NFV实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the VNF instance is updated, the VNFM updates the VNFR information corresponding to the identifier of the VNF instance to be updated in the NFV instance repository through the communication interface with the NFV instance repository.

第四种情形:VNF操作请求为终止VNF实例请求。The fourth situation: the VNF operation request is a request to terminate the VNF instance.

若所述VNF操作请求为终止VNF实例请求,则所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNFR,包括:If the VNF operation request is a request to terminate a VNF instance, the VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the NFV through the communication interface with the NFV instance warehouse. The VNFR of the VNF instance described in the instance repository, including:

所述VNFM根据所述终止VNF实例请求中包含待终止的VNF实例的标识,通过与NFV实例仓库之间的通信接口,向所述NFV实例仓库发送VNFR查询请求。The VNFM sends a VNFR query request to the NFV instance warehouse through the communication interface with the NFV instance warehouse according to the identification of the VNF instance to be terminated included in the termination VNF instance request.

其中,所述VNFR查询请求中包含所述VNF实例的标识;Wherein, the VNFR query request includes the identifier of the VNF instance;

所述VNFM接收所述NFV实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息。The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the NFV instance warehouse.

所述VNFM根据所述VNFR信息,终止对应的VNF实例,向所述VIM发送虚拟资源删除操作。The VNFM terminates the corresponding VNF instance according to the VNFR information, and sends a virtual resource deletion operation to the VIM.

其中,所述虚拟资源删除操作中包含确定的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息。Wherein, the virtual resource deletion operation includes the determined virtual resource information of the VNF instance to be terminated described in the VNFR information.

需要说明的是,所述VNFM根据所述VNFR信息,向所述VIM发送虚拟资源删除操作的情形至少也包含上述实施例中所记载的情形,这里不再赘述。It should be noted that, the situation where the VNFM sends the virtual resource deletion operation to the VIM according to the VNFR information at least includes the situations recorded in the above embodiments, which will not be repeated here.

所述VNFM接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求。The VNFM receives the virtual resource deletion response message sent by the VIM, and sends a VNFR deletion request to the VNF instance warehouse.

其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Wherein, the VNFR deletion request includes the identifier of the VNF instance to be deleted.

图11为本发明实施例提供的一种VNF控制设备的结构示意图。所述控制设备包括:接收单元71和控制单元72,其中:FIG. 11 is a schematic structural diagram of a VNF control device provided by an embodiment of the present invention. The control device includes: a receiving unit 71 and a control unit 72, wherein:

接收单元71,用于接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;The receiving unit 71 is configured to receive a VNF operation request, wherein the VNF operation request includes operation information about the VNF instance;

控制单元72,用于根据所述接收单元接收到的所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。The control unit 72 is configured to process the VNF instance according to the operation information contained in the VNF operation request received by the receiving unit, and control the VNF record VNFR of the VNF instance in the VNF instance warehouse.

具体地,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;Specifically, the VNF operation request is a request to create a VNF instance, wherein the request to create a VNF instance includes a designated network element of the VNF instance to be created;

所述控制单元72,具体用于根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;The control unit 72 is specifically configured to send a virtual resource request to the virtualization infrastructure management system VIM according to the designated network element of the VNF instance to be created contained in the VNF instance creation request, wherein the virtual resource request is used for Requesting the VIM to allocate required virtual resources for creating a VNF instance of a specified network element;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;receiving the virtual resource allocated by the VIM, and starting to create a VNF instance of the specified network element according to the virtual resource;

在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNF instance of the specified network element is successfully created, the VNFR of the VNF instance is stored in the VNF instance repository.

具体地,所述控制单元72,具体用于在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。Specifically, the control unit 72 is specifically configured to, when it is determined that the received request for creating a VNF instance comes from the network function orchestrator NFVO, or when it is determined that the management domain where it is located does not include the NFVO, according to the created The designated network element of the VNF instance to be created included in the VNF instance request sends a virtual resource request to the VIM.

具体地,所述控制单元72,具体用于在确定其所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;Specifically, the control unit 72 is specifically configured to, when it is determined that the management domain where it is located includes NFVO and the received request for creating a VNF instance is not from the NFVO, further determine the designated network element to create a VNF instance Whether it is a network element that can independently perform services;

在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When it is determined that the designated network element of the VNF instance to be created is a network element capable of independently performing services, a virtual resource request is sent to the VIM.

具体地,所述控制单元72,具体用于在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并Specifically, the control unit 72 is specifically configured to send a creation permission request to the NFVO when it cannot be determined whether the specified network element of the VNF instance to be created is a network element that can independently perform services; and

在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM.

具体地,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;Specifically, the VNF operation request is a request for querying a VNF instance, wherein the request for querying a VNF instance includes the identifier of the VNF instance to be queried;

所述控制单元72,具体用于根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;The control unit 72 is specifically configured to send a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be queried contained in the query VNF instance request, wherein the VNFR query request contains the VNF instance to be queried The identification of the VNF instance;

接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。Receive the VNFR information corresponding to the identifier of the VNF instance to be queried sent by the VNF instance warehouse.

具体地,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;Specifically, the operation request is a request for updating a VNF instance, wherein the request for updating a VNF instance includes the identifier of the VNF instance to be updated;

所述控制单元72,具体用于根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;The control unit 72 is specifically configured to send a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the VNF instance to be updated The identification of the VNF instance;

接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance warehouse;

根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;Sending a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;receiving the virtual resource allocated by the VIM, and starting to update the VNF instance described in the VNFR information according to the virtual resource;

在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the update of the VNF instance is completed, the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance warehouse is updated.

具体地,所述控制单元72,具体用于在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。Specifically, the control unit 72 is specifically configured to, according to the received VNFR information, when it is determined that the received request for updating the VNF instance is from the NFVO, or when it is determined that the management domain where it is located does not include the NFVO, , to send a virtual resource request to VIM.

具体地,所述控制单元72,具体用于在确定其所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;Specifically, the control unit 72 is specifically configured to further judge according to the received VNFR information when it is determined that the management domain where it is located contains NFVO and the received request for updating the VNF instance is not from the NFVO. Whether there is an association relationship between the VNF instance to be updated described in the VNFR information and the network service NS;

在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When it is determined that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, a virtual resource request is sent to the VIM.

具体地,所述控制单元72,具体用于在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并Specifically, the control unit 72 is specifically configured to send an update permission request to the NFVO when it is determined that there is an association relationship between the VNF instance to be updated described in the VNFR information and the NS, wherein the update permission The request includes the identifier of the VNF instance to be updated; and

在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM.

具体地,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;Specifically, the operation request is a request for terminating a VNF instance, wherein the request for terminating a VNF instance includes the identifier of the VNF instance to be terminated;

所述控制单元72,具体用于根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;The control unit 72 is specifically configured to send a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the identifier of the VNF instance to be terminated. The identification of the VNF instance;

接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse;

根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;Terminate the VNF instance according to the received VNFR information, and send a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resource information of the VNF instance to be terminated described in the received VNFR information;

接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Receive the virtual resource deletion response message sent by the VIM, and send a VNFR deletion request to the VNF instance repository, where the VNFR deletion request includes the identifier of the VNF instance to be deleted.

具体地,所述控制单元72,具体用于在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。Specifically, the control unit 72 is specifically configured to, according to the received VNFR information, when it is determined that the received request for terminating a VNF instance comes from an NFVO, or when it is determined that the management domain where it is located does not include the NFVO, , terminate the VNF instance, and send a virtual resource deletion operation to the VIM.

具体地,所述控制单元72,具体用于在确定其所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;Specifically, the control unit 72 is specifically configured to further judge according to the received VNFR information when it is determined that the management domain where it is located contains NFVO and the received request to terminate the VNF instance is not from the NFVO. Whether there is an association relationship between the VNF instance to be terminated and the NS described in the VNFR information;

在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When it is determined that there is no association relationship between the VNF instance to be terminated described in the VNFR information and the NS, the VNF instance is terminated, and a virtual resource deletion operation is sent to the VIM.

具体地,所述控制单元72,具体用于在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并Specifically, the control unit 72 is specifically configured to send a termination permission request to the NFVO when it is determined that there is an association relationship between the VNF instance to be terminated described in the VNFR information and the NS, wherein the termination permission The request includes the identification of the VNF instance to be terminated; and

在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM.

可选地,所述控制设备还包括:发送单元73,其中:Optionally, the control device further includes: a sending unit 73, wherein:

所述发送单元73,用于若其所在的管理域包含NFVO,则在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。The sending unit 73 is configured to send a notification message to the NFVO after the VNF instance is processed if the management domain where it is located includes the NFVO, wherein the notification message includes the identifier of the VNF instance .

需要说明的是,本发明实施例中所描述的控制设备可以通过软件方式实现,也可以通过硬件方式实现,这里不做限定。It should be noted that the control device described in the embodiments of the present invention may be implemented by means of software or hardware, which is not limited here.

图12为本发明实施例提供的一种VNF控制设备的结构示意图。所述控制设备具备执行本发明实施例中图3至图8中描述的功能,所述控制设备可以采用通用计算机系统结构,计算机系统可具体是基于处理器的计算机。所述控制设备实体包括处理器81,存储器82以及接口83。处理器81和接口83连接,并且和存储器82连接。例如可以通过总线连接处理器81、接口83和存储器82。Fig. 12 is a schematic structural diagram of a VNF control device provided by an embodiment of the present invention. The control device is capable of executing the functions described in FIG. 3 to FIG. 8 in the embodiment of the present invention. The control device may adopt a general-purpose computer system structure, and the computer system may specifically be a computer based on a processor. The control device entity includes a processor 81 , a memory 82 and an interface 83 . The processor 81 is connected to the interface 83 and to the memory 82 . For example, the processor 81, the interface 83 and the memory 82 may be connected via a bus.

处理器81可以是一个通用中央处理器(CPU),微处理器,特定应用集成电路(application-specificintegratedcircuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。The processor 81 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the program execution of the present invention.

其中,所述通信总线可包括一通路,在上述组件之间传送信息。所述接口83,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(WirelessLocalAreaNetworks,WLAN)等。Wherein, the communication bus may include a path for transmitting information between the above-mentioned components. The interface 83 uses any device such as a transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (Wireless Local Area Networks, WLAN) and the like.

计算机系统包括一个或多个存储器82,可以是只读存储器(read-onlymemory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(randomaccessmemory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasableProgrammableRead-OnlyMemory,EEPROM)、只读光盘(CompactDiscRead-OnlyMemory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。这些存储器通过总线与处理器相连接。The computer system includes one or more memories 82, which may be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or information and instructions of other types of dynamic storage devices, can also be Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-OnlyMemory, EEPROM), CD-ROM (CompactDiscRead-OnlyMemory, CD-ROM) or other CD-ROM storage, CD-ROM storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer any other media, but not limited to. These memories are connected to the processor via a bus.

其中,所述存储器82用于存储执行本发明方案的应用程序代码,执行本发明方案的应用程序代码保存在存储器中,并由处理器81来控制执行。所述处理器81用于执行所述存储器82中存储的应用程序:Wherein, the memory 82 is used to store the application program code for executing the solution of the present invention, and the application program code for executing the solution of the present invention is stored in the memory and executed under the control of the processor 81 . The processor 81 is used to execute the application programs stored in the memory 82:

通过接口83接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;Receive a VNF operation request through the interface 83, wherein the VNF operation request includes operation information about the VNF instance;

根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。According to the operation information contained in the VNF operation request, the VNF instance is processed, and the VNF record VNFR of the VNF instance in the VNF instance repository is controlled.

可选地,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;Optionally, the VNF operation request is a request for creating a VNF instance, wherein the request for creating a VNF instance includes a designated network element of the VNF instance to be created;

所述处理器81根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The processor 81 processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;Send a virtual resource request to the virtualization infrastructure management system VIM according to the specified network element of the VNF instance to be created contained in the VNF instance creation request, wherein the virtual resource request is used to request the VIM to create a specified network element The VNF instance allocates the required virtual resources;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;receiving the virtual resource allocated by the VIM, and starting to create a VNF instance of the specified network element according to the virtual resource;

在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNF instance of the specified network element is successfully created, the VNFR of the VNF instance is stored in the VNF instance repository.

可选地,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:Optionally, the VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created included in the VNF instance creation request, including:

所述处理器81在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。When the processor 81 determines that the received request for creating a VNF instance comes from the network function orchestrator NFVO, or when it determines that the management domain where it is located does not include the NFVO, according to the waiting list included in the request for creating a VNF instance Create a designated network element of a VNF instance and send a virtual resource request to the VIM.

可选地,所述处理器81根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:Optionally, the processor 81 sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance creation request, including:

在确定其所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;When it is determined that NFVO is included in the management domain where it is located, and the received request for creating a VNF instance is not from the NFVO, further determine whether the designated network element of the VNF instance to be created is a network element that can independently perform services;

在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When it is determined that the designated network element of the VNF instance to be created is a network element capable of independently performing services, a virtual resource request is sent to the VIM.

可选地,所述处理器81根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:Optionally, the processor 81 sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance creation request, including:

在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并When it cannot be determined whether the specified network element of the VNF instance to be created is a network element that can independently perform services, send a creation permission request to the NFVO; and

在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM.

可选地,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;Optionally, the VNF operation request is a request for querying a VNF instance, wherein the request for querying a VNF instance includes an identifier of the VNF instance to be queried;

所述处理器81根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The processor 81 processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;Sending a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be queried included in the query VNF instance request, wherein the VNFR query request includes the identifier of the VNF instance to be queried;

接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。Receive the VNFR information corresponding to the identifier of the VNF instance to be queried sent by the VNF instance repository.

可选地,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;Optionally, the operation request is a request for updating a VNF instance, wherein the request for updating a VNF instance includes an identifier of the VNF instance to be updated;

所述处理器81根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The processor 81 processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;Sending a VNFR query request to the VNF instance warehouse according to the identification of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the identification of the VNF instance to be updated;

接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance repository;

根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;Sending a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information;

接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;receiving the virtual resource allocated by the VIM, and starting to update the VNF instance described in the VNFR information according to the virtual resource;

在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the update of the VNF instance is completed, the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance warehouse is updated.

可选地,所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:Optionally, the processor 81 sends a virtual resource request to the VIM according to the received VNFR information, including:

在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。When it is determined that the received VNF instance update request comes from the NFVO, or when it is determined that the management domain where the VNF is located does not include the NFVO, send a virtual resource request to the VIM according to the received VNFR information.

可选地,所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:Optionally, the processor 81 sends a virtual resource request to the VIM according to the received VNFR information, including:

在确定其所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;When it is determined that NFVO is included in its management domain and the received request for updating the VNF instance is not from the NFVO, further judge the VNF instance to be updated described in the VNFR information according to the received VNFR information Whether there is an association relationship with the network service NS;

在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When it is determined that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, a virtual resource request is sent to the VIM.

所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:The processor 81 sends a virtual resource request to the VIM according to the received VNFR information, including:

在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并When it is determined that there is an association relationship between the VNF instance to be updated and the NS described in the VNFR information, send an update permission request to the NFVO, where the update permission request includes the identifier of the VNF instance to be updated ;and

在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM.

可选地,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;Optionally, the operation request is a request for terminating a VNF instance, wherein the request for terminating a VNF instance includes an identifier of the VNF instance to be terminated;

所述处理器81根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The processor 81 processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including:

根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;Sending a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the identifier of the VNF instance to be terminated;

接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse;

根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;Terminate the VNF instance according to the received VNFR information, and send a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resource information of the VNF instance to be terminated described in the received VNFR information;

接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Receive the virtual resource deletion response message sent by the VIM, and send a VNFR deletion request to the VNF instance repository, where the VNFR deletion request includes the identifier of the VNF instance to be deleted.

所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:The processor 81 sends a virtual resource deletion operation to the VIM according to the received VNFR information, including:

在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。When it is determined that the received request to terminate the VNF instance comes from NFVO, or when it is determined that the management domain where it is located does not include the NFVO, terminate the VNF instance according to the received VNFR information, and send a virtual resource deletion operation to the VIM .

所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:The processor 81 sends a virtual resource deletion operation to the VIM according to the received VNFR information, including:

在确定其所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;When it is determined that NFVO is included in its management domain and the received request to terminate the VNF instance is not from the NFVO, further judge the VNF instance to be terminated described in the VNFR information according to the received VNFR information Whether there is an association relationship with NS;

在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When it is determined that there is no association relationship between the VNF instance to be terminated described in the VNFR information and the NS, the VNF instance is terminated, and a virtual resource deletion operation is sent to the VIM.

所述处理器81根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:The processor 81 sends a virtual resource deletion operation to the VIM according to the received VNFR information, including:

在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并When it is determined that there is an association relationship between the VNF instance to be terminated and the NS described in the VNFR information, send a termination permission request to the NFVO, where the termination permission request includes the identifier of the VNF instance to be terminated; and

在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM.

可选地,所述处理器81还用于若其所在的管理域包含NFVO,则在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。Optionally, the processor 81 is further configured to send a notification message to the NFVO after the VNF instance is processed if the management domain where it is located includes the NFVO, wherein the notification message includes the The identifier of the VNF instance.

本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (32)

1.一种虚拟化的网络功能VNF控制方法,其特征在于,包括:1. A virtualized network function VNF control method, characterized in that, comprising: VNF管理器VNFM接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;The VNF manager VNFM receives the VNF operation request, wherein the VNF operation request includes operation information about the VNF instance; 所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNF record VNFR of the VNF instance in the VNF instance warehouse. 2.如权利要求1所述的VNF控制方法,其特征在于,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;2. The VNF control method according to claim 1, wherein the VNF operation request is to create a VNF instance request, wherein the VNF instance request includes a designated network element to be created in the VNF instance; 所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including: 所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;The VNFM sends a virtual resource request to the virtualization infrastructure management system VIM according to the designated network element of the VNF instance to be created included in the VNF instance creation request, wherein the virtual resource request is used to request the VIM to create The VNF instance of the specified network element allocates the required virtual resources; 所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;The VNFM receives the virtual resource allocated by the VIM, and starts to create the VNF instance of the specified network element according to the virtual resource; 所述VNFM在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNFM successfully creates the VNF instance of the specified network element, it stores the VNFR of the VNF instance in the VNF instance warehouse. 3.如权利要求2所述的VNF控制方法,其特征在于,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:3. The VNF control method according to claim 2, wherein the VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created included in the VNF instance request, including: 所述VNFM在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。When the VNFM determines that the VNF instance creation request received comes from the network function orchestrator NFVO, or when it determines that the management domain where the VNFM is located does not include the NFVO, according to the pending VNF instance request included in the VNF instance creation request Create a designated network element of a VNF instance and send a virtual resource request to the VIM. 4.如权利要求2所述的VNF控制方法,其特征在于,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:4. The VNF control method according to claim 2, wherein the VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance request, comprising: 所述VNFM在确定所述VNFM所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;When the VNFM determines that the management domain where the VNFM is located includes NFVO and the received request for creating a VNF instance is not from the NFVO, it further determines whether the designated network element of the VNF instance to be created is capable of independently executing services network element; 所述VNFM在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When the VNFM determines that the specified network element of the VNF instance to be created is a network element capable of independently executing services, it sends a virtual resource request to the VIM. 5.如权利要求4所述的VNF控制方法,其特征在于,所述VNFM根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求,包括:5. The VNF control method according to claim 4, wherein the VNFM sends a virtual resource request to the VIM according to the designated network element of the VNF instance to be created contained in the VNF instance request, comprising: 所述VNFM在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并When the VNFM cannot determine whether the specified network element of the VNF instance to be created is a network element that can independently perform services, send a creation permission request to the NFVO; and 在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM. 6.如权利要求1所述的VNF控制方法,其特征在于,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;6. The VNF control method according to claim 1, wherein the VNF operation request is a query VNF instance request, wherein the query VNF instance request includes the identification of the VNF instance to be queried; 所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including: 所述VNFM根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be queried included in the query VNF instance request, wherein the VNFR query request includes the identifier of the VNF instance to be queried; 所述VNFM接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be queried and sent by the VNF instance repository. 7.如权利要求1所述的VNF控制方法,其特征在于,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;7. The VNF control method according to claim 1, wherein the operation request is an update VNF instance request, wherein the update VNF instance request includes the identification of the VNF instance to be updated; 所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including: 所述VNFM根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance warehouse according to the identification of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the identification of the VNF instance to be updated; 所述VNFM接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance repository; 所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;The VNFM sends a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described by the VNFR information; 所述VNFM接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;The VNFM receives the virtual resource allocated by the VIM, and starts updating the VNF instance described in the VNFR information according to the virtual resource; 所述VNFM在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the VNFM finishes updating the VNF instance, it updates the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance warehouse. 8.如权利要求7所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:8. The VNF control method according to claim 7, wherein the VNFM sends a virtual resource request to the VIM according to the received VNFR information, comprising: 所述VNFM在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。The VNFM sends a virtual resource request to the VIM according to the received VNFR information when determining that the received update VNF instance request is from the NFVO, or when determining that the management domain where the VNFM is located does not include the NFVO . 9.如权利要求7所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:9. The VNF control method according to claim 7, wherein the VNFM sends a virtual resource request to the VIM according to the received VNFR information, comprising: 所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;When the VNFM determines that the management domain where the VNFM is located contains NFVO and the received request to update the VNF instance is not from the NFVO, it further judges the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be updated and the network service NS; 所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When the VNFM determines that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, it sends a virtual resource request to the VIM. 10.如权利要求9所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,包括:10. The VNF control method according to claim 9, wherein the VNFM sends a virtual resource request to the VIM according to the received VNFR information, comprising: 所述VNFM在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并When the VNFM determines that there is an association between the VNF instance to be updated described in the VNFR information and the NS, it sends an update permission request to the NFVO, wherein the update permission request includes the VNF to be updated the identity of the instance; and 在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM. 11.如权利要求1所述的VNF控制方法,其特征在于,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;11. The VNF control method according to claim 1, wherein the operation request is a request for terminating a VNF instance, wherein the request for terminating a VNF instance includes the identification of the VNF instance to be terminated; 所述VNFM根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNFR,包括:The VNFM processes the VNF instance according to the operation information contained in the VNF operation request, and controls the VNFR of the VNF instance in the VNF instance warehouse, including: 所述VNFM根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;The VNFM sends a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the identifier of the VNF instance to be terminated; 所述VNFM接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;The VNFM receives the VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance repository; 所述VNFM根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;The VNFM terminates the VNF instance according to the received VNFR information, and sends a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resources of the VNF instance to be terminated described in the received VNFR information. resource information; 所述VNFM接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。The VNFM receives the virtual resource deletion response message sent by the VIM, and sends a VNFR deletion request to the VNF instance repository, wherein the VNFR deletion request includes the identifier of the VNF instance to be deleted. 12.如权利要求11所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:12. The VNF control method according to claim 11, wherein the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, comprising: 所述VNFM在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定所述VNFM所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that the received request for terminating the VNF instance comes from the NFVO, or when it determines that the management domain where the VNFM is located does not include the NFVO, it terminates the VNF instance according to the received VNFR information, and reports to the VIM Send a virtual resource delete operation. 13.如权利要求11所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:13. The VNF control method according to claim 11, wherein the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, comprising: 所述VNFM在确定所述VNFM所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;When the VNFM determines that the management domain where the VNFM is located includes NFVO and the received request to terminate the VNF instance is not from the NFVO, further judge the VNFR information described in the VNFR information according to the received VNFR information. Whether there is an association relationship between the VNF instance to be terminated and the NS; 所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When the VNFM determines that there is no association relationship between the VNF instance to be terminated and the NS described in the VNFR information, it terminates the VNF instance and sends a virtual resource deletion operation to the VIM. 14.如权利要求13所述的VNF控制方法,其特征在于,所述VNFM根据接收到的所述VNFR信息,向VIM发送虚拟资源删除操作,包括:14. The VNF control method according to claim 13, wherein the VNFM sends a virtual resource deletion operation to the VIM according to the received VNFR information, comprising: 所述VNFM在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并When the VNFM determines that there is an association between the VNF instance to be terminated and the NS described in the VNFR information, it sends a termination permission request to the NFVO, wherein the termination permission request includes the VNF instance to be terminated identify; and 在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM. 15.如权利要求1至14任一所述的VNF控制方法,其特征在于,所述方法还包括:15. The VNF control method according to any one of claims 1 to 14, wherein the method further comprises: 若所述VNFM所在的管理域包含NFVO,则所述VNFM在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。If the management domain where the VNFM is located includes NFVO, the VNFM sends a notification message to the NFVO after processing the VNF instance, where the notification message includes the identifier of the VNF instance. 16.一种虚拟化的网络功能VNF控制方法,其特征在于,包括:16. A virtualized network function VNF control method, characterized in that, comprising: VNF管理器VNFM接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;The VNF manager VNFM receives the VNF operation request, wherein the VNF operation request includes operation information about the VNF instance; 所述VNFM根据根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNF记录VNFR。The VNFM processes the VNF instance according to the operation information included in the VNF operation request, and controls the VNF record VNFR of the VNF instance in the NFV instance repository through the communication interface with the NFV instance repository. 17.一种虚拟化的网络功能VNF控制设备,其特征在于,包括:17. A virtualized network function VNF control device, characterized in that it comprises: 接收单元,用于接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;A receiving unit, configured to receive a VNF operation request, wherein the VNF operation request includes operation information about the VNF instance; 控制单元,用于根据所述接收单元接收到的所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并控制VNF实例仓库中所述VNF实例的VNF记录VNFR。The control unit is configured to process the VNF instance according to the operation information contained in the VNF operation request received by the receiving unit, and control the VNF record VNFR of the VNF instance in the VNF instance warehouse. 18.如权利要求17所述的VNF控制设备,其特征在于,所述VNF操作请求为创建VNF实例请求,其中,所述创建VNF实例请求中包含待创建VNF实例的指定网元;18. The VNF control device according to claim 17, wherein the VNF operation request is a request for creating a VNF instance, wherein the request for creating a VNF instance includes a specified network element to be created for the VNF instance; 所述控制单元,具体用于根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向虚拟化基础设备管理系统VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为创建指定网元的VNF实例分配需要的虚拟资源;The control unit is specifically configured to send a virtual resource request to the virtualization infrastructure management system VIM according to the specified network element of the VNF instance to be created included in the VNF instance creation request, wherein the virtual resource request is used to request The VIM allocates required virtual resources for creating a VNF instance of a specified network element; 接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动创建所述指定网元的VNF实例;receiving the virtual resource allocated by the VIM, and starting to create a VNF instance of the specified network element according to the virtual resource; 在成功创建所述指定网元的VNF实例后,将所述VNF实例的VNFR存储至VNF实例仓库中。After the VNF instance of the specified network element is successfully created, the VNFR of the VNF instance is stored in the VNF instance repository. 19.如权利要求18所述的VNF控制设备,其特征在于,19. The VNF control device according to claim 18, wherein: 所述控制单元,具体用于在确定接收到的所述创建VNF实例请求来自网络功能编排器NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据所述创建VNF实例请求中包含的待创建VNF实例的指定网元,向VIM发送虚拟资源请求。The control unit is specifically configured to, when it is determined that the received request for creating a VNF instance comes from a network function orchestrator NFVO, or when it is determined that the management domain where it is located does not include the NFVO, according to the request for creating a VNF instance The specified network element included in the VNF instance to be created sends a virtual resource request to the VIM. 20.如权利要求19所述的VNF控制设备,其特征在于,20. The VNF control device according to claim 19, wherein: 所述控制单元,具体用于在确定其所在的管理域中包含NFVO、且接收到的所述创建VNF实例请求不是来自所述NFVO时,进一步判断待创建VNF实例的指定网元是否为可独立执行业务的网元;The control unit is specifically configured to further determine whether the designated network element of the VNF instance to be created can be independent when it is determined that the management domain where it is located contains NFVO and the received request for creating a VNF instance is not from the NFVO. Network elements that perform services; 在判断出所述待创建VNF实例的指定网元为可独立执行业务的网元时,向VIM发送虚拟资源请求。When it is determined that the designated network element of the VNF instance to be created is a network element capable of independently performing services, a virtual resource request is sent to the VIM. 21.如权利要求20所述的VNF控制设备,其特征在于,21. The VNF control device according to claim 20, wherein: 所述控制单元,具体用于在无法确定所述待创建VNF实例的指定网元是否为可独立执行业务的网元时,向所述NFVO发送创建许可请求;并The control unit is specifically configured to send a creation permission request to the NFVO when it cannot be determined whether the specified network element of the VNF instance to be created is a network element that can independently perform services; and 在接收到所述NFVO发送的允许创建信息时,向VIM发送虚拟资源请求。When receiving the permission creation information sent by the NFVO, send a virtual resource request to the VIM. 22.如权利要求17所述的VNF控制设备,其特征在于,所述VNF操作请求为查询VNF实例请求,其中,所述查询VNF实例请求中包含待查询的VNF实例的标识;22. The VNF control device according to claim 17, wherein the VNF operation request is a query VNF instance request, wherein the query VNF instance request includes the identifier of the VNF instance to be queried; 所述控制单元,具体用于根据所述查询VNF实例请求中包含待查询的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待查询的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be queried contained in the query VNF instance request, wherein the VNFR query request contains the VNF instance to be queried Identification of the VNF instance; 接收所述VNF实例仓库发送的所述待查询的VNF实例的标识对应的VNFR信息。Receive the VNFR information corresponding to the identifier of the VNF instance to be queried sent by the VNF instance repository. 23.如权利要求17所述的VNF控制设备,其特征在于,所述操作请求为更新VNF实例请求,其中,所述更新VNF实例请求中包含待更新的VNF实例的标识;23. The VNF control device according to claim 17, wherein the operation request is an update VNF instance request, wherein the update VNF instance request includes the identifier of the VNF instance to be updated; 所述控制单元,具体用于根据所述更新VNF实例请求中包含待更新的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待更新的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance warehouse according to the identifier of the VNF instance to be updated included in the update VNF instance request, wherein the VNFR query request includes the VNF instance to be updated Identification of the VNF instance; 接收所述VNF实例仓库发送的所述待更新的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be updated sent by the VNF instance repository; 根据接收到的所述VNFR信息,向VIM发送虚拟资源请求,其中,所述虚拟资源请求用于请求所述VIM为所述VNFR信息描述的VNF实例分配更新需要的虚拟资源;Sending a virtual resource request to the VIM according to the received VNFR information, where the virtual resource request is used to request the VIM to allocate virtual resources required for updating to the VNF instance described in the VNFR information; 接收所述VIM分配的虚拟资源,并根据所述虚拟资源,启动更新所述VNFR信息描述的VNF实例;receiving the virtual resource allocated by the VIM, and starting to update the VNF instance described in the VNFR information according to the virtual resource; 在完成VNF实例更新后,更新所述VNF实例仓库中所述待更新的VNF实例的标识对应的VNFR信息。After the update of the VNF instance is completed, the VNFR information corresponding to the identifier of the VNF instance to be updated in the VNF instance repository is updated. 24.如权利要求23所述的VNF控制设备,其特征在于,24. The VNF control device according to claim 23, wherein: 所述控制单元,具体用于在确定接收到的所述更新VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,向VIM发送虚拟资源请求。The control unit is specifically configured to, according to the received VNFR information, send an Virtual resource request. 25.如权利要求23所述的VNF控制设备,其特征在于,25. The VNF control device according to claim 23, wherein: 所述控制单元,具体用于在确定其所在的管理域中包含NFVO且接收到的所述更新VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待更新的VNF实例与网络服务NS之间是否存在关联关系;The control unit is specifically configured to further judge the VNFR information according to the received VNFR information when it is determined that NFVO is included in the management domain where it is located and the received request for updating the VNF instance is not from the NFVO. Whether there is an association relationship between the VNF instance to be updated and the network service NS described in ; 在确定所述VNFR信息中描述的待更新的VNF实例与NS之间不存在关联关系时,向VIM发送虚拟资源请求。When it is determined that there is no association relationship between the VNF instance to be updated described in the VNFR information and the NS, a virtual resource request is sent to the VIM. 26.如权利要求25所述的VNF控制设备,其特征在于,26. The VNF control device according to claim 25, wherein: 所述控制单元,具体用于在确定所述VNFR信息中描述的待更新的VNF实例与NS之间存在关联关系时,向所述NFVO发送更新许可请求,其中,所述更新许可请求中包含所述待更新的VNF实例的标识;并The control unit is specifically configured to send an update permission request to the NFVO when it is determined that there is an association between the VNF instance to be updated described in the VNFR information and the NS, where the update permission request includes the Describe the identity of the VNF instance to be updated; and 在接收所述NFVO发送的允许更新许可信息时,向VIM发送虚拟资源请求。When receiving the update permission information sent by the NFVO, send a virtual resource request to the VIM. 27.如权利要求17所述的VNF控制设备,其特征在于,所述操作请求为终止VNF实例请求,其中,所述终止VNF实例请求中包含待终止的VNF实例的标识;27. The VNF control device according to claim 17, wherein the operation request is a request for terminating a VNF instance, wherein the request for terminating a VNF instance includes an identifier of the VNF instance to be terminated; 所述控制单元,具体用于根据所述终止VNF实例请求中包含待终止的VNF实例的标识,向所述VNF实例仓库发送VNFR查询请求,其中,所述VNFR查询请求中包含所述待终止的VNF实例的标识;The control unit is specifically configured to send a VNFR query request to the VNF instance repository according to the identifier of the VNF instance to be terminated included in the request for terminating the VNF instance, wherein the VNFR query request includes the VNF instance to be terminated. Identification of the VNF instance; 接收所述VNF实例仓库发送的所述待终止的VNF实例的标识对应的VNFR信息;receiving VNFR information corresponding to the identifier of the VNF instance to be terminated sent by the VNF instance warehouse; 根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作,其中,所述虚拟资源删除操作中包含接收到的所述VNFR信息描述的待终止的VNF实例的虚拟资源信息;Terminate the VNF instance according to the received VNFR information, and send a virtual resource deletion operation to the VIM, wherein the virtual resource deletion operation includes the virtual resource information of the VNF instance to be terminated described in the received VNFR information; 接收所述VIM发送的虚拟资源删除响应消息,并向所述VNF实例仓库发送VNFR删除请求,其中,所述VNFR删除请求中包含所述待删除的VNF实例的标识。Receive the virtual resource deletion response message sent by the VIM, and send a VNFR deletion request to the VNF instance repository, where the VNFR deletion request includes the identifier of the VNF instance to be deleted. 28.如权利要求27所述的VNF控制设备,其特征在于,28. The VNF control device according to claim 27, wherein: 所述控制单元,具体用于在确定接收到的所述终止VNF实例请求来自NFVO,或者在确定其所在的管理域中不包含所述NFVO时,根据接收到的所述VNFR信息,终止VNF实例,向VIM发送虚拟资源删除操作。The control unit is specifically configured to terminate the VNF instance according to the received VNFR information when it is determined that the received request for terminating the VNF instance is from the NFVO, or when it is determined that the management domain where it is located does not include the NFVO , to send a virtual resource deletion operation to VIM. 29.如权利要求27所述的VNF控制设备,其特征在于,29. The VNF control device according to claim 27, wherein: 所述控制单元,具体用于在确定其所在的管理域中包含NFVO且接收到的所述终止VNF实例请求不是来自所述NFVO时,进一步根据接收到的所述VNFR信息,判断所述VNFR信息中描述的待终止的VNF实例与NS之间是否存在关联关系;The control unit is specifically configured to further judge the VNFR information according to the received VNFR information when it is determined that the management domain where it is located contains NFVO and the received request to terminate the VNF instance is not from the NFVO Whether there is an association relationship between the VNF instance to be terminated and the NS described in ; 在确定所述VNFR信息中描述的待终止的VNF实例与NS之间不存在关联关系时,终止VNF实例,向VIM发送虚拟资源删除操作。When it is determined that there is no association relationship between the VNF instance to be terminated described in the VNFR information and the NS, the VNF instance is terminated, and a virtual resource deletion operation is sent to the VIM. 30.如权利要求29所述的VNF控制设备,其特征在于,30. The VNF control device according to claim 29, wherein: 所述控制单元,具体用于在确定所述VNFR信息中描述的待终止的VNF实例与NS之间存在关联关系时,向所述NFVO发送终止许可请求,其中,所述终止许可请求中包含待终止的VNF实例的标识;并The control unit is specifically configured to send a termination permission request to the NFVO when it is determined that there is an association relationship between the VNF instance to be terminated described in the VNFR information and the NS, wherein the termination permission request includes a pending the identification of the terminated VNF instance; and 在接收到所述NFVO发送的允许终止信息时,终止VNF实例,向VIM发送虚拟资源删除操作。When receiving the permission termination information sent by the NFVO, terminate the VNF instance, and send a virtual resource deletion operation to the VIM. 31.如权利要求17至30任一所述的VNF控制设备,其特征在于,所述控制设备还包括:发送单元,其中:31. The VNF control device according to any one of claims 17 to 30, wherein the control device further comprises: a sending unit, wherein: 所述发送单元,用于若其所在的管理域包含NFVO,则在对VNF实例进行处理后,向所述NFVO发送通知类消息,其中,所述通知类消息中包含所述VNF实例的标识。The sending unit is configured to send a notification message to the NFVO after the VNF instance is processed if the management domain where it is located includes the NFVO, wherein the notification message includes the identifier of the VNF instance. 32.一种虚拟化的网络功能VNF控制设备,其特征在于,包括:32. A virtualized network function VNF control device, characterized in that it comprises: 接收单元,用于接收VNF操作请求,其中,所述VNF操作请求中包含关于VNF实例的操作信息;A receiving unit, configured to receive a VNF operation request, wherein the VNF operation request includes operation information about the VNF instance; 控制单元,用于根据根据所述VNF操作请求中包含的操作信息,对VNF实例进行处理,并通过与NFV实例仓库之间的通信接口,控制所述NFV实例仓库中所述VNF实例的VNF记录VNFR。A control unit, configured to process the VNF instance according to the operation information contained in the VNF operation request, and control the VNF record of the VNF instance in the NFV instance repository through the communication interface with the NFV instance repository VNFR.
CN201410856663.3A 2014-12-31 2014-12-31 A virtualized network function VNF control method and device Active CN105812171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410856663.3A CN105812171B (en) 2014-12-31 2014-12-31 A virtualized network function VNF control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856663.3A CN105812171B (en) 2014-12-31 2014-12-31 A virtualized network function VNF control method and device

Publications (2)

Publication Number Publication Date
CN105812171A true CN105812171A (en) 2016-07-27
CN105812171B CN105812171B (en) 2019-06-11

Family

ID=56465393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856663.3A Active CN105812171B (en) 2014-12-31 2014-12-31 A virtualized network function VNF control method and device

Country Status (1)

Country Link
CN (1) CN105812171B (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347081A (en) * 2017-09-05 2017-11-14 杭州安恒信息技术有限公司 A kind of method and device of virtual secure integrated management
WO2018039878A1 (en) * 2016-08-29 2018-03-08 华为技术有限公司 Method, apparatus, and system for managing virtual resource
WO2018045540A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Lifecycle management method and management unit
WO2018082477A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 Method and device for managing network slice instance
CN108024256A (en) * 2016-11-03 2018-05-11 华为技术有限公司 A kind of methods, devices and systems for shrinking network section example
CN108023749A (en) * 2016-11-03 2018-05-11 华为技术有限公司 Manage the method, apparatus and system of network section
CN108024255A (en) * 2016-11-03 2018-05-11 华为技术有限公司 The method and the network equipment of extended network section example
WO2018108012A1 (en) * 2016-12-14 2018-06-21 中兴通讯股份有限公司 Method and device for network functional entity to perform stateless process
CN108234174A (en) * 2016-12-21 2018-06-29 华为技术有限公司 The management method and device of virtual network function
CN108429631A (en) * 2017-02-15 2018-08-21 华为技术有限公司 A kind of method and device of network service instantiation
CN108471373A (en) * 2017-02-23 2018-08-31 华为技术有限公司 A kind of resource bid, VNF examples creation method and device
CN109255001A (en) * 2018-08-31 2019-01-22 阿里巴巴集团控股有限公司 Maintaining method and device, the electronic equipment in interface instance library
CN109391483A (en) * 2017-08-04 2019-02-26 中国电信股份有限公司 Network example method, network function virtualization composer and system
CN109639460A (en) * 2018-11-19 2019-04-16 中国联合网络通信集团有限公司 The method and apparatus of NFV resource management
CN109714239A (en) * 2018-12-27 2019-05-03 新华三技术有限公司 A kind of delivery method, VNFM equipment and server managing message
CN109728921A (en) * 2017-10-27 2019-05-07 华为技术有限公司 Management, maintenance and the control method and relevant apparatus of Virtual NE
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信系统(中国)有限公司 Method and device for deploying VNF in NFV system based on Openstack
CN109964449A (en) * 2016-11-17 2019-07-02 华为技术有限公司 Licensing method and apparatus for network service life cycle management
CN109992353A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 A method, apparatus, device, and computer-readable storage medium for expanding and shrinking capacity
CN110113177A (en) * 2018-02-01 2019-08-09 中国移动通信有限公司研究院 Management method, device and the computer readable storage medium of NFV system license
CN106792739B (en) * 2016-11-17 2020-01-21 北京邮电大学 Network slicing method, apparatus and device
CN111083722A (en) * 2019-04-15 2020-04-28 中兴通讯股份有限公司 Model push, model request method and device, storage medium
CN111385114A (en) * 2018-12-28 2020-07-07 华为技术有限公司 VNF service instantiation method and device
CN114598604A (en) * 2020-12-01 2022-06-07 中移(苏州)软件技术有限公司 Monitoring method, monitoring device and terminal for virtual network function instance information
CN114844988A (en) * 2022-04-02 2022-08-02 咪咕文化科技有限公司 Service processing method, device, system and storage medium of virtualized color ring platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229945A1 (en) * 2013-02-12 2014-08-14 Contextream Ltd. Network control using software defined flow mapping and virtualized network functions
WO2014169870A1 (en) * 2013-08-05 2014-10-23 中兴通讯股份有限公司 Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
US20140317261A1 (en) * 2013-04-22 2014-10-23 Cisco Technology, Inc. Defining interdependent virtualized network functions for service level orchestration
CN104219127A (en) * 2014-08-30 2014-12-17 华为技术有限公司 Creation method and device of virtual network instance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229945A1 (en) * 2013-02-12 2014-08-14 Contextream Ltd. Network control using software defined flow mapping and virtualized network functions
US20140317261A1 (en) * 2013-04-22 2014-10-23 Cisco Technology, Inc. Defining interdependent virtualized network functions for service level orchestration
WO2014169870A1 (en) * 2013-08-05 2014-10-23 中兴通讯股份有限公司 Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
CN104219127A (en) * 2014-08-30 2014-12-17 华为技术有限公司 Creation method and device of virtual network instance

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018039878A1 (en) * 2016-08-29 2018-03-08 华为技术有限公司 Method, apparatus, and system for managing virtual resource
WO2018045540A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Lifecycle management method and management unit
CN108023749A (en) * 2016-11-03 2018-05-11 华为技术有限公司 Manage the method, apparatus and system of network section
WO2018082477A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 Method and device for managing network slice instance
CN108024256A (en) * 2016-11-03 2018-05-11 华为技术有限公司 A kind of methods, devices and systems for shrinking network section example
CN108023751A (en) * 2016-11-03 2018-05-11 华为技术有限公司 Method and apparatus for managing network section example
CN108024256B (en) * 2016-11-03 2020-04-03 华为技术有限公司 A method, apparatus and system for shrinking network slice instances
CN108024255A (en) * 2016-11-03 2018-05-11 华为技术有限公司 The method and the network equipment of extended network section example
EP3525396A4 (en) * 2016-11-03 2019-08-21 Huawei Technologies Co., Ltd. METHOD AND DEVICE FOR MANAGING NETWORK WAFER INSTANCE
CN108023751B (en) * 2016-11-03 2020-02-14 华为技术有限公司 Method and apparatus for managing network slice instances
CN109964449A (en) * 2016-11-17 2019-07-02 华为技术有限公司 Licensing method and apparatus for network service life cycle management
US11271827B2 (en) 2016-11-17 2022-03-08 Huawei Technologies Co., Ltd. Network service life cycle management grant method and apparatus
US10911333B2 (en) 2016-11-17 2021-02-02 Huawei Technologies Co., Ltd. Network service life cycle management grant method and apparatus
CN106792739B (en) * 2016-11-17 2020-01-21 北京邮电大学 Network slicing method, apparatus and device
WO2018108012A1 (en) * 2016-12-14 2018-06-21 中兴通讯股份有限公司 Method and device for network functional entity to perform stateless process
CN108616978A (en) * 2016-12-14 2018-10-02 中兴通讯股份有限公司 A kind of method and device that network functional entity is statelessly handled
CN108234174B (en) * 2016-12-21 2020-04-21 华为技术有限公司 Method and device for managing virtual network functions
CN108234174A (en) * 2016-12-21 2018-06-29 华为技术有限公司 The management method and device of virtual network function
CN108429631B (en) * 2017-02-15 2021-01-15 华为技术有限公司 Method and device for instantiating network service
CN108429631A (en) * 2017-02-15 2018-08-21 华为技术有限公司 A kind of method and device of network service instantiation
CN108471373A (en) * 2017-02-23 2018-08-31 华为技术有限公司 A kind of resource bid, VNF examples creation method and device
CN109391483A (en) * 2017-08-04 2019-02-26 中国电信股份有限公司 Network example method, network function virtualization composer and system
CN107347081A (en) * 2017-09-05 2017-11-14 杭州安恒信息技术有限公司 A kind of method and device of virtual secure integrated management
CN109728921B (en) * 2017-10-27 2021-12-03 华为技术有限公司 Management, maintenance and control method of virtual network element and related device
CN109728921A (en) * 2017-10-27 2019-05-07 华为技术有限公司 Management, maintenance and the control method and relevant apparatus of Virtual NE
CN109992353A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 A method, apparatus, device, and computer-readable storage medium for expanding and shrinking capacity
CN109992353B (en) * 2018-01-02 2021-11-02 中国移动通信有限公司研究院 A method, apparatus, device, and computer-readable storage medium for expanding and shrinking capacity
CN110113177A (en) * 2018-02-01 2019-08-09 中国移动通信有限公司研究院 Management method, device and the computer readable storage medium of NFV system license
CN110113177B (en) * 2018-02-01 2020-12-04 中国移动通信有限公司研究院 NFV system license management method, device and computer-readable storage medium
CN109255001A (en) * 2018-08-31 2019-01-22 阿里巴巴集团控股有限公司 Maintaining method and device, the electronic equipment in interface instance library
CN109639460A (en) * 2018-11-19 2019-04-16 中国联合网络通信集团有限公司 The method and apparatus of NFV resource management
CN109639460B (en) * 2018-11-19 2021-12-07 中国联合网络通信集团有限公司 NFV resource management method and device
CN109714239A (en) * 2018-12-27 2019-05-03 新华三技术有限公司 A kind of delivery method, VNFM equipment and server managing message
CN109714239B (en) * 2018-12-27 2021-04-27 新华三技术有限公司 Management message issuing method, VNFM (virtual network management frequency) equipment and server
CN111385114B (en) * 2018-12-28 2022-04-26 华为技术有限公司 VNF service instantiation method and device
CN111385114A (en) * 2018-12-28 2020-07-07 华为技术有限公司 VNF service instantiation method and device
US12020055B2 (en) 2018-12-28 2024-06-25 Huawei Technologies Co., Ltd. VNF service instantiation method and apparatus
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信系统(中国)有限公司 Method and device for deploying VNF in NFV system based on Openstack
CN111083722A (en) * 2019-04-15 2020-04-28 中兴通讯股份有限公司 Model push, model request method and device, storage medium
CN111083722B (en) * 2019-04-15 2024-06-07 中兴通讯股份有限公司 Method and device for pushing model and requesting model, and storage medium
CN114598604A (en) * 2020-12-01 2022-06-07 中移(苏州)软件技术有限公司 Monitoring method, monitoring device and terminal for virtual network function instance information
CN114598604B (en) * 2020-12-01 2023-09-19 中移(苏州)软件技术有限公司 Monitoring method, monitoring device and terminal for virtual network function instance information
CN114844988A (en) * 2022-04-02 2022-08-02 咪咕文化科技有限公司 Service processing method, device, system and storage medium of virtualized color ring platform

Also Published As

Publication number Publication date
CN105812171B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN105812171A (en) Virtualized network function VNF control method and device
EP3913859B1 (en) Vnf life cycle management method and apparatus
US20180146031A1 (en) Life Cycle Management Method and Apparatus
CN107967140B (en) Method for initiating software modification, method and device for publishing metadata
US20170373931A1 (en) Method for updating network service descriptor nsd and apparatus
CN108322325B (en) Virtual machine management method and device
CN111245634B (en) A virtualization management method and device
CN107924383A (en) Systems and methods for network function virtualization resource management
CN107145380A (en) Virtual resource method of combination and device
WO2020011214A1 (en) Method and device for managing virtualized resource
CN106856438B (en) Network service instantiation method, device and NFV system
US11301284B2 (en) Method for managing VNF instantiation and device
WO2017185303A1 (en) Method and device for managing nfv mano policy descriptor
CN104980297A (en) Virtual machine resource changing method and device, and virtualized network function device
CN106664259B (en) Method and device for expanding virtual network function
CN102752215B (en) Processing method for VDP (vertical data processing) request messages and edge switch
WO2018153354A1 (en) Resource application and vnf instance creation method and apparatus
WO2020098352A1 (en) Workflow scheduling method, apparatus, and system
CN107534678A (en) Establish the method, apparatus and system being connected between VNFM and VIM
WO2018014351A1 (en) Method and apparatus for resource configuration
CN112889247B (en) VNF service instantiation method and device
WO2021121595A1 (en) Discovering an instance of a virtual network function
CN113726541B (en) A method, device, electronic device and storage medium for network element configuration
CN111526168A (en) Scheduling management method and device for Network Function Virtualization (NFV) architecture
WO2018120222A1 (en) Vnffg management method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant