VNF instantiation method and device of network cloud

By working together with NFVO, VNFM, and VIM, the VNF resource configuration of the network cloud is automatically adjusted, which solves the problem of poor adaptability to dynamic changes in resource pool resources in existing technologies. It realizes dynamic reconstruction and adaptive adjustment of resources, improving efficiency and business continuity.

CN121833134APending Publication Date: 2026-04-10INNER MONGOLIA MOBILE +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-24
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing VNF instantiation solutions for network clouds cannot adapt to the dynamic changes in resource pools, and resource adjustments rely on manual experience, resulting in low adaptation efficiency, especially when facing new heterogeneous network elements with long adaptation cycles.

Method used

By working together with NFVO, VNFM, and VIM, fragmented resource data and real-time resource usage data are used to determine whether VNF resource adjustments are needed. The virtual machine resource configuration is automatically adjusted, including expansion or reduction, to achieve dynamic resource reconstruction and adaptive adjustment.

Benefits of technology

It enables dynamic adjustment of the network cloud resource pool, improves the automation and efficiency of resource allocation, reduces manual intervention, ensures business continuity and resource optimization, and enables rapid response to resource changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121833134A_ABST
    Figure CN121833134A_ABST
Patent Text Reader

Abstract

The present invention provides a VNF instantiation method and apparatus for a network cloud, and relates to the technical field of network cloud virtualization, the method is applied to a network function virtualization orchestrator NFVO, and comprises: when a first VNF virtual network function instantiation request sent by user equipment (UE) is obtained and a virtual machine is created for a VNF of the network cloud by a virtual resource manager VIM, the VNF instantiation request is sent to the VNF of the network cloud; according to the resource fragmentation data of the available area AZ where the VNF is located and the real-time resource occupation data of the VNF, whether VNF resource adjustment needs to be performed on the virtual machine is judged; if the VNF resource adjustment needs to be carried out on the virtual machine, sending a first resource adjustment request to the VNFM; obtaining a resource adjustment result sent by the VNFM; and under the condition that the VNF instantiation completion result sent by the VNFM is obtained, sending the VNF instantiation completion result to the UE, and according to the scheme of the invention, in the VNF instantiation process of the network cloud, VNF resource adjustment can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network cloud virtualization, and particularly relates to a VNF instantiation method and device of a network cloud. BACKGROUND

[0002] The network cloud resource pool adopts a network function virtualization (NFV) architecture, carries core network elements, and realizes softwareization of element functions and generalization of hardware resources by using virtualization technology and implementing softwareization of element functions based on general hardware, so as to decouple element functions and hardware resources. The element instantiation process refers to a process of instantiating a virtual network function (VNF) in an NFV environment so as to run a virtual machine on a virtualized infrastructure.

[0003] At present, the VNF instantiation scheme of the network cloud cannot adapt to dynamic changes of resources of the network cloud resource pool, and resource adjustment depends on manual experience maintenance, which leads to low efficiency of adapting to various heterogeneous network elements and long adaptation period when facing new heterogeneous network elements. SUMMARY

[0004] At least one embodiment of the present application provides a VNF instantiation method and device of a network cloud, which are used to solve the problem that the VNF instantiation scheme of the network cloud in the prior art cannot adapt to dynamic changes of resources of the network cloud resource pool, and resource adjustment depends on manual experience maintenance.

[0005] In order to solve the above technical problems, the present application is implemented as follows:

[0006] In a first aspect, the present application provides a VNF instantiation method of a network cloud, applied to a network function virtualization orchestrator (NFVO), and the method comprises the following steps.

[0007] When a first virtual network function (VNF) instantiation request sent by a user equipment (UE) is acquired, and a virtual machine is created for the VNF by a virtualization resource manager (VIM) of the network cloud, whether VNF resource adjustment needs to be performed on the virtual machine is judged according to resource fragmentation data of an available zone (AZ) where the VNF is located and real-time resource occupation data of the VNF.

[0008] If the VNF resource adjustment needs to be performed on the virtual machine, a first resource adjustment request is sent to a virtual network function manager (VNFM).

[0009] A resource adjustment result sent by the VNFM is acquired.

[0010] When a VNF instantiation completion result sent by the VNFM is acquired, the VNF instantiation completion result is sent to the UE.

[0011] Optionally, the VNF instantiation method of the network cloud, wherein before the first resource adjustment request is sent to the VNFM, the method further comprises:

[0012] generating a resource adjustment demand request according to a virtual network function descriptor (VNFD) resource dependency parameter;

[0013] sending the resource adjustment demand request to the UE;

[0014] sending the first resource adjustment request to the VNFM, comprising:

[0015] in a case where the authorized response to the resource adjustment demand request sent by the UE is obtained, sending the first resource adjustment request to the VNFM.

[0016] Optionally, the VNF instantiation method of the network cloud, wherein after the resource adjustment result sent by the VNFM is obtained, the method further comprises:

[0017] updating a mapping relationship between the virtual machine and the VNF resource, and sending the resource adjustment result to the UE.

[0018] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises:

[0019] obtaining the resource fragmentation data according to real-time resource utilization of the AZ where the VNF is located and AZ quota data.

[0020] Optionally, the VNF instantiation method of the network cloud, wherein generating the resource adjustment demand request according to the VNFD resource dependency parameter comprises:

[0021] performing resource permission verification according to the VNFD resource dependency parameter and the idle resource data of the AZ;

[0022] if the resource permission verification is passed, obtaining a resource adjustment quantity and generating the resource adjustment demand request according to the VNFD resource dependency parameter and a resource description file in the VNFD file.

[0023] Optionally, the VNF instantiation method of the network cloud, wherein in a case where the first VNF instantiation request sent by the UE is obtained and the VIM creates a virtual machine for the VNF of the network cloud, whether the VNF resource adjustment needs to be performed on the virtual machine is determined according to the resource fragmentation data of the AZ where the VNF is located and real-time resource occupation data of the VNF, comprising:

[0024] In a case that the first VNF instantiation request sent by the UE is acquired, the VIM creates a virtual machine for the VNF of the network cloud, and the VNF upgrade completion result sent by the VIM is acquired, whether the virtual machine needs to be adjusted in VNF resource is judged according to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF.

[0025] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises:

[0026] In a case that the VNF upgrade request sent by the UE is acquired, the VNF upgrade request is sent to the VNF, the VNF sends the VNF upgrade request to the home VNFM, and the VNFM sends a VNF image file update instruction to the VIM;

[0027] The VNF upgrade completion result sent by the VIM after updating the VNF image file according to the image file update instruction is received.

[0028] Optionally, the VNF instantiation method of the network cloud, wherein whether the virtual machine needs to be adjusted in VNF resource is judged according to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF, comprising:

[0029] If the resource fragmentation rate in the resource fragmentation data of the AZ where the VNF is located is greater than or equal to a fragmentation rate threshold, then according to the real-time resource occupation data of the VNF, an average occupation rate, a peak occupation rate and an overload duration are obtained;

[0030] If the average occupation rate is greater than or equal to a first occupation rate threshold, the peak occupation rate is greater than or equal to a second occupation rate threshold, and the overload duration is greater than or equal to a duration threshold, it is determined that the virtual machine needs to be adjusted in VNF resource.

[0031] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises:

[0032] The first VNF instantiation request is verified in permission and legality of parameters, if the first VNF instantiation request is verified in permission and verified in legality of parameters, a second VNF instantiation request is sent to the VNFM to which the VNF belongs, the second VNF instantiation request is used to request instantiation of a VNF;

[0033] In a case that the VNF resource authorization request sent by the VNFM is acquired, according to the global resource data and the VNF required resource data in the VNF resource authorization request, available resource information and a VIM identifier are acquired, and the available resource information and the VIM identifier are sent to the VNFM.

[0034] In a second aspect, the embodiments of the present application also provide a VNF instantiation method of a network cloud, applied to a VNFM, and the method comprises the following steps:

[0035] obtaining a first resource adjustment request sent by an NFVO, wherein the first resource adjustment request is used to indicate VNF resource adjustment on a virtual machine created by a VIM;

[0036] sending a second resource adjustment request to the VIM;

[0037] in a case where a resource adjustment result sent by the VIM is obtained, sending the resource adjustment result to the NFVO;

[0038] sending a VNF instantiation completion result to the NFVO.

[0039] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises the following steps:

[0040] judging whether a service state of the VNF is available;

[0041] sending the VNF instantiation completion result to the NFVO, which comprises the following steps:

[0042] in a case where the service state of the VNF is available, sending the VNF instantiation completion result to the NFVO.

[0043] Optionally, the VNF instantiation method of the network cloud, wherein the step of sending the second resource adjustment request to the VIM comprises the following steps:

[0044] sending the second resource adjustment request to the VIM according to resource allocation of an AZ where the VNF is located.

[0045] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises the following steps:

[0046] in a case where a VNF upgrade request sent by the VNF is obtained, sending a VNF image file update instruction to the VIM.

[0047] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises the following steps:

[0048] obtaining a second VNF instantiation request;

[0049] analyzing a VNFD file in the second VNF instantiation request to obtain VNF required resource data;

[0050] sending a VNF resource authorization request to the NFVO, wherein the VNF resource authorization request comprises the VNF required resource data;

[0051] In the case that the available resource information and the VIM identifier sent by the NFVO are acquired, VNF resource allocation data of the virtual machine is determined according to the available resource information;

[0052] The VNF resource allocation data of the virtual machine is sent to the VIM indicated by the VIM identifier.

[0053] In a third aspect, the embodiments of the present application also provide a VNF instantiation method of a network cloud, applied to a VIM, and the method comprises:

[0054] A second resource adjustment request sent by a VNFM is acquired, the second resource adjustment request is sent after the VNFM acquires a first resource adjustment request sent by an NFVO, and the first resource adjustment request is used to indicate VNF resource adjustment of a virtual machine created by the VIM;

[0055] VNF resource adjustment is performed on the created virtual machine according to the second resource adjustment request, and a resource adjustment result is obtained;

[0056] The resource adjustment result is sent to the VNFM, and the resource adjustment result is used to trigger the VNFM to send a VNF instantiation completion result.

[0057] Optionally, the VNF instantiation method of the network cloud, wherein the VNF resource adjustment is performed on the created virtual machine according to the second resource adjustment request, and the resource adjustment result is obtained, comprises:

[0058] If the second resource adjustment request is used to indicate capacity expansion of the VNF, resources corresponding to a first idle virtual machine are allocated to the VNF, and the resource adjustment result is obtained;

[0059] If the second resource adjustment request is used to indicate capacity reduction of the VNF, resources corresponding to a second idle virtual machine are released, and the resource adjustment result is obtained.

[0060] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises:

[0061] In the case that the virtual machine is created, whether a version of the VNF is a current latest version and whether the VNF has a version vulnerability risk are judged according to VNF version information;

[0062] If the version of the VNF is the current latest version and the VNF has the version vulnerability risk, a VNF upgrade request is sent to a UE;

[0063] In the case that the VNF image file update instruction sent by the VNFM is acquired, a VNF image file is updated;

[0064] sending a VNF upgrade completion result to the NFVO.

[0065] Optionally, the VNF instantiation method of the network cloud, wherein the method further comprises:

[0066] in a case where the VNF resource allocation data of the virtual machine sent by the VNFM is acquired, obtaining VNF resource information of the virtual machine by allocating resources to the virtual machine according to the initial configuration information and the VNF resource allocation data;

[0067] creating the virtual machine according to the VNF resource information of the virtual machine.

[0068] In a fourth aspect, the embodiments of the present application further provide a VNF instantiation apparatus of a network cloud, applied to an NFVO, and the method comprises:

[0069] a first judging module, configured to, in a case where a first VNF instantiation request sent by a UE is acquired and a VIM creates a virtual machine for a VNF of the network cloud, judging whether VNF resource adjustment needs to be performed on the virtual machine according to resource fragmentation data of an AZ where the VNF is located and real-time resource occupation data of the VNF;

[0070] a first sending module, configured to, if VNF resource adjustment needs to be performed on the virtual machine, sending a first resource adjustment request to a virtual network function manager (VNFM);

[0071] a first obtaining module, configured to obtain resource adjustment results sent by the VNFM;

[0072] a second sending module, configured to, in a case where VNF instantiation completion results sent by the VNFM are acquired, sending the VNF instantiation completion results to the UE.

[0073] In a fifth aspect, the embodiments of the present application further provide a VNF instantiation apparatus of a network cloud, applied to a VNFM, and the method comprises:

[0074] a second obtaining module, configured to obtain a first resource adjustment request sent by an NFVO, the first resource adjustment request being used for indicating that VNF resource adjustment needs to be performed on a virtual machine created by a VIM;

[0075] a third sending module, configured to send a second resource adjustment request to the VIM;

[0076] a fourth sending module, configured to, in a case where resource adjustment results sent by the VIM are acquired, sending the resource adjustment results to the NFVO;

[0077] a fifth sending module, configured to send VNF instantiation completion results to the NFVO.

[0078] In a sixth aspect, the embodiments of the present application further provide a VNF instantiation device of a network cloud, applied to a VIM, and the method comprises the following steps:

[0079] a third obtaining module, configured to obtain a second resource adjustment request sent by the VNFM, the second resource adjustment request being sent after the VNFM obtains a first resource adjustment request sent by the NFVO, and the first resource adjustment request being used to indicate VNF resource adjustment on a virtual machine created by the VIM;

[0080] a first adjusting module, configured to perform VNF resource adjustment on the created virtual machine according to the second resource adjustment request, and obtain a resource adjustment result;

[0081] a sixth sending module, configured to send the resource adjustment result to the VNFM, the resource adjustment result being used to trigger the VNFM to send a VNF instantiation completion result.

[0082] In a seventh aspect, the embodiments of the present application further provide a VNF instantiation device of a network cloud, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the processor executes the program or instruction to implement the VNF instantiation method of the network cloud as described in the first aspect, the second aspect or the third aspect.

[0083] In an eighth aspect, the embodiments of the present application further provide a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the VNF instantiation method of the network cloud as described in the first aspect, the second aspect or the third aspect.

[0084] In a ninth aspect, the embodiments of the present application further provide a computer program product, comprising computer instructions, and the computer instructions are executed by a processor to implement the VNF instantiation method of the network cloud as described in the first aspect, the second aspect or the third aspect.

[0085] Compared with the prior art, the embodiment of the application provides a network cloud VNF instantiation method and device, in the case that a first VNF instantiation request sent by a UE is acquired, and a VIM creates a virtual machine for a VNF of the network cloud, whether VNF resource adjustment needs to be performed on the virtual machine is judged according to resource fragmentation data of an AZ where the VNF is located and real-time resource occupation data of the VNF; if VNF resource adjustment needs to be performed on the virtual machine, a first resource adjustment request is sent to a VNFM; resource adjustment results sent by the VNFM are acquired; in the case that VNF instantiation completion results sent by the VNFM are acquired, the VNF instantiation completion results are sent to the UE, solving the problem that the VNF instantiation scheme of the network cloud in the prior art cannot adapt to dynamic changes of resources of a resource pool of the network cloud, and resource adjustment depends on manual experience maintenance. BRIEF DESCRIPTION OF DRAWINGS

[0086] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The detailed description is merely meant to teach a person of ordinary skill a way to make and use the application. It is not meant to put limitations on the scope of the application. Further, the same reference numerals are intended to denote the same components throughout the drawings. In the drawings:

[0087] Figure 1 a flowchart of a network cloud VNF instantiation method according to a first embodiment of the application;

[0088] Figure 2 a flowchart of a network cloud VNF instantiation method according to a second embodiment of the application;

[0089] Figure 3 a flowchart of a network cloud VNF instantiation method according to a third embodiment of the application;

[0090] Figure 4 a flowchart of a first implementation of a network cloud VNF instantiation method according to an embodiment of the application;

[0091] Figure 5 a flowchart of a second implementation of a network cloud VNF instantiation method according to an embodiment of the application;

[0092] Figure 6 a flowchart of a third implementation of a network cloud VNF instantiation method according to an embodiment of the application;

[0093] Figure 7 a flowchart of a fourth implementation of a network cloud VNF instantiation method according to an embodiment of the application;

[0094] Figure 8Module schematic diagram of the VNF instantiation apparatus of the network cloud according to the first embodiment of the present application;

[0095] Figure 9 Module schematic diagram of the VNF instantiation apparatus of the network cloud according to the second embodiment of the present application;

[0096] Figure 10 Module schematic diagram of the VNF instantiation apparatus of the network cloud according to the third embodiment of the present application;

[0097] Figure 11 Hardware block diagram of the VNF instantiation device of the network cloud according to the embodiments of the present application. DETAILED DESCRIPTION

[0098] The terms "first", "second", and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second" are generally of a kind and are not limited in number, for example, the first object can be one or more. In addition, "or" in the present application means at least one of the connected objects. For example, "A or B" covers three schemes, i.e., scheme one: including A and not including B; scheme two: including B and not including A; scheme three: including A and including B. The character " / " generally represents that the objects before and after are in an "or" relationship.

[0099] Before explaining the embodiments of the present application, the following concepts are first explained:

[0100] NFV is a software-based implementation of telecommunication function nodes based on general hardware, and its core features are hierarchical decoupling and introduction of a new MANO management system. The network virtualization system architecture is composed of three layers of hardware resources, virtual resources and virtual network element functions, and a resource and network element management scheduling domain. The following are the component names and functions.

[0101] Network Function Virtualization Orchestrator (NFVO): used for unified resource management scheduling.

[0102] Virtual Network Function Manager (VNFM): used for virtualized network element life cycle management.

[0103] Virtual Infrastructure Management (VIM): used for virtualized resource management.

[0104] VNF: is a virtual network element function software, CSCF, MME, HSS, etc. Network element virtualization function software entity.

[0105] Virtual Machine (VM): used to provide virtual host to the upper layer application.

[0106] Referring to Figure 1 , the first embodiment of the application provides a VNF instantiation method of network cloud, applied to NFVO, the method comprises:

[0107] Step 101, in the case of obtaining the first VNF instantiation request sent by the user equipment (User Equipment, UE) and the VIM creates a VM for the VNF of the network cloud, according to the resource fragmentation data of the availability zone (Availability Zone, AZ) where the VNF is located and the real-time resource occupation data of the VNF, it is judged whether the VNF resource adjustment is needed for the VM;

[0108] The first VNF instantiation request is a request for instantiating a new VNF, that is, for requesting to instantiate a VNF. The first VNF instantiation request carries VNF instance identification (that is, the identification of the VNF to be instantiated) and VNF instantiation description.

[0109] Specifically, after the UE receives the first VNF instantiation request input by the user through the user interface (User Interface, UI) front end, the UE sends the first VNF instantiation request to the NFVO.

[0110] In one embodiment, the method further comprises:

[0111] According to the real-time resource utilization of the AZ where the VNF is located and the AZ quota data, the resource fragmentation data is obtained.

[0112] In the embodiment of the application, the NFVO can perform comprehensive resource scanning on the AZ where the VNF is located, generate the real-time resource utilization of the AZ, and obtain the resource fragmentation data according to the real-time resource utilization of the AZ and the AZ quota data.

[0113] In one embodiment, according to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF, whether the VNF resource adjustment is needed for the virtual machine, comprising:

[0114] If the resource fragmentation rate in the resource fragmentation data of the AZ where the VNF is located is greater than or equal to a fragmentation rate threshold, then according to real-time resource occupation data of the VNF, an average occupation rate, a peak occupation rate, and an overload duration are obtained;

[0115] If the average occupation rate is greater than or equal to a first occupation rate threshold, the peak occupation rate is greater than or equal to a second occupation rate threshold, and the overload duration is greater than or equal to a duration threshold, then it is determined that VNF resource adjustment of the virtual machine is needed.

[0116] In an embodiment of the present application, the resource fragmentation data at least includes a resource fragmentation rate. The real-time resource occupation data is a five-tuple data, including real-time CPU occupation rate, real-time memory occupation rate, real-time Ethernet port traffic, real-time disk occupation rate, and real-time database space occupation rate. According to the real-time resource occupation data, an average occupation rate, a peak occupation rate, and an overload duration can be obtained.

[0117] First, it is judged whether the resource fragmentation rate in the resource fragmentation data is greater than or equal to a fragmentation rate threshold. Here, if the resource fragmentation rate is less than the fragmentation rate threshold, it is determined that VNF resource adjustment of the virtual machine is not needed.

[0118] If the resource fragmentation rate is greater than or equal to the fragmentation rate threshold, it is further judged whether the average occupation rate is greater than or equal to a first occupation rate threshold, whether the peak occupation rate is greater than or equal to a second occupation rate threshold, and whether the overload duration is greater than or equal to a duration threshold. If the average occupation rate is greater than or equal to the first occupation rate threshold, the peak occupation rate is greater than or equal to the second occupation rate threshold, and the overload duration is greater than or equal to the duration threshold, it is determined that VNF resource adjustment of the virtual machine is needed.

[0119] It should be noted that the fragmentation rate threshold, the first occupation rate threshold, the second occupation rate threshold, and the duration threshold can be set according to experience, which is not limited herein.

[0120] If VNF resource adjustment of the virtual machine is needed, a first resource adjustment request is sent to the VNFM in step 102;

[0121] In an embodiment, before the first resource adjustment request is sent to the VNFM, the method further includes:

[0122] According to a Virtual Network Function Descriptor (VNFD) resource dependency parameter, a resource adjustment requirement request is generated;

[0123] sending the resource adjustment demand request to the UE;

[0124] sending a first resource adjustment request to the VNFM, comprising:

[0125] In the case that the UE sends an authorization response to the resource adjustment demand request, the NFVO sends a first resource adjustment request to the VNFM.

[0126] In the embodiment of the application, if the VNF resource needs to be adjusted, the NFVO generates a VNFD resource dependency parameter. The NFVO triggers a resource adjustment strategy, generates a resource adjustment demand request, and sends the resource adjustment demand request to the UE, wherein the resource adjustment demand request carries a VNF resource identifier.

[0127] Then, the UE performs resource authorization on the resource adjustment demand request, and if the authorization is passed, the UE sends an authorization response to the resource adjustment demand request to the NFVO, wherein the authorization response carries the VNF resource identifier.

[0128] The NFVO performs resource adjustment preparation work according to the resource adjustment demand, for example, resource isolation on the High Availability (HA) resource in the AZ that is irrelevant to the VNF resource adjustment.

[0129] The NFVO sends a first resource adjustment request to the VNFM to which the VNF belongs, and the first resource adjustment request can be represented as a Contraction VNF request. The HA resource in the AZ where the VNF is located is locked, and resource adjustment preparation work is performed, for example, backup of the VNF resource adjustment related image file.

[0130] In the VNF resource adjustment process, the VNF life cycle management component needs to be closed.

[0131] The VNFM sends a second resource adjustment request to the VIM to which the VNF belongs in the form of a message queue according to the resource allocation of the AZ where the VNF is located, and the VIM performs VNF resource adjustment on the created virtual machine according to the second resource adjustment request, for example, expands the VNF, allocates the resource corresponding to the first idle VM to the VNF, and obtains a resource adjustment result; or shrinks the VNF, releases the resource corresponding to the second idle VM, and obtains a resource adjustment result.

[0132] It should be noted that the VNF is scaled out, that is, the VNF resource corresponding to the VM is increased, at this time the first idle VM can be created in the VIM for the VNF to use; the VNF is scaled in, that is, the VNF resource corresponding to the VM is released, at this time the second idle VM can be resource recycled and fragmented in the VIM. Here, the VNFM scales in the VNF, after migrating the service running on the resource corresponding to the second idle VM, the related VNFC is terminated, when the VNFC is closed, that is, no longer processing the service flow, the VNFM calls the resource management interface to request the VIM to delete the second idle VM.

[0133] In an embodiment, optionally, according to the VNFD resource dependency parameter, a resource adjustment demand request is generated, including:

[0134] According to the VNFD resource dependency parameter and the idle resource data of the AZ, resource permission verification is performed;

[0135] If the resource permission verification is passed, according to the VNFD resource dependency parameter and the resource description file in the VNFD file, the resource adjustment quantity is obtained and a resource adjustment demand request is generated.

[0136] In the embodiment of the application, the NFVO performs resource permission verification according to the VNFD resource dependency parameter and the idle resource data of the AZ; if the resource permission verification is passed, the resource adjustment specification and the resource adjustment parameter are queried according to the VNFD resource dependency parameter; according to the resource adjustment specification, the resource adjustment parameter and the resource description file in the VNFD file, the resource adjustment quantity is obtained and a resource adjustment demand request is generated.

[0137] Step 103, obtaining the resource adjustment result sent by the VNFM;

[0138] In an embodiment, optionally, after obtaining the resource adjustment result sent by the VNFM, the method further includes:

[0139] Updating the mapping relationship between the virtual machine and the VNF resource, and sending the resource adjustment result to the UE.

[0140] In the embodiment of the application, after obtaining the resource adjustment result sent by the VNFM, the NFVO updates the mapping relationship between the virtual machine and the VNF resource; after updating the mapping relationship between the virtual machine and the VNF resource, the NFVO sends the resource adjustment result to the UE; the VIM management domain is updated, including adding the VNF as a manageable object, updating the VIM and resource view corresponding to the VNF; and the VNF life cycle management component is started, and the configuration of the network element application related parameters is synchronized.

[0141] Herein, the VNFM can send the resource adjustment result to the NFVO using a VNF lifecycle change interface.

[0142] At step 104, the VNF instantiation completion result is sent to the UE after the VNF instantiation completion result sent by the VNFM is acquired.

[0143] It should be noted that the VNF instantiation completion can be implied after the VNFM acquires the resource adjustment result. In addition to sending the resource adjustment result to the VNFO, the VNFM also needs to send the VNF instantiation completion result to the VNFO. The VNFO sends the VNF instantiation completion result to the UE after acquiring the VNF instantiation completion result sent by the VNFM, forming a VNF instantiation closed-loop process. The VNF instantiation completion result can at least carry a VNF instance identifier and virtualized resource data occupied by the VNF.

[0144] Specifically, after acquiring the resource adjustment result, the VNFM determines whether the VNF service state is available. If the VNF service state is available, the VNFM sends the VNF instantiation completion result to the NFVO. In addition, the VNFM can update the VNF management device.

[0145] Therefore, one of the implementation manners of the VNF instantiation method according to the embodiment of the application includes: a VM creation stage, a VNF resource adjustment stage, and a VNF instantiation completion stage. The execution order of the stages is as follows:

[0146] The first stage is the VM creation stage.

[0147] The second stage is the VNF resource adjustment stage.

[0148] The third stage is the VNF instantiation completion stage.

[0149] In one embodiment, the method further includes:

[0150] After acquiring the VNF upgrade request sent by the UE, the VNF upgrade request is sent to the VNF. The VNF sends the VNF upgrade request to the home VNFM. The VNFM sends a VNF image file update instruction to the VIM.

[0151] The VNF upgrade completion result sent by the VIM after updating the VNF image file according to the image file update instruction is received.

[0152] In the embodiment of the application, the VNF upgrade stage includes the following steps:

[0153] In the case that the VIM creates the VM, the VIM judges whether the version of the VNF is the current latest version and whether the VNF has a version vulnerability risk according to VNF version information; if the version of the VNF is the current latest version and the VNF has a version vulnerability risk, a VNF upgrade request is sent to the UE, the VNF upgrade request can be represented as an Update VNF request, the VNF upgrade request carries VNF version information, VNF resource allocation data and a VNFD file, the VNF resource allocation data can be referred to as a VNF Package, and at least includes specifications of virtual machines, URLs of virtual machine image files and affinity requirements;

[0154] The UE sends a VNF upgrade request to the NFVO;

[0155] The NFVO receives the VNF upgrade request sent by the UE and sends the VNF upgrade request to the VNF;

[0156] The VNF receives the VNF upgrade request sent by the NFVO and sends the VNF upgrade request to the home VNFM;

[0157] The VNFM receives the VNF upgrade request sent by the VNF and sends a VNF image file update instruction to the VIM to inform that all life cycle contents are managed uniformly by the MANO;

[0158] The VIM receives the VNF image file update instruction sent by the VNFM and updates the VNF image file;

[0159] The VIM sends a VNF upgrade completion result to the NFVO, here, the VIM can use a VNF Update Notification to send the VNF upgrade completion result to the NFVO; and the VIM can update virtualization resources occupied by the VNF and a VNF version identifier, at this time, the VNF version has been updated to a version that avoids version inconsistency.

[0160] It should be noted that the VNF upgrade request sent by the VIM to the UE carries VNF version information, and the VNF version information is generated by version checking and record generation on a VNFD file.

[0161] In one embodiment, optionally, in the case that a first VNF instantiation request sent by the UE is acquired and the VIM creates a virtual machine for the VNF of the network cloud, whether the virtual machine needs to be adjusted in VNF resources is judged according to resource fragmentation data of an AZ where the VNF is located and real-time resource occupation data of the VNF, including:

[0162] In a case that the first VNF instantiation request sent by the UE is acquired, the VIM creates a virtual machine for the VNF of the network cloud, and the VNF upgrade completion result sent by the VIM is acquired, whether the VNF resource adjustment is needed for the virtual machine is judged according to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF.

[0163] In the embodiment of the application, in a case that the VIM creates a virtual machine for the VNF of the network cloud, the VNF upgrade can be performed, so that in a case that the VNF upgrade is completed, the VNF resource adjustment can be performed.

[0164] Therefore, another implementation manner of the VNF instantiation method in the embodiment of the application comprises a VM creation stage, a VNF upgrade stage, a VNF resource adjustment stage and a VNF instantiation completion stage, and the execution order of the stages is as follows:

[0165] The first stage is the VM creation stage.

[0166] The second stage is the VNF upgrade stage.

[0167] The third stage is the VNF resource adjustment stage.

[0168] The fourth stage is the VNF instantiation completion stage.

[0169] In an implementation manner, the method further comprises:

[0170] The first VNF instantiation request is subjected to permission verification and parameter legality verification, if the permission verification and the parameter legality verification of the first VNF instantiation request are passed, a second VNF instantiation request is sent to the VNFM to which the VNF belongs, and the second VNF instantiation request is used to request instantiation of a VNF.

[0171] In a case that the VNF resource authorization request sent by the VNFM is acquired, available resource information and the VIM identifier are acquired according to global resource data and VNF required resource data in the VNF resource authorization request, and the available resource information and the VIM identifier are sent to the VNFM.

[0172] In the embodiment of the application, the VM creation stage comprises the following steps.

[0173] The NFVO receives the first VNF instantiation request sent by the UE.

[0174] The NFVO performs permission verification and parameter legality verification on the first VNF instantiation request, wherein the permission verification is used to verify whether the UE has the permission to initialize the VNF instance; the parameter legality verification is used to verify whether the request parameters carried in the VNF instantiation description in the first VNF instantiation request are legal, for example, whether the mandatory parameters are carried; if any of the permission verification and the parameter legality verification fails, the NFVO returns a failure result to the UE;

[0175] If the permission verification and the parameter legality verification are both passed, the NFVO sends a second VNF instantiation request to a VNFM to which the VNF belongs, and the second VNF instantiation request can be expressed in an Instantiate VNF request, and the second VNF instantiation request carries a VNF instance identifier, a VNF instantiation description and a VNFD file;

[0176] The VNFM receives the second VNF instantiation request sent by the NFVO, and parses the VNFD file in the second VNF instantiation request to obtain VNF required resource data, wherein the VNF required resource data at least includes virtual computing resource data, virtual storage resource data and virtual network resource data;

[0177] The VNFM sends a VNF resource authorization request to the NFVO, and the VNF resource authorization request includes the VNF required resource data; here, the VNFM can send the VNF resource authorization request to the NFVO by using a resource authorization interface Grant Lifecycle;

[0178] The NFVO receives the VNF resource authorization request sent by the VNFM, and according to the global resource data and the VNF required resource data in the VNF resource authorization request, obtains available resource information and a VIM identifier, and sends the available resource information and the VIM identifier to the VNFM; specifically, the NFVO performs compliance checking and sorting on the available resources according to the global resource data, and obtains the VIM identifier of the VIM that meets the VNF required resource data, wherein the VIM indicated by the VIM identifier is the VIM that meets the CPU, memory and HA label, and has the maximum CPU;

[0179] The VNFM determines the VNF resource allocation data of the VM according to the received available resource information, and sends the VNF resource allocation data of the VM to the VIM indicated by the VIM identifier; specifically, the VNFM can extract the VNF resource allocation data of the VM at the VIM ID according to the available resource information and the VIM identifier;

[0180] The VIM allocates resources for the virtual machine according to the initial configuration information and the VNF resource allocation data to obtain VNF resource information of the virtual machine; specifically, the VIM allocates network resources and storage resources for the virtual machine according to the initial configuration information and the VNF resource allocation data.

[0181] The VIM notifies a Virtual Machine Monitor (VMM, also known as Hypervisor) to create a VM according to the VNF resource information of the virtual machine, and adds the created VM to the created network.

[0182] It should be noted that the VNFM sends a VM creation request to the VIM, and the VM creation request carries the VNF resource allocation data of the VM. If the VNF needs to use external block storage resources, the VNFM needs to send a storage resource allocation request to the VIM before sending the VM creation request to the VIM, to instruct the VIM to complete the allocation of storage resources.

[0183] The VNF instantiation method of the network cloud provided in the embodiments of the application is essentially a VNF instantiation method of synchronously upgrading and adjusting VNF resources of the network cloud, realizes dynamic reconstruction of resources and self-adaptive adjustment of resource capacity of the network cloud, solves the problems of response lag and resource mismatch in the traditional manual intervention mode, and achieves version iteration and resource optimization with "zero awareness" on the premise of ensuring business continuity.

[0184] Referring to Figure 2 The second embodiment of the application provides a VNF instantiation method of a network cloud, applied to a VNFM, and the method comprises the following steps:

[0185] In step 201, a first resource adjustment request sent by an NFVO is acquired, and the first resource adjustment request is used to instruct VNF resource adjustment on a virtual machine created by a VIM;

[0186] In step 202, a second resource adjustment request is sent to the VIM;

[0187] In step 203, in a case where a resource adjustment result sent by the VIM is acquired, the resource adjustment result is sent to the NFVO;

[0188] In step 204, a VNF instantiation completion result is sent to the NFVO.

[0189] It should be noted that the VNF instantiation method of the network cloud applied to the VNFM in the second embodiment of the application can execute the steps performed by the VNFM in the first embodiment described above, and thus will not be described herein.

[0190] In one embodiment, optionally, the method further comprises:

[0191] determining whether the VNF is available;

[0192] sending a VNF instantiation completion result to the NFVO, the VNF instantiation completion result comprising:

[0193] in the case that the VNF is available, sending a VNF instantiation completion result to the NFVO.

[0194] In one embodiment, optionally, sending a second resource adjustment request to the VIM comprises:

[0195] sending a second resource adjustment request to the VIM according to resource allocation of the AZ where the VNF is located.

[0196] In one embodiment, optionally, the method further comprises:

[0197] in the case that the VNF upgrade request sent by the VNF is obtained, sending a VNF image file update instruction to the VIM.

[0198] In one embodiment, optionally, the method further comprises:

[0199] obtaining a second VNF instantiation request;

[0200] parsing a VNFD file in the second VNF instantiation request to obtain VNF required resource data;

[0201] sending a VNF resource authorization request to the NFVO, the VNF resource authorization request comprising the VNF required resource data;

[0202] in the case that the available resource information sent by the NFVO and the identifier of the VIM are obtained, determining resource allocation data of the virtual machine according to the available resource information;

[0203] sending the resource allocation data of the virtual machine to the VIM indicated by the identifier of the VIM.

[0204] Referring to Figure 3 , the third embodiment of the present application further provides a VNF instantiation method of a network cloud, applied to a VIM, the method comprising:

[0205] step 301, obtaining a second resource adjustment request sent by a VNFM, the second resource adjustment request being sent after the VNFM obtains a first resource adjustment request sent by an NFVO, the first resource adjustment request being used to indicate VNF resource adjustment on a virtual machine created by a VIM;

[0206] At step 302, the created virtual machine is adjusted in VNF resource according to the second resource adjustment request, and a resource adjustment result is obtained.

[0207] At step 303, the resource adjustment result is sent to the VNFM, and the resource adjustment result is used to trigger the VNFM to send a VNF instantiation completion result.

[0208] It should be noted that the third embodiment of the present application is applied to the VNF instantiation method of the network cloud of the VIM, and can perform the steps performed by the VIM in the first embodiment, which will not be described here.

[0209] In an embodiment, optionally, the created virtual machine is adjusted in VNF resource according to the second resource adjustment request, and a resource adjustment result is obtained, including:

[0210] If the second resource adjustment request is used to indicate that the VNF is expanded, the resource corresponding to the first idle virtual machine is allocated to the VNF, and a resource adjustment result is obtained.

[0211] If the second resource adjustment request is used to indicate that the VNF is shrunk, the resource corresponding to the second idle virtual machine is released, and a resource adjustment result is obtained.

[0212] In an embodiment, optionally, the method further includes:

[0213] In the case of creating the virtual machine, according to the VNF version information, it is judged whether the version of the VNF is the current latest version, and whether the VNF has a version vulnerability risk.

[0214] If the version of the VNF is the current latest version, and the VNF has a version vulnerability risk, a VNF upgrade request is sent to the UE.

[0215] In the case of obtaining the VNF image file update instruction sent by the VNFM, the VNF image file is updated.

[0216] A VNF upgrade completion result is sent to the NFVO.

[0217] In an embodiment, optionally, the method further includes:

[0218] In the case of obtaining the resource allocation data of the virtual machine sent by the VNFM, the virtual machine is allocated resources according to the initial configuration information and the resource allocation data, and the resource information of the virtual machine is obtained.

[0219] The virtual machine is created according to the resource information of the virtual machine.

[0220] Figure 4A flowchart of a first embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application is shown. Figure 5 A flowchart of a second embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application is shown. Figure 6 A flowchart of a third embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application is shown. Figure 7 A flowchart of a fourth embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application is shown. Next, the embodiments of the method for instantiating a VNF of a network cloud according to the embodiments of the present application are described in detail. Figures 4 to 7 A flowchart of a fourth embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application is shown. Next, the embodiments of the method for instantiating a VNF of a network cloud according to the embodiments of the present application are described in detail.

[0221] As shown in the first embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application, the method comprises the following steps. Figure 4 As shown in the first embodiment of the method for instantiating a VNF of a network cloud according to the embodiments of the present application, the method comprises the following steps.

[0222] In step 401, the UE sends a first VNF instantiation request to the NFVO, and the first VNF instantiation request carries a VNF instance identifier and a VNF instantiation description.

[0223] In step 402, the NFVO performs permission verification and parameter legality verification on the first VNF instantiation request.

[0224] If the verification in step 402 is passed, the method proceeds to step 403.

[0225] In step 403, the NFVO sends a second VNF instantiation request to the VNFM, and the second VNF instantiation request carries the VNF instance identifier, the VNF instantiation description, and a VNFD file.

[0226] In step 404, the VNFM parses the VNFD file to obtain VNF required resource data, including virtual computing resource data, virtual storage resource data, and virtual network resource data.

[0227] In step 405, the VNFM sends a VNF resource authorization request to the NFVO, and the VNF resource authorization request carries the VNF required resource data.

[0228] In step 406, the NFVO obtains available resource information and a VIM identifier according to global resource data and the VNF required resource data.

[0229] In step 407, the NFVO sends the available resource information and the VIM identifier to the VNFM.

[0230] In step 408, the VNFM determines VNF resource allocation data of a VM according to the available resource information.

[0231] Step 409, the VNFM sends the VNF resource allocation data of the VM to the indicated VIM to the VIM.

[0232] Step 410, the VIM allocates resources for the VM according to the initial configuration information and the VNF resource allocation data, obtains the VNF resource information of the VM, and creates the VM according to the VNF resource information of the VM.

[0233] As shown in the second embodiment of the network cloud VNF instantiation method described in the embodiment of the application, comprising: Figure 5

[0234] Step 501, the VIM determines whether the version of the VNF is the current latest version according to the VNF version information;

[0235] If it is determined in step 501 that the version of the VNF is not the current latest version, step 502 is entered;

[0236] Step 502, the VIM determines whether the VNF has a version vulnerability risk according to the VNF version information;

[0237] If it is determined in step 502 that the VNF has a version vulnerability risk, step 503 is entered;

[0238] Step 503, the VIM sends a VNF upgrade request to the UE, wherein the VNF upgrade request carries the VNF version information, the VNF resource allocation data and the VNFD file;

[0239] Step 504, the UE sends the VNF upgrade request to the NFVO;

[0240] Step 505, the NFVO sends the VNF upgrade request to the VNF;

[0241] Step 506, the VNF sends the VNF upgrade request to the home VNFM;

[0242] Step 507, the VNFM sends a VNF image file update instruction to the VIM;

[0243] Step 508, the VIM updates the VNF image file;

[0244] Step 509, the VIM sends a VNF upgrade completion result to the NFVO.

[0245] It should be noted that the execution time of step 501 is after step 410.

[0246] As shown in the third embodiment of the network cloud VNF instantiation method described in the embodiment of the application, comprising: Figure 6

[0247] ​​Step 601, the NFVO determines whether the resource fragmentation rate is greater than or equal to the fragmentation rate threshold according to the resource fragmentation rate in the resource fragmentation data of the AZ where the VNF is located;

[0248] If the resource fragmentation rate is greater than or equal to the fragmentation rate threshold in step 601, step 602 is entered;

[0249] Step 602, the NFVO obtains the average occupancy rate, the peak occupancy rate and the overload duration according to the real-time resource occupancy data of the VNF, and determines whether the VNF resource adjustment of the virtual machine is needed according to the average occupancy rate, the peak occupancy rate and the overload duration;

[0250] If the VNF resource adjustment of the virtual machine is needed in step 602, step 603 is entered;

[0251] Step 603, the NFVO generates the VNFD resource dependency parameter, and performs resource permission verification according to the VNFD resource dependency parameter and the idle resource data of the AZ. If the resource permission verification is passed, the resource adjustment quantity is obtained and the resource adjustment demand request is generated according to the VNFD resource dependency parameter and the resource description file in the VNFD file;

[0252] Step 604, the NFVO sends the resource adjustment demand request to the UE;

[0253] Step 605, the UE performs resource authorization verification on the resource adjustment demand request. If the resource authorization verification is passed, the UE sends an authorization response to the NFVO;

[0254] Step 606, the NFVO sends a first resource adjustment request to the VNFM;

[0255] The VNF component is closed;

[0256] Step 607, the VNFM sends a second resource adjustment request to the VIM according to the resource allocation of the AZ where the VNF is located;

[0257] Step 608, the VIM expands or shrinks the VNF to obtain a resource adjustment result;

[0258] Step 609, the VIM sends the resource adjustment result to the VNFM;

[0259] Step 610, the VNFM sends the resource adjustment result to the NFVO;

[0260] Step 611, the NFVO updates the mapping relationship between the virtual machine and the VNF resource;

[0261] Step 612, the NFVO sends the resource adjustment result to the UE;

[0262] Update the VIM management domain to start the VNF component.

[0263] It should be noted that the execution timing of step 601 includes one of the following:

[0264] After step 410 is executed;

[0265] After step 501 judges that the version of the VNF is the current latest version;

[0266] After step 502 judges that the VNF does not exist version vulnerability risk;

[0267] After step 509 is executed.

[0268] As Figure 7 shown, the fourth embodiment of the network cloud VNF instantiation method according to the embodiment of the application comprises:

[0269] Step 701, the VNFM judges whether the service state of the VNF is available;

[0270] If the service state of the VNF is available in step 701, go to step 702;

[0271] Step 702, the VNFM sends the VNF instantiation completion result to the NFVO;

[0272] Step 703, the NFVO sends the VNF instantiation completion result to the UE.

[0273] It should be noted that the execution timing of step 701 includes one of the following:

[0274] After step 410 is executed;

[0275] After step 501 judges that the version of the VNF is the current latest version;

[0276] After step 502 judges that the VNF does not exist version vulnerability risk;

[0277] After step 509 is executed.

[0278] After step 601 judges that the resource fragmentation rate is less than the fragmentation rate threshold;

[0279] After step 612 is executed.

[0280] In summary, the network cloud VNF instantiation method described in the embodiment of the application constructs an intelligent cloud network resource scheduling scheme for a cloud native environment, realizes intelligent management and control of the whole life cycle of network cloud resources through a VNF upgrade mechanism and a VNF resource adjustment algorithm, and allocates NFVO, VNFM, VIM, VNF and VM network element nodes to realize VNF expansion and contraction of the network cloud, and proposes four stages in the process of virtualization instantiation, including VM creation, VNF upgrade, VNF resource adjustment and VNF instantiation completion.

[0281] Compared with the prior art, the network cloud VNF instantiation method described in the embodiment of the application considers the version security risks and resource utilization efficiency of VNF in the process of VNF instantiation, realizes intelligent management and control of the whole life cycle of network cloud resources through a VNF upgrade mechanism and a VNF resource adjustment algorithm. Experiments show that the resource utilization rate can be improved by 20%, the operation and maintenance cost is reduced by 35%, 27% of idle resources are reduced, the second-level topology reconstruction of the million-level instance scale is supported, which marks an important breakthrough from "passive response" to "prediction autonomy" in cloud computing resource scheduling.

[0282] Referring to Figure 8 The embodiment of the application further provides a network cloud VNF instantiation device applied to NFVO, the device comprising:

[0283] A first judgment module 801 is configured to, when a first VNF instantiation request sent by a UE is acquired and a VIM creates a virtual machine for a network cloud, judge whether VNF resource adjustment needs to be performed on the virtual machine according to resource fragmentation data of an AZ where the VNF is located and real-time resource occupation data of the VNF.

[0284] A first sending module 802 is configured to, if VNF resource adjustment needs to be performed on the virtual machine, send a first resource adjustment request to a virtual network function manager VNFM.

[0285] A first acquisition module 803 is configured to acquire a resource adjustment result sent by the VNFM.

[0286] A second sending module 804 is configured to, when a VNF instantiation completion result sent by the VNFM is acquired, send the VNF instantiation completion result to the UE.

[0287] Optionally, the network cloud VNF instantiation device, wherein the device further comprises:

[0288] A first generation module is configured to generate a resource adjustment demand request according to a virtual network function descriptor VNFD resource dependency parameter.

[0289] A seventh sending module is configured to send the resource adjustment demand request to the UE.

[0290] The first sending module 802 is specifically configured to:

[0291] In a case where the UE sends an authorization response to the resource adjustment demand request, the first resource adjustment request is sent to the VNFM.

[0292] Optionally, the VNF instantiation apparatus of the network cloud further comprises:

[0293] The first updating module is configured to update the mapping relationship between the virtual machine and the VNF resource, and send the resource adjustment result to the UE.

[0294] Optionally, the VNF instantiation apparatus of the network cloud further comprises:

[0295] The first obtaining module is configured to obtain the resource fragmentation data according to real-time resource utilization of the AZ where the VNF is located and AZ quota data.

[0296] Optionally, the VNF instantiation apparatus of the network cloud further comprises:

[0297] The resource permission is verified according to the VNFD resource dependency parameter and the idle resource data of the AZ.

[0298] If the resource permission verification is passed, the resource adjustment quantity is obtained and the resource adjustment demand request is generated according to the VNFD resource dependency parameter and the resource description file in the VNFD file.

[0299] Optionally, the VNF instantiation apparatus of the network cloud further comprises:

[0300] In a case where the UE sends the first VNF instantiation request, the VIM creates a virtual machine for the VNF of the network cloud, and the VIM sends a VNF upgrade completion result, whether the virtual machine needs to be adjusted in the VNF resource is judged according to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF.

[0301] Optionally, the VNF instantiation apparatus of the network cloud further comprises:

[0302] The eighth sending module is configured to, in the case that the VNF upgrade request sent by the UE is acquired, send the VNF upgrade request to the VNF, and the VNF sends the VNF upgrade request to a home VNFM, and the VNFM sends a VNF image file update instruction to the VIM;

[0303] The first receiving module is configured to receive a VNF upgrade completion result sent by the VIM after the VNF image file is updated according to the image file update instruction.

[0304] Optionally, the VNF instantiation apparatus of the network cloud, wherein the first judging module 801 is specifically configured to:

[0305] If the resource fragmentation rate in the resource fragmentation data of the AZ where the VNF is located is greater than or equal to the fragmentation rate threshold, then according to the real-time resource occupation data of the VNF, the average occupation rate, the peak occupation rate and the overload duration are obtained.

[0306] If the average occupation rate is greater than or equal to the first occupation rate threshold, the peak occupation rate is greater than or equal to the second occupation rate threshold, and the overload duration is greater than or equal to the duration threshold, then it is determined that the VNF resource adjustment needs to be performed on the virtual machine.

[0307] Optionally, the VNF instantiation apparatus of the network cloud, wherein the apparatus further comprises:

[0308] The first verifying module is configured to perform permission verification and parameter legality verification on the first VNF instantiation request, and if the permission verification and the parameter legality verification of the first VNF instantiation request pass, then a second VNF instantiation request is sent to the VNFM to which the VNF belongs, and the second VNF instantiation request is used to request instantiation of a VNF.

[0309] The fourth obtaining module is configured to, in the case that the VNF resource authorization request sent by the VNFM is acquired, according to the global resource data and the VNF required resource data in the VNF resource authorization request, obtain available resource information and a VIM identifier, and send the available resource information and the VIM identifier to the VNFM.

[0310] It should be noted that the above apparatus provided by the embodiments of the present application can realize all the method steps realized by the above-mentioned network cloud VNF instantiation method applied to the NFVO, and can achieve the same technical effects, and therefore the same parts and beneficial effects of the method embodiments in the embodiments will not be described in detail.

[0311] Referring to Figure 9 The embodiments of the present application further provide a network cloud VNF instantiation apparatus applied to a VNFM, and the apparatus comprises:

[0312] The second obtaining module 901 is configured to obtain a first resource adjustment request sent by the NFVO, where the first resource adjustment request is used to indicate VNF resource adjustment on a virtual machine created by the VIM.

[0313] The third sending module 902 is configured to send a second resource adjustment request to the VIM.

[0314] The fourth sending module 903 is configured to send a resource adjustment result to the NFVO if the resource adjustment result sent by the VIM is obtained.

[0315] The fifth sending module 904 is configured to send a VNF instantiation completion result to the NFVO.

[0316] Optionally, the VNF instantiation apparatus of the network cloud further includes:

[0317] The second judging module is configured to judge whether a service state of the VNF is available.

[0318] The fifth sending module 904 is specifically configured to:

[0319] If the service state of the VNF is available, the fifth sending module 904 sends a VNF instantiation completion result to the NFVO.

[0320] Optionally, the VNF instantiation apparatus of the network cloud, where the third sending module 902 is specifically configured to:

[0321] According to resource allocation of an AZ where the VNF is located, the third sending module 902 sends a second resource adjustment request to the VIM.

[0322] Optionally, the VNF instantiation apparatus of the network cloud further includes:

[0323] The ninth sending module is configured to send a VNF image file update instruction to the VIM if a VNF upgrade request sent by the VNF is obtained.

[0324] Optionally, the VNF instantiation apparatus of the network cloud further includes:

[0325] The fifth obtaining module is configured to obtain a second VNF instantiation request.

[0326] The first analyzing module is configured to analyze a VNFD file in the second VNF instantiation request to obtain VNF required resource data.

[0327] The tenth sending module is configured to send a VNF resource authorization request to the NFVO, wherein the VNF resource authorization request comprises VNF required resource data;

[0328] The first determining module is configured to, in a case where the available resource information and the VIM identifier are acquired from the NFVO, determine VNF resource allocation data of the virtual machine according to the available resource information.

[0329] The eleventh sending module is configured to send the VNF resource allocation data of the virtual machine to the VIM indicated by the VIM identifier.

[0330] It should be noted that the above-mentioned device provided by the embodiment of the present application can realize all the method steps realized by the above-mentioned VNF instantiation method applied to the network cloud of the VNFM, and can achieve the same technical effects. Therefore, the same parts and beneficial effects of the method embodiment in the embodiment will not be described in detail.

[0331] Referring to Figure 10 The embodiment of the present application further provides a VNF instantiation device of a network cloud, which is applied to a VIM, and the device comprises:

[0332] The third obtaining module 1001 is configured to obtain a second resource adjustment request sent by a VNFM, wherein the second resource adjustment request is sent after the VNFM obtains a first resource adjustment request sent by an NFVO, and the first resource adjustment request is used to indicate that VNF resource adjustment is performed on a virtual machine created by the VIM.

[0333] The first adjustment module 1002 is configured to perform VNF resource adjustment on the created virtual machine according to the second resource adjustment request, and obtain a resource adjustment result.

[0334] The sixth sending module 1003 is configured to send the resource adjustment result to the VNFM, wherein the resource adjustment result is used to trigger the VNFM to send a VNF instantiation completion result.

[0335] Optionally, the VNF instantiation device of the network cloud, wherein the first adjustment module 1002 is specifically configured to:

[0336] If the second resource adjustment request is used to indicate that the VNF is expanded, the resource corresponding to the first idle virtual machine is allocated to the VNF, and the resource adjustment result is obtained.

[0337] If the second resource adjustment request is used to indicate that the VNF is shrunk, the resource corresponding to the second idle virtual machine is released, and the resource adjustment result is obtained.

[0338] Optionally, the network cloud VNF instantiation device, wherein the device further comprises:

[0339] The third judging module is configured to, in the case of creating the virtual machine, judge whether the version of the VNF is the current latest version and whether the VNF has a version vulnerability risk according to the VNF version information.

[0340] The twelfth sending module is configured to, if the version of the VNF is the current latest version and the VNF has a version vulnerability risk, send a VNF upgrade request to the UE.

[0341] The second updating module is configured to, in the case of obtaining the VNF image file updating instruction sent by the VNFM, update the VNF image file.

[0342] The thirteenth sending module is configured to send a VNF upgrade completion result to the NFVO.

[0343] Optionally, the network cloud VNF instantiation device, wherein the device further comprises:

[0344] The first allocating module is configured to, in the case of obtaining the VNF resource allocation data of the virtual machine sent by the VNFM, allocate resources for the virtual machine according to the initial configuration information and the VNF resource allocation data to obtain the VNF resource information of the virtual machine.

[0345] The first creating module is configured to create the virtual machine according to the VNF resource information of the virtual machine.

[0346] It should be noted that the above-mentioned device provided by the embodiment of the application can realize all the method steps realized by the network cloud VNF instantiation method applied to the VIM, and can achieve the same technical effects, and thus the same parts and beneficial effects in the embodiment and the method embodiment will not be described in detail.

[0347] The embodiment of the application further provides a network cloud VNF instantiation device, as shown in the accompanying drawings, comprising: Figure 11

[0348] The processor 1101, the memory 1102, the transceiver 1103, and the program or instructions stored in the memory 1102 and executable on the processor 1101; the processor 1101 executes the program or instructions to realize each process of the network cloud VNF instantiation method embodiment, and can achieve the same technical effects, and thus the same parts and beneficial effects will not be described in detail.

[0349] The transceiver 1103 is configured to receive and send data under the control of the processor 1101. ​

[0350] wherein, in Figure 11 The bus architecture can include any number of interconnected buses and bridges, specifically, various circuits connecting the one or more processors represented by the processor 1101 and the memory represented by the memory 1102. The bus architecture can also connect various other circuits such as peripheral devices, voltage stabilizers, and power management circuits, which are well known in the art, and thus, are not further described herein. The bus interface provides an interface. The transceiver 1103 can be a plurality of elements, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The user interface 1104 can also be an interface capable of connecting the required devices externally and internally, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, etc., for different user devices.

[0351] The processor 1101 is responsible for managing the bus architecture and general processing, and the memory 1102 can store data used by the processor 1101 when performing operations.

[0352] The embodiment of the present application also provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is executed by a processor to realize each process of the network cloud VNF instantiation method embodiment, and the same technical effects can be achieved, to avoid repetition, which will not be described here. The computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

[0353] The embodiment of the present application also provides a computer program product, including computer instructions, the computer instructions are executed by a processor to realize each process of the network cloud VNF instantiation method embodiment, and the same technical effects can be achieved, to avoid repetition, which will not be described here.

[0354] It should be noted that in this paper, the term "comprising", "containing" or any other variant thereof is intended to cover the non-exclusive containing, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.

[0355] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, also can be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part which contributes to the prior art can be embodied in the form of software product, the computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk), including a plurality of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) executes the method described in various embodiments of the present application.

[0356] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, the above-mentioned specific embodiments are only illustrative, but not limited, those skilled in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, which all belong to the protection of the present application.

Claims

1. A method for VNF instantiation of a network cloud, characterized in that, The method is applied to a network function virtualization orchestrator (NFVO), and the method comprises the following steps: In a case where a first virtual network function (VNF) instantiation request sent by a user equipment (UE) is acquired, and a virtual machine is created for a VNF of a network cloud by a virtualization resource manager (VIM), whether VNF resource adjustment needs to be performed on the virtual machine is determined according to resource fragmentation data of an availability zone (AZ) where the VNF is located and real-time resource occupation data of the VNF; If the VNF resource adjustment needs to be performed on the virtual machine, a first resource adjustment request is sent to a virtual network function manager (VNFM); A resource adjustment result sent by the VNFM is acquired; In a case where the VNF instantiation completion result sent by the VNFM is acquired, a VNF instantiation completion result is sent to the UE.

2. The method of claim 1, wherein, Before the first resource adjustment request is sent to the VNFM, the method further comprises the following steps: A resource adjustment demand request is generated according to a virtual network function descriptor (VNFD) resource dependency parameter; The resource adjustment demand request is sent to the UE; The first resource adjustment request is sent to the VNFM, which comprises the following steps: In a case where an authorization response to the resource adjustment demand request sent by the UE is acquired, the first resource adjustment request is sent to the VNFM.

3. The method of claim 1, wherein, After the resource adjustment result sent by the VNFM is acquired, the method further comprises the following steps: A mapping relationship between the virtual machine and the VNF resource is updated, and the resource adjustment result is sent to the UE.

4. The method of claim 1, wherein, The method further comprises the following steps: The resource fragmentation data is obtained according to real-time resource utilization of the AZ where the VNF is located and AZ quota data.

5. The method of claim 2, wherein, The resource adjustment demand request is generated according to the VNFD resource dependency parameter, which comprises the following steps: Resource permission verification is performed according to the VNFD resource dependency parameter and idle resource data of the AZ; If the resource permission verification is passed, resource adjustment quantity is obtained and the resource adjustment demand request is generated according to the VNFD resource dependency parameter and a resource description file in a VNFD file.

6. The method of claim 1, wherein, In a case where the first VNF instantiation request sent by the UE is acquired, and the virtual machine is created for the VNF of the network cloud by the VIM, whether VNF resource adjustment needs to be performed on the virtual machine is determined according to resource fragmentation data of an availability zone (AZ) where the VNF is located and real-time resource occupation data of the VNF, which comprises the following steps: In a case where the first VNF instantiation request sent by the UE, the virtual machine is created for the VNF of the network cloud by the VIM, and a VNF upgrade completion result sent by the VIM is acquired, whether VNF resource adjustment needs to be performed on the virtual machine is determined according to resource fragmentation data of an availability zone (AZ) where the VNF is located and real-time resource occupation data of the VNF.

7. The method of claim 1, wherein, The method further comprises the following steps: In a case where a VNF upgrade request sent by the UE is acquired, the VNF upgrade request is sent to a VNF, the VNF sends the VNF upgrade request to a home VNFM, and the VNFM sends a VNF image file update instruction to the VIM; A VNF upgrade completion result sent by the VIM after the VNF image file is updated according to the image file update instruction is received.

8. The method of claim 1, wherein, According to the resource fragmentation data of the AZ where the VNF is located and the real-time resource occupation data of the VNF, it is judged whether the VNF resource adjustment of the virtual machine is needed, comprising: If the resource fragmentation rate in the resource fragmentation data of the AZ where the VNF is located is greater than or equal to the fragmentation rate threshold, the average occupation rate, the peak occupation rate and the overload duration are obtained according to the real-time resource occupation data of the VNF; If the average occupation rate is greater than or equal to the first occupation rate threshold, the peak occupation rate is greater than or equal to the second occupation rate threshold, and the overload duration is greater than or equal to the duration threshold, it is determined that the VNF resource adjustment of the virtual machine is needed.

9. The method of claim 1, wherein, The method further comprises: The first VNF instantiation request is verified for permission and parameter legality, and if the first VNF instantiation request is verified for permission and verified for parameter legality, a second VNF instantiation request is sent to the VNFM to which the VNF belongs, the second VNF instantiation request is used to request instantiation of a VNF; In the case that the VNF resource authorization request sent by the VNFM is obtained, the available resource information and the VIM identifier are obtained according to the global resource data and the VNF required resource data in the VNF resource authorization request, and the available resource information and the VIM identifier are sent to the VNFM. 10.A method for VNF instantiation of a network cloud, characterized in that, Applied to VNFM, the method comprises: The first resource adjustment request sent by the NFVO is obtained, the first resource adjustment request is used to indicate the VNF resource adjustment of the virtual machine created by the VIM; The second resource adjustment request is sent to the VIM; In the case that the resource adjustment result sent by the VIM is obtained, the resource adjustment result is sent to the NFVO; The VNF instantiation completion result is sent to the NFVO.

11. The method of claim 10, wherein, The method further comprises: It is judged whether the service state of the VNF is available; The VNF instantiation completion result is sent to the NFVO, comprising: In the case that the service state of the VNF is available, the VNF instantiation completion result is sent to the NFVO.

12. The method of claim 10, wherein, The second resource adjustment request is sent to the VIM, comprising: According to the resource allocation of the AZ where the VNF is located, the second resource adjustment request is sent to the VIM.

13. The method of claim 10, wherein, The method further comprises: In the case that the VNF upgrade request sent by the VNF is obtained, the VNF image file update instruction is sent to the VIM.

14. The method of claim 10, wherein, The method further comprises: The second VNF instantiation request is obtained; The VNFD file in the second VNF instantiation request is parsed to obtain the VNF required resource data; The VNF resource authorization request is sent to the NFVO, the VNF resource authorization request comprises the VNF required resource data; In the case that the available resource information and the VIM identifier sent by the NFVO are obtained, the VNF resource allocation data of the virtual machine is determined according to the available resource information; The VNF resource allocation data of the virtual machine is sent to the VIM indicated by the VIM identifier.

15. A VNF instantiation method of a network cloud, characterized by, Applied to VIM, the method comprises: obtaining a second resource adjustment request sent by the VNFM, the second resource adjustment request being sent after the VNFM obtains a first resource adjustment request sent by the NFVO, the first resource adjustment request being used to indicate VNF resource adjustment on a virtual machine created by the VIM; performing VNF resource adjustment on the created virtual machine according to the second resource adjustment request, and obtaining a resource adjustment result; sending the resource adjustment result to the VNFM, the resource adjustment result being used to trigger the VNFM to send a VNF instantiation completion result.

16. The method of claim 15, wherein, The method further comprises: if the second resource adjustment request is used to indicate capacity expansion on the VNF, allocating resources corresponding to a first idle virtual machine to the VNF, and obtaining a resource adjustment result; if the second resource adjustment request is used to indicate capacity reduction on the VNF, releasing resources corresponding to a second idle virtual machine, and obtaining a resource adjustment result.

17. The method of claim 15, wherein, The method further comprises: in a case where the virtual machine is created, determining whether a version of the VNF is a current latest version and whether the VNF has a version vulnerability risk according to VNF version information; if the version of the VNF is the current latest version and the VNF has the version vulnerability risk, sending a VNF upgrade request to the UE; in a case where a VNF image file update instruction sent by the VNFM is obtained, updating a VNF image file; sending a VNF upgrade completion result to the NFVO.

18. The method of claim 15, wherein, The method further comprises: in a case where VNF resource allocation data of the virtual machine sent by the VNFM is obtained, allocating resources to the virtual machine according to initial configuration information and the VNF resource allocation data to obtain VNF resource information of the virtual machine; creating the virtual machine according to the VNF resource information of the virtual machine. 19.A VNF instantiation apparatus of a network cloud, characterized in that, The method applied to the NFVO comprises: a first determination module, configured to, in a case where a first VNF instantiation request sent by the UE is obtained and a virtual machine of a VNF of a network cloud is created by the VIM, determine whether VNF resource adjustment needs to be performed on the virtual machine according to resource fragmentation data of an AZ where the VNF is located and real-time resource occupation data of the VNF; a first sending module, configured to, if the VNF resource adjustment needs to be performed on the virtual machine, send a first resource adjustment request to a virtual network function manager (VNFM); a first obtaining module, configured to obtain a resource adjustment result sent by the VNFM; a second sending module, configured to, in a case where a VNF instantiation completion result sent by the VNFM is obtained, send the VNF instantiation completion result to the UE.

20. A VNF instantiation apparatus of a network cloud, characterized by, The method applied to the VNFM comprises: a second obtaining module, configured to obtain a first resource adjustment request sent by the NFVO, the first resource adjustment request being used to indicate VNF resource adjustment on a virtual machine created by the VIM; a third sending module, configured to send a second resource adjustment request to the VIM; The fourth sending module is configured to send the resource adjustment result to the NFVO if the resource adjustment result sent by the VIM is acquired. The fifth sending module is configured to send a VNF instantiation completion result to the NFVO.

21. A VNF instantiation apparatus of a network cloud, characterized by, The method is applied to a VIM, and the method comprises: The third obtaining module is configured to obtain a second resource adjustment request sent by a VNFM, the second resource adjustment request being sent after the VNFM acquires a first resource adjustment request sent by an NFVO, and the first resource adjustment request being used to indicate VNF resource adjustment on a virtual machine created by the VIM. The first adjusting module is configured to perform VNF resource adjustment on the created virtual machine according to the second resource adjustment request, and obtain a resource adjustment result. The sixth sending module is configured to send the resource adjustment result to the VNFM, and the resource adjustment result is used to trigger the VNFM to send a VNF instantiation completion result. 22.A VNF instantiation device of a network cloud, characterized in that, The processor, the memory, and a program or instructions stored on the memory and executable on the processor, wherein the processor executes the program or the instructions to implement the VNF instantiation method of the network cloud according to any one of claims 1 to 9, or to implement the VNF instantiation method of the network cloud according to any one of claims 10 to 14, or to implement the VNF instantiation method of the network cloud according to any one of claims 15 to 18. The computer program is stored on the computer readable storage medium, and the computer program is executed by the processor to implement the VNF instantiation method of the network cloud according to any one of claims 1 to 9, or to implement the VNF instantiation method of the network cloud according to any one of claims 10 to 14, or to implement the VNF instantiation method of the network cloud according to any one of claims 15 to 18.

23. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium, and the computer program is executed by the processor to implement the VNF instantiation method of the network cloud according to any one of claims 1 to 9, or to implement the VNF instantiation method of the network cloud according to any one of claims 10 to 14, or to implement the VNF instantiation method of the network cloud according to any one of claims 15 to 18.

24. A computer program product, characterised in that, ​