US20160004530A1

Incremental upgrade method, apparatus for applying method and storage medium

Claim Score by NHIP

Read claim 20, the broadest

Abstract

The present invention provides an incremental upgrade method, an apparatus applying the method and a storage medium. The incremental upgrade method comprises: sending a request to a server for downloading an incremental upgrade package corresponding to a local old version file on a terminal; receiving the incremental upgrade package, which comprises unmatched block data obtained by comparing a first compressed file with a second compressed file, and the start and end information of the unmatched block data, wherein the first compressed file is a compressed file that concatenates an old version file and a new version file on the server, and the second compressed file is a compressed file of the old version file on the server; concatenating the unmatched block data in the incremental upgrade package and a local second compressed file generated from the local old version file on the terminal to generate a concatenate compressed file; and at last decompressing the concatenate compressed file to obtain the new version file. The method reduces data traffic and occupied bandwidth resources.

US20160004530A1, drawing sheet 1
Sheet 1 of 7

Term

7.4 yearsto projected expiry

Projected expiry 14 February 2034, counted from filing; an application has no term until it is granted.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

15 claims: 5 independent, 10 dependent

  1. 15
    A method for incremental-upgrading a local old file on a terminal, comprising:sending a request to a server for downloading an incremental upgrade package corresponding to the local old version file on the terminal;downloading the incremental upgrade package from the server according to the request for downloading the incremental upgrade package corresponding to the local old version file, wherein the incremental upgrade package comprises unmatched block data obtained by comparing a first compressed file with a second compressed file, and the start and end information of the unmatched block data, wherein the second compressed file is a compressed file of an old version file on the server, and the first compressed file is a compressed file that concatenates the old version file and a new version file on the server, and wherein the old version file and the new version file correspond to the local old version file on the terminal;concatenating the unmatched block data and a local second compressed file generated from the local old version file on the terminal according to the start and end information of the unmatched block data in the incremental upgrade package, to generate a concatenate compressed file;and decompressing the concatenate compressed file to obtain the new version file.
  2. 20
    Broadest claimClaim Score 66, broad(NHIP)A method for generating an incremental upgrade, comprising:concatenating, on a server, an old version file and a new version file and compressing the concatenate file to obtain a first compressed file, and compressing the old version file to obtain a second compressed file;comparing the first compressed file with the second compressed file to obtain unmatched block data and the start and end information of the unmatched block data;and generating an incremental upgrade package according to the unmatched block data and the start and end information of the unmatched block data.
  3. 24
    A terminal, comprising:an upgrade package requesting unit, configured to send a request to a server for downloading an incremental upgrade package corresponding to a local old version file on the terminal;an upgrade package receiving unit, configured to receive the incremental upgrade package from the server according to the request for downloading the incremental upgrade package corresponding to the local old version file, wherein the incremental upgrade package comprises unmatched block data obtained by comparing a first compressed file with a second compressed file, and the start and end information of the unmatched block data, wherein the second compressed file is a compressed file of an old version file on the server, and the first compressed file is a compressed file that concatenates the old version file and a new version file on the server, and wherein the old version file and the new version file correspond to the local old version file on the terminal;a data combining unit, configured to concatenate the unmatched block data and a local second compressed file generated from the local old version file on the terminal according to the start and end information of the unmatched block data in the incremental upgrade package, to generate a concatenate compressed file;and a decompressing unit, configured to decompress the concatenate compressed file to obtain the new version file.
  4. 26
    A server, comprising:a compressing unit, configured to concatenate an old version file and a new version file and compress the concatenate file to obtain a first compressed file, and compress the old version file to obtain a second compressed file;a comparing unit, configured to compare the first compressed file with the second compressed file to obtain unmatched block data and the start and end information of the unmatched block data;and an upgrade package generating unit, configured to generate an incremental upgrade package according to the unmatched block data and the start and end information of the unmatched block data.