WO2016141688A1 - Application software upgrade method and apparatus, and computer storage medium - Google Patents

Application software upgrade method and apparatus, and computer storage medium Download PDF

Info

Publication number
WO2016141688A1
WO2016141688A1 PCT/CN2015/088529 CN2015088529W WO2016141688A1 WO 2016141688 A1 WO2016141688 A1 WO 2016141688A1 CN 2015088529 W CN2015088529 W CN 2015088529W WO 2016141688 A1 WO2016141688 A1 WO 2016141688A1
Authority
WO
WIPO (PCT)
Prior art keywords
application software
function
version
upgrade
forward version
Prior art date
Application number
PCT/CN2015/088529
Other languages
French (fr)
Chinese (zh)
Inventor
赵洋
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016141688A1 publication Critical patent/WO2016141688A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the invention relates to the field of secure storage of intelligent terminals, and more particularly to an application software upgrade method, device and computer storage medium.
  • Application software upgrade usually refers to the update of the application software from the low version to the high version. After the application software is upgraded, the application software usually performs better than the original version. However, the upgraded application software and the pre-upgrade application software will also show differences between different versions at different levels.
  • the non-new function points of the upgraded network node software can display different service capabilities before the upgrade in multiple service modules such as control plane, media plane, policy control, and billing.
  • Different business capabilities are version differences.
  • the version difference problem is very likely to trigger serious faults in the current complex network business environment, which greatly improves the network operation risk of operators, and is a problem that network node software providers must focus on and eliminate.
  • Embodiments of the present invention are directed to providing an application software upgrade method and apparatus to reduce a fault phenomenon in a software upgrade process.
  • An embodiment of the present invention provides an application software upgrade method, where the method includes:
  • the first function is determined in the forward version of the first application software by:
  • the method before determining that the first function is included in the forward version of the first application software, the method further includes:
  • the function tag indicating the first function is marked on the forward version of the first application software by:
  • An identification field indicating the first function is added to the configuration file of the forward version of the first application software.
  • the upgrading the first application software to the second application software according to the forward version of the first application software includes:
  • the method further includes:
  • a function tag indicating the first function is marked on the second application software.
  • An embodiment of the present invention further provides an application software upgrading apparatus, where the apparatus includes: determining Module and upgrade module; among them,
  • the determining module is configured to determine whether the first version of the first application software includes the first function, the first application software does not include the first function, and is further configured to determine a forward version of the first application software In the case that the first function is included, the upgrade module is triggered;
  • the upgrade module is configured to upgrade the first application software to the forward application version of the first application software when the determining module determines that the first application includes the first function, Second application software.
  • the determining module is configured to determine whether the first function is included in a forward version of the first application software by:
  • the apparatus further includes a marking module configured to mark a function label indicating the first function on the forward version of the first application software by:
  • the upgrade module is configured to upgrade the first application software to the second application software by:
  • the marking module is further configured to mark a function label indicating the first function on the second application software after the first application software is upgraded to the second application software.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform at least one of the foregoing methods.
  • Application software upgrade method, device and computer provided by embodiment of the present invention a storage medium, where the first application is included in the forward version of the first application software, the first application software is upgraded to the second application software according to the forward version of the first application software; The first application software does not include the first function. In this way, the difference between the forward versions before the software upgrade in the application software upgrade process can be reduced, and the upgrade failure phenomenon occurs.
  • FIG. 1 is a schematic diagram of a general scenario of software upgrade according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an application software upgrade method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an application software upgrading apparatus according to an embodiment of the present invention.
  • FIG 1 shows the general scenario of the application software upgrade.
  • B1 is the original version of the application software. All versions after B1 inherit all the functions of B1. At the same time, other functions can be added.
  • the B1a, B1b, and B1c versions are located on the patch branch of B1 and are the patch version of B1.
  • B3a is located on the patch branch of B3. It is the patch version of B3.
  • the patch version is planned to be released at the time point and B1 on the trunk branch.
  • the planned release time of the B2, B3, B4, and B5 versions is not in the order of the sequence. That is, the patch version may be evolved to the B1c version when the backbone branch is evolved to the B2 version. It has evolved to the B4 version.
  • the later version of the release does not necessarily have more features than the version of the release time.
  • B1b for example, if B1b is released earlier than B3, B1b will be more than B3.
  • Two functions this is because, when the software version on the trunk branch evolves to B3, B2 directly inherits the function of B1 (only optimizes the provided functions), and B3 directly inherits the functions of B2; however, from the patch branch From the above point of view, the B1a version is based on B1.
  • the A function has been added, and the B1b version adds B function on the basis of B1a; therefore, the B1b version has two more functions than the B3 version software, namely the A function and the B function.
  • B1b must be created on the basis of B1a. In addition to the version plan of B1b after production. In addition to the B function, it also inherits the A function planned by B1a. B5 must be produced on the basis of B4. In addition to the B and C functions planned for this version, the B5 will inherit the A function planned by the B4 version.
  • the B5 version is used as an example.
  • the B and C functions are planned in this version.
  • the B and C functions have no configuration data.
  • these two functions are often upgraded in the way of new functions.
  • the B function is planned and released in the forward versions, such as B1b, B1c, and B3a.
  • a version difference occurs between B4 and B1b, or with B1c, or with B3a.
  • the study found that the difference between the forward versions before the software upgrade is one of the reasons that will lead to the failure of this upgrade.
  • the first application software in the case that determining that the forward version of the first application software includes the first function, is upgraded to the first application according to the forward version of the first application software.
  • the first embodiment of the present invention provides an application software upgrade method. As shown in FIG. 2, the method includes the following steps:
  • Step 201 When upgrading the first application software to the second application software that includes the first function, determining whether the first function is included in the forward version of the first application software;
  • the first function may be one function or multiple functions, and
  • the first function is a function not included in the first application software; that is, the second application software cannot be directly upgraded from the first application software to the application software including the first function.
  • the second application software when the first application software is a trunk version, the second application software may be a trunk version or a patch version; when the first application software is a patch version, the second application software is also Patch version.
  • the forward version of the first application software includes: all trunk versions and/or patch version software released before the first application software release date.
  • Determining whether the first function is included in the forward version of the first application software includes:
  • the third application software Before this step, if the first function is included in any one or more versions of the forward version of the first application software, in the version software (in order to distinguish from the first application software and the second application software, The following version of the software is referred to as the third application software.
  • the function label indicating the first function is marked on the third application software; thus, for the backward version of the third application software, the first in the planning When the function is performed, the third application software that already includes the first function can be quickly found through the function label.
  • the first application software can be upgraded directly based on the third application software; if, as in the prior art, If no processing is performed on the third application software, when the first application software is upgraded and the first function is added, since it is not clear whether the application software including the first function exists in the forward version, the new function pair is often used.
  • the first application software is upgraded, that is, the configuration parameter of the first function in the upgraded second application software is set to null (null), which , The difference between the second version of the application software and application software will cause third.
  • the function label indicating the first function may be marked on the first application software by using a structured query language SQL script in the third application software.
  • a record identifier indicating the first function is added to the database file; or an identifier field indicating the first function is added in the configuration file of the third application software.
  • determining whether the version of the function label indicating the first function exists in the forward version of the first application software may be different; for example, when using a SQL script
  • the function identifier of the first function is marked by adding the record identifier in the database file of the application software, it may be detected whether the database file of all forward versions of the first application software includes the corresponding record identifier, and if the corresponding record identifier is detected, Determining that the forward version application software includes a function label indicating the first function; when the function label of the first function is marked by adding an identifier field in the related configuration file of the application software, the first application software may be detected. Whether the corresponding identification field is included in the configuration file of all forward versions, and if the corresponding identification field is detected, it is determined that the forward version application software includes a function label indicating the first function.
  • Step 202 When determining that the first function is included in the forward version of the first application software, upgrading the first application software to the second application software according to the forward version of the first application software;
  • the first application software is upgraded to the second application software according to the forward version of the first application software;
  • upgrading the first application software to the second application software according to the forward version of the first application software includes:
  • the second application software directly inherits all relevant configurations of the first function in the application software of the forward version of the first application software when the first function is added.
  • the method further includes Included: a function tag indicating the first function is marked on the second application software.
  • the second embodiment of the present invention provides an application software upgrading apparatus.
  • the apparatus includes: a determining module 31 and an upgrading module 32;
  • the determining module 31 is configured to determine whether the first version of the first application software includes the first function, the first application software does not include the first function, and is further configured to determine the forward direction of the first application software. If the first function is included in the version, the upgrade module 32 is triggered;
  • the upgrade module 32 is configured to: when the determining module 31 determines that the first function is included in the forward version of the first application software, the first application software according to the forward version of the first application software Upgrade to the second application.
  • the first function may be one function or multiple functions.
  • the second application software when the first application software is a trunk version, the second application software may be a trunk version or a patch version; when the first application software is a patch version, the second application software is also Patch version.
  • the forward version of the first application software includes: all trunk version and/or patch version software released before the first application software release date.
  • the determining module 31 is configured to determine whether the first function is included in a forward version of the first application software by:
  • the device further includes a marking module 33 configured to mark the function label indicating the first function on the forward version of the first application software by:
  • the marking module 33 is further configured to mark the function label indicating the first function on the second application software after the first application software is upgraded to the second application software.
  • the upgrading module 32 is configured to upgrade the first application software to the second application software by:
  • the embodiment further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the methods of the first embodiment, as shown in FIG. 2 The method shown.
  • the computer storage medium described in this embodiment may include a storage medium such as a hard disk, an optical disk, a magnetic tape, or a flash disk, and may be a non-transitory storage medium.
  • the forward version includes the first function, upgrading the first application software to the second application software according to a forward version upgrade including the first function.
  • the current version of the current first application software is version N; currently, it needs to be upgraded to version N+1.
  • Version N+1 is a backward version of the current version N; the release time of the version N+1 is after the release time of the current version N.
  • it is determined whether there is a function A in the forward version issued before the version N if there is an upgrade directly according to the forward version having the function A. For example, by detecting that the forward version n has the function A, the upgrade is performed directly according to the forward version n.
  • the following is a specific example of the embodiment of the present invention. The method is described in detail below.
  • FIG. 1 uses Figure 1 as an example.
  • the detection will find that the forward version of B4 contains function B, and the forward version containing function B has B1b and B3a, at this time, according to the preset rule, the B4 to B5 upgrade is performed according to B1b or B3a; optionally, the preset rule may be set as needed, for example, the release time may be selected according to B1b and B3a.
  • the earlier version upgrades B4, and B4 can be upgraded according to the later release of B1b and B3a.
  • B4 can be upgraded directly according to the version.
  • FIG. 1 When upgrading the application software from the B4 version to the B5 version, plan the new function B in the B5 version relative to the B4 version. In this case, first check whether the forward version of B4 is included. Function B, optionally, performs detection in the order of all the forward version release times, for example, in the order of the release time from front to back, or in the order from the release time to the front, to the B4 version. Whether the function B is included in the forward version; in the detection process according to the above scheme, when the forward version including the function B is detected, the detection is stopped;
  • the foregoing determining module 31, the upgrading module 32, and the marking module 33 may be a central processing unit (CPU) or a microprocessor (MPU) in any computer, server, or the like having data processing functions.
  • CPU central processing unit
  • MPU microprocessor
  • Micro Processing Unit Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.

Abstract

Disclosed is an application software upgrade method, the method comprising: when first application software is upgraded to second application software containing a first function, judging whether a forward version of the first application software contains the first function (201); and when it is determined that the forward version of the first application software contains the first function, upgrading the first application software to the second application software according to the forward version of the first application software (202), wherein the first application software does not contain the first function. Further disclosed is an application software upgrade apparatus, and a computer storage medium.

Description

应用软件升级方法、装置和计算机存储介质Application software upgrade method, device and computer storage medium 技术领域Technical field
本发明涉及智能终端安全存储领域,更可选地说,是一种应用软件升级方法、装置和计算机存储介质。The invention relates to the field of secure storage of intelligent terminals, and more particularly to an application software upgrade method, device and computer storage medium.
背景技术Background technique
应用软件升级通常是指应用软件从低版本向高版本的更新,经过应用软件升级后,应用软件通常会比原版本的性能更好。然而,升级后的应用软件与升级前的应用软件在不同层面上也会表现出不同版本之间的差异性。Application software upgrade usually refers to the update of the application software from the low version to the high version. After the application software is upgraded, the application software usually performs better than the original version. However, the upgraded application software and the pre-upgrade application software will also show differences between different versions at different levels.
以网络节点软件为例,经过升级后的网络节点软件的非新增功能点能够在控制面、媒体面、策略控制及计费等多个业务模块表现出与升级前所不同的业务能力,这些不同的业务能力就属于版本差异。而版本差异问题在当前复杂的网络业务环境中非常有可能触发严重故障的发生,大大提升了运营商的网络运营风险,是网络节点软件提供商必须重点关注并消除的问题。Taking the network node software as an example, the non-new function points of the upgraded network node software can display different service capabilities before the upgrade in multiple service modules such as control plane, media plane, policy control, and billing. Different business capabilities are version differences. The version difference problem is very likely to trigger serious faults in the current complex network business environment, which greatly improves the network operation risk of operators, and is a problem that network node software providers must focus on and eliminate.
然而在现有技术中,在进行软件升级,通常会发生诸多的升级故障。However, in the prior art, in the software upgrade, many upgrade failures usually occur.
发明内容Summary of the invention
本发明实施例期望提供一种应用软件升级方法和装置,以减少软件升级过程中的故障现象。Embodiments of the present invention are directed to providing an application software upgrade method and apparatus to reduce a fault phenomenon in a software upgrade process.
本发明实施例提供了一种应用软件升级方法,所述方法包括: An embodiment of the present invention provides an application software upgrade method, where the method includes:
在确定第一应用软件的前向版本中包含第一功能的情况下,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件;其中,所述第一应用软件不包含第一功能。And determining, in the case that the first version of the first application software includes the first function, upgrading the first application software to the second application software according to the forward version of the first application software; wherein the first The application software does not include the first function.
基于上述方案,通过以下方式确定第一应用软件的前向版本中包含第一功能:Based on the above solution, the first function is determined in the forward version of the first application software by:
判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本;当确定所述第一应用软件的前向版本中存在包含指示第一功能的功能标签的版本时,确定第一应用软件的前向版本中包含第一功能。Determining whether a version of the function tag indicating the first function exists in the forward version of the first application software; when determining that a version of the function tag indicating the first function exists in the forward version of the first application software And determining that the first function is included in the forward version of the first application software.
基于上述方案,在确定第一应用软件的前向版本中包含第一功能之前,所述方法还包括:Based on the foregoing solution, before determining that the first function is included in the forward version of the first application software, the method further includes:
通过以下方式在第一应用软件的前向版本上标记上指示第一功能的功能标签:The function tag indicating the first function is marked on the forward version of the first application software by:
使用结构化查询语言SQL脚本在第一应用软件的前向版本的数据库文件中添加指示第一功能的记录标识;或者,Adding a record identifier indicating the first function to the database file of the forward version of the first application software using the structured query language SQL script; or
在第一应用软件的前向版本的配置文件中增加指示第一功能的标识字段。An identification field indicating the first function is added to the configuration file of the forward version of the first application software.
基于上述方案,所述根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件,包括:Based on the foregoing solution, the upgrading the first application software to the second application software according to the forward version of the first application software includes:
按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置。And configuring configuration parameters of the first function in the second application software according to the configuration parameter value of the first function in the forward version of the first application software.
基于上述方案,在第一应用软件升级为第二应用软件之后,所述方法还包括:After the first application software is upgraded to the second application software, the method further includes:
在第二应用软件上标记上指示第一功能的功能标签。A function tag indicating the first function is marked on the second application software.
本发明实施例还提供了一种应用软件升级装置,所述装置包括:判断 模块和升级模块;其中,An embodiment of the present invention further provides an application software upgrading apparatus, where the apparatus includes: determining Module and upgrade module; among them,
所述判断模块,配置为判断第一应用软件的前向版本中是否包含第一功能,所述第一应用软件不包含所述第一功能;还用于在确定第一应用软件的前向版本中包含所述第一功能的情况下,触发升级模块;The determining module is configured to determine whether the first version of the first application software includes the first function, the first application software does not include the first function, and is further configured to determine a forward version of the first application software In the case that the first function is included, the upgrade module is triggered;
所述升级模块,配置为在判断模块确定所述第一应用软件的前向版本中包含所述第一功能时,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件。The upgrade module is configured to upgrade the first application software to the forward application version of the first application software when the determining module determines that the first application includes the first function, Second application software.
基于上述方案,所述判断模块配置为通过以下方式判断所述第一应用软件的前向版本中是否包含所述第一功能:Based on the foregoing solution, the determining module is configured to determine whether the first function is included in a forward version of the first application software by:
判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本。Determining whether a version containing the function tag indicating the first function exists in the forward version of the first application software.
基于上述方案,所述装置还包括标记模块,配置为通过以下方式在第一应用软件的前向版本上标记上指示第一功能的功能标签:Based on the above solution, the apparatus further includes a marking module configured to mark a function label indicating the first function on the forward version of the first application software by:
使用结构化查询语言SQL脚本在第一应用软件的前向版本的数据库文件中添加指示第一功能的记录标识;或者,在第一应用软件的前向版本的配置文件中增加指示第一功能的标识字段。Adding a record identifier indicating the first function to the database file of the forward version of the first application software using the structured query language SQL script; or adding a first function indicating the first function in the configuration file of the forward version of the first application software Identification field.
基于上述方案,所述升级模块配置为通过以下方式将所述第一应用软件升级为第二应用软件:Based on the foregoing solution, the upgrade module is configured to upgrade the first application software to the second application software by:
按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置。And configuring configuration parameters of the first function in the second application software according to the configuration parameter value of the first function in the forward version of the first application software.
基于上述方案,所述标记模块还配置为在第一应用软件升级为第二应用软件之后,在第二应用软件上标记上指示第一功能的功能标签。Based on the above solution, the marking module is further configured to mark a function label indicating the first function on the second application software after the first application software is upgraded to the second application software.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法的至少其中之一。本发明实施例所提供的一种应用软件升级方法、装置和计算机 存储介质,在确定第一应用软件的前向版本中包含第一功能的情况下,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件;其中,所述第一应用软件不包含第一功能。如此,能够减少应用软件升级过程中在本次软件升级之前的前向版本之间的差异,导致的升级故障现象的发生。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform at least one of the foregoing methods. Application software upgrade method, device and computer provided by embodiment of the present invention a storage medium, where the first application is included in the forward version of the first application software, the first application software is upgraded to the second application software according to the forward version of the first application software; The first application software does not include the first function. In this way, the difference between the forward versions before the software upgrade in the application software upgrade process can be reduced, and the upgrade failure phenomenon occurs.
附图说明DRAWINGS
图1为本发明实施例提供的一种软件升级通用场景图;FIG. 1 is a schematic diagram of a general scenario of software upgrade according to an embodiment of the present invention;
图2为本发明实施例提供的应用软件升级方法的流程示意图;2 is a schematic flowchart of an application software upgrade method according to an embodiment of the present invention;
图3为本发明实施例提供的应用软件升级装置的结构示意图。FIG. 3 is a schematic structural diagram of an application software upgrading apparatus according to an embodiment of the present invention.
具体实施方式detailed description
图1为应用软件升级的通用场景图,B1为原始版本的应用软件,B1之后的所有版本均会继承B1的所有功能,同时,也可以新增其它功能。B1a、B1b、B1c三个版本位于B1的补丁分支上,是B1版本的补丁版本,B3a位于B3的补丁分支上,是B3的补丁版本,补丁版本规划发布的时间点与主干分支上的B1、B2、B3、B4、B5等版本的规划发布时间点没有先后顺序要求,即,有可能主干分支演进到B2版本时,补丁版本已经演进到B1c版本;也可能补丁版本演进到B1a时,主干分支上已经演进到B4版本。另外,发布时间靠后的版本并不一定比发布时间靠前的版本拥有更多功能,比如,以图1为例,假如B1b的发布时间早于B3版本,但是,B1b版本会比B3版本多两个功能,这是因为,主干分支上软件版本演进到B3时,B2直接继承了B1的功能(仅对提供的功能做出优化),而B3直接继承了B2的功能;但是,从补丁分支上来看,B1a版本在B1的基础上 增加了A功能,B1b版本在B1a的基础上又增加了B功能;因此,B1b版本比B3版本软件多两个功能,即A功能和B功能。Figure 1 shows the general scenario of the application software upgrade. B1 is the original version of the application software. All versions after B1 inherit all the functions of B1. At the same time, other functions can be added. The B1a, B1b, and B1c versions are located on the patch branch of B1 and are the patch version of B1. B3a is located on the patch branch of B3. It is the patch version of B3. The patch version is planned to be released at the time point and B1 on the trunk branch. The planned release time of the B2, B3, B4, and B5 versions is not in the order of the sequence. That is, the patch version may be evolved to the B1c version when the backbone branch is evolved to the B2 version. It has evolved to the B4 version. In addition, the later version of the release does not necessarily have more features than the version of the release time. For example, in Figure 1, for example, if B1b is released earlier than B3, B1b will be more than B3. Two functions, this is because, when the software version on the trunk branch evolves to B3, B2 directly inherits the function of B1 (only optimizes the provided functions), and B3 directly inherits the functions of B2; however, from the patch branch From the above point of view, the B1a version is based on B1. The A function has been added, and the B1b version adds B function on the basis of B1a; therefore, the B1b version has two more functions than the B3 version software, namely the A function and the B function.
需要说明的是,单一补丁分支或主干分支的版本规划发布时间点和功能是有先后顺序要求的,以图1为例,B1b必须在B1a的基础上制作,制作后的B1b除了具备该版本规划的B功能外,也会继承B1a所规划的A功能。B5必须在B4的基础上制作,制作后的B5除了具备该版本规划的B、C功能外,也会继承B4版本所规划的A功能。It should be noted that the time point and function of the version planning release time of a single patch branch or trunk branch are required in sequence. Take Figure 1 as an example. B1b must be created on the basis of B1a. In addition to the version plan of B1b after production. In addition to the B function, it also inherits the A function planned by B1a. B5 must be produced on the basis of B4. In addition to the B and C functions planned for this version, the B5 will inherit the A function planned by the B4 version.
但是,以B5版本为例,该版本规划了B、C两个功能,从B4版本升级到B5版本后,在B4版本中,B、C两个功能都没有配置数据,此时,按照现有技术实现方式,往往会将这两个功能都按新增功能的方式进行升级处理。但是,可以看出,B功能在前向版本,如,B1b、B1c及B3a中均以规划并发布,这种情况下,会在B4与B1b、或与B1c、或与B3a之间产生版本差异。研究发现,本次软件升级之前,前向版本之间的差异正是会导致本次升级的故障的原因之一。However, the B5 version is used as an example. The B and C functions are planned in this version. After the B4 version is upgraded to the B5 version, in the B4 version, the B and C functions have no configuration data. In the technical implementation, these two functions are often upgraded in the way of new functions. However, it can be seen that the B function is planned and released in the forward versions, such as B1b, B1c, and B3a. In this case, a version difference occurs between B4 and B1b, or with B1c, or with B3a. . The study found that the difference between the forward versions before the software upgrade is one of the reasons that will lead to the failure of this upgrade.
有鉴于此,本发明实施例中,在确定第一应用软件的前向版本中包含第一功能的情况下,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件;其中,所述第一应用软件不包含第一功能。In this embodiment, in the embodiment of the present invention, in the case that determining that the forward version of the first application software includes the first function, the first application software is upgraded to the first application according to the forward version of the first application software. The application software; wherein the first application software does not include the first function.
下面通过附图及具体实施例对本发明做进一步的详细说明;应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The present invention will be further described in detail with reference to the accompanying drawings and the accompanying drawings.
实施例一Embodiment 1
本发明实施例一提供了一种应用软件升级方法,如图2所示,该方法包括以下步骤:The first embodiment of the present invention provides an application software upgrade method. As shown in FIG. 2, the method includes the following steps:
步骤201:当将第一应用软件升级为包含第一功能的第二应用软件时,判断所述第一应用软件的前向版本中是否包含所述第一功能;Step 201: When upgrading the first application software to the second application software that includes the first function, determining whether the first function is included in the forward version of the first application software;
可选地,所述第一功能可以为一个功能,也可以为多个功能,而且, 所述第一功能为不包含于第一应用软件的功能;也就是说,第二应用软件不能从第一应用软件直接升级为包含第一功能的应用软件。Optionally, the first function may be one function or multiple functions, and The first function is a function not included in the first application software; that is, the second application software cannot be directly upgraded from the first application software to the application software including the first function.
可选地,当所述第一应用软件为主干版本时,所述第二应用软件可以为主干版本或补丁版本;当所述第一应用软件为补丁版本时,所述第二应用软件也为补丁版本。Optionally, when the first application software is a trunk version, the second application software may be a trunk version or a patch version; when the first application software is a patch version, the second application software is also Patch version.
所述第一应用软件的前向版本包括:在所述第一应用软件发布日之前发布的所有主干版本和/或补丁版本软件。The forward version of the first application software includes: all trunk versions and/or patch version software released before the first application software release date.
所述判断所述第一应用软件的前向版本中是否包含所述第一功能,包括:Determining whether the first function is included in the forward version of the first application software includes:
判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本。Determining whether a version containing the function tag indicating the first function exists in the forward version of the first application software.
在这一步骤之前,如果第一应用软件的前向版本中的任何一个或多个版本中包含了第一功能,则在该版本软件(为了与第一应用软件和第二应用软件相区别,以下将该版本软件称为第三应用软件)制作完成时,在第三应用软件上标记上指示第一功能的功能标签;这样,对于第三应用软件的后向版本来说,在规划第一功能时,可以经由该功能标签迅速找到已经包含该第一功能的第三应用软件,因而,可以直接基于所述第三应用软件对第一应用软件进行升级;相反的,如果如现有技术一般,不对第三应用软件做任何处理,则当对第一应用软件进行升级并增加第一功能时,由于不清楚前向版本中是否存在包含第一功能的应用软件,则往往按照新增功能对第一应用软件进行升级,也就是说,将升级得到的第二应用软件中第一功能的配置参数设置为空(null),这样,会造成第二应用软件和第三应用软件之间的版本差异。Before this step, if the first function is included in any one or more versions of the forward version of the first application software, in the version software (in order to distinguish from the first application software and the second application software, The following version of the software is referred to as the third application software. When the production is completed, the function label indicating the first function is marked on the third application software; thus, for the backward version of the third application software, the first in the planning When the function is performed, the third application software that already includes the first function can be quickly found through the function label. Therefore, the first application software can be upgraded directly based on the third application software; if, as in the prior art, If no processing is performed on the third application software, when the first application software is upgraded and the first function is added, since it is not clear whether the application software including the first function exists in the forward version, the new function pair is often used. The first application software is upgraded, that is, the configuration parameter of the first function in the upgraded second application software is set to null (null), which , The difference between the second version of the application software and application software will cause third.
可选地,在实际实现中,可以通过以下方式在第一应用软件上标记上指示第一功能的功能标签:使用结构化查询语言SQL脚本在第三应用软件 的数据库文件中添加指示第一功能的记录标识;或者,在第三应用软件的配置文件中增加指示第一功能的标识字段。Optionally, in an actual implementation, the function label indicating the first function may be marked on the first application software by using a structured query language SQL script in the third application software. A record identifier indicating the first function is added to the database file; or an identifier field indicating the first function is added in the configuration file of the third application software.
相应的,按照功能标签的标记方式的不同,判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本的方式也会有所不同;例如,当使用SQL脚本在应用软件的数据库文件中添加记录标识的方式来标记第一功能的功能标签时,可以检测第一应用软件的所有前向版本的数据库文件中是否包含相应记录标识,如果检测到相应记录标识,则确定该前向版本应用软件中包含指示第一功能的功能标签;当通过在应用软件的相关配置文件中增加标识字段的方式来标记第一功能的功能标签时,可以检测第一应用软件的所有前向版本的配置文件中是否包含相应标识字段,如果检测到相应标识字段,则确定该前向版本应用软件中包含指示第一功能的功能标签。Correspondingly, according to the marking manner of the function label, determining whether the version of the function label indicating the first function exists in the forward version of the first application software may be different; for example, when using a SQL script When the function identifier of the first function is marked by adding the record identifier in the database file of the application software, it may be detected whether the database file of all forward versions of the first application software includes the corresponding record identifier, and if the corresponding record identifier is detected, Determining that the forward version application software includes a function label indicating the first function; when the function label of the first function is marked by adding an identifier field in the related configuration file of the application software, the first application software may be detected. Whether the corresponding identification field is included in the configuration file of all forward versions, and if the corresponding identification field is detected, it is determined that the forward version application software includes a function label indicating the first function.
步骤202:当确定所述第一应用软件的前向版本中包含所述第一功能时,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件;Step 202: When determining that the first function is included in the forward version of the first application software, upgrading the first application software to the second application software according to the forward version of the first application software;
当确定所述第一应用软件的前向版本中包括所述第一功能时,根据所述第一应用软件的前向版本中将所述第一应用软件升级为第二应用软件;When it is determined that the first function is included in the forward version of the first application software, the first application software is upgraded to the second application software according to the forward version of the first application software;
可选地,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件,包括:Optionally, upgrading the first application software to the second application software according to the forward version of the first application software includes:
按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置;也就是说,将第一应用软件升级为第二应用软件过程中,第二应用软件在增加第一功能时,直接继承所述第一应用软件的前向版本的应用软件中所述第一功能的所有相关配置。Configuring a configuration parameter of the first function in the second application software according to a configuration parameter value of the first function in a forward version of the first application software; that is, upgrading the first application software to the first application software During the application software process, the second application software directly inherits all relevant configurations of the first function in the application software of the forward version of the first application software when the first function is added.
进一步的,在第一应用软件升级为第二应用软件之后,所述方法还包 括:在第二应用软件上标记上指示第一功能的功能标签。Further, after the first application software is upgraded to the second application software, the method further includes Included: a function tag indicating the first function is marked on the second application software.
实施例二Embodiment 2
本发明实施例二提供了一种应用软件升级装置,如图3所示,所述装置包括:判断模块31和升级模块32;其中,The second embodiment of the present invention provides an application software upgrading apparatus. As shown in FIG. 3, the apparatus includes: a determining module 31 and an upgrading module 32;
所述判断模块31,配置为判断第一应用软件的前向版本中是否包含第一功能,所述第一应用软件不包含所述第一功能;还用于在确定第一应用软件的前向版本中包含所述第一功能的情况下,触发升级模块32;The determining module 31 is configured to determine whether the first version of the first application software includes the first function, the first application software does not include the first function, and is further configured to determine the forward direction of the first application software. If the first function is included in the version, the upgrade module 32 is triggered;
所述升级模块32,配置为在判断模块31确定所述第一应用软件的前向版本中包含所述第一功能时,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件。The upgrade module 32 is configured to: when the determining module 31 determines that the first function is included in the forward version of the first application software, the first application software according to the forward version of the first application software Upgrade to the second application.
可选地,所述第一功能可以为一个功能也可以为多个功能。Optionally, the first function may be one function or multiple functions.
可选地,当所述第一应用软件为主干版本时,所述第二应用软件可以为主干版本或补丁版本;当所述第一应用软件为补丁版本时,所述第二应用软件也为补丁版本。Optionally, when the first application software is a trunk version, the second application software may be a trunk version or a patch version; when the first application software is a patch version, the second application software is also Patch version.
可选地,所述第一应用软件的前向版本包括:在所述第一应用软件发布日之前发布的所有主干版本和/或补丁版本软件。Optionally, the forward version of the first application software includes: all trunk version and/or patch version software released before the first application software release date.
可选地,所述判断模块31配置为通过以下方式判断所述第一应用软件的前向版本中是否包含所述第一功能:Optionally, the determining module 31 is configured to determine whether the first function is included in a forward version of the first application software by:
判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本。Determining whether a version containing the function tag indicating the first function exists in the forward version of the first application software.
进一步的,所述装置还包括标记模块33,配置为通过以下方式在第一应用软件的前向版本上标记上指示第一功能的功能标签:Further, the device further includes a marking module 33 configured to mark the function label indicating the first function on the forward version of the first application software by:
使用结构化查询语言SQL脚本在第一应用软件的前向版本的数据库文件中添加指示第一功能的记录标识;或者,在第一应用软件的前向版本的配置文件中增加指示第一功能的标识字段。 Adding a record identifier indicating the first function to the database file of the forward version of the first application software using the structured query language SQL script; or adding a first function indicating the first function in the configuration file of the forward version of the first application software Identification field.
进一步的,所述标记模块33还配置为在第一应用软件升级为第二应用软件之后,在第二应用软件上标记上指示第一功能的功能标签。Further, the marking module 33 is further configured to mark the function label indicating the first function on the second application software after the first application software is upgraded to the second application software.
可选地,所述升级模块32配置为通过以下方式将所述第一应用软件升级为第二应用软件:Optionally, the upgrading module 32 is configured to upgrade the first application software to the second application software by:
按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置。实施例三:And configuring configuration parameters of the first function in the second application software according to the configuration parameter value of the first function in the forward version of the first application software. Embodiment 3:
本实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行实施例一所述方法的至少其中之一,可如图2所示的方法。The embodiment further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the methods of the first embodiment, as shown in FIG. 2 The method shown.
本实施例中所述的计算机存储介质可包括硬盘、光盘、磁带或闪盘等存储介质,可选为非瞬间存储介质。The computer storage medium described in this embodiment may include a storage medium such as a hard disk, an optical disk, a magnetic tape, or a flash disk, and may be a non-transitory storage medium.
在本发明实施例中所述应用软件升级方法可包括:The application software upgrading method in the embodiment of the present invention may include:
确定软件升级后会相对于当前的第一应用软件添加的第一功能;Determining the first function added after the software upgrade is relative to the current first application software;
判断发布时间在所述第一应用软件对应的当前版本的之前的前向版本中是否包括第一功能;Determining whether the publishing time includes the first function in a previous forward version of the current version corresponding to the first application software;
若所述前向版本包括所述第一功能,则根据包括所述第一功能的前向版本升级将所述第一应用软件升级为第二应用软件。If the forward version includes the first function, upgrading the first application software to the second application software according to a forward version upgrade including the first function.
例如,当前第一应用软件对应的当前版本为版本N;目前需要通过升级到版本N+1。版本N+1是当前版本N的后向版本;所述版本N+1的发布时间在所述当前版本N的发布时间之后。通过版本内容之间的比较、版本之间的配置信息之间的比较或功能标签的比较,确定出版本N+1相对于版本N有添加了功能A。为了避免出现升级故障,在本实施例中将确定发布在版本N之前的前向版本中是否有功能A,如有直接依据具有该功能A的前向版本进行升级。例如,通过检测发现前向版本n具有功能A,则直接依据前向版本n进行升级。下面通过两个具体示例,对本发明实施例所述 方法作以下详细介绍。For example, the current version of the current first application software is version N; currently, it needs to be upgraded to version N+1. Version N+1 is a backward version of the current version N; the release time of the version N+1 is after the release time of the current version N. By comparing the comparison between the version contents, the comparison between the configuration information between the versions, or the comparison of the function tags, it is determined that the version N+1 has the function A added with respect to the version N. In order to avoid an upgrade failure, in this embodiment, it is determined whether there is a function A in the forward version issued before the version N, if there is an upgrade directly according to the forward version having the function A. For example, by detecting that the forward version n has the function A, the upgrade is performed directly according to the forward version n. The following is a specific example of the embodiment of the present invention. The method is described in detail below.
示例一Example one
该示例以图1为例,在将应用软件从B4版本升级到B5版本时,在B5版本中规划相对于B4版本的新增功能B;此时,首先检测B4的前向版本中是否包含功能B,假设在B4版本发布之前所发布的版本有B1、B2、B3、B1a、B1b及B3a,则通过检测会发现B4的前向版本中包含有功能B,且包含功能B的前向版本有B1b和B3a,此时,根据预设规则选择依据B1b或B3a进行B4到B5的升级;可选地,所述预设规则可以根据需要进行设置,例如,可以选择按照B1b和B3a之中发布时间较早的版本对B4进行升级,也可以按照B1b和B3a之中发布时间较晚的版本对B4进行升级。This example uses Figure 1 as an example. When upgrading the application software from the B4 version to the B5 version, plan the new function B in the B5 version relative to the B4 version. In this case, first check whether the forward version of B4 includes the function. B. Assuming that the versions released before the release of the B4 version include B1, B2, B3, B1a, B1b, and B3a, the detection will find that the forward version of B4 contains function B, and the forward version containing function B has B1b and B3a, at this time, according to the preset rule, the B4 to B5 upgrade is performed according to B1b or B3a; optionally, the preset rule may be set as needed, for example, the release time may be selected according to B1b and B3a. The earlier version upgrades B4, and B4 can be upgraded according to the later release of B1b and B3a.
需要说明的是,如果检测到的包含功能B的前向版本只有一个,则直接按照该版本对B4进行升级即可。It should be noted that if only one detected forward version containing function B is detected, then B4 can be upgraded directly according to the version.
示例二Example two
该示例仍然以图1为例,在将应用软件从B4版本升级到B5版本时,在B5版本中规划相对于B4版本的新增功能B;此时,首先检测B4的前向版本中是否包含功能B,可选地,按照所有前向版本发布时间的先后顺序依次进行检测,例如,按照发布时间由前到后的顺序、或按照发布时间由后到前的顺序进行检测,看B4版本的前向版本中是否包含功能B;在按照上述方案检测过程中,当检测到包含有功能B的前向版本时,则停止检测;The example is still shown in Figure 1. When upgrading the application software from the B4 version to the B5 version, plan the new function B in the B5 version relative to the B4 version. In this case, first check whether the forward version of B4 is included. Function B, optionally, performs detection in the order of all the forward version release times, for example, in the order of the release time from front to back, or in the order from the release time to the front, to the B4 version. Whether the function B is included in the forward version; in the detection process according to the above scheme, when the forward version including the function B is detected, the detection is stopped;
例如,假设B4的前向版本中,按照发布时间由前到后的顺序对所有版本进行排序的结果为:B1、B1a、B2、B3、B3a、B1b;则按此顺序依次检测相应版本中是否包含功能B,当检测到B3a版本时,确定B3a中包含功能B;此时,停止检测,直接根据B3a将B4升级为B5。 For example, suppose that in the forward version of B4, the results of sorting all versions in the order of release time from front to back are: B1, B1a, B2, B3, B3a, B1b; then, in this order, whether the corresponding version is detected in turn Contains function B. When the B3a version is detected, it is determined that function B is included in B3a; at this time, the detection is stopped, and B4 is directly upgraded to B5 according to B3a.
在具体实施过程中,上述判断模块31、升级模块32及标记模块33可以由任何具有数据处理功能的计算机、服务器等设备内的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)来实现。In a specific implementation process, the foregoing determining module 31, the upgrading module 32, and the marking module 33 may be a central processing unit (CPU) or a microprocessor (MPU) in any computer, server, or the like having data processing functions. Micro Processing Unit), Digital Signal Processor (DSP) or Field-Programmable Gate Array (FPGA).
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明实施例是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围;凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; any modifications made in accordance with the principles of the present invention should be construed as falling within the scope of the present invention.

Claims (11)

  1. 一种应用软件升级方法,所述方法包括:An application software upgrade method, the method comprising:
    在确定第一应用软件的前向版本中包含第一功能的情况下,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件;其中,所述第一应用软件不包含第一功能。And determining, in the case that the first version of the first application software includes the first function, upgrading the first application software to the second application software according to the forward version of the first application software; wherein the first The application software does not include the first function.
  2. 根据权利要求1所述的方法,其中,通过以下方式确定第一应用软件的前向版本中包含第一功能:The method according to claim 1, wherein the first function is included in the forward version of the first application software by:
    判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本;当确定所述第一应用软件的前向版本中存在包含指示第一功能的功能标签的版本时,确定第一应用软件的前向版本中包含第一功能。Determining whether a version of the function tag indicating the first function exists in the forward version of the first application software; when determining that a version of the function tag indicating the first function exists in the forward version of the first application software And determining that the first function is included in the forward version of the first application software.
  3. 根据权利要求2所述的方法,其中,在确定第一应用软件的前向版本中包含第一功能之前,所述方法还包括:The method of claim 2, wherein before determining that the first function is included in the forward version of the first application software, the method further comprises:
    通过以下方式在第一应用软件的前向版本上标记上指示第一功能的功能标签:The function tag indicating the first function is marked on the forward version of the first application software by:
    使用结构化查询语言SQL脚本在第一应用软件的前向版本的数据库文件中添加指示第一功能的记录标识;或者,Adding a record identifier indicating the first function to the database file of the forward version of the first application software using the structured query language SQL script; or
    在第一应用软件的前向版本的配置文件中增加指示第一功能的标识字段。An identification field indicating the first function is added to the configuration file of the forward version of the first application software.
  4. 根据权利要求1所述的方法,其中,所述根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件,包括:The method of claim 1, wherein the upgrading the first application software to the second application software according to the forward version of the first application software comprises:
    按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置。And configuring configuration parameters of the first function in the second application software according to the configuration parameter value of the first function in the forward version of the first application software.
  5. 根据权利要求3所述的方法,其中,在第一应用软件升级为第二应 用软件之后,所述方法还包括:The method of claim 3, wherein the first application software is upgraded to a second application After using the software, the method further includes:
    在第二应用软件上标记上指示第一功能的功能标签。A function tag indicating the first function is marked on the second application software.
  6. 一种应用软件升级装置,所述装置包括:判断模块和升级模块;其中,An application software upgrading device, the device comprising: a determining module and an upgrading module; wherein
    所述判断模块,配置为判断第一应用软件的前向版本中是否包含第一功能,所述第一应用软件不包含所述第一功能;还用于在确定第一应用软件的前向版本中包含所述第一功能的情况下,触发升级模块;The determining module is configured to determine whether the first version of the first application software includes the first function, the first application software does not include the first function, and is further configured to determine a forward version of the first application software In the case that the first function is included, the upgrade module is triggered;
    所述升级模块,配置为在判断模块确定所述第一应用软件的前向版本中包含所述第一功能时,根据所述第一应用软件的前向版本将所述第一应用软件升级为第二应用软件。The upgrade module is configured to upgrade the first application software to the forward application version of the first application software when the determining module determines that the first application includes the first function, Second application software.
  7. 根据权利要求6所述的装置,其中,所述判断模块配置为通过以下方式判断所述第一应用软件的前向版本中是否包含所述第一功能:The apparatus according to claim 6, wherein the determining module is configured to determine whether the first function is included in a forward version of the first application software by:
    判断所述第一应用软件的前向版本中是否存在包含指示第一功能的功能标签的版本。Determining whether a version containing the function tag indicating the first function exists in the forward version of the first application software.
  8. 根据权利要求7所述的装置,其中,所述装置还包括标记模块,配置为通过以下方式在第一应用软件的前向版本上标记上指示第一功能的功能标签:The apparatus of claim 7, wherein the apparatus further comprises a marking module configured to mark a function label indicating the first function on the forward version of the first application software by:
    使用结构化查询语言SQL脚本在第一应用软件的前向版本的数据库文件中添加指示第一功能的记录标识;或者,在第一应用软件的前向版本的配置文件中增加指示第一功能的标识字段。Adding a record identifier indicating the first function to the database file of the forward version of the first application software using the structured query language SQL script; or adding a first function indicating the first function in the configuration file of the forward version of the first application software Identification field.
  9. 根据权利要求6所述的装置,其中,所述升级模块配置为通过以下方式将所述第一应用软件升级为第二应用软件:The apparatus of claim 6, wherein the upgrade module is configured to upgrade the first application software to the second application software by:
    按照所述第一应用软件的前向版本中所述第一功能的配置参数值对第二应用软件中所述第一功能的配置参数进行配置。And configuring configuration parameters of the first function in the second application software according to the configuration parameter value of the first function in the forward version of the first application software.
  10. 根据权利要求8所述的装置,所述标记模块还配置为在第一应用 软件升级为第二应用软件之后,在第二应用软件上标记上指示第一功能的功能标签。The apparatus of claim 8, the marking module further configured to be in the first application After the software is upgraded to the second application software, a function label indicating the first function is marked on the second application software.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5所述方法的至少其中之一。 A computer storage medium having stored therein computer executable instructions for performing at least one of the methods of claims 1 to 5.
PCT/CN2015/088529 2015-03-06 2015-08-31 Application software upgrade method and apparatus, and computer storage medium WO2016141688A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510100641.9 2015-03-06
CN201510100641.9A CN105988849B (en) 2015-03-06 2015-03-06 Application software upgrading method and device

Publications (1)

Publication Number Publication Date
WO2016141688A1 true WO2016141688A1 (en) 2016-09-15

Family

ID=56879846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088529 WO2016141688A1 (en) 2015-03-06 2015-08-31 Application software upgrade method and apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105988849B (en)
WO (1) WO2016141688A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593121A (en) * 2009-06-23 2009-12-02 中兴通讯股份有限公司 The method of on-line software updating, Apparatus and system
CN102955699A (en) * 2011-08-17 2013-03-06 施耐德电器工业公司 Software upgrade package creating method and software upgrading method
CN102999349A (en) * 2011-09-19 2013-03-27 施耐德电器工业公司 Software upgrading method
CN103019789A (en) * 2012-12-17 2013-04-03 深圳市九洲电器有限公司 Signature software upgrading method, device and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090210852A1 (en) * 2008-02-19 2009-08-20 International Business Machines Corporation Automated merging in a software development environment
US8495564B2 (en) * 2008-02-19 2013-07-23 International Business Machines Corporation Automated merging in a software development environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593121A (en) * 2009-06-23 2009-12-02 中兴通讯股份有限公司 The method of on-line software updating, Apparatus and system
CN102955699A (en) * 2011-08-17 2013-03-06 施耐德电器工业公司 Software upgrade package creating method and software upgrading method
CN102999349A (en) * 2011-09-19 2013-03-27 施耐德电器工业公司 Software upgrading method
CN103019789A (en) * 2012-12-17 2013-04-03 深圳市九洲电器有限公司 Signature software upgrading method, device and mobile terminal

Also Published As

Publication number Publication date
CN105988849B (en) 2020-10-02
CN105988849A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US10489591B2 (en) Detection system and method thereof
US10175969B2 (en) Data processing for upgrading medical equipment
US10073683B2 (en) System and method for providing software build violation detection and self-healing
US9569339B1 (en) Debugging in an actor-based system
US9864878B2 (en) Event log tamper detection
US20190340049A1 (en) System and method for workflow error handling
US20140108440A1 (en) Configuration of Life Cycle Management for Configuration Files for an Application
US20170147469A1 (en) Correlation of source code with system dump information
US20080086660A1 (en) Test data management
US9292343B2 (en) Method and system for performing deployment management
US10595204B2 (en) Flexible remote server validation
WO2017036228A1 (en) Method and apparatus for implementing system upgrading
US11586429B1 (en) Strategy based feature disablement
US20160147633A1 (en) Generation of software test code
US9380001B2 (en) Deploying and modifying a service-oriented architecture deployment environment model
US20140298107A1 (en) Dynamic Near Real-Time Diagnostic Data Capture
US20140279974A1 (en) Versioning for configurations of reusable artifacts
US20200272454A1 (en) Software builds using a cloud system
WO2016141688A1 (en) Application software upgrade method and apparatus, and computer storage medium
US9983866B1 (en) Upgrade compatibility checks in a client-server environment
US9069833B2 (en) Detecting data omissions for an intermittently-connected application
CN109240906B (en) Database configuration information adaptation method and device, computer equipment and storage medium
US11205102B1 (en) Tamper proof logging for automated processes
US20190190972A1 (en) System and method for defining windows of tuples of interest
US11500985B1 (en) Static and dynamic correlation of software development pipeline events

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

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

Country of ref document: EP

Kind code of ref document: A1