WO2017121153A1 - 软件升级方法及装置 - Google Patents

软件升级方法及装置 Download PDF

Info

Publication number
WO2017121153A1
WO2017121153A1 PCT/CN2016/102183 CN2016102183W WO2017121153A1 WO 2017121153 A1 WO2017121153 A1 WO 2017121153A1 CN 2016102183 W CN2016102183 W CN 2016102183W WO 2017121153 A1 WO2017121153 A1 WO 2017121153A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
upgrade
software upgrade
vnfm
vnf instance
Prior art date
Application number
PCT/CN2016/102183
Other languages
English (en)
French (fr)
Inventor
肖维金
祝伟宏
郭开宴
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017121153A1 publication Critical patent/WO2017121153A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/20Network management software packages

Definitions

  • the present invention relates to the field of communications, and in particular to a software upgrade method and apparatus.
  • an interface between a network management system (NMS) and an element management system (EMS) is called a northbound interface (itf- N).
  • the EMS mainly completes the Element Management Layer (EML) function in the Telecommunications Management Network (TMN) of the International Telecommunication Union (ITU), that is, completes one or more
  • EML Element Management Layer
  • TTN Telecommunications Management Network
  • ITU International Telecommunication Union
  • the management functions of mobile communication devices are usually not common to EMSs between different device vendors.
  • the NMS mainly performs the Network Management Layer (NML) function in the ITU TMN and is responsible for the management of all network elements in a managed network.
  • NML Network Management Layer
  • the entire subnet can be managed through its own EMS management.
  • NFV Network Functions Virtualization
  • the original physical network element device is composed of Instead of decoupling network functions from specific hardware, the VNF is isolated from the underlying Network Functions Virtualization Infrastructure (NFVI).
  • NFVI Network Functions Virtualization Infrastructure
  • the traditional maintenance and management functions of the VNF instance are performed by the EMS, and the lifecycle management function of the VNF is completed by the Virtualized Network Function Manager (VNFM).
  • VNFM Virtualized Network Function Manager
  • VNFM Virtualized Network Function Manager
  • VNFM Virtualized Network Function Manager
  • VNFM Virtualized Infrastructure Manage
  • the specific network service is generally completed by one or more VNF instances.
  • the management of the network service is performed by the Network Functions Virtualization Orchestrator (NFVO).
  • NFVO Network Functions Virtualization Orchestrator
  • the VNF instance is actually the virtual operating system software and corresponding application layer software running on the virtual infrastructure, which needs to be continuously upgraded during its life cycle.
  • the VNF software upgrade solution is not perfect, and there is currently no effective solution.
  • the embodiment of the invention provides a software upgrade method and device, so as to at least solve the problem that the VNF software upgrade solution in the related art is imperfect.
  • a software upgrade method including:
  • the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS;
  • the VNF instance upgrades the software corresponding to the software upgrade version according to the software upgrade version.
  • the software upgrade instruction carries a version number of the software upgrade version.
  • the method further includes:
  • the VNF instance interacts with the VNFM to perform an upgrade of the software corresponding to the upgraded version of the software.
  • the software corresponding to the software upgrade version includes: business software, or a virtual operating system; or the virtual operating system and business software.
  • the upgrading of the VNF instance interacting with the VNFM to perform software corresponding to the software upgrade version includes one of the following:
  • the virtual machine image is replaced by the image replacement interface provided by the VNFM.
  • the method further includes:
  • the EMS obtains an upgrade authorization from the VNFM and/or NFVO, wherein the upgrade authorization is to install the software upgrade version in the VNFM and/or the NFVO.
  • the method further includes:
  • the network element management system NMS sends the software upgrade instruction to the EMS.
  • the software upgrade instruction carries an identifier of the VNF instance.
  • the method further includes:
  • the VNF instance After the upgrade is completed, the VNF instance sends notification information to the virtualization network function manager VNFM, wherein the notification information is information indicating that the upgrade is complete.
  • the method further includes:
  • the VNFM After the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • VNFM registered virtualized network function descriptor VNFD and plug-in related information.
  • the method further includes:
  • VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • a software upgrade method including:
  • the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS, where the software upgrade instruction is a software upgrade instruction sent by the virtualized network function manager VNFM to the EMS;
  • the VNF instance upgrades the software corresponding to the software upgrade version according to the software upgrade version.
  • the software upgrade instruction carries the VNF instance identifier.
  • the method further includes:
  • the network function virtual orchestrator NFVO sends the software upgrade command to the VNFM.
  • the method further includes:
  • the VNF instance sends notification information to the VNFM, where the notification information is information used to indicate that the upgrade is complete.
  • the method further includes:
  • the VNFM After the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • VNFM registered virtualized network function descriptor VNFD and plug-in related information.
  • the method further includes:
  • VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • a software upgrade method including:
  • the virtualized network function VNF instance obtains the software version package delivered by the EMS management system EMS;
  • the VNF instance upgrades software corresponding to the software version package according to the software version package.
  • the method further includes:
  • the VNF instance After the upgrade is completed, the VNF instance sends notification information to the virtualization network function manager VNFM, wherein the notification information is information indicating that the upgrade is complete.
  • the method further includes:
  • the VNFM After the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • VNFM registered virtualized network function descriptor VNFD and plug-in related information.
  • the method further includes:
  • VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • a software upgrade apparatus which is applied to a virtualized network function VNF instance, including:
  • the first receiving module is configured to receive a software upgrade instruction issued by the network element management system EMS;
  • a first acquiring module configured to acquire, from the EMS, a software upgrade version corresponding to the software upgrade instruction
  • the first upgrade module is configured to upgrade the software corresponding to the software upgrade version according to the software upgrade version.
  • a software upgrade apparatus which is applied to a virtualized network function VNF instance, including:
  • a second receiving module configured to receive a software upgrade instruction issued by the network element management system EMS, where the software upgrade instruction is a software upgrade instruction sent by the VNFM to the EMS;
  • a second obtaining module configured to acquire, from the EMS, a software upgrade version corresponding to the software upgrade instruction
  • the first upgrade module is configured to upgrade the software corresponding to the software upgrade version according to the software upgrade version.
  • a software upgrade apparatus which is applied to a virtualized network function VNF instance, including:
  • the third obtaining module is configured to obtain a software version package delivered by the EMS of the network element management system
  • a third receiving module configured to receive a software upgrade instruction delivered by the EMS
  • a second upgrade module configured to upgrade the software corresponding to the software upgrade version according to the software upgrade version level.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the software upgrade method in the foregoing embodiment.
  • the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS, and the VNF instance obtains the software upgrade version corresponding to the software upgrade instruction from the EMS, and the VNF instance follows the software.
  • the upgrade version upgrades the software corresponding to the upgraded version of the software.
  • FIG. 1 is a flowchart 1 of a software upgrade method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of a software upgrade method according to an embodiment of the present invention.
  • FIG. 3 is a third flowchart of a software upgrade method according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram 1 of a software upgrading apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 2 of a software upgrading apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 3 of a software upgrading apparatus according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of a method for upgrading a VNF software according to a preferred embodiment of the present invention.
  • FIG. 8 is a flow diagram of a method of software upgrade triggered by VNFM in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a software upgrade method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS;
  • Step S104 The VNF instance obtains a software upgrade version corresponding to the software upgrade instruction from the EMS.
  • Step S106 The VNF instance upgrades the software corresponding to the upgraded version of the software according to the software upgrade version.
  • the virtualized network function VNF instance receives the software upgrade command issued by the network element management system EMS, and the VNF instance obtains the software upgrade version corresponding to the software upgrade instruction from the EMS, and the VNF instance follows the software upgrade version. Upgrade the software corresponding to the upgraded version of the software. After virtualization, the VNF instance is actually the virtual operating system software and the corresponding application layer software running on the virtual infrastructure. These softwares continuously in their life cycle. To upgrade, the above technical solution solves the problem that the VNF software upgrade program is imperfect, and gives a complete solution of the VNF software upgrade in detail.
  • the software upgrade instruction carries the version number of the software upgrade version.
  • the VNF instance exchanges information with the VNFM to perform software upgrade corresponding to the software upgrade version.
  • the software corresponding to the upgraded version of the software includes: business software, or a virtual operating system; or the virtual operating system and business software.
  • the VNF instance interacts with the VNFM to perform software upgrade corresponding to the software upgrade version, including one of the following:
  • the virtual machine image is replaced by the image replacement interface provided by the VNFM.
  • the EMS before the VNF instance receives the software upgrade instruction issued by the EMS, the EMS obtains an upgrade authorization from the VNFM and/or NFVO, wherein the upgrade authorization is used in the VNFM and/or the NFVO. Install the software upgrade version.
  • the network element management system NMS sends the software upgrade instruction to the EMS.
  • the software upgrade instruction carries the identifier of the VNF instance.
  • the VNF instance after the VNF instance performs the upgrade of the software corresponding to the upgraded version of the software, after the upgrade is completed, the VNF instance sends the notification information to the virtualized network function manager VNFM, where the notification information is used. Information indicating that the upgrade is complete.
  • the VNFM after the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • the VNFM registers the virtualized network function descriptor VNFD and plugin related information.
  • the VNF instance in the case that the VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • FIG. 2 is a flowchart 2 of a software upgrade method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS, where the software upgrade instruction is a software upgrade instruction sent by the virtualized network function manager VNFM to the EMS;
  • Step S204 The VNF instance obtains a software upgrade version corresponding to the software upgrade instruction from the EMS.
  • Step S206 the VNF instance upgrades the software corresponding to the upgraded version of the software according to the software upgrade version.
  • the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS, where the software upgrade instruction is a software upgrade instruction sent by the virtualized network function manager VNFM to the EMS, the VNF The instance obtains a software upgrade version corresponding to the software upgrade instruction from the EMS, and the VNF instance upgrades the software corresponding to the software upgrade version according to the software upgrade version, and solves the problem that the VNF software upgrade solution is imperfect, and details A complete solution for VNF software upgrades.
  • the software upgrade instruction carries the VNF instance identifier.
  • the network function virtual orchestrator NFVO sends the software upgrade instruction to the VNFM.
  • the VNF instance after the VNF instance performs the upgrade of the software corresponding to the software upgrade version, after the upgrade is completed, the VNF instance sends the notification information to the VNFM, where the notification information is used to indicate that the upgrade is completed. Information.
  • the VNFM after the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • VNFM registered virtualized network function descriptor VNFD and plug-in related information, where the plug-in related information refers to the plug-in package software provided by the VNF to the VNFM to process the VNF characteristic parameters.
  • the VNF instance in the case that the VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • FIG. 3 is a flowchart 3 of a software upgrade method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 the virtualized network function VNF instance obtains a software version package delivered by the network element management system EMS;
  • Step S304 the VNF instance receives a software upgrade instruction delivered by the EMS.
  • Step S306 the VNF instance upgrades the software corresponding to the software version package according to the software version package.
  • the virtualized network function VNF instance obtains the software version package delivered by the EMS management system EMS, and the VNF instance receives the software upgrade instruction delivered by the EMS, and the VNF instance according to the software version package pair and the software version
  • the software corresponding to this package is upgraded to solve the problem that the VNF software upgrade program is imperfect, and the complete scheme of VNF software upgrade is given in detail.
  • the VNF instance after the VNF instance performs the upgrade of the software corresponding to the upgraded version of the software, after the upgrade is completed, the VNF instance sends the notification information to the virtualized network function manager VNFM, where the notification information is used. Information indicating that the upgrade is complete.
  • the VNFM after the VNFM receives the notification information, the VNFM notifies the network function virtual orchestrator NFVO to update the registration information of the VNFM.
  • the registration information of the VNFM includes:
  • the VNFM registers the virtualized network function descriptor VNFD and plugin related information.
  • the VNF instance in the case that the VNF instance fails to be upgraded, the VNF instance falls back to the state before the VNF instance is upgraded.
  • modules may implement a combination of software and/or hardware of a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram 1 of a software upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the first receiving module 42 is configured to receive a software upgrade instruction issued by the network element management system EMS;
  • the first obtaining module 44 is connected to the first receiving module 42 and configured to obtain a software upgrade version corresponding to the software upgrade command from the EMS.
  • the first upgrade module 46 is connected to the first obtaining module 44, and is configured to upgrade the software corresponding to the software upgrade version according to the software upgrade version.
  • the first receiving module 42 receives the software upgrade command issued by the network element management system EMS, and the first obtaining module 44 obtains the software upgrade version corresponding to the software upgrade command from the EMS, and the first upgrading module 46 follows the The software upgrade version upgrades the software corresponding to the upgraded version of the software, solves the problem that the VNF software upgrade scheme is imperfect, and gives a complete scheme of the VNF software upgrade in detail.
  • FIG. 5 is a structural block diagram 2 of a software upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes:
  • the second receiving module 52 is configured to receive a software upgrade instruction issued by the network element management system EMS, where the software upgrade instruction is a software upgrade instruction sent by the VNFM to the EMS;
  • the second obtaining module 54 is connected to the second receiving module 52, and functions as the first obtaining module 44, and may be the same module, and is configured to obtain a software upgrade version corresponding to the software upgrade command from the EMS.
  • the first upgrade module 46 is connected to the second obtaining module 54 and configured to upgrade with the software according to the software upgrade version.
  • the software corresponding to the version is upgraded.
  • FIG. 6 is a structural block diagram 3 of a software upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes:
  • the third obtaining module 62 is configured to obtain a software version package delivered by the EMS of the network element management system
  • the third receiving module 64 is connected to the third obtaining module 62, and functions as the first receiving module 42 and can be the same module, and is configured to receive the software upgrade instruction issued by the EMS.
  • the second upgrade module 66 is connected to the third receiving module 64 and configured to upgrade the software corresponding to the software upgrade version according to the software upgrade version.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • FIG. 7 is a flow chart of a method for upgrading a VNF software according to a preferred embodiment of the present invention, as shown in FIG. Proceed as follows:
  • the VNF receives the software upgrade instruction issued by the EMS, and the parameters of the upgrade instruction include, but are not limited to, the software version number to be upgraded;
  • the VNF obtains an upgrade software version from the EMS.
  • the VNF notifies the VNFM software that the upgrade is completed, so that the VNFM further informs the NFVO to update the VNFM registration information, and the VNFM registration information includes the VNFM registered VNFD and the plug-in related information.
  • the upgraded software includes business front-end software and local network management software
  • a method of software upgrade comprising the following steps:
  • Step 1 The VNF receives the software upgrade instruction issued by the EMS.
  • Step 2 The VNF obtains the upgrade software version from the EMS
  • Step 3 The VNF interacts with the VNFM to upgrade the software, including: upgrading the front-end software and the network management software by creating a new virtual machine by recreate; or starting the virtual operating system (GUEST Operating System, referred to as GUEST OS) by using the vboot boot program. Kernel upgrade GUEST OS;
  • the upgraded software includes the virtual operating system (GUEST OS) and the business front-end software and local network management software;
  • GUIEST OS virtual operating system
  • the above VNF interacts with the VNFM to upgrade the software.
  • the upgrade is the network management GUEST OS
  • the standby machine is upgraded first and then the host is upgraded;
  • the EMS obtains the upgrade authorization from the VNFM and the NFVO.
  • FIG. 8 is a flow chart of a method for software upgrade triggered by VNFM according to a preferred embodiment of the present invention. As shown in FIG. 8, the method includes the following steps:
  • the VNFM sends a software upgrade instruction to the EMS, where the parameters of the upgrade instruction include, but are not limited to, a VNF identifier to be upgraded, and a software version identifier to be upgraded;
  • the EMS sends a software upgrade instruction to the VNF, and the parameters of the upgrade instruction include, but are not limited to, a software version identifier to be upgraded;
  • the VNF receives the software upgrade instruction issued by the EMS;
  • the VNF obtains an upgrade software version from the EMS.
  • the VNF notifies the VNFM software that the upgrade is completed, so that the VNFM further informs the NFVO to update the VNFM registration information.
  • a method of software upgrade (software upgrade triggered by NFVO), including the following steps:
  • Step 1 NFVO sends a software upgrade instruction to the VNFM, and the parameters of the software upgrade instruction include, but are not limited to, a VNF identifier to be upgraded, and a software version identifier to be upgraded;
  • Step 2 The VNFM sends a software upgrade instruction to the EMS.
  • the parameters of the software upgrade instruction include, but are not limited to, a VNF identifier to be upgraded, and a software version identifier to be upgraded;
  • Step 3 The EMS sends a software upgrade instruction to the VNF, and the parameters of the software upgrade instruction include but are not limited to the software version identifier to be upgraded;
  • Step 4 The VNF receives the software upgrade instruction issued by the EMS;
  • Step 5 The VNF obtains the upgrade software version from the EMS
  • Step 6 The VNF performs software upgrades
  • Step 7 The VNF notifies the VNFM software that the upgrade is completed, so that the VNFM further informs the NFVO to update the VNFM registration information;
  • a method of software upgrade comprising the following steps:
  • Step 1 The virtualized network element receives the software version package delivered by the EMS.
  • Step 2 The virtualized network element downloads the software version package from the EMS;
  • Step 3 The virtualized network element receives the software upgrade instruction issued by the EMS.
  • Step 4 The virtualized network element performs software upgrade
  • Step 5 The virtualized network element notifies the VNFM software that the upgrade is completed, so that the VNFM further notifies the NFVO to update the VNFM registration information;
  • a method of software upgrade comprising the following steps:
  • Step 1 The EMS creates a task to upgrade the VNF software
  • Step 2 The EMS sends the software version package to be upgraded to the VNF.
  • Step 3 After the EMS receives the information completed by the VNF download software version package, the software of the VNF is upgraded;
  • Step 4 The EMS receives the software upgrade completion notification reported by the VNF;
  • a method of software upgrade including the following steps:
  • Step 1 The NMS sends a software upgrade instruction to the EMS, where the parameters of the upgrade command include, but are not limited to, a VNF identifier to be upgraded, and a software version identifier to be upgraded;
  • Step 2 The EMS sends a software upgrade instruction to the VNF, and the parameters of the upgrade instruction include but are not limited to the software version identifier to be upgraded;
  • Step 3 The VNF receives the software upgrade instruction issued by the EMS;
  • Step 4 The VNF obtains the upgrade software version from the EMS
  • Step 5 The VNF performs software upgrades
  • step 6 the VNF notifies the VNFM software that the upgrade is complete, so that the VNFM further informs the NFVO to update the VNFM registration information.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS;
  • the VNF instance obtains a software upgrade version corresponding to the software upgrade instruction from the EMS.
  • the VNF instance upgrades the software corresponding to the upgraded version of the software according to the software upgrade version.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing technical solution provided by the embodiment of the present invention can be applied to the software upgrade process, and the virtualized network function VNF instance receives the software upgrade instruction issued by the network element management system EMS, and the VNF instance obtains the software upgrade instruction from the EMS.
  • the corresponding software upgrade version, the VNF instance upgrades the software corresponding to the software upgrade version according to the software upgrade version.
  • the above technical solution is adopted to solve the problem that the VNF software upgrade scheme is imperfect, and the complete scheme of the VNF software upgrade is given in detail.

Landscapes

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

Abstract

本发明提供了一种软件升级方法及装置,其中,该方法包括:虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。采用上述技术方案,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。

Description

软件升级方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种软件升级方法及装置。
背景技术
在相关技术中,在无线通讯系统的管理领域,网络管理系统(Network Management System,简称为NMS)与网元管理系统(Element Management System,简称为EMS)之间的接口称为北向接口(itf-N)。EMS主要完成国际电信联盟(International Telecommunication Union,简称为ITU)电信管理网络(Telecommunications Management Network,简称为TMN)中的网元管理层(Element Management Layer,简称为EML)功能,即完成一个或多个移动通信设备的管理功能,通常不同设备供应商之间的EMS无法通用。NMS主要完成ITU TMN中的网络管理层(Network Management Layer,简称为NML)功能,负责一个被管网络内所有网元的管理。对于被管网络(称为子网)内存在多个设备供应商的情况,可以通过各自的EMS管理达到管理整个子网的目的。
相关技术为了提高通讯网络的灵活性,降低管理成本,由运营商发起提出了网络功能虚拟化(Network Functions Virtualization,简称为NFV)概念,在使用NFV技术的情况下,原来的物理网元设备由虚拟化网络功能(Virtualized Network Function,简称为VNF)代替,使得网络功能与具体硬件解耦,VNF与底层的网络功能虚拟化基础架构(Network Functions Virtualization Infrastructure,简称为NFVI)隔离。对于VNF的管理,通过EMS对VNF实例进行传统的维护管理功能,而VNF的生命周期管理功能则通过VNF管理器(Virtualized Network Function Manager,简称为VNFM)完成。底层的虚拟基础架构由虚拟基础架构管理器(Virtualized Infrastructure Manage,简称为VIM)进行管理。而具体的网络业务,则一般通过一个或多个VNF实例来完成。对网络业务的管理,则通过网络功能虚拟化编排器(Network Functions Virtualization Orchestrator,简称为NFVO)来进行。实现网络功能虚拟化后,从应用层面来看,要建立一个网络业务实例时,需要先生成网络业务需要的VNF的实例,再由一个或多个VNF实例组成一个网络业务实例,通过网络业务实例来提供网络业务。在实行虚拟化之后,VNF实例其实就是运行在虚拟基础架构之上的虚拟操作系统软件和相应的应用层软件,这些软件在其生命周期中需要不断地进行升级。
针对相关技术中,VNF软件升级方案不完善的问题,目前还没有有效地解决方案。
发明内容
本发明实施例提供了一种软件升级方法及装置,以至少解决相关技术中VNF软件升级方案不完善的问题。
根据本发明的一个实施例,提供了一种软件升级方法,包括:
虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令;
所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本;
所述VNF实例按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
进一步地,所述软件升级指令中携带有所述软件升级版本的版本号。
进一步地,在所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本之后,所述方法还包括:
所述VNF实例与VNFM进行信息交互,以进行与所述软件升级版本对应的软件的升级。
进一步地,与所述软件升级版本对应的软件包括:业务软件,或者虚拟操作系统;或者,所述虚拟操作系统和业务软件。
进一步地,所述VNF实例与VNFM交互进行与所述软件升级版本对应的软件的升级包括以下之一:
通过重建recreate创建新虚拟机方式升级业务前台软件和网管软件;
通过虚拟操作系统的vboot引导程序替换虚拟操作系统启动内核;
通过所述VNFM提供的镜像替换接口替换虚拟机镜像。
进一步地,在所述VNF实例收到EMS下发的软件升级指令之前,所述方法还包括:
所述EMS从所述VNFM和/或NFVO获得升级授权,其中,所述升级授权用于在所述VNFM和/或所述NFVO中安装所述软件升级版本。
进一步地,所述虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令之前,所述方法还包括:
网元管理系统NMS发送所述软件升级指令给所述EMS。
进一步地,所述软件升级指令中携带有所述VNF实例的标识。
进一步地,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
在所述升级完成之后,所述VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
进一步地,所述方法还包括:
在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
进一步地,所述VNFM的注册信息包括:
所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
进一步地,所述方法还包括:
在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
根据本发明的一个实施例,提供了一种软件升级方法,包括:
虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,其中,所述软件升级指令是由虚拟化网络功能管理器VNFM发送给所述EMS的软件升级指令;
所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本;
所述VNF实例按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
进一步地,所述软件升级指令携带有所述VNF实例标识。
进一步地,所述VNFM发送给所述EMS的软件升级指令之前,还包括:
网络功能虚拟编排器NFVO发送所述软件升级指令给所述VNFM。
进一步地,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
在所述升级完成之后,所述VNF实例向所述VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
进一步地,所述方法还包括:
在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
进一步地,所述VNFM的注册信息包括:
所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
进一步地,所述方法还包括:
在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
根据本发明的一个实施例,提供了一种软件升级方法,包括:
虚拟化网络功能VNF实例获取网元管理系统EMS下发的软件版本包;
所述VNF实例接收所述EMS下发的软件升级指令;
所述VNF实例按照所述软件版本包对与所述软件版本包对应的软件进行升级。
进一步地,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
在所述升级完成之后,所述VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
进一步地,所述方法还包括:
在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
进一步地,所述VNFM的注册信息包括:
所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
进一步地,所述方法还包括:
在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
根据本发明的另一实施例,提供了一种软件升级装置,应用于虚拟化网络功能VNF实例,包括:
第一接收模块,设置为接收网元管理系统EMS下发的软件升级指令;
第一获取模块,设置为从所述EMS获取与所述软件升级指令对应的软件升级版本;
第一升级模块,设置为按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
根据本发明的另一实施例,提供了一种软件升级装置,应用于虚拟化网络功能VNF实例,包括:
第二接收模块,设置为接收网元管理系统EMS下发的软件升级指令,其中,所述软件升级指令是由VNFM发送给所述EMS的软件升级指令;
第二获取模块,设置为从所述EMS获取与所述软件升级指令对应的软件升级版本;
第一升级模块,设置为按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
根据本发明的另一实施例,提供了一种软件升级装置,应用于虚拟化网络功能VNF实例,包括:
第三获取模块,设置为获取网元管理系统EMS下发的软件版本包;
第三接收模块,设置为接收所述EMS下发的软件升级指令;
第二升级模块,设置为按照所述软件升级版本对与所述软件升级版本对应的软件进行升 级。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的软件升级方法的实现。
通过本发明实施例,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。采用上述技术方案,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种软件升级方法的流程图一;
图2是根据本发明实施例的一种软件升级方法的流程图二;
图3是根据本发明实施例的一种软件升级方法的流程图三;
图4是根据本发明实施例的一种软件升级装置的结构框图一;
图5是根据本发明实施例的一种软件升级装置的结构框图二;
图6是根据本发明实施例的一种软件升级装置的结构框图三;
图7是本发明优选实施例的一种VNF软件升级的方法流程图;
图8是本发明优选实施例由VNFM触发的一种软件升级的方法流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种软件升级方法,图1是根据本发明实施例的一种软件升级方法的流程图一,如图1所示,该流程包括如下步骤:
步骤S102,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令;
步骤S104,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本;
步骤S106,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。
通过上述步骤,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级,在实现虚拟化之后,VNF实例其实就是运行在虚拟基础架构之上的虚拟操作系统软件和相应的应用层软件,这些软件在其生命周期中不断地进行升级,上述技术方案解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。
在本实施例中,该软件升级指令中携带有该软件升级版本的版本号。
在本实施例中,在该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本之后,该VNF实例与VNFM进行信息交互,以进行与该软件升级版本对应的软件的升级。
在本实施例中,与该软件升级版本对应的软件包括:业务软件,或者虚拟操作系统;或者,该虚拟操作系统和业务软件。
在本实施例中,该VNF实例与VNFM交互进行与该软件升级版本对应的软件的升级包括以下之一:
通过重建recreate创建新虚拟机方式升级业务前台软件和网管软件;
通过虚拟操作系统的vboot引导程序替换虚拟操作系统启动内核;
通过该VNFM提供的镜像替换接口替换虚拟机镜像。
在本实施例中,在该VNF实例收到EMS下发的软件升级指令之前,该EMS从该VNFM和/或NFVO获得升级授权,其中,该升级授权用于在该VNFM和/或该NFVO中安装该软件升级版本。
在本实施例中,该虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令之前,网元管理系统NMS发送该软件升级指令给该EMS。
在本实施例中,该软件升级指令中携带有该VNF实例的标识。
在本实施例中,该VNF实例进行与该软件升级版本对应的软件的升级之后,在该升级完成之后,该VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,该通知信息为用于指示该升级完成的信息。
在本实施例中,在该VNFM收到该通知信息后,该VNFM通知网络功能虚拟编排器NFVO更新该VNFM的注册信息。
在本实施例中,该VNFM的注册信息包括:
该VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
在本实施例中,在该VNF实例升级失败的情况下,该VNF实例回退到该VNF实例升级前的状态。
在本实施例中提供了一种软件升级方法,图2是根据本发明实施例的一种软件升级方法的流程图二,如图2所示,该流程包括如下步骤:
步骤S202,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,其中,该软件升级指令是由虚拟化网络功能管理器VNFM发送给该EMS的软件升级指令;
步骤S204,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本;
步骤S206,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。
通过上述步骤,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,其中,该软件升级指令是由虚拟化网络功能管理器VNFM发送给该EMS的软件升级指令,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。
在本实施例中,该软件升级指令携带有该VNF实例标识。
在本实施例中,该VNFM发送给该EMS的软件升级指令之前,网络功能虚拟编排器NFVO发送该软件升级指令给该VNFM。
在本实施例中,该VNF实例进行与该软件升级版本对应的软件的升级之后,在该升级完成之后,该VNF实例向该VNFM发送通知信息,其中,该通知信息为用于指示该升级完成的信息。
在本实施例中,在该VNFM收到该通知信息后,该VNFM通知网络功能虚拟编排器NFVO更新该VNFM的注册信息。
在本实施例中,该VNFM的注册信息包括:
该VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息,此处的插件相关信息是指VNF提供给VNFM适配处理VNF特性参数的plug-in包软件。
在本实施例中,在该VNF实例升级失败的情况下,该VNF实例回退到该VNF实例升级前的状态。
在本实施例中提供了一种软件升级方法,图3是根据本发明实施例的一种软件升级方法的流程图三,如图3所示,该流程包括如下步骤:
步骤S302,虚拟化网络功能VNF实例获取网元管理系统EMS下发的软件版本包;
步骤S304,该VNF实例接收该EMS下发的软件升级指令;
步骤S306,该VNF实例按照该软件版本包对与该软件版本包对应的软件进行升级。
通过上述步骤,虚拟化网络功能VNF实例获取网元管理系统EMS下发的软件版本包,该VNF实例接收该EMS下发的软件升级指令,该VNF实例按照该软件版本包对与该软件版 本包对应的软件进行升级,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。
在本实施例中,该VNF实例进行与该软件升级版本对应的软件的升级之后,在该升级完成之后,该VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,该通知信息为用于指示该升级完成的信息。
在本实施例中,在该VNFM收到该通知信息后,该VNFM通知网络功能虚拟编排器NFVO更新该VNFM的注册信息。
在本实施例中,该VNFM的注册信息包括:
该VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
在本实施例中,在该VNF实例升级失败的情况下,该VNF实例回退到该VNF实例升级前的状态。
在本实施例中还提供了三种软件升级装置,都是应用于虚拟化网络功能VNF实例,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图4是根据本发明实施例的一种软件升级装置的结构框图一,如图4所示,该装置包括:
第一接收模块42,设置为接收网元管理系统EMS下发的软件升级指令;
第一获取模块44,与第一接收模块42连接,设置为从该EMS获取与该软件升级指令对应的软件升级版本;
第一升级模块46,与第一获取模块44连接,设置为按照该软件升级版本对与该软件升级版本对应的软件进行升级。
通过上述步骤,第一接收模块42接收到网元管理系统EMS下发的软件升级指令,第一获取模块44从该EMS获取与该软件升级指令对应的软件升级版本,第一升级模块46按照该软件升级版本对与该软件升级版本对应的软件进行升级,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。
图5是根据本发明实施例的一种软件升级装置的结构框图二,如图5所示,该装置包括:
第二接收模块52,设置为接收网元管理系统EMS下发的软件升级指令,其中,该软件升级指令是由VNFM发送给该EMS的软件升级指令;
第二获取模块54,与第二接收模块52连接,与第一获取模块44作用一样,可以为同一模块,设置为从该EMS获取与该软件升级指令对应的软件升级版本;
第一升级模块46,与第二获取模块54连接,设置为按照该软件升级版本对与该软件升级 版本对应的软件进行升级。
图6是根据本发明实施例的一种软件升级装置的结构框图三,如图6所示,该装置包括:
第三获取模块62,设置为获取网元管理系统EMS下发的软件版本包;
第三接收模块64,与第三获取模块62连接,与第一接收模块42作用一样,可以为同一模块,设置为接收该EMS下发的软件升级指令;
第二升级模块66,与第三接收模块64连接,设置为按照该软件升级版本对与该软件升级版本对应的软件进行升级。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同处理器中。
下面结合本发明优选实施例进行详细说明。
优选实施例1
图7是本发明优选实施例的一种VNF软件升级的方法流程图,如图7所示。步骤如下:
S701,VNF收到EMS下发的软件升级指令,升级指令的参数包括但不限于要升级到的软件版本号;
S702,VNF从EMS获取升级软件版本;
S703,VNF进行软件的升级;
S704,VNF通知VNFM软件升级完成,以使VNFM进一步通知NFVO更新VNFM注册信息,VNFM注册信息包括VNFM注册的VNFD和插件相关信息。
上述软件升级,升级的软件包括业务前台软件和本地网管软件;
上述软件升级,当VNF升级失败时,VNF回退到升级前的状态。
优选实施例2
一种软件升级的方法,包括以下步骤:
步骤一,VNF收到EMS下发的软件升级指令;
步骤二,VNF从EMS获取升级软件版本;
步骤三,VNF与VNFM交互进行软件的升级,具体包括:通过recreate创建新虚拟机方式升级业务前台软件和网管软件;或者通过vboot引导程序替换虚拟操作系统(GUEST Operating System,简称为GUEST OS)启动内核升级GUEST OS;
或者是通过VNFM提供的镜像替换接口替换虚拟机的镜像以完成虚拟操作系统(GUEST OS) 的升级。
上述软件升级,升级的软件包括虚拟操作系统(GUEST OS)及业务前台软件和本地网管软件;
上述VNF与VNFM交互进行软件的升级,当升级的是网管GUEST OS时先升级备机再升级主机;
可选地,上述软件升级,在EMS下发的软件升级指令前,EMS先从VNFM、NFVO获得升级授权。
上述软件升级,当VNF升级失败时,VNF回退到升级前的状态。
优选实施例3
图8是本发明优选实施例由VNFM触发的一种软件升级的方法流程图,如图8所示,包括以下步骤:
S801,VNFM给EMS发送软件升级指令,升级指令的参数包括但不限于要进行软件升级的VNF标识、要升级的软件版本标识;
S802,EMS给VNF下发软件升级指令,升级指令的参数包括但不限于要升级的软件版本标识;
S803,VNF收到EMS下发的软件升级指令;
S804,VNF从EMS获取升级软件版本;
S805,VNF进行软件的升级;
S806,VNF通知VNFM软件升级完成,以使VNFM进一步通知NFVO更新VNFM注册信息。
上述软件升级,当VNF升级失败时,VNF回退到升级前的状态。
优选实施例4
一种软件升级的方法(软件升级由NFVO触发),包括以下步骤:
步骤一,NFVO给VNFM发送软件升级指令,软件升级指令的参数包括但不限于要进行软件升级的VNF标识、要升级的软件版本标识;
步骤二,VNFM给EMS发送软件升级指令,软件升级指令的参数包括但不限于要进行软件升级的VNF标识、要升级的软件版本标识;
步骤三,EMS给VNF下发软件升级指令,软件升级指令的参数包括但不限于要升级的软件版本标识;
步骤四,VNF收到EMS下发的软件升级指令;
步骤五,VNF从EMS获取升级软件版本;
步骤六,VNF进行软件的升级;
步骤七,VNF通知VNFM软件升级完成,以使VNFM进一步通知NFVO更新VNFM注册信息;
上述软件升级,当VNF升级失败时,VNF回退到升级前的状态。
优选实施例5
一种软件升级的方法,包括以下步骤:
步骤一,虚拟化网元收到EMS下发的软件版本包;
步骤二,虚拟化网元从EMS下载软件版本包;
步骤三,虚拟化网元收到EMS下发的软件升级指令;
步骤四,虚拟化网元进行软件的升级;
步骤五,虚拟化网元通知VNFM软件升级完成,以使VNFM进一步通知NFVO更新VNFM注册信息;
优选实施例6
一种软件升级的方法,包括以下步骤:
步骤一,EMS创建升级VNF软件的任务;
步骤二,EMS给VNF下发要升级的软件版本包;
步骤三,EMS收到VNF下载软件版本包完成的信息后升级VNF的软件;
步骤四,EMS收到VNF上报的软件升级完成通知;
优选实施例7
一种软件升级的方法(NMS触发),包括以下步骤:
步骤一,NMS给EMS发送软件升级指令,升级指令的参数包括但不限于要进行软件升级的VNF标识、要升级的软件版本标识;
步骤二,EMS给VNF下发软件升级指令,升级指令的参数包括但不限于要升级的软件版本标识;
步骤三,VNF收到EMS下发的软件升级指令;
步骤四,VNF从EMS获取升级软件版本;
步骤五,VNF进行软件的升级;
步骤六,VNF通知VNFM软件升级完成,以使VNFM进一步通知NFVO更新VNFM注册信息。
采用本发明优选实施例所述方法,通过提出一种由EMS发起进行VNF软件升级的方法,从而实现了克服相关技术中存在的VNF软件升级还没有完善方案的问题和缺陷的目标。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令;
S2,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本;
S3,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等 同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例提供的上述技术方案,可以应用于软件升级过程中,虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,该VNF实例从该EMS获取与该软件升级指令对应的软件升级版本,该VNF实例按照该软件升级版本对与该软件升级版本对应的软件进行升级。采用上述技术方案,解决了VNF软件升级方案不完善的问题,详细地给出了VNF软件升级的完整方案。

Claims (27)

  1. 一种软件升级方法,包括:
    虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令;
    所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本;
    所述VNF实例按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
  2. 根据权利要求1所述的方法,其中,所述软件升级指令中携带有所述软件升级版本的版本号。
  3. 根据权利要求1所述的方法,其中,在所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本之后,所述方法还包括:
    所述VNF实例与VNFM进行信息交互,以进行与所述软件升级版本对应的软件的升级。
  4. 根据权利要求3所述的方法,其中,与所述软件升级版本对应的软件包括:业务软件或者虚拟操作系统;或者,所述虚拟操作系统和业务软件。
  5. 根据权利要求3所述的方法,其中,所述VNF实例与VNFM交互进行与所述软件升级版本对应的软件的升级包括以下之一:
    通过重建recreate创建新虚拟机方式升级业务前台软件和网管软件;
    通过虚拟操作系统的vboot引导程序替换虚拟操作系统启动内核;
    通过所述VNFM提供的镜像替换接口替换虚拟机镜像。
  6. 根据权利要求3所述的方法,其中,在所述VNF实例收到EMS下发的软件升级指令之前,所述方法还包括:
    所述EMS从所述VNFM和/或NFVO获得升级授权,其中,所述升级授权用于在所述VNFM和/或所述NFVO中安装所述软件升级版本。
  7. 根据权利要求1所述的方法,其中,所述虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令之前,所述方法还包括:
    网元管理系统NMS发送所述软件升级指令给所述EMS。
  8. 根据权利要求7所述的方法,其中,所述软件升级指令中携带有所述VNF实例的标识。
  9. 根据权利要求1或7所述的方法,其中,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
    在所述升级完成之后,所述VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
  10. 根据权利要求9所述的方法,其中,所述方法还包括:
    在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
  11. 根据权利要求9所述的方法,其中,所述VNFM的注册信息包括:
    所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
  12. 根据权利要求1至8任一项所述的方法,其中,所述方法还包括:
    在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
  13. 一种软件升级方法,包括:
    虚拟化网络功能VNF实例收到网元管理系统EMS下发的软件升级指令,其中,所述软件升级指令是由虚拟化网络功能管理器VNFM发送给所述EMS的软件升级指令;
    所述VNF实例从所述EMS获取与所述软件升级指令对应的软件升级版本;
    所述VNF实例按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
  14. 根据权利要求13所述的方法,其中,所述软件升级指令携带有所述VNF实例标识。
  15. 根据权利要求13所述的方法,其中,所述VNFM发送给所述EMS的软件升级指令之前,还包括:
    网络功能虚拟编排器NFVO发送所述软件升级指令给所述VNFM。
  16. 根据权利要求13或15所述的方法,其中,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
    在所述升级完成之后,所述VNF实例向所述VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
  17. 根据权利要求16所述的方法,其中,所述方法还包括:
    在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
  18. 根据权利要求16所述的方法,其中,所述VNFM的注册信息包括:
    所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
  19. 根据权利要求13至15任一项所述的方法,其中,所述方法还包括:
    在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
  20. 一种软件升级方法,包括:
    虚拟化网络功能VNF实例获取网元管理系统EMS下发的软件版本包;
    所述VNF实例接收所述EMS下发的软件升级指令;
    所述VNF实例按照所述软件版本包对与所述软件版本包对应的软件进行升级。
  21. 根据权利要求20所述的方法,其中,所述VNF实例进行与所述软件升级版本对应的软件的升级之后,所述方法还包括:
    在所述升级完成之后,所述VNF实例向虚拟化网络功能管理器VNFM发送通知信息,其中,所述通知信息为用于指示所述升级完成的信息。
  22. 根据权利要求21所述的方法,其中,所述方法还包括:
    在所述VNFM收到所述通知信息后,所述VNFM通知网络功能虚拟编排器NFVO更新所述VNFM的注册信息。
  23. 根据权利要求20所述的方法,其中,所述VNFM的注册信息包括:
    所述VNFM注册的虚拟化网络功能描述符VNFD和插件相关信息。
  24. 根据权利要求20至23任一项所述的方法,其中,所述方法还包括:
    在所述VNF实例升级失败的情况下,所述VNF实例回退到所述VNF实例升级前的状态。
  25. 一种软件升级装置,应用于虚拟化网络功能VNF实例,包括:
    第一接收模块,设置为接收网元管理系统EMS下发的软件升级指令;
    第一获取模块,设置为从所述EMS获取与所述软件升级指令对应的软件升级版本;
    第一升级模块,设置为按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
  26. 一种软件升级装置,用于虚拟化网络功能VNF实例,包括:
    第二接收模块,设置为接收网元管理系统EMS下发的软件升级指令,其中,所述软件升级指令是由VNFM发送给所述EMS的软件升级指令;
    第二获取模块,设置为从所述EMS获取与所述软件升级指令对应的软件升级版本;
    第一升级模块,设置为按照所述软件升级版本对与所述软件升级版本对应的软件进行升级。
  27. 一种软件升级装置,用于虚拟化网络功能VNF实例,包括:
    第三获取模块,设置为获取网元管理系统EMS下发的软件版本包;
    第三接收模块,设置为接收所述EMS下发的软件升级指令;
    第二升级模块,设置为按照所述软件版本包对与所述软件版本包对应的软件进行升级。
PCT/CN2016/102183 2016-01-15 2016-10-14 软件升级方法及装置 WO2017121153A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610029404.2A CN106982129A (zh) 2016-01-15 2016-01-15 软件升级方法及装置
CN201610029404.2 2016-01-15

Publications (1)

Publication Number Publication Date
WO2017121153A1 true WO2017121153A1 (zh) 2017-07-20

Family

ID=59310699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102183 WO2017121153A1 (zh) 2016-01-15 2016-10-14 软件升级方法及装置

Country Status (2)

Country Link
CN (1) CN106982129A (zh)
WO (1) WO2017121153A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048875A (zh) * 2018-01-17 2019-07-23 华为技术有限公司 一种升级驱动的方法及设备
US10742502B2 (en) * 2016-10-18 2020-08-11 Huawei Technologies Co., Ltd. Software modification initiation method, and metadata release method and apparatus

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10306020B2 (en) * 2016-09-21 2019-05-28 Nokia Of America Corporation Software upgrade in a virtualized offline charging system
CN109391482B (zh) * 2017-08-02 2021-01-29 华为技术有限公司 网络功能的升级方法及升级管理实体
CN112242918B (zh) * 2019-07-19 2023-03-24 中兴通讯股份有限公司 Vnfd多版本兼容处理方法、装置、设备及存储介质
CN114553692A (zh) * 2020-11-25 2022-05-27 中兴通讯股份有限公司 网络切片升级的方法及装置
CN112399452B (zh) * 2021-01-21 2021-06-22 中兴通讯股份有限公司 版本配置方法、装置、设备、系统及存储介质
CN113542019B (zh) * 2021-06-30 2023-12-29 新华三大数据技术有限公司 转控分离分布式cp的升级方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253866A (zh) * 2014-09-20 2014-12-31 华为技术有限公司 虚拟网络功能网元的软件部署方法、系统及相关设备
CN104410672A (zh) * 2014-11-12 2015-03-11 华为技术有限公司 网络功能虚拟化应用升级的方法、转发业务的方法及装置
WO2015113278A1 (zh) * 2014-01-29 2015-08-06 华为技术有限公司 虚拟网络功能的升级方法和网络功能虚拟化编排器

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015113278A1 (zh) * 2014-01-29 2015-08-06 华为技术有限公司 虚拟网络功能的升级方法和网络功能虚拟化编排器
CN104253866A (zh) * 2014-09-20 2014-12-31 华为技术有限公司 虚拟网络功能网元的软件部署方法、系统及相关设备
CN104410672A (zh) * 2014-11-12 2015-03-11 华为技术有限公司 网络功能虚拟化应用升级的方法、转发业务的方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10742502B2 (en) * 2016-10-18 2020-08-11 Huawei Technologies Co., Ltd. Software modification initiation method, and metadata release method and apparatus
CN110048875A (zh) * 2018-01-17 2019-07-23 华为技术有限公司 一种升级驱动的方法及设备
US11411821B2 (en) 2018-01-17 2022-08-09 Huawei Technologies Co., Ltd. Driver upgrade method and device

Also Published As

Publication number Publication date
CN106982129A (zh) 2017-07-25

Similar Documents

Publication Publication Date Title
WO2017121153A1 (zh) 软件升级方法及装置
US11444765B2 (en) Methods and apparatus to manage credentials in hyper-converged infrastructures
US10250461B2 (en) Migrating legacy non-cloud applications into a cloud-computing environment
US10838747B2 (en) Virtual appliances
US10740081B2 (en) Methods and apparatus for software lifecycle management of a virtual computing environment
US11429369B2 (en) Distributed upgrade in virtualized computing environments
US10326653B2 (en) Method for upgrading network functions virtualization application, service forwarding method, and apparatus
CN104734931B (zh) 一种虚拟网络功能间链路建立方法及装置
JP6609696B2 (ja) ネットワークサービスのライフサイクル管理の方法及びデバイス
US11301280B2 (en) System and method for managing a monitoring agent in an operating system of a virtual computing instance
US20160013974A1 (en) Methods and apparatus for rack deployments for virtual computing environments
WO2017066931A1 (zh) 网络功能虚拟化架构中证书的管理方法及装置
US9959157B1 (en) Computing instance migration
US11119754B1 (en) Upgrading system components with forward and backward compatibility
KR20150108230A (ko) 클러스터 시스템 구축 방법 및 장치
US11075925B2 (en) System and method to enable component inventory and compliance in the platform
CN107810475B (zh) 用于虚拟计算环境的软件生命周期管理的方法和装置
WO2017206092A1 (zh) 一种生命周期管理方法及管理单元
US10382585B2 (en) Concurrent code application in a stateful computing environment
US9690614B1 (en) Methods, systems, and computer readable mediums for orchestrating the automated installation of an application in a virtual environment
US11645158B2 (en) Automated rollback in virtualized computing environments
US20240224122A1 (en) Method and system for auto-commissioning virtualized radio access networks

Legal Events

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

Ref document number: 16884707

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16884707

Country of ref document: EP

Kind code of ref document: A1