WO2018153354A1 - Resource application and vnf instance creation method and apparatus - Google Patents

Resource application and vnf instance creation method and apparatus Download PDF

Info

Publication number
WO2018153354A1
WO2018153354A1 PCT/CN2018/077067 CN2018077067W WO2018153354A1 WO 2018153354 A1 WO2018153354 A1 WO 2018153354A1 CN 2018077067 W CN2018077067 W CN 2018077067W WO 2018153354 A1 WO2018153354 A1 WO 2018153354A1
Authority
WO
WIPO (PCT)
Prior art keywords
vnf
resource
vnfm
grayscale
resources
Prior art date
Application number
PCT/CN2018/077067
Other languages
French (fr)
Chinese (zh)
Inventor
周敬华
孙艳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018153354A1 publication Critical patent/WO2018153354A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a resource application, a VNF instance creation method and apparatus.
  • the traditional telecommunication system is composed of various dedicated hardware devices, and different applications use different hardware devices.
  • the system becomes more and more complex, which brings many challenges, including the development of new services, the operation and maintenance of the system, and resource utilization.
  • the world's 13 major telecom operators jointly released network function virtualization.
  • Network Functions Virtualization (NFV) white paper, and announced the establishment of NFV ISG at ETSI to develop NFV requirements and technical framework.
  • the NFV ISG defines the Network Functions Virtualization (NFV) framework: NFV Management and Orchestration (NFV MANO), NFV Infrastructure (NFV), and multiple virtual networks.
  • the NFV management and orchestration system includes NFV Orchestrator (NFVO), one or more VNF Manager (VNFM) and Virtualized Infrastructure Manager (VIM).
  • the embodiments of the present invention provide a resource application, a VNF instance creation method, and a device, which are used to solve the technical problem that the resource application cannot meet the dynamically changing resource requirement according to the prepared VNFD file in the prior art.
  • An embodiment of the present invention provides a resource application method, including:
  • the virtual network function VNF determines the number of resources to be applied
  • the VNF sends a resource request message to the VNF manager VNFM, where the resource request message is used by the VNFM to perform resource application according to the quantity of the to-be-applied resource;
  • the VNF receives an application response message returned by the VNFM, where the application response message is a resource application success response or a resource application failure response.
  • the interaction between the VNF and the VNFM is introduced in the resource application process.
  • the VNF can flexibly determine the number of resources to be applied according to the resource requirements, so that the resources applied by the VNFM can flexibly meet the dynamics of the resource requirements.
  • the change; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
  • the VNF determines the quantity of resources to be applied, including:
  • the VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
  • the VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  • the VNF determines the number of resources to be applied according to the grayscale upgrade message, thereby realizing that during the grayscale upgrade process, the VNF flexibly determines the number of resources to be applied according to the constant change of resource requirements. .
  • the method before the VNF sends the resource request message to the VNFM, the method further includes:
  • the VNF sends a resource confirmation message to the VNFM, where the resource confirmation message includes the quantity of the to-be-applied resource;
  • the VNF receives an acknowledgment response message returned by the VNFM
  • the VNF determines, according to the confirmation response message, that the current resource does not meet the requirement of the quantity of the to-be-applied resource, reducing the quantity of the to-be-applied resource.
  • the VNF can reduce the number of resources to be applied, thereby adjusting the amount of resources to be applied according to the current resource, thereby effectively preventing the resource application from failing due to insufficient current resources.
  • An embodiment of the present invention provides a method for creating a VNF instance, where the method includes:
  • the VNF determines the number of resources to be applied, and generates a VNFD file according to the quantity of the to-be-applied resources;
  • the VNF sends an instance creation message to the VNFM, where the instance creation message is used by the VNFM to create a VNF instance according to the VNFD file;
  • the VNF receives a create response message returned by the VNFM, and the create response message is a VNF instance creation success response or a VNF instance creation failure response.
  • the interaction between the VNF and the VNFM is introduced in the resource application process.
  • the VNF can flexibly determine the number of resources to be applied according to the resource requirements, and generate a VNFD file, thereby making the VNFM application resource flexible. It satisfies the dynamic changes of resource requirements; and, since the VNFD file is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
  • the VNF determines the quantity of resources to be applied, including:
  • the VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
  • the VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  • the VNF determines the number of resources to be applied according to the grayscale upgrade message, thereby realizing that during the grayscale upgrade process, the VNF flexibly determines the number of resources to be applied according to the constant change of resource requirements. .
  • the VNF after receiving the creation response message returned by the VNFM, the VNF further includes:
  • the number of resources to be applied is decreased.
  • the number of resources to be applied may be reduced, so that the VNF instance can be successfully created according to the reduced number of resources to be applied.
  • An embodiment of the present invention provides a server, where the server includes a VNF and a VNFM;
  • the VNF is configured to determine a quantity of the to-be-applied resource, and send a resource application message to the VNFM, where the resource application message includes the quantity of the to-be-applied resource;
  • the VNFM is configured to receive the resource application message sent by the VNF, and perform a resource application according to the quantity of the to-be-applied resource, and send an application response message to the VNF, where the application response message is that the resource application is successful. Response or resource request failure response.
  • the VNF is further configured to receive an application response message returned by the VNFM.
  • the VNF is specifically used to:
  • the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase
  • the VNF before the VNF sends the resource request message to the VNFM, the VNF is further configured to:
  • the quantity of the to-be-applied resource is decreased.
  • An embodiment of the present invention provides another server, where the server includes a VNF and a VNFM;
  • the VNF is configured to determine a quantity of the to-be-applied resource, and generate a VNFD file according to the quantity of the to-be-applied resource; and send an instance creation message to the VNFM, where the VNFD file is included in the instance creation message;
  • the VNFM is configured to receive an instance creation message sent by the VNF, create a VNF instance according to the VNFD file, and send a create response message to the VNF, where the create response message is a VNF instance creation success response or a VNF instance creation failure response. ;
  • the VNF receives a create response message returned by the VNFM.
  • the VNF is specifically used to:
  • the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase
  • the VNF is further configured to:
  • the number of the to-be-requested resources is decreased according to the creating a response message.
  • the VNF after determining the quantity of the resource to be applied, the VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to apply for the resource according to the quantity of the resource to be applied; and the VNF receives the resource application result returned by the VNFM. Therefore, in the resource application process, the embodiment of the present invention introduces the interaction between the VNF and the VNFM.
  • the VNF can flexibly determine the number of resources to be applied according to the resource requirements, so that the resources requested by the VNFM can flexibly satisfy the resources. Dynamic changes in demand; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
  • Figure 1 is a system architecture diagram of NFV
  • FIG. 2 is a flow chart of instantiation of a VNF deployment initiated by NFVO;
  • FIG. 3 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a server according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a server according to Embodiment 4 of the present invention.
  • the foundation of NFV technology includes cloud computing technology and virtualization technology.
  • Hardware devices such as general-purpose COTS computing/storage/network can be decomposed into multiple virtual resources through virtualization technology for use by various applications in the upper layers.
  • virtualization technology Through the virtualization technology, the decoupling between the application and the hardware is realized, so that the virtual resource supply speed is greatly increased.
  • the cloud computing technology the elastic scalability of the application can be realized, and the virtual resource is matched with the service load, which not only improves the virtual resource. Utilize efficiency and improve system response rate.
  • FIG. 1 is a system architecture diagram of an NFV system that can be used in various networks, for example, in a data center network, a carrier network, or a local area network.
  • the NFV system 100 includes an NFV MANO 101, NFVI 130, a plurality of VNFs 108 (VNF1, VNF2, and VNF3), a plurality of EMs 122 (EM1, EM2, and EM3), network services, VNFs, and foundations. Facility description 126, as well as OSS/BSS 124.
  • NFV MANO 101 includes NFVO 102, one or more VNFMs 104 and VIMs 106.
  • the NFVI 130 includes computing hardware 112, storage hardware 114, network hardware 116, virtualization layer, virtual computing 110, virtual storage 118, and virtual network 120.
  • Network services, VNF and infrastructure descriptions 126 and OSS/BSS 124 are discussed further in the ETSI GS NFV 002 V1.1.1 standard.
  • the NFV MANO 101 is used to perform monitoring and management of the VNF 108 and NFVI 130.
  • the NFVO 102 may implement network services (e.g., L2 and L3VPN services) on the NFVI 130, may also perform resource related requests from one or more VNFMs 104, send configuration information to the VNFM 104, and collect status information for the VNF 108.
  • NFVO 102 can communicate with VIM 106 to enable resource allocation and/or reservation and to exchange configuration and status information for virtualized hardware resources.
  • the VNFM 104 can manage one or more VNFs 108.
  • the VNFM 104 can perform various management functions such as instantiating, updating, querying, scaling, and/or terminating the VNF 108 and the like.
  • the VIM 106 can perform resource management functions such as managing the allocation of infrastructure resources (such as adding resources to virtual containers) and operational functions (such as collecting NFVI failure information).
  • the VNFM 104 and VIM 106 can communicate with one another for resource allocation and exchange of configuration and status information for virtualized hardware resources.
  • the NFVI 130 includes hardware resources, software resources, or a combination of both to complete the deployment of the virtualized environment.
  • the hardware resources and virtualization layers are used to provide virtualized resources, such as virtual machines and other forms of virtual containers, for VNF 108.
  • Hardware resources include computing hardware 112, storage hardware 114, and network hardware 116.
  • Computing hardware 112 may be off-the-shelf hardware and/or user-customized hardware used to provide processing and computing resources.
  • Storage hardware 114 may be storage capacity provided within the network or storage capacity resident in storage hardware 114 itself (local storage located within the server). In one possible implementation, the resources of computing hardware 112 and storage hardware 114 can be grouped together.
  • Network hardware 116 can be a switch, a router, and/or any other network device configured to have switching functionality.
  • Network hardware 116 can span multiple domains and can include multiple networks interconnected by one or more transport networks.
  • the virtualization layer within NFVI 130 can abstract hardware resources from the physical layer and decouple VNF 108 to provide virtualized resources to VNF 108.
  • the virtual resource layer includes virtual computing 110, virtual storage 118, and virtual network 120.
  • Virtual computing 110 and virtual storage 118 may be provided to VNF 108 in the form of virtual machines, and/or other virtual containers.
  • one or more VNFs 108 can be deployed on a virtual machine.
  • the virtualization layer abstracts network hardware 116 to form a virtual network 120, which may include a virtual switch that is used to provide connectivity between virtual machines and other virtual machines.
  • the transport network in network hardware 116 can be virtualized using a centralized control plane and a separate forwarding plane (eg, software defined network, SDN).
  • VNFM 104 can interact with VNF 108 and EM 122 to manage the lifecycle of the VNF and exchange configuration and status information.
  • the VNF 108 can be configured to virtualize at least one network function performed by one physical network device.
  • the VNF 108 can be configured to provide functions of different network elements in the IMS network, such as Proxy Call Session Control Function (P-CSCF), service.
  • P-CSCF Proxy Call Session Control Function
  • S-CSCF Serving Call Session Control Function
  • HSS Home Subscriber Server
  • the EM 122 is configured to manage one or more VNFs 108.
  • Figure 2 is a flow chart of instantiation of VNF deployment initiated by NFVO. The main steps of this process are as follows:
  • Step 201 the NFVO receives the request to instantiate the VNF (this request may be initiated manually by the maintenance personnel, or automatically initiated by the OSS/BSS);
  • Step 202 the NFVO requests the VNFM to initiate an operation of instantiating the VNF, where the request includes information required for VNF instantiation;
  • Step 203 The VNFM requests the NFVO to authorize the resources required by the VNF according to the resource information described in the VNFD.
  • This VNFD describes the CPU, storage resources, and image files required by the VNF; NFVO/VNFM applies for virtual resources based on this VNFD file;
  • Step 204 the NFVO checks the satisfaction of the resources required to instantiate the VNF;
  • Step 205 to step 206 optionally, the NFVO may go to the VIM to reserve the resources required to instantiate the VNF;
  • Step 207 In response to step 203, the NFVO notifies the VNFM of the VIM, so that the VNFM requests the virtualized resource. If the NFVO performs steps 205 and 206, the NFVO also notifies the VNFM of the resource reservation related information. ;
  • Step 208 The VNFM sends a request to the VIM to apply for the virtual resource according to the received VIM identifier, and creates and starts the virtual machine VMs.
  • the resource requirements required for the VNF instantiation are described in the VNFD file.
  • Step 209 The VIM creates and starts a virtual machine according to the request of the VNFM, and corresponding network resources, and sends a successful response to the VNFM.
  • Step 210 After the virtual machine is created, the VNFM may perform some VNF-specific configurations for the VNF.
  • Step 211 the VNFM notifies the EM that a new VNF instance has been created
  • Step 212 EM and VNFM add a new VNF instance as a management object
  • Step 213, the EM can perform upper layer application configuration for the VNF
  • Step 214 in response to step 202, the VNFM notifies that the NFVO VNF instantiation has been successfully completed;
  • the process involving resource application and release is mainly steps 203 to 209. It can be seen that all resource management is completed by the interaction of NFVO/VNFM and VIM, and the requirements of specific resources (CPU, memory). , network, etc.) is described by the VNFD file.
  • NFVO/VNFM obtains the resources required by a VNF by parsing the prepared VNFD file.
  • NFVO/VNFM is in the process of applying for resources (steps 203 to 209) and VNF. There is no interaction. However, for some scenarios where resource requirements are constantly changing, for example, the grayscale upgrade process, if a previously prepared VNFD file is still used for resource application, it is difficult to apply dynamic changes in resource requirements.
  • the embodiment of the present invention provides a resource application method, which is used to solve the technical problem that the resource application cannot meet the dynamically changing resource requirement according to the prepared VNFD file in the prior art.
  • the resource application method in the embodiment of the present invention can be applied to various scenarios, and is particularly applicable to a grayscale upgrade scenario.
  • Grayscale upgrade is a release method that can smoothly transition between black and white.
  • the AB version test is a grayscale publishing method. Specifically, some users continue to use version A, and some users start using the version. B. If users using version B have no objection to version B, they can gradually expand the scope and migrate all users to version B. It can be seen from this that the release mode can ensure the stability of the overall system, and the problem can be discovered and adjusted in time in the initial gray scale to ensure its influence.
  • grayscale upgrade is applied in NFV, since the AB version of VNF exists at the same time, it may involve dynamic adjustment of existing resources.
  • the proportion of grayscale users will constantly change during the upgrade process. It is very likely that the demand for resources will continue to change. For example, starting testing only a few friendly users, only a small amount of resources are needed, and then a certain area and a certain area are opened for testing. Make resource requirements constantly changing.
  • the embodiment of the present invention dynamically requests the resource by adding a VNF interaction in the resource management process, which is equivalent to dynamically generating the VNFD to meet the resource requirements in the VNF grayscale upgrade process. Dynamic changes.
  • FIG. 3 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention. As shown in FIG. 3, the method includes:
  • Step 301 the VNF determines the quantity of resources to be applied
  • Step 302 The VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to perform resource application according to the quantity of the to-be-applied resource;
  • Step 303 The VNFM receives the resource application message sent by the VNF.
  • Step 304 The VNFM performs a resource application according to the quantity of the to-be-applied resources
  • Step 305 The VNFM sends an application response message to the VNF, where the application response message is a resource application success response or a resource application failure response.
  • Step 306 The VNF receives an application response message returned by the VNFM.
  • the interaction between the VNF and the VNFM is introduced in the resource application process.
  • the VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, so that the VNFM application resource can flexibly satisfy the resource. Dynamic changes in demand; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD in advance than in the prior art.
  • the grayscale upgrade scenario is taken as an example and described in detail in conjunction with FIG. 4.
  • Step 401 The upgrade management sends a grayscale upgrade request message to the VNF to start the grayscale upgrade task, and the grayscale upgrade request message may include different stages of the grayscale upgrade and the corresponding grayscale policy; for example, the grayscale phase 1: 10% of users use the new version; gray level 2: 50% of users use the new version, and all users use the new version in the final stage.
  • the upgrade management in the embodiment of the present invention is a logical functional entity, which is used to control and coordinate the entire grayscale upgrade process, and feedback the results of different phases.
  • the upgrade management program can be deployed on different functional nodes, for example, deployed in EM, NFVO, VNFM, or VNF, without limitation.
  • Step 402 After receiving the grayscale upgrade task and the grayscale policy, the VNF calculates additional required grayscale resources according to the current phase (ie, determines the number of resources to be applied); for example, assumes that the grayscale phase 1 10% of users need to upgrade the new version. On the basis of VNF's existing resources, an additional 4 service processing units are required for processing. Four new types of virtual machines need to be added.
  • Step 403 The VNF sends a resource confirmation message to the VNFM, where the resource confirmation message includes the number of resources to be applied, so as to confirm whether the resource requirement can be met to the VNFM.
  • step 404 the VNFM sends an acknowledgement message to the NFVO to confirm whether the resource requirement can be met.
  • Step 409 as a response to step 403, the VNFM returns a result for the grayscale resource confirmation to the VNF;
  • Step 410 The VNF determines the next action according to the result returned by the VNFM. For example, if the current resource can meet the requirement, the VNF may further request the VNFM to create a new virtual resource, and perform step 411; if the current resource cannot meet the requirement, the VNF Need to adjust the grayscale strategy (such as reducing the proportion of grayscale users, that is, reducing the number of resources to be applied), or return the results to the upgrade management, manually intervention by the operator (such as reducing the proportion of grayscale users).
  • the grayscale strategy such as reducing the proportion of grayscale users, that is, reducing the number of resources to be applied
  • Step 411 to step 412 the VNFM goes to the VIM to apply for the virtual resource and obtain the result.
  • Step 413 in response to step 410, the VNFM sends the virtual resource application result to the VNF.
  • the VNF may send the grayscale resource application result to the upgrade management.
  • step 415 the upgrade management starts to start the process processing of the corresponding subsequent grayscale upgrade.
  • the embodiment of the present invention focuses on the management of resources in the grayscale upgrade, and the process of the grayscale upgrade itself is the same as the existing process, and will not be described in detail herein.
  • Step 416 to step 417 after the gray level upgrade of the current stage is completed, the gray level test verification of the current stage is started, and the VNF reports the result of the gray level verification to the upgrade management;
  • Step 418 to step 419 the upgrade management starts the next stage of the grayscale upgrade
  • step 420 the VNF calculates the additionally required virtual resources according to the gray policy of the new stage (for example, 50% of the users need to use the new version at this stage), that is, repeats the processes of steps 402 to 413 described above.
  • the upgrade management sends a request message to the VNF grayscale upgrade request, and the VNF determines the number of resources to be applied according to the grayscale upgrade request message, and the VNFM performs resource application based on the determined number of resources to be applied, and passes the resource in the resource.
  • the interaction between VNF and VNFM is introduced during the application process, which realizes the dynamic determination of the resources that need to be applied during the grayscale upgrade process, and effectively solves the problem of constantly changing resource requirements.
  • FIG. 5 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention. As shown in FIG. 5, the method includes:
  • Step 501 The VNF determines the number of resources to be applied, and generates a VNFD file according to the quantity of the to-be-applied resources;
  • Step 502 The VNF sends an instance creation message to the VNFM, where the instance creation message is used by the VNFM to create a VNF instance according to the VNFD file.
  • Step 503 The VNFM receives an instance creation message sent by the VNF.
  • Step 504 The VNFM creates a VNF instance according to the VNFD file.
  • Step 505 The VNFM sends a create response message to the VNF, where the create response message includes the VNF instance creation result.
  • Step 506 The VNF receives the creation response message returned by the VNFM.
  • the interaction between the VNF and the VNFM is introduced in the resource application process.
  • the VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, and generate a VNFD file, so that the VNFM application resource can flexibly satisfy the resource. Dynamic changes in demand; and, since the VNFD file is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
  • the grayscale upgrade scenario is taken as an example and described in detail with reference to FIG. 6.
  • the scheme shown in FIG. 6 is similar to the scheme shown in FIG. 4, except that the first stage of the grayscale upgrade is initial, after the VNF calculates the grayscale resource according to the grayscale policy, according to The grayscale resource situation directly generates a new VNFD, uploads it to VNFM, and requests VNFM to deploy a new grayscale VNF instance according to this VNFD. Therefore, the scheme shown in Figure 6 is suitable for creating an additional VNF grayscale. The scenario of the instance.
  • Step 601 the upgrade management sends a grayscale upgrade request message request to the VNF to issue a grayscale upgrade task, and the grayscale upgrade request message may include different stages of grayscale upgrade, and corresponding grayscale policies; for example, grayscale phase 1 : 10% of users use the new version; gray level 2: 50% of users use the new version, and all users use the new version in the final stage.
  • the upgrade management in the embodiment of the present invention is a logical functional entity, which is used to control and coordinate the entire grayscale upgrade process, and feedback the results of different phases.
  • the upgrade management program can be deployed on different functional nodes, for example, deployed in EM, NFVO, VNFM, or VNF, without limitation.
  • Step 602 After receiving the grayscale upgrade task and the grayscale policy, the VNF calculates the additional required grayscale resources (that is, determines the number of resources to be applied) according to the current stage, and upgrades the required resources according to the grayscale. Request to generate a new VNFD file.
  • Step 603 The VNF sends an instance creation message to the VNFM for uploading the new VNFD file to the VNFM, and requests the VNFM to deploy a new grayscale VNF instance according to the new VNFD file.
  • step 604 the VNFM sends an acknowledgement message to the NFVO to confirm whether the resource requirement can be met.
  • Step 605 to step 610 similar to the existing process described in FIG. 2, the NFVO determines whether the current resource can satisfy the resource request sent by the VNFM, and returns the result to the VNFM; in an optional step, the NFVO can go to the VIM to reserve Resources; VNFM to VIM to apply for resources to create a new VNF instance.
  • step 611 the VNFM notifies the VNF of the result of creating the VNF instance.
  • Step 612 the VNF determines the next action according to the result returned by the VNFM. For example, if the current grayscale VNF instance is successfully created, the upgrade management grayscale resource application completion may be notified, and step 613 is performed; if the current grayscale VNF instance is created, If successful, the VNF needs to adjust the grayscale strategy (such as reducing the proportion of grayscale users), or return the results to the upgrade management, manually intervention by the operator (such as reducing the proportion of grayscale users).
  • step 613 the upgrade management starts to start the process processing of the corresponding subsequent grayscale upgrade.
  • the embodiment of the present invention focuses on the management of resources in the grayscale upgrade, and the process of the grayscale upgrade itself is the same as the existing process, and will not be described in detail herein.
  • Step 614 to step 616 after the gray level upgrade of the current stage is completed, the gray level test verification of the current stage is started, and the VNF reports the result of the gray level verification to the upgrade management;
  • Step 616 to step 617 the upgrade management starts the next stage of the grayscale upgrade
  • the VNF calculates the additionally required virtual resources according to the gray policy of the new stage (for example, 50% of the users need to use the new version at this stage), that is, repeats the processes of steps 602 to 611 above.
  • the upgrade management sends a VNF grayscale upgrade request message, and the VNF determines the number of resources to be applied according to the grayscale upgrade request message, and generates a new VNFD file, and the VNFM creates a new VNF instance based on the generated VNFD file.
  • the resources that need to be applied dynamically are determined during the grayscale upgrade process, that is, the VNFD file is dynamically determined, which effectively solves the problem of constantly changing resource requirements.
  • the embodiment of the present invention further provides a server, and the specific content of the server may be implemented by referring to the foregoing method.
  • FIG. 7 is a schematic structural diagram of a server according to Embodiment 3 of the present invention.
  • the server 700 includes a VNF 701 and a VNFM 702, where the VNF 701 is configured to perform related functions performed by the VNF in the foregoing Embodiment 1. , specifically:
  • the VNF 701 is configured to determine a quantity of a resource to be applied, and send a resource application message to the VNFM 702.
  • the resource application message includes the quantity of the to-be-applied resource
  • the VNFM 702 is configured to receive the resource application message sent by the VNF 701, and perform a resource application according to the quantity of the to-be-requested resource, and send an application response message to the VNF 701, where the application response message is that the resource application is successful. Response or resource request failure response.
  • the VNF 701 is further configured to receive an application response message returned by the VNFM 702.
  • the VNF 701 is specifically configured to:
  • the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase
  • the VNF 701 before the VNF 701 sends the resource request message to the VNFM 702, the VNF 701 is further configured to:
  • the quantity of the to-be-applied resource is decreased.
  • FIG. 8 is a schematic structural diagram of a server according to Embodiment 4 of the present invention.
  • the server 800 includes a VNF 801 and a VNFM 802, where the VNF 801 is configured to perform related functions performed by the VNF in the foregoing Embodiment 2. , specifically:
  • the VNF 801 is configured to determine a quantity of a resource to be applied, and generate a VNFD file according to the quantity of the to-be-applied resource; and send an instance creation message to the VNFM 802, where the VNFD file is included in the instance creation message;
  • the VNFM 802 is configured to receive an instance creation message sent by the VNF 801, create a VNF instance according to the VNFD file, and send a create response message to the VNF 801, where the create response message is a VNF instance creation success response or a VNF instance creation failure response. ;
  • the VNF 801 receives a create response message returned by the VNFM 802.
  • the VNF 801 is specifically configured to:
  • the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase
  • the VNF 801 is further configured to:
  • the number of resources to be applied is decreased.
  • the VNF after determining the number of resources to be applied, the VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to apply for resources according to the quantity of resources to be applied; and, the VNF Receiving the resource application result returned by the VNFM; thus, in the embodiment of the present invention, the interaction between the VNF and the VNFM is introduced in the resource application process, and the VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, thereby making The VNFM application resources can flexibly meet the dynamic changes of resource requirements. Moreover, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
  • embodiments of the invention may be provided as a method, system, or computer program product.
  • embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed are a resource application and a VNF instance creation method and apparatus. The method comprises: a VNF sending resource application information to a VNFM after the VNF determines the amount of resource for which to apply, wherein the resource application information is used for the VNFM to apply for resources according to the amount of resources for which to apply; and the VNF receiving a resource application result returned by the VNFM. It can be seen therefrom that during the process of the resource application in the embodiments of the present invention, interaction between the VNF and the VNFM is introduced, and the VNF is able to flexibly determine, according to resource needs, the amount of resources for which to apply, thereby enabling the resources applied for by the VNFM to be able to flexibly satisfy dynamic variations in resource needs; moreover, the amount of resources for which to apply is dynamically generated by the VNF, which is therefore more convenient and feasible with respect to the method for artificially preparing a VNFD file in advance in the prior art.

Description

一种资源申请、VNF实例创建方法及装置Resource application, VNF instance creation method and device
本申请要求于2017年2月23日提交中国专利局、申请号为201710099214.2、发明名称为“一种资源申请、VNF实例创建方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 23, 2017, the Chinese Patent Office, Application No. 201710099214.2, entitled "A Resource Application, VNF Example Creation Method and Apparatus", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及通信技术领域,特别涉及一种资源申请、VNF实例创建方法及装置。The present invention relates to the field of communications technologies, and in particular, to a resource application, a VNF instance creation method and apparatus.
背景技术Background technique
传统的电信***通过各种专用的硬件设备组成,不同的应用采用不同的硬件设备。随着网络规模的增长,***越来越复杂,带来了诸多的挑战,包括新增业务的开发上线、***的运维、资源利用率等。为了应对这些挑战及利用IT业界的虚拟化技术及云计算技术,在2012年10月22日召开的“SDN and OpenFlow World Congress”会议上,全球主要的13个电信运营商联合发布了网络功能虚拟化(Network Functions Virtualization,NFV)***,并宣布在ETSI成立NFV ISG,制定NFV的需求及技术框架。The traditional telecommunication system is composed of various dedicated hardware devices, and different applications use different hardware devices. As the scale of the network grows, the system becomes more and more complex, which brings many challenges, including the development of new services, the operation and maintenance of the system, and resource utilization. In response to these challenges and the use of virtualization technology and cloud computing technology in the IT industry, at the "SDN and OpenFlow World Congress" conference held on October 22, 2012, the world's 13 major telecom operators jointly released network function virtualization. Network Functions Virtualization (NFV) white paper, and announced the establishment of NFV ISG at ETSI to develop NFV requirements and technical framework.
NFV ISG定义的网络功能虚拟化(Network Functions Virtualization,NFV)的框架中包括:NFV管理和编排***(NFV Management and Orchestration,NFV MANO)、NFV基础设施层(NFV Infrastructure,NFVI)、多个虚拟网络功能(Virtual Network Function,VNF)、多个网元管理(Element Management,EM)、网络服务、VNF和基础设施描述(Network Service,VNF and Infrastructure Description),以及业务支持管理***(Operation-Support System/Business Support System,OSS/BSS)。其中,NFV管理和编排***包括NFV编排器(NFV Orchestrator,NFVO),一个或多个VNF管理器(VNF Manager,VNFM)和虚拟化基础设施管理器(Virtualized Infrastructure Manager,VIM)。The NFV ISG defines the Network Functions Virtualization (NFV) framework: NFV Management and Orchestration (NFV MANO), NFV Infrastructure (NFV), and multiple virtual networks. Virtual Network Function (VNF), Multiple Element Management (EM), Network Services, VNF and Network Service (VNF and Infrastructure Description), and Operation Support System (Operation-Support System/) Business Support System, OSS/BSS). Among them, the NFV management and orchestration system includes NFV Orchestrator (NFVO), one or more VNF Manager (VNFM) and Virtualized Infrastructure Manager (VIM).
由上述架构可知,NFV中没有独享的物理资源,因此虚拟资源的申请和释放是NFV规范中比较重要的内容。在ETSI NFV标准中,现在定义的虚拟资源的申请和释放的流程是通过NFVO/VNFM和VIM之间的交互来实现的,而每个VNF对于资源的需求是通过一个事先定义好的VNFD文件来描述,由MANO(NFVO和VNFM)根据VNFD文件向VIM申请资源。由于VNFD文件是事先准备好的,若资源需求发生变化,则会导致VNFD文件无法满足这一需求。It can be seen from the above architecture that there is no exclusive physical resource in the NFV, so the application and release of the virtual resource is a relatively important content in the NFV specification. In the ETSI NFV standard, the process of applying and releasing virtual resources defined now is implemented through the interaction between NFVO/VNFM and VIM, and each VNF needs resources through a predefined VNFD file. Description, MANO (NFVO and VNFM) apply for resources from VIM based on the VNFD file. Since the VNFD file is prepared in advance, if the resource requirements change, the VNFD file will not meet this requirement.
综上,目前亟需一种资源申请方法,用于解决现有技术中根据事先准备好的VNFD文件进行资源申请无法满足动态变化的资源需求的技术问题。To sum up, there is a need for a resource application method for solving the technical problem that the resource application according to the previously prepared VNFD file cannot meet the dynamically changing resource requirement in the prior art.
发明内容Summary of the invention
本发明实施例提供一种资源申请、VNF实例创建方法及装置,用以解决现有技术中根据事先准备好的VNFD文件进行资源申请无法满足动态变化的资源需求的技术问题。The embodiments of the present invention provide a resource application, a VNF instance creation method, and a device, which are used to solve the technical problem that the resource application cannot meet the dynamically changing resource requirement according to the prepared VNFD file in the prior art.
本发明实施例提供一种资源申请方法,包括:An embodiment of the present invention provides a resource application method, including:
虚拟网络功能VNF确定待申请资源的数量;The virtual network function VNF determines the number of resources to be applied;
所述VNF向VNF管理器VNFM发送资源申请消息,所述资源申请消息用于所述VNFM根据所述待申请资源的数量进行资源申请;The VNF sends a resource request message to the VNF manager VNFM, where the resource request message is used by the VNFM to perform resource application according to the quantity of the to-be-applied resource;
所述VNF接收所述VNFM返回的申请响应消息,所述申请响应消息为资源申请成功响应或资源申请失败响应。The VNF receives an application response message returned by the VNFM, where the application response message is a resource application success response or a resource application failure response.
如此,本发明实施例在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于待申请资源的数量是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD文件的方式更加便捷可行。As such, in the resource application process, the interaction between the VNF and the VNFM is introduced in the resource application process. The VNF can flexibly determine the number of resources to be applied according to the resource requirements, so that the resources applied by the VNFM can flexibly meet the dynamics of the resource requirements. The change; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
可选地,所述VNF确定待申请资源的数量,包括:Optionally, the VNF determines the quantity of resources to be applied, including:
所述VNF接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;The VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
所述VNF根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。The VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
如此,VNF在接收到灰度升级消息后,根据灰度升级消息确定出待申请资源的数量,从而实现了在灰度升级过程中,VNF灵活根据资源需求的不断变化来确定待申请资源的数量。In this way, after receiving the grayscale upgrade message, the VNF determines the number of resources to be applied according to the grayscale upgrade message, thereby realizing that during the grayscale upgrade process, the VNF flexibly determines the number of resources to be applied according to the constant change of resource requirements. .
可选地,所述VNF向VNFM发送资源申请消息之前,还包括:Optionally, before the VNF sends the resource request message to the VNFM, the method further includes:
所述VNF向所述VNFM发送资源确认消息,所述资源确认消息中包括所述待申请资源的数量;The VNF sends a resource confirmation message to the VNFM, where the resource confirmation message includes the quantity of the to-be-applied resource;
所述VNF接收所述VNFM返回的确认响应消息;The VNF receives an acknowledgment response message returned by the VNFM;
若所述VNF根据所述确认响应消息确定当前资源不满足所述待申请资源的数量的要求,则降低所述待申请资源的数量。And if the VNF determines, according to the confirmation response message, that the current resource does not meet the requirement of the quantity of the to-be-applied resource, reducing the quantity of the to-be-applied resource.
如此,VNF确定当前资源不满足待申请资源的数量的要求后,VNF可降低待申请资源的数量,从而能够根据当前资源对待申请资源的数量进行调整,有效避免因当前资源不足而导致资源申请失败的问题。In this manner, after the VNF determines that the current resource does not meet the requirement of the number of resources to be applied, the VNF can reduce the number of resources to be applied, thereby adjusting the amount of resources to be applied according to the current resource, thereby effectively preventing the resource application from failing due to insufficient current resources. The problem.
本发明实施例提供一种VNF实例创建方法,所述方法包括:An embodiment of the present invention provides a method for creating a VNF instance, where the method includes:
VNF确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;The VNF determines the number of resources to be applied, and generates a VNFD file according to the quantity of the to-be-applied resources;
所述VNF向VNFM发送实例创建消息,所述实例创建消息用于所述VNFM根据所述VNFD文件创建VNF实例;The VNF sends an instance creation message to the VNFM, where the instance creation message is used by the VNFM to create a VNF instance according to the VNFD file;
所述VNF接收所述VNFM返回的创建响应消息,所述创建响应消息为VNF实例创建成功响应或VNF实例创建失败响应。The VNF receives a create response message returned by the VNFM, and the create response message is a VNF instance creation success response or a VNF instance creation failure response.
如此,本发明实施例在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,并生成VNFD文件,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于VNFD文件是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD文件的方式更加便捷可行。As such, in the resource application process, the interaction between the VNF and the VNFM is introduced in the resource application process. The VNF can flexibly determine the number of resources to be applied according to the resource requirements, and generate a VNFD file, thereby making the VNFM application resource flexible. It satisfies the dynamic changes of resource requirements; and, since the VNFD file is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
可选地,所述VNF确定待申请资源的数量,包括:Optionally, the VNF determines the quantity of resources to be applied, including:
所述VNF接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;The VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
所述VNF根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。The VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
如此,VNF在接收到灰度升级消息后,根据灰度升级消息确定出待申请资源的数量,从而实现了在灰度升级过程中,VNF灵活根据资源需求的不断变化来确定待申请资源的数量。In this way, after receiving the grayscale upgrade message, the VNF determines the number of resources to be applied according to the grayscale upgrade message, thereby realizing that during the grayscale upgrade process, the VNF flexibly determines the number of resources to be applied according to the constant change of resource requirements. .
可选地,所述VNF接收所述VNFM返回的创建响应消息之后,还包括:Optionally, after receiving the creation response message returned by the VNFM, the VNF further includes:
若所述VNF根据所述创建响应消息,确定所述VNF实例创建失败,则降低所述待申请资 源的数量。If the VNF determines that the VNF instance creation fails according to the creation response message, the number of resources to be applied is decreased.
如此,VNF确定VNF实例创建失败后,可降低待申请资源的数量,从而使得后续根据降低后的待申请资源的数量能够成功创建VNF实例。In this manner, after the VNF determines that the VNF instance fails to be created, the number of resources to be applied may be reduced, so that the VNF instance can be successfully created according to the reduced number of resources to be applied.
本发明实施例提供一种服务器,所述服务器包括VNF和VNFM;An embodiment of the present invention provides a server, where the server includes a VNF and a VNFM;
所述VNF,用于确定待申请资源的数量,并向所述VNFM发送资源申请消息;所述资源申请消息中包括所述待申请资源的数量;The VNF is configured to determine a quantity of the to-be-applied resource, and send a resource application message to the VNFM, where the resource application message includes the quantity of the to-be-applied resource;
所述VNFM,用于接收所述VNF发送的所述资源申请消息,并根据所述待申请资源的数量进行资源申请,以及向所述VNF发送申请响应消息,所述申请响应消息为资源申请成功响应或资源申请失败响应。The VNFM is configured to receive the resource application message sent by the VNF, and perform a resource application according to the quantity of the to-be-applied resource, and send an application response message to the VNF, where the application response message is that the resource application is successful. Response or resource request failure response.
所述VNF还用于接收所述VNFM返回的申请响应消息。The VNF is further configured to receive an application response message returned by the VNFM.
可选地,所述VNF具体用于:Optionally, the VNF is specifically used to:
接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
可选地,所述VNF向VNFM发送资源申请消息之前,还用于:Optionally, before the VNF sends the resource request message to the VNFM, the VNF is further configured to:
向所述VNFM发送资源确认消息,所述资源确认消息中包括所述待申请资源的数量;Sending a resource confirmation message to the VNFM, where the resource confirmation message includes the quantity of the to-be-applied resource;
接收所述VNFM返回的确认响应消息;Receiving an acknowledgment response message returned by the VNFM;
若根据所述确认响应消息确定当前资源不满足所述待申请资源的数量的要求,则降低所述待申请资源的数量。If the requirement that the current resource does not satisfy the quantity of the to-be-applied resource is determined according to the confirmation response message, the quantity of the to-be-applied resource is decreased.
本发明实施例提供另一种服务器,所述服务器包括VNF和VNFM;An embodiment of the present invention provides another server, where the server includes a VNF and a VNFM;
所述VNF,用于确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;以及,向所述VNFM发送实例创建消息,所述实例创建消息中包括所述VNFD文件;The VNF is configured to determine a quantity of the to-be-applied resource, and generate a VNFD file according to the quantity of the to-be-applied resource; and send an instance creation message to the VNFM, where the VNFD file is included in the instance creation message;
所述VNFM,用于接收VNF发送的实例创建消息,根据所述VNFD文件创建VNF实例,并向所述VNF发送创建响应消息,所述创建响应消息为VNF实例创建成功响应或VNF实例创建失败响应;The VNFM is configured to receive an instance creation message sent by the VNF, create a VNF instance according to the VNFD file, and send a create response message to the VNF, where the create response message is a VNF instance creation success response or a VNF instance creation failure response. ;
所述VNF接收所述VNFM返回的创建响应消息。The VNF receives a create response message returned by the VNFM.
可选地,所述VNF具体用于:Optionally, the VNF is specifically used to:
接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
可选地,所述VNF接收所述VNFM返回的创建响应消息之后,还用于:Optionally, after receiving the creation response message returned by the VNFM, the VNF is further configured to:
若根据所述创建响应消息,确定所述VNF实例创建失败,则降低所述待申请资源的数量If the VNF instance creation fails, the number of the to-be-requested resources is decreased according to the creating a response message.
本发明实施例中,VNF确定待申请资源的数量后,向VNFM发送资源申请消息,所述资源申请消息用于VNFM根据待申请资源的数量进行资源申请;以及,VNF接收VNFM返回的资源申请结果;由此可知,本发明实施例在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于待申请资源的数量是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD文件的方式更加便捷可行。In the embodiment of the present invention, after determining the quantity of the resource to be applied, the VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to apply for the resource according to the quantity of the resource to be applied; and the VNF receives the resource application result returned by the VNFM. Therefore, in the resource application process, the embodiment of the present invention introduces the interaction between the VNF and the VNFM. The VNF can flexibly determine the number of resources to be applied according to the resource requirements, so that the resources requested by the VNFM can flexibly satisfy the resources. Dynamic changes in demand; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
附图说明DRAWINGS
图1为NFV的***架构图;Figure 1 is a system architecture diagram of NFV;
图2为由NFVO发起的VNF部署实例化的流程图;2 is a flow chart of instantiation of a VNF deployment initiated by NFVO;
图3为本发明实施例一提供的资源申请方法对应的流程示意图;FIG. 3 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention;
图4为本发明实施例一提供的资源申请方法的具体流程示意图;4 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention;
图5为本发明实施例二提供的VNF实例创建方法对应的流程示意图;FIG. 5 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention;
图6为本发明实施例二提供的VNF实例创建方法的具体流程示意图;FIG. 6 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention;
图7为本发明实施例三提供的一种服务器的结构示意图;FIG. 7 is a schematic structural diagram of a server according to Embodiment 3 of the present invention;
图8为本发明实施例四提供的一种服务器的结构示意图。FIG. 8 is a schematic structural diagram of a server according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面结合说明书附图对本发明实施例进行描述。The embodiments of the present invention are described below in conjunction with the accompanying drawings.
NFV技术的基础包含云计算技术和虚拟化技术。通用的COTS计算/存储/网络等硬件设备通过虚拟化技术可以分解为多种虚拟资源,以供上层各种应用使用。通过虚拟化技术,实现应用与硬件之间的解耦,使得虚拟资源供给速度大大增加;通过云计算技术,可以实现应用的弹性伸缩,实现虚拟资源与业务负荷相匹配,不仅提升了虚拟资源的利用效率,而且改善了***的响应速率。The foundation of NFV technology includes cloud computing technology and virtualization technology. Hardware devices such as general-purpose COTS computing/storage/network can be decomposed into multiple virtual resources through virtualization technology for use by various applications in the upper layers. Through the virtualization technology, the decoupling between the application and the hardware is realized, so that the virtual resource supply speed is greatly increased. Through the cloud computing technology, the elastic scalability of the application can be realized, and the virtual resource is matched with the service load, which not only improves the virtual resource. Utilize efficiency and improve system response rate.
图1为NFV的***架构图,所述NFV***100可以在各种网络中使用,例如,在一个数据中心网络、运营商网络或局域网来实现。1 is a system architecture diagram of an NFV system that can be used in various networks, for example, in a data center network, a carrier network, or a local area network.
如图1所示,所述NFV***100包括一个NFV MANO 101、NFVI 130、多个VNF 108(VNF1、VNF2和VNF3)、多个EM 122(EM1、EM2和EM3)、网络服务、VNF和基础设施描述126,以及OSS/BSS 124。其中,NFV MANO 101包括NFVO 102,一个或多个VNFM 104和VIM 106。NFVI130包括计算硬件112、存储硬件114、网络硬件116、虚拟化层(Virtualization Layer)、虚拟计算110、虚拟存储118和虚拟网络120。网路服务、VNF和基础设施描述126和OSS/BSS124在ETSI GS NFV 002V1.1.1标准中有进一步的讨论。As shown in FIG. 1, the NFV system 100 includes an NFV MANO 101, NFVI 130, a plurality of VNFs 108 (VNF1, VNF2, and VNF3), a plurality of EMs 122 (EM1, EM2, and EM3), network services, VNFs, and foundations. Facility description 126, as well as OSS/BSS 124. Among them, NFV MANO 101 includes NFVO 102, one or more VNFMs 104 and VIMs 106. The NFVI 130 includes computing hardware 112, storage hardware 114, network hardware 116, virtualization layer, virtual computing 110, virtual storage 118, and virtual network 120. Network services, VNF and infrastructure descriptions 126 and OSS/BSS 124 are discussed further in the ETSI GS NFV 002 V1.1.1 standard.
NFV MANO 101用于执行对VNF 108和NFVI 130的监视和管理。NFVO 102可以实现在NFVI130上的网络服务(如L2和L3VPN服务),也可以执行来自一个或多个VNFM 104的资源相关请求,发送配置信息到VNFM 104,并收集VNF 108的状态信息。另外,NFVO 102可以与VIM 106通信,以实现资源的分配和/或预留以及交换虚拟化硬件资源的配置和状态信息。所述VNFM 104可以管理一个或多个VNF 108。VNFM 104可以执行各种管理功能,如实例化、更新、查询、缩放和/或终止VNF 108等。VIM 106可以执行资源管理的功能,例如管理基础设施资源的分配(如增加资源到虚拟容器)和操作功能(如收集NFVI故障信息)。所述VNFM 104和VIM 106可以相互通信进行资源分配和交换虚拟化硬件资源的配置和状态信息。The NFV MANO 101 is used to perform monitoring and management of the VNF 108 and NFVI 130. The NFVO 102 may implement network services (e.g., L2 and L3VPN services) on the NFVI 130, may also perform resource related requests from one or more VNFMs 104, send configuration information to the VNFM 104, and collect status information for the VNF 108. In addition, NFVO 102 can communicate with VIM 106 to enable resource allocation and/or reservation and to exchange configuration and status information for virtualized hardware resources. The VNFM 104 can manage one or more VNFs 108. The VNFM 104 can perform various management functions such as instantiating, updating, querying, scaling, and/or terminating the VNF 108 and the like. The VIM 106 can perform resource management functions such as managing the allocation of infrastructure resources (such as adding resources to virtual containers) and operational functions (such as collecting NFVI failure information). The VNFM 104 and VIM 106 can communicate with one another for resource allocation and exchange of configuration and status information for virtualized hardware resources.
所述NFVI 130包括硬件资源、软件资源或两者的组合来完成虚拟化环境的部署。换句话说,硬件资源和虚拟化层用于提供虚拟化的资源,例如作为虚拟机和其它形式的虚拟容器,用于VNF 108。硬件资源包括计算硬件112、存储硬件114和网络硬件116。计算硬件112可以是市场上现成的硬件和/或用户定制的硬件,用来提供处理和计算资源。存储硬件114可以是网络内提供的存储容量或驻留在存储硬件114本身的存储容量(位于服务器内的本地存储器)。在一种可能的实现方案中,计算硬件112和存储硬件114的资源可以被集中在一起。网 络硬件116可以是交换机、路由器和/或配置成具有交换功能的任何其他网络设备。网络硬件116可以横跨多个域,并且可以包括多个由一个或一个以上传输网络互连的网络。The NFVI 130 includes hardware resources, software resources, or a combination of both to complete the deployment of the virtualized environment. In other words, the hardware resources and virtualization layers are used to provide virtualized resources, such as virtual machines and other forms of virtual containers, for VNF 108. Hardware resources include computing hardware 112, storage hardware 114, and network hardware 116. Computing hardware 112 may be off-the-shelf hardware and/or user-customized hardware used to provide processing and computing resources. Storage hardware 114 may be storage capacity provided within the network or storage capacity resident in storage hardware 114 itself (local storage located within the server). In one possible implementation, the resources of computing hardware 112 and storage hardware 114 can be grouped together. Network hardware 116 can be a switch, a router, and/or any other network device configured to have switching functionality. Network hardware 116 can span multiple domains and can include multiple networks interconnected by one or more transport networks.
NFVI 130里面的虚拟化层可以从物理层抽象硬件资源和解耦VNF 108,以便向VNF 108提供虚拟化资源。虚拟资源层包括虚拟计算110,虚拟存储118和虚拟网络120。虚拟计算110和虚拟存储118可以以虚拟机、和/或其他虚拟容器的形式提供给VNF 108。例如,一个或一个以上的VNF 108可以部署在一个虚拟机(Virtual Machine)上。虚拟化层抽象网络硬件116从而形成虚拟网络120,虚拟网络120可以包括虚拟交换机(Virtual Switch),所述虚拟交换机用来提供虚拟机和其他虚拟机之间的连接。此外,网络硬件116中的传输网络,可以采用集中式控制平面和一个单独的转发平面(如软件定义网络,SDN)虚拟化。The virtualization layer within NFVI 130 can abstract hardware resources from the physical layer and decouple VNF 108 to provide virtualized resources to VNF 108. The virtual resource layer includes virtual computing 110, virtual storage 118, and virtual network 120. Virtual computing 110 and virtual storage 118 may be provided to VNF 108 in the form of virtual machines, and/or other virtual containers. For example, one or more VNFs 108 can be deployed on a virtual machine. The virtualization layer abstracts network hardware 116 to form a virtual network 120, which may include a virtual switch that is used to provide connectivity between virtual machines and other virtual machines. In addition, the transport network in network hardware 116 can be virtualized using a centralized control plane and a separate forwarding plane (eg, software defined network, SDN).
如图1所示,VNFM 104可以与VNF 108和EM 122交互来对VNF的生命周期进行管理以及交换配置和状态信息。VNF 108可以被配置为通过一个物理网络设备执行的至少一个网络功能的虚拟化。例如,在一种可能的实现方案中,所述VNF 108可以经过配置以提供IMS网络中的不同网元具备的功能,如代理呼叫会话控制功能(Proxy Call Session Control Function,P-CSCF),服务呼叫会话控制功能(Serving Call Session Control Function,S-CSCF)或归属签约用户服务器(Home Subscriber Server,HSS)的网络功能等。EM 122经过配置以对一个或一个以上的VNF 108进行管理。As shown in FIG. 1, VNFM 104 can interact with VNF 108 and EM 122 to manage the lifecycle of the VNF and exchange configuration and status information. The VNF 108 can be configured to virtualize at least one network function performed by one physical network device. For example, in a possible implementation, the VNF 108 can be configured to provide functions of different network elements in the IMS network, such as Proxy Call Session Control Function (P-CSCF), service. The network function of the Serving Call Session Control Function (S-CSCF) or the Home Subscriber Server (HSS). The EM 122 is configured to manage one or more VNFs 108.
基于上述***架构,图2为由NFVO发起的VNF部署实例化的流程图,此流程的主要步骤如下:Based on the above system architecture, Figure 2 is a flow chart of instantiation of VNF deployment initiated by NFVO. The main steps of this process are as follows:
步骤201,NFVO收到实例化VNF的请求(此请求可能是维护人员手工发起,或者是通过OSS/BSS自动发起);Step 201, the NFVO receives the request to instantiate the VNF (this request may be initiated manually by the maintenance personnel, or automatically initiated by the OSS/BSS);
步骤202,NFVO请求VNFM发起实例化VNF的操作,在此请求中包含了VNF实例化所需要的信息;Step 202, the NFVO requests the VNFM to initiate an operation of instantiating the VNF, where the request includes information required for VNF instantiation;
步骤203,VNFM请求NFVO准许根据VNFD中描述的资源信息,实例化VNF所需的资源;Step 203: The VNFM requests the NFVO to authorize the resources required by the VNF according to the resource information described in the VNFD.
以下是一个简单的VNFD文件描述的片段实例:The following is an example of a fragment of a simple VNFD file description:
Figure PCTCN2018077067-appb-000001
Figure PCTCN2018077067-appb-000001
Figure PCTCN2018077067-appb-000002
Figure PCTCN2018077067-appb-000002
此VNFD中描述VNF所需要的CPU、存储资源,以及镜像文件;NFVO/VNFM即根据此VNFD文件进行虚拟资源的申请;This VNFD describes the CPU, storage resources, and image files required by the VNF; NFVO/VNFM applies for virtual resources based on this VNFD file;
步骤204,NFVO检查实例化VNF所需要的资源的满足情况;Step 204, the NFVO checks the satisfaction of the resources required to instantiate the VNF;
步骤205至步骤206,可选地,NFVO可以到VIM去预留实例化VNF所需要的资源;Step 205 to step 206, optionally, the NFVO may go to the VIM to reserve the resources required to instantiate the VNF;
步骤207,作为对于步骤203的响应,NFVO将VIM的标识通知给VNFM,以便VNFM去申请虚拟化资源,如果NFVO执行过步骤205和步骤206,NFVO也会将资源预留的相关信息通知给VNFM;Step 207: In response to step 203, the NFVO notifies the VNFM of the VIM, so that the VNFM requests the virtualized resource. If the NFVO performs steps 205 and 206, the NFVO also notifies the VNFM of the resource reservation related information. ;
步骤208,VNFM根据收到的VIM标识,发送请求给VIM去申请虚拟资源,创建和启动虚拟机VMs;VNF实例化所需的资源需求是在VNFD文件中描述;Step 208: The VNFM sends a request to the VIM to apply for the virtual resource according to the received VIM identifier, and creates and starts the virtual machine VMs. The resource requirements required for the VNF instantiation are described in the VNFD file.
步骤209,VIM根据VNFM的请求创建和启动虚拟机,以及相应的网络资源,回送成功响应给VNFM;Step 209: The VIM creates and starts a virtual machine according to the request of the VNFM, and corresponding network resources, and sends a successful response to the VNFM.
步骤210,虚拟机创建完成以后,VNFM可以对于VNF做一些VNF特有的配置;Step 210: After the virtual machine is created, the VNFM may perform some VNF-specific configurations for the VNF.
步骤211,VNFM通知EM一个新的VNF实例已经被创建;Step 211, the VNFM notifies the EM that a new VNF instance has been created;
步骤212,EM和VNFM添加新的VNF实例为管理对象;Step 212: EM and VNFM add a new VNF instance as a management object;
步骤213,EM可以对于VNF做上层应用配置;Step 213, the EM can perform upper layer application configuration for the VNF;
步骤214,作为对于步骤202的回应,VNFM通知NFVO VNF实例化已成功完成;Step 214, in response to step 202, the VNFM notifies that the NFVO VNF instantiation has been successfully completed;
步骤215,NFVO将VNF映射到正确的VIM资源池模型;Step 215, NFVO maps the VNF to the correct VIM resource pool model;
在以上步骤中,涉及资源申请和释放的流程主要是步骤203至步骤209,可以看出所有的资源管理都是通过NFVO/VNFM与VIM的交互来完成的,而具体资源的需求(CPU,内存,网络等)是通过VNFD文件描述的,NFVO/VNFM通过解析事先准备好的VNFD文件得到一个VNF所需要的资源,NFVO/VNFM在申请资源的过程中(步骤203至步骤209)与VNF之间不存在交互。然而,针对一些资源需求不断变化的场景,例如,灰度升级过程,若仍采用事先准备好的VNFD文件来进行资源申请,则难以适用资源需求的动态变化。In the above steps, the process involving resource application and release is mainly steps 203 to 209. It can be seen that all resource management is completed by the interaction of NFVO/VNFM and VIM, and the requirements of specific resources (CPU, memory). , network, etc.) is described by the VNFD file. NFVO/VNFM obtains the resources required by a VNF by parsing the prepared VNFD file. NFVO/VNFM is in the process of applying for resources (steps 203 to 209) and VNF. There is no interaction. However, for some scenarios where resource requirements are constantly changing, for example, the grayscale upgrade process, if a previously prepared VNFD file is still used for resource application, it is difficult to apply dynamic changes in resource requirements.
基于此,本发明实施例提供一种资源申请方法,用以解决现有技术中根据事先准备好的VNFD文件进行资源申请无法满足动态变化的资源需求的技术问题。Based on this, the embodiment of the present invention provides a resource application method, which is used to solve the technical problem that the resource application cannot meet the dynamically changing resource requirement according to the prepared VNFD file in the prior art.
本发明实施例中的资源申请方法可适用于多种场景中,尤其适用于灰度升级场景。灰度升级是在黑与白之间,能够平滑过渡的一种发布方式,例如,AB版本测试就是一种灰度发布方式,具体来说,让一部分用户继续用版本A,一部分用户开始用版本B,如果使用版本B的用户对版本B无反对意见,则可逐步扩大范围,把所有用户都迁移到版本B。由此可知,采用这种发布方式,可以保证整体***的稳定,而且,在初始灰度时能够及时发现和调整问题,以保证其影响度。如此,若在NFV中应用灰度升级,由于VNF的AB版本同时存在,则可能会涉及到对已有资源的动态调整,具体来说,由于升级过程中灰度用户的比例会不断发生变化,很可能对于资源的需求就不断发生变化,例如,开始仅对几个友好用户开通业务进行测试,只需要很少的资源,慢慢再对某个区域,某几个区域开通业务进行测试,从而使得资源需求不断变化。The resource application method in the embodiment of the present invention can be applied to various scenarios, and is particularly applicable to a grayscale upgrade scenario. Grayscale upgrade is a release method that can smoothly transition between black and white. For example, the AB version test is a grayscale publishing method. Specifically, some users continue to use version A, and some users start using the version. B. If users using version B have no objection to version B, they can gradually expand the scope and migrate all users to version B. It can be seen from this that the release mode can ensure the stability of the overall system, and the problem can be discovered and adjusted in time in the initial gray scale to ensure its influence. Thus, if grayscale upgrade is applied in NFV, since the AB version of VNF exists at the same time, it may involve dynamic adjustment of existing resources. Specifically, the proportion of grayscale users will constantly change during the upgrade process. It is very likely that the demand for resources will continue to change. For example, starting testing only a few friendly users, only a small amount of resources are needed, and then a certain area and a certain area are opened for testing. Make resource requirements constantly changing.
根据上述内容可知,在NFV下的VNF灰度升级过程中,存在着不同的灰度策略、级别和范围,对于资源的需求可能是动态变化的,通过事先指定VNFD进行资源申请的方式不太容易满足这个动态变化的要求,因此,本发明实施例通过MANO在资源管理过程中增加和VNF交互 的方式,来动态的进行资源申请,相当于动态的生成VNFD,满足VNF灰度升级过程中资源需求的动态变化。According to the above, in the VNF grayscale upgrade process under NFV, there are different grayscale strategies, levels and ranges, and the demand for resources may be dynamically changed. It is not easy to specify the VNFD for resource application in advance. The requirements of this dynamic change are met. Therefore, the embodiment of the present invention dynamically requests the resource by adding a VNF interaction in the resource management process, which is equivalent to dynamically generating the VNFD to meet the resource requirements in the VNF grayscale upgrade process. Dynamic changes.
实施例一 Embodiment 1
基于上述***结构,图3为本发明实施例一提供的资源申请方法对应的流程示意图。如图3所示,该方法包括:Based on the above system structure, FIG. 3 is a schematic flowchart of a resource application method according to Embodiment 1 of the present invention. As shown in FIG. 3, the method includes:
步骤301,VNF确定待申请资源的数量; Step 301, the VNF determines the quantity of resources to be applied;
步骤302,VNF向VNFM发送资源申请消息,所述资源申请消息用于所述VNFM根据所述待申请资源的数量进行资源申请;Step 302: The VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to perform resource application according to the quantity of the to-be-applied resource;
步骤303,VNFM接收VNF发送的资源申请消息;Step 303: The VNFM receives the resource application message sent by the VNF.
步骤304,VNFM根据所述待申请资源的数量进行资源申请;Step 304: The VNFM performs a resource application according to the quantity of the to-be-applied resources;
步骤305,VNFM向所述VNF发送申请响应消息,所述申请响应消息为资源申请成功响应或资源申请失败响应;Step 305: The VNFM sends an application response message to the VNF, where the application response message is a resource application success response or a resource application failure response.
步骤306,VNF接收所述VNFM返回的申请响应消息。Step 306: The VNF receives an application response message returned by the VNFM.
由此可知,本发明实施例中在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于待申请资源的数量是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD的方式更加便捷可行。Therefore, in the embodiment of the present invention, the interaction between the VNF and the VNFM is introduced in the resource application process. The VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, so that the VNFM application resource can flexibly satisfy the resource. Dynamic changes in demand; and, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD in advance than in the prior art.
为对上述过程进行具体说明,下面以灰度升级场景为例,结合图4进行详细描述。In order to specifically describe the above process, the grayscale upgrade scenario is taken as an example and described in detail in conjunction with FIG. 4.
步骤401,升级管理向VNF下发灰度升级任务开始的灰度升级请求消息,灰度升级请求消息中可以包含灰度升级的不同阶段,以及对应的灰度策略;比如,灰度阶段1:有10%的用户使用新版本;灰度阶段2:有50%的用户使用新版本,最终阶段全部用户使用新版本。Step 401: The upgrade management sends a grayscale upgrade request message to the VNF to start the grayscale upgrade task, and the grayscale upgrade request message may include different stages of the grayscale upgrade and the corresponding grayscale policy; for example, the grayscale phase 1: 10% of users use the new version; gray level 2: 50% of users use the new version, and all users use the new version in the final stage.
需要说明的是:本发明实施例中的升级管理为一个逻辑功能实体,用来控制和协调整个灰度升级的过程,反馈不同阶段的结果。升级管理程序可以部署在不同的功能节点上,比如,部署在EM、NFVO、VNFM、或者VNF,具体不做限制。It should be noted that the upgrade management in the embodiment of the present invention is a logical functional entity, which is used to control and coordinate the entire grayscale upgrade process, and feedback the results of different phases. The upgrade management program can be deployed on different functional nodes, for example, deployed in EM, NFVO, VNFM, or VNF, without limitation.
步骤402,VNF收到灰度升级任务和灰度策略以后,根据当前所处的阶段,计算额外所需要的灰度资源(即确定待申请资源的数量);举例来说,假设灰度阶段1有10%的用户需要升级新版本处理,在VNF现有资源基础上,需要额外4个业务处理单元来处理,则需要新增4个某类型的虚拟机。Step 402: After receiving the grayscale upgrade task and the grayscale policy, the VNF calculates additional required grayscale resources according to the current phase (ie, determines the number of resources to be applied); for example, assumes that the grayscale phase 1 10% of users need to upgrade the new version. On the basis of VNF's existing resources, an additional 4 service processing units are required for processing. Four new types of virtual machines need to be added.
步骤403,VNF向VNFM发送资源确认消息,所述资源确认消息中包括待申请资源的数量,以便于向VNFM确认是否可以满足资源要求。Step 403: The VNF sends a resource confirmation message to the VNFM, where the resource confirmation message includes the number of resources to be applied, so as to confirm whether the resource requirement can be met to the VNFM.
步骤404,VNFM向NFVO发送确认消息,确认是否可以满足资源要求。In step 404, the VNFM sends an acknowledgement message to the NFVO to confirm whether the resource requirement can be met.
步骤405至步骤408,与图2中所描述的现有流程类似,NFVO确定当前的资源是否能满足VNFM发送的资源请求,并返回结果给VNFM;可选的步骤,NFVO可以到VIM去预留资源;Step 405 to step 408, similar to the existing process described in FIG. 2, the NFVO determines whether the current resource can satisfy the resource request sent by the VNFM, and returns the result to the VNFM; in an optional step, the NFVO can go to the VIM to reserve Resource
步骤409,作为对于步骤403的响应,VNFM向VNF返回对于灰度资源确认的结果;Step 409, as a response to step 403, the VNFM returns a result for the grayscale resource confirmation to the VNF;
步骤410,VNF根据VNFM返回的结果确定下一步的动作,例如,若当前资源可以满足要求,则VNF可以进一步请求VNFM创建新的虚拟资源,并执行步骤411;若当前资源不能满足要求,则VNF需要调整灰度策略(比如降低灰度用户的比例,即降低待申请资源的数量),或者返回结果给升级管理,由操作员人工干预(比如降低灰度用户比例)。Step 410: The VNF determines the next action according to the result returned by the VNFM. For example, if the current resource can meet the requirement, the VNF may further request the VNFM to create a new virtual resource, and perform step 411; if the current resource cannot meet the requirement, the VNF Need to adjust the grayscale strategy (such as reducing the proportion of grayscale users, that is, reducing the number of resources to be applied), or return the results to the upgrade management, manually intervention by the operator (such as reducing the proportion of grayscale users).
步骤411至步骤412,VNFM到VIM去申请虚拟资源并得到结果。Step 411 to step 412, the VNFM goes to the VIM to apply for the virtual resource and obtain the result.
步骤413,作为对于步骤410的响应,VNFM将虚拟资源申请结果发送给VNF。Step 413, in response to step 410, the VNFM sends the virtual resource application result to the VNF.
步骤414,VNF可将灰度资源申请结果发送给升级管理。In step 414, the VNF may send the grayscale resource application result to the upgrade management.
步骤415,升级管理开始启动对应的后续灰度升级的流程处理。In step 415, the upgrade management starts to start the process processing of the corresponding subsequent grayscale upgrade.
本发明实施例侧重于灰度升级中资源的管理,灰度升级的流程本身与现有流程相同,此处不做详细描述。The embodiment of the present invention focuses on the management of resources in the grayscale upgrade, and the process of the grayscale upgrade itself is the same as the existing process, and will not be described in detail herein.
步骤416至步骤417,当前阶段的灰度升级完成以后,开始进行当前阶段的灰度测试验证,VNF将灰度验证的结果上报给升级管理;Step 416 to step 417, after the gray level upgrade of the current stage is completed, the gray level test verification of the current stage is started, and the VNF reports the result of the gray level verification to the upgrade management;
步骤418至步骤419,升级管理启动灰度升级的下一个阶段;Step 418 to step 419, the upgrade management starts the next stage of the grayscale upgrade;
步骤420,VNF根据新阶段的灰度策略(比如此阶段需要50%的用户使用新版本)计算所额外需要的虚拟资源,即重复上述步骤402至步骤413的流程。In step 420, the VNF calculates the additionally required virtual resources according to the gray policy of the new stage (for example, 50% of the users need to use the new version at this stage), that is, repeats the processes of steps 402 to 413 described above.
在上述过程中,升级管理向VNF灰度升级请求消息,由VNF根据灰度升级请求消息确定出待申请资源的数量,并由VNFM基于确定出的待申请资源的数量进行资源申请,通过在资源申请过程中引入VNF和VNFM的交互,实现了灰度升级过程中动态确定需要申请的资源,有效解决了资源需求不断变化的问题。In the above process, the upgrade management sends a request message to the VNF grayscale upgrade request, and the VNF determines the number of resources to be applied according to the grayscale upgrade request message, and the VNFM performs resource application based on the determined number of resources to be applied, and passes the resource in the resource. The interaction between VNF and VNFM is introduced during the application process, which realizes the dynamic determination of the resources that need to be applied during the grayscale upgrade process, and effectively solves the problem of constantly changing resource requirements.
实施例二 Embodiment 2
图5为本发明实施例二提供的VNF实例创建方法所对应的流程示意图,如图5所示,该方法包括:FIG. 5 is a schematic flowchart of a method for creating a VNF instance according to Embodiment 2 of the present invention. As shown in FIG. 5, the method includes:
步骤501,VNF确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;Step 501: The VNF determines the number of resources to be applied, and generates a VNFD file according to the quantity of the to-be-applied resources;
步骤502,VNF向VNFM发送实例创建消息,所述实例创建消息用于所述VNFM根据所述VNFD文件创建VNF实例;Step 502: The VNF sends an instance creation message to the VNFM, where the instance creation message is used by the VNFM to create a VNF instance according to the VNFD file.
步骤503,VNFM接收VNF发送的实例创建消息;Step 503: The VNFM receives an instance creation message sent by the VNF.
步骤504,VNFM根据所述VNFD文件创建VNF实例;Step 504: The VNFM creates a VNF instance according to the VNFD file.
步骤505,VNFM向VNF发送创建响应消息,创建响应消息中包括所述VNF实例创建结果;Step 505: The VNFM sends a create response message to the VNF, where the create response message includes the VNF instance creation result.
步骤506,VNF接收所述VNFM返回的创建响应消息。Step 506: The VNF receives the creation response message returned by the VNFM.
本发明实施例在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,并生成VNFD文件,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于VNFD文件是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD文件的方式更加便捷可行。In the resource application process, the interaction between the VNF and the VNFM is introduced in the resource application process. The VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, and generate a VNFD file, so that the VNFM application resource can flexibly satisfy the resource. Dynamic changes in demand; and, since the VNFD file is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
为对上述过程进行具体说明,下面以灰度升级场景为例,结合图6进行详细描述。In order to specifically describe the above process, the grayscale upgrade scenario is taken as an example and described in detail with reference to FIG. 6.
本发明实施例中,图6中所示出的方案和图4中所示出的方案类似,不同之处在于灰度升级初始的第一阶段,VNF根据灰度策略计算灰度资源以后,根据灰度资源情况直接生成一个新的VNFD,上传到VNFM,并请求VNFM按照此VNFD部署一个新的灰度VNF实例,因此,图6中所示出的方案适用于需要创建一个额外的VNF灰度实例的场景。In the embodiment of the present invention, the scheme shown in FIG. 6 is similar to the scheme shown in FIG. 4, except that the first stage of the grayscale upgrade is initial, after the VNF calculates the grayscale resource according to the grayscale policy, according to The grayscale resource situation directly generates a new VNFD, uploads it to VNFM, and requests VNFM to deploy a new grayscale VNF instance according to this VNFD. Therefore, the scheme shown in Figure 6 is suitable for creating an additional VNF grayscale. The scenario of the instance.
步骤601,升级管理给VNF下发灰度升级任务开始的灰度升级请求消息请求,灰度升级请求消息中可以包含灰度升级的不同阶段,以及对应的灰度策略;比如,灰度阶段1:有10%的用户使用新版本;灰度阶段2:有50%的用户使用新版本,最终阶段全部用户使用新版本。Step 601, the upgrade management sends a grayscale upgrade request message request to the VNF to issue a grayscale upgrade task, and the grayscale upgrade request message may include different stages of grayscale upgrade, and corresponding grayscale policies; for example, grayscale phase 1 : 10% of users use the new version; gray level 2: 50% of users use the new version, and all users use the new version in the final stage.
需要说明的是:本发明实施例中的升级管理为一个逻辑功能实体,用来控制和协调整个 灰度升级的过程,反馈不同阶段的结果。升级管理程序可以部署在不同的功能节点上,比如,部署在EM、NFVO、VNFM、或者VNF,具体不做限制。It should be noted that the upgrade management in the embodiment of the present invention is a logical functional entity, which is used to control and coordinate the entire grayscale upgrade process, and feedback the results of different phases. The upgrade management program can be deployed on different functional nodes, for example, deployed in EM, NFVO, VNFM, or VNF, without limitation.
步骤602,VNF收到灰度升级任务和灰度策略以后,根据当前所处的阶段,计算所额外需要的灰度资源(即确定待申请资源的数量),并根据灰度升级所需要的资源要求,生成一个新的VNFD文件。Step 602: After receiving the grayscale upgrade task and the grayscale policy, the VNF calculates the additional required grayscale resources (that is, determines the number of resources to be applied) according to the current stage, and upgrades the required resources according to the grayscale. Request to generate a new VNFD file.
步骤603,VNF向VNFM发送实例创建消息,用于将新的VNFD文件上传给VNFM,并请求VNFM根据新的VNFD文件部署一个新的灰度VNF实例。Step 603: The VNF sends an instance creation message to the VNFM for uploading the new VNFD file to the VNFM, and requests the VNFM to deploy a new grayscale VNF instance according to the new VNFD file.
步骤604,VNFM向NFVO发送确认消息,确认是否可以满足资源要求。In step 604, the VNFM sends an acknowledgement message to the NFVO to confirm whether the resource requirement can be met.
步骤605至步骤610,与图2中所描述的现有流程类似,NFVO确定当前的资源是否能满足VNFM发送的资源请求,并返回结果给VNFM;可选的步骤,NFVO可以到VIM去预留资源;VNFM到VIM去申请资源创建一个新的VNF实例。Step 605 to step 610, similar to the existing process described in FIG. 2, the NFVO determines whether the current resource can satisfy the resource request sent by the VNFM, and returns the result to the VNFM; in an optional step, the NFVO can go to the VIM to reserve Resources; VNFM to VIM to apply for resources to create a new VNF instance.
步骤611,VNFM将创建VNF实例的结果通知给VNF。In step 611, the VNFM notifies the VNF of the result of creating the VNF instance.
步骤612,VNF根据VNFM返回的结果确定下一步的动作,例如,若当前灰度VNF实例创建成功,则可通知升级管理灰度资源申请完成,并执行步骤613;若当前灰度VNF实例创建不成功,则VNF需要调整灰度策略(比如降低灰度用户的比例),或者返回结果给升级管理,由操作员人工干预(比如降低灰度用户比例)。Step 612, the VNF determines the next action according to the result returned by the VNFM. For example, if the current grayscale VNF instance is successfully created, the upgrade management grayscale resource application completion may be notified, and step 613 is performed; if the current grayscale VNF instance is created, If successful, the VNF needs to adjust the grayscale strategy (such as reducing the proportion of grayscale users), or return the results to the upgrade management, manually intervention by the operator (such as reducing the proportion of grayscale users).
步骤613,升级管理开始启动对应的后续灰度升级的流程处理。本发明实施例侧重于灰度升级中资源的管理,灰度升级的流程本身与现有流程相同,此处不做详细描述。In step 613, the upgrade management starts to start the process processing of the corresponding subsequent grayscale upgrade. The embodiment of the present invention focuses on the management of resources in the grayscale upgrade, and the process of the grayscale upgrade itself is the same as the existing process, and will not be described in detail herein.
步骤614至步骤616,当前阶段的灰度升级完成以后,开始进行当前阶段的灰度测试验证,VNF将灰度验证的结果上报给升级管理;Step 614 to step 616, after the gray level upgrade of the current stage is completed, the gray level test verification of the current stage is started, and the VNF reports the result of the gray level verification to the upgrade management;
步骤616至步骤617,升级管理启动灰度升级的下一个阶段;Step 616 to step 617, the upgrade management starts the next stage of the grayscale upgrade;
步骤618,VNF根据新阶段的灰度策略(比如此阶段需要50%的用户使用新版本)计算所额外需要的虚拟资源,即重复上述步骤602至步骤611的流程。In step 618, the VNF calculates the additionally required virtual resources according to the gray policy of the new stage (for example, 50% of the users need to use the new version at this stage), that is, repeats the processes of steps 602 to 611 above.
在上述过程中,升级管理向VNF灰度升级请求消息,由VNF根据灰度升级请求消息确定出待申请资源的数量,并生成新的VNFD文件,由VNFM基于生成的VNFD文件创建新的VNF实例,通过在VNF实例创建过程中引入VNF和VNFM的交互,实现了灰度升级过程中动态确定需要申请的资源,即动态确定VNFD文件,有效解决了资源需求不断变化的问题。In the above process, the upgrade management sends a VNF grayscale upgrade request message, and the VNF determines the number of resources to be applied according to the grayscale upgrade request message, and generates a new VNFD file, and the VNFM creates a new VNF instance based on the generated VNFD file. By introducing the interaction between VNF and VNFM in the VNF instance creation process, the resources that need to be applied dynamically are determined during the grayscale upgrade process, that is, the VNFD file is dynamically determined, which effectively solves the problem of constantly changing resource requirements.
针对上述方法流程,本发明实施例还提供一种服务器,该服务器的具体内容可以参照上述方法实施。The embodiment of the present invention further provides a server, and the specific content of the server may be implemented by referring to the foregoing method.
图7为本发明实施例三提供的一种服务器的结构示意图,如图7所示,所述服务器700中包括VNF701和VNFM702,所述VNF701用于执行上述实施例一中VNF所执行的相关功能,具体为:FIG. 7 is a schematic structural diagram of a server according to Embodiment 3 of the present invention. As shown in FIG. 7, the server 700 includes a VNF 701 and a VNFM 702, where the VNF 701 is configured to perform related functions performed by the VNF in the foregoing Embodiment 1. ,Specifically:
所述VNF701,用于确定待申请资源的数量,并向所述VNFM702发送资源申请消息;所述资源申请消息中包括所述待申请资源的数量;The VNF 701 is configured to determine a quantity of a resource to be applied, and send a resource application message to the VNFM 702. The resource application message includes the quantity of the to-be-applied resource;
所述VNFM702,用于接收所述VNF701发送的所述资源申请消息,并根据所述待申请资源的数量进行资源申请,以及向所述VNF701发送申请响应消息,所述申请响应消息为资源申请成功响应或资源申请失败响应。The VNFM 702 is configured to receive the resource application message sent by the VNF 701, and perform a resource application according to the quantity of the to-be-requested resource, and send an application response message to the VNF 701, where the application response message is that the resource application is successful. Response or resource request failure response.
所述VNF701还用于接收所述VNFM702返回的申请响应消息。The VNF 701 is further configured to receive an application response message returned by the VNFM 702.
可选地,所述VNF701具体用于:Optionally, the VNF 701 is specifically configured to:
接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
可选地,所述VNF701向VNFM702发送资源申请消息之前,还用于:Optionally, before the VNF 701 sends the resource request message to the VNFM 702, the VNF 701 is further configured to:
向所述VNFM702发送资源确认消息,所述资源确认消息中包括所述待申请资源的数量;Sending a resource confirmation message to the VNFM 702, where the resource confirmation message includes the quantity of the to-be-applied resource;
接收所述VNFM702返回的确认响应消息;Receiving an acknowledgment response message returned by the VNFM 702;
若根据所述确认响应消息确定当前资源不满足所述待申请资源的数量的要求,则降低所述待申请资源的数量。If the requirement that the current resource does not satisfy the quantity of the to-be-applied resource is determined according to the confirmation response message, the quantity of the to-be-applied resource is decreased.
图8为本发明实施例四提供的一种服务器的结构示意图,如图8所示,所述服务器800中包括VNF801和VNFM802,所述VNF801用于执行上述实施例二中VNF所执行的相关功能,具体为:FIG. 8 is a schematic structural diagram of a server according to Embodiment 4 of the present invention. As shown in FIG. 8, the server 800 includes a VNF 801 and a VNFM 802, where the VNF 801 is configured to perform related functions performed by the VNF in the foregoing Embodiment 2. ,Specifically:
所述VNF801,用于确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;以及,向所述VNFM802发送实例创建消息,所述实例创建消息中包括所述VNFD文件;The VNF 801 is configured to determine a quantity of a resource to be applied, and generate a VNFD file according to the quantity of the to-be-applied resource; and send an instance creation message to the VNFM 802, where the VNFD file is included in the instance creation message;
所述VNFM802,用于接收VNF801发送的实例创建消息,根据所述VNFD文件创建VNF实例,并向所述VNF801发送创建响应消息,所述创建响应消息为VNF实例创建成功响应或VNF实例创建失败响应;The VNFM 802 is configured to receive an instance creation message sent by the VNF 801, create a VNF instance according to the VNFD file, and send a create response message to the VNF 801, where the create response message is a VNF instance creation success response or a VNF instance creation failure response. ;
所述VNF801接收所述VNFM802返回的创建响应消息。The VNF 801 receives a create response message returned by the VNFM 802.
可选地,所述VNF801具体用于:Optionally, the VNF 801 is specifically configured to:
接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
可选地,所述VNF801接收所述VNFM802返回的创建响应消息之后,还用于:Optionally, after receiving the creation response message returned by the VNFM 802, the VNF 801 is further configured to:
若根据所述创建响应消息,确定所述VNF实例创建失败,则降低所述待申请资源的数量。If it is determined that the VNF instance creation fails according to the creating a response message, the number of resources to be applied is decreased.
由上述内容可以看出:本发明实施例中,VNF确定待申请资源的数量后,向VNFM发送资源申请消息,所述资源申请消息用于VNFM根据待申请资源的数量进行资源申请;以及,VNF接收VNFM返回的资源申请结果;由此可知,本发明实施例中在资源申请过程中,引入了VNF和VNFM之间的交互,由于VNF能够根据资源需求,灵活确定待申请资源的数量,从而使得VNFM申请的资源能够灵活满足资源需求的动态变化;且,由于待申请资源的数量是由VNF动态生成的,相对于现有技术中事先通过人工准备VNFD文件的方式更加便捷可行。It can be seen from the foregoing that, in the embodiment of the present invention, after determining the number of resources to be applied, the VNF sends a resource application message to the VNFM, where the resource application message is used by the VNFM to apply for resources according to the quantity of resources to be applied; and, the VNF Receiving the resource application result returned by the VNFM; thus, in the embodiment of the present invention, the interaction between the VNF and the VNFM is introduced in the resource application process, and the VNF can flexibly determine the quantity of the resource to be applied according to the resource requirement, thereby making The VNFM application resources can flexibly meet the dynamic changes of resource requirements. Moreover, since the number of resources to be applied is dynamically generated by the VNF, it is more convenient and feasible to manually prepare the VNFD file in advance than in the prior art.
本领域内的技术人员应明白,本发明实施例可提供为方法、***、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the invention may be provided as a method, system, or computer program product. Thus, embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明实施例是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产 生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the present invention without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the embodiments of the invention.

Claims (12)

  1. 一种资源申请方法,其特征在于,所述方法包括:A resource application method, the method comprising:
    虚拟网络功能VNF确定待申请资源的数量;The virtual network function VNF determines the number of resources to be applied;
    所述VNF向VNF管理器VNFM发送资源申请消息,所述资源申请消息用于所述VNFM根据所述待申请资源的数量进行资源申请;The VNF sends a resource request message to the VNF manager VNFM, where the resource request message is used by the VNFM to perform resource application according to the quantity of the to-be-applied resource;
    所述VNF接收所述VNFM返回的申请响应消息,所述申请响应消息中包括资源申请成功响应或资源申请失败响应。The VNF receives an application response message returned by the VNFM, where the application response message includes a resource application success response or a resource application failure response.
  2. 根据权利要求1所述的方法,其特征在于,所述VNF确定待申请资源的数量,包括:The method according to claim 1, wherein the VNF determines the number of resources to be applied, including:
    所述VNF接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;The VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
    所述VNF根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。The VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  3. 根据权利要求1或2所述的方法,其特征在于,所述VNF向VNFM发送资源申请消息之前,还包括:The method according to claim 1 or 2, wherein before the VNF sends a resource request message to the VNFM, the method further includes:
    所述VNF向所述VNFM发送资源确认消息,所述资源确认消息中包括所述待申请资源的数量;The VNF sends a resource confirmation message to the VNFM, where the resource confirmation message includes the quantity of the to-be-applied resource;
    所述VNF接收所述VNFM返回的确认响应消息;The VNF receives an acknowledgment response message returned by the VNFM;
    若所述VNF根据所述确认响应消息确定当前资源不满足所述待申请资源的数量的要求,则降低所述待申请资源的数量。And if the VNF determines, according to the confirmation response message, that the current resource does not meet the requirement of the quantity of the to-be-applied resource, reducing the quantity of the to-be-applied resource.
  4. 一种VNF实例创建方法,其特征在于,所述方法包括:A method for creating a VNF instance, the method comprising:
    VNF确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;The VNF determines the number of resources to be applied, and generates a VNFD file according to the quantity of the to-be-applied resources;
    所述VNF向VNFM发送实例创建消息,所述实例创建消息用于所述VNFM根据所述VNFD文件创建VNF实例;The VNF sends an instance creation message to the VNFM, where the instance creation message is used by the VNFM to create a VNF instance according to the VNFD file;
    所述VNF接收所述VNFM返回的创建响应消息,所述创建响应消息为VNF实例创建成功响应或VNF实例创建失败响应。The VNF receives a create response message returned by the VNFM, and the create response message is a VNF instance creation success response or a VNF instance creation failure response.
  5. 根据权利要求4所述的方法,其特征在于,所述VNF确定待申请资源的数量,包括:The method according to claim 4, wherein the VNF determines the number of resources to be applied, including:
    所述VNF接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;The VNF receives a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
    所述VNF根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。The VNF determines the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  6. 根据权利要求4或5所述的方法,其特征在于,所述VNF接收所述VNFM返回的创建响应消息之后,还包括:The method according to claim 4 or 5, wherein after the VNF receives the creation response message returned by the VNFM, the method further includes:
    若所述VNF根据所述创建响应消息,确定所述VNF实例创建失败,则降低所述待申请资源的数量。If the VNF determines that the VNF instance creation fails according to the creation response message, the number of resources to be applied is decreased.
  7. 一种服务器,其特征在于,所述服务器包括VNF和VNFM;A server, characterized in that the server comprises a VNF and a VNFM;
    所述VNF,用于确定待申请资源的数量,并向所述VNFM发送资源申请消息;所述资源申请消息中包括所述待申请资源的数量;The VNF is configured to determine a quantity of the to-be-applied resource, and send a resource application message to the VNFM, where the resource application message includes the quantity of the to-be-applied resource;
    所述VNFM,用于接收所述VNF发送的所述资源申请消息,并根据所述待申请资源的数量进行资源申请,以及向所述VNF发送申请响应消息,所述申请响应消息为资源申请成功响应或资源申请失败响应;The VNFM is configured to receive the resource application message sent by the VNF, and perform a resource application according to the quantity of the to-be-applied resource, and send an application response message to the VNF, where the application response message is that the resource application is successful. Response or resource request failure response;
    所述VNF还用于接收所述VNFM返回的申请响应消息。The VNF is further configured to receive an application response message returned by the VNFM.
  8. 根据权利要求7所述的服务器,其特征在于,所述VNF具体用于:The server according to claim 7, wherein the VNF is specifically used to:
    接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
    根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  9. 根据权利要求7所述的服务器,其特征在于,所述VNF向VNFM发送资源申请消息之前,还用于:The server according to claim 7, wherein before the VNF sends a resource request message to the VNFM, the VNF is further configured to:
    向所述VNFM发送资源确认消息,所述资源确认消息中包括所述待申请资源的数量;Sending a resource confirmation message to the VNFM, where the resource confirmation message includes the quantity of the to-be-applied resource;
    接收所述VNFM返回的确认响应消息;Receiving an acknowledgment response message returned by the VNFM;
    若根据所述确认响应消息确定当前资源不满足所述待申请资源的数量的要求,则降低所述待申请资源的数量。If the requirement that the current resource does not satisfy the quantity of the to-be-applied resource is determined according to the confirmation response message, the quantity of the to-be-applied resource is decreased.
  10. 一种服务器,其特征在于,所述服务器包括VNF和VNFM;A server, characterized in that the server comprises a VNF and a VNFM;
    所述VNF,用于确定待申请资源的数量,并根据所述待申请资源的数量生成VNFD文件;以及,向所述VNFM发送实例创建消息,所述实例创建消息中包括所述VNFD文件;The VNF is configured to determine a quantity of the to-be-applied resource, and generate a VNFD file according to the quantity of the to-be-applied resource; and send an instance creation message to the VNFM, where the VNFD file is included in the instance creation message;
    所述VNFM,用于接收VNF发送的实例创建消息,根据所述VNFD文件创建VNF实例,并向所述VNF发送创建响应消息,所述创建响应消息为VNF实例创建成功响应或VNF实例创建失败响应;The VNFM is configured to receive an instance creation message sent by the VNF, create a VNF instance according to the VNFD file, and send a create response message to the VNF, where the create response message is a VNF instance creation success response or a VNF instance creation failure response. ;
    所述VNF接收所述VNFM返回的创建响应消息。The VNF receives a create response message returned by the VNFM.
  11. 根据权利要求10所述的服务器,其特征在于,所述VNF具体用于:The server according to claim 10, wherein the VNF is specifically used to:
    接收灰度升级请求消息,所述灰度升级请求消息中包括灰度升级阶段及所述灰度升级阶段对应的灰度策略;Receiving a grayscale upgrade request message, where the grayscale upgrade request message includes a grayscale upgrade phase and a grayscale policy corresponding to the grayscale upgrade phase;
    根据所述灰度升级阶段和所述灰度策略,确定所述待申请资源的数量。Determining the number of resources to be applied according to the grayscale upgrade phase and the grayscale policy.
  12. 根据权利要求10所述的服务器,其特征在于,所述VNF接收所述VNFM返回的创建响应消息之后,还用于:The server according to claim 10, wherein after receiving the creation response message returned by the VNFM, the VNF is further configured to:
    若根据所述创建响应消息,确定所述VNF实例创建失败,则降低所述待申请资源的数量。If it is determined that the VNF instance creation fails according to the creating a response message, the number of resources to be applied is decreased.
PCT/CN2018/077067 2017-02-23 2018-02-23 Resource application and vnf instance creation method and apparatus WO2018153354A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710099214.2A CN108471373B (en) 2017-02-23 2017-02-23 Resource application and VNF instance creation method and device
CN201710099214.2 2017-02-23

Publications (1)

Publication Number Publication Date
WO2018153354A1 true WO2018153354A1 (en) 2018-08-30

Family

ID=63252407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077067 WO2018153354A1 (en) 2017-02-23 2018-02-23 Resource application and vnf instance creation method and apparatus

Country Status (2)

Country Link
CN (1) CN108471373B (en)
WO (1) WO2018153354A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020048504A1 (en) * 2018-09-05 2020-03-12 中兴通讯股份有限公司 Method and apparatus for deploying resource required for network function, storage medium, and electronic device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404715B (en) * 2019-01-02 2023-03-31 ***通信有限公司研究院 Network service instantiation method and device, electronic equipment and storage medium
CN111953503B (en) * 2019-05-14 2023-04-07 中国电信股份有限公司 NFV resource deployment arrangement method and network function virtualization orchestrator
CN112217654B (en) * 2019-07-11 2022-06-07 华为技术有限公司 Service resource license management method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471649A (en) * 2015-12-03 2016-04-06 深圳市金立通信设备有限公司 Virtual network performance monitoring system and method, and related equipment
CN105703927A (en) * 2014-11-25 2016-06-22 华为软件技术有限公司 Resource allocation method, network device and network system
WO2016119242A1 (en) * 2015-01-30 2016-08-04 华为技术有限公司 Method, device and system for obtaining virtual resources
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219127B (en) * 2014-08-30 2018-06-26 华为技术有限公司 A kind of creation method and equipment of virtual network example
CN105429839B (en) * 2014-09-09 2019-11-19 中兴通讯股份有限公司 Virtualize network function VNF optimization method, apparatus and system
CN105812171B (en) * 2014-12-31 2019-06-11 华为技术有限公司 A kind of the network function VNF control method and equipment of virtualization
CN105429780B (en) * 2015-10-30 2019-04-23 南京优速网络科技有限公司 A method of virtualization network service business automatically generates and dynamic monitors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703927A (en) * 2014-11-25 2016-06-22 华为软件技术有限公司 Resource allocation method, network device and network system
WO2016119242A1 (en) * 2015-01-30 2016-08-04 华为技术有限公司 Method, device and system for obtaining virtual resources
CN105471649A (en) * 2015-12-03 2016-04-06 深圳市金立通信设备有限公司 Virtual network performance monitoring system and method, and related equipment
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020048504A1 (en) * 2018-09-05 2020-03-12 中兴通讯股份有限公司 Method and apparatus for deploying resource required for network function, storage medium, and electronic device
RU2764288C1 (en) * 2018-09-05 2022-01-17 Зте Корпорейшн Method for deploying a resource required for a network function, a data carrier and an electronic device

Also Published As

Publication number Publication date
CN108471373A (en) 2018-08-31
CN108471373B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US10700928B2 (en) Method and apparatus for deploying service in virtualized network
US11429408B2 (en) System and method for network function virtualization resource management
US10944621B2 (en) Orchestrator for a virtual network platform as a service (VNPAAS)
US9760391B2 (en) Method and apparatus for network virtualization
WO2018001049A1 (en) Virtual network function deployment method, device and system adopting network edge computing
WO2018153354A1 (en) Resource application and vnf instance creation method and apparatus
WO2017181876A1 (en) Device state and resource information monitoring method, related device, and system
JP6549787B2 (en) Method and apparatus for deploying network services
US10742502B2 (en) Software modification initiation method, and metadata release method and apparatus
EP3313023B1 (en) Life cycle management method and apparatus
US10291462B1 (en) Annotations for intelligent data replication and call routing in a hierarchical distributed system
WO2016184045A1 (en) Method and apparatus for network service capacity expansion
WO2018006676A1 (en) Acceleration resource processing method and apparatus and network function virtualization system
US20210389970A1 (en) Vnf lifecycle management method and apparatus
WO2017113201A1 (en) Network service lifecycle management method and device
WO2013104217A1 (en) Cloud infrastructure based management system and method for performing maintenance and deployment for application system
WO2016183799A1 (en) Hardware acceleration method and relevant device
WO2017080439A1 (en) Method and device for flexibly authorizing network functions
WO2020108443A1 (en) Virtualization management method and device
WO2016183832A1 (en) Network service instantiation method and device
CN111399968B (en) Virtual resource management method, device and system based on container
WO2017011938A1 (en) Virtual network function capacity expansion method and apparatus
KR20180058458A (en) Virtualized network function management method and virtualized network function manager using TOSCA based information model, and network function virtualization system using the same
WO2020077585A1 (en) Vnf service instantiation method and apparatus
WO2018120222A1 (en) Vnffg management method, device and system

Legal Events

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

Ref document number: 18757281

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18757281

Country of ref document: EP

Kind code of ref document: A1