System Differential Upgrade Method, Apparatus, and Mobile Terminal
    1.
    发明申请
    System Differential Upgrade Method, Apparatus, and Mobile Terminal 有权
    系统差分升级方法,装置和移动终端

    公开(公告)号:US20140372799A1

    公开(公告)日:2014-12-18

    申请号:US14445282

    申请日:2014-07-29

    Inventor: Zhonghui Wei

    CPC classification number: G06F11/1469 G06F8/658 G06F11/0793 G06F11/1433

    Abstract: A system differential upgrade method and apparatus, and a mobile terminal are provided. The method includes: obtaining an upgrade script and upgrade data; upgrading a file to be upgraded according to the upgrade script and the upgrade data; generating, according to the file processing command that is being executed currently in the upgrade script, and the file to be upgraded corresponding to the file processing command that is being executed currently, rollback data and a rollback script corresponding to the file to be upgraded; and when the upgrade fails, executing the rollback script according to the rollback data. The apparatus includes an obtaining module, an upgrading module, a generating module, and an executing module. According to the embodiments of the present invention, when an upgrade fails, the rollback script is executed according to the rollback data, which may restore a system to that before the upgrade.

    Abstract translation: 提供了系统差分升级方法和装置以及移动终端。 该方法包括:获取升级脚本并升级数据; 根据升级脚本和升级数据升级要升级的文件; 根据当前在升级脚本中正在执行的文件处理命令和与正在执行的文件处理命令对应的要升级的文件生成与要升级的文件相对应的回滚数据和回滚脚本; 当升级失败时,根据回滚数据执行回滚脚本。 该装置包括获取模块,升级模块,生成模块和执行模块。 根据本发明的实施例,当升级失败时,根据回滚数据执行回滚脚本,这可以将系统恢复到升级之前的回滚数据。

    System differential upgrade method, apparatus, and mobile terminal

    公开(公告)号:US09804933B2

    公开(公告)日:2017-10-31

    申请号:US14445282

    申请日:2014-07-29

    Inventor: Zhonghui Wei

    CPC classification number: G06F11/1469 G06F8/658 G06F11/0793 G06F11/1433

    Abstract: A system differential upgrade method and apparatus, and a mobile terminal are provided. The method includes: obtaining an upgrade script and upgrade data; upgrading a file to be upgraded according to the upgrade script and the upgrade data; generating, according to the file processing command that is being executed currently in the upgrade script, and the file to be upgraded corresponding to the file processing command that is being executed currently, rollback data and a rollback script corresponding to the file to be upgraded; and when the upgrade fails, executing the rollback script according to the rollback data. The apparatus includes an obtaining module, an upgrading module, a generating module, and an executing module. According to the embodiments of the present invention, when an upgrade fails, the rollback script is executed according to the rollback data, which may restore a system to that before the upgrade.

Patent Agency Ranking