Patent ID: 9710256
Date: 2017-07-18
CPC Classifications: G06F,H04W

Claim:
1. A software upgrade method for a mobile terminal, the method comprising: according to a new version software and an old version of software, locating partition tables of the new version of software and the old version of software, respectively, comparing a difference between new and old partition tables, and generating a corresponding backup list; scanning all files of the new version of software and generating a differential upgrade package that comprises a partition table, of said new version of software, and the backup list; according to the backup list, detecting a total size of backup data to be backed up in the mobile terminal, and comparing said total size of the backup data with a remaining space of a SD card of the mobile terminal, and when said total size of the backup data is smaller than the remaining space of the SD card of the mobile terminal: saving the backup data into the SD card according to said backup list, re-partitioning a mobile terminal memory according to said partition table of the new version of software in said differential upgrade package, detecting a partition type, and correspondingly writing the backup data on the SD card into the partition; and decompressing said differential upgrade package to obtain a corresponding differentiating file, generating corresponding new version files according to said differentiating file and old version files in the mobile terminal, and writing the new version files into the mobile terminal.