Method and system for upgrading software
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide a method and a system for upgrading software. The method includes: a client reports a software upgrade request to a server, wherein the upgrade request carries file information of the local software to be upgraded; the server determines the difference with the latest version software according to the file information of the software to be upgraded in the upgrade request, and generates upgrade instruction information according to the difference and sends it to the client; the client downloads and updates the relevant files and performs the relevant local upgrade operations according to the instructions in received upgrade instruction information. Technical solutions of the present disclosure can save bandwidth resources and reduce the workload for upgrading software.
34 Citations
13 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system having executable instructions stored in a memory for upgrading software, comprising:
-
an upgrading module set in a client, configured to report a software upgrading request carrying file information of a to-be-upgraded software to the server, download and update a corresponding file and executing a corresponding local upgrading operation according to an instruction in upgrading instruction information returned by a server; and an upgrading service module set in the server, configured to receive the upgrading request sent by the upgrading module in the client, and determine difference between the to-be-upgraded software and a latest version software according to file information of the to-be-upgraded software in the upgrading request, generate upgrading instruction information according to the difference and issues the upgrading instruction information to the upgrading module in the client; wherein, the upgrading service module comprises; a version difference determining module, configured to compare the to-be-upgraded software with the latest version software according to file name and version information of each file comprised in the to-be-upgraded software, and determine file difference and version difference; a to-be-updated file determining module, configured to find a newly-added file and a modified file in the latest version software according to the file difference, and organize list information of the newly-added file and modified file to form a to-be-updated file list; an operation instruction determining module, configured to find operation instruction sets of all software each of which the version is higher than version of the to-be-upgraded software in the upgrading request, and combine found operation instruction sets; and an upgrading instruction combining and sending module, configured to take the to-be-updated file list and combined operation instruction set as upgrading instruction information and send the upgrading instruction information to the upgrading module of the client. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification