CN108881338B - Method and device for upgrading network function virtualization mirror image file - Google Patents

Method and device for upgrading network function virtualization mirror image file Download PDF

Info

Publication number
CN108881338B
CN108881338B CN201710327717.0A CN201710327717A CN108881338B CN 108881338 B CN108881338 B CN 108881338B CN 201710327717 A CN201710327717 A CN 201710327717A CN 108881338 B CN108881338 B CN 108881338B
Authority
CN
China
Prior art keywords
image
upgrading
vnf
upgrade
vnfm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710327717.0A
Other languages
Chinese (zh)
Other versions
CN108881338A (en
Inventor
陈真清
魏文焕
席轶敏
齐磊
寿业勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710327717.0A priority Critical patent/CN108881338B/en
Publication of CN108881338A publication Critical patent/CN108881338A/en
Application granted granted Critical
Publication of CN108881338B publication Critical patent/CN108881338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for upgrading a network function virtualization mirror image file, which comprises the following steps: when image upgrading operation is triggered (such as VNF image upgrading is triggered through EMS), calling a defined image management interface, generating a first image upgrading request, sending the first image upgrading request to a VNF to be upgraded, and indicating the VNF to be upgraded for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines; after the VNF to be upgraded is successfully upgraded, a second image upgrading request is generated and sent to a VNFM corresponding to the VNF to be upgraded, and the VNFM is instructed to be upgraded, wherein the second image upgrading request and the first image upgrading request designate the same upgrading image file; and receiving a second image upgrading response returned by the VNFM after upgrading, and confirming whether the triggered image upgrading operation is successful or not according to the second image upgrading response. The invention also discloses a device for upgrading the network function virtualization mirror image file. The invention can efficiently carry out image upgrading on instantiated and/or un-instantiated virtual machines.

Description

Method and device for upgrading network function virtualization mirror image file
Technical Field
The invention relates to the field of network function virtualization, in particular to a method and a device for upgrading a network function virtualization image file.
Background
In a conventional telecommunication Network, a Network Element Management system (hereinafter abbreviated as EMS or abbreviated as EM) is a core Management system of a Network Element (hereinafter abbreviated as NE) and is responsible for functions of monitoring, error logging, configuration, accounting, performance, safety and the like of the Network Element, and version Management of service application of the Network Element is also responsible for by the EMS. When the service application needs to be upgraded, operation and maintenance personnel mainly execute the service version upgrade through an EMS operation interface.
In a Network Function Virtualization (NFV) architecture, Network element deployment is handled by an NFV management and orchestrator (MANO). Operation and maintenance personnel complete network element deployment through an operation interface of an NFV orchestrator (NFV organization, hereinafter referred to as NFVO), wherein a network element deployment package includes a service application version in a traditional network and also includes a mirror image file, and the mirror image file provides an operating environment for the service application, such as a client operating system, basic software, hardware version parameters, and the like. Along with the addition of an application function or fault repair, a matched image file may also be required, so that under the NFV architecture, network element upgrade includes upgrading an image version in addition to upgrading a service version.
In the NFV architecture promulgated by the European Telecommunications Standards Institute (ETSI for short), as shown in fig. 1, Network element image upgrades can update image files in VIM through an interface Or-VNFM between an NFVO and a Virtual Network Function Manager (VNFM for short), and an interface Or-Vi between the VNFM and a virtualization infrastructure Manager (VIM for short).
Under the NFV architecture, although the network element application is deployed through the MANO, the EMS still needs to assume the original management function of the network element application, so there are several problems:
1. under the scene that the application and the mirror image need to be upgraded at the same time, operation and maintenance personnel need to respectively execute application upgrading and mirror image upgrading from different operation interfaces (EMS and NFVO), and for a large-scale deployed virtual machine in a telecommunication environment, the multiple operations obviously bring inconvenience to the operation and maintenance personnel and are not beneficial to automatic operation.
2. Only the image in the image repository can be upgraded on the MANO, and the image in the image repository can only be valid for the virtual machine that is not created (such as a self-healing or elastically generated virtual machine). For the virtual machine which is already instantiated cannot be effective, the image of the virtual machine cannot be upgraded in this way.
Disclosure of Invention
The invention mainly aims to provide a method and a device for upgrading a network function virtualization image file, and aims to efficiently realize image upgrading of instantiated or un-instantiated virtual machines.
In order to achieve the above object, the present invention provides a method for upgrading a network function virtualization image file, which is applied to an element management system EMS, and firstly defines an image management interface between the EMS and a virtual network function VNF as well as a virtual network function manager VNFM, and the method includes the following steps:
when image upgrading operation is triggered, calling the image management interface, generating a first image upgrading request, and sending the first image upgrading request to a VNF to be upgraded so as to instruct the VNF to be upgraded to acquire an upgrading image file specified by the first image upgrading request for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines;
after the VNF to be upgraded is successfully upgraded and a first image upgrading response generated and returned by calling the image management interface is received, calling the image management interface to generate a second image upgrading request, and sending the second image upgrading request to a VNFM corresponding to the VNF to be upgraded so as to instruct the VNFM to acquire an upgrading image file specified by the second image upgrading request for upgrading, wherein the second image upgrading request and the first image upgrading request specify the same upgrading image file;
and after the VNFM is upgraded, calling a second image upgrading response generated and returned by the image management interface to confirm whether the triggered image upgrading operation is successful or not according to the second image upgrading response.
Optionally, before the step of invoking the image management interface and generating the first image upgrade request, the method further includes:
when the image upgrading operation is triggered, uploading an upgrading image file corresponding to the triggered image upgrading operation to an image server;
the step of calling the image management interface and generating a first image upgrading request comprises the following steps:
calling the image management interface to generate a first image upgrading request carrying a downloading address of the upgrading image file;
the step of calling the image management interface and generating a second image upgrading request comprises the following steps:
and calling the image management interface to generate a second image upgrading request carrying the downloading address of the upgrading image file.
Optionally, the step of uploading the upgrade image file corresponding to the triggered image upgrade operation to the image server includes:
calculating the message digest of the upgrade image file, and packaging the calculated message digest and the upgrade image file into an upgrade package;
and uploading the upgrade package to the image server, so that after the VNF to be upgraded and the VNFM are downloaded to the upgrade package, an upgrade image file and a message digest carried by the upgrade package are analyzed, the message digest of the upgrade image file and the analyzed message digest are calculated and compared, and after the comparison is successful, the upgrade is performed.
Optionally, the method further comprises:
when a mirror version query operation is triggered, calling the mirror management interface, generating a mirror query request carrying identification information of a target virtual machine, and sending the mirror query request to a corresponding VNF to be queried or a corresponding VNFM to be queried, so that the VNF to be queried or the VNFM to be queried can be queried to obtain a mirror version number of the target virtual machine based on the identification information;
and receiving the mirror version number of the target virtual machine returned by the VNF to be inquired or the VNFM to be inquired, and displaying.
Optionally, after the step of sending the second image upgrade request to the VNFM, the method further includes:
when the sending of the second image upgrading request to the VNFM fails, the second image upgrading request is sent to the VNF to be upgraded, and the VNF to be upgraded is instructed to forward the second image upgrading request to the VNFM.
In addition, to achieve the above object, the present invention further provides a device for upgrading a network function virtualization NFV image file, which is applied to an element management system EMS, and first defines an image management interface between the EMS and a virtual network function VNF and a virtual network function manager VNFM, and the device includes:
the image upgrading module is used for calling the image management interface when image upgrading operation is triggered, generating a first image upgrading request, and sending the first image upgrading request to a VNF to be upgraded so as to indicate the VNF to be upgraded to acquire an upgrading image file specified by the first image upgrading request for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines; the VNF upgrading method comprises the steps that after the VNF to be upgraded is successfully upgraded and is received, when a first image upgrading response generated and returned by the image management interface is called, a second image upgrading request is generated, the second image upgrading request is sent to a VNFM corresponding to the VNF to be upgraded, and the VNFM is instructed to acquire an upgrading image file designated by the second image upgrading request, wherein the second image upgrading request and the first image upgrading request designate the same upgrading image file;
and the image checking module is used for receiving a second image upgrading response generated and returned by calling the image management interface after the VNFM is upgraded so as to confirm whether the triggered image upgrading operation is successful or not according to the second image upgrading response.
Optionally, the image upgrading module is further configured to, when image upgrading operation is triggered, upload an upgrade image file corresponding to the triggered image upgrading operation to the image server; the image management interface is also used for calling the image management interface to generate a first image upgrading request carrying the downloading address of the upgrading image file; and the mirror image management interface is also used for calling to generate a second mirror image upgrading request carrying the downloading address of the upgrading mirror image file.
Optionally, the image upgrading module is further configured to calculate a message digest of the upgrade image file, and package the calculated message digest and the upgrade image file into an upgrade package; and the upgrading module is further used for uploading the upgrading package to the image server so that the VNF to be upgraded and the VNFM are downloaded to the upgrading package, then the upgrading image file and the message digest carried by the upgrading package are analyzed, the message digest of the upgrading image file is calculated and compared with the analyzed message digest, and the upgrading is carried out after the comparison is successful.
Optionally, the apparatus further comprises:
the image query module is used for calling the image management interface when image version query operation is triggered, generating an image query request carrying identification information of a target virtual machine, sending the image query request to a corresponding VNF to be queried or a corresponding VNFM to be queried, and querying an image version number of the target virtual machine based on the identification information; and the virtual machine management module is further configured to receive the mirror version number of the target virtual machine returned by the VNF to be queried or the VNFM to be queried, and display the mirror version number.
Optionally, the image upgrade module is further configured to, when sending the second image upgrade request to the VNFM fails, send the second image upgrade request to the VNF to be upgraded, and instruct the VNF to be upgraded to forward the second image upgrade request to the VNFM.
The method and the device for upgrading the network function virtualization image file can realize the simultaneous upgrading of the network element service version and the image file version based on EMS by calling the defined image management interface, simplify the operation and maintenance personnel operation steps for large-scale deployed virtual machines or virtual machines with complex upgrading process, simultaneously can perform image upgrading on the virtual machines under the condition of not canceling/newly building the virtual machines, are suitable for smoothly upgrading the state virtual machines with process data, do not need to newly build the virtual machines, and do not occupy additional hardware resources. Therefore, the invention can efficiently carry out image upgrading on the instantiated and/or un-instantiated virtual machines.
Drawings
FIG. 1 is a schematic flow chart of upgrading an image file in the prior art;
FIG. 2 is a block diagram of an exemplary network function virtualization image file upgrade apparatus according to a first embodiment of the present invention;
fig. 3 is a diagram illustrating an exemplary architecture of a network function virtualization NFV in a first embodiment of an apparatus for upgrading a network function virtualization image file according to the present invention;
FIG. 4 is a schematic diagram of interfaces between components in a first embodiment of an apparatus for upgrading a network function virtualization image file according to the present invention;
fig. 5 is a flowchart illustrating a method for upgrading a network function virtualization image file according to a first embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a device for upgrading Network Function Virtualization (NFV) image files, which is applied to a Network Element Management System (EMS), and firstly defines an image Management interface between the EMS and a Virtual Network Function (VNF) and a VNF Manager (VNF Manager, VNFM), and referring to fig. 2, in a first embodiment of the invention, the device comprises:
the image upgrading module 10 is configured to, when an image upgrading operation is triggered, invoke the image management interface, generate a first image upgrading request, and send the first image upgrading request to the VNF to be upgraded, so as to instruct the VNF to be upgraded to acquire an upgrade image file specified by the first image upgrading request for upgrading, where the VNF to be upgraded includes instantiated virtual machines and non-instantiated virtual machines; the VNF upgrading method comprises the steps that after the VNF to be upgraded is successfully upgraded and is received, when a first image upgrading response generated and returned by the image management interface is called, a second image upgrading request is generated, the second image upgrading request is sent to a VNFM corresponding to the VNF to be upgraded, the VNFM is instructed to acquire an upgrading image file designated by the second image upgrading request for upgrading, and the second image upgrading request and the first image upgrading request designate the same upgrading image file;
the image checking module 20 is configured to receive a second image upgrade response generated and returned by calling the image management interface after the VNFM is upgraded, so as to determine whether the triggered image upgrade operation is successful according to the second image upgrade response;
wherein the image file upgrading operation executed by the VNFM includes:
the VNFM uploads the obtained upgrade image file to a preset image file library, updates related image information stored locally in the VNFM based on the upgrade image file, and updates related image information reserved on a VNF descriptor VNFD and an NFV orchestrator NFVO.
For the understanding of the scheme of the present invention, the NFV architecture related to the present invention is first described below, and as shown in fig. 3, the NFV architecture is composed of the following functional components:
the NFV Infrastructure (NFVI) provides The virtualized resources needed to support The execution of NFV, including The hardware for Commercial Off The Shelf (COTS), The necessary accelerator components, and a software layer that virtualizes and abstracts The underlying hardware.
The VNF is a software implementation of a Network Function (NF) that can run on the NFVI, and may be accompanied by an Element Management System (EMS) module to understand and manage the individual VNF and its characteristics. VNFs are entities of network nodes that are expected to be delivered in pure software free of hardware dependence.
NFV Management and Orchestration (M & O or MANO) includes Orchestration, lifecycle Management of physical and/or software resources supporting infrastructure virtualization, and lifecycle Management of VNFs. The NFV MANO focuses on virtualizing specific management tasks in the NFV framework. The NFV MANO also interacts with an Operation Support System (OSS)/Business Support System (BSS) (external to the NFV) to allow the NFV to be integrated into an existing management landscape that relates to the network-wide.
The above components interact through defined reference points and interfaces so that different entities can be clearly decoupled, resulting in an open and innovative NFV ecosystem. The reference point between the VNF and the NFVI (and between NFVI internal entities) handles the abstraction and virtualization of resources, as well as host hosting of the VNF, so that the VNF can not only move from one to another in the NFVI, but also can ensure that it is possible to choose different underlying hardware. The reference point between the NFV MANO and VNF and NFVI (and between NFV MANO internal entities) handles the management and operation of the NFV system. The design of the related components allows to reuse existing solutions (e.g. cloud management systems) and also to interact with existing OSS/BSS environments to which NFV systems need to be connected.
In addition, the following functional components are further defined within NFV MANO:
NFVO, mainly responsible for NS life cycle management, complete the network business arrangement function; and performing NFVI resource arrangement across multiple VIMs to complete the resource arrangement function.
VNFMs, which are responsible for lifecycle management of VNF instances, each VNF is assumed to have an associated VNFM, which may be assigned to manage a single VNF instance or to manage multiple VNF instances of the same or different types. Its available capabilities include: VNF instantiation, VNF configuration NFVI resources, VNF instance update, VNF instance scaling, collection and association of VNF instance related NFVI performance metrics and events with VNF instance related events, VNF instance assisted or automated healing, VNF instance termination, integrity management of VNF instances throughout their lifecycle, acting as global coordination and adaptation for configuration and event reporting between NFVI and EMS, etc.
The VIM, responsible for controlling and managing the NFVI's computing, storage, and network resources, is typically within an operator's infrastructure sub-domain. One VIM may be dedicated to handling certain types of NFVI resources or may manage multiple types of NFVI resources. Its available capabilities include: allocating/upgrading/deallocating/recycling NFVI resources, managing the association of virtualized resources with computing, storage and network resources; a directory that manages hardware resources (computing, storage, network) and software resources (e.g., a hypervisor); collecting and forwarding performance metrics and events for virtualized resources, and the like.
On the basis of the above-described architecture, an NS having a specific function can be implemented by a plurality of NFs. The end-to-end NS of a traditional Network implementation is made up entirely of Physical Network Functions (PNFs). End-to-end NS implemented in NFV is typically still PNF at both ends, while the middle is replaced with VNF in whole or in part. The functionality and external interface implemented by each NF is independent of whether it is a PNF or a VNF. The topological relationship formed by the links between the VNF and the PNF may be described by using a VNF Forwarding Graph (VNFFG), and the characteristics of each NF are described by a corresponding Network Function Descriptor (NFD).
VNF needs to be implemented based on NFVI-provided virtual resources (including virtual computing, storage, and network resources) that are virtualized from corresponding physical resources. PNF is then directly implemented based on physical resources. Unlike the traditional network in which all control is concentrated on a network device with integrated software and hardware, NFV introduces virtualization to implement software and hardware decoupling of the network device, so that control over services is mainly embodied on the PNF and VNF level, and control over performance is mainly embodied on the NFVI, particularly on the hardware resource level therein.
In the embodiment of the invention, in order to realize the image upgrade of the instantiated and/or un-instantiated virtual machines and to be compatible with the version management function of the traditional EMS, a set of image management interfaces are firstly defined between the EMS and the VNF and the VNFM. The following table shows some interfaces and parameters for implementing specific functions in the image management interface.
Figure GDA0003537251190000081
It should be noted that the EMS applied by the apparatus of the present invention may be a management network element in an existing network, or may be an EMS module integrated into a VNF.
In specific implementation, the image upgrading operation needs to be triggered first, and specifically, the image upgrading operation can be triggered manually by operation and maintenance personnel or actively triggered by the device provided by the invention.
For example, when the version number of the mirror image is updated, operation and maintenance personnel upload an updated mirror image file to the EMS, and trigger the operation of upgrading the mirror image through an EMS preset upgrading trigger control; for another example, the apparatus of the present invention queries the image version number on the VNF/VNFM, compares the queried image version number with the target image version number, and triggers the image upgrade operation when the queried image version number is lower than the target image version number.
The following description of the embodiments of the present invention actively triggers an image upgrade operation.
First, the image version number of the VNF/VNFM needs to be queried, specifically, the apparatus of the present invention further includes:
the image query module 30 is configured to, when an image version query operation is triggered, invoke an image management interface, generate an image query request carrying identification information of a target virtual machine, send the image query request to a corresponding to-be-queried VNF or to-be-queried VNFM, provide the to-be-queried VNF or to-be-queried VNFM for querying an image version number of the target virtual machine based on the identification information, and package the image version number into an image query response;
and receiving a mirror image query response generated and returned by calling the mirror image management interface by the VNF to be queried or the VNFM to be queried, and analyzing a mirror image version number carried by the mirror image query response.
It should be noted that the image query module 30 is mainly used for an image query function, and is used for querying a current image version number of a specified virtual machine when querying the image version number to the VNF; when querying the image from the VNFM, the VNFM queries the current image version number recorded in the description file of the designated VNF (i.e., the previously queried VNF) on the NFVO/VNFM/VIM.
Specifically, the image query module 30 calls an image query request generated by the image management interface, that is, a query imagerequest message shown in the foregoing table, where the message carries identification information of the target virtual machine.
The VNF acquires the current mirror version number of the target virtual machine specified by the identification information in the message when receiving the QueryimageRequest message; after the image version number of the target virtual machine is obtained, the image management interface is called to generate an image query response carrying the queried image version number, that is, a query image response message shown in the previous table, and the query image response message is returned to the image query module 30 running based on the EMS.
The VNFM acquires the current mirror version number of a target virtual machine specified by the identification information in the message when receiving the Queryimagerequest message; after the image version number of the target virtual machine is obtained, the image management interface is called to generate an image query response carrying the queried image version number, that is, a query image response message shown in the previous table, and the query image response message is returned to the image query module 30 running based on the EMS.
After receiving the QueryImageRespone message returned by the VNF/VNFM, the image query module 30 parses the queried image version number from the message, and transmits the version number to the image determination module 40.
After receiving the image version number transmitted by the image query module 30, the image determination module 40 compares the received image version number with the target image version number, determines whether upgrading is needed according to a preset upgrading strategy, triggers image upgrading operation if upgrading is needed, and records the previously queried VNF and VNFM as VNF to be upgraded and VNFM to be upgraded; otherwise, it is determined that the upgrade is not needed. It should be noted that, in this scenario of the present embodiment, it is determined that an upgrade is required, and the image determination module 40 triggers an image upgrade operation.
When detecting the image upgrading operation triggered by the image determining module 40, the image upgrading module 10 creates an upgrade file, and specifically uploads the upgrade image file corresponding to the triggered image upgrading operation to the image server.
Wherein, the upgrade image file corresponding to the triggered image upgrade operation is the image file corresponding to the target image version number. Optionally, in other embodiments, the upgrade image file may also be directly placed locally to the EMS.
After the upgrade file is successfully created, the image upgrade module 10 calls the image management interface to generate a first image upgrade request (an UpdateImageRequest message shown in the foregoing table) carrying a download address of the upgrade image file, the first image upgrade request also carries an identifier of a new image (i.e., an upgrade image file), a version number of the new image, an identifier of an old image, a version number of the old image, a download address of the new image (i.e., a download address of the upgrade file), a download user name, a password, and the like, and sends the first image upgrade request to the VNF to be upgraded to instruct the VNF to be upgraded to acquire the upgrade image file specified by the first image upgrade request for upgrading, wherein the VNF to be upgraded includes instantiated virtual machines and non-instantiated virtual machines.
After receiving the first image upgrading request, the VNF to be upgraded analyzes a new image identification, a new image version number, an old image identification, an old image version number, a new image downloading address, a downloading user name, a password and the like carried by the first new image upgrading request, compares the new image version number with a local image version number, determines that upgrading is needed, initiates an image file downloading request to an image server corresponding to the new image downloading address by using the user name and the password, and downloads the upgraded image file.
After the update image file is downloaded, the VNF to be updated starts to execute the update of the local image file, and after the update is completed, calls the defined image management interface, and generates and returns a first image update response (which is an updateimagereport message shown in the foregoing table) to the image update module 10. Here, the first image upgrade response carries the upgrade result of the VNF as successful upgrade. Optionally, in other embodiments, the first image upgrade response carries an actual result of the VNF depending on whether the VNF to be upgraded is successfully upgraded, and if the VNF to be upgraded is failed, the first image upgrade response may also carry a failure reason.
When receiving a first image response returned after the VNF to be upgraded is successfully upgraded, the image upgrade module 10 calls a defined image management interface to generate a second image upgrade request (an UpdateImageRequest message shown in the foregoing table), where the second image upgrade request also carries an identifier of a new image (i.e., an upgraded image file), a version number of the new image, an identifier of an old image, a version number of the old image, a download address of the new image (i.e., a download address of the upgraded file), a download user name, a password, and the like, and sends the second image upgrade request to the VNFM corresponding to the VNF to be upgraded to instruct the VNFM to obtain the upgraded image file specified by the second image upgrade request for upgrading.
After receiving the second image upgrading request, the VNFM analyzes a new image identifier, a new image version number, an old image identifier, an old image version number, a new image downloading address, a downloading user name, a password and the like carried by the second new image upgrading request, compares the new image version number with the local image version number to determine that upgrading is needed, initiates an image file downloading request to an image server corresponding to the new image downloading address by using the user name and the password, and downloads the upgraded image file.
After the upgrading image file is downloaded, the VNFM upgrades the old image file, specifically uploads the obtained upgrading image file to a preset image file library, updates related image information stored locally based on the upgrading image file, and updates image related information reserved on a VNF descriptor VNFD and an NFV orchestrator NFVO. In specific implementation, the VNFM uploads the acquired upgrade image file to the VIM, and sends a message to the NFVO to update information related to the old image file stored on the NFVO (for example, update the old image version number to a new image version number of the upgrade image file), update information related to the locally stored old image file, and update information related to the old image file in the VNFD. The operation of updating the information related to the old image file by the VNFM can reuse the prior art, and the present invention is not particularly limited.
When the upgrade operation is completed, the VNFM calls the defined image management interface, and generates and returns a second image upgrade response (which is an updateimagereport message shown in the foregoing table) to the image upgrade module 10. And the second mirror image upgrading response carries the upgrading result of the VNFM, wherein the upgrading result comprises upgrading success and upgrading failure, and if the upgrading failure occurs, the second mirror image upgrading response also can carry a failure reason.
Correspondingly, in this embodiment, the image checking module 20 receives a second image upgrade response returned after the VNFM completes the upgrade, so as to analyze the upgrade result of the VNFM from the second image upgrade response and determine whether the triggered image upgrade operation is successful, it is easy to understand that, when the analyzed upgrade result is the upgrade success, the triggered image upgrade operation may be determined to be successfully executed, otherwise, the triggered image upgrade operation may be determined to be failed to be executed.
Optionally, in another embodiment, when the analyzed upgrade result of the VNFM is an upgrade failure, the image checking module 20 transmits indication information to the image determining module 40, and indicates the image determining module 40 to trigger the image upgrade operation again.
Optionally, in other embodiments, the first image upgrade request and the second image upgrade request generated by the image upgrade module 10 respectively carry an image check code (Checksum shown in the foregoing table), so that the VNF to be upgraded and the VNFM check integrity and authenticity of the upgrade image file respectively obtained, and upgrade the image file after the check is passed.
It should be noted that, as shown in fig. 4, in the above embodiment of the present invention, the apparatus of the present invention communicates based on the reference point SW4 between the EMS and the VNF, the apparatus of the present invention communicates based on the Ve-VNFM-em interface between the EMS and the VNFM, the VNF and the VNFM communicate based on the Ve-Vn-VNF interface therebetween, the VNFM and the NFVO communicate based on the Or-VNFM interface therebetween, and the VNFM and the VIM communicate based on the Vi-VNFM interface therebetween.
Further, in this embodiment, the image upgrade module 10 is further configured to send the second image upgrade request to the VNF to be upgraded when sending the second image upgrade request to the VNFM fails, and instruct the VNF to be upgraded to forward the second image upgrade request to the VNFM.
In this embodiment, when the message between the EMS and the VNFM cannot be transferred through the Ve-VNFM-em interface, or there is no direct link between the EMS and the VNFM, the sending operation of the image upgrade module 10 to send the second upgrade request may fail, and for this reason, the image upgrade module 10 may forward the image management message to the VNF to be upgraded through the SW4, and then forward the image management message to the VNFM to be upgraded through the VNF to be upgraded. The image management message comprises a second image upgrading request, an image query request and the like.
The upgrading device of the network function virtualization image file provided by the invention can realize the simultaneous upgrading of the network element service version and the image file version based on EMS by calling the defined image management interface, simplifies the operation steps of operation and maintenance personnel for large-scale deployed virtual machines or virtual machines with complex upgrading process, can perform image upgrading on the virtual machines under the condition of not canceling/newly building the virtual machines, is suitable for smoothly upgrading the state virtual machines with process data, does not need to build the virtual machines, and does not occupy additional hardware resources. Therefore, the invention can efficiently carry out image upgrading on the instantiated and/or un-instantiated virtual machines.
Further, based on the first embodiment, a second embodiment of the apparatus of the present invention is provided, in this embodiment, the image upgrade module 10 is further configured to calculate a message digest of the upgrade image file, and package the calculated message digest and the upgrade image file into an upgrade package; and the upgrading module is further used for uploading the upgrading package to the image server so that the VNF to be upgraded and the VNFM are downloaded to the upgrading package, then the upgrading image file and the message digest carried by the upgrading package are analyzed, the message digest of the upgrading image file is calculated and compared with the analyzed message digest, and the upgrading is carried out after the comparison is successful.
It should be noted that, in this embodiment, a scheme for checking integrity and authenticity of an upgrade image file is provided, which is safer than a conventional check code, and others refer to the first embodiment, and are not described herein again.
In the embodiment of the present invention, when the image upgrade module 10 uploads the upgrade image file, an agreed message digest algorithm (specifically, an upload terminal of the upgrade image file agrees with a download terminal VNF/VNFM of the upgrade image file) is first adopted to calculate the upgrade image file, so as to obtain a message digest corresponding to the upgrade image file. The message digest algorithm used in the present invention is not specifically limited, and can be selected by those skilled in the art according to actual needs, for example, the MD5 algorithm is used in the present embodiment to calculate the message digest of the upgrade image file.
After the message digest of the upgrade image file is obtained through calculation, the calculated message digest and the upgrade image file are packaged into an upgrade package, and the packaged upgrade package is uploaded to an image server. The present invention is not limited to the packing method.
Then, when a first image upgrading request triggering VNF upgrading is generated, specifically calling the image management interface to generate a first image upgrading request carrying the download address of the upgrading package; and when a second image upgrading request triggering VNFM upgrading is generated, specifically calling the image management interface to generate the second image upgrading request carrying the download address of the upgrading package.
On the other hand, after the VNF/VNFM to be upgraded is downloaded to the upgrade package, besides the integrity and authenticity check based on the check code, the downloaded upgrade package is further analyzed to obtain the upgrade image file and the message digest carried by the upgrade package, the analyzed upgrade image file is calculated by adopting an agreed message digest algorithm, the calculated message digest is compared with the analyzed message digest to perform the integrity and authenticity check based on the message digest on the downloaded upgrade image file, wherein when the two message digests are compared and are consistent, the check is passed, and otherwise the check fails. It is easily understood that the VNF/VNFM to be upgraded is upgraded when and only when the check passes.
The present invention further provides a method for upgrading a network function virtualization image file, which is executed by the device for upgrading a network function virtualization image file shown in fig. 2, and referring to fig. 5, in a first embodiment of the method for upgrading a network function virtualization image file of the present invention, corresponding to the first embodiment of the device for upgrading a network function virtualization image file, the method for upgrading a network function virtualization image file includes:
step S10, when image upgrading operation is triggered, the image management interface is called to generate a first image upgrading request, and the first image upgrading request is sent to a VNF to be upgraded to indicate the VNF to be upgraded to acquire an upgrading image file specified by the first image upgrading request for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines;
step S20, after receiving the successful upgrade of the VNF to be upgraded, when calling a first image upgrade response generated and returned by the image management interface, calling the image management interface to generate a second image upgrade request, and sending the second image upgrade request to the VNFM corresponding to the VNF to be upgraded so as to instruct the VNFM to acquire an upgrade image file specified by the second image upgrade request for upgrading, wherein the second image upgrade request and the first image upgrade request specify the same upgrade image file;
step S30, after the VNFM is upgraded, a second image upgrading response generated and returned by the image management interface is called, so as to confirm whether the triggered image upgrading operation is successful or not according to the second image upgrading response;
wherein the image file upgrading operation executed by the VNFM includes:
the VNFM uploads the obtained upgrade image file to a preset image file library, updates related image information stored locally in the VNFM based on the upgrade image file, and updates related image information reserved on a VNF descriptor VNFD and an NFV orchestrator NFVO.
In the embodiment of the invention, in order to realize the image upgrade of the instantiated and/or un-instantiated virtual machines and to be compatible with the version management function of the traditional EMS, a set of image management interfaces are firstly defined between the EMS and the VNF and the VNFM. As shown in the foregoing table, the interfaces and parameters that implement specific functions in the image management interface are part of.
It should be noted that the EMS applied by the apparatus of the present invention may be a management network element in an existing network, or may be an EMS module integrated into a VNF.
In specific implementation, the image upgrading operation needs to be triggered first, and specifically, the image upgrading operation can be triggered manually by operation and maintenance personnel or actively by the device of the invention.
For example, when the version number of the mirror image is updated, operation and maintenance personnel upload an updated mirror image file to the EMS, and trigger the operation of upgrading the mirror image through an EMS preset upgrading trigger control; for another example, the apparatus of the present invention queries the image version number on the VNF/VNFM, compares the queried image version number with the target image version number, and triggers the image upgrade operation when the queried image version number is lower than the target image version number.
The following description of the embodiments of the present invention actively triggers an image upgrade operation.
First, the image version number of the VNF/VNFM needs to be queried, and before step S10, the method includes:
when a mirror version query operation is triggered, calling the mirror management interface, generating a mirror query request carrying identification information of a target virtual machine, and sending the mirror query request to a corresponding VNF to be queried or a corresponding VNFM to be queried, so that the VNF to be queried or the VNFM to be queried can be queried to obtain a mirror version number of the target virtual machine based on the identification information;
and receiving a mirror image query response generated and returned by calling the mirror image management interface by the VNF to be queried or the VNFM to be queried, and analyzing a mirror image version number carried by the mirror image query response.
Specifically, the device for upgrading the network function virtualization image file further includes an image query module 30, configured to, when an image version query operation is triggered, invoke an image management interface, generate an image query request carrying identification information of a target virtual machine, and send the image query request to a corresponding to-be-queried VNF or to-be-queried VNFM, so that the to-be-queried VNF or the to-be-queried VNFM queries an image version number of the target virtual machine based on the identification information, and packages the image version number into an image query response;
and receiving a mirror image query response generated and returned by calling the mirror image management interface by the VNF to be queried or the VNFM to be queried, and analyzing a mirror image version number carried by the mirror image query response.
It should be noted that the image query module 30 is mainly used for an image query function, and is used for querying a current image version number of a specified virtual machine when querying the image version number to the VNF; when querying the image from the VNFM, the VNFM queries the current image version number recorded in the description file of the designated VNF (i.e., the previously queried VNF) on the NFVO/VNFM/VIM.
Specifically, the mirror image query module 30 calls a mirror image query request generated by the mirror image management interface, that is, a query imagerequest message shown in the foregoing table, where the message carries identification information of the target virtual machine.
The VNF acquires the current mirror version number of the target virtual machine specified by the identification information in the message when receiving the QueryimageRequest message; after the image version number of the target virtual machine is obtained, the image management interface is called to generate an image query response carrying the queried image version number, that is, a query image response message shown in the previous table, and the query image response message is returned to the image query module 30 running based on the EMS.
The VNFM acquires the current mirror version number of a target virtual machine specified by the identification information in the message when receiving the Queryimagerequest message; after the image version number of the target virtual machine is obtained, the image management interface is called to generate an image query response carrying the queried image version number, that is, a query image response message shown in the previous table, and the query image response message is returned to the image query module 30 running based on the EMS.
After receiving the QueryImageRespone message returned by the VNF/VNFM, the image query module 30 parses the queried image version number from the message, and transmits the version number to the image determination module 40.
After receiving the image version number transmitted by the image query module 30, the image determination module 40 compares the received image version number with the target image version number, determines whether upgrading is needed according to a preset upgrading strategy, triggers image upgrading operation if upgrading is needed, and records the previously queried VNF and VNFM as VNF to be upgraded and VNFM to be upgraded; otherwise, it is determined that the upgrade is not needed. It should be noted that, in this scenario of the present embodiment, it is determined that an upgrade is required, and the image determination module 40 triggers an image upgrade operation.
When detecting the image upgrading operation triggered by the image determining module 40, the image upgrading module 10 creates an upgrade file, and specifically uploads the upgrade image file corresponding to the triggered image upgrading operation to the image server.
Wherein, the upgrade image file corresponding to the triggered image upgrade operation is the image file corresponding to the target image version number. Optionally, in other embodiments, the upgrade image file may also be directly placed locally to the EMS.
After the upgrade file is successfully created, the image upgrade module 10 calls the image management interface to generate a first image upgrade request (an UpdateImageRequest message shown in the foregoing table) carrying a download address of the upgrade image file, the first image upgrade request also carries an identifier of a new image (i.e., an upgrade image file), a version number of the new image, an identifier of an old image, a version number of the old image, a download address of the new image (i.e., a download address of the upgrade file), a download user name, a password, and the like, and sends the first image upgrade request to the VNF to be upgraded to instruct the VNF to be upgraded to acquire the upgrade image file specified by the first image upgrade request for upgrading, wherein the VNF to be upgraded includes instantiated virtual machines and non-instantiated virtual machines.
After receiving the first image upgrading request, the VNF to be upgraded analyzes a new image identification, a new image version number, an old image identification, an old image version number, a new image downloading address, a downloading user name, a password and the like carried by the first new image upgrading request, compares the new image version number with a local image version number, determines that upgrading is needed, initiates an image file downloading request to an image server corresponding to the new image downloading address by using the user name and the password, and downloads the upgraded image file.
After the update image file is downloaded, the VNF to be updated starts to execute the update of the local image file, and after the update is completed, calls the defined image management interface, and generates and returns a first image update response (which is an updateimagereport message shown in the foregoing table) to the image update module 10. Here, the first image upgrade response carries the upgrade result of the VNF as successful upgrade. Optionally, in other embodiments, the first image upgrade response carries an actual result of the VNF depending on whether the VNF to be upgraded is successfully upgraded, and if the VNF to be upgraded is failed, the first image upgrade response may also carry a failure reason.
When receiving a first image response returned after the VNF to be upgraded is successfully upgraded, the image upgrade module 10 calls a defined image management interface to generate a second image upgrade request (an UpdateImageRequest message shown in the foregoing table), where the second image upgrade request also carries an identifier of a new image (i.e., an upgraded image file), a version number of the new image, an identifier of an old image, a version number of the old image, a download address of the new image (i.e., a download address of the upgraded file), a download user name, a password, and the like, and sends the second image upgrade request to the VNFM corresponding to the VNF to be upgraded to instruct the VNFM to obtain the upgraded image file specified by the second image upgrade request for upgrading.
After receiving the second image upgrading request, the VNFM analyzes a new image identifier, a new image version number, an old image identifier, an old image version number, a new image downloading address, a downloading user name, a password and the like carried by the second new image upgrading request, compares the new image version number with the local image version number to determine that upgrading is needed, initiates an image file downloading request to an image server corresponding to the new image downloading address by using the user name and the password, and downloads the upgraded image file.
After the upgrade image file is downloaded, the VNFM upgrades the old image file, specifically uploads the obtained upgrade image file to a preset image file library, updates related image information locally stored in the upgrade image file based on the upgrade image file, and updates related image information retained on the VNF descriptor VNFD and the NFV orchestrator NFVO. In specific implementation, the VNFM uploads the acquired upgrade image file to the VIM, and sends a message to the NFVO to update information related to the old image file stored on the NFVO (for example, update the old image version number to a new image version number of the upgrade image file), update information related to the locally stored old image file, and update information related to the old image file in the VNFD. The operation of updating the information related to the old image file by the VNFM can reuse the prior art, and the present invention is not particularly limited.
When the upgrade operation is completed, the VNFM calls the defined image management interface, and generates and returns a second image upgrade response (which is an updateimagereport message shown in the foregoing table) to the image upgrade module 10. And the second mirror image upgrading response carries the upgrading result of the VNFM, wherein the upgrading result comprises upgrading success and upgrading failure, and if the upgrading failure occurs, the second mirror image upgrading response also can carry a failure reason.
Correspondingly, in this embodiment, the image checking module 20 receives a second image upgrade response returned after the VNFM completes the upgrade, so as to analyze the upgrade result of the VNFM from the second image upgrade response and determine whether the triggered image upgrade operation is successful, it is easy to understand that, when the analyzed upgrade result is the upgrade success, the triggered image upgrade operation may be determined to be successfully executed, otherwise, the triggered image upgrade operation may be determined to be failed to be executed.
Optionally, in other embodiments, when the resolved upgrade result of the VNFM is upgrade failure, the image checking module 20 transmits indication information to the image determining module 40, and indicates the image determining module 40 to trigger the image upgrade operation again.
Optionally, in other embodiments, the first image upgrade request and the second image upgrade request generated by the image upgrade module 10 respectively carry an image check code (Checksum shown in the foregoing table), so that the VNF to be upgraded and the VNFM check integrity and authenticity of the upgrade image file respectively obtained, and upgrade the image file after the check is passed.
It should be noted that, as shown in fig. 4, in the above embodiment of the present invention, the apparatus of the present invention communicates based on the reference point SW4 between the EMS and the VNF, the apparatus of the present invention communicates based on the Ve-VNFM-em interface between the EMS and the VNFM, the VNF and the VNFM communicate based on the Ve-Vn-VNF interface therebetween, the VNFM and the NFVO communicate based on the Or-VNFM interface therebetween, and the VNFM and the VIM communicate based on the Vi-VNFM interface therebetween.
Further, in this embodiment, after step S20, the method further includes:
when the second image upgrading request is sent to the VNFM unsuccessfully, the second image upgrading request is sent to a VNF to be upgraded, and the VNF to be upgraded is instructed to forward the second image upgrading request to the VNFM.
Specifically, the image upgrade module 10 is further configured to, when sending the second image upgrade request to the VNFM fails, send the second image upgrade request to the VNF to be upgraded, and instruct the VNF to be upgraded to forward the second image upgrade request to the VNFM. In this embodiment, when the message between the EMS and the VNFM cannot be transferred through the Ve-VNFM-em interface, or there is no direct link between the EMS and the VNFM, the sending operation of the image upgrade module 10 to send the second upgrade request may fail, and for this reason, the image upgrade module 10 may forward the image management message to the VNF to be upgraded through the SW4, and then forward the image management message to the VNFM to be upgraded through the VNF to be upgraded. The image management message comprises a second image upgrading request, an image query request and the like.
The upgrading method of the network function virtualization image file provided by the invention can realize the simultaneous upgrading of the network element service version and the image file version based on EMS by calling the defined image management interface, simplifies the operation steps of operation and maintenance personnel for large-scale deployed virtual machines or virtual machines with complex upgrading process, can perform image upgrading on the virtual machines under the condition of not canceling/newly building the virtual machines, is suitable for smoothly upgrading the state virtual machines with process data, does not need to build the virtual machines, and does not occupy additional hardware resources. Therefore, the invention can efficiently carry out image upgrading on the instantiated and/or un-instantiated virtual machines.
Further, based on the first embodiment, a second embodiment of the method of the present invention is provided, which corresponds to the second embodiment of the foregoing apparatus, and in this embodiment, the step of uploading the upgrade image file corresponding to the triggered image upgrade operation to the image server includes:
calculating the message digest of the upgrade image file, and packaging the calculated message digest and the upgrade image file into an upgrade package;
and uploading the upgrade package to the image server, so that after the VNF to be upgraded and the VNFM are downloaded to the upgrade package, an upgrade image file and a message digest carried by the upgrade package are analyzed, the message digest of the upgrade image file and the analyzed message digest are calculated and compared, and after the comparison is successful, the upgrade is performed.
It should be noted that, in this embodiment, a scheme for checking integrity and authenticity of an upgrade image file is provided, which is safer than a conventional check code, and others refer to the first embodiment, and are not described herein again.
In the embodiment of the present invention, when the image upgrade module 10 uploads the upgrade image file, an agreed message digest algorithm (specifically, an upload terminal of the upgrade image file agrees with a download terminal VNF/VNFM of the upgrade image file) is first adopted to calculate the upgrade image file, so as to obtain a message digest corresponding to the upgrade image file. The message digest algorithm used in the present invention is not specifically limited, and can be selected by those skilled in the art according to actual needs, for example, the MD5 algorithm is used in the present embodiment to calculate the message digest of the upgrade image file.
After the message digest of the upgrade image file is obtained through calculation, the calculated message digest and the upgrade image file are packaged into an upgrade package, and the packaged upgrade package is uploaded to an image server. The present invention is not limited to the packing method.
Then, when a first image upgrading request triggering VNF upgrading is generated, specifically calling the image management interface to generate a first image upgrading request carrying the download address of the upgrading package; and when a second image upgrading request triggering VNFM upgrading is generated, specifically calling the image management interface to generate the second image upgrading request carrying the download address of the upgrading package.
On the other hand, after the VNF/VNFM to be upgraded is downloaded to the upgrade package, besides the integrity and authenticity check based on the check code, the downloaded upgrade package is further analyzed to obtain the upgrade image file and the message digest carried by the upgrade package, the analyzed upgrade image file is calculated by adopting an agreed message digest algorithm, the calculated message digest is compared with the analyzed message digest to perform the integrity and authenticity check based on the message digest on the downloaded upgrade image file, wherein when the two message digests are compared and are consistent, the check is passed, and otherwise the check fails. It is easily understood that the VNF/VNFM to be upgraded is upgraded when and only when the check passes.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for upgrading a Network Function Virtualization (NFV) image file is characterized in that an image management interface between an Element Management System (EMS) and a Virtual Network Function (VNF) and a Virtual Network Function Manager (VNFM) is defined, and the method comprises the following steps:
when image upgrading operation is triggered, calling the image management interface, generating a first image upgrading request, and sending the first image upgrading request to a VNF to be upgraded so as to instruct the VNF to be upgraded to acquire an upgrading image file specified by the first image upgrading request for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines;
after the VNF to be upgraded is successfully upgraded and a first image upgrading response generated and returned by calling the image management interface is received, calling the image management interface to generate a second image upgrading request, and sending the second image upgrading request to a VNFM corresponding to the VNF to be upgraded so as to instruct the VNFM to acquire an upgrading image file specified by the second image upgrading request for upgrading, wherein the second image upgrading request and the first image upgrading request specify the same upgrading image file;
after the step of sending the second image upgrade request to the VNFM, further comprising: when the second image upgrading request is sent to the VNFM unsuccessfully, sending the second image upgrading request to the VNF to be upgraded, and instructing the VNF to be upgraded to forward the second image upgrading request to the VNFM;
and after the VNFM is upgraded, calling a second image upgrading response generated and returned by the image management interface to confirm whether the triggered image upgrading operation is successful or not according to the second image upgrading response.
2. The method of claim 1, wherein the step of invoking the image management interface to generate the first image upgrade request is preceded by the step of:
when the mirror image upgrading operation is triggered, uploading an upgrading mirror image file corresponding to the triggered mirror image upgrading operation to a mirror image server;
the step of calling the image management interface and generating a first image upgrading request comprises the following steps:
calling the image management interface to generate a first image upgrading request carrying a downloading address of the upgrading image file;
the step of calling the image management interface and generating a second image upgrading request comprises the following steps:
and calling the image management interface to generate a second image upgrading request carrying the downloading address of the upgrading image file.
3. The method of claim 2, wherein uploading an upgrade image file corresponding to the triggered image upgrade operation to an image server comprises:
calculating the message digest of the upgrade image file, and packaging the calculated message digest and the upgrade image file into an upgrade package;
and uploading the upgrade package to the image server, so that after the VNF to be upgraded and the VNFM are downloaded to the upgrade package, an upgrade image file and a message digest carried by the upgrade package are analyzed, the message digest of the upgrade image file and the analyzed message digest are calculated and compared, and after the comparison is successful, the upgrade is performed.
4. The method according to any one of claims 1-3, further comprising:
when a mirror version query operation is triggered, calling the mirror management interface, generating a mirror query request carrying identification information of a target virtual machine, and sending the mirror query request to a corresponding VNF to be queried or a corresponding VNFM to be queried, so that the VNF to be queried or the VNFM to be queried can be queried to obtain a mirror version number of the target virtual machine based on the identification information;
and receiving a mirror image query response generated and returned by calling the mirror image management interface by the VNF to be queried or the VNFM to be queried, and analyzing a mirror image version number carried by the mirror image query response.
5. An apparatus for upgrading a Network Function Virtualization (NFV) image file, the apparatus defining an image management interface between an Element Management System (EMS) and a Virtual Network Function (VNF) and a Virtual Network Function Manager (VNFM), the apparatus comprising:
the image upgrading module is used for calling the image management interface when image upgrading operation is triggered, generating a first image upgrading request, and sending the first image upgrading request to a VNF to be upgraded so as to indicate the VNF to be upgraded to acquire an upgrading image file specified by the first image upgrading request for upgrading, wherein the VNF to be upgraded comprises instantiated virtual machines and non-instantiated virtual machines; the VNF upgrading method comprises the steps that after the VNF to be upgraded is successfully upgraded and is received, when a first image upgrading response generated and returned by the image management interface is called, a second image upgrading request is generated, the second image upgrading request is sent to a VNFM corresponding to the VNF to be upgraded, the VNFM is instructed to acquire an upgrading image file designated by the second image upgrading request for upgrading, and the second image upgrading request and the first image upgrading request designate the same upgrading image file;
the image upgrading module is further configured to send the second image upgrading request to the VNF to be upgraded when sending the second image upgrading request to the VNFM fails, and instruct the VNF to be upgraded to forward the second image upgrading request to the VNFM;
and the image checking module is used for receiving a second image upgrading response generated and returned by calling the image management interface after the VNFM is upgraded so as to confirm whether the triggered image upgrading operation is successful or not according to the second image upgrading response.
6. The apparatus of claim 5, wherein the image upgrade module is further configured to, when an image upgrade operation is triggered, upload an upgrade image file corresponding to the triggered image upgrade operation to an image server; the image management interface is also used for calling the image management interface to generate a first image upgrading request carrying the downloading address of the upgrading image file; and the mirror image management interface is also used for calling to generate a second mirror image upgrading request carrying the downloading address of the upgrading mirror image file.
7. The apparatus of claim 6, wherein the image upgrade module is further configured to compute a message digest of the upgrade image file, and package the computed message digest and the upgrade image file into an upgrade package; and the upgrading module is further used for uploading the upgrading package to the image server so that the VNF to be upgraded and the VNFM are downloaded to the upgrading package, then the upgrading image file and the message digest carried by the upgrading package are analyzed, the message digest of the upgrading image file is calculated and compared with the analyzed message digest, and the upgrading is carried out after the comparison is successful.
8. The apparatus of any of claims 5-7, further comprising:
the image query module is used for calling the image management interface when image version query operation is triggered, generating an image query request carrying identification information of a target virtual machine, sending the image query request to a corresponding VNF to be queried or a corresponding VNFM to be queried, and querying an image version number of the target virtual machine based on the identification information;
and receiving a mirror image query response generated and returned by calling the mirror image management interface by the VNF to be queried or the VNFM to be queried, and analyzing a mirror image version number carried by the mirror image query response.
CN201710327717.0A 2017-05-10 2017-05-10 Method and device for upgrading network function virtualization mirror image file Active CN108881338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710327717.0A CN108881338B (en) 2017-05-10 2017-05-10 Method and device for upgrading network function virtualization mirror image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710327717.0A CN108881338B (en) 2017-05-10 2017-05-10 Method and device for upgrading network function virtualization mirror image file

Publications (2)

Publication Number Publication Date
CN108881338A CN108881338A (en) 2018-11-23
CN108881338B true CN108881338B (en) 2022-08-09

Family

ID=64319399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710327717.0A Active CN108881338B (en) 2017-05-10 2017-05-10 Method and device for upgrading network function virtualization mirror image file

Country Status (1)

Country Link
CN (1) CN108881338B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510314B (en) * 2019-01-31 2021-07-06 大唐移动通信设备有限公司 Method and device for upgrading core network element
CN114745258B (en) * 2020-12-23 2023-09-05 中移(苏州)软件技术有限公司 Method, device, equipment and storage medium for generating network element function body

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999369A (en) * 2012-12-25 2013-03-27 杭州华三通信技术有限公司 Method and device for upgrading virtual machines
WO2016078417A1 (en) * 2014-11-17 2016-05-26 中兴通讯股份有限公司 Method and device for upgrading virtualized network function manager, and server
CN105808316A (en) * 2014-12-31 2016-07-27 杭州华为数字技术有限公司 Virtual network loading method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253866B (en) * 2014-09-20 2018-03-27 华为技术有限公司 Software deployment method, system and the relevant device of virtual network function network element
WO2016121834A1 (en) * 2015-01-29 2016-08-04 日本電気株式会社 Method, system, device, and program for managing network function virtualization
US20180314602A1 (en) * 2015-09-07 2018-11-01 Telefonaktiebolaget Lm Ericsson (Publ) Method for redundancy of a vlr database of a virtualized msc

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999369A (en) * 2012-12-25 2013-03-27 杭州华三通信技术有限公司 Method and device for upgrading virtual machines
WO2016078417A1 (en) * 2014-11-17 2016-05-26 中兴通讯股份有限公司 Method and device for upgrading virtualized network function manager, and server
CN105808316A (en) * 2014-12-31 2016-07-27 杭州华为数字技术有限公司 Virtual network loading method and device

Also Published As

Publication number Publication date
CN108881338A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US10255102B2 (en) Transaction control arrangement for device management system
US10140205B1 (en) Systems and methods for infrastructure validation
CN104541246B (en) System and method for providing a service management engine for use in a cloud computing environment
US7743147B2 (en) Automated provisioning of computing networks using a network database data model
WO2016119631A1 (en) Method for accessing cloud service and access device
US8819202B1 (en) Service configuration and deployment engine for provisioning automation
CN104077160B (en) A kind of method, apparatus and system for upgrading Android software
US20170139727A1 (en) Communication node upgrade system and method for a communication network
US11218337B1 (en) Onboarding a VNF which includes a VNFC composed of manageable software elements
CN110138577B (en) Cluster creation method, first server and readable storage medium
EP3901770A1 (en) Method and device for instantiating virtualized network function
CN112925529B (en) Application security distribution method, system, device and medium based on distributed cloud platform
CN111949276B (en) System and method for automatically deploying application programs based on container mode
WO2017204700A1 (en) Automatic network management system, methods and computer program product
CN108881338B (en) Method and device for upgrading network function virtualization mirror image file
CN109992295B (en) Version management method and server
US20190132188A1 (en) Method and apparatus for managing managed function object
CN112486544A (en) Software upgrading method and device
CN112130864A (en) Deployment method and deployment device of private cloud platform service software
CN109218259B (en) License management method and device, APPLM functional entity and computer readable storage medium
CN113900674A (en) Automatic deployment method, device and storage medium
CN112685102B (en) Gateway plug-in hot loading method, device, equipment and medium
WO2022264289A1 (en) Network management device, network management method, and program
CN117009184A (en) Method for maintaining version consistency without stopping upgrading and application under Yun Yuan
US20220014418A1 (en) Multi-Domain Orchestration

Legal Events

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