A kind of based on method for upgrading software in the difference empty of cloud computing
Technical field
The present invention relates to a kind of method for upgrading software, relate in particular to a kind of upgrade method of software of portable terminal.
Background technology
Development along with the intelligent mobile terminal technology, the function of its operating system from strength to strength, the user need constantly upgrade to the portable terminal firmware, just can make oneself portable terminal can work remain on optimum state, but the success of firmware upgrade scheme in order to guarantee to upgrade of current most of portable terminal, generally all storing bigger AKU on upgrade server (is exactly the mirror image of whole mobile terminal operating system usually, tens even up to a hundred million), this makes the user's download inconvenience, causes the data expense of great number simultaneously.
FOTA is the aerial firmware upgrade of Firmware update Over The Air() abbreviation, concerning portable terminal, can download the AKU of portable terminal firmware by the mobile network, realize upgrading to the portable terminal firmware.Consider the restriction of mobile network's stability and transmission rate, the size of AKU is very sensitive problem for come the update mobile terminal firmware by the FOTA mode.
The size of AKU can be reduced greatly by the method for binary system difference, 1/10 of whole portable terminal firmware image can be reached basically.But problem is the AKU that produces by differential mode, depend critically upon the version of portable terminal firmware, any variation on the portable terminal firmware can not be used after all can causing this AKU to be downloaded, therefore, although the FOTA upgrading based on difference is feasible technically, but because the user installs/delete the behavior of application program on portable terminal, make in practical application, be difficult to all mobile phone users and generate unified difference AKU.
Based on binary differential technique, but himself weakness is arranged, exactly the firmware of the portable terminal that will upgrade is required and strict, firmware that be when generating the difference bag is in full accord, otherwise the failure of will upgrading.But the general user can install/operations such as uninstall the portable terminal of oneself, and it is very high that this make to use binary system difference technology carry out FOTA upgrading risk.
Summary of the invention
In order to solve the deficiency that prior art exists, the object of the present invention is to provide a kind of based on method for upgrading software in the difference empty of cloud computing, based on binary difference bag, both control AKU size (having only several million usually) by real-time generation, and can guarantee the reliability of upgrading again.
In order to finish above-mentioned purpose, of the present inventionly may further comprise the steps based on method for upgrading software in the difference empty of cloud computing:
1) the firmware upgrade request of high in the clouds mobile terminal receive, and according to firmware information AKU is handled;
2) portable terminal receives the upgrade notification in high in the clouds, downloads the AKU based on this portable terminal firmware, and carries out firmware upgrade.
Wherein, described step 1) further may further comprise the steps:
A) portable terminal sends the firmware upgrade request to high in the clouds;
B) high in the clouds responds this firmware upgrade request, and the notice portable terminal is uploaded firmware information;
C) portable terminal is uploaded firmware information to high in the clouds;
D) handle AKU according to the firmware information of described portable terminal in high in the clouds.
Wherein, described step a) portable terminal is to send the firmware upgrade request by the mobile network to high in the clouds.
Wherein, described step c) is to adopt data volume little and the many methods of firmware information that send are uploaded firmware information.
Wherein, described step d) further may further comprise the steps:
Search the AKU that whether has based on the portable terminal firmware;
AKU based on the portable terminal firmware is arranged, then notify portable terminal to download this AKU;
, then do not generate based on the binary difference of portable terminal firmware and divide AKU, and the notice portable terminal is waited for based on the AKU of portable terminal firmware.
The present invention has tangible advantage and good effect, adopt of the present invention based on method for upgrading software in the difference empty of cloud computing, can control the size of AKU, can guarantee the reliability of AKU again, make mobile phone users can carry out the upgrading of reliable portable terminal firmware convenient, fast, economically.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, with embodiments of the invention, is used to explain the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is based on method for upgrading software flow chart in the difference empty of cloud computing according to of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 be according to of the present invention based on method for upgrading software flow chart in the difference empty of cloud computing, below with reference to Fig. 1, be described in detail as follows based on method for upgrading software in the difference empty of cloud computing of the present invention:
At first, in step 101, portable terminal sends the firmware upgrade request by the mobile network to high in the clouds;
In step 102, high in the clouds receives the firmware upgrade request of portable terminal transmission and responds, and requires the mobile terminal reporting firmware information;
In step 103, portable terminal sends to high in the clouds by certain protocol with current firmware information; This agreement guarantees to send under the little situation that data volume tries one's best information as much as possible;
In step 104, high in the clouds is to receiving to such an extent that firmware information is analyzed;
In step 105, handle according to the result that firmware information is analyzed in high in the clouds, if the AKU based on this firmware is arranged, then forwards step 108 to, otherwise be for further processing;
In step 106, high in the clouds judges that the notice portable terminal is waited for, and generated binary difference AKU in real time according to the firmware of this portable terminal not based on the AKU of this firmware;
In step 107, high in the clouds generates AKU and finishes, and the notice portable terminal is downloaded the AKU that generates in real time;
In step 108, high in the clouds notice portable terminal is downloaded this AKU;
In step 109, portable terminal receives the download notice that high in the clouds sends, and the download and upgrade bag, finishes firmware upgrade.
Of the present invention based on method for upgrading software in the difference empty of cloud computing, by real-time generation based on binary difference AKU, both controlled AKU size (having only several million usually), can guarantee the reliability of upgrading again, make mobile phone users can carry out reliable portable terminal FOTA upgrading convenient, fast, economically.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme of being put down in writing among aforementioned each embodiment, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.