WO2014040496A1 - 一种组件式多模网管补丁包安装方法及装置 - Google Patents

一种组件式多模网管补丁包安装方法及装置 Download PDF

Info

Publication number
WO2014040496A1
WO2014040496A1 PCT/CN2013/082406 CN2013082406W WO2014040496A1 WO 2014040496 A1 WO2014040496 A1 WO 2014040496A1 CN 2013082406 W CN2013082406 W CN 2013082406W WO 2014040496 A1 WO2014040496 A1 WO 2014040496A1
Authority
WO
WIPO (PCT)
Prior art keywords
patch
patch package
installation
network management
package
Prior art date
Application number
PCT/CN2013/082406
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 中兴通讯股份有限公司
Priority to EP13837116.6A priority Critical patent/EP2897046A4/en
Priority to JP2015531441A priority patent/JP6077661B2/ja
Publication of WO2014040496A1 publication Critical patent/WO2014040496A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to the field of patch manufacturing and installation, and in particular to a method and device for installing a component multi-mode network management patch package. Background technique
  • Patches are files used to fix problems in the software, such as security risks, bugs, etc., and also include improvements in ease of use or performance. Patches cannot be used independently, and can be used with the original software. Patch production is used to generate available patch packages for patch installation system execution. The patch installation is to execute the patch to fix the existing vulnerabilities.
  • Multi-mode network management is a communication network management system that supports multiple wireless systems, such as CDMA (Code Division Multiple Access) and Long Term Evolution (LTE). From the software level, the multimode network management is divided into three layers, as shown in Figure 1. The bottom layer is the unified network management platform (UEP), which provides basic services; the middle is the multi-mode network management platform (PLAT), which provides the multi-mode network management platform function; the upper layer is the application of each wireless standard product, providing the realization of each system specificity.
  • UDP unified network management platform
  • PAT multi-mode network management platform
  • Patches involve multiple standards. Because there is no decoupling or decoupling between the various standards, different patches need to be created for different scenarios, resulting in too much redundancy and waste.
  • the patch design is a variety of standards
  • the installation method is very inflexible, can only be strictly matched to the system installation. For example, if the patch package contains the A system and the B system, it can only be installed to the installation object that contains both the A system and the B system.
  • the main purpose of the embodiments of the present invention is to provide a component multi-mode network management patch package installation method and device, which can solve the problem of low patch installation success rate, reduce or eliminate security risks, and ensure system security performance.
  • the embodiment of the invention provides a component multi-mode network management patch package installation method, and the steps of the method include:
  • a patch package of a multimode network management system is assembled by assembling a plurality of decoupled deployment and separately stored different standard patches;
  • the step of downloading the patch package from the patch server includes:
  • the patch server downloads the multi-mode network management patch package to the multi-mode network management server;
  • the multimode network management server downloads the multimode network management patch package to the multimode network management client.
  • the installation object includes an installation object of the multi-mode network management server and an installation object of the multi-mode network management client.
  • the patch package of the multimode network management system includes: a patch package version description information, a plurality of different system replacement files, a new file, a deletion list description file, a database script for each standard patch, and a script list description file. .
  • the step of determining whether the installation object corresponding to the downloaded patch package meets the installation condition of the patch package includes: By comparing the version description information of the installation object with the version information of the patch package, it is determined whether the installation condition of the patch package is satisfied.
  • the determining whether the installation condition of the service package is met includes:
  • the step of determining whether the installation object corresponding to the downloaded patch package meets the installation condition of the patch package further comprises:
  • installing the patch package includes:
  • the multi-mode network management patch package further includes a patch and an inter-system description file that cannot be completely decoupled;
  • the embodiment of the invention provides a component-type multi-mode network management patch package installation device, and the device includes:
  • the patch package creation unit is configured to assemble a plurality of decoupled deployments and separately store different system patches to form a patch package of the multimode network management system;
  • a patch server configured to store and download the patch package of the multimode network management system;
  • the installation system is configured to determine whether the installation object corresponding to the downloaded patch package meets the patch package installation condition, and install the patch package when the patch package installation condition is met.
  • the patch of the embodiment of the present invention has the characteristics of being flexible and convenient, and reduces the frequency of patch package creation.
  • the developer only needs to pay attention to the patch of the respective standard, and finally builds by the version.
  • the division flexibly builds a patch package based on the specific usage scenarios.
  • the effective matching strategy improves the patch installation success rate, effectively corrects program errors and reduces security risks.
  • FIG. 1 is a structural diagram of a multimode network management provided by the prior art
  • FIG. 2 is a structural diagram of a method for installing a component multi-mode network management patch package according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of a component multi-mode network management patch package installation device according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for installing a patch package according to an embodiment of the present invention
  • FIG. 6 is a specific flowchart of a component multi-mode network management installation patch package according to an embodiment of the present invention. detailed description
  • FIG. 2 is a structural diagram of a method for installing a component multi-mode network management patch package according to an embodiment of the present invention. As shown in FIG. 2, the steps of the method include:
  • Step S201 A patch package of the multimode network management system is configured by assembling a plurality of decoupled deployment and separately storing different standard patches.
  • the patch package of the multimode network management system includes: a patch package version description information, a plurality of different system replacement files, a new file, a deletion list description file, a database script for each standard patch, and a script list description file. .
  • the multi-mode network management patch package further includes a patch program and an inter-system description file that cannot be completely decoupled. When the patch package is installed, the patch program that cannot be completely decoupled is subjected to corresponding copy processing according to the inter-system description file.
  • the patch described here includes the replacement file and the new file described above.
  • Step S202 The patch package is stored in the patch server, and the patch package is downloaded from the patch server.
  • the step of downloading the patch package from the patch server includes: after the multi-mode network management server successfully connects the patch server, the patch server downloads the multi-mode network management patch package to the multi-mode network management server; and in the multi-mode When the network management client accesses the multimode network management server, the multimode network management server downloads the multimode network management patch package to the multimode network management client.
  • Step S203 Determine whether the installation object corresponding to the downloaded patch package meets the installation condition of the patch package, and install the patch package when the patch package installation condition is met.
  • the installation object includes the installation object of the multi-mode network management server and the installation object of the multi-mode network management client.
  • the step of determining whether the installation object corresponding to the downloaded patch package meets the installation condition of the patch package includes: comparing the version description information of the installation object with the version information of the patch package to determine whether the installation condition of the patch package is met.
  • the determining whether the installation condition of the patch package is satisfied includes: determining whether any one of the plurality of standards included in the patch package already exists in the installation object; if yes, installing the file of the corresponding standard in the patch package, and vice versa, The patch package is not installed.
  • the step of determining whether the installation object corresponding to the downloaded patch package meets the installation condition of the patch package further includes: viewing patch installation history information of the installation object to determine whether the patch package is installed; if the patch package has been installed , the patch package is not installed to prevent duplicate installation.
  • FIG. 3 is a structural diagram of a component type multi-mode network management patch installation device according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
  • the patch package creation unit 301 is configured to assemble a plurality of decoupled deployments and separately store different system patches to form a patch package of the multimode network management system;
  • the patch server 302 is configured to store and download the patch package of the multimode network management system
  • the installation system 303 is configured to determine whether the installation object corresponding to the downloaded patch package meets the patch installation condition, and install the patch package when the patch package installation condition is met.
  • the patch package creation unit 301, the patch server 302, and the installation system 303 may be configured by a central processing unit (CPU), a digital signal processor (DSP), or a programmable multi-mode network management device.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • FIGS. 4 through 6 show a specific embodiment of the manufacturing and installation of a multimode network management patch package of the present invention. The present invention will be described in detail below with reference to the embodiments shown in Figs. 4 to 6.
  • Figure 4 shows the structure of a patch package made by the present invention.
  • the various standards can be divided, decoupled, and stored independently.
  • Each system is deployed in the root directory of the patch package; and each system can be freely combined according to the usage scenario to form a patch package.
  • the description file describes the association between the standards. It also includes a description of the patch package properties.
  • the patch package attributes include: version number, patch installation number, system name, installation mode, area, and production time.
  • the patch package attributes are directly represented by the patch package name, and the attributes are separated by underscores, such as 12.12.10_011_GU_SC_CHINA_20120208.zip.
  • the version builder can flexibly assemble the patch version according to the specific usage scenarios.
  • Each system has its own delete list description file for deleting the installation object file.
  • the delete list description file is described by xml.
  • the specific structure is as follows:
  • Each system has its own script list description file that describes the database scripts that need to be executed.
  • the script list description file is described by xml, and the specific structure is as follows:
  • the directory structure of each standard is exactly the same as the directory structure of the installation object, and the installation system directly covers the installation patch.
  • the version builder assembles the various standards into the final patch package, and at the same time forms the patch package version description information according to the following file names.
  • the specific format is: version number - patch number - system name - installation mode - area - submission time.
  • the patch package version description information includes:
  • Version number consistent with the version number of the installation object
  • Patch number Specification patch installation order
  • Installation mode There is a server program that needs to be modified with S description, and a client program needs to be modified with C description;
  • FIG. 5 is a flowchart of a method for installing a patch package according to the present invention. As shown in FIG. 5, the steps of the method include:
  • Step S501 Download the patch package from the patch server.
  • the multi-mode NMS patch is stored in the upper-layer NMS. After the multi-mode NMS server and the upper-layer NMS are successfully connected, the upper-layer NMS downloads the patch package through FTP, and then installs the patch package server to update the multi-mode NMS server. When the multimode network management client accesses the multimode network management server, it downloads the patch package from the multimode network management server through FTP, and then installs the patch package client to update the client environment.
  • the client patch package is stored in the upper-layer network management system after being changed twice. Then it is downloaded to the server of the multi-mode network management system and finally updated to the client of the multi-mode network management system.
  • Step S502 Determine whether the installation is satisfied according to the matching policy.
  • step S503 the version description information of the installation object is obtained, and the version description information of the patch package is compared, and whether the installation object corresponding to the patch package satisfies the installation condition of the patch package, and if yes, step S503 is performed; otherwise, step S505 is performed.
  • the matching policy includes version number consistency matching; system consistency matching; installation mode consistency matching; area or consistency matching.
  • the decompression is not performed by comparing the historical installation records of the patch to determine whether the patch has been installed. If the patch has been installed, the installation is not performed to prevent duplication. installation.
  • Step S503 Decompress the patch package.
  • Step S504 Install the patch package in order.
  • the patch package is decompressed and installed in a certain order.
  • the order of the patch package is obtained by the patch installation number of the patch package name.
  • the number is executed first, and the number is executed after the number is large.
  • the patch package installation includes replacing files, deleting files, adding files, and Update the installation information. Based on the free combination strategy, the installation system will match the standard in the patch package according to the installed system of the current program. If the patch package contains a system that is larger than the system included in the installation object, the patch installation system only exists for the system existing in the installation object. Perform patch installation; Filter the installed patch pack according to the patch installation history information to prevent repeated execution.
  • Step S505 End.
  • the installation result information is returned.
  • the reason for the failure needs to be described.
  • a method for installing a patch package includes:
  • FIG. 6 is a specific flowchart of a component multi-mode network management installation patch package of the present invention, as shown in FIG. 6, including:
  • Step S601 Backing up the deleted or replaced files in the installation object, and recording the newly added files.
  • Step S602 Copy the replacement file of the corresponding standard in the patch package, and add the new file to the installation object.
  • Step S603 deleting the installation object file according to the deletion list description file.
  • Step S604 Execute a corresponding database script according to the script list description file.
  • Step S606 is performed to perform a corresponding rollback operation to ensure that the installation object is not unavailable because the installation patch fails.
  • Step S605 The installation ends.
  • the installation is complete, the patch installation history and installation object information are updated, and the installation result information is returned, indicating whether the installation patch succeeds or fails. If the installation fails, the failure reason needs to be displayed.
  • Step S606 Roll back.
  • the rollback refers to reduction to the previous drive.
  • the new version may have various immature phenomena such as bugs, or it may not be compatible with some previous software, games, etc. If you are not satisfied with the new driver, you can roll back the driver.
  • the embodiment of the present invention provides a component-type multi-mode network management patch package installation method and device, which makes the patch flexible and convenient, reduces the frequency of patch package creation, and the developer only needs to pay attention to the respective standard system.
  • the patch is finally flexibly built by the version builder based on the specific usage scenarios.
  • the effective matching strategy improves the patch installation success rate, effectively corrects program errors, and reduces security risks.
  • a patch package of a multi-mode network management system is configured by assembling a plurality of decoupled deployment and separately stored different system patches; storing the patch package in a patch server, and downloading the patch from the patch server. Packet; determine whether the installation object corresponding to the downloaded patch package is satisfied The patch package installation condition, and installing the patch package when the patch package installation condition is met; thus, the patch has flexible and convenient features, reduces the frequency of patch package creation, and improves the effective matching strategy.
  • the patch installation success rate effectively corrects program errors and reduces security risks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种组件式多模网管补丁包安装方法及装置,涉及补丁制作安装领域,包括:通过组装多个解耦部署并独立存放的不同制式补丁,构成多模网管的补丁包;将所述补丁包存放在补丁服务器中,并从所述补丁服务器下载所述补丁包;判断所下载的补丁包对应的安装对象是否满足所述补丁包安装条件,并在满足所述补丁包安装条件时,安装所述补丁包。本发明的补丁具有灵活便捷的特性,开发人员仅仅需要关注各自制式的补丁,最终由版本构建师根据具体使用场景灵活快速构建一个补丁包,用来解决补丁安装成功率低的问题,减少或者消除安全风险,保证系统的安全性能。

Description

一种组件式多模网管补丁包安装方法及装置 技术领域
本发明涉及补丁制作安装领域, 尤其涉及一种组件式多模网管补丁包 安装方法及装置。 背景技术
补丁是用于对软件中存在的问题, 比如安全隐患、 漏洞(Bug )等进行 修复的文件, 同时还包括改善易用性或效能等。 补丁无法独立使用, 要配 合原软件才能够使用。 补丁制作就是用于生成可用补丁包供补丁安装系统 执行。 补丁安装就是执行补丁程序对存在的漏洞进行修复。
多模网管是支持多种无线制式的通讯网管, 比如同时支持码分多址 ( CDMA, Code Division Multiple Access )、 长期演进( LTE, Long Term Evolution )等。 从软件层次上, 多模网管分为三层, 如图 1 所示。 最底层 是统一网管平台 (UEP ), 提供基础服务; 中间是多模网管平台 (PLAT ), 提供多模网管平台功能; 最上层为各无线制式的产品应用, 提供各制式特 异性的实现。
发明人在对现有多模网管补丁技术的研究过程中发现, 在补丁制作和 安装过程中存在如下的问题:
1、 补丁涉及多种制式, 由于各个制式之间没有解耦或者解耦不充分, 需要对不同的场景制作不同的补丁, 造成太多的冗余和浪费;
2、补丁设计多种制式, 安装方法很不灵活, 只能对制式严格匹配安装。 比如补丁包包含 A制式和 B制式,则只能安装到同时包含 A制式和 B制式 的安装对象。
3、 补丁设计多种制式, 存在重复执行的情况, 安装顺序无法保证。 发明内容
有鉴于此, 本发明实施例的主要目的在于提供一种组件式多模网管补 丁包安装方法及装置, 能解决补丁安装成功率低的问题, 减少或者消除安 全风险, 保证系统安全性能。
为达到上述目的, 本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种组件式多模网管补丁包安装方法, 所述方法 的步驟包括:
通过组装多个解耦部署并独立存放的不同制式补丁, 构成多模网管的 补丁包;
将所述补丁包存放在补丁服务器中, 并从所述补丁服务器下载所述补 丁包;
判断所下载的补丁包对应的安装对象是否满足所述补丁包安装条件, 并在满足所述补丁包安装条件时, 安装所述补丁包。
优选地, 所述从补丁服务器下载补丁包的步驟包括:
在多模网管服务端成功对接所述补丁服务器后, 补丁服务器将多模网 管补丁包下载到多模网管服务端; 以及
在多模网管客户端接入到多模网管服务端时, 多模网管服务端将多模 网管补丁包下载到多模网管客户端。
优选地, 所述的安装对象包括多模网管服务端的安装对象和多模网管 客户端的安装对象。
优选地, 所述多模网管的补丁包包括: 补丁包版本描述信息, 多个不 同制式的替换文件、 新增文件, 删除列表描述文件, 用于每个制式补丁的 数据库脚本以及脚本列表描述文件。
优选地, 判断所下载的补丁包对应的安装对象是否满足所述补丁包安 装条件的步驟包括: 通过将安装对象的版本描述信息与补丁包版本描述信息进行比对, 确 定是否满足补丁包的安装条件。
优选地, 所述的确定是否满足补丁包的安装条件包括:
判断补丁包所包含的多个制式中的任一制式是否已经存在于安装对 象;
若存在, 则安装所述补丁包中相应制式的文件, 反之, 则不进行补丁 包安装。
优选地, 判断所下载的补丁包对应的安装对象是否满足所述补丁包安 装条件的步驟还包括:
查看安装对象的补丁安装历史信息, 以确定所述补丁包是否已经安装; 若已经安装过所述补丁包, 则不安装所述补丁包, 以防止重复安装。 优选地, 安装补丁包包括:
备份安装对象中被删除或被替换的文件, 同时记录新增文件; 拷贝补丁包中对应制式的替换文件、 新增文件到安装对象;
根据删除列表描述文件删除安装对象文件;
根据脚本列表描述文件执行对应的数据库脚本。
优选地, 所述多模网管补丁包还包括不能完全解耦的补丁程序及制式 间描述文件;
在安装补丁包时, 对于不能完全解耦的补丁程序, 根据制式间描述文 件进行相应拷贝处理。
本发明实施例提供了一种组件式多模网管补丁包安装装置, 所述装置 包括:
补丁包制作单元, 配置为通过组装多个解耦部署并独立存放的不同制 式补丁, 构成多模网管的补丁包;
补丁服务器, 配置为存放和下载所述多模网管的补丁包; 安装系统, 配置为判断所下载的补丁包对应的安装对象是否满足补丁 包安装条件, 并且当满足所述补丁包安装条件时, 安装所述补丁包。
与现有技术相比较, 本发明实施例的有益效果在于: 本发明实施例的 补丁具有灵活便捷的特性, 减少了补丁包制作的频率, 开发人员仅仅需要 关注各自制式的补丁, 最终由版本构建师根据具体使用场景灵活构建一个 补丁包。 同时, 通过有效的匹配策略提高了补丁安装成功率, 有效地纠正 了程序错误, 减少了安全风险。 附图说明
图 1 是现有技术提供的多模网管的构架图;
图 2是本发明实施例一种组件式多模网管补丁包安装方法的结构图; 图 3是本发明实施例一种组件式多模网管补丁包安装装置的结构图; 图 4是本发明实施例一种补丁包制作的结构图;
图 5 是本发明实施例一种补丁包安装方法的流程图;
图 6是本发明实施例一种组件式多模网管安装补丁包的具体流程图。 具体实施方式
以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下 所说明的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
图 2是本发明实施例一种组件式多模网管补丁包安装方法的结构图, 如图 2所示, 所述方法的步驟包括:
步驟 S201 : 通过组装多个解耦部署并独立存放的不同制式补丁, 构成 多模网管的补丁包。
其中, 所述多模网管的补丁包, 包括: 补丁包版本描述信息, 多个不 同制式的替换文件、 新增文件, 删除列表描述文件, 用于每个制式补丁的 数据库脚本以及脚本列表描述文件。 其中, 所述多模网管补丁包还包括不能完全解耦的补丁程序及制式间 描述文件; 在安装补丁包时, 对于不能完全解耦的补丁程序, 根据制式间 描述文件进行相应拷贝处理。 这里所述的补丁程序包括上述的替换文件和 新增文件。
步驟 S202: 将所述补丁包存放在补丁服务器中, 并从所述补丁服务器 下载所述补丁包。
其中, 所述的从补丁服务器下载补丁包的步驟, 包括: 在多模网管服 务端成功对接所述补丁服务器后, 补丁服务器将多模网管补丁包下载到多 模网管服务端; 以及在多模网管客户端接入到多模网管服务端时, 多模网 管服务端将多模网管补丁包下载到多模网管客户端。
步驟 S203: 判断所下载的补丁包对应的安装对象是否满足所述补丁包 安装条件, 并在满足所述补丁包安装条件时, 安装所述补丁包。
其中, 安装对象包括多模网管服务端的安装对象和多模网管客户端的 安装对象。
判断所下载的补丁包对应的安装对象是否满足补丁包安装条件的步驟 包括: 通过将安装对象的版本描述信息与补丁包版本描述信息进行比对, 确定是否满足补丁包的安装条件。 其中, 确定是否满足补丁包的安装条件 包括: 判断补丁包所包含的多个制式中的任一制式是否已经存在于安装对 象; 若存在, 则安装所述补丁包中相应制式的文件, 反之, 则不进行补丁 包安装。
判断所下载的补丁包对应的安装对象是否满足所述补丁包安装条件的 步驟还包括: 查看安装对象的补丁安装历史信息, 以确定所述补丁包是否 已经安装; 若已经安装过所述补丁包, 则不安装所述补丁包, 以防止重复 安装。
图 3是本发明实施例一种组件式多模网管补丁包安装装置的结构图, 如图 3所示, 所述装置包括:
补丁包制作单元 301 ,配置为通过组装多个解耦部署并独立存放的不同 制式补丁, 构成多模网管的补丁包;
补丁服务器 302, 配置为存放和下载所述多模网管的补丁包;
安装系统 303 ,配置为判断所下载的补丁包对应的安装对象是否满足补 丁包安装条件, 并且当满足所述补丁包安装条件时, 安装所述补丁包。
上述补丁包制作单元 301、 补丁服务器 302、 安装系统 303可由组件式 多模网管补丁包安装装置中的中央处理器(CPU, Central Processing Unit ), 数字信号处理器(DSP, Digital Signal Processor )或可编程门阵列 (FPGA, Field - Programmable Gate Array ) 实现。
图 4至图 6显示了本发明的制造和安装多模网管补丁包的具体实施例。 下面结合图 4至图 6所示的实施例, 对本发明进行详细说明。
图 4显示了本发明制作的一种补丁包的结构。
在制作本发明补丁包时, 使各个制式之间可分可合, 解耦部署, 独立 存放, 每个制式都部署在补丁包的根目录; 根据使用场景自由组合各个制 式形成补丁包。
对于制式之间无法解耦的部分, 则通过存放在 common 目录, 并用描 述文件描述制式之间的关联。 同时也包括补丁包属性描述。
补丁包属性包括: 版本号、 补丁安装编号、 制式名、 安装模式、 区域、 制作时间。 补丁包属性直接通过补丁包名称来展现, 各个属性之间用下划 线分隔, 比如 12.12.10_011_GU_SC_CHINA_20120208.zip。
由于各制式可分可合, 版本构建师根据具体使用场景灵活快速装配出 补丁版本。
其中, 所述描述制式间关系的 xml文件, 具体结构如下所示:
<?xml version^" 1.0" encoding="GB2312"?>
<FileList> <File module="制式 1:制式 2" >
<src> xxxxxx </src>
</File>
</FileList>
每个制式都有自己的删除列表描述文件用于删除安装对象文件。 删除 列表描述文件采用 xml描述, 具体结构如下所示:
<?xml version^" 1.0" encoding="GB2312"?>
<FileList>
<clnt>
<src>xxxxx</ sro
</clnt>
<svr>
<src>xxxxx</ sro
</svr>
</FileList>
每个制式都有自己的脚本列表描述文件用于描述需要执行的数据库脚 本。 脚本列表描述文件采用 xml描述, 具体结构如下所示:
<?xml version^" 1.0" encoding="GB2312"?>
<INSTDB>
<en_US>
<MSSQL>
<scriptList>
<fileName>xxxxx . sql</ fileNamo
</scri tList>
</MSSQL>
<0RACLE>
<scriptList>
<fileName>xxxxx . sql</ fileNamo </scri tList>
</ORACLE>
</en_US>
<zh_CN>
<MSSQL>
<scriptList>
<fileName>xxxxx . sql</ fileNamo
</scri tList>
</MSSQL>
<0RACLE>
<scriptList>
<fileName>xxxxx . sql</ fileNamo
</scri tList>
</0RACLE>
</zh_CN>
</INSTDB>
每个制式的目录结构和安装对象的目录结构完全一致, 安装系统直接 覆盖安装补丁。
版本构建师将各个制式组装成最终的补丁包, 同时按照如下的文件名 构成补丁包版本描述信息, 具体格式为: 版本号-补丁编号-制式名-安装模 式 -区域 -提交时间。
具体地说, 所述补丁包版本描述信息包括:
版本号: 和安装对象的版本号保持一致;
补丁编号: 规范补丁安装顺序;
安装模式: 有服务端程序需要修改用 S描述, 有客户端程序需要修改 用 C描述;
区或: 适用国家和地区; 提交时间: 补丁发布时间。
图 5显示了本发明一种补丁包安装方法的流程图, 如图 5所示, 所述 方法的步驟包括:
步驟 S501 : 从补丁服务器下载补丁包。
多模网管补丁包都存放在在上层网管, 当多模网管服务端和上层网管 对接成功后, 从上层网管通过 FTP下载补丁包, 然后安装补丁包服务端部 分更新多模网管服务端。 当多模网管客户端接入到多模网管服务端时则通 过 FTP方式从多模网管服务端下载补丁包, 然后安装补丁包客户端部分更 新客户端环境。 其中客户端补丁包经过两次位置变迁, 首先存放在上层网 管, 然后下载到多模网管的服务端, 最后更新到多模网管的客户端。
步驟 S502: 根据匹配策略判定是否满足安装。
具体的, 获取安装对象的版本描述信息, 对比补丁包的版本描述信息, 判断补丁包对应的安装对象是否满足所述补丁包安装条件, 若是, 则执行 步驟 S503 ; 否则, 执行步驟 S505。
其中, 匹配策略包括版本号一致性匹配; 制式一致性匹配; 安装模式 一致性匹配; 区或一致性匹配。
具体的, 判断版本号是否一致, 如果不一致则不进行解压安装。
判断补丁包所包含的某一制式是否已经存在于安装对象, 如果不存在 则不进行解压安装。例如安装对象包含制式 1和制式 2,补丁包包含制式 3 , 则不就行解压安装。 又比如安装对象包含制式 1和制式 2, 补丁包包含制式 2和制式 3 , 则进行解压安装制式 2。
判断补丁包所包含的安装模式(客户端或者服务端)是否一致, 如果 不一致则不进行解压安装。 比如安装对象为服务端模式, 补丁包为客户端 模式, 则不进行解压安装。
判断补丁包所描述的区域是否一致, 如果不一致则不进行解压安装。 比如安装对象的区域是 china, 补丁包的区域为 American, 则不进行解压安 通过对比补丁的历史安装记录来判断是否已经安装过该补丁, 如果已 经安装过该补丁则不进行解压安装, 防止重复安装。
步驟 S503: 解压补丁包。
步驟 S504: 按照顺序安装补丁包。
即按照补丁包名称中描述的补丁编号的先后来安装补丁包。 其中, 按 照一定顺序解压并安装补丁包, 补丁包顺序通过补丁包名的补丁安装编号 获得, 编号小的先执行, 编号大的后执行; 补丁包安装包括替换文件、 删 除文件, 新增文件以及更新安装信息。 基于自由组合的策略, 安装系统会 根据当前程序的已经安装的制式去匹配补丁包中制式, 如果补丁包所包含 的制式大于安装对象所包含制式, 则补丁安装系统仅对于安装对象中存在 的制式进行补丁安装; 根据补丁安装历史信息来过滤已经安装的补丁包, 防止重复执行。
步驟 S505: 结束。
所述补丁包安装结束后, 返回安装结果信息, 当安装失败时需要描述 失败的原因。
也就是说, 一种补丁包的安装方法, 包括:
从补丁服务器下载补丁包; 判断所述补丁包对应的安装对象是否满足 所述补丁包安装条件; 当满足所述补丁包安装条件时, 解压补丁包并按照 一定的顺序安装所述补丁包。
图 6显示了本发明一种组件式多模网管安装补丁包的具体流程图, 如 图 6所示, 包括:
步驟 S601 : 备份安装对象中被删除或被替换的文件, 同时记录新增文 件。 步驟 S602: 拷贝补丁包中对应制式的替换文件、新增文件到安装对象。 步驟 S603: 根据删除列表描述文件删除安装对象文件。
步驟 S604: 根据脚本列表描述文件执行对应的数据库脚本。
如果步驟 S602或者步驟 S603或者步驟 S604发生安装异常导致安装失 败则需要进行步驟 S606, 进行相应的回滚操作, 确保不会因为安装补丁失 败导致安装对象不可用。
步驟 S605: 安装结束。
安装结束, 更新补丁安装历史记录和安装对象信息, 同时返回安装结 果信息, 显示安装补丁成功还是失败, 如果安装失败需要显示失败原因。
步驟 S606: 回滚。
这里, 所述回滚是指还原成以前的驱动。 更新驱动后, 新版可能会存 在各种各样的 bug等不成熟现象, 或者无法兼容以前的一些软件, 游戏等 等小问题, 如果对新驱动不满意, 可以回滚驱动。
综上所述, 本发明实施例通过提出了一种组件式多模网管补丁包安装 方法及装置, 使补丁具有灵活便捷的特性, 减少了补丁包制作的频率, 开 发人员仅仅需要关注各自制式的补丁, 最终由版本构建师根据具体使用场 景灵活构建一个补丁包, 同时通过有效的匹配策略提高了补丁安装成功率, 有效地糾正程序错误, 减少安全风险。
尽管上文对本发明进行了详细说明, 但是以上所述, 仅为本发明的优 选实施例而已, 并非用于限定本发明的保护范围。 凡按照本发明原理所作 的修改、 等同替换和改进等, 均包含在本发明的保护范围之内。 工业实用性
本发明实施例中, 通过组装多个解耦部署并独立存放的不同制式补丁, 构成多模网管的补丁包; 将所述补丁包存放在补丁服务器中, 并从所述补 丁服务器下载所述补丁包; 判断所下载的补丁包对应的安装对象是否满足 所述补丁包安装条件, 并在满足所述补丁包安装条件时, 安装所述补丁包; 如此, 使补丁具有灵活便捷的特性, 减少了补丁包制作的频率, 同时通过 有效的匹配策略提高了补丁安装成功率, 有效地纠正了程序错误, 减少了 安全风险。

Claims

权利要求书
1、 一种组件式多模网管补丁包安装方法, 所述方法包括:
通过组装多个解耦部署并独立存放的不同制式补丁, 构成多模网管的 补丁包;
将所述补丁包存放在补丁服务器中, 并从所述补丁服务器下载所述补 丁包;
判断所下载的补丁包对应的安装对象是否满足所述补丁包安装条件, 并在满足所述补丁包安装条件时, 安装所述补丁包。
2、 根据权利要求 1所述的方法, 其中, 所述从补丁服务器下载所述补 丁包包括:
在多模网管服务端成功对接所述补丁服务器后, 补丁服务器将多模网 管补丁包下载到多模网管服务端; 以及
在多模网管客户端接入到多模网管服务端时, 多模网管服务端将多模 网管补丁包下载到多模网管客户端。
3、 根据权利要求 2所述的方法, 其中, 所述安装对象包括多模网管服 务端的安装对象和多模网管客户端的安装对象。
4、 根据权利要求 3所述的方法, 其中, 所述多模网管的补丁包包括: 补丁包版本描述信息, 多个不同制式的替换文件、 新增文件, 删除列表描 述文件, 用于每个制式补丁的数据库脚本以及脚本列表描述文件。
5、 根据权利要求 4所述的方法, 其中, 判断所下载的补丁包对应的安 装对象是否满足所述补丁包安装条件的步驟包括:
通过将安装对象的版本描述信息与补丁包版本描述信息进行比对, 确 定是否满足补丁包的安装条件。
6、 根据权利要求 5所述的方法, 其中, 所述确定是否满足补丁包的安 装条件包括: 判断补丁包所包含的多个制式中的任一制式是否已经存在于安装对 象;
若存在, 则安装所述补丁包中相应制式的文件, 反之, 则不进行补丁 包安装。
7、 根据权利要求 5所述的方法, 其中, 判断所下载的补丁包对应的安 装对象是否满足所述补丁包安装条件, 还包括:
查看安装对象的补丁安装历史信息, 以确定所述补丁包是否已经安装; 若已经安装过所述补丁包, 则不安装所述补丁包, 以防止重复安装。
8、 根据权利要求 4、 6或 7所述的方法, 其中, 安装补丁包包括: 备份安装对象中被删除或被替换的文件, 同时记录新增文件; 拷贝补丁包中对应制式的替换文件、 新增文件到安装对象;
根据删除列表描述文件删除安装对象文件;
根据脚本列表描述文件执行对应的数据库脚本。
9、 根据权利要求 8所述的方法, 其中, 所述多模网管补丁包还包括不 能完全解耦的补丁程序及制式间描述文件;
在安装补丁包时, 对于不能完全解耦的补丁程序, 根据制式间描述文 件进行相应拷贝处理。
10、 一种组件式多模网管补丁包安装装置, 所述装置包括:
补丁包制作单元, 配置为通过组装多个解耦部署并独立存放的不同制 式补丁, 构成多模网管的补丁包;
补丁服务器, 配置为存放和下载所述多模网管的补丁包;
安装系统, 配置为判断所下载的补丁包对应的安装对象是否满足补丁 包安装条件, 并且当满足所述补丁包安装条件时, 安装所述补丁包。
PCT/CN2013/082406 2012-09-17 2013-08-27 一种组件式多模网管补丁包安装方法及装置 WO2014040496A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13837116.6A EP2897046A4 (en) 2012-09-17 2013-08-27 METHOD AND DEVICE FOR INSTALLING A MODULAR MULTIMODAL NETWORK MANAGEMENT PACK
JP2015531441A JP6077661B2 (ja) 2012-09-17 2013-08-27 組み立て型多重モードネットワーク管理パッチパッケージインストール方法及び装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210345599.3A CN102902562B (zh) 2012-09-17 2012-09-17 一种组件式多模网管补丁包安装方法及装置
CN201210345599.3 2012-09-17

Publications (1)

Publication Number Publication Date
WO2014040496A1 true WO2014040496A1 (zh) 2014-03-20

Family

ID=47574808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082406 WO2014040496A1 (zh) 2012-09-17 2013-08-27 一种组件式多模网管补丁包安装方法及装置

Country Status (4)

Country Link
EP (1) EP2897046A4 (zh)
JP (1) JP6077661B2 (zh)
CN (1) CN102902562B (zh)
WO (1) WO2014040496A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902562B (zh) * 2012-09-17 2018-04-27 中兴通讯股份有限公司 一种组件式多模网管补丁包安装方法及装置
CN103823687A (zh) * 2014-03-17 2014-05-28 联想(北京)有限公司 信息处理方法和设备
CN108134763B (zh) * 2016-12-01 2021-07-13 南宁富桂精密工业有限公司 攻击应对方法及系统
CN111459530B (zh) * 2019-01-18 2021-10-22 华为技术有限公司 打补丁方法、装置和存储介质
CN113961226B (zh) * 2021-10-20 2023-11-07 抖音视界有限公司 一种软件开发工具包修复方法、终端、服务器及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859174A (zh) * 2005-12-06 2006-11-08 上海华为技术有限公司 通信网络中远程设备的升级方法及其系统
CN101136770A (zh) * 2006-10-13 2008-03-05 中兴通讯股份有限公司 电信多分支网络管理系统的自动升级方法及装置
CN101610604A (zh) * 2009-06-18 2009-12-23 中兴通讯股份有限公司 一种软件升级方法及系统
CN101739276A (zh) * 2009-11-26 2010-06-16 金蝶软件(中国)有限公司 一种系统更新方法和装置
CN102262549A (zh) * 2011-03-02 2011-11-30 奇智软件(北京)有限公司 补丁安装方法与系统
CN102902562A (zh) * 2012-09-17 2013-01-30 中兴通讯股份有限公司 一种组件式多模网管补丁包安装方法及装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3348196B2 (ja) * 1998-03-06 2002-11-20 独立行政法人通信総合研究所 無線伝送システム
JP3478999B2 (ja) * 1999-08-02 2003-12-15 日本電信電話株式会社 無線通信端末及び無線通信端末のソフトウェア変更方法
JP2001273147A (ja) * 2000-03-27 2001-10-05 Toshiba Corp 情報配布方法、情報配布システム、情報配布サーバ、端末機器および記録媒体
WO2002041147A1 (en) * 2000-11-17 2002-05-23 Biftone Corporation System and method for updating and distributing information
JP3925632B2 (ja) * 2002-04-19 2007-06-06 ソニー株式会社 通信システム、通信端末装置、サーバ装置および通信方式変更方法
KR100548414B1 (ko) * 2003-10-09 2006-02-02 엘지전자 주식회사 트리플 모드 기능을 구비한 이동통신단말기
EP1533695B1 (en) * 2003-11-19 2013-08-07 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Updating data in a mobile terminal
JP4744921B2 (ja) * 2005-04-27 2011-08-10 三菱電機株式会社 ソフトウェア障害復旧システム
US20080005733A1 (en) * 2006-06-29 2008-01-03 Balaji Ramachandran Method and apparatus for updating firmware and software
GB0724337D0 (en) * 2007-12-13 2008-01-23 Icera Inc Radio access technology
US8423993B2 (en) * 2008-02-29 2013-04-16 Red Hat, Inc. Systems and methods for managing software patches
CN101593118B (zh) * 2009-02-24 2013-01-16 浪潮集团山东通用软件有限公司 一种软件升级的方法
JP5306002B2 (ja) * 2009-03-17 2013-10-02 三菱電機株式会社 無線通信端末および無線通信方式切り替え方法
JP5183537B2 (ja) * 2009-03-17 2013-04-17 三菱電機株式会社 無線基地局および無線通信方式切り替え方法
JP5110406B2 (ja) * 2010-03-01 2012-12-26 横河電機株式会社 フィールド通信管理装置
JP2012155626A (ja) * 2011-01-27 2012-08-16 Fujitsu Ltd プログラム、情報処理方法、コンピュータ及びインストールシステム
CN102087607B (zh) * 2011-02-21 2014-02-05 北京奇虎科技有限公司 补丁包的安装方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859174A (zh) * 2005-12-06 2006-11-08 上海华为技术有限公司 通信网络中远程设备的升级方法及其系统
CN101136770A (zh) * 2006-10-13 2008-03-05 中兴通讯股份有限公司 电信多分支网络管理系统的自动升级方法及装置
CN101610604A (zh) * 2009-06-18 2009-12-23 中兴通讯股份有限公司 一种软件升级方法及系统
CN101739276A (zh) * 2009-11-26 2010-06-16 金蝶软件(中国)有限公司 一种系统更新方法和装置
CN102262549A (zh) * 2011-03-02 2011-11-30 奇智软件(北京)有限公司 补丁安装方法与系统
CN102902562A (zh) * 2012-09-17 2013-01-30 中兴通讯股份有限公司 一种组件式多模网管补丁包安装方法及装置

Also Published As

Publication number Publication date
JP2015534338A (ja) 2015-11-26
JP6077661B2 (ja) 2017-02-08
CN102902562A (zh) 2013-01-30
EP2897046A4 (en) 2015-12-09
CN102902562B (zh) 2018-04-27
EP2897046A1 (en) 2015-07-22

Similar Documents

Publication Publication Date Title
US9489188B1 (en) Tag-based deployment
WO2014040496A1 (zh) 一种组件式多模网管补丁包安装方法及装置
US10503727B2 (en) System and method for mapping database changes
US20200057619A1 (en) System and method for creating and deploying a release package
US8938730B2 (en) Utilizing a multi-system set configuration to update a utility node system set
JP7389104B2 (ja) データベースの第1のバージョンから第2のバージョンへのアップグレード
EP2524307B1 (en) Operating system auto-update procedure
US11561784B2 (en) Versioning of pipeline templates for continuous delivery of services on datacenters configured in cloud platforms
US20140282470A1 (en) Remote transfer of electronic images to a vehicle
US20040205179A1 (en) Integrating design, deployment, and management phases for systems
US20070294686A1 (en) Program upgrade system and method for ota-capable device
US11501010B2 (en) Application-provisioning framework for database platforms
EP2740061B1 (en) Remote configuration and selective distribution of product content to medical devices
US20140282468A1 (en) Local store data versioning
WO2015078166A1 (zh) 系统应用安装包加载处理方法、装置及终端
US11100084B2 (en) Configuration management identification rule testing
CN104123151A (zh) 移动终端中应用程序的插件管理方法、装置和移动终端
US11392366B1 (en) Optimized compilation of pipelines for continuous delivery of services on datacenters configured in cloud platforms
US8086909B1 (en) Automatic core file upload
CN105808273A (zh) 软件升级方法和软件升级装置
WO2017124736A1 (zh) 一种升级异常信息的传输方法、设备和系统
WO2006136060A1 (fr) Procédé de mise à niveau d&#39;un système multi-logiciel
WO2020001391A1 (zh) 菜单动态管理方法、服务器和系统
US20200409669A1 (en) Technique for transforming a standard messaging component to a customized component
di Vimercati et al. Artifact: Scalable distributed data anonymization

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: 13837116

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015531441

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013837116

Country of ref document: EP