Patent ID: 9043778
Filing Date: 2015-05-26
Classification: G06F

Abstract:
1. A method for upgrading software, comprising: reporting, by a client, a upgrading request of software to a server, and the upgrading request carrying file information of to-be-upgraded software in local; determining, by the server, difference between the to-be-upgraded software and a latest version software according to the file information of the to-be-upgraded software in the upgrading request, and generating, by the server, upgrading instruction information according to the difference and sending the upgrading instruction information to the client; downloading and updating, by the client, corresponding files and executing, by the client, a corresponding local upgrading operation according to an instruction in the upgrading instruction information; wherein, the file information of the to-be-upgraded software carried in the upgrading request comprises: file name and version information of each of files of the to-be-upgraded software; determining, by the server, difference between the to-be-upgraded software and the latest version software according to the file information of the to-be-upgraded software in the upgrading request comprises: comparing, by the server, the to-be-upgraded software with the latest version software according to file name and version information of each of files of the to-be-upgraded software, and determining, by the server, file difference and version difference; generating, by the server, upgrading instruction information according to the difference comprises: finding, by the server, a newly-added file and a modified file in the latest version software according to the file difference, and organizing, by the server, list information of the newly-added file and modified file into a to-be-updated file list; finding, by the server, operation instruction sets of all software each of which the version is higher than the version of the to-be-upgraded software in the upgrading request according to the version difference, and combining, by the server, found operation instruction sets; taking, by the server, the to-be-updated file list and combined operation instruction set as the upgrading instruction information.