CN108881338A - Network function virtualizes the method and device of image file upgrading - Google Patents

Network function virtualizes the method and device of image file upgrading Download PDF

Info

Publication number
CN108881338A
CN108881338A CN201710327717.0A CN201710327717A CN108881338A CN 108881338 A CN108881338 A CN 108881338A CN 201710327717 A CN201710327717 A CN 201710327717A CN 108881338 A CN108881338 A CN 108881338A
Authority
CN
China
Prior art keywords
image
upgrade
vnf
vnfm
upgraded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710327717.0A
Other languages
Chinese (zh)
Other versions
CN108881338B (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

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 kind of methods of network function virtualization image file upgrading, including:When triggering image upgrade operation (as triggered VNF image upgrade by EMS), the mirror image management interface of call definition, it generates the first image upgrade request and is sent to VNF to be upgraded, indicate that VNF to be upgraded is upgraded, wherein, VNF to be upgraded includes the virtual machine and uninstantiated virtual machine of instantiation;And after VNF to be upgraded successfully upgrades, the VNFM that the second image upgrade request is sent to corresponding VNF to be upgraded is generated, instruction VNFM is upgraded, wherein the second image upgrade request specifies identical upgrade image file with the first image upgrade request;The second image upgrade response that VNFM is returned after upgrading is received, whether is succeeded with the image upgrade operation triggered according to the second image upgrade response confirmation.The invention also discloses a kind of devices of network function virtualization image file upgrading.The present invention can efficiently to instantiated and/or uninstantiated virtual machine carry out image upgrade.

Description

Network function virtualizes the method and device of image file upgrading
Technical field
Upgrade the present invention relates to network function virtualization field more particularly to a kind of network function virtualization image file Method and device.
Background technique
In conventional telecommunication network, and Element management system (Network Element Management system, below Referred to as EMS or abbreviation EM) be network unit (Network Element, hereinafter referred to as NE) hard core control system, bear Blame monitoring, error log record, configuration, book keeping operation, performance and the peace congruous function of network element, the version management of the service application of network element Also it is responsible for by EMS.When service application needs to upgrade, operation maintenance personnel mainly passes through EMS operation interface and executes business release Upgrading.
(Network Function Virtualization, hereinafter referred to as NFV) framework is virtualized in network function In, network element portion is responsible for by NFV management and composer (Managenment and Orchestration, hereinafter referred to as MANO) Administration.Operation maintenance personnel completes network element by the operation interface of NFV composer (NFV Orchestration, hereinafter referred to as NFVO) Deployment, wherein also include image file, mirror in network element deployment packet other than comprising the service application version in traditional network As file provides running environment, such as client operating system, basic software, hardware version parameter etc. for service application.With new Increase application function or fault restoration, it is also possible to need matched image file, therefore under NFV framework, network element updating in addition to It further include upgrade image version except staging business version.
European Telecommunications Standards Institute (European Telecommunications Standards Institute, with Down be referred to as ETSI) publication NFV framework in, as shown in Figure 1, network element image upgrade can pass through NFVO and virtual network function pipe Manage device (Virtual Network Function Manager, hereinafter referred to as VNFM) between interface Or-Vnfm and VNFM and virtualized infrastructure manager (Virtualised infrastructure manager, hereinafter referred to as VIM) Between interface Or-Vi update VIM in image file.
It under NFV framework, is disposed although network element is applied by MANO, EMS still will undertake network element using original pipe Function is managed, therefore there are Railway Projects:
1, under the scene that application and mirror image need to upgrade simultaneously, operation maintenance personnel needs respectively from different operation interfaces Application upgrade and image upgrade are executed on (EMS and NFVO), for the virtual machine of large scale deployment in telecommunication environment, this more ground Operation obviously brings inconvenience to operation maintenance personnel, is unfavorable for automatic operation.
2, MANO it is upper can only mirror image in upgrade image warehouse, the mirror image in mirror image warehouse can only be to the virtual machine not created (such as virtual machine of self-healing or elasticity generation) comes into force.It can not come into force for instantiated virtual machine, this mode can not The mirror image of upgrading virtual machine.
Summary of the invention
The main purpose of the present invention is to provide a kind of method and device of network function virtualization image file upgrading, purports In the efficient image upgrade realized to the virtual machine for having instantiated or having had not been yet instantiated.
To achieve the above object, the present invention provides a kind of method of network function virtualization image file upgrading, is applied to Element management system EMS defines the mirror between EMS and virtual network function VNF and virtual network function manager VNFM first As management interface, this approach includes the following steps:
When triggering image upgrade operation, the mirror image management interface is called, generate the first image upgrade request, and by institute It states the first image upgrade request and is sent to VNF to be upgraded, to indicate that the VNF to be upgraded obtains the first image upgrade request Specified upgrade image file is upgraded, wherein the VNF to be upgraded includes the virtual machine instantiated and uninstantiated void Quasi- machine;
After receiving the VNF to be upgraded and successfully upgrading, first that the mirror image management interface is generated and returned is called When image upgrade responds, the mirror image management interface is called, generate the second image upgrade request, and by second image upgrade Request is sent to the VNFM of the corresponding VNF to be upgraded, to indicate that it is specified that the VNFM obtains the second image upgrade request Upgrade image file upgraded, wherein second image upgrade request specifies phase with first image upgrade request Same upgrade image file;
The VNFM is received after upgrading, calls the mirror image management interface to generate and the second image upgrade returned is rung It answers, whether is succeeded with the image upgrade operation triggered according to the second image upgrade response confirmation.
Optionally, described to call the mirror image management interface, before generating the step of the first image upgrade is requested, also wrap It includes:
When triggering image upgrade operation, upgrade image file to the mirror image for uploading the image upgrade operation of corresponding triggering is taken Business device;
Described to call the mirror image management interface, generating the step of the first image upgrade is requested includes:
The mirror image management interface is called, the first image upgrade for carrying the download address of the upgrade image file is generated Request;
Described to call the mirror image management interface, generating the step of the second image upgrade is requested includes:
The mirror image management interface is called, the second image upgrade for carrying the download address of the upgrade image file is generated Request.
Optionally, the step of upgrade image file to mirror image server of the image upgrade operation for uploading corresponding triggering Including:
The eap-message digest of the upgrade image file is calculated, and the eap-message digest of calculating and the upgrade image is literary Part is packaged as upgrade package;
The upgrade package is uploaded to the mirror image server, so that the VNF to be upgraded and VNFM is being downloaded to After the upgrade package, the upgrade image file and eap-message digest that the upgrade package carries are parsed, and calculate the liter The eap-message digest of class mirror-image file is compared with the eap-message digest parsed, is upgraded after comparing successfully.
Optionally, the method also includes:
When triggering image release inquiry operation, the mirror image management interface is called, generates the mark for carrying target virtual machine Know the mirror image inquiry request of information, and the mirror image inquiry request is sent to corresponding VNF to be checked or VNFM to be checked, with For the VNF to be checked or described VNFM to be checked, based on the identification information-enquiry to the mirrored version of the target virtual machine This number;
Receive what the VNF to be checked or described VNFM to be checked was returned, the image release number of the target virtual machine, It is shown.
Optionally, after described the step of second image upgrade request is sent to the VNFM, further include:
It requests sending second image upgrade to when VNFM failure, second image upgrade is requested to send The extremely VNF to be upgraded, and indicate that second image upgrade request is forwarded to the VNFM by the VNF to be upgraded.
In addition, to achieve the above object, the present invention also provides a kind of dresses of network function virtualization NFV image file upgrading It sets, is applied to Element management system EMS, defines EMS and virtual network function VNF and virtual network function manager VNFM first Between mirror image management interface, which includes:
Image upgrade module generates the first mirror for calling the mirror image management interface when triggering image upgrade operation It is sent to VNF to be upgraded as upgrade request, and by first image upgrade request, to indicate that the VNF to be upgraded obtains institute It states the specified upgrade image file of the first image upgrade request to be upgraded, wherein the VNF to be upgraded includes the void of instantiation Quasi- machine and uninstantiated virtual machine;It is also used to after receiving the VNF to be upgraded and successfully upgrading, calls the mirror image management When interface generates and the first image upgrade returned responds, the mirror image management interface is called, generates the second image upgrade request, And second image upgrade request is sent to the VNFM of the corresponding VNF to be upgraded, to indicate described in the VNFM acquisition The specified upgrade image file of second image upgrade request, wherein the second image upgrade request and the first mirror image liter Identical upgrade image file is specified in grade request;
Mirror image checks that module calls the mirror image management interface to generate and return for receiving the VNFM after upgrading The second image upgrade response, operated and whether succeeded with the image upgrade that trigger according to the second image upgrade response confirmation.
Optionally, the image upgrade module is also used to upload the mirror image of corresponding triggering when triggering image upgrade operation The upgrade image file of updating operation is to mirror image server;It is also used to call the mirror image management interface, generates and carry the liter First image upgrade of the download address of class mirror-image file is requested;It is also used to call the mirror image management interface, generates and carry institute State the second image upgrade request of the download address of upgrade image file.
Optionally, the image upgrade module is also used to calculate the eap-message digest of the upgrade image file, and will calculate The eap-message digest and the upgrade image file be packaged as upgrade package;It is also used to the upgrade package being uploaded to the mirror image Server parses the upgrade package and carries so that the VNF to be upgraded and VNFM is after downloading to the upgrade package Upgrade image file and eap-message digest, and the eap-message digest for calculating the upgrade image file is plucked with the message parsed It is compared, is upgraded after comparing successfully.
Optionally, described device further includes:
Mirror image enquiry module, for calling the mirror image management interface, generation is taken when triggering image release inquiry operation The mirror image inquiry request of identification information with target virtual machine, and the mirror image inquiry request is sent to corresponding to be checked VNF or VNFM to be checked, for the VNF to be checked or described VNFM to be checked, based on the identification information-enquiry described in The image release number of target virtual machine;It is also used to receive what the VNF to be checked or described VNFM to be checked was returned, the mesh The image release number for marking virtual machine, is shown.
Optionally, the image upgrade module is also used to request to the VNFM to fail in transmission second image upgrade When, second image upgrade request is sent to the VNF to be upgraded, and indicate the VNF to be upgraded by second mirror As upgrade request is forwarded to the VNFM.
The method and device of network function virtualization image file upgrading proposed by the present invention, passes through the mirror image of call definition Management interface upgrades while can realizing net element business version and image file version based on EMS, for the void of large scale deployment For quasi- machine or the virtual machine of escalation process complexity, simplify operation maintenance personnel operating procedure, meanwhile, can also do not cancel/newly Image upgrade is done to virtual machine in the case where building virtual machine, is suitble to the smooth upgrade to the state virtual machine for having process data, and And the present invention does not need newly-built virtual machine, therefore is not required to occupy additional hardware resource.To which the present invention can be efficiently to Instantiation and/or uninstantiated virtual machine carry out image upgrade.
Detailed description of the invention
Fig. 1 is the flow diagram of image file upgrading in the prior art;
Fig. 2 is the module exemplary diagram of the device first embodiment of inventive network virtualization of function image file upgrading;
Fig. 3 is network function virtualization in the device first embodiment of inventive network virtualization of function image file upgrading The example architecture figure of NFV;
Fig. 4 is the interface in the device first embodiment of inventive network virtualization of function image file upgrading between each component Schematic diagram;
Fig. 5 is the flow diagram of the method first embodiment of inventive network virtualization of function image file upgrading.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provide a kind of virtualization of network function (Network Function Virtualization, hereinafter referred to as For the device of NFV) image file upgrading, it is applied to Element management system (Network Element Management System, hereinafter referred to as EMS), define first EMS and virtual network function (Virtual Network Function, below Referred to as VNF) and VNF manager (VNF Manager, hereinafter referred to as VNFM) between mirror image management interface, referring to Fig. 2, In the first embodiment of the present invention, which includes:
Image upgrade module 10 generates first for calling the mirror image management interface when triggering image upgrade operation Image upgrade request, and first image upgrade request is sent to VNF to be upgraded, to indicate that the VNF to be upgraded is obtained The specified upgrade image file of the first image upgrade request is upgraded, wherein the VNF to be upgraded includes instantiation Virtual machine and uninstantiated virtual machine;It is also used to after receiving the VNF to be upgraded and successfully upgrading, calls the mirror image pipe When reason interface generates and the first image upgrade returned responds, the mirror image management interface is called, the second image upgrade is generated and asks It asks, and second image upgrade request is sent to the VNFM of the corresponding VNF to be upgraded, to indicate that the VNFM obtains institute The specified upgrade image file of the second image upgrade request is stated to be upgraded, wherein the second image upgrade request with it is described Identical upgrade image file is specified in first image upgrade request;
Mirror image checks that module 20 calls the mirror image management interface to generate and return for receiving the VNFM after upgrading The the second image upgrade response returned, with the image upgrade that trigger according to the second image upgrade response confirmation operate whether at Function;
Wherein, the image file updating operation of the VNFM execution includes:
The upgrade image file that the VNFM will acquire is uploaded to default image file library, and based on the upgrade image text Retain on part update VNFM locally-stored related Mirror Info, and update VNF descriptor VNFD and NFV composer NFVO Mirror image relevant information.
The present invention program for ease of understanding is below first introduced NFV framework of the present invention, as shown in figure 3, It is made of following functions component:
NFV infrastructure (NFV Infrastructure, NFVI) provides virtualization money required for the execution of support NFV Source, including hardware, the necessary acceleration device assembly of Commercial off-the-shelf supply (Commercial Off The Shelf, COTS), with And the software layer that bottom hardware is virtualized and is abstracted.
VNF is the software realization for the network function (Network Function, NF) that can be run on NFVI, may be also Understand with Element management system (Element Management System, hereinafter referred to as EMS) module and manages individually VNF and its characteristic.VNF is equivalent to the entity of network node, is expected to deliver to get rid of the pure software of hardware-dependent.
NFV management and layout (Management and Orchestration, M&O or MANO) include layout, support The physics of infrastructure virtualization and/or the life cycle management of software resource, the life cycle management of VNF.NFV MANO is poly- Coke virtualizes specific management role in NFV frame.NFV MANO also with (outside NFV) Operation Support System (Operation Support System, hereinafter referred to as OSS)/business support system (Business Support System, hereinafter referred to as BSS) interaction, to allow NFV to be integrated into the already present management view for being related to network-wide basis.
Above-mentioned component is interacted by the reference point and interface defined, so that different entities can be decoupled clearly, To facilitate the NFV ecosystem an of opening and innovation.Reference between VNF and NFVI (and between NFVI internal entity) The abstract and virtualization of point process resource and the host boarding of VNF, so that VNF can not only be in NFVI from a movement Another is arrived, and can ensure that different bottom hardwares is selected to be possibly realized.Between NFV MANO and VNF and NFVI (and Between NFV MANO internal entity) reference point processing NFV system management and running.The design method of associated components allows multiple The existing OSS/BSS environment connected is needed to be handed over NFV system with existing solution (such as cloud management system), and also Mutually.
In addition, further defining following functions component within NFV MANO:
NFVO is mainly responsible for the life cycle management of NS, completes network service layout function;And across multiple VIM's Resource layout function is completed in NFVI resource layout.
VNFM is responsible for the life cycle management of VNF example, and each VNF is assumed to have an associated VNFM, and one VNFM can be assigned the single VNF example of management or multiple identical or dissimilar types the VNF example of management.Its available capability packet It includes:VNF instantiation, VNF configuration NFVI resource, VNF example updates, VNF example scales, VNF example correlation NFVI performance metric Collection with event and with being associated with of VNF example dependent event, VNF example is received aid or automatic rehabilitation, VNF example terminate, VNF Example through the Integrity Management of its life cycle, the configuration between NFVI and EMS and event report take on global coordination and The role etc. of adaptation.
VIM is responsible for calculating, storage and the Internet resources of control and management NFVI, usually sets on the basis of an operator It applies in subdomain.One VIM with special disposal class NFVI resource or can manage a plurality of types of NFVI resources.It is available Ability includes:The distribution/upgrading/of layout NFVI resource is deallocated/is recycled, manage virtualization resource and calculate, store, The association of Internet resources;Manage the catalogue of hardware resource (calculating, storage, network) and software resource (such as management program);It receives The performance metric and event etc. of collection and forwarding virtualization resource.
On the basis of above-mentioned framework, the NS with specific function can be realized by multiple NF.What traditional network was realized End-to-end NS is to be made of completely physical network function (Physical Network Function, PNF).It is realized in NFV Then general both ends are still PNF to end-to-end NS, and centre is then completely or partially replaced by VNF.Function that each NF is realized and right Outer interface is that PNF or VNF are unrelated with it.The topological relation that composition is linked between VNF and PNF can use VNF forwarding figure (VNF Forwarding Graph, hereinafter referred to as VNFFG) is described, and the characteristic of each NF is described by corresponding network function (Network Function Descriptor, hereinafter referred to as NFD) is accorded with to describe.
VNF needs the virtual resource (including virtual calculating, storage and Internet resources) provided based on NFVI to realize, this A little virtual resources are virtualized to corresponding physical resource.PNF is realized based on physical resource. Unlike in traditional network it is all control all concentrate on the network equipment of software and hardware integration, NFV introduce virtualization realize network The software and hardware of equipment decouples, so that PNF and VNF level is mainly reflected in the control of business, and it is then main to the control of performance It is embodied in NFVI hardware resource level especially therein.
In embodiments of the present invention, in order to realize to having instantiated and/or the image upgrade of uninstantiated virtual machine, and it is simultaneous The version management function of holding tradition EMS, defines a set of mirror image management interface first between EMS and VNF and VNFM.Shown in following table For the part of interface and parameter for realizing concrete function in the mirror image management interface.
It should be noted that the EMS of apparatus of the present invention application can be the managed network element in existing network, it is also possible to collect At the EMS module into VNF.
In the specific implementation, it is necessary first to trigger image upgrade operation, can specifically be triggered manually by operation maintenance personnel, Huo Zheyou Apparatus of the present invention actively trigger.
For example, upgrade image file is uploaded to EMS by operation maintenance personnel, and default by EMS when image release number updates Upgrade trigger control triggering image upgrade operation;In another example the image release number on apparatus of the present invention inquiry VNF/VNFM, and will The image release number inquired is compared with purpose image release number, is lower than purpose mirrored version in the image release number inquired At this number, triggering image upgrade operation.
Following present invention embodiment actively triggers image upgrade operation and is illustrated.
Firstly, it is necessary to the image release number of VNF/VNFM be inquired, specifically, apparatus of the present invention further include:
Mirror image enquiry module 30 is generated and is carried for calling mirror image management interface when triggering image release inquiry operation The mirror image inquiry request of the identification information of target virtual machine, and by mirror image inquiry request be sent to corresponding VNF to be checked or to VNFM is inquired, for the VNF to be checked or described VNFM to be checked, based on the identification information-enquiry to the destination virtual The image release number of machine, and encapsulate into mirror image inquiry response;
Receive the mirror image that the VNF to be checked or described VNFM to be checked calls the mirror image management interface to generate and return Inquiry response, and parse the image release number that the mirror image inquiry response carries.
It should be noted that mirror image enquiry module 30, is mainly used for mirror image query function, when inquiring image release to VNF Number when, for inquiring the current image release number of designated virtual machine;When inquiring mirror image to VNFM, for inquiring NFVO/VNFM/ The current image release number recorded in VNF (VNF inquired before i.e.) description file is specified on VIM.
Specifically, shown in mirror image inquiry request, that is, table 1 that mirror image enquiry module 30 calls mirror image management interface to generate QueryimageRequest message carries the identification information of target virtual machine in the message.
VNF obtains the specified target virtual machine of message identification information when receiving QueryimageRequest message Current image release number;And after getting the image release number of target virtual machine, the generation of mirror image management interface is called to take The mirror image inquiry response of image release number, i.e. QueryImageRespone message shown in table 1 are inquired with it, are back to base In the mirror image enquiry module 30 of EMS operation.
VNFM obtains the specified destination virtual of message identification information when receiving QueryimageRequest message The current image release number of machine;And after getting the image release number of target virtual machine, mirror image management interface is called to generate Its mirror image inquiry response for inquiring image release number, i.e. QueryImageRespone message shown in table 1 are carried, is back to Mirror image enquiry module 30 based on EMS operation.
Mirror image enquiry module 30 therefrom solves after the QueryImageRespone message for receiving VNF/VNFM return The image release number inquired is precipitated, and is transmitted to mirror image determination module 40.
Mirror image determination module 40 is after the image release number for receiving the transmission of mirror image enquiry module 30, by received mirror image Version number is compared with purpose image release number, and such as needs to rise to determine the need for upgrading according to default escalation policy Grade then triggers image upgrade operation, meanwhile, the VNF inquired before and VNFM are denoted as VNF and VNFM to be upgraded;Otherwise it determines not It needs to upgrade.It should be noted that, it is determined here that needing to upgrade, mirror image determination module 40 triggers mirror in the present embodiment scene As updating operation.
Image upgrade module 10 is in the image upgrade operation for detecting the triggering of mirror image determination module 40, creation upgrading text Part, the upgrade image file that the specific image upgrade for uploading corresponding triggering operates to mirror image server.
Wherein, upgrade image file, that is, corresponding mirror of foregoing purpose image release number of the image upgrade operation of corresponding triggering As file.Optionally, in other embodiments, also upgrade image file directly can be placed in the local EMS.
After successfully creating upgrade file, image upgrade module 10 calls the mirror image management interface, generates and carries institute The first image upgrade request (for UpdateImageRequest message shown in table 1) of the download address of upgrade image file is stated, First image upgrade request also carries to obtain new mirror image (i.e. upgrade image file) mark, new image release number, old image Mark, old image version number, new image download address (download address of the i.e. described upgrade file), downloading username and password Deng first image upgrade request is sent to VNF to be upgraded, is referred to indicating that VNF to be upgraded obtains the first image upgrade request Fixed upgrade image file is upgraded, wherein VNF to be upgraded includes the virtual machine and uninstantiated virtual machine of instantiation.
VNF to be upgraded parses what the first new image upgrade request carried after receiving the first image upgrade request New image banner, old image mark, old image version number, new image download address, downloads user name and close at new image release number New image release number is compared with local image release number by code etc., VNF to be upgraded, and determination needs to upgrade, and uses aforementioned use Name in an account book and password, which initiate image file downloading to the corresponding mirror image server in new image download address, requests, and downloads the upgrading mirror As file.
After upgrade image file is completed in downloading, VNF to be upgraded starts to execute the upgrading of local image file, and is rising After the completion of grade, the mirror image management interface of call definition generates and returns to the first image upgrade response (for shown in table 1 UpdateImageRepone message) to image upgrade module 10.Herein, the first image upgrade response carries the updating result of VNF To upgrade successfully.Optionally, in other embodiments, the actual result that the first image upgrade response carries VNF is depended on wait rise Whether grade VNF is upgraded successfully, if upgrading failure, can also carry failure cause.
For image upgrade module 10 in the first image response returned after receiving VNF to be upgraded and upgrading successfully, it is fixed to call The mirror image management interface of justice generates the second image upgrade request (for UpdateImageRequest message shown in table 1), this second Image upgrade request also carries to obtain new mirror image (i.e. upgrade image file) mark, new image release number, old image identify, are old Image release number, new image download address (download address of the i.e. described upgrade file), downloading username and password etc., by this Two image upgrades request is sent to the VNFM corresponding to VNF to be upgraded, to indicate that it is specified that VNFM obtains the second image upgrade request Upgrade image file upgraded.
VNFM parses the new mirror image that the second new image upgrade request carries after receiving the second image upgrade request Mark, new image release number, old image mark, old image version number, new image download address, downloading username and password etc., New image release number is compared VNFM with local image release number, and determination needs to upgrade, and uses aforementioned username and password Image file downloading request is initiated to the corresponding mirror image server in new image download address, downloads the upgrade image file.
After upgrade image file is completed in downloading, VNFM carries out the upgrading of old image file, the upgrading that specifically will acquire Image file is uploaded to default image file library, and updates its locally-stored related Mirror Info based on upgrade image file, And update the mirror image relevant information retained on VNF descriptor VNFD and NFV composer NFVO.In the specific implementation, VNFM will The upgrade image file of acquisition is uploaded to VIM, and the relevant letter of old image file saved on information updating NFVO is sent to NFVO It ceases (old image version number is such as updated to the new image release number of upgrade image file), updates the old image file locally saved Relevant information, and update the relevant information of old image file in VNFD.Wherein, it is relevant to update old image file by VNFM The operation reusable prior art of information, the present invention are not particularly limited.
When completing updating operation, the mirror image management interface of VNFM call definition generates and returns to the second image upgrade and rings It answers (for UpdateImageRepone message shown in table 1) to image upgrade module 10.Wherein, the second image upgrade response carries The updating result of VNFM, including failure is upgraded successfully and upgrades, if upgrading failure, can also carry failure cause.
Correspondingly, in the present embodiment, mirror image checks the second mirror image liter that module 20 returns to VNFM after completing upgrading Grade response is received, and to parse the updating result of VNFM from the second image upgrade response, judges the image upgrade of triggering Whether operation succeeds, so it is easy to understand that when the updating result parsed is to upgrade successfully, then can determine the mirror image liter of triggering Grade operation runs succeeded, and otherwise determines that the image upgrade operation of triggering executes failure.
Optionally, in other embodiments, when the updating result of the VNFM parsed is upgrading failure, mirror image checks mould The transmission of block 20 instruction information indicates that mirror image determination module 40 triggers image upgrade operation again to mirror image determination module 40.
Optionally, in other embodiments, the first image upgrade request and the second mirror image that image upgrade module 10 generates Upgrade request carries mirror image check code (for Checksum shown in table 1) respectively, obtains for VNF to be upgraded and VNFM to respective Upgrade image file carry out integrality and authenticity verification, and verification pass through after carry out image file upgrading.
It should be noted that as shown in figure 4, in the above embodiment of the invention, apparatus of the present invention are based on EMS where it Reference point SW4 between VNF is communicated, and apparatus of the present invention are connect based on the Ve-VNFM-em between EMS and VNFM where it Mouth is communicated, and VNF is communicated with VNFM based on the Ve-Vn-vnf interface between the two, and VNFM and NFVO are based on therebetween Or-Vnfm interface communicated, VNFM is communicated with VIM based on Vi-Vnfm interface between the two.
Further, in the present embodiment, image upgrade module 10 is also used to sending the second image upgrade request To when VNFM failure, second image upgrade request is sent to VNF to be upgraded, and indicates that the VNF to be upgraded will The second image upgrade request is forwarded to the VNFM.
In the present embodiment, it is transmitted when its message between EMS and VNFM cannot pass through Ve-VNFM-em interface, or When not having direct link between EMS and the VNFM, the transmission that image upgrade module 10 sends the second upgrade request operates may Failure, for this purpose, mirror image management message first can be forwarded to VNF to be upgraded through SW4 by image upgrade module 10, then by VNF to be upgraded It is forwarded to VNFM.Wherein, mirror image management message includes its second image upgrade request and mirror image inquiry request etc..
The update device of network function virtualization image file proposed by the present invention, is connect by the mirror image management of call definition Mouthful, can realize that net element business version and image file version while upgrade based on EMS, virtual machine for large scale deployment or For the virtual machine of person's escalation process complexity, operation maintenance personnel operating procedure is simplified, meanwhile, can also it not cancel/create virtually Image upgrade is done to virtual machine in the case where machine, is suitble to the smooth upgrade to the state virtual machine for having process data, and this hair It is bright not need newly-built virtual machine, therefore be not required to occupy additional hardware resource.To which, the present invention can be efficiently to having instantiated And/or uninstantiated virtual machine carries out image upgrade.
Further, it is based on first embodiment, proposes the second embodiment of apparatus of the present invention, it is in the present embodiment, described Image upgrade module 10 is also used to calculate the eap-message digest of the upgrade image file, and by the eap-message digest of calculating and institute It states upgrade image file and is packaged as upgrade package;Be also used to the upgrade package being uploaded to the mirror image server, for it is described to Upgrade the VNF and VNFM after downloading to the upgrade package, parse the upgrade image file that the upgrade package carries with And eap-message digest, and the eap-message digest for calculating the upgrade image file is compared with the eap-message digest parsed, than To upgrading after success.
It should be noted that the present embodiment provides a more traditional check code is safer, to the complete of upgrade image file Whole property and authenticity verification scheme, other can refer to aforementioned first embodiment, and details are not described herein again.
In embodiments of the present invention, image upgrade module 10 being disappeared using what is arranged first when uploading upgrade image file It ceases digest algorithm (specifically by the upload end of upgrade image file, being arranged with the downloading end VNF/VNFM of upgrade image file) Aforementioned upgrade image file is calculated, the eap-message digest for corresponding to aforementioned upgrade image file is obtained.Wherein, the present invention is to adopting It is not particularly limited, can be chosen according to actual needs by those skilled in the art, for example, this implementation with which kind of Message Digest 5 Example calculates the eap-message digest of aforementioned upgrade image file using MD5 algorithm.
After the eap-message digest that upgrade image file is calculated, the eap-message digest of calculating and upgrade image file are beaten Packet is upgrade package, and the upgrade package of packing is uploaded to mirror image server.Wherein, the present invention is not done to using which kind of packing manner Concrete restriction.
Later, when generating the first image upgrade request of triggering VNF upgrading, aforementioned mirror image management interface is specifically called, Generate the first image upgrade request for the download address for carrying aforementioned upgrade package;In the second mirror image liter for generating triggering VNFM upgrading When grade request, aforementioned mirror image management interface is specifically called, generates the second image upgrade for carrying the download address of aforementioned upgrade package Request.
On the other hand, VNF/VNFM to be upgraded is after downloading to upgrade package, except the integrality carried out based on check code and Except authenticity verification, also further the upgrade package of downloading is parsed, obtains the upgrade image file of upgrade package carrying And eap-message digest, and the upgrade image file parsed is calculated using the Message Digest 5 of agreement, then will calculate It obtains eap-message digest to be compared with the eap-message digest parsed, to carry out based on eap-message digest the upgrade image file of downloading Integrality and authenticity verification, wherein the two eap-message digest compare it is consistent when, verification passes through, otherwise verification failure.It is easy Understand, VNF/VNFM to be upgraded and only upgraded when verification passes through.
The present invention also provides a kind of methods of network function virtualization image file upgrading, network function as shown in Figure 2 The device for virtualizing image file upgrading executes, referring to Fig. 5, in the method for inventive network virtualization of function image file upgrading First embodiment in, corresponding to aforementioned network virtualization of function image file upgrading device first embodiment, the network Virtualization of function image file upgrading method include:
Step S10 calls the mirror image management interface when triggering image upgrade operation, generates the first image upgrade and asks It asks, and first image upgrade request is sent to VNF to be upgraded, to indicate that the VNF to be upgraded obtains first mirror As the upgrade image file that upgrade request is specified is upgraded, wherein the VNF to be upgraded includes the virtual machine and not of instantiation The virtual machine of instantiation;
Step S20 calls the mirror image management interface to generate and return after receiving the VNF to be upgraded and successfully upgrading When the first image upgrade response returned, the mirror image management interface is called, generate the second image upgrade request, and by described second Image upgrade request is sent to the VNFM of the corresponding VNF to be upgraded, to indicate that the VNFM obtains second image upgrade The specified upgrade image file of request is upgraded, wherein the second image upgrade request is asked with first image upgrade It asks and specifies identical upgrade image file;
Step S30 receives the VNFM after upgrading, the second mirror image for calling the mirror image management interface to generate and returning Whether upgrading response is succeeded with the image upgrade operation triggered according to the second image upgrade response confirmation;
Wherein, the image file updating operation of the VNFM execution includes:
The upgrade image file that the VNFM will acquire is uploaded to default image file library, and based on the upgrade image text Retain on part update VNFM locally-stored related Mirror Info, and update VNF descriptor VNFD and NFV composer NFVO Mirror image relevant information.
In embodiments of the present invention, in order to realize to having instantiated and/or the image upgrade of uninstantiated virtual machine, and it is simultaneous The version management function of holding tradition EMS, defines a set of mirror image management interface first between EMS and VNF and VNFM.Such as 1 institute of table Show, for the part of interface and parameter for realizing concrete function in the mirror image management interface.
It should be noted that the EMS of apparatus of the present invention application can be the managed network element in existing network, it is also possible to collect At the EMS module into VNF.
In the specific implementation, it is necessary first to trigger image upgrade operation, can specifically be triggered manually by operation maintenance personnel, Huo Zheyou Apparatus of the present invention actively trigger.
For example, upgrade image file is uploaded to EMS by operation maintenance personnel, and default by EMS when image release number updates Upgrade trigger control triggering image upgrade operation;In another example the image release number on apparatus of the present invention inquiry VNF/VNFM, and will The image release number inquired is compared with purpose image release number, is lower than purpose mirrored version in the image release number inquired At this number, triggering image upgrade operation.
Following present invention embodiment actively triggers image upgrade operation and is illustrated.
Firstly, it is necessary to the image release number of VNF/VNFM is inquired, before step S10, including:
When triggering image release inquiry operation, the mirror image management interface is called, generates the mark for carrying target virtual machine Know the mirror image inquiry request of information, and the mirror image inquiry request is sent to corresponding VNF to be checked or VNFM to be checked, with For the VNF to be checked or described VNFM to be checked, based on the identification information-enquiry to the mirrored version of the target virtual machine This number;
Receive the mirror image that the VNF to be checked or described VNFM to be checked calls the mirror image management interface to generate and return Inquiry response, and parse the image release number that the mirror image inquiry response carries.
Specifically, the device of aforementioned network virtualization of function image file upgrading further includes mirror image enquiry module 30, it is used for When triggering image release inquiry operation, mirror image management interface is called, generates the mirror image for carrying the identification information of target virtual machine Inquiry request, and mirror image inquiry request is sent to corresponding VNF to be checked or VNFM to be checked, for the VNF to be checked Or the VNFM to be checked, based on the identification information-enquiry to the image release number of the target virtual machine, and encapsulate to mirror As in inquiry response;
Receive the mirror image that the VNF to be checked or described VNFM to be checked calls the mirror image management interface to generate and return Inquiry response, and parse the image release number that the mirror image inquiry response carries.
It should be noted that mirror image enquiry module 30, is mainly used for mirror image query function, when inquiring image release to VNF Number when, for inquiring the current image release number of designated virtual machine;When inquiring mirror image to VNFM, for inquiring NFVO/VNFM/ The current image release number recorded in VNF (VNF inquired before i.e.) description file is specified on VIM.
Specifically, shown in mirror image inquiry request, that is, table 1 that mirror image enquiry module 30 calls mirror image management interface to generate QueryimageRequest message carries the identification information of target virtual machine in the message.
VNF obtains the specified target virtual machine of message identification information when receiving QueryimageRequest message Current image release number;And after getting the image release number of target virtual machine, the generation of mirror image management interface is called to take The mirror image inquiry response of image release number, i.e. QueryImageRespone message shown in table 1 are inquired with it, are back to base In the mirror image enquiry module 30 of EMS operation.
VNFM obtains the specified destination virtual of message identification information when receiving QueryimageRequest message The current image release number of machine;And after getting the image release number of target virtual machine, mirror image management interface is called to generate Its mirror image inquiry response for inquiring image release number, i.e. QueryImageRespone message shown in table 1 are carried, is back to Mirror image enquiry module 30 based on EMS operation.
Mirror image enquiry module 30 therefrom solves after the QueryImageRespone message for receiving VNF/VNFM return The image release number inquired is precipitated, and is transmitted to mirror image determination module 40.
Mirror image determination module 40 is after the image release number for receiving the transmission of mirror image enquiry module 30, by received mirror image Version number is compared with purpose image release number, and such as needs to rise to determine the need for upgrading according to default escalation policy Grade then triggers image upgrade operation, meanwhile, the VNF inquired before and VNFM are denoted as VNF and VNFM to be upgraded;Otherwise it determines not It needs to upgrade.It should be noted that, it is determined here that needing to upgrade, mirror image determination module 40 triggers mirror in the present embodiment scene As updating operation.
Image upgrade module 10 is in the image upgrade operation for detecting the triggering of mirror image determination module 40, creation upgrading text Part, the upgrade image file that the specific image upgrade for uploading corresponding triggering operates to mirror image server.
Wherein, upgrade image file, that is, corresponding mirror of foregoing purpose image release number of the image upgrade operation of corresponding triggering As file.Optionally, in other embodiments, also upgrade image file directly can be placed in the local EMS.
After successfully creating upgrade file, image upgrade module 10 calls the mirror image management interface, generates and carries institute The first image upgrade request (for UpdateImageRequest message shown in table 1) of the download address of upgrade image file is stated, First image upgrade request also carries to obtain new mirror image (i.e. upgrade image file) mark, new image release number, old image Mark, old image version number, new image download address (download address of the i.e. described upgrade file), downloading username and password Deng first image upgrade request is sent to VNF to be upgraded, is referred to indicating that VNF to be upgraded obtains the first image upgrade request Fixed upgrade image file is upgraded, wherein VNF to be upgraded includes the virtual machine and uninstantiated virtual machine of instantiation.
VNF to be upgraded parses what the first new image upgrade request carried after receiving the first image upgrade request New image banner, old image mark, old image version number, new image download address, downloads user name and close at new image release number New image release number is compared with local image release number by code etc., VNF to be upgraded, and determination needs to upgrade, and uses aforementioned use Name in an account book and password, which initiate image file downloading to the corresponding mirror image server in new image download address, requests, and downloads the upgrading mirror As file.
After upgrade image file is completed in downloading, VNF to be upgraded starts to execute the upgrading of local image file, and is rising After the completion of grade, the mirror image management interface of call definition generates and returns to the first image upgrade response (for shown in table 1 UpdateImageRepone message) to image upgrade module 10.Herein, the first image upgrade response carries the updating result of VNF To upgrade successfully.Optionally, in other embodiments, the actual result that the first image upgrade response carries VNF is depended on wait rise Whether grade VNF is upgraded successfully, if upgrading failure, can also carry failure cause.
For image upgrade module 10 in the first image response returned after receiving VNF to be upgraded and upgrading successfully, it is fixed to call The mirror image management interface of justice generates the second image upgrade request (for UpdateImageRequest message shown in table 1), this second Image upgrade request also carries to obtain new mirror image (i.e. upgrade image file) mark, new image release number, old image identify, are old Image release number, new image download address (download address of the i.e. described upgrade file), downloading username and password etc., by this Two image upgrades request is sent to the VNFM corresponding to VNF to be upgraded, to indicate that it is specified that VNFM obtains the second image upgrade request Upgrade image file upgraded.
VNFM parses the new mirror image that the second new image upgrade request carries after receiving the second image upgrade request Mark, new image release number, old image mark, old image version number, new image download address, downloading username and password etc., New image release number is compared VNFM with local image release number, and determination needs to upgrade, and uses aforementioned username and password Image file downloading request is initiated to the corresponding mirror image server in new image download address, downloads the upgrade image file.
After upgrade image file is completed in downloading, VNFM carries out the upgrading of old image file, the upgrading that specifically will acquire Image file is uploaded to default image file library, and updates its locally-stored related Mirror Info based on upgrade image file, And update the mirror image relevant information retained on VNF descriptor VNFD and NFV composer NFVO.In the specific implementation, VNFM will The upgrade image file of acquisition is uploaded to VIM, and the relevant letter of old image file saved on information updating NFVO is sent to NFVO It ceases (old image version number is such as updated to the new image release number of upgrade image file), updates the old image file locally saved Relevant information, and update the relevant information of old image file in VNFD.Wherein, it is relevant to update old image file by VNFM The operation reusable prior art of information, the present invention are not particularly limited.
When completing updating operation, the mirror image management interface of VNFM call definition generates and returns to the second image upgrade and rings It answers (for UpdateImageRepone message shown in table 1) to image upgrade module 10.Wherein, the second image upgrade response carries The updating result of VNFM, including failure is upgraded successfully and upgrades, if upgrading failure, can also carry failure cause.
Correspondingly, in the present embodiment, mirror image checks the second mirror image liter that module 20 returns to VNFM after completing upgrading Grade response is received, and to parse the updating result of VNFM from the second image upgrade response, judges the image upgrade of triggering Whether operation succeeds, so it is easy to understand that when the updating result parsed is to upgrade successfully, then can determine the mirror image liter of triggering Grade operation runs succeeded, and otherwise determines that the image upgrade operation of triggering executes failure.
Optionally, in other embodiments, when the updating result of the VNFM parsed is upgrading failure, mirror image checks mould The transmission of block 20 instruction information indicates that mirror image determination module 40 triggers image upgrade operation again to mirror image determination module 40.
Optionally, in other embodiments, the first image upgrade request and the second mirror image that image upgrade module 10 generates Upgrade request carries mirror image check code (for Checksum shown in table 1) respectively, obtains for VNF to be upgraded and VNFM to respective Upgrade image file carry out integrality and authenticity verification, and verification pass through after carry out image file upgrading.
It should be noted that as shown in figure 4, in the above embodiment of the invention, apparatus of the present invention are based on EMS where it Reference point SW4 between VNF is communicated, and apparatus of the present invention are connect based on the Ve-VNFM-em between EMS and VNFM where it Mouth is communicated, and VNF is communicated with VNFM based on the Ve-Vn-vnf interface between the two, and VNFM and NFVO are based on therebetween Or-Vnfm interface communicated, VNFM is communicated with VIM based on Vi-Vnfm interface between the two.
Further, in the present embodiment, after step S20, further include:
It requests sending second image upgrade to when VNFM failure, second image upgrade is requested to send Extremely VNF to be upgraded, and indicate that second image upgrade request is forwarded to the VNFM by the VNF to be upgraded.
Specifically, image upgrade module 10 is also used to request to the VNFM to fail in transmission second image upgrade When, second image upgrade request is sent to VNF to be upgraded, and indicate the VNF to be upgraded by the second mirror image liter Grade request is forwarded to the VNFM.In the present embodiment, when its message between EMS and VNFM cannot pass through Ve-VNFM-em When not having direct link between interface transmitting or EMS and the VNFM, image upgrade module 10 sends the second upgrade request Sending operation may fail, for this purpose, mirror image management message first can be forwarded to VNF to be upgraded through SW4 by image upgrade module 10, then VNFM is forwarded to by VNF to be upgraded.Wherein, mirror image management message includes that its second image upgrade request of institute and mirror image inquiry are asked It asks.
The upgrade method of network function virtualization image file proposed by the present invention, is connect by the mirror image management of call definition Mouthful, can realize that net element business version and image file version while upgrade based on EMS, virtual machine for large scale deployment or For the virtual machine of person's escalation process complexity, operation maintenance personnel operating procedure is simplified, meanwhile, can also it not cancel/create virtually Image upgrade is done to virtual machine in the case where machine, is suitble to the smooth upgrade to the state virtual machine for having process data, and this hair It is bright not need newly-built virtual machine, therefore be not required to occupy additional hardware resource.To which, the present invention can be efficiently to having instantiated And/or uninstantiated virtual machine carries out image upgrade.
Further, it is based on first embodiment, proposes the second embodiment of the method for the present invention, the corresponding to aforementioned device Two embodiments, in the present embodiment, the upgrade image file that the aforementioned image upgrade for uploading corresponding triggering operates to mirroring service The step of device includes:
The eap-message digest of the upgrade image file is calculated, and the eap-message digest of calculating and the upgrade image is literary Part is packaged as upgrade package;
The upgrade package is uploaded to the mirror image server, so that the VNF to be upgraded and VNFM is being downloaded to After the upgrade package, the upgrade image file and eap-message digest that the upgrade package carries are parsed, and calculate the liter The eap-message digest of class mirror-image file is compared with the eap-message digest parsed, is upgraded after comparing successfully.
It should be noted that the present embodiment provides a more traditional check code is safer, to the complete of upgrade image file Whole property and authenticity verification scheme, other can refer to aforementioned first embodiment, and details are not described herein again.
In embodiments of the present invention, image upgrade module 10 being disappeared using what is arranged first when uploading upgrade image file It ceases digest algorithm (specifically by the upload end of upgrade image file, being arranged with the downloading end VNF/VNFM of upgrade image file) Aforementioned upgrade image file is calculated, the eap-message digest for corresponding to aforementioned upgrade image file is obtained.Wherein, the present invention is to adopting It is not particularly limited, can be chosen according to actual needs by those skilled in the art, for example, this implementation with which kind of Message Digest 5 Example calculates the eap-message digest of aforementioned upgrade image file using MD5 algorithm.
After the eap-message digest that upgrade image file is calculated, the eap-message digest of calculating and upgrade image file are beaten Packet is upgrade package, and the upgrade package of packing is uploaded to mirror image server.Wherein, the present invention is not done to using which kind of packing manner Concrete restriction.
Later, when generating the first image upgrade request of triggering VNF upgrading, aforementioned mirror image management interface is specifically called, Generate the first image upgrade request for the download address for carrying aforementioned upgrade package;In the second mirror image liter for generating triggering VNFM upgrading When grade request, aforementioned mirror image management interface is specifically called, generates the second image upgrade for carrying the download address of aforementioned upgrade package Request.
On the other hand, VNF/VNFM to be upgraded is after downloading to upgrade package, except the integrality carried out based on check code and Except authenticity verification, also further the upgrade package of downloading is parsed, obtains the upgrade image file of upgrade package carrying And eap-message digest, and the upgrade image file parsed is calculated using the Message Digest 5 of agreement, then will calculate It obtains eap-message digest to be compared with the eap-message digest parsed, to carry out based on eap-message digest the upgrade image file of downloading Integrality and authenticity verification, wherein the two eap-message digest compare it is consistent when, verification passes through, otherwise verification failure.It is easy Understand, VNF/VNFM to be upgraded and only upgraded when verification passes through.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method of network function virtualization NFV image file upgrading, which is characterized in that define Element management system EMS With the mirror image management interface between virtual network function VNF and virtual network function manager VNFM, this method includes following step Suddenly:
When triggering image upgrade operation, the mirror image management interface is called, generate the first image upgrade request, and by described the One image upgrade request is sent to VNF to be upgraded, to indicate that it is specified that the VNF to be upgraded obtains the first image upgrade request Upgrade image file upgraded, wherein the VNF to be upgraded includes the virtual machine of instantiation and uninstantiated virtual Machine;
After receiving the VNF to be upgraded and successfully upgrading, the first mirror image for calling the mirror image management interface to generate and returning When upgrading response, the mirror image management interface is called, generates the second image upgrade request, and second image upgrade is requested It is sent to the VNFM of the corresponding VNF to be upgraded, to indicate that the VNFM obtains the specified liter of the second image upgrade request Class mirror-image file is upgraded, wherein the second image upgrade request is specified identical with first image upgrade request Upgrade image file;
The VNFM is received after upgrading, the second image upgrade response called the mirror image management interface to generate and returned, with Whether succeeded according to the image upgrade operation of the second image upgrade response confirmation triggering.
2. generating the first mirror the method according to claim 1, wherein described call the mirror image management interface Before as the step of upgrade request, further include:
When triggering image upgrade operation, the upgrade image file of the image upgrade operation of corresponding triggering is uploaded to mirroring service Device;
Described to call the mirror image management interface, generating the step of the first image upgrade is requested includes:
The mirror image management interface is called, the first image upgrade for generating the download address for carrying the upgrade image file is asked It asks;
Described to call the mirror image management interface, generating the step of the second image upgrade is requested includes:
The mirror image management interface is called, the second image upgrade for generating the download address for carrying the upgrade image file is asked It asks.
3. according to the method described in claim 2, it is characterized in that, the upgrading of the image upgrade operation for uploading corresponding triggering Image file to the step of mirror image server includes:
The eap-message digest of the upgrade image file is calculated, and the eap-message digest of calculating and the upgrade image file are beaten Packet is upgrade package;
The upgrade package is uploaded to the mirror image server, for the VNF to be upgraded and VNFM download to it is described After upgrade package, the upgrade image file and eap-message digest that the upgrade package carries are parsed, and calculate the upgrading mirror As the eap-message digest of file is compared with the eap-message digest parsed, upgraded after comparing successfully.
4. method according to claim 1-3, which is characterized in that the method also includes:
When triggering image release inquiry operation, the mirror image management interface is called, generates the mark letter for carrying target virtual machine The mirror image inquiry request of breath, and the mirror image inquiry request is sent to corresponding VNF to be checked or VNFM to be checked, for institute VNF to be checked or described VNFM to be checked is stated, based on the identification information-enquiry to the image release number of the target virtual machine;
Receive the mirror image inquiry that the VNF to be checked or described VNFM to be checked calls the mirror image management interface to generate and returns Response, and parse the image release number that the mirror image inquiry response carries.
5. method according to claim 1-3, which is characterized in that described to request to send out by second image upgrade After the step of sending to the VNFM, further include:
It requests sending second image upgrade to when VNFM failure, second image upgrade request is sent to institute VNF to be upgraded is stated, and indicates that second image upgrade request is forwarded to the VNFM by the VNF to be upgraded.
6. a kind of device of network function virtualization NFV image file upgrading, which is characterized in that define Element management system EMS With the mirror image management interface between virtual network function VNF and virtual network function manager VNFM, which includes:
Image upgrade module generates the first mirror image liter for calling the mirror image management interface when triggering image upgrade operation Grade request, and first image upgrade request is sent to VNF to be upgraded, to indicate that the VNF to be upgraded obtains described the The specified upgrade image file of one image upgrade request is upgraded, wherein the VNF to be upgraded includes the virtual machine of instantiation With uninstantiated virtual machine;It is also used to after receiving the VNF to be upgraded and successfully upgrading, calls the mirror image management interface Generate and return the first image upgrade response when, call the mirror image management interface, generate the second image upgrade request, and will The second image upgrade request is sent to the VNFM of the corresponding VNF to be upgraded, to indicate that the VNFM obtains described second The specified upgrade image file of image upgrade request is upgraded, wherein the second image upgrade request and first mirror As upgrade request specifies identical upgrade image file;
Mirror image checks module, for receiving the VNFM after upgrading, call the mirror image management interface to generate and return the Whether two image upgrades response is succeeded with the image upgrade operation triggered according to the second image upgrade response confirmation.
7. device according to claim 6, which is characterized in that the image upgrade module is also used in triggering image upgrade When operation, the upgrade image file of the image upgrade operation of corresponding triggering is uploaded to mirror image server;It is also used to call the mirror As management interface, the first image upgrade request for the download address for carrying the upgrade image file is generated;It is also used to call institute Mirror image management interface is stated, the second image upgrade request for the download address for carrying the upgrade image file is generated.
8. device according to claim 7, which is characterized in that the image upgrade module is also used to calculate the upgrading mirror Upgrade package is packaged as the eap-message digest of file, and by the eap-message digest of calculating and the upgrade image file;It is also used to The upgrade package is uploaded to the mirror image server, so that the VNF to be upgraded and VNFM is downloading to the upgrading After packet, the upgrade image file and eap-message digest that the upgrade package carries are parsed, and calculates the upgrade image text The eap-message digest of part is compared with the eap-message digest parsed, is upgraded after comparing successfully.
9. according to the described in any item devices of claim 6-8, which is characterized in that described device further includes:
Mirror image enquiry module generates for when triggering image release inquiry operation, calling the mirror image management interface and carries mesh Mark virtual machine identification information mirror image inquiry request, and by the mirror image inquiry request be sent to corresponding VNF to be checked or VNFM to be checked, it is empty to the target based on the identification information-enquiry for the VNF to be checked or described VNFM to be checked The image release number of quasi- machine;
Receive the mirror image inquiry that the VNF to be checked or described VNFM to be checked calls the mirror image management interface to generate and returns Response, and parse the image release number that the mirror image inquiry response carries.
10. according to the described in any item devices of claim 6-8, which is characterized in that the image upgrade module is also used to sending out When second image upgrade being sent to request to the VNFM to fail, second image upgrade request is sent to described to be upgraded VNF, and indicate that second image upgrade request is forwarded to the VNFM by the VNF to be upgraded.
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 true CN108881338A (en) 2018-11-23
CN108881338B 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)

Cited By (2)

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

Citations (6)

* 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
WO2016041360A1 (en) * 2014-09-20 2016-03-24 华为技术有限公司 Virtual network function element software deployment method, system and related device
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
WO2016121834A1 (en) * 2015-01-29 2016-08-04 日本電気株式会社 Method, system, device, and program for managing network function virtualization
WO2017041817A1 (en) * 2015-09-07 2017-03-16 Telefonaktiebolaget Lm Ericsson (Publ) Method for redundancy of a vlr database of a virtualized msc

Patent Citations (6)

* 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
WO2016041360A1 (en) * 2014-09-20 2016-03-24 华为技术有限公司 Virtual network function element software deployment method, system and related device
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
WO2016121834A1 (en) * 2015-01-29 2016-08-04 日本電気株式会社 Method, system, device, and program for managing network function virtualization
WO2017041817A1 (en) * 2015-09-07 2017-03-16 Telefonaktiebolaget Lm Ericsson (Publ) Method for redundancy of a vlr database of a virtualized msc

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
" "S5-154443 pCR TR 32.842 Add use cases of software management"", 《3GPP TSG_SA\WG5_TM》 *
薛海强等: "网络功能虚拟化及其标准化", 《中兴通讯技术》 *

Cited By (4)

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

Also Published As

Publication number Publication date
CN108881338B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN104253866B (en) Software deployment method, system and the relevant device of virtual network function network element
US10140205B1 (en) Systems and methods for infrastructure validation
CN103283209B (en) A kind of application service platform system and its implementation
CN112035228B (en) Resource scheduling method and device
US7480907B1 (en) Mobile services network for update of firmware/software in mobile handsets
US7743147B2 (en) Automated provisioning of computing networks using a network database data model
US8250570B2 (en) Automated provisioning framework for internet site servers
CN110572436A (en) Multi-place cross-cluster server deployment method and system
KR101278743B1 (en) Solution deployment in a server farm
WO2016119631A1 (en) Method for accessing cloud service and access device
CN107294785B (en) Automatic deployment method and device for CDN node service and computer readable storage medium
KR20060051932A (en) Updating software while it is running
CN110138577B (en) Cluster creation method, first server and readable storage medium
US8180927B2 (en) Transaction control arrangement for device management system
CN109905256A (en) A kind of firmware update and device
CN113055492A (en) Control method and device for service gray scale link, computer equipment and storage medium
US20220326940A1 (en) Service Upgrade Method, Apparatus, and System
CN112925529B (en) Application security distribution method, system, device and medium based on distributed cloud platform
CN110231956A (en) The method, system and device of application version building
CN113239118A (en) Block chain training system and method
CN113064600A (en) Method and device for deploying application
CN108881338A (en) Network function virtualizes the method and device of image file upgrading
CN107404389A (en) Service deployment methods, devices and systems
Chen et al. MORE: A model-driven operation service for cloud-based IT systems
US20150277892A1 (en) Multi-phase software delivery

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