The method of generation upgrade package, server, method for upgrading software, mobile terminal

The method of generation upgrade package, server, method for upgrading software, mobile terminal

  • CN 103,336,703 B
  • Filed: 07/08/2013
  • Issued: 09/18/2018
  • Est. Priority Date: 07/08/2013
  • Status: Active Grant
First Claim
Patent Images

1. a kind of aerial method for downloading software upgrade package of generation, which is characterized in that including:

  • Server judges to whether there is text identical with the file respective file name in new version software packet in legacy version software packagePart;

    File and new version software if there are the identical file of the filename in server by utilizing legacy version software packageDifference file is further added in aerial download software upgrade package by the file generated difference file in packet, the server,Otherwise continue to judge to whether there is file similar with the file in new version software packet in the legacy version software package;

    In file and new version software packet if there are the similar file in server by utilizing legacy version software packageDifference file is further added in aerial download software upgrade package, otherwise will by file generated difference file, the serverFile in the new version software packet is added to aerial download in software upgrade package, wherein the aerial download software upgradingSoftware is upgraded to the corresponding new version of new version software packet by packet for mobile terminal from the corresponding legacy version of legacy version software package;

    The server judges in legacy version software package with the presence or absence of identical as the file respective file name in new version software packetFile the step of specifically include:

    The filename and file attribute of each file in the server scanning legacy version software package and new version software packet,To obtain each type file list and all types listed files of new version software packet of legacy version software package, whereinType file list includes the filename of each file of same type;

    The server judges whether the current type listed files of new version software packet has traversed completion, if then continuing to judgeWhether next type file list of new version software packet has traversed completion, otherwise in the current type of the new version software packetA filename not traversed is taken out in listed files;

    The server judges whether the current type listed files of legacy version software package has traversed completion, if then continuing to judgeWhether the current type listed files of the new version software packet has traversed completion, otherwise in the current of the legacy version software packageA filename not traversed is taken out in type file list and judges the current type file of itself and the new version software packetWhether the filename not traversed taken out in list is identical, and being added to corresponding filename if identical new and old all has rowIn table;

    The corresponding filename is added to it is new and old all have list after, the server continues to traverse new version software packetCurrent type listed files;

    The step of whether there is file similar with the file in new version software packet in the judgement legacy version software package is specificIncluding:

    If the filename not traversed taken out in the current type listed files of the legacy version software package and the new editionThe filename not traversed taken out in the current type listed files of this software package differs, then judges that the legacy version is softWhether the corresponding file of a filename not traversed taken out in the current type listed files of part packet is soft with the new versionThe corresponding file of a filename not traversed taken out in the current type listed files of part packet is similar file;

    If similar file, then the server by one taken out in the current type listed files of legacy version software package notThe filename that one taken out in the filename of traversal and the current type listed files of new version software packet does not traverse is addedInto similar documents list;

    After filename is added to similar documents list, the server continues to traverse the current type text of new version software packetPart list;

    If not similar file, then the server continues to traverse the current type listed files of legacy version software package;

    The current type listed files two of the current type listed files of the legacy version software package and the new version software packetThe type of a type file list is identical;

    The corresponding text of a filename not traversed taken out in the current type listed files for judging legacy version software packagePart text whether corresponding with the filename not traversed taken out in the current type listed files of the new version software packetThe step of part is similar file specifically includes:

    The filename pair not traversed taken out in the current type listed files of the server by utilizing legacy version software packageThe corresponding text of a filename not traversed taken out in the current type listed files of the file and new version software packet answeredPart generates difference file;

    The file not traversed that the server further takes out in the current type listed files of legacy version software packageThe filename not traversed taken out in the current type listed files of the corresponding file of name and new version software packet corresponds toFile in take out smaller size smaller file;

    The server judges whether the volume differences of both files of the difference file and smaller size smaller are less than smaller size smallerFile size 50%, be otherwise dissimilar file if being then similar file;

    Wherein, judge legacy version, new versionSoftware package file is that similar file further includes specifically:

    When the current type listed files of the new version software packet is picture-type files list, preferentially legacy version software is judgedThe length of the picture representated by the corresponding file of a filename not traversed taken out in the current type listed files of packet withAnd width text whether corresponding with the filename not traversed taken out in the current type listed files of new version software packetThe length of picture representated by part and of same size is dissimilar file if differing;

    When the current type listed files of the new version software packet is Application Type listed files, legacy version is preferentially judgedThe packet name of the corresponding file of a filename not traversed taken out in the current type listed files of software package whether with new editionThe packet name of the corresponding file of a filename not traversed taken out in the current type listed files of this software package is identical, if notIdentical is then dissimilar file;

    When the current type listed files of the new version software packet is sound type listed files, preferentially legacy version software is judgedIt the sample rate of sound and is adopted in the corresponding file of a filename not traversed taken out in the current type listed files of packetSample bit wide text whether corresponding with the filename not traversed taken out in the current type listed files of new version software packetThe sample rate of sound and sampling bit wide are identical in part, are dissimilar file if differing.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×